/* Kilimo Marathon, Award & Expo · site styles
   One Shambafrica family: the shamba.africa design system (deep green, white, slate; Fraunces + Manrope; the furrow rule),
   with one event accent, medal gold, borrowed from Kilimo Heroes and used sparingly.
   Depth model (epic-design): 0 background photo · 1 atmosphere/vignette · 2 decoration (lanes, route line) ·
   3 main object (feature photos, big numerals) · 4 text/UI · 5 foreground grain. */

@font-face { font-family: Fraunces; src: url(/assets/fonts/Fraunces-normal-latin.woff2) format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Fraunces; src: url(/assets/fonts/Fraunces-italic-latin.woff2) format('woff2'); font-weight: 300 600; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url(/assets/fonts/Manrope-normal-latin.woff2) format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; src: url(/assets/fonts/Manrope-normal-latin-ext.woff2) format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; 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 {
  --g950: #051d15; --g900: #072a1e; --g800: #0b3d2c; --g700: #145740; --g500: #1e7155;
  --g300: #7fae96; --g200: #a9c7b8; --g100: #dde8e2; --g50: #eef4f1;
  --gold: #d9a21b; --gold-deep: #8a6408; --gold-soft: #f3e3b5;
  --paper: #f6f6f3; --white: #ffffff; --ink: #1c2420; --body: #4b5563; --slate: #6b7280; --line: #e3e5e2;
  --err: #a3341c; --err-bg: #fbeee9;
  --serif: Fraunces, Georgia, serif; --sans: Manrope, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --gut: clamp(16px, 5vw, 64px);
  --wrap: min(1320px, 100% - 2 * var(--gut));
  --ease: cubic-bezier(.22, .8, .2, 1);
  --display: clamp(2.6rem, 7vw, 7.2rem);
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.prose a, .link { color: var(--g700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover, .link:hover { color: var(--g900); }

/* depth 5: film grain, so flat colour never looks rendered */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 450; font-size: var(--display); line-height: .94; letter-spacing: -.035em; color: var(--g800); font-optical-sizing: auto; text-wrap: balance; }
.display em, .hero-title em, .page-title em { font-style: italic; font-weight: 350; letter-spacing: -.02em; }
.display.light { color: var(--white); }
.h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: .98; letter-spacing: -.03em; color: var(--g800); text-wrap: balance; }
.h2 em { font-style: italic; font-weight: 350; }
.light .h2, .h2.light { color: var(--white); }
.h3 { font-family: var(--serif); font-weight: 480; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -.02em; color: var(--g800); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--g500); margin-bottom: 22px; }
/* the furrow rule: three short rows, lifted from the Shambafrica mark. Here they double as lane lines. */
.kicker::before { content: ""; width: 26px; height: 9px; flex: none; background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 3.5px); }
.kicker-light, .light .kicker, .dark .kicker, .deep .kicker, .track .kicker { color: var(--g200); }
.dark .kicker-gold, .deep .kicker-gold, .finale .kicker-gold, .route-card .kicker-gold { color: var(--gold); }
.kicker-gold { color: var(--gold); }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--body); max-width: 640px; }
.light .lede { color: var(--g100); }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }

