/* Self-hosted variable fonts (latin + latin-ext covers Czech diacritics). One file per
   subset serves the whole weight range, so no per-weight duplication is needed. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/bricolage-grotesque-latin.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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/bricolage-grotesque-latin-ext.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: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/caveat-latin.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: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/caveat-latin-ext.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-latin.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/instrument-sans-latin-ext.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;
}

:root {
  --bg: #f6f1e7;
  --ink: #2c2518;
  --brand: #b5502f;
  --brand-dark: #8f3c20;
  --brand-darker: #a2451f;
  --gold: #e8c58a;
  --gold-dark: #c8912f;
  --green: #5c7342;
  --cream: #fffdf8;
  --border: #e6ddca;
  --muted: #726a58;
  --text2: #4a4335;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--gold); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 22px; }
.section--tight { padding: 60px 22px 10px; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ===== NAV ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { padding: 12px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; background: none; border: none; cursor: pointer; padding: 0; }
.brand-icon { height: 40px; width: auto; }
.brand-crest { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.brand-line1 { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink); }
.brand-line2 { font-family: var(--font-hand); font-weight: 700; font-size: 20px; color: var(--brand); margin-top: -2px; }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-btn {
  font: 600 14.5px var(--font-body); color: var(--ink);
  background: none; border: none; cursor: pointer;
  padding: 8px 12px; border-radius: 9px; border-bottom: 2px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.nav-btn:hover { background: #efe7d6; }
.nav-btn--underline.is-active { background: rgba(181, 80, 47, .12); color: var(--brand); }
.nav-btn--underline.is-active:hover { background: rgba(181, 80, 47, .18); }
.nav-cta { margin-left: 6px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 16px var(--font-body); border-radius: 999px; cursor: pointer; border: none;
  text-align: center;
}
.btn--sm { font-size: 14.5px; padding: 10px 18px; }
.btn--primary { color: var(--cream); background: var(--brand); padding: 10px 18px; box-shadow: 0 2px 0 var(--brand-dark); }
.btn--primary:hover { background: var(--brand-darker); color: var(--cream); }
.btn--gold { color: var(--ink); background: var(--gold); padding: 15px 28px; box-shadow: 0 3px 0 var(--gold-dark); transition: transform .15s ease; }
.btn--gold:hover { transform: translateY(-1px); color: var(--ink); }
.btn--ghost-dark { color: #fdf8ee; background: rgba(255, 253, 248, .1); border: 1px solid rgba(255, 253, 248, .35); padding: 14px 26px; }
.btn--ghost-dark:hover { background: rgba(255, 253, 248, .2); color: #fdf8ee; }
.link-arrow { font-size: 13.5px; font-weight: 600; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/images/1.webp');
  background-size: cover; background-position: center; opacity: .55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44, 37, 24, .35) 0%, rgba(44, 37, 24, .15) 40%, rgba(44, 37, 24, .82) 100%);
}
.hero-inner { position: relative; padding: 96px 22px 64px; color: #fdf8ee; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 253, 248, .14); border: 1px solid rgba(255, 253, 248, .3);
  padding: 7px 15px; border-radius: 999px; font: 600 13.5px var(--font-body);
  letter-spacing: .02em; backdrop-filter: blur(4px);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 197, 138, .25); }
.hero-title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 92px);
  line-height: .96; margin: 22px 0 0; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .4);
}
.hero-title-accent { color: var(--gold); }
.hero-tagline { font-family: var(--font-hand); font-weight: 600; font-size: clamp(22px, 3vw, 30px); color: #f2ddb8; margin: 14px 0 0; }
.hero-desc { max-width: 560px; font-size: 17px; line-height: 1.6; color: rgba(253, 248, 238, .9); margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 0; }

/* ===== STRIP (date/countdown, cta) ===== */
.strip { background: var(--brand); color: #fdf8ee; }
.strip-inner { padding: 26px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.strip-date { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.strip-sub { font-size: 15px; color: #f6d9c6; margin-top: 3px; }
.countdown { display: flex; gap: 10px; }
.cd-box { text-align: center; background: rgba(0, 0, 0, .16); border-radius: 12px; padding: 10px 14px; min-width: 64px; }
.cd-num { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.cd-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #f2c3ac; margin-top: 2px; }
.strip--cta { padding: 0; }
.cta-inner { padding: 60px 22px; text-align: center; max-width: 900px; }
.cta-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 48px); margin: 0 0 10px; letter-spacing: -.02em; }
.cta-sub { font-size: 17px; color: #f6d9c6; margin: 0 0 26px; }

/* ===== GRID / CARDS ===== */
.grid { display: grid; gap: 16px; }
.grid--facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--cards4 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.grid--mt { margin-top: 20px; }

.card { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.card--flush { padding: 0; overflow: hidden; }
.card--dark { background: var(--ink); color: #f4f0e4; }
.card--center { display: flex; flex-direction: column; justify-content: center; }

.eyebrow { font-family: var(--font-hand); font-weight: 700; font-size: 19px; color: var(--brand); }
.fact { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 4px; }
.fact-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }

.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.5vw, 44px); margin: 0; letter-spacing: -.02em; }
.section-kicker { font-family: var(--font-hand); font-weight: 600; font-size: 24px; color: var(--brand); }
.section-kicker--green { color: var(--green); }
.lead { max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--text2); margin: 0 0 34px; }
.lead--muted { color: var(--muted); font-size: 16px; margin-bottom: 26px; max-width: none; }

.card-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.card-title--brand { color: var(--brand); }
.card-title--green { color: var(--green); }
.card-title--light { font-size: 26px; margin: 6px 0 14px; line-height: 1.1; }
.card-text { font-size: 15.5px; line-height: 1.62; color: var(--text2); margin: 0; }
.card-text--tight { margin: 0 0 14px; }
.card-text--light { color: #d8d2c4; }
.mark--red { color: #c0392b; }
.mark--gold { color: #c8912f; }
.mark--orange { color: #cf7833; }

.highlights-panel { margin-top: 22px; background: var(--green); color: #f4f0e4; border-radius: 18px; padding: 30px 28px; }
.highlights-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0 0 4px; }
.highlights-sub { font-size: 14.5px; color: #d7ddc4; margin: 0 0 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); padding: 8px 15px; border-radius: 999px; font-size: 14.5px; }

.section-alt { background: #efe7d6; }

.card-media-head { padding: 16px 20px 12px; }
.card-media-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.card-media-sub { font-size: 14px; color: var(--muted); }
.card-media-foot { padding: 10px 20px; }

.media-slot { position: relative; height: 340px; border-top: 1px solid var(--border); overflow: hidden; }
.media-cta {
  width: 100%; height: 100%; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(135deg, #dfe6d3, #eadfc8);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.media-cta--video { position: relative; background: var(--ink); }
.media-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.play-btn {
  position: relative; width: 70px; height: 70px; border-radius: 50%;
  background: rgba(232, 197, 138, .95); display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}
.media-slot iframe, .media-slot video { width: 100%; height: 100%; border: 0; display: block; }

.form-embed { height: 900px; }
.form-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .form-embed { height: 1400px; } }

.image-slot {
  width: 100%; height: 300px; border: 0; border-top: 1px solid var(--border); margin: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #f4efe2; color: var(--muted); font: 14px var(--font-body); white-space: pre-line; padding: 20px;
}
.image-slot--tall { height: 440px; border-top: 0; }
.image-slot img { width: 100%; height: 100%; object-fit: contain; }
.image-slot--fill img { object-fit: cover; }
.image-slot--clickable { cursor: zoom-in; padding: 0; }
.image-slot--clickable img { transition: transform .4s ease; }
.image-slot--clickable:hover img { transform: scale(1.03); }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--text2); }
.check-mark { color: var(--green); font-weight: 700; }
.handnote { font-family: var(--font-hand); font-size: 19px; color: var(--brand); margin: 16px 0 0; }
.handnote--gold { font-weight: 700; font-size: 22px; color: var(--gold); margin: 0; }

/* ===== RESULTS / GALLERY PAGES ===== */
.page-simple { padding: 60px 22px 80px; min-height: 60vh; }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); margin: 0; letter-spacing: -.02em; }
.tab-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.tab {
  font: 700 15px var(--font-body); cursor: pointer; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--cream); color: var(--text2);
}
.tab.is-active { background: var(--brand); color: #fffdf8; border-color: var(--brand); }
.result-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.result-year { font-family: var(--font-display); font-weight: 700; font-size: 22px; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-btn {
  border: none; padding: 0; cursor: zoom-in; background: #efe7d6; border-radius: 12px; overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.photo-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-btn:hover img { transform: scale(1.06); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(30, 25, 16, .92);
  display: flex; align-items: center; justify-content: center; padding: 28px;
  animation: fadeup .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox-close {
  position: fixed; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(255, 253, 248, .15); color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 253, 248, .3); }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%;
  border: none; background: rgba(255, 253, 248, .15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255, 253, 248, .3); }
.lightbox-nav:disabled { opacity: .25; cursor: default; background: rgba(255, 253, 248, .15); }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-count {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 253, 248, .85); font: 600 14px 'Instrument Sans', sans-serif;
  background: rgba(0, 0, 0, .3); padding: 6px 14px; border-radius: 999px;
}
.lightbox-count[hidden] { display: none; }
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 24px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* ===== FOOTER ===== */
.site-footer { background: var(--ink); color: #cfc7b6; }
.footer-inner { padding: 44px 22px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-icon, .footer-crest { height: 46px; width: auto; }
.footer-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #f4f0e4; }
.footer-date { font-size: 14px; color: #a49a86; }
.footer-links { font-size: 14.5px; line-height: 1.8; }
.footer-links a { color: var(--gold); }
.footer-muted { color: #a49a86; }
