/* THE LEGACY OF TEMUR — visual system
   Palette comes from the Amir Temur portrait. */
:root {
  --obsidian: #080A0F;
  --midnight: #111C32;
  --cobalt: #2457D8;
  --orange: #E66A32;
  --ivory: #F2E9DA;
  --turquoise: #18A6A0;
  --ink: #16130F;
  --ivory-dim: rgba(242, 233, 218, .68);
  --line: rgba(242, 233, 218, .18);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 64px);
  --hud: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lock, html.lock body { overflow: hidden; }
body { margin: 0; background: var(--obsidian); color: var(--ivory); font: 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 8px 14px; }
.skiplink:focus { top: 12px; }
.noscript { padding: 40px var(--gut); font-family: var(--serif); font-size: 24px; }
body.is-loading main { opacity: 0; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 8.4vw, 150px); line-height: .9; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
.kicker { display: flex; gap: 14px; align-items: baseline; margin: 0 0 28px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-dim); }
.kicker .kn { color: var(--orange); }
.kicker .kn:empty { display: none; }
.lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.3; max-width: 30ch; margin: 28px 0 0; color: var(--ivory); }
.note { font-size: 12px; letter-spacing: .04em; color: var(--ivory-dim); margin: 18px 0 0; max-width: 46ch; }
.loc { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-dim); margin: 0 0 14px; }
.credit { font-size: 10.5px; letter-spacing: .04em; color: rgba(242, 233, 218, .5); }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hud); padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; transition: opacity .8s, color .4s; background: linear-gradient(rgba(8,10,15,.55), rgba(8,10,15,0)); }
body.intro-running .hud { opacity: 0; pointer-events: none; }
body.on-light .hud { color: var(--ink); background: linear-gradient(rgba(242,233,218,.85), rgba(242,233,218,0)); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.hud-right { display: flex; align-items: center; gap: 6px; }
.langs { display: flex; gap: 2px; margin-right: 6px; }
.langs button { font-size: 11px; font-weight: 600; letter-spacing: .14em; padding: 8px 7px; opacity: .55; transition: opacity .3s; min-height: 36px; }
.langs button[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 -1px 0 currentColor; }
.langs button:hover { opacity: 1; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.sound .wave { opacity: .25; transition: opacity .3s; }
.sound.on .wave { opacity: 1; }
.bars { display: grid; gap: 6px; width: 22px; }
.bars i { display: block; height: 1.5px; background: currentColor; transition: transform .4s; }
.bars i:last-child { width: 60%; justify-self: end; }
body.menu-open .bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .bars i:last-child { width: 100%; transform: translateY(-3.75px) rotate(-45deg); }
body.menu-open .hud { color: var(--ivory); background: none; }

/* ---------- chapter progress ---------- */
.progress { position: fixed; right: calc(var(--gut) * .45); top: 50%; transform: translateY(-50%); z-index: 30; transition: opacity .6s; }
body.intro-running .progress { opacity: 0; pointer-events: none; }
.progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.progress a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 14px; text-decoration: none; }
.progress a::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .35; transition: width .4s, opacity .4s, background .4s; }
.progress a.on::after { width: 30px; opacity: 1; background: var(--orange); }
.progress span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: .3s; white-space: nowrap; }
.progress a:hover span, .progress a:focus-visible span { opacity: .9; transform: none; }
body.on-light .progress { color: var(--ink); }
@media (max-width: 760px) { .progress { display: none; } .wordmark { font-size: 12px; letter-spacing: .16em; } }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 35; background: var(--midnight); display: flex; align-items: center; overflow-y: auto; animation: menuIn .5s ease both; }
.menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 30%, rgba(36,87,216,.35), transparent 70%); pointer-events: none; }
@keyframes menuIn { from { opacity: 0; } }
.menu-inner { position: relative; width: 100%; padding: calc(var(--hud) + 24px) var(--gut) 40px; }
.menu-list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-list a { display: flex; align-items: baseline; gap: clamp(14px, 3vw, 40px); padding: clamp(6px, 1vh, 12px) 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.ml-n { font-family: var(--serif); font-size: 16px; color: var(--orange); width: 2.6em; flex: none; }
.ml-t { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.6vw, 64px); line-height: 1.05; text-transform: uppercase; transition: color .3s, transform .4s; }
.menu-list a:hover .ml-t, .menu-list a:focus-visible .ml-t { color: var(--orange); transform: translateX(10px); }
.menu-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; flex-wrap: wrap; gap: 16px; }
.menu-tour { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ivory); padding: 14px 22px; }
.menu-tour:hover { background: var(--ivory); color: var(--ink); }

/* ---------- shared CTA ---------- */
.cta { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 20px 30px; background: var(--orange); color: var(--obsidian); transition: background .3s, gap .3s; }
.cta i { width: 34px; height: 1px; background: currentColor; position: relative; }
.cta i::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.cta:hover { gap: 26px; background: var(--ivory); }
.cta.ghost { background: transparent; color: var(--ivory); border: 1px solid rgba(242,233,218,.6); }
.cta.ghost:hover { background: var(--ivory); color: var(--obsidian); }
.explore { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid rgba(242,233,218,.5); }
.explore i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
.explore:hover { color: var(--orange); border-color: var(--orange); }
.media-missing { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #0d1424 0 12px, #101a2e 12px 24px); }
.media-missing span, .ph-tag { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); border: 1px dashed currentColor; padding: 5px 9px; }


/* ================= 1. THE FILM: fullscreen documentary player ================= */
body.film-on .hud, body.film-on .menu { opacity: 0; pointer-events: none; }
body.film-on main { visibility: hidden; }
.film { position: fixed; inset: 0; z-index: 50; background: #000; overflow: hidden; color: var(--ivory); transition: opacity 1.2s ease; }
.film.idle { cursor: none; }
.fm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; transform-origin: 50% 50%; transition: transform 2.6s cubic-bezier(.6,0,.2,1), filter 2.2s ease; }
.fm-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(8,10,15,.55) 0%, rgba(8,10,15,0) 38%); transition: background 1.6s; }
.fm-ui { position: absolute; inset: 0; }
.fm-caps { position: absolute; left: var(--gut); right: var(--gut); top: var(--hud); bottom: clamp(110px, 19vh, 190px); pointer-events: none; }
.fm-cue { position: absolute; left: 0; bottom: 0; max-width: min(760px, 100%); opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.fm-cue.on { opacity: 1; transform: none; }
.fm-k { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--orange); text-shadow: 0 1px 14px rgba(8,10,15,.9); }
.fm-t { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.6vw, 58px); line-height: 1.04; text-shadow: 0 2px 30px rgba(8,10,15,.7); }
.fm-motto, .fm-invite { max-width: none; right: 0; text-align: center; bottom: auto; top: 50%; transform: translateY(calc(-50% + 18px)); }
.fm-motto.on, .fm-invite.on { transform: translateY(-50%); }
.fm-motto p { margin: 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(28px, 4.6vw, 80px); line-height: 1.02; letter-spacing: .04em; text-shadow: 0 2px 40px rgba(8,10,15,.85); }
.fm-motto .fm-m2 { color: var(--orange); margin-top: .2em; opacity: 0; transition: opacity 1.1s ease 1.3s; }
.fm-motto.on .fm-m2 { opacity: 1; }
.fm-motto small { display: block; margin-top: 24px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-dim); }
.fm-motto::before, .fm-invite::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 240%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(8,10,15,.6), transparent); z-index: -1; }
.fm-invite p { margin: 0 auto; max-width: 28ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 4vw, 66px); line-height: 1.08; text-shadow: 0 2px 40px rgba(8,10,15,.85); }