/* ---------- buttons ---------- */
.btn { --bg: transparent; --fg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border: 0; border-radius: 999px; font-weight: 800; font-size: 15px; line-height: 1.2; text-decoration: none; color: var(--fg); background: var(--bg); overflow: hidden; isolation: isolate; cursor: pointer; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::after { content: "→"; transition: transform .35s var(--ease); }
.btn.no-arrow::after { content: none; }
.btn:hover::after { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn-light { --bg: var(--white); --fg: var(--g800); } .btn-light::before { background: var(--g100); }
.btn-dark { --bg: var(--g800); --fg: var(--white); } .btn-dark::before { background: var(--g700); }
.btn-gold { --bg: var(--gold); --fg: var(--g950); } .btn-gold::before { background: #e8b638; }
.btn-ghost { border: 1.5px solid currentColor; color: inherit; } .btn-ghost::before { background: var(--g800); } .btn-ghost:hover { color: var(--white); border-color: var(--g800); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.5); --fg: var(--white); } .btn-ghost-light::before { background: rgba(255,255,255,.14); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 16px var(--gut); color: var(--white); transition: background .4s var(--ease), color .4s var(--ease), padding .4s var(--ease), box-shadow .4s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(5,29,21,.55), transparent); transition: opacity .4s; }
.nav--solid { background: rgba(246,246,243,.9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); color: var(--g800); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.nav--solid::before { opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; color: currentColor; }
.brand-word { font-size: 21px; letter-spacing: -.03em; line-height: 1; }
.brand-word b { font-weight: 800; } .brand-word span { font-weight: 300; opacity: .85; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { position: relative; font-size: 14px; font-weight: 700; text-decoration: none; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; opacity: .9; }
.lang-switch span { padding: 5px 8px; border-radius: 999px; }
.lang-switch span.on { background: currentColor; }
.lang-switch span.on { color: var(--g900); background: var(--white); }
.nav--solid .lang-switch span.on { color: var(--white); background: var(--g800); }
.nav-cta { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--g900); display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 90px 28px 40px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(30px, 8.5vw, 42px); line-height: 1.15; color: var(--white); text-decoration: none; letter-spacing: -.02em; }
.mobile-menu .btn { align-self: flex-start; }
body.menu-open .nav { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- HOME HERO: pinned, photo at depth 0, lanes at depth 2, numerals at depth 3 ---------- */
.hero { position: relative; height: 175vh; background: var(--g950); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--g950); perspective: 1600px; perspective-origin: 50% 42%; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-origin: 50% 50%; }
.hero-slide.is-on { opacity: 1; visibility: visible; }
.hero-slide.is-in, .hero-slide.is-out { visibility: visible; will-change: transform, opacity; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-slide.is-on img { animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.01); } }
.hero-nav { position: absolute; left: var(--gut); bottom: clamp(26px, 6vh, 56px); display: flex; flex-direction: column; gap: 12px; color: var(--g100); z-index: 2; }
.hero-cap { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--g100); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { position: relative; width: 46px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255,255,255,.3); }
.hero-dots i { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-current="true"] i { transform: scaleX(var(--p, 0)); }
.hero-dots button:hover::before { background: rgba(255,255,255,.6); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,29,21,.86) 0%, rgba(5,29,21,.58) 36%, rgba(5,29,21,.12) 66%, rgba(5,29,21,0) 100%), linear-gradient(0deg, rgba(5,29,21,.82) 0%, transparent 38%), linear-gradient(180deg, rgba(5,29,21,.5) 0%, transparent 22%); }
.hero-lanes { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 calc(25% - 1.5px), rgba(255,255,255,.35) calc(25% - 1.5px) 25%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); transform-origin: left; }
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-route path { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; }
.hero-num { position: absolute; right: calc(var(--gut) - .04em); top: max(96px, 13vh); font-family: var(--serif); font-weight: 300; font-size: clamp(9rem, 21vw, 21rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); pointer-events: none; user-select: none; text-align: right; }
.hero-num small { display: block; margin-top: .12em; font-size: .2em; letter-spacing: -.01em; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; color: var(--white); padding-top: 70px; pointer-events: none; }
.hero-copy > * { max-width: 680px; pointer-events: auto; }
.hero-copy { text-shadow: 0 2px 28px rgba(5,29,21,.55); }
.hero-copy .btn { text-shadow: none; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--g200); }
.hero-title { margin: 20px 0 24px; font-family: var(--serif); font-weight: 420; font-size: clamp(3.4rem, 9vw, 9rem); line-height: .88; letter-spacing: -.045em; }
.hero-title .gold { color: var(--gold); }
.hero-lede { font-size: clamp(16px, 1.35vw, 19px); color: var(--g100); max-width: 540px; }
.hero-lede b { color: var(--white); }
.hero-date { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip-gold { background: var(--gold); border-color: var(--gold); color: var(--g950); }
.countdown { position: absolute; right: var(--gut); bottom: clamp(28px, 7vh, 64px); display: flex; gap: clamp(14px, 2vw, 28px); color: var(--white); }
.countdown div { text-align: left; min-width: 3.1ch; }
.countdown b { display: block; font-family: var(--serif); font-weight: 350; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--g200); }
.countdown-label { position: absolute; right: var(--gut); bottom: calc(clamp(28px, 7vh, 64px) + clamp(4.4rem, 7vw, 6.4rem)); font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.scroll-cue { position: absolute; left: var(--gut); bottom: 30px; display: flex; align-items: center; gap: 12px; color: var(--g200); font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { width: 46px; height: 1.5px; background: linear-gradient(90deg, var(--g200), transparent); transform-origin: left; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--g900); color: var(--white); padding: 140px 0 clamp(48px, 8vh, 90px); }
.page-hero.short { min-height: 0; padding-top: 150px; }
.page-hero .ph-photo { position: absolute; inset: 0; }
.page-hero .ph-photo img { width: 100%; height: 118%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(5,29,21,.92) 0%, rgba(5,29,21,.55) 45%, rgba(5,29,21,.35) 100%), linear-gradient(90deg, rgba(5,29,21,.6), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-title { font-family: var(--serif); font-weight: 430; font-size: clamp(3rem, 8.4vw, 8rem); line-height: .9; letter-spacing: -.045em; max-width: 13ch; text-wrap: balance; }
.page-hero .lede { margin-top: 24px; color: var(--g100); }
.page-hero .hero-date { margin-top: 26px; }
.ph-lanes { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: 0; opacity: .35; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 calc(33.3% - 1.5px), rgba(255,255,255,.4) calc(33.3% - 1.5px) 33.3%);
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent 10%, #000 60%, transparent); }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 14vh, 170px) 0; position: relative; }
.section.tight { padding: clamp(64px, 10vh, 110px) 0; }
.section.dark { background: var(--g800); color: var(--white); }
.section.deep { background: var(--g900); color: var(--white); }
.section.white { background: var(--white); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 7vh, 80px); }
.section-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-head > p:last-child { color: var(--body); max-width: 460px; justify-self: end; }
.dark .section-head > p:last-child, .deep .section-head > p:last-child, .section-head.light > p:last-child { color: var(--g100); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.split.top { align-items: start; }

/* manifesto: word-by-word lighting */
.manifesto { padding: clamp(110px, 18vh, 200px) 0 clamp(80px, 12vh, 140px); }
.manifesto-text { font-family: var(--serif); font-weight: 380; font-size: clamp(1.65rem, 3.3vw, 3.3rem); line-height: 1.16; letter-spacing: -.02em; max-width: 1180px; color: var(--g800); }
.manifesto-text .w { color: #b9c3bd; transition: color .25s linear; }
.manifesto-text .w.on { color: var(--g800); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(64px, 10vh, 110px); }
.fact { border-top: 1.5px solid var(--g800); padding-top: 18px; color: var(--body); font-size: 15px; }
.fact-n { display: block; font-family: var(--serif); font-weight: 350; font-size: clamp(2.5rem, 4.2vw, 4.2rem); line-height: 1; color: var(--g800); letter-spacing: -.03em; margin-bottom: 10px; white-space: nowrap; }
.fact-n small { font-size: .45em; letter-spacing: 0; }

/* ---------- LANES: the race categories as a running track ---------- */
.track { background: var(--g800); color: var(--white); padding: clamp(100px, 15vh, 180px) 0; overflow: hidden; position: relative; }
.track::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 85% 10%, rgba(127,174,150,.18), transparent 70%); }
.lanes { position: relative; border-top: 2px solid rgba(255,255,255,.75); }
.lane { position: relative; display: grid; grid-template-columns: 70px minmax(150px, 1fr) 1.4fr auto; gap: clamp(16px, 3vw, 44px); align-items: center; padding: clamp(26px, 4vh, 40px) 0; border-bottom: 2px dashed rgba(255,255,255,.28); text-decoration: none; color: inherit; isolation: isolate; }
.lane:last-child { border-bottom: 2px solid rgba(255,255,255,.75); }
.lane::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gut)); z-index: -1; background: rgba(255,255,255,.05); opacity: 0; transition: opacity .35s var(--ease); }
.lane:hover::before, .lane:focus-visible::before { opacity: 1; }
.lane-no { font-family: var(--serif); font-size: 3.6rem; font-weight: 300; line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--g300); }
.lane-dist { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: .85; letter-spacing: -.045em; white-space: nowrap; }
.lane-dist small { font-size: .34em; letter-spacing: -.01em; margin-left: .12em; font-weight: 500; color: var(--g200); }
.lane-copy b { display: block; font-size: 17px; margin-bottom: 4px; }
.lane-copy p { color: var(--g200); font-size: 15px; max-width: 460px; }
.lane-price { text-align: right; white-space: nowrap; }
.lane-price span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--g200); }
.lane-price b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.lane-price i { display: inline-block; margin-top: 8px; font-style: normal; font-size: 13.5px; font-weight: 800; color: var(--gold); }
.lane-run { position: absolute; left: 0; bottom: -2px; height: 2px; width: var(--run, 50%); background: var(--gold); transform-origin: left; transform: scaleX(0); }
.lane-run::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(217,162,27,.22), 0 0 22px rgba(217,162,27,.7); }
.track-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; color: var(--g100); }
.track-foot ul { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.track-foot li { position: relative; padding-left: 26px; }
.track-foot li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 7px; background: repeating-linear-gradient(180deg, var(--gold) 0 1.5px, transparent 1.5px 3px); }
.api-note { font-size: 12.5px; color: var(--g300); margin-top: 14px; min-height: 1.2em; }

