/* Tashkent 2027 · IWF Qualifier II.
   Night-navy ground with the emblem's red / gold / turquoise as accents, Montserrat for display, Manrope for text.
   Order: tokens, base, top bar + menu, film, sections (emblem, Olympic City, venue, hotels, travel, transport,
   in town, closing), footer, lightbox + dialog, emblem scrollbar, phones. */

:root {
  color-scheme: dark;
  --ink: #050b1c; --navy: #0c1a3a; --night: #0a1530; --deep: #071026;
  --red: #d0102c; --gold: #e2a72e; --teal: #1aa3b5;
  --fg: #eef1f8; --soft: #d3d9e6; --muted: #9ba6c0; --line: rgba(255,255,255,.12); --card: rgba(255,255,255,.04);
  --display: "Montserrat", "Arial Black", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --pad: max(20px, env(safe-area-inset-left, 0px));
  --gap-sec: clamp(84px, 13vh, 150px);
  --r: 14px;
}
* { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 800 13px/1.3 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.lede { color: var(--soft); font-size: 19px; max-width: 62ch; }
.h2 { font-weight: 900; font-size: clamp(34px, 5.2vw, 72px); line-height: .98; text-transform: uppercase; letter-spacing: -.01em; margin-top: 14px; }
.h2 em, .h3 em { font-style: normal; color: var(--red); }
.h3 { font-weight: 900; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.04; text-transform: uppercase; }
.small { font-size: 14px; color: var(--muted); }
.sec { position: relative; padding-block: var(--gap-sec); }
.sec-head { margin-bottom: clamp(36px, 6vh, 64px); }
.sec-head .lede { margin-top: 18px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); font: 800 14px/1 var(--display); padding: 12px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.credit { font-size: 12.5px; color: var(--muted); }
.credit a { color: var(--muted); }

/* ---------- top bar */
.progress { position: fixed; z-index: 41; top: 0; left: 0; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.bar { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: max(12px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 12px max(18px, env(safe-area-inset-left, 0px)); transition: background-color .3s ease, box-shadow .3s ease; }
.bar.solid, .menu-open .bar { background: rgba(5,11,28,.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.brand b { font: 800 13px/1 var(--display); letter-spacing: .14em; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.menu-btn { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 0 14px; background: rgba(5,11,28,.35); color: var(--fg); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font: 800 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.menu-btn:hover { background: rgba(255,255,255,.1); }
.menu-lines { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.menu-lines i { position: absolute; left: 9px; width: 14px; height: 2px; border-radius: 1px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
.menu-lines i:nth-child(1) { top: 11px; } .menu-lines i:nth-child(2) { top: 15px; } .menu-lines i:nth-child(3) { top: 19px; }
.menu-open .menu-lines i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-lines i:nth-child(2) { opacity: 0; }
.menu-open .menu-lines i:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- menu panel */
.menu { position: fixed; inset: 0; z-index: 39; background: var(--night); overflow-y: auto; overscroll-behavior: contain; padding: 96px var(--pad) 40px; }
.menu[hidden] { display: none; }
.menu-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 6vw; align-items: center; min-height: calc(100svh - 136px); }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a { display: block; padding: 10px 0; text-decoration: none; font: 900 clamp(26px, 4.2vw, 54px)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.01em; transition: color .2s ease, transform .25s ease; }
.menu-list a:hover, .menu-list a[aria-current="true"] { color: var(--gold); transform: translateX(8px); }
.menu-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.menu-side img { width: min(220px, 40vw); height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.5)); }
.menu-date { font: 800 clamp(18px, 2vw, 24px)/1.35 var(--display); text-transform: uppercase; }
.menu-date span { color: var(--muted); font-size: .7em; letter-spacing: .14em; display: block; margin-top: 4px; }
.menu-open { overflow: hidden; }

/* ---------- 1. the film */
.film { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #0a1530; }
.film .photo { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; transform-origin: 0 0; }
.film .dim { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, #0d1c44 0%, #050b1c 85%); opacity: 0; pointer-events: none; }
.film .fglow { position: absolute; inset: 0; background: radial-gradient(circle at 50% var(--ey, 50%), rgba(226,167,46,.32), rgba(208,16,44,.16) 30%, transparent 56%); opacity: 0; pointer-events: none; }
.film .trace { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; overflow: visible; }
.film .trace path, .film .trace circle { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.film .trace .t-line { stroke: #ffe08f; } .film .trace .t-glow { stroke: #ffb648; stroke-opacity: .28; }
.film .emb { position: absolute; opacity: 0; }
.film .emb .final { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.film .emb svg { width: 100%; height: 100%; display: block; overflow: visible; }
.film .emb svg * { transform-box: view-box; transform-origin: 0 0; }
.film .emb svg .lt { font-family: "Montserrat"; }
.film .shock { position: absolute; border-radius: 50%; border: 5px solid var(--gold); opacity: 0; box-shadow: 0 0 30px rgba(226,167,46,.8), inset 0 0 30px rgba(226,167,46,.6); pointer-events: none; }
.film .sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.film .flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% var(--ey, 50%), rgba(255,246,220,.95), rgba(255,220,150,.35) 30%, transparent 62%); opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.film::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,28,.45) 0%, rgba(5,11,28,0) 28%, rgba(5,11,28,0) 50%, rgba(5,11,28,.8) 100%); z-index: 0; pointer-events: none; }
.film > * { z-index: 1; }
.film .ftitle { position: absolute; left: 0; right: 0; bottom: 10vh; text-align: center; padding: 0 20px; text-shadow: 0 8px 40px rgba(0,0,0,.6); }
.film .ftitle h1 { font-weight: 900; font-size: clamp(48px, 10vw, 150px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; margin-top: 14px; }
.film .ftitle h1 span { color: var(--red); }
.film .ftitle .sub { margin-top: 16px; font: 700 clamp(13px, 1.6vw, 18px)/1.4 var(--display); letter-spacing: .3em; text-transform: uppercase; }
.film .fhint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font: 700 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85); cursor: pointer; background: none; border: 0; padding: 8px; }
.film .fhint::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(#fff, transparent); animation: drip 1.8s ease-in-out infinite; }
.film .fskip { position: absolute; z-index: 3; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(5,11,28,.68); color: #fff; font: 800 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.film .fskip:hover { background: rgba(255,255,255,.14); }
.film .fskip[hidden] { display: none; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.film .cap { position: absolute; left: max(24px, env(safe-area-inset-left, 0px)); bottom: 9vh; max-width: min(400px, 80vw); opacity: 0; pointer-events: none; }
.film .cap .eyebrow { display: block; margin-bottom: 10px; }
.film .cap h3 { font-weight: 900; font-size: clamp(26px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0,0,0,.7); }
.film .cap p { margin-top: 10px; color: #dfe4ef; text-shadow: 0 2px 12px rgba(0,0,0,.9); }

/* ---------- 2. emblem */
.emblem { background: linear-gradient(180deg, var(--ink), var(--night)); overflow-x: clip; }
.em-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 6vw; align-items: center; }
.em-text .lede { margin-top: 22px; }
.note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.keys { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 22px; }
.keys li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; align-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.keys i { grid-row: span 2; width: 22px; height: 22px; border-radius: 6px; background: var(--c); margin-top: 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.keys b { font: 800 14px/1.25 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.keys span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.em-mark img { width: min(440px, 100%); margin: 0 auto; border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.em-mark figcaption { margin: 22px auto 0; max-width: 460px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.em-mark figcaption a { color: var(--soft); }
.strip-wrap { margin-top: clamp(56px, 9vh, 96px); }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.strip-head .h3 { margin-top: 10px; }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--fg); font: 700 20px/1 var(--display); cursor: pointer; }
.strip-nav button:hover { background: rgba(255,255,255,.14); }
.strip-nav button:disabled { opacity: .3; cursor: default; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px max(20px, calc((100vw - 1240px) / 2 + 20px)) 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2 + 20px)); }
.strip li { flex: none; scroll-snap-align: start; }
.strip figure { display: flex; flex-direction: column; gap: 10px; }
.strip img { height: clamp(220px, 34vh, 340px); width: auto; border-radius: 12px; object-fit: cover; background: #0f1c3d; cursor: zoom-in; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
figcaption b { font: 800 13px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; }
figcaption span { color: var(--muted); font-size: 14px; margin-left: 8px; }

/* ---------- 3. Olympic City */
.oc { padding-top: 0; background: var(--night); }
.oc-hero { position: relative; height: min(86vh, 760px); min-height: 460px; overflow: hidden; display: flex; align-items: flex-end; }
.oc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.oc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,21,48,.75) 0%, rgba(10,21,48,.1) 35%, rgba(10,21,48,.2) 60%, var(--night) 100%); }
.oc-head { position: relative; z-index: 1; width: 100%; padding-bottom: 28px; }
.oc-head .lede { margin-top: 14px; }
.img-credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.55); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.stats div { border-top: 2px solid var(--line); padding-top: 14px; }
.stats dt { font: 900 clamp(34px, 4vw, 54px)/1 var(--display); color: var(--fg); letter-spacing: -.01em; }
.stats dt.gold { color: var(--gold); }
.stats dd { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.events-h { margin: clamp(56px, 9vh, 90px) 0 22px; }
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event { display: flex; flex-direction: column; gap: 12px; }
.event .ph { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: #0f1c3d; }
.event .ph img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; left: 12px; top: 12px; font: 800 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(5,11,28,.75); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.event h4 { font: 800 16px/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.event .when { color: var(--muted); font-size: 14px; }
.event .stat { color: var(--soft); font-size: 15px; }
.event .stat b { font: 900 22px/1 var(--display); color: var(--gold); margin-right: 6px; }
.next { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.next b { font: 800 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-right: 14px; }

/* ---------- 4. venue */
.venue { background: linear-gradient(180deg, var(--night), var(--deep)); padding-bottom: 0; }
.arena { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.arena figure { display: flex; flex-direction: column; gap: 10px; }
.arena img { width: 100%; aspect-ratio: 758 / 355; object-fit: cover; border-radius: 12px; }
.vscene { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--deep); margin-top: var(--gap-sec); }
.vstage { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; --inv: 1; }
.vstage .ly { position: absolute; max-width: none; transform-origin: 50% 50%; will-change: transform; }
.vstage .bp { position: absolute; left: 0; top: 0; width: 960px; height: 540px; clip-path: inset(0 100% 0 0); }
.vstage .bp > img { position: absolute; max-width: none; transform-origin: 50% 50%; }
.vtag { position: absolute; transform: translate(-50%, -50%) scale(var(--inv)); white-space: nowrap; font: 800 7.6px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #d8ecff; background: rgba(8,22,58,.86); border: .75px solid rgba(110,200,255,.7); border-radius: 999px; padding: 4.6px 8px; }
.vtag.gold { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.vscene.tall .vtag.minor { display: none; }
.vring { position: absolute; border: 1.6px solid var(--gold); border-radius: 50%; }
.vhead { position: absolute; z-index: 2; left: var(--pad); top: 88px; width: min(560px, 82vw); pointer-events: none; }
.vt { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; }
.vt h3 { font-weight: 900; font-size: clamp(26px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; margin-top: 10px; text-shadow: 0 6px 30px rgba(0,0,0,.6); }
.vt p.line { margin-top: 10px; color: var(--soft); font-size: 16px; max-width: 44ch; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.vfacts { position: absolute; z-index: 2; right: max(24px, 4vw); top: 0; bottom: 0; height: fit-content; margin-block: auto; width: 250px; display: grid; gap: 14px; padding: 22px; border-radius: var(--r); background: rgba(7,16,38,.82); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; }
.vfacts dt { font: 900 26px/1 var(--display); }
.vfacts dt.gold { color: var(--gold); }
.vfacts dd { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.vlevels { position: absolute; z-index: 2; left: var(--pad); top: 12vh; bottom: 0; height: fit-content; margin-block: auto; width: min(380px, 40vw); display: grid; gap: 26px; }
.vlevels li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; opacity: 0; }
.vlevels b { font: 300 38px/1 var(--display); color: #6cc6ff; }
.vlevels li:last-child b { color: var(--gold); }
.vlevels h4 { font: 800 15px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.vlevels p { color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 4px; }
.vcredit { position: absolute; z-index: 2; right: 12px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,.5); }
.venue-more { padding-block: var(--gap-sec); }
.eleiko { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5vw; align-items: center; }
.eleiko img { width: min(360px, 100%); margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.eleiko .h3 { margin-top: 10px; }
.eleiko p.txt { margin-top: 14px; color: var(--soft); max-width: 52ch; }
.plat { display: flex; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.plat dt { font: 900 46px/1 var(--display); }
.plat div:first-child dt { color: var(--red); }
.plat dd { color: var(--muted); font-size: 14px; margin-top: 6px; }
.levels-list { margin-top: clamp(56px, 9vh, 90px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lvl { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.lvl header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.lvl header b { font: 300 32px/1 var(--display); color: #6cc6ff; }
.lvl:first-child header b { color: var(--gold); }
.lvl h4 { font: 800 15px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.lvl li { position: relative; padding-left: 16px; color: var(--soft); font-size: 15px; line-height: 1.45; margin-top: 7px; }
.lvl li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- 5. hotels */
.hotels { background: var(--deep); }
.hsum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 14px; }
.hsum div { border-top: 2px solid var(--line); padding-top: 12px; }
.hsum dt { font: 900 clamp(28px, 3.2vw, 42px)/1 var(--display); }
.hsum dt.gold { color: var(--gold); }
.hsum dd { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.4; }
.hnote { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }
.hcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hcard { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.hcard .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0f1c3d; }
.hcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.hcard { transition: border-color .2s ease; }
.hcard .body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.hcard .num { font: 800 12px/1 var(--display); letter-spacing: .2em; color: var(--gold); }
.hcard h3 { font: 900 18px/1.15 var(--display); text-transform: uppercase; }
.hcard p { color: var(--soft); font-size: 14.5px; line-height: 1.45; }
.hcard .rate { margin-top: auto; padding-top: 10px; font: 800 14px/1.3 var(--display); color: var(--fg); }
.hcard .rate.tbc { color: var(--muted); font-weight: 700; }
.hcard button { margin-top: 12px; align-self: flex-start; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--fg); font: 800 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.hcard button:hover { background: rgba(255,255,255,.1); }

/* ---------- 6. getting here */
.travel { overflow: hidden; background: var(--ink); }
.travel > .bg { position: absolute; inset: 0; }
.travel > .bg img { width: 100%; height: 100%; object-fit: cover; }
.travel > .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,11,28,.85) 0%, rgba(5,11,28,.35) 45%, rgba(5,11,28,.92) 100%); }
.travel .wrap { position: relative; z-index: 1; }
.tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(140px, 26vh, 260px); }
.tcard { padding: 20px; border-radius: var(--r); background: rgba(8,16,40,.62); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 8px; }
.tcard dt { font: 900 clamp(30px, 3.4vw, 44px)/1 var(--display); }
.tcard dt.gold { color: var(--gold); }
.tcard dd { color: var(--soft); font-size: 14.5px; line-height: 1.45; }
.tcard a { color: var(--gold); font-weight: 700; }
.travel .credit { margin-top: 18px; }

/* ---------- 7. transport */
.transport { background: linear-gradient(180deg, var(--ink), var(--night)); }
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.veh { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.veh .ph { height: 190px; display: grid; place-items: center; padding: 18px; background: rgba(255,255,255,.03); }
.veh .ph img { max-height: 150px; width: auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.55)); }
.veh .body { padding: 18px 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; }
.veh .num { grid-column: 1 / -1; font: 800 12px/1 var(--display); letter-spacing: .2em; color: var(--gold); }
.veh h3 { font: 900 19px/1.15 var(--display); text-transform: uppercase; }
.veh p { grid-column: 1; color: var(--soft); font-size: 14.5px; line-height: 1.45; }
.veh .seats { grid-column: 2; grid-row: 2 / span 2; text-align: right; font: 900 30px/1 var(--display); color: var(--gold); }
.veh .seats small { display: block; font: 800 10px/1.4 var(--display); letter-spacing: .2em; color: var(--muted); margin-top: 4px; }
.transport .small { margin-top: 16px; }

/* ---------- 8. in town */
.town { background: var(--night); }
.town-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: start; }
.town-grid figure img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.bul li { position: relative; padding-left: 18px; color: var(--soft); margin-top: 10px; line-height: 1.5; }
.bul li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 2px; background: var(--gold); }
.town .lead { color: var(--fg); font-size: 18px; }
.places { margin-top: clamp(50px, 8vh, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: start; }
.places .h3 { margin-top: 10px; }
.places .bul b { color: var(--fg); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }

/* ---------- 9. closing */
.close { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 18vh, 200px) clamp(90px, 14vh, 160px); background: var(--ink); }
.close > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(5,11,28,.35) 40%, rgba(5,11,28,.6) 75%, var(--ink) 100%); }
.close-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-inline: 20px; }
.close-in .logo { width: min(420px, 78vw); height: auto; }
.close-pre { margin-top: 24px; font: italic 400 clamp(22px, 3vw, 36px)/1 var(--body); }
.close-in .word { font: 900 clamp(64px, 17vw, 230px)/.86 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--gold); }
.close-date { margin-top: 8px; font: 800 13px/1.6 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--soft); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 10px 22px; }

/* ---------- footer */
footer { padding-block: 40px 56px; color: var(--muted); font-size: 13px; line-height: 1.6; border-top: 1px solid var(--line); background: var(--ink); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; }
footer a { color: var(--muted); }
footer .top { justify-self: end; color: var(--soft); font: 800 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }

/* ---------- lightbox + hotel dialog */
#lb { position: fixed; inset: 0; z-index: 60; background: rgba(3,7,18,.95); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); cursor: zoom-out; }
#lb[hidden] { display: none; }
#lb img { max-width: 96vw; max-height: 92vh; border-radius: 8px; }
#lb button, .dlg-x { position: absolute; top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); font: 700 15px/1 var(--display); color: #fff; background: rgba(255,255,255,.14); border: 0; border-radius: 6px; padding: 11px 14px; cursor: pointer; min-height: 44px; }
.hdlg { width: min(920px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--night); color: var(--fg); overflow: auto; overscroll-behavior: contain; }
.hdlg::backdrop { background: rgba(3,7,18,.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hdlg .dlg-x { position: sticky; float: right; top: 12px; right: auto; margin: 12px 12px 0 0; z-index: 2; }
.hd { padding: 22px clamp(18px, 3vw, 32px) 30px; }
.hd .gal { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 150px; gap: 10px; margin: 18px 0 22px; }
.hd .gal img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hd .gal img:first-child { grid-row: span 2; }
.hd .gal.one { grid-template-columns: 1fr; grid-auto-rows: 320px; }
.hd .gal.one img:first-child { grid-row: auto; }
.hd h3 { font: 900 clamp(22px, 3vw, 30px)/1.05 var(--display); text-transform: uppercase; margin-top: 6px; }
.hd .rate { margin-top: 16px; font: 800 15px/1.4 var(--display); }

/* ---------- emblem scrollbar (mouse and trackpad only; modelled on awf.local's plate scrollbar) */
@media (min-width: 60rem) and (forced-colors: none) {
  html.has-embar { scrollbar-width: none; }
  html.has-embar::-webkit-scrollbar { width: 0; height: 0; }
  .has-embar .embar { display: block; }
}
.embar { display: none; position: fixed; top: 50%; right: 10px; z-index: 38; width: 30px; height: clamp(200px, 46vh, 480px); transform: translateY(-50%); pointer-events: none; transition: opacity .4s ease, visibility .4s; perspective: 300px; }
.embar-rail { position: absolute; inset: 0 auto 0 50%; width: 2px; margin-left: -1px; border-radius: 1px; background: rgba(155,166,192,.55); transition: transform .2s ease; }
.embar-rail::before { content: ""; position: absolute; inset: 0 -12px; pointer-events: auto; cursor: pointer; }
.embar-thumb { position: absolute; top: 0; left: 0; width: 30px; height: 30px; pointer-events: auto; cursor: grab; will-change: transform; }
.embar-grow { width: 100%; height: 100%; border-radius: 50%; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); transition: transform .45s cubic-bezier(.34,1.56,.64,1); transform-style: preserve-3d; }
.embar-grow img { width: 100%; height: 100%; will-change: transform; }
.embar:hover .embar-rail, .embar.drag .embar-rail { transform: scaleX(2); }
.embar:hover .embar-grow, .embar.drag .embar-grow { transform: scale(1.5); }
.embar.drag .embar-thumb, html.scrubbing, html.scrubbing * { cursor: grabbing; }
html.scrubbing { user-select: none; }
.embar.off, .menu-open .embar { opacity: 0; visibility: hidden; }
@media print { .embar, .bar, .menu { display: none; } }

/* ---------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .film .fhint::after { animation: none; }
  .hcard, .menu-list a, .menu-lines i { transition: none; }
}

/* ---------- tablets */
@media (max-width: 1080px) {
  .hcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels-list { grid-template-columns: 1fr 1fr; }
  .levels-list .lvl:last-child { grid-column: 1 / -1; }
}

/* ---------- phones and small tablets */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .lede { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .brand b { font-size: 12px; }
  .menu-label { display: none; }
  .menu-btn { padding: 0 6px; }
  .menu-in { grid-template-columns: 1fr; gap: 30px; align-items: start; min-height: 0; }
  .menu-side { flex-direction: row; align-items: center; gap: 18px; }
  .menu-side img { width: 84px; }
  .film .ftitle { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
  .film .ftitle .eyebrow { font-size: 11px; line-height: 1.6; letter-spacing: .18em; }
  .film .ftitle .sub { letter-spacing: .22em; }
  .film .fhint { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .film .cap { bottom: calc(9vh + env(safe-area-inset-bottom, 0px)); }
  .em-grid { grid-template-columns: 1fr; gap: 40px; }
  .em-mark img { width: 100%; aspect-ratio: 16 / 9; object-position: 50% 28%; }
  .keys { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .keys span { font-size: 14px; }
  .strip-nav { display: none; }
  .strip { padding-inline: var(--pad); scroll-padding-inline: var(--pad); gap: 12px; }
  .strip img { height: 240px; }
  .stats, .hsum { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .events { grid-template-columns: 1fr; gap: 26px; }
  .event { display: grid; grid-template-columns: 132px 1fr; gap: 4px 14px; align-items: start; }
  .event .ph { grid-row: span 4; aspect-ratio: 1; }
  .event .chip { display: none; }
  .arena { grid-template-columns: 1fr 1fr; }
  .arena figure:first-child { grid-column: 1 / -1; }
  .vhead { top: 70px; width: calc(100vw - 2 * var(--pad)); }
  .vt h3 { font-size: 26px; }
  .vt p.line { font-size: 14.5px; }
  .vfacts { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: var(--pad); right: var(--pad); width: auto; margin: 0; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 14px 16px; }
  .vfacts dt { font-size: 21px; }
  .vfacts dd { font-size: 12.5px; }
  .vlevels { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); margin: 0; width: calc(100vw - 2 * var(--pad)); gap: 10px; }
  .vlevels li { grid-template-columns: 38px 1fr; gap: 10px; }
  .vlevels b { font-size: 26px; }
  .vlevels h4 { font-size: 13px; }
  .vlevels p { font-size: 12.5px; margin-top: 2px; }
  .eleiko { grid-template-columns: 1fr; gap: 26px; }
  .eleiko img { width: min(220px, 60vw); }
  .tcards { margin-top: 120px; gap: 12px; }
  .tcard:first-child { grid-column: 1 / -1; }
  .tcard { padding: 16px; }
  .fleet { grid-template-columns: 1fr; gap: 12px; }
  .veh { display: grid; grid-template-columns: 120px 1fr; }
  .veh .ph { height: auto; padding: 10px; }
  .veh .ph img { max-height: 70px; }
  .veh .body { padding: 14px 16px; }
  .veh .seats { font-size: 22px; }
  .veh h3 { font-size: 16px; }
  .town-grid, .places { grid-template-columns: 1fr; gap: 26px; }
  .hd .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }
  .hd .gal img:first-child { grid-column: 1 / -1; grid-row: auto; height: 200px; }
  .hd .gal.one { grid-auto-rows: 220px; }
  footer .wrap { grid-template-columns: 1fr; }
  footer .top { justify-self: start; }
}
/* ---------- phones: long card rows become swipeable */
@media (max-width: 560px) {
  .levels-list, .hcards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; gap: 12px; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 14px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .levels-list::-webkit-scrollbar, .hcards::-webkit-scrollbar { display: none; }
  .lvl { flex: none; width: 82vw; scroll-snap-align: start; }
  .levels-list .lvl:last-child { grid-column: auto; }
  .hcard { flex: none; width: 78vw; scroll-snap-align: start; }
}
@media (max-width: 420px) {
  .tcards { grid-template-columns: 1fr 1fr; }
  .tcard dt { font-size: 26px; }
  .tcard dd { font-size: 13.5px; }
}
