@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=DM+Serif+Display:ital@0;1&family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Shared palette, type and spacing for every page. */
:root {
  --paper: #faf9f5;
  --white: #fffefa;
  --ink: #293a37;
  --muted: #5f6c65;
  --line: #dce1d8;
  --pine: #253f37;
  --pine-dark: #1d332d;
  --gold: #876332;
  --gold-light: #dfbc7f;
  --sage: #edf0e9;
  --radius: 12px;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 {
  margin: 0;
  color: var(--pine);
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(38px, 4.8vw, 62px); }
h2 { font-size: clamp(32px, 3.5vw, 44px); }
h3 { font-size: 27px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
::selection { background: var(--gold-light); color: var(--pine-dark); }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(48px, 6.5vw, 88px); }
.eyebrow, .section-no, .timeline-kicker, .winner-line span, .winner-detail span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow, .section-no { margin-bottom: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Navigation */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.top-inner { min-height: 80px; display: flex; align-items: stretch; justify-content: space-between; gap: 24px; }
.logo {
  display: flex;
  align-items: center;
  font-family: 'Alfa Slab One', Georgia, serif;
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 400;
  color: var(--pine);
  text-decoration: none;
  white-space: nowrap;
}
.header-panel { display: flex; }
.nav { display: flex; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--sage); }
.nav a.on { background: var(--pine); color: var(--white); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--pine); transition: transform .18s, opacity .18s; }