/* ---------- day chain (sticky head + furrow line) ---------- */
.chain-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 110px); }
.chain-head { position: sticky; top: 18vh; align-self: start; }
.chain-head .lede { margin-top: 26px; }
.chain-steps { position: relative; padding-left: 64px; }
.chain-line { position: absolute; left: 0; top: 0; width: 40px; height: 100%; overflow: visible; }
.chain-line path { fill: none; stroke: var(--g500); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.chain-steps li { position: relative; padding: 28px 0; border-bottom: 1px solid var(--line); opacity: .3; transition: opacity .5s var(--ease); }
.chain-steps li.on { opacity: 1; }
.chain-steps li::before { content: ""; position: absolute; left: -52px; top: 42px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--g500); transition: background .4s; }
.chain-steps li.on::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(217,162,27,.18); }
.chain-steps small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--g500); margin-bottom: 6px; }
.chain-steps h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.025em; font-weight: 420; color: var(--g800); }
.chain-steps p { margin-top: 10px; color: var(--body); font-size: 15.5px; max-width: 520px; }
.chain-steps a { font-weight: 800; color: var(--g700); font-size: 14.5px; }

/* ---------- photo blocks ---------- */
.photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--g900); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { height: clamp(460px, 78vh, 760px); }
.photo.wide { height: clamp(320px, 60vh, 620px); }
.photo.par img { height: 116%; }
.photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: var(--white); font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.photo.cap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,29,21,.7), transparent 40%); }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { position: relative; padding-left: 30px; color: var(--body); }
.ticks li b { color: var(--ink); }
.dark .ticks li, .deep .ticks li { color: var(--g100); } .dark .ticks li b, .deep .ticks li b { color: var(--white); }