/* top: stand-in note + language */
.fm-top { position: absolute; left: var(--gut); right: var(--gut); top: 0; height: var(--hud); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: opacity .6s; }
.fm-note { margin: 0; max-width: 46ch; font-size: 10.5px; letter-spacing: .06em; color: rgba(242,233,218,.55); }
.fm-top .langs { margin: 0; }

/* controls */
.fm-bar { position: absolute; left: var(--gut); right: var(--gut); bottom: max(24px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; transition: opacity .6s, transform .6s; }
.film.idle .fm-bar, .film.idle .fm-top { opacity: 0; transform: translateY(6px); pointer-events: none; }
.fm-btn { width: 42px; height: 42px; flex: none; border: 1px solid rgba(242,233,218,.45); border-radius: 50%; font-size: 12px; letter-spacing: -.1em; display: grid; place-items: center; }
.fm-replay { font-size: 18px; letter-spacing: 0; }
.fm-progress { flex: 1; height: 2px; background: rgba(242,233,218,.2); overflow: hidden; }
.fm-progress i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.fm-sound { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid var(--orange); color: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; background: rgba(230,106,50,.16); }
.fm-sound.on { border-color: rgba(242,233,218,.35); background: none; }
.fm-sound-i { width: 16px; height: 14px; position: relative; }
.fm-sound-i::before { content: ""; position: absolute; left: 0; top: 4px; width: 5px; height: 6px; background: currentColor; box-shadow: 4px 0 0 -1px currentColor; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.fm-sound-i::after { content: ""; position: absolute; left: 7px; top: 0; width: 0; height: 0; border: 7px solid transparent; border-right-color: currentColor; border-left: 0; }
.fm-sound:not(.on) .fm-sound-i { opacity: .7; }
.fm-skip { flex: none; min-height: 42px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 0 14px; border: 1px solid rgba(242,233,218,.35); }
.fm-skip:hover, .fm-btn:hover, .fm-sound:hover { background: rgba(242,233,218,.12); }

/* big start button: autoplay blocked, or reduced motion */
.fm-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none; flex-direction: column; align-items: center; gap: 18px; }
.film.waiting .fm-start { display: flex; }
.film.waiting .fm-caps { opacity: 0; }
.fs-i { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--ivory); display: grid; place-items: center; font-size: 26px; padding-left: 6px; background: rgba(8,10,15,.35); transition: background .3s, color .3s; }
.fm-start:hover .fs-i { background: var(--orange); border-color: var(--orange); color: var(--obsidian); }
.fs-l { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }

/* ---------- level unlock: the frame opens up, the title arrives, the site appears ---------- */
.fm-unlock { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.fm-unlock .uh-s { visibility: hidden; }
.film.unlocking .fm-video { transform: scale(var(--open, 1.3)); }
.film.unlocking .fm-shade { background: linear-gradient(0deg, rgba(8,10,15,.8) 0%, rgba(8,10,15,.25) 55%, rgba(8,10,15,.45) 100%); }
.film.unlocking .fm-caps, .film.unlocking .fm-bar, .film.unlocking .fm-top, .film.unlocking .fm-start { opacity: 0; pointer-events: none; transition: opacity .5s; }
.film.unlocking .fm-unlock { opacity: 1; }
.fm-unlock .h-legacy { opacity: 0; letter-spacing: .3em; filter: blur(8px); transition: opacity 1.4s ease, letter-spacing 2.2s cubic-bezier(.2,.7,.2,1), filter 1.4s ease; }
.fm-unlock .h-tour { opacity: 0; transform: translateY(14px); transition: opacity 1.1s ease .9s, transform 1.3s cubic-bezier(.2,.7,.2,1) .9s; }
.film.titled .h-legacy { opacity: 1; letter-spacing: -.005em; filter: none; }
.film.titled .h-tour { opacity: 1; transform: none; }
.film.gone { opacity: 0; pointer-events: none; }

/* ================= THE OPENED SITE: hero = the film's last frame ================= */
.uh { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; text-align: center; background: var(--obsidian); }
.uh-bg, .uh-bg picture { position: absolute; inset: 0; }
.uh-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--open, 1.3)); }
body.arriving .uh-bg img { animation: uhIn 1.6s ease both; }
@keyframes uhIn { from { opacity: 0; } }
.uh-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,15,.8) 0%, rgba(8,10,15,.25) 55%, rgba(8,10,15,.45) 100%); }
.uh-in { position: relative; z-index: 1; width: 100%; text-align: center; padding: calc(var(--hud) + 10px) var(--gut) 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; }
.fm-unlock .uh-in { height: 100%; }
.uh-t { margin: 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; line-height: .9; }
.uh-t .h-legacy { display: block; font-size: clamp(42px, 8.4vw, 150px); }
.uh-t .h-tour { display: block; margin-top: 22px; font-family: var(--sans); font-size: clamp(12px, 1.35vw, 18px); font-weight: 600; letter-spacing: .5em; color: var(--orange); }
.uh-s { margin: 0; opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
body.unlocked .uh .uh-s { opacity: 1; transform: none; }
body.unlocked .uh .s1 { transition-delay: .5s; }
body.unlocked .uh .s2 { transition-delay: 1.1s; }
body.unlocked .uh .s3 { transition-delay: 1.7s; }
body.unlocked .uh .s4 { transition-delay: 2.3s; }
.uh-dur { margin-top: 38px; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); }
.uh-route { margin-top: 8px; font-size: clamp(11px, 1vw, 13px); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-dim); }
.uh-route i { font-style: normal; color: var(--orange); }
.uh-lead { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 25px); max-width: 34ch; }
.uh-actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; }
.watch-again { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 12px 4px; border-bottom: 1px solid rgba(242,233,218,.5); }
.wa-i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 9px; padding-left: 2px; }
.watch-again:hover { color: var(--orange); border-color: var(--orange); }
.uh-scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 44px; background: linear-gradient(var(--ivory), transparent); opacity: 0; transition: opacity 1s 3s; }
body.unlocked .uh-scroll { opacity: .6; }