/* Home */
.hero {
  position: relative;
  background: #c8cec2 var(--bg) center 45% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(238, 237, 220, .12), rgba(25, 44, 36, .32)); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  align-items: center;
  gap: 64px;
  min-height: 440px;
  padding-block: 48px;
}
.hero-visual { display: flex; justify-content: center; margin: 0; }
.hero-feature-image { width: 290px; max-height: 320px; object-fit: contain; filter: drop-shadow(0 8px 14px #15291e26); }
.hero-side { display: grid; gap: 16px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #ffffff80;
  border-radius: var(--radius);
  background: rgba(250, 249, 245, .95);
  box-shadow: 0 8px 32px #172c2210;
}
.hero-stats > div { padding: 22px 24px; }
.hero-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
.hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.hero-stats b, .fact-rail b {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--pine);
}
.hero-stats span, .fact-rail span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.4; }
.hero-stats span { margin: 0 0 6px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--pine);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, transform .18s;
}
.btn:hover { background: var(--pine-dark); transform: translateY(-2px); }
.hero-actions .btn { width: 100%; min-height: 56px; background: var(--gold-light); color: var(--pine-dark); }
.hero-actions .btn:hover { background: #eccd95; }
.split-intro, .home-section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.prose { max-width: 70ch; }
.prose-lg { font-size: 20px; }
.prose blockquote {
  margin: 28px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold-light);
  color: var(--pine);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(25px, 2.6vw, 30px);
  line-height: 1.4;
}
.section-head { margin-bottom: 32px; }
.section-head > p { color: var(--muted); margin: 0; }
.dark-block { background: var(--pine); color: var(--white); }
.dark-block h2, .dark-block h3 { color: var(--white); }
.dark-block .section-head > p { color: #d0dbd2; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards-3 article { padding: 28px; border: 1px solid #ffffff24; border-radius: var(--radius); background: #ffffff06; }
.cards-3 article > span { color: var(--gold-light); font-size: 14px; letter-spacing: .1em; }
.cards-3 h3 { margin: 20px 0 12px; }
.cards-3 p { color: #d0dbd2; font-size: 17px; }
.year-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.year-mini { position: relative; aspect-ratio: 3 / 4; background: var(--sage) center / cover; border-radius: 8px; overflow: hidden; }
.year-mini::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #10221de6); }
.year-mini b { position: absolute; z-index: 1; bottom: 12px; left: 16px; color: white; font-size: 25px; font-weight: 400; font-family: 'DM Serif Display', Georgia, serif; }
.year-mini, .year-card, .gallery-photo { transition: transform .18s, box-shadow .18s; }
.year-mini:hover, .year-card:hover, .gallery-photo:hover { transform: translateY(-4px); box-shadow: 0 10px 24px #253f3714; }
.center { margin: 32px 0 0; text-align: center; }

/* Page headings and readable long-form content */
.page-hero { padding-block: clamp(40px, 5vw, 68px); background: var(--sage); border-bottom: 1px solid var(--line); }
.standfirst { font-size: 22px; line-height: 1.6; color: var(--ink); }
.page-hero .standfirst { max-width: 65ch; margin: 20px 0 0; color: var(--muted); }
.editorial { font-size: 19px; line-height: 1.8; overflow-wrap: break-word; }
.history-content { max-width: 760px; }
.intro-number { margin-bottom: 24px; color: var(--gold); font: 400 64px/1 'DM Serif Display', Georgia, serif; }
.fact-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact-rail b { font-size: 30px; }
.rules-wrap { max-width: 880px; }
.rules-intro { padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.rules-intro h2 { margin-bottom: 20px; }
.rules-intro p { color: var(--muted); font-size: 19px; }
.timeline-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 24px; padding-bottom: 24px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-marker { position: relative; display: flex; justify-content: center; padding-top: 24px; }
.timeline-marker::after { content: ''; position: absolute; top: 74px; bottom: -48px; left: calc(50% - 1px); width: 2px; background: var(--line); }
.timeline-step:last-child .timeline-marker::after { display: none; }
.timeline-marker span { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--pine); background: var(--paper); font-size: 16px; font-weight: 600; }
.timeline-content { padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.timeline-kicker { margin-bottom: 10px; }
.timeline-content h3 { margin-bottom: 14px; }
.timeline-content p { color: var(--muted); }
.timeline-final .timeline-marker span { background: var(--pine); border-color: var(--pine); color: white; }
.timeline-final .timeline-content { background: var(--sage); }

/* Archive and year detail */
.year-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.year-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; text-decoration: none; }
.year-image { position: relative; aspect-ratio: 4 / 3; background: #e6e8df center / contain no-repeat; border-bottom: 1px solid var(--line); }
.year-image span { position: absolute; bottom: 12px; left: 16px; padding: 2px 12px; border-radius: 4px; background: var(--pine); color: #fff; font: 400 26px/1.5 'DM Serif Display', Georgia, serif; }
.year-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.year-body h3 { font-size: 25px; }
.winner-line { margin: 18px 0; padding: 12px 14px; border-left: 2px solid var(--gold-light); background: var(--sage); }
.winner-line span, .winner-detail span { display: block; font-size: 11px; }
.winner-line strong { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; }
.year-body p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.year-body small { margin-top: auto; padding-top: 12px; color: var(--gold); font-size: 14px; font-weight: 600; }
.year-hero { padding-block: 36px 52px; background: var(--pine); color: var(--white); }
.back { display: inline-flex; align-items: center; min-height: 44px; color: #d3ded5; text-decoration: none; font-size: 16px; }
.back:hover { color: white; text-decoration: underline; }
.year-big { margin: 22px 0 12px; color: var(--gold-light); font: 400 clamp(52px, 7vw, 84px)/1 'DM Serif Display', Georgia, serif; }
.year-hero h1 { color: var(--white); font-size: clamp(32px, 4vw, 48px); }
.year-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: start; gap: 64px; }
.year-copy .standfirst { font-size: 22px; }
.year-meta { position: sticky; top: 112px; padding: 24px; border-top: 3px solid var(--gold-light); border-radius: 0 0 8px 8px; background: var(--sage); }
.winner-detail { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.winner-detail strong { display: block; margin-top: 8px; font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.4; }
.year-meta > b { display: block; color: var(--pine); font: 400 36px/1.2 'DM Serif Display', Georgia, serif; }
.year-meta > span { font-size: 15px; color: var(--muted); }
.gallery-section { background: var(--sage); border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gallery-photo { display: block; overflow: hidden; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: zoom-in; }
.gallery-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.zvadlo-only { padding-block: 48px 80px; }
.zvadlo-only-inner { max-width: 820px; }
.zvadlo-poster { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px #253f3710; cursor: zoom-in; }
.zvadlo-poster img { width: 100%; height: auto; }

/* Footer and native image dialog */
.footer { padding-block: clamp(40px, 5vw, 64px) 0; background: var(--pine-dark); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 40px 64px; }
.footer-main:has(> .footer-newsletter:first-child) { grid-template-columns: 1.2fr 1fr; }
.footer .section-no { color: var(--gold-light); }
.footer-contact > a { display: inline-block; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.3; text-decoration: none; font-weight: 600; border-bottom: 2px solid #dfbc7f66; padding-bottom: 2px; transition: border-color .18s, color .18s; }
.footer-contact > a:hover { border-bottom-color: var(--gold-light); text-decoration: none; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-icon { flex: none; color: var(--gold-light); }
.footer-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border: 1px solid #ffffff2e; border-radius: 999px; color: #e3ebe5; font-size: 16px; font-weight: 600; text-decoration: none; transition: background .18s, border-color .18s; }
.footer-socials a:hover { border-color: var(--gold-light); background: #ffffff12; text-decoration: none; }
.footer a:hover { color: white; text-decoration: underline; }
.footer-contact h3, .footer-newsletter h3 { margin-bottom: 20px; line-height: 1.2; color: var(--white); font-size: 28px; }
.footer-newsletter form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.footer-newsletter input[type='email'] { min-width: 0; min-height: 50px; width: 100%; padding: 12px 16px; border: 1px solid #7c9384; border-radius: 8px; background: #ffffff08; color: white; font-size: 16px; }
.footer-newsletter input::placeholder { color: #c6d4ca; }
.footer-newsletter button { min-height: 50px; padding: 12px 22px; border: 0; border-radius: 8px; background: var(--gold-light); color: var(--pine-dark); font-size: 16px; font-weight: 700; }
.footer-newsletter button:hover { background: #eccd95; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 8px; padding-block: 22px; border-top: 1px solid #ffffff1f; color: #c6d4ca; font-size: 15px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #c6d4ca; font-weight: 600; text-decoration: none; }
.footer :focus-visible, .hero :focus-visible, .year-hero :focus-visible, .lb :focus-visible { outline-color: var(--gold-light); }
body:has(.lb[open]) { overflow: hidden; }
.lb { max-width: 100vw; max-height: 100dvh; padding: 64px 24px 24px; border: 0; background: transparent; }
.lb::backdrop { background: #101e19f2; }
.lb img { max-width: calc(100vw - 48px); max-height: calc(100dvh - 170px); object-fit: contain; margin: auto; border-radius: 4px; }
.lb button { position: fixed; top: 16px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff66; border-radius: 50%; background: var(--pine-dark); color: white; font-size: 30px; line-height: 1; }

.lb .lb-nav { top: 50%; right: auto; width: 52px; height: 52px; margin-top: -26px; font-size: 38px; padding-bottom: 4px; }
.lb .lb-prev { left: 20px; }
.lb .lb-next { right: 20px; }
.lb-info { position: fixed; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; background: linear-gradient(transparent, #101e19f2 55%); color: #fff; text-align: center; pointer-events: none; }
.lb-caption { max-width: 70ch; margin: 0 auto 6px; font-size: 18px; line-height: 1.5; }
.lb-count { margin: 0; color: #c6d4ca; font-size: 14px; letter-spacing: .08em; }

/* The same breakpoints serve every page. */
@media (max-width: 960px) {
  .hero-grid { gap: 40px; }
  .split-intro, .home-section-head { grid-template-columns: .8fr 1.2fr; gap: 36px; }
  .cards-3 { gap: 16px; }
  .cards-3 article { padding: 24px; }
  .year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .year-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 32px; }
  .year-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { gap: 40px; }
}

@media (max-width: 820px) {
  .top-inner { min-height: 68px; align-items: center; gap: 12px; }
  .menu-toggle { display: block; }
  .header-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 69px);
    overflow-y: auto;
    padding: 12px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px #253f3720;
  }
  .top.menu-open .header-panel { display: block; }
  .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .nav a { min-height: 48px; border-radius: 6px; }
  .top.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .top.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { min-height: 380px; grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr); gap: 24px; padding-block: 36px; }
  .hero-feature-image { width: 250px; }
  .hero-stats > div { padding: 18px; }
  .split-intro, .home-section-head { grid-template-columns: 1fr; gap: 24px; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 h3 { margin-top: 10px; }
  .year-layout { grid-template-columns: 1fr; gap: 32px; }
  .year-meta { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; align-items: center; }
  .winner-detail { grid-row: span 2; padding: 0; margin: 0; border: 0; }
  .year-meta > b, .year-meta > span { text-align: right; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 28px; gap: 28px; }
  .hero-feature-image { width: 210px; max-height: 240px; }
  .hero-side { width: 100%; max-width: 400px; margin-inline: auto; gap: 12px; }
  .hero-stats > div { padding: 16px 20px; }
  .hero-stats b { font-size: 28px; }
  .hero-stats span { font-size: 14px; }
  .prose-lg, .editorial, .rules-intro p { font-size: 18px; }
  .standfirst, .year-copy .standfirst { font-size: 20px; }
  .fact-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .year-grid { grid-template-columns: 1fr; gap: 24px; }
  .year-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .year-body { padding: 22px; }
  .timeline-step { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .timeline-marker { padding-top: 22px; }
  .timeline-marker span { width: 32px; height: 32px; font-size: 12px; }
  .timeline-marker::after { top: 56px; bottom: -46px; }
  .timeline-content { padding: 22px 20px; }
  .timeline-content h3 { font-size: 25px; }
  .timeline-kicker { font-size: 10px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-photo { padding: 6px; }
  .year-meta { padding: 20px; gap: 0 16px; }
  .year-meta > span { max-width: 100px; }
  .footer-newsletter form { grid-template-columns: 1fr; }
  .footer-contact > a { font-size: 19px; overflow-wrap: anywhere; }
  .lb { padding-inline: 12px; }
  .lb .lb-nav { width: 44px; height: 44px; margin-top: -22px; font-size: 32px; }
  .lb .lb-prev { left: 8px; }
  .lb .lb-next { right: 8px; }
  .lb-caption { font-size: 16px; }
  .lb img { max-width: calc(100vw - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