/* expo teaser / flag */
.flag { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.flag-media { height: clamp(380px, 64vh, 640px); clip-path: inset(0 0 0 0 round var(--r)); }
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 28px; padding: 14px 20px; border-radius: 16px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.price-tag span { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--g500); }
.price-tag b { font-family: var(--serif); font-weight: 450; font-size: 1.9rem; letter-spacing: -.02em; color: var(--g800); }

/* ---------- past-edition strip: three columns drifting at different speeds ---------- */
.drift { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.drift-col { display: grid; gap: clamp(12px, 1.6vw, 22px); }
.drift-col:nth-child(2) { margin-top: 90px; }
.drift-col:nth-child(3) { margin-top: 30px; }
.drift .photo { aspect-ratio: 4 / 3; }
.drift .photo.port { aspect-ratio: 4 / 5; }
.history-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; margin-top: clamp(50px, 8vh, 80px); }
.history-note p { max-width: 620px; color: var(--body); }

/* partners */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.partners li { display: grid; place-items: center; aspect-ratio: 2 / 1; border-radius: 16px; background: var(--white); box-shadow: 0 1px 0 var(--line); padding: 10px; }
.partners img { width: 100%; max-width: 170px; height: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.partners li:hover img { filter: none; opacity: 1; }
.partners-note { margin-top: 18px; font-size: 13.5px; color: var(--slate); }

/* app card */
.app { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--g900); color: var(--white); overflow: hidden; }
.app::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(217,162,27,.25), transparent 65%); pointer-events: none; }
.app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.app h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.025em; }
.app p { margin-top: 10px; color: var(--g100); max-width: 560px; }
.app .actions { margin-top: 0; position: relative; z-index: 1; }