/* tour blocks arrive one by one */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s ease var(--d, 0s), transform 1.2s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.jt-book { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.jt-book .note { margin: 0; }

@media (max-width: 760px) {
  .fm-caps { bottom: 178px; }
  .fm-t { font-size: clamp(26px, 7.4vw, 38px); }
  .fm-note { font-size: 9.5px; max-width: 28ch; }
  .fm-bar { gap: 10px; flex-wrap: wrap; }
  .fm-progress { order: -1; flex-basis: 100%; }
  .fm-sound { flex: 1; justify-content: center; padding: 0 10px; letter-spacing: .12em; font-size: 10px; }
  .fm-skip { padding: 0 10px; letter-spacing: .12em; font-size: 10px; }
  .uh-t .h-tour { letter-spacing: .32em; }
  .uh-actions .cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .rv, .uh-s { opacity: 1; transform: none; } }

/* ================= 2. THE TOUR ================= */
/* ================= VI. JOURNEY ================= */
.journey { background: linear-gradient(var(--midnight), #0B1324 70%, var(--obsidian)); }
.jt { padding: clamp(70px, 11vh, 130px) var(--gut) 16vh; max-width: 1240px; margin: 0 auto; }
.jt-title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 84px); line-height: .95; text-transform: uppercase; margin: 0; }
.jt-desc { font-size: 17px; max-width: 52ch; margin: 20px 0 0; }
.jt-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.jf { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.jf + .jf { padding-left: 22px; border-left: 1px solid var(--line); }
.jf dt { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 10px; }
.jf dd { margin: 0; font-family: var(--serif); font-size: 26px; }
.tbd { display: inline-flex; flex-direction: column; gap: 6px; font-family: var(--sans); font-size: 13px; color: var(--ivory-dim); }
.tbd em { font-style: normal; align-self: flex-start; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); border: 1px dashed currentColor; padding: 3px 7px; }
.jt-route { margin-top: 34px; }
.jt-route-v { font-family: var(--serif); font-size: 24px; margin: 6px 0 0; }
.jt-route-v i { font-style: normal; color: var(--orange); padding: 0 .3em; }
.jd-l { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-dim); margin: 16px 0 4px; }
.jt-sub { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin: 70px 0 26px; }
.jt-days { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid rgba(36,87,216,.7); display: grid; gap: 48px; }
.jd { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.jd::before { content: ""; position: absolute; left: -34px; top: 50%; width: 11px; height: 11px; background: var(--midnight); border: 1px solid var(--cobalt); transform: rotate(45deg); }
.jd-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(36,87,216,.08); }
.jd-img img { width: 100%; height: 100%; object-fit: cover; }
.jd-ph .jd-img { border: 1px dashed rgba(242,233,218,.3); display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(36,87,216,.06) 0 14px, transparent 14px 28px); }
.jd-n { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); margin: 0 0 6px; }
.jd h4 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; margin: 0; text-transform: uppercase; }
.jd-ph h4 { color: var(--ivory-dim); }
.jd-text { margin: 10px 0 0; color: var(--ivory-dim); max-width: 46ch; }
.jd ul { margin: 4px 0 0; padding-left: 18px; }
.jt-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
.jt-incl ul { margin: 0; padding-left: 18px; }
.jt-cta { margin-top: 90px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.jt-cta .note { margin: 0; }
@media (max-width: 760px) {
  .jt { margin-left: 0; }
  .jt-facts { grid-template-columns: 1fr; }
  .jf + .jf { padding-left: 0; border-left: 0; }
  .jd { grid-template-columns: 1fr; gap: 14px; }
  .jd::before { top: 20px; }
  .jt-incl { grid-template-columns: 1fr; }
  .cta { padding: 18px 22px; letter-spacing: .18em; }
}

.jt-desc { font-size: clamp(17px, 1.4vw, 20px); }
.jt-route { margin-top: 30px; }
.jt-facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 34px; border-top: 0; gap: 0 22px; }
.jf, .jf + .jf { padding: 18px 0; border: 0; border-top: 1px solid var(--line); }
.jf dd { font-size: 22px; line-height: 1.2; }
.jt-hl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.jh { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--midnight); }
.jh img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.jh:hover img { transform: scale(1.05); }
.jh figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(0deg, rgba(8,10,15,.9), transparent); }
.jh strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.7vw, 26px); line-height: 1; text-transform: uppercase; }
.jh span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); }
.jd-prac { margin: 10px 0 0; font-size: 13px; color: var(--ivory-dim); }
.jt-price { margin-top: 80px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4vw; padding: clamp(26px, 4vw, 50px); border: 1px solid rgba(230,106,50,.45); background: radial-gradient(70% 90% at 0% 0%, rgba(230,106,50,.12), transparent 70%), rgba(17,28,50,.6); }
.jp-v { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; margin: 0 0 28px; }
.jt-price .jt-sub { margin-top: 18px; }
@media (max-width: 900px) { .jt-hl { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .jh { scroll-snap-align: start; } .jt-price { grid-template-columns: 1fr; } }

.foot-a, .foot-b { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot strong { font-weight: 700; color: var(--orange); }
.linkish { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(8,10,15,.96); overflow-y: auto; padding: 70px var(--gut) 60px; }
.lb-close { position: fixed; top: 14px; right: calc(var(--gut) - 8px); font-size: 30px; line-height: 1; z-index: 2; }
.lb-body { max-width: 1200px; margin: 0 auto; }
.lb-title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 90px); line-height: .9; text-transform: uppercase; margin: 0 0 18px; }
.lb-text { max-width: 60ch; color: var(--ivory-dim); }
.lb-gallery { display: grid; gap: 34px; margin-top: 40px; }
.lb-gallery figure { margin: 0; }
.lb-gallery img { width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.lb-gallery figcaption { font-size: 12px; color: var(--ivory-dim); margin-top: 8px; }
.cr-list { list-style: none; padding: 0; margin: 30px 0 0; columns: 2 380px; column-gap: 40px; }
.cr-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: 13px; }
.cr-a { color: var(--ivory-dim); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 520px) { .hud .langs { display: none; } .hud .sound { display: none; } }

/* ================= MASTER'S STAR (loyalty) ================= */
.zs { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin: 70px 0 10px; padding: clamp(26px, 4vw, 50px); border: 1px solid rgba(36,87,216,.4); background: radial-gradient(70% 90% at 15% 50%, rgba(36,87,216,.22), transparent 70%), var(--midnight); }
.zs-art svg { width: 100%; display: block; overflow: visible; }
.zs-ray { stroke: var(--ivory); stroke-width: .6; stroke-linejoin: round; transition: opacity .3s; }
.zs-city { fill: var(--cobalt); }
.zs-friend { fill: var(--orange); }
.zs-return { fill: var(--turquoise); }
.zs-core { fill: var(--obsidian); stroke: var(--ivory); stroke-width: .6; }
.zs-title { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 12px; color: var(--ivory); }
.zs-lead { color: var(--ivory-dim); margin: 0 0 24px; max-width: 56ch; }
.zs-legend, .zs-rewards { list-style: none; padding: 0; margin: 0; }
.zs-legend li { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; }
.zs-legend i { flex: none; width: 14px; height: 14px; margin-top: 4px; transform: rotate(45deg); border: 1px solid var(--ivory); }
.zs-legend .zs-city i { background: var(--cobalt); } .zs-legend .zs-friend i { background: var(--orange); } .zs-legend .zs-return i { background: var(--turquoise); }
.zs-legend strong { display: block; font-size: 14px; letter-spacing: .04em; color: var(--ivory); }
.zs-legend p { margin: 2px 0 0; font-size: 14px; color: var(--ivory-dim); }
.zs-rewards { margin-top: 22px; border-top: 1px solid rgba(242,233,218,.15); padding-top: 18px; }
.zs-rewards li { display: flex; gap: 14px; align-items: baseline; margin: 0 0 10px; font-size: 15px; color: var(--ivory); }
.zs-rewards b { flex: none; font-family: var(--serif); font-size: 22px; color: var(--orange); min-width: 44px; }
@media (max-width: 760px) { .zs { grid-template-columns: 1fr; } .zs-art { max-width: 220px; margin: 0 auto; } }

