/* Venture Clans web: kouřové sklo nad malovanou mapou.
   Písma: Fondamento (nadpisy, jména), Alegreya (text), Alegreya SC (štítky). Vše hostováno lokálně. */

@font-face { font-family: 'Fondamento'; font-display: swap; font-weight: 400; src: url(/fonts/fondamento-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Fondamento'; font-display: swap; font-weight: 400; src: url(/fonts/fondamento-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Alegreya'; font-display: swap; font-weight: 400; src: url(/fonts/alegreya-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-display: swap; font-weight: 400; src: url(/fonts/alegreya-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Alegreya'; font-display: swap; font-weight: 400; font-style: italic; src: url(/fonts/alegreya-latin-ext-400-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-display: swap; font-weight: 400; font-style: italic; src: url(/fonts/alegreya-latin-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Alegreya'; font-display: swap; font-weight: 700; src: url(/fonts/alegreya-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Alegreya'; font-display: swap; font-weight: 700; src: url(/fonts/alegreya-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Alegreya SC'; font-display: swap; font-weight: 500; src: url(/fonts/alegreya-sc-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Alegreya SC'; font-display: swap; font-weight: 500; src: url(/fonts/alegreya-sc-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --glass: rgba(26, 24, 22, 0.64);
  --glass-strong: rgba(22, 20, 18, 0.80);
  --edge: rgba(236, 206, 150, 0.26);
  --edge-soft: rgba(255, 255, 255, 0.07);
  --text: #f2ead9;
  --muted: #c9bea6;
  --faint: #9c927f;
  --red: #d2492f;        /* prapor */
  --red-hi: #e5603f;
  --ochre: #e8b04a;      /* obilí, mosaz */
  --meadow: #8cc152;     /* louka */
  --river: #74bde4;      /* řeka */
  --radius: 6px;
  --head: 'Fondamento', 'Palatino Linotype', Georgia, serif;
  --body: 'Alegreya', 'Palatino Linotype', Georgia, serif;
  --label: 'Alegreya SC', 'Alegreya', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 400 1.125rem/1.6 var(--body);
  background: #2d3b2a url(/img/dalka.webp) center top / cover fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Na vnitřních stránkách mapu ztlumíme a rozmažeme, aby se dobře četlo. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background: rgba(20, 24, 18, 0.35);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
}
body.home::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(14,16,14,.25) 0%, rgba(14,16,14,0) 30%, rgba(14,16,14,.15) 70%, rgba(14,16,14,.55) 100%); }

a { color: var(--ochre); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #f6c868; }
img { max-width: 100%; display: block; }

.glass {
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 var(--edge-soft), 0 10px 30px rgba(0, 0, 0, 0.28);
  border-radius: var(--radius);
}

.eyebrow, .meta { font-family: var(--label); font-weight: 500; letter-spacing: .06em; font-size: .9rem; color: var(--ochre); margin: 0 0 .4rem; }
.eyebrow a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; margin: 0 0 .6rem; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }

/* --- Horní lišta --- */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem clamp(1rem, 3vw, 2rem);
  background: var(--glass-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-family: var(--head); font-size: 1.35rem; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }
.bar nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; font-family: var(--label); font-weight: 500; letter-spacing: .04em; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--text); }
.bar nav a[aria-current] { box-shadow: 0 2px 0 var(--red); }
.bar .soon { color: var(--faint); cursor: help; }
.bar .cta { color: #fff; background: var(--red); padding: .25rem .8rem; border-radius: 4px; }
.bar .cta:hover { background: var(--red-hi); color: #fff; }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 3rem; }

/* --- Úvod --- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.5rem; align-items: end; min-height: min(72vh, 640px); padding-bottom: 1rem; }
.hero-text { padding: 1.6rem 1.8rem; }
.hero-text h1 { margin-bottom: .8rem; }
.hero-text p { margin: 0 0 .8rem; color: var(--text); font-size: 1.2rem; }
.hero-text p:last-child { margin-bottom: 0; }
.hero-text .lede { color: var(--muted); font-size: 1.05rem; }

.signup { padding: 1.4rem 1.5rem; }
.signup h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.signup > p { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; }
.field { display: flex; gap: .5rem; }
.field input[type=email] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 1.05rem; color: var(--text);
  background: rgba(0, 0, 0, .32); border: 1px solid rgba(236, 206, 150, .35); border-radius: 4px;
  padding: .55rem .7rem;
}
.field input[type=email]::placeholder { color: var(--faint); }
.field input[type=email]:focus { outline: 2px solid var(--ochre); outline-offset: 1px; }
button {
  font: 500 1.05rem/1 var(--label); letter-spacing: .05em; cursor: pointer;
  color: #fff; background: var(--red); border: 0; border-radius: 4px; padding: .65rem 1rem;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
button:hover { background: var(--red-hi); }
button:disabled { opacity: .6; cursor: wait; }
.consent { display: flex; gap: .55rem; align-items: flex-start; margin: .85rem 0 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.consent input { margin-top: .2rem; accent-color: var(--red); width: 1rem; height: 1rem; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; margin: .7rem 0 0; font-size: .98rem; }
.status.ok { color: var(--meadow); }
.status.err { color: #ff9b7f; }

/* --- Tři sloupy --- */
.section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.section-head a { font-family: var(--label); font-weight: 500; letter-spacing: .04em; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillar { padding: 1.2rem 1.3rem; }
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.pillar .tag { display: inline-block; width: 2.1rem; height: 4px; margin-bottom: .8rem; border-radius: 2px; }

.world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.world figure { margin: 0; position: relative; min-height: 260px; }
.world figure img { width: 100%; height: 100%; object-fit: cover; }
.world figcaption { position: absolute; left: .6rem; bottom: .6rem; font-size: .8rem; color: var(--text); background: rgba(0,0,0,.5); padding: .1rem .45rem; border-radius: 3px; }
.world .copy { padding: 1.5rem 1.7rem; }
.world .copy p { margin: 0 0 .8rem; color: var(--muted); }
.world .copy p:last-child { margin: 0; }
.world dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: 1rem; }
.world dt { font-family: var(--head); color: var(--text); }
.world dd { margin: 0; color: var(--muted); }

/* --- Karty zápisů --- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-card { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--edge); border-radius: var(--radius); transition: border-color .15s, transform .15s; }
.entry-card:hover { border-color: rgba(236, 206, 150, .55); transform: translateY(-2px); }
.entry-card a { display: block; padding: 1.1rem 1.25rem 1.2rem; color: var(--text); text-decoration: none; height: 100%; }
.entry-card h3 { margin-bottom: .35rem; }
.entry-card p:last-child { margin: 0; color: var(--muted); font-size: 1rem; }
.list { display: grid; gap: .8rem; margin-top: 1rem; }

.discord { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; }
.discord h2 { margin: 0 0 .2rem; }
.discord p { margin: 0; color: var(--muted); }
.discord .soon-btn { font-family: var(--label); font-weight: 500; letter-spacing: .05em; color: var(--faint); border: 1px dashed rgba(236, 206, 150, .35); border-radius: 4px; padding: .55rem 1rem; }

/* --- Zápis --- */
.page-head, .entry { padding: clamp(1.3rem, 3.5vw, 2.4rem) clamp(1.2rem, 4vw, 3rem); max-width: 760px; margin: 0 auto; }
.page-head p:last-child { margin-bottom: 0; color: var(--muted); }
.list { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry h2 { margin-top: 1.8rem; }
.entry p, .entry li { color: #ebe2cf; }
.entry blockquote { margin: 1.2rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--red); font-style: italic; color: var(--text); }
.entry hr { border: 0; border-top: 1px solid var(--edge); margin: 1.8rem 0; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--edge); font-family: var(--label); font-weight: 500; letter-spacing: .03em; font-size: 1rem; }
.pager a { text-decoration: none; }

footer { padding: 1.2rem clamp(1rem, 3vw, 2rem); background: var(--glass-strong); border-top: 1px solid var(--edge); color: var(--faint); font-size: .92rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28vh; }
  .pillars, .cards, .cards.two, .world { grid-template-columns: 1fr; }
  .bar nav .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .bar { gap: .75rem; }
  .brand span { display: none; }
  .bar nav { gap: .9rem; font-size: .95rem; }
  .field { flex-direction: column; }
  body { font-size: 1.06rem; }
}
@media (prefers-reduced-motion: reduce) { .entry-card { transition: none; } .entry-card:hover { transform: none; } }