/* final CTA */
.finale { position: relative; overflow: hidden; background: var(--g950); color: var(--white); padding: clamp(110px, 18vh, 200px) 0; text-align: left; }
.finale-photo { position: absolute; inset: 0; opacity: .5; }
.finale-photo img { width: 100%; height: 120%; object-fit: cover; }
.finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--g950) 15%, rgba(5,29,21,.4)); pointer-events: none; }
.finale .wrap { position: relative; z-index: 1; }
.finale .display { max-width: 11ch; }
.finale p.lede { margin-top: 26px; }

/* ---------- cards / grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px 26px 30px; border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.card .n { font-family: var(--serif); font-size: 15px; color: var(--g500); }
.card h3 { margin: 26px 0 8px; font-size: 18px; color: var(--g800); }
.card p { font-size: 15px; color: var(--body); }
.dark .card, .deep .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
.dark .card h3, .deep .card h3 { color: var(--white); } .dark .card p, .deep .card p { color: var(--g200); } .dark .card .n, .deep .card .n { color: var(--g300); }
.notice { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: 18px; background: var(--g50); border: 1px solid var(--g100); color: var(--g800); }
.notice svg { flex: none; width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.notice.gold { background: #fbf5e3; border-color: var(--gold-soft); color: #5c4306; }

/* route TBA card */
.route-card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--g900); color: var(--white); min-height: 420px; display: flex; align-items: flex-end; padding: clamp(26px, 4vw, 48px); }
.route-card svg.contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-card .contours path { fill: none; stroke: rgba(169,199,184,.18); stroke-width: 1; }
.route-card .contours .route { stroke: var(--gold); stroke-width: 2.5; stroke-dasharray: 3 10; stroke-linecap: round; }
.route-card .contours circle { fill: var(--gold); }
.route-card > div { position: relative; max-width: 460px; }
.route-card h3 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.route-card p { margin-top: 12px; color: var(--g100); }

/* included */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.included .photo { aspect-ratio: 3 / 2; background: #c9cbc9; }

/* FAQ */
.faq { border-top: 1.5px solid var(--g800); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 50px 22px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 450; letter-spacing: -.01em; color: var(--g800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--g500); border-bottom: 2px solid var(--g500); transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: var(--body); max-width: 760px; }
.faq details > div p + p { margin-top: 10px; }

/* timeline (awards, history) */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: repeating-linear-gradient(90deg, var(--g300) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--g500); }
.timeline li.hot::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 7px rgba(217,162,27,.2); }
.timeline time { display: block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--g500); }
.timeline h3 { margin: 10px 0 8px; font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; color: var(--g800); }
.timeline p { color: var(--body); font-size: 15.5px; }
.dark .timeline li::before { background: var(--g800); }
.dark .timeline h3 { color: var(--white); } .dark .timeline p { color: var(--g200); } .dark .timeline time { color: var(--g300); }