/* tour draft */
.jt-note{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;color:var(--ivory-dim);margin:0 0 22px}
.jt-note em{font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--orange);border:1px solid currentColor;padding:3px 7px}
.jd-noimg{display:grid;place-items:center;background:radial-gradient(60% 70% at 50% 40%,rgba(36,87,216,.35),transparent 70%),var(--midnight);border:1px solid rgba(36,87,216,.4)}
.jd-place{font-family:var(--serif);font-size:clamp(30px,3vw,48px);text-transform:uppercase;letter-spacing:.06em;color:var(--ivory)}

@media (max-width: 760px) { .jt-facts { grid-template-columns: 1fr 1fr; } .jf dd { font-size: 18px; } }

/* ---------- film captions: placement and type vary from shot to shot ---------- */
.fm-cue.p-bl { left: 0; bottom: 0; }
.fm-cue.p-br { left: auto; right: 0; bottom: 0; text-align: right; }
.fm-cue.p-tl { left: 0; top: 4%; bottom: auto; }
.fm-cue.p-tr { left: auto; right: 0; top: 4%; bottom: auto; text-align: right; }
.fm-cue.p-l { left: 0; top: 50%; bottom: auto; transform: translateY(calc(-50% + 18px)); max-width: min(620px, 52%); }
.fm-cue.p-r { left: auto; right: 0; top: 50%; bottom: auto; transform: translateY(calc(-50% + 18px)); text-align: right; max-width: min(620px, 52%); }
.fm-cue.p-c { left: 0; right: 0; top: 50%; bottom: auto; margin: 0 auto; text-align: center; transform: translateY(calc(-50% + 18px)); }
.fm-cue.p-l.on, .fm-cue.p-r.on, .fm-cue.p-c.on { transform: translateY(-50%); }
/* words rise one after another */
.fm-cue .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.fm-cue .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.25s + var(--i) * .06s); }
.fm-cue.on .w > span { transform: none; }
/* year: a huge outlined number behind the line */
.fm-cue.l-year { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 30px); }
.fm-cue.l-year.p-tr, .fm-cue.l-year.p-br { flex-direction: row-reverse; }
.fm-n { font-family: var(--serif); font-weight: 500; font-size: clamp(90px, 14vw, 240px); line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(242,233,218,.85); letter-spacing: -.02em; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 2.4s cubic-bezier(.2,.7,.2,1); }
.fm-cue.on .fm-n { opacity: 1; transform: none; }
.fm-cw { max-width: 26ch; padding-bottom: .4em; }
.l-year .fm-t { font-size: clamp(24px, 2.6vw, 42px); }
/* place: the name as a big spaced word */
.fm-big { margin: 0; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(54px, 9vw, 160px); line-height: .9; letter-spacing: .08em; text-shadow: 0 4px 50px rgba(8,10,15,.7); }
.fm-big .ch { display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(6px); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), filter .8s ease; transition-delay: calc(var(--i) * .045s); }
.fm-cue.on .fm-big .ch { opacity: 1; transform: none; filter: none; }
.fm-s { margin: 14px 0 0; font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); text-shadow: 0 1px 14px rgba(8,10,15,.9); }
/* quote: centred large italic */
.fm-q { margin: 0 auto; max-width: 20ch; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(34px, 5vw, 88px); line-height: 1.02; text-shadow: 0 2px 40px rgba(8,10,15,.85); }
.l-quote .fm-k { margin-bottom: 18px; }
@media (max-width: 760px) {
  .fm-cue.p-l, .fm-cue.p-r { top: auto; bottom: 0; transform: translateY(18px); max-width: 100%; }
  .fm-cue.p-l.on, .fm-cue.p-r.on { transform: none; }
  .fm-cue.p-tl, .fm-cue.p-tr { top: auto; bottom: 0; }
  .fm-n { font-size: clamp(76px, 24vw, 120px); }
  .fm-big { font-size: clamp(44px, 13vw, 72px); letter-spacing: .05em; }
  .fm-q { font-size: clamp(30px, 8.6vw, 44px); }
  .fm-cue.l-year { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fm-cue.l-year.p-tr, .fm-cue.l-year.p-br { flex-direction: column; align-items: flex-end; }
}

/* ================= INTERACTIVE JOURNEY ================= */
/* text reveal: words rise line by line */
.tr .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.tr .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * .045s); }
.tr.in .w > span { transform: none; }
/* image reveal: a cinematic wipe, the photo settles from a slight zoom */
.ir { clip-path: inset(14% 8% 14% 8%); opacity: 0; transition: clip-path 1.3s cubic-bezier(.7,0,.2,1) var(--d, 0s), opacity .6s ease var(--d, 0s); }
.ir.in { clip-path: inset(0 0 0 0); opacity: 1; }
.ir img { transform: scale(1.18) translate3d(0, var(--py, 0), 0); transition: transform 1.8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.ir.in img { transform: scale(1.06) translate3d(0, var(--py, 0), 0); }

/* magnetic buttons */
[data-mag] { transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s, gap .3s, color .3s, border-color .3s; will-change: transform; }
[data-mag].pull { transition: transform .15s ease-out, background .3s, gap .3s; }

/* ---------- city cards ---------- */
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.city { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4.2; overflow: hidden; text-align: left; background: var(--midnight); cursor: pointer;
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) scale(var(--s, 1)); transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s, clip-path 1.3s cubic-bezier(.7,0,.2,1) var(--d, 0s); }
.city.tilting { transition: transform .12s linear, opacity .6s, filter .6s; }
.city-img { position: absolute; inset: 0; }
.city-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.9); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .8s; }
.city::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--mx, 50%) var(--my, 50%), rgba(242,233,218,.16), transparent 70%), linear-gradient(0deg, rgba(8,10,15,.85), rgba(8,10,15,0) 55%); pointer-events: none; transition: opacity .6s; }
.city-n { position: absolute; left: 18px; top: 16px; z-index: 1; font-family: var(--serif); font-size: 20px; color: var(--orange); text-shadow: 0 1px 12px rgba(8,10,15,.9); }
.city-name { position: absolute; left: 18px; right: 18px; bottom: 44px; z-index: 1; font-family: var(--serif); font-weight: 500; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; letter-spacing: .04em; }
.city-name .ch { display: inline-block; transform: translateY(.25em); opacity: .75; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s, color .4s; transition-delay: calc(var(--i) * .03s); }
.city-days { position: absolute; left: 18px; bottom: 18px; z-index: 1; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-dim); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s; }
.city:hover, .city:focus-visible, .city.act { --s: 1.04; z-index: 2; }
.city:hover .city-img img, .city:focus-visible .city-img img, .city.act .city-img img { filter: brightness(1) saturate(1.08); transform: scale(1.14) translate3d(0, var(--py, 0), 0); }
.city:hover .city-name .ch, .city:focus-visible .city-name .ch, .city.act .city-name .ch { transform: none; opacity: 1; }
.city:hover .city-days, .city:focus-visible .city-days, .city.act .city-days { opacity: 1; transform: none; }
.cities:hover .city:not(:hover) { --s: .96; opacity: .5; filter: grayscale(.35); }
/* a city card opening to full screen */
.cz { position: fixed; inset: 0; z-index: 70; pointer-events: none; background: var(--obsidian); }
.cz img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transform: scale(1.04); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.cz.full img { transform: scale(1.12); }
.cz p { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; font-family: var(--serif); text-transform: uppercase; font-size: clamp(52px, 10vw, 180px); letter-spacing: .3em; opacity: 0; transition: opacity .8s, letter-spacing 1.4s cubic-bezier(.2,.7,.2,1); }
.cz.full p { opacity: 1; letter-spacing: .08em; }