/* editions list */
.editions { border-top: 1.5px solid var(--g800); }
.edition { display: grid; grid-template-columns: 180px 1fr 1.1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(30px, 5vh, 50px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.edition-year { font-family: var(--serif); font-weight: 350; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .85; letter-spacing: -.04em; color: var(--g800); }
.edition-year small { display: block; margin-top: 10px; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--g500); }
.edition h3 { font-family: var(--serif); font-weight: 450; font-size: 1.6rem; letter-spacing: -.015em; color: var(--g800); margin-bottom: 8px; }
.edition p { color: var(--body); }
.edition dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 14px; font-size: 15px; }
.edition dt { font-weight: 800; color: var(--g800); }
.edition dd { color: var(--body); }
.edition .photo { aspect-ratio: 3 / 2; }
.edition .photo.empty { display: grid; place-items: center; background: var(--g50); border: 1.5px dashed var(--g200); color: var(--g500); font-size: 14px; font-weight: 700; text-align: center; padding: 20px; }

/* gallery */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin-bottom: 16px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--g900); border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease), opacity .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 4px 0; font-size: 13.5px; color: var(--slate); }
.lightbox { width: min(1200px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; background: var(--g950); color: var(--white); overflow: hidden; }
.lightbox::backdrop { background: rgba(5,29,21,.88); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: calc(94vh - 64px); object-fit: contain; background: #000; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; font-size: 14px; }
.lightbox-bar div { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--white); cursor: pointer; font-size: 18px; }
.icon-btn:hover { background: rgba(255,255,255,.1); }

/* ---------- forms ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 380px; gap: clamp(30px, 5vw, 80px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: 26px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 40px 80px -60px rgba(7,42,30,.45); }
.form-card h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.02em; line-height: 1.05; color: var(--g800); }
.form-card > p { margin-top: 10px; color: var(--body); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-top: 30px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full, .fields > fieldset { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 800; font-size: 14.5px; color: var(--ink); }
.field label small, .label small { font-weight: 600; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid #cfd5d1; border-radius: 12px; background: var(--paper); font-size: 16px; transition: border-color .25s, background .25s, box-shadow .25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--g300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g500); background: var(--white); box-shadow: 0 0 0 4px rgba(30,113,85,.15); }
.field [aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.hint { font-size: 13px; color: var(--slate); }
.err { font-size: 13.5px; font-weight: 700; color: var(--err); }
.err:empty { display: none; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 14px 16px; border: 1.5px solid #cfd5d1; border-radius: 14px; background: var(--paper); transition: border-color .25s, background .25s, box-shadow .25s; }
.choice span b { font-size: 15.5px; color: var(--ink); }
.choice span i { font-style: normal; font-size: 13.5px; color: var(--slate); font-variant-numeric: tabular-nums; }
.choice input:hover + span { border-color: var(--g300); }
.choice input:checked + span { border-color: var(--g700); background: var(--g50); box-shadow: inset 0 0 0 1px var(--g700); }
.choice input:checked + span b::after { content: " ✓"; color: var(--g700); }
.choice input:focus-visible + span { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.choices.small span { min-height: 0; padding: 11px 14px; }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--body); }
.check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--g700); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.form-foot .btn { min-width: 200px; }
.form-msg { margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.form-msg:empty { display: none; }
.form-msg.error { background: var(--err-bg); color: var(--err); }
.form-msg.ok { background: var(--g50); color: var(--g800); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { position: sticky; top: 100px; padding: 28px; border-radius: 22px; background: var(--g800); color: var(--white); }
.summary h3 { font-family: var(--serif); font-weight: 450; font-size: 1.6rem; letter-spacing: -.015em; }
.summary dl { display: grid; gap: 14px; margin-top: 20px; }
.summary dt { font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--g300); }
.summary dd { margin-top: 2px; font-size: 16px; }
.summary .total { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-family: var(--serif); font-size: 2rem; font-weight: 450; color: var(--gold); font-variant-numeric: tabular-nums; }
.summary p { margin-top: 16px; font-size: 13.5px; color: var(--g200); }
.summary a { color: var(--white); }

/* payment states + ticket */
.state { text-align: center; padding: clamp(10px, 3vw, 30px) 0; }
.state h2 { margin-top: 18px; }
.state p { margin: 12px auto 0; max-width: 460px; color: var(--body); }
.pulse { width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; background: var(--g50); display: grid; place-items: center; position: relative; }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--g500); animation: ring 2s var(--ease) infinite; }
.pulse::after { animation-delay: 1s; }
.pulse svg { width: 30px; height: 30px; stroke: var(--g700); fill: none; stroke-width: 1.8; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.ticket { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 26px; padding: 28px; border-radius: 22px; background: var(--g800); color: var(--white); text-align: left; overflow: hidden; }
.ticket::before, .ticket::after { content: ""; position: absolute; right: 218px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); }
.ticket::before { top: -13px; } .ticket::after { bottom: -13px; }
.ticket-code { font-family: var(--serif); font-weight: 450; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .02em; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; word-break: break-all; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 18px; font-size: 14.5px; }
.ticket dt { color: var(--g300); font-weight: 700; }
.ticket-qr { width: 170px; height: 170px; padding: 8px; border-radius: 14px; background: var(--white); border-left: 0; }
.ticket-qr svg { width: 100%; height: 100%; display: block; }
.ticket-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.lookup { margin-top: 26px; padding: 24px; border-radius: 20px; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.lookup h3 { font-size: 16px; color: var(--g800); }
.lookup form { display: flex; gap: 10px; margin-top: 12px; }
.lookup input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1.5px solid #cfd5d1; border-radius: 12px; background: var(--paper); text-transform: uppercase; font-size: 16px; }
.lookup .btn { min-height: 48px; padding: 10px 18px; }
.lookup-out { margin-top: 12px; font-size: 14.5px; color: var(--body); }
.lookup-out:empty { display: none; }

/* contact */
.contact-list { display: grid; gap: 26px; margin-top: 34px; }
.contact-list span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--g500); margin-bottom: 6px; }
.contact-list a, .contact-list p { font-size: 17px; color: var(--ink); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.big-mail { display: inline-block; font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1.05; color: var(--g800); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 6px; word-break: break-word; }
.big-mail:hover { background-size: 100% 2px; }

/* legal */
.legal { max-width: 780px; }
.legal h2 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.015em; color: var(--g800); margin: 46px 0 12px; }
.legal p, .legal li { color: var(--body); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; }
.legal li { position: relative; padding-left: 26px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .6em; width: 14px; height: 7px; background: repeating-linear-gradient(180deg, var(--g500) 0 1.5px, transparent 1.5px 3px); }
.legal .updated { font-size: 14px; color: var(--slate); }