/* ---------- programme: sticky stage + days ---------- */
.tl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.tl-stage { position: sticky; top: calc(var(--hud) + 4vh); height: 76vh; }
.tl-frame { position: relative; height: calc(100% - 56px); overflow: hidden; background: var(--midnight); }
.tl-pic { position: absolute; inset: 0; margin: 0; opacity: 0; clip-path: inset(0 0 0 100%); transition: opacity .9s ease, clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.tl-pic.on { opacity: 1; clip-path: inset(0 0 0 0); z-index: 1; }
.tl-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translate3d(0, var(--py, 0), 0); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.tl-pic.on img { transform: scale(1.02) translate3d(0, var(--py, 0), 0); }
.tl:hover .tl-pic.on img { transform: scale(1.1) translate3d(0, var(--py, 0), 0); }
.tl-count { position: absolute; left: 0; bottom: 0; margin: 0; font-size: 12px; letter-spacing: .2em; color: var(--ivory-dim); }
.tl-count b { font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: 0; color: var(--orange); margin-right: 4px; }
.tl-place { position: absolute; right: 0; bottom: 4px; margin: 0; font-family: var(--serif); text-transform: uppercase; font-size: 26px; letter-spacing: .08em; }
.tl-place.swap { animation: plIn .8s cubic-bezier(.2,.7,.2,1); }
@keyframes plIn { from { opacity: 0; transform: translateY(14px); letter-spacing: .3em; } }
.tl-list { position: relative; padding-left: 34px; }
.tl-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(36,87,216,.45); }
.tl-line i { position: absolute; inset: 0; background: var(--orange); transform-origin: top; transform: scaleY(0); }
.tl .jt-days { list-style: none; margin: 0; padding: 0; border: 0; display: block; }
.tl .jd { display: block; position: relative; min-height: 62vh; padding: 6vh 0; opacity: .32; transition: opacity .7s ease; }
.tl .jd:first-child { padding-top: 0; }
.tl .jd.on { opacity: 1; }
.tl .jd::before { left: -40px; top: calc(6vh + 10px); background: var(--obsidian); border-color: var(--cobalt); transition: background .5s, border-color .5s, transform .5s; }
.tl .jd:first-child::before { top: 10px; }
.tl .jd.on::before { background: var(--orange); border-color: var(--orange); transform: rotate(45deg) scale(1.3); }
.tl .jd-img { display: none; }
.jd-n { display: flex; align-items: baseline; gap: 12px; }
.jd-n b { font-family: var(--serif); font-weight: 500; font-size: 44px; letter-spacing: 0; line-height: 1; color: var(--orange); }
.tl .jd h4 { font-size: clamp(34px, 3.6vw, 60px); margin-top: 6px; }
.tl .jd ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tl .jd li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); opacity: 0; transform: translateX(-10px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.15s + var(--k) * .1s); }
.tl .jd li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border: 1px solid var(--orange); transform: rotate(45deg); }
.tl .jd.on li, .tl .jd.seen li { opacity: 1; transform: none; }

/* ---------- highlights: hover expands one, the others step back ---------- */
.jt-hl { display: flex; gap: 12px; height: clamp(360px, 52vh, 560px); perspective: 1400px; overflow: visible; }
.jh { flex: 1 1 0; min-width: 0; aspect-ratio: auto; cursor: zoom-in; transform: perspective(1000px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: flex-grow .9s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s, transform .7s cubic-bezier(.2,.7,.2,1), clip-path 1.3s cubic-bezier(.7,0,.2,1) var(--d, 0s); }
.jh.tilting { transition: flex-grow .9s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s, transform .12s linear; }
.jh img { transform: scale(1.06) translate3d(0, var(--py, 0), 0); }
.jh:hover, .jh:focus-visible, .jh.act { flex-grow: 2.6; z-index: 2; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.jh:hover img, .jh:focus-visible img, .jh.act img { transform: scale(1.12); }
.jt-hl:hover .jh:not(:hover) { opacity: .45; filter: grayscale(.5) brightness(.7); }
.jh figcaption { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.jh strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- photo viewer (opens from the photo, closes back into it) ---------- */
.pv { position: fixed; inset: 0; z-index: 80; cursor: zoom-out; }
.pv-bg { position: absolute; inset: 0; background: rgba(8,10,15,.94); opacity: 0; transition: opacity .5s; backdrop-filter: blur(6px); }
.pv.open .pv-bg { opacity: 1; }
.pv img { position: absolute; object-fit: cover; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.pv-cap { position: absolute; left: 0; right: 0; bottom: 3vh; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .5s .3s, transform .6s .3s; }
.pv.open .pv-cap { opacity: 1; transform: none; }
.pv-cap strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; text-transform: uppercase; }
.pv-cap span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.pv-x { position: absolute; top: 14px; right: calc(var(--gut) - 8px); width: 44px; height: 44px; font-size: 30px; opacity: 0; transition: opacity .4s .2s; }
.pv.open .pv-x { opacity: 1; }

/* hero motto */
.uh-lead { font-style: italic; max-width: 30ch; }

@media (max-width: 900px) {
  .cities, .jt-hl { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 10px var(--gut) 18px; scrollbar-width: none; height: auto; }
  .cities::-webkit-scrollbar, .jt-hl::-webkit-scrollbar { display: none; }
  .city { flex: 0 0 72%; scroll-snap-align: center; }
  .jh { flex: 0 0 74% !important; aspect-ratio: 3 / 4; scroll-snap-align: center; }
  .city.act, .jh.act { --s: 1; }
  .city:not(.act), .jh:not(.act) { opacity: .6; }
  .tl { display: block; }
  .tl-stage { display: none; }
  .tl .jd { min-height: 0; padding: 0 0 54px; opacity: .45; }
  .tl .jd-img { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 18px; }
  .tl .jd-img img { width: 100%; height: 100%; object-fit: cover; }
  .tl .jd::before { top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ir { clip-path: none; opacity: 1; } .tr .w > span { transform: none; }
  .tl .jd li { opacity: 1; transform: none; }
}
.fm-cue.l-place { max-width: none; }
.fm-big { white-space: nowrap; font-size: clamp(48px, 7.4vw, 132px); }
.fm-cue.l-year { max-width: min(920px, 100%); }
.fm-cw { flex: 0 1 auto; min-width: min(22ch, 60vw); max-width: 30ch; }
.fm-cue.l-year.p-l { max-width: min(920px, 72%); }
@media (max-width: 760px) { .fm-big { font-size: clamp(38px, 11.5vw, 64px); } .fm-cw { min-width: 0; } }

.fm-ui.no-sound .fm-sound { display: none; }

/* no price shown: the included / not included lists take the whole box */
.jt-price.no-price { grid-template-columns: 1fr; }
.jt-price.no-price .jt-incl .jt-sub { margin-top: 0; }

/* ================= two student packages: tabs + package passport ================= */
.jf-wide { grid-column: span 2; }
.pk-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pk-tabs button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); background: rgba(17,28,50,.45); transition: border-color .4s, background .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.pk-tabs button:hover { border-color: rgba(242,233,218,.45); transform: translateY(-2px); }
.pk-tabs button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.pk-tabs button[aria-selected="true"] { border-color: var(--orange); background: radial-gradient(80% 120% at 0% 0%, rgba(230,106,50,.16), transparent 70%), rgba(17,28,50,.75); }
.pk-n { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); }
.pk-t { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; text-transform: uppercase; }
.pk-d { font-size: 13px; color: var(--ivory-dim); }
.pk-head { margin-top: 46px; }
.pk-name { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; text-transform: uppercase; margin: 0; }
.pk-lead { margin: 12px 0 0; color: var(--ivory-dim); font-size: 17px; }
.pp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4vw; }
.pp-g .jt-sub { margin: 46px 0 6px; }
.pp-g .jt-facts { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pp .jf dd { font-family: var(--sans); font-size: 15px; line-height: 1.4; }
.pl { list-style: none; margin: 0; padding: 0; }
.pl li { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.3fr); gap: 4px 18px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.pl-r { font-family: var(--serif); font-size: 20px; }
.pl-r i { font-style: normal; color: var(--orange); }
.pl-km { font-size: 13px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.pl-t { font-size: 14px; color: var(--ivory-dim); }
.pl-t small { display: block; font-size: 12px; color: var(--orange); opacity: .85; margin-top: 2px; }
.pp-g .note { margin-top: 10px; }
.pk .tl { margin-top: 0; }
@media (max-width: 900px) { .pp { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .pk-tabs { grid-template-columns: 1fr; gap: 10px; }
  .pk-tabs button { padding: 16px 18px; }
  .jf-wide { grid-column: 1 / -1; }
  .pl li { grid-template-columns: 1fr auto; }
  .pl-t { grid-column: 1 / -1; }
}

/* ---------- compact package block + details panel ---------- */
.tbd { display: inline; font-family: var(--sans); font-size: 14px; font-style: italic; color: var(--ivory-dim); }
.jt-note { font-size: 13px; color: var(--ivory-dim); margin: 14px 0 0; }
.pk-sum { margin-top: 26px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pk-sum .jf dd { font-family: var(--sans); font-size: 16px; line-height: 1.35; }
.pk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.pk-cta .note { margin: 0; }
.pk-more { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; padding: 15px 22px; border: 1px solid var(--orange); color: var(--ivory); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; transition: background .35s, transform .35s; }
.pk-more i { font-style: normal; color: var(--orange); transition: transform .35s; }
.pk-more:hover { background: rgba(230,106,50,.12); }
.pk-more:hover i { transform: translateX(4px); }
.pk-more:focus-visible, .pd-tabs button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.pk-more-s { margin-top: 14px; padding: 9px 14px; font-size: 10px; border-color: rgba(230,106,50,.55); }
.lb-pd .lb-body { max-width: 980px; }
.pd-title { font-size: clamp(32px, 4.6vw, 64px); }
.pd-meta { color: var(--ivory-dim); margin: 0 0 26px; }
.pd-tabs { position: sticky; top: -16px; z-index: 1; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0 0 10px; background: var(--obsidian, #080A0F); border-bottom: 1px solid var(--line); scrollbar-width: none; box-shadow: 0 -60px 0 #080A0F; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs button { all: unset; cursor: pointer; flex: none; padding: 10px 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-dim); border: 1px solid transparent; transition: color .3s, border-color .3s; }
.pd-tabs button:hover { color: var(--ivory); }
.pd-tabs button[aria-selected="true"] { color: var(--ivory); border-color: var(--orange); }
.pd-pane { animation: pdIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes pdIn { from { opacity: 0; transform: translateY(10px); } }
.pd-pane .jt-sub { margin: 40px 0 14px; }
.pd-facts { margin-top: 10px; }
.pd-facts .jf dd { font-family: var(--sans); font-size: 16px; line-height: 1.4; }
.pd-days { display: grid; gap: 34px; margin-top: 18px; }
.pd-dh { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; margin: 0 0 8px; display: flex; gap: 12px; align-items: baseline; }
.pd-dh b { color: var(--orange); font-weight: 500; }
.pd-day.hl .pd-dh { color: var(--orange); }
.pd-sch { list-style: none; margin: 0; padding: 0; }
.pd-sch li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.pd-sch time { font-size: 13px; font-weight: 600; color: var(--orange); font-variant-numeric: tabular-nums; }
.pd-book { margin-top: 50px; }
@media (max-width: 760px) { .pd-sch li { grid-template-columns: 96px 1fr; gap: 12px; font-size: 14px; } .pk-more { padding: 14px 18px; } }
@media (prefers-reduced-motion: reduce) { .pd-pane { animation: none; } }
.lightbox.lb-pd { background: #080A0F; }
@media (max-width: 760px) { .pd-title, .pd > .jd-l { padding-right: 40px; } }

/* ---------- playful intro: hook, two tickets, perks ---------- */
.ji-hook { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.02; text-transform: uppercase; max-width: 24ch; margin: 18px 0 0; }
.ji-sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--ivory-dim); margin: 18px 0 0; }
.ji-tix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; max-width: 900px; }
.ji-t { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; gap: 6px; padding: 22px 56px 22px 24px; border: 1px solid rgba(230,106,50,.5);
  background: radial-gradient(90% 120% at 0% 0%, rgba(230,106,50,.14), transparent 70%), rgba(17,28,50,.6);
  -webkit-mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) , radial-gradient(circle 10px at 100% 50%, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.ji-t::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: 44px; border-left: 1px dashed rgba(242,233,218,.25); }
.ji-t:hover { transform: translateY(-3px) rotate(-.4deg); border-color: var(--orange); }
.ji-t:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.ji-n { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); }
.ji-r { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; text-transform: uppercase; }
.ji-l { font-size: 14px; color: var(--ivory-dim); }
.ji-go { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--orange); transition: transform .35s; }
.ji-t:hover .ji-go { transform: translate(4px, -50%); }
.ji-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.ji-perks li { font-size: 13px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ivory); }
.ji-perks li::before { content: "✦"; color: var(--orange); margin-right: 8px; font-size: 10px; }
@media (max-width: 760px) { .ji-tix { grid-template-columns: 1fr; } }

/* ================= LIGHT THEME (one-tap switch in the top bar) =================
   The film, the hero photo and text laid over photos stay dark; everything else turns to warm paper. */
html[data-theme="light"] {
  --obsidian: #F6F0E6;
  --midnight: #ECE3D3;
  --ivory: #16130F;
  --ivory-dim: rgba(22, 19, 15, .66);
  --line: rgba(22, 19, 15, .16);
  color-scheme: light;
}
html[data-theme="light"] .film, html[data-theme="light"] .uh, html[data-theme="light"] .city, html[data-theme="light"] .jh,
html[data-theme="light"] .tl-frame, html[data-theme="light"] .pv, html[data-theme="light"] .cz, html[data-theme="light"] .menu {
  --obsidian: #080A0F; --midnight: #111C32; --ivory: #F2E9DA; --ivory-dim: rgba(242, 233, 218, .68); --line: rgba(242, 233, 218, .18);
  color: var(--ivory);
}
html[data-theme="light"] .journey { background: linear-gradient(#EFE7D9, #F6F0E6 40%); }
html[data-theme="light"] .jt-price, html[data-theme="light"] .ji-t, html[data-theme="light"] .pk-tabs button {
  background: radial-gradient(80% 120% at 0% 0%, rgba(230,106,50,.12), transparent 70%), #FFFAF2; }
html[data-theme="light"] .pk-tabs button[aria-selected="true"] { background: radial-gradient(80% 120% at 0% 0%, rgba(230,106,50,.2), transparent 70%), #FFFAF2; }
html[data-theme="light"] .zs { background: radial-gradient(70% 90% at 15% 50%, rgba(36,87,216,.14), transparent 70%), #FFFAF2; }
html[data-theme="light"] .ji-t::after { border-left-color: rgba(22,19,15,.22); }
html[data-theme="light"] .watch-again { border-bottom-color: rgba(242,233,218,.5); }
html[data-theme="light"] .lightbox, html[data-theme="light"] .lightbox.lb-pd { background: #F6F0E6; }
html[data-theme="light"] .pd-tabs { background: #F6F0E6; box-shadow: 0 -60px 0 #F6F0E6; }
html[data-theme="light"] .skiplink, html[data-theme="light"] .menu-tour:hover { background: #F2E9DA; color: #16130F; }
html[data-theme="light"] .jd::before { background: #F6F0E6; }
html[data-theme="light"] .tl-line { background: rgba(36,87,216,.3); }
html[data-theme="light"] .media-missing { background: repeating-linear-gradient(45deg, #E6DCCB 0 12px, #EFE6D6 12px 24px); }
/* top bar: light text over the hero photo, dark text once the page turns to paper */
html[data-theme="light"] .hud { color: #F2E9DA; }
html[data-theme="light"] body.on-light .hud { color: #16130F; background: linear-gradient(rgba(246,240,230,.92), rgba(246,240,230,0)); }
html[data-theme="light"] body.menu-open .hud { color: #F2E9DA; background: none; }

/* the switch itself */
.theme-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; opacity: .8; transition: opacity .3s, transform .5s cubic-bezier(.2,.7,.2,1); }
.theme-btn:hover { opacity: 1; transform: rotate(-20deg); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .t-sun { display: none; }
html[data-theme="light"] .theme-btn .t-sun { display: block; }
html[data-theme="light"] .theme-btn .t-moon { display: none; }
html.theme-swap, html.theme-swap * { transition: background-color .5s ease, color .5s ease, border-color .5s ease !important; }
/* light theme hero: bright daytime Registan */
.uh-day { position: absolute; inset: 0; display: none; }
html[data-theme="light"] .uh-day { display: block; }
html[data-theme="light"] .uh-day img { filter: saturate(1.05); }
html[data-theme="light"] .uh-shade { background: radial-gradient(55% 48% at 50% 52%, rgba(8,10,15,.5), transparent 78%), linear-gradient(0deg, rgba(8,10,15,.72) 0%, rgba(8,10,15,.18) 50%, rgba(8,10,15,.42) 100%); }
html[data-theme="light"] .uh-in { text-shadow: 0 2px 24px rgba(8,10,15,.55); }

/* ================= MODERN HERO (.hx) ================= */
.hx { min-height: 680px; }
.hx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hx-slide.on { opacity: 1; z-index: 1; }
.hx-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s cubic-bezier(.2,.7,.2,1); }
.hx-slide.on img { transform: scale(1.02); }
.hx-night { position: absolute; inset: 0; display: none; }
html:not([data-theme="light"]) .has-night .hx-night { display: block; }
.hx .uh-shade { z-index: 2; background: radial-gradient(60% 50% at 50% 42%, rgba(8,10,15,.38), transparent 75%), linear-gradient(0deg, rgba(8,10,15,.72) 0%, rgba(8,10,15,.1) 45%, rgba(8,10,15,.4) 100%); }
html[data-theme="light"] .hx .uh-shade { background: radial-gradient(60% 50% at 50% 42%, rgba(8,10,15,.3), transparent 75%), linear-gradient(0deg, rgba(8,10,15,.5) 0%, rgba(8,10,15,0) 40%, rgba(8,10,15,.3) 100%); }
.hx .uh-in { z-index: 3; justify-content: flex-start; padding: calc(var(--hud) + 4vh) var(--gut) 200px; }
.hx-kicker { font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: rgba(242,233,218,.85); margin: 0; }
.hx-word { margin: 1vh 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(72px, 14vw, 240px); line-height: .86; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,.18) 96%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(8,10,15,.25)); }
.hx-word .ch { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; }
.hx-word.swap .ch { animation: hxCh .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * .045s); }
@keyframes hxCh { from { opacity: 0; transform: translateY(.35em); filter: blur(6px); } }
.hx-title { margin: 2.2vh 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.1; letter-spacing: .02em; }
.hx-title span { text-transform: uppercase; letter-spacing: .12em; font-size: .62em; font-family: var(--sans); font-weight: 600; vertical-align: middle; }
.hx-title i { font-style: normal; color: var(--orange); padding: 0 .3em; }
.hx-title em { font-style: italic; }
.hx-stars { margin: 14px 0 0; color: #F2E9DA; letter-spacing: .5em; font-size: 15px; }
.hx-motto { margin: 10px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.3vw, 20px); color: rgba(242,233,218,.88); max-width: 42ch; }
/* round city thumbnails */
.hx-thumbs { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
body.unlocked .hx .hx-thumbs.uh-s { transform: translateY(-50%); }
.hx-th { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.75); box-shadow: 0 10px 30px rgba(8,10,15,.35); transition: width .5s cubic-bezier(.2,.7,.2,1), height .5s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.hx-th img { width: 100%; height: 100%; object-fit: cover; }
.hx-th:hover { border-color: #fff; }
.hx-th.on { width: 92px; height: 92px; border-color: #fff; outline: 1px solid rgba(255,255,255,.6); outline-offset: 5px; }
/* rotating badge */
.hx-badge { position: absolute; left: var(--gut); bottom: 200px; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; color: #F2E9DA; }
.hx-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hxSpin 18s linear infinite; }
.hx-badge text { fill: currentColor; font: 600 9.6px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hx-play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; padding-left: 3px; transition: background .3s, transform .4s; }
.hx-badge:hover .hx-play { background: var(--orange); border-color: var(--orange); transform: scale(1.08); }
@keyframes hxSpin { to { transform: rotate(360deg); } }
/* floating package bar */
.hx-bar { position: absolute; left: 50%; bottom: 34px; width: min(1000px, calc(100% - 2 * var(--gut))); transform: translateX(-50%); text-align: left; }
body.unlocked .hx .hx-bar.uh-s { transform: translateX(-50%); }
.hx-bar.uh-s { transform: translate(-50%, 16px); }
.hx-tabs { display: flex; justify-content: center; gap: 2px; }
.hx-tabs button { padding: 9px 22px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #16130F; background: rgba(246,240,230,.7); border-radius: 14px 14px 0 0; transition: background .3s; }
.hx-tabs button[aria-selected="true"] { background: rgba(255,252,246,.94); color: var(--orange); }
.hx-pill { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 8px; padding: 10px; border-radius: 24px; background: rgba(255,252,246,.94); color: #16130F; box-shadow: 0 30px 70px rgba(8,10,15,.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hx-f { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: #F3ECE0; min-width: 0; }
.hx-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); font-size: 15px; }
.hx-fv { min-width: 0; display: grid; }
.hx-fv b { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.hx-fv small { font-size: 12px; color: rgba(22,19,15,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-go { display: inline-flex; align-items: center; gap: 14px; padding: 0 26px; border-radius: 18px; background: #16130F; color: #F6F0E6; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: background .3s, gap .3s; }
.hx-go:hover { background: var(--orange); gap: 20px; }
html:not([data-theme="light"]) .hx-tabs button { background: rgba(17,28,50,.6); color: rgba(242,233,218,.75); }
html:not([data-theme="light"]) .hx-tabs button[aria-selected="true"] { background: rgba(17,28,50,.88); color: var(--orange); }
html:not([data-theme="light"]) .hx-pill { background: rgba(17,28,50,.88); color: #F2E9DA; }
html:not([data-theme="light"]) .hx-f { background: rgba(242,233,218,.06); }
html:not([data-theme="light"]) .hx-ic { background: rgba(242,233,218,.1); }
html:not([data-theme="light"]) .hx-fv small { color: rgba(242,233,218,.62); }
html:not([data-theme="light"]) .hx-go { background: var(--orange); color: #080A0F; }
html:not([data-theme="light"]) .hx-go:hover { background: #F2E9DA; }
@media (max-width: 1100px) { .hx-pill { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-go { grid-column: 1 / -1; justify-content: center; min-height: 52px; } .hx .uh-in { padding-bottom: 280px; } .hx-badge { bottom: 290px; } }
@media (max-width: 760px) {
  .hx { height: auto; min-height: 100svh; }
  .hx .uh-in { padding: calc(var(--hud) + 24px) var(--gut) 28px; min-height: 100svh; }
  .hx-word { font-size: clamp(54px, 17vw, 110px); margin-top: 18px; }
  .hx-motto { display: none; }
  .hx-thumbs, body.unlocked .hx .hx-thumbs.uh-s { position: static; transform: none; flex-direction: row; justify-content: center; margin-top: 22px; }
  .hx-th { width: 46px; height: 46px; } .hx-th.on { width: 66px; height: 66px; }
  .hx-badge { position: absolute; left: auto; right: var(--gut); bottom: auto; top: calc(var(--hud) + 6px); width: 78px; height: 78px; }
  .hx-badge text { font-size: 10.5px; }
  .hx-play { width: 36px; height: 36px; font-size: 10px; }
  .hx-kicker { align-self: flex-start; max-width: 60%; text-align: left; }
  .hx-bar, body.unlocked .hx .hx-bar.uh-s { position: relative; left: auto; bottom: auto; transform: none; width: 100%; margin-top: auto; padding-top: 22px; }
  .hx-bar.uh-s { transform: translateY(16px); }
  .hx-f { padding: 9px 10px; gap: 9px; } .hx-ic { width: 28px; height: 28px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .hx-badge svg { animation: none; } .hx-slide img { transition: none; transform: none; } }
.hx { grid-template-columns: minmax(0, 1fr); }
.hx-night img { transform: scale(var(--open, 1.3)); }
.hx-word { font-size: min(14vw, calc(88vw / (var(--n, 9) * .64)), 240px); }
.hx-title { max-width: 100%; }
html[data-theme="light"] .hx .uh-shade { background: radial-gradient(48% 40% at 50% 40%, rgba(8,10,15,.42), transparent 78%), linear-gradient(0deg, rgba(8,10,15,.5) 0%, rgba(8,10,15,0) 40%, rgba(8,10,15,.3) 100%); }
@media (max-width: 760px) {
  .hx-word { font-size: min(18vw, calc((100vw - 32px) / (var(--n, 9) * .64))); }
  .hx-title { font-size: 22px; }
  .hx-title span { display: block; margin-bottom: 4px; }
  .hx-title i { display: none; }
  .hx-kicker { max-width: calc(100% - 96px); }
}
.hx-slide .hx-night img, .hx-slide.on .hx-night img { transform: scale(var(--open, 1.3)); }
.hx-word { font-size: min(14vw, calc(88vw / (var(--n, 9) * .74)), 240px); }
@media (max-width: 760px) { .hx-word { font-size: min(18vw, calc((100vw - 28px) / (var(--n, 9) * .8))); } }
/* big city name: plain white letters (gradient text clipping broke into white blocks in some mobile browsers) */
.hx-word { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: rgba(255,255,255,.94); -webkit-text-fill-color: currentColor; filter: none; text-shadow: 0 6px 30px rgba(8,10,15,.28); }
.hx-word .ch { background: none; -webkit-background-clip: border-box; background-clip: border-box; }
@keyframes hxCh { from { opacity: 0; transform: translateY(.35em); } }