/* ---------- footer ---------- */
.footer { background: var(--g950); color: var(--g100); padding: 80px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-tag { margin-top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--g300); max-width: 300px; line-height: 1.7; }
.footer-date { margin-top: 18px; font-size: 15px; color: var(--g200); }
.footer-date b { color: var(--white); }
.footer-col h2 { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--g300); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 15px; text-decoration: none; color: var(--g100); }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-addr { font-size: 14px; color: var(--g200); line-height: 1.5; }
.social { display: flex !important; flex-wrap: wrap; gap: 8px 14px !important; margin-top: 18px; }
.social a { font-size: 13.5px; font-weight: 700; }
.footer-family { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.family { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 14px; color: var(--g200); }
.family svg { width: 34px; height: 32px; color: var(--g100); --vein: var(--g950); flex: none; }
.family b, .family-app b { color: var(--white); font-weight: 700; }
.family-app { font-size: 14px; color: var(--g200); text-decoration: none; }
.family:hover span, .family-app:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--g300); }
.footer-base a { color: var(--g100); }

/* 404 */
.nf { min-height: 80vh; display: flex; align-items: center; background: var(--g900); color: var(--white); padding: 140px 0 80px; }

/* reveal primitives (JS adds .js on <html>; without JS everything is visible) */
.js [data-fade], .js [data-stagger] > * { opacity: 0; transform: translateY(28px); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .form-shell { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding-block: 12px; }
  .nav-cta { display: none; }
  .brand-word { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: 100svh; min-height: 640px; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,29,21,.97) 0%, rgba(5,29,21,.8) 45%, rgba(5,29,21,.55) 75%, rgba(5,29,21,.7) 100%); }
    .hero-copy { justify-content: flex-end; padding-bottom: 150px; }
  .hero-title { font-size: clamp(3.2rem, 15vw, 5rem); margin: 14px 0 16px; }
  .hero-lede { font-size: 15.5px; }
  .hero-num { display: none; }
  .hero-slide img { object-position: 58% 50%; }
  .hero-nav { left: var(--gut); right: var(--gut); bottom: 14px; flex-direction: row; align-items: center; justify-content: flex-end; }
  .hero-cap { display: none; }
  .hero-dots button { width: 34px; }
  .countdown { bottom: 46px; }
  .countdown { left: var(--gut); right: auto; bottom: 34px; gap: 18px; }
  .countdown b { font-size: 2.1rem; }
  .countdown-label { display: none; }
  .scroll-cue { display: none; }
  .hero-date { margin-top: 18px; }
  .section-head, .split, .chain-grid, .flag, .included, .form-shell { grid-template-columns: 1fr; }
  .section-head > p:last-child { justify-self: start; }
  .chain-head { position: static; }
  .chain-steps { padding-left: 46px; }
  .chain-steps li::before { left: -40px; }
  .lane { grid-template-columns: 44px 1fr auto; grid-template-areas: "no dist price" "no copy copy"; row-gap: 12px; }
  .lane-no { grid-area: no; font-size: 2.4rem; align-self: start; }
  .lane-dist { grid-area: dist; }
  .lane-copy { grid-area: copy; }
  .lane-price { grid-area: price; }
  .drift { grid-template-columns: 1fr 1fr; }
  .drift-col:nth-child(2) { margin-top: 50px; }
  .drift-col:nth-child(3) { display: none; }
  .app { grid-template-columns: 1fr; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--g300) 0 8px, transparent 8px 14px); }
  .timeline li { padding: 0 0 0 44px; }
  .edition { grid-template-columns: 1fr; gap: 16px; }
  .page-hero { min-height: 70svh; padding-top: 120px; }
  .photo.tall { height: 440px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { display: none; }
  .ticket-qr { justify-self: center; }
}
@media (max-width: 560px) {
  .facts, .cards.four { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .fields { grid-template-columns: 1fr; }
  .choices, .choices.three { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .brand-word { font-size: 17px; }
  .lane-price b { font-size: 1.25rem; }
  .lane-dist { font-size: 2.7rem; }
  .actions .btn { flex: 1 1 auto; }
  .lookup form { flex-direction: column; }
}
@media (max-width: 359px) {
  .brand-word { display: none; }
}

/* Mandatory: reduced motion. Everything is visible and still. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-fade], .js [data-stagger] > * { opacity: 1; transform: none; }
  .manifesto-text .w { color: var(--g800); }
  .chain-steps li { opacity: 1; }
  .lane-run { transform: scaleX(1); }
  .hero-slide.is-on img { animation: none; }
    .grain { animation: none; }
}

/* pair of photos */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.pair .photo { aspect-ratio: 3 / 2; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

/* payment methods: Lipa Namba + unavailable state */
.choice.off span { opacity: .5; border-style: dashed; }
.choice.off input { cursor: not-allowed; }
.notice.small { font-size: 14px; padding: 14px 16px; display: block; }
.lipa-preview p { padding: 14px 16px; border-radius: 14px; background: var(--g50); border: 1px solid var(--g100); color: var(--g800); font-size: 14.5px; }
.till { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; text-align: left; }
.till div { padding: 14px 16px; border-radius: 14px; background: var(--g800); color: var(--white); }
.till span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--g200); }
.till b { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 450; font-size: 1.35rem; line-height: 1.15; color: var(--gold); word-break: break-word; }
.till div:nth-child(2) b { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--white); }
.steps { counter-reset: s; display: grid; gap: 10px; margin: 24px auto 0; max-width: 560px; text-align: left; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 0 44px; color: var(--body); min-height: 32px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--g950); font-weight: 800; font-size: 14px; }
.steps b { color: var(--ink); }
.ref-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 26px auto 0; max-width: 560px; text-align: left; }
.ref-form .form-foot, .ref-form .form-msg { grid-column: 1 / -1; margin-top: 4px; }
.linkish { padding: 0; border: 0; background: none; color: var(--g700); font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) { .till, .ref-form { grid-template-columns: 1fr; } }
.pair.mini { gap: 10px; }
.pair.mini .photo { aspect-ratio: 4 / 5; }
