/* Firefly Park Resort — "Lights out"
   Colour comes from the place: the yellow-green of Pteroptyx light, the blue-black of a moonless
   river, and the yellow and red of the resort's own entrance arch for the daylight half.
   Type: Besley is a Clarendon, the same family as the slab letters on that arch.
   Atkinson Hyperlegible was drawn for low-vision reading, which suits a page read in the dark. */

:root {
  --night: #03060d;
  --deep: #07101a;
  --mist: #d3dce8;
  --mist-2: #93a1b3;
  --glow: #d6ff6b;
  --glow-hot: #f6ffc9;
  --glow-dim: #8fae4a;
  --lamp: #ffc47a;
  --paper: #f5eeda;
  --paper-2: #ebe2c8;
  --ink: #16211b;
  --ink-2: #4a584f;
  --sign-yellow: #f6c51b;
  --sign-red: #c2231d;
  --leaf: #1e5a3d;
  --f-d: 'Besley', 'Clarendon', 'Rockwell', Georgia, serif;
  --f-t: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-m: 'Atkinson Hyperlegible Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gut: clamp(20px, 6vw, 96px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--mist); font: 400 17px/1.62 var(--f-t); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
i { font-style: italic; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
.day :focus-visible { outline-color: var(--sign-red); }
::selection { background: var(--glow); color: #10180a; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--glow); color: #10180a; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

#river { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: linear-gradient(#050a14 0%, #08131d 62%, #03070c 64%, #020509 100%); }
#flashveil { position: fixed; inset: 0; background: #fffdf2; opacity: 0; pointer-events: none; z-index: 70; }
#flashveil.go { animation: flash 1.5s ease-out; }
@keyframes flash { 0% { opacity: 0; } 4% { opacity: .96; } 16% { opacity: .5; } 100% { opacity: 0; } }
#torchbeam { position: fixed; inset: 0; pointer-events: none; z-index: 4; opacity: 0; transition: opacity .35s; mix-blend-mode: screen;
  background: radial-gradient(circle 26vh at var(--tx, 50%) var(--ty, 40%), rgba(255, 240, 205, .42), rgba(255, 240, 205, .16) 46%, transparent 72%); }
#torchbeam.on { opacity: 1; }
main { position: relative; z-index: 2; }
.night, .day { overflow-x: clip; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.45em; border-radius: 999px; border: 1px solid transparent; font: 600 .98rem/1 var(--f-t); letter-spacing: .005em; text-decoration: none; white-space: nowrap; transition: box-shadow .3s, background .3s, border-color .3s, color .3s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-glow { background: var(--glow); color: #10180a; box-shadow: 0 0 0 rgba(214, 255, 107, 0); }
.btn-glow:hover { background: var(--glow-hot); box-shadow: 0 0 34px rgba(214, 255, 107, .5); }
.btn-line { border-color: rgba(211, 220, 232, .34); color: var(--mist); background: rgba(3, 6, 13, .35); }
.btn-line:hover { border-color: var(--glow); color: var(--glow-hot); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--sign-red); }
.btn-ink-line { border-color: rgba(22, 33, 27, .4); color: var(--ink); }
.btn-ink-line:hover { border-color: var(--sign-red); color: var(--sign-red); }
.btn-s { min-height: 44px; font-size: .92rem; padding: 0 1.15em; }
.btn-l { min-height: 56px; font-size: 1.05rem; padding: 0 1.8em; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 14px var(--gut); color: var(--mist); transition: color .4s; }
.nav::before { content: ''; position: absolute; inset: 0 0 -26px 0; background: linear-gradient(rgba(3, 6, 13, .82), rgba(3, 6, 13, 0)); pointer-events: none; z-index: -1; transition: opacity .4s; }
.brand { display: grid; text-decoration: none; line-height: 1.12; margin-right: auto; }
.brand-name { font: 600 1.16rem/1.1 var(--f-d); letter-spacing: .01em; color: #f3f6e4; transition: color .4s; }
.brand-place { font-size: .76rem; color: var(--mist-2); letter-spacing: .01em; transition: color .4s; }
.nav-links { display: flex; gap: 26px; font-size: .95rem; }
.nav-links a { text-decoration: none; padding: 12px 0; opacity: .86; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--glow-hot); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.sound { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(211, 220, 232, .24); background: transparent; font-size: .88rem; color: inherit; transition: border-color .3s, color .3s; }
.sound:hover { border-color: var(--glow); }
.sound-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 3px; height: 4px; background: currentColor; border-radius: 1px; opacity: .7; }
.sound[aria-pressed="true"] { color: var(--glow); border-color: rgba(214, 255, 107, .5); }
.sound[aria-pressed="true"] .sound-bars i { animation: bars 1.1s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: .25s; }
.sound[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: .5s; }
@keyframes bars { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(211, 220, 232, .28); border-radius: 50%; background: transparent; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }
.nav.on-day { color: var(--ink); }
.nav.on-day::before { background: linear-gradient(rgba(245, 238, 218, .94), rgba(245, 238, 218, 0)); }
.nav.on-day .brand-name { color: var(--sign-red); }
.nav.on-day .brand-place { color: var(--ink-2); }
.nav.on-day .nav-links a:hover { color: var(--sign-red); }
.nav.on-day .sound, .nav.on-day .burger { border-color: rgba(22, 33, 27, .3); }
.nav.on-day .btn-glow { background: var(--ink); color: var(--paper); }

/* ---------- the night line: scroll is time ---------- */
.nightline { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 30; display: grid; justify-items: center; gap: 6px; color: var(--mist); transition: color .4s; }
.nl-time { font: 500 .95rem/1 var(--f-m); letter-spacing: .02em; color: var(--glow-hot); transition: color .4s; }
.nl-what { font-size: .7rem; line-height: 1.2; color: var(--mist-2); max-width: 7em; text-align: center; transition: color .4s; }
.nl-track { position: relative; width: 1px; height: 30vh; margin-top: 8px; background: linear-gradient(rgba(211, 220, 232, .05), rgba(211, 220, 232, .4), rgba(211, 220, 232, .05)); }
.nl-dot { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 14px 2px rgba(214, 255, 107, .7); }
.nightline.on-day .nl-time { color: var(--sign-red); }
.nightline.on-day .nl-what { color: var(--ink-2); }
.nightline.on-day .nl-track { background: linear-gradient(rgba(22, 33, 27, .05), rgba(22, 33, 27, .4), rgba(22, 33, 27, .05)); }
.nightline.on-day .nl-dot { background: var(--sign-yellow); box-shadow: 0 0 0 3px rgba(246, 197, 27, .3); }

/* ---------- shared pieces ---------- */
section { position: relative; padding: clamp(84px, 15vh, 170px) var(--gut); }
:where(.night section > *) { position: relative; }
.when { display: flex; align-items: baseline; gap: .7em; margin-bottom: 1.1rem; font: italic 400 1.02rem/1.2 var(--f-d); color: var(--glow-dim); }
.when time { font: 500 .92rem/1 var(--f-m); font-style: normal; color: var(--glow); letter-spacing: .02em; padding: .42em .6em; border: 1px solid rgba(214, 255, 107, .32); border-radius: 6px; }
.when-day { color: var(--ink-2); }
.when-day time { color: var(--sign-red); border-color: rgba(194, 35, 29, .4); }
h2 { font: 500 clamp(2.05rem, 4.5vw, 3.85rem)/1.05 var(--f-d); letter-spacing: -.012em; color: #f3f6e4; text-wrap: balance; }
.day h2 { color: var(--ink); }
h2 + p, .when + h2 + p { margin-top: 1.5rem; }
p + p { margin-top: 1em; }
.fine { font-size: .84rem; line-height: 1.5; color: var(--mist-2); }
.day .fine { color: var(--ink-2); }
/* darkness behind running text, so it reads over the trees without sitting in a box */
.veil::before, .fares::before, .rideline::after, .ride-text::before, .sync-text::before, .stay-text::before, .fc-head::before, .board-head::before, .code-head::before {
  content: ''; position: absolute; inset: -9% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 42% 50%, rgba(3, 6, 13, .86), rgba(3, 6, 13, .62) 52%, rgba(3, 6, 13, 0) 76%); }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .rv.on { opacity: 1; transform: none; }

/* ---------- 1. hero ---------- */
.hero { --dusk: 0; --sil: #0a1310; min-height: 100svh; display: grid; align-content: end; padding-top: 120px; padding-bottom: clamp(62px, 9vh, 92px); }
.gate { font: 500 .88rem/1.4 var(--f-d); letter-spacing: .06em; color: color-mix(in oklab, #4d140f calc(var(--dusk) * 100%), var(--sign-yellow)); margin-bottom: clamp(10px, 2vh, 22px); }
.gate span[lang] { letter-spacing: .12em; }
.gate > span:not([lang]) { opacity: .5; margin: 0 .35em; }
.lightsout { font: 500 clamp(4.1rem, 14.2vw, 13.4rem)/.86 var(--f-d); letter-spacing: -.03em; margin-left: -.045em; margin-bottom: .1em; color: #7c8870; white-space: nowrap; }
.lightsout span { display: inline-block; color: color-mix(in oklab, var(--glow-hot) calc(var(--b, 0) * 100%), color-mix(in oklab, var(--sil) calc(var(--dusk) * 100%), #77836c)); text-shadow: 0 0 calc(var(--b, 0) * 46px) rgba(214, 255, 107, calc(var(--b, 0) * .6)), 0 0 calc(var(--b, 0) * 110px) rgba(214, 255, 107, calc(var(--b, 0) * .28)); }
.lightsout .sp { width: .24em; }
.hero-lede { max-width: 35.5em; margin-top: clamp(16px, 3.2vh, 34px); font-size: clamp(1.06rem, 1.42vw, 1.3rem); line-height: 1.5; color: #eef2f6; text-shadow: 0 1px 2px rgba(3, 6, 13, .55), 0 0 22px rgba(3, 6, 13, .8), 0 0 46px rgba(3, 6, 13, calc(.3 + var(--dusk) * .5)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3.4vh, 34px); }
.hero .btn-line { background: rgba(3, 6, 13, calc(.35 + var(--dusk) * .4)); }
.tonight { display: grid; grid-template-columns: auto auto auto 1fr; gap: 0; margin-top: clamp(26px, 6.2vh, 70px); max-width: 880px; border-top: 1px solid rgba(211, 220, 232, .2); }
.tonight > div { padding: 14px 26px 0 0; margin-right: 26px; border-right: 1px solid rgba(211, 220, 232, .13); }
.tonight > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.tonight dt { font-size: .76rem; color: color-mix(in oklab, #fbe6cf calc(var(--dusk) * 100%), var(--mist-2)); }
.tonight dd { font: 500 1.06rem/1.3 var(--f-m); color: #f3f6e4; margin-top: 3px; }
.tonight .tn-wide dd { font: 400 1rem/1.4 var(--f-t); }
.instep { position: absolute; right: calc(var(--gut) + 46px); top: 19vh; display: flex; align-items: center; gap: 14px; max-width: 17.5em; }
.instep-ring { width: 54px; flex: none; }
.instep-ring svg { display: block; transform: rotate(-90deg); }
.instep-ring circle { fill: none; stroke: rgba(211, 220, 232, .16); stroke-width: 2.5; }
.instep-ring .instep-arc { stroke: var(--glow); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; filter: drop-shadow(0 0 5px rgba(214, 255, 107, .7)); }
.instep { opacity: calc(1 - var(--dusk)); }
.instep p { font-size: .86rem; line-height: 1.35; color: var(--mist-2); }
.instep strong { display: block; font: 500 1.02rem/1.2 var(--f-m); color: var(--glow-hot); }

/* ---------- 2. the ride ---------- */
.ride { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px) clamp(32px, 6vw, 96px); align-items: start; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.ride-text p { max-width: 33em; }
.theirwords { margin-top: 2.6rem; padding-left: 1.5rem; border-left: 2px solid var(--glow-dim); max-width: 31em; }
.theirwords blockquote { font: italic 400 clamp(1.5rem, 2.6vw, 2.15rem)/1.18 var(--f-d); color: var(--glow-hot); text-wrap: balance; }
.theirwords figcaption { margin-top: .9rem; font-size: .86rem; color: var(--mist-2); }
.rideline { position: relative; margin-top: 3.4rem; padding-left: 0; }
.rideline::before { content: ''; position: absolute; left: 91px; top: 12px; bottom: 30px; width: 1px; background: linear-gradient(var(--lamp), rgba(214, 255, 107, .75) 34%, rgba(214, 255, 107, .75) 70%, rgba(214, 255, 107, .12)); }
.rideline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 56px; padding-bottom: 2.3rem; }
.rideline li::before { content: ''; position: absolute; left: 86px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--deep); border: 2px solid var(--glow-dim); }
.rideline li:first-child::before { border-color: var(--lamp); }
.rideline .peak::before { background: var(--glow); border-color: var(--glow); box-shadow: 0 0 calc(6px + var(--b, 0) * 26px) calc(var(--b, 0) * 7px) rgba(214, 255, 107, .8); }
.rideline time { font: 500 1.02rem/1.5 var(--f-m); color: #f3f6e4; text-align: right; }
.rideline strong { display: block; font: 500 1.3rem/1.25 var(--f-d); color: #f3f6e4; }
.rideline span { display: block; margin-top: .3rem; font-size: .96rem; color: #b9c4d2; max-width: 26em; }
.rideline, .fares { text-shadow: 0 1px 14px rgba(3, 6, 13, .95); }
.fares { grid-column: 1; max-width: 430px; }
.fares h3 { font: 500 1.2rem/1.2 var(--f-d); color: #f3f6e4; margin-bottom: .6rem; }
.fares th { text-align: left; font-weight: 400; color: #c2ccd9; padding: .62em 0; border-bottom: 1px dashed rgba(211, 220, 232, .2); }
.fares td { text-align: right; font: 500 1.02rem/1 var(--f-m); color: var(--glow-hot); padding: .62em 0; border-bottom: 1px dashed rgba(211, 220, 232, .2); }
.fares .fine { margin-top: .9rem; }

/* ---------- 3. the switch plate ---------- */
.code { display: grid; justify-items: center; text-align: center; min-height: 104vh; align-content: center; }
.code-head { max-width: 41em; }
.code-head .when { justify-content: center; }
.code-head p:last-child { margin-inline: auto; max-width: 35em; }
.panel { margin-top: clamp(34px, 6vh, 64px); width: min(100%, 980px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: left;
  background: linear-gradient(160deg, #18222d, #0b121a 46%, #0d151e); border: 1px solid rgba(211, 220, 232, .14); border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -2px 0 rgba(0, 0, 0, .5); position: relative; }
.panel::before, .panel::after { content: ''; position: absolute; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #56616e, #1b232c 70%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); }
.panel::before { left: 12px; } .panel::after { right: 12px; }
.sw { display: grid; align-content: start; gap: 20px; padding: 44px 24px 26px; background: transparent; border: 0; border-right: 1px solid rgba(0, 0, 0, .5); box-shadow: 1px 0 0 rgba(255, 255, 255, .05); text-align: left; min-height: 238px; }
.sw:nth-of-type(4) { border-right: 0; box-shadow: none; }
.sw-track { position: relative; width: 78px; height: 40px; border-radius: 22px; background: #04080d; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .1); transition: background .3s; }
.sw-knob { position: absolute; left: 4px; top: 4px; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d6dbe2, #7f8995 65%, #5d6772); box-shadow: 0 3px 8px rgba(0, 0, 0, .7); transition: transform .28s cubic-bezier(.3, 1.5, .5, 1), background .3s; }
.sw-track::after { content: 'off'; position: absolute; right: 11px; top: 11px; font: 500 .7rem/1.6 var(--f-m); color: #5d6976; transition: opacity .2s; }
.sw[aria-checked="true"] .sw-track { background: #3d1210; }
.sw[aria-checked="true"] .sw-knob { transform: translateX(38px); background: radial-gradient(circle at 35% 30%, #ffd9c9, #e2533f 65%, #a82a1c); }
.sw[aria-checked="true"] .sw-track::after { opacity: 0; }
.sw-text strong { display: block; font: 500 1.18rem/1.2 var(--f-d); color: #f3f6e4; }
.sw-text em { display: block; margin-top: .5rem; font-style: normal; font-size: .9rem; line-height: 1.45; color: #a5b1c1; }
.sw:hover .sw-knob { filter: brightness(1.15); }
.panel-read { grid-column: 1 / -1; margin: 0; padding: 15px 24px; border-top: 1px solid rgba(0, 0, 0, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); background: rgba(2, 5, 9, .6); border-radius: 0 0 10px 10px; font: 400 .92rem/1.4 var(--f-m); color: #9eb46a; }
.panel-read b { font-weight: 600; color: var(--glow); text-shadow: 0 0 12px rgba(214, 255, 107, .6); }
.panel-read span { margin-left: 1.2em; color: #c3cdb0; }

/* ---------- 4. sync ---------- */
.sync { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.sync-text p { max-width: 31em; }
.knew { margin-top: 2rem; display: grid; gap: .8rem; max-width: 33em; }
.knew li { position: relative; padding-left: 1.5rem; font-size: .95rem; line-height: 1.5; color: #b9c4d2; }
.knew li::before { content: ''; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px rgba(214, 255, 107, .8); }
.lab { background: rgba(4, 8, 14, .78); border: 1px solid rgba(211, 220, 232, .13); border-radius: 18px; overflow: hidden; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#lab-canvas { display: block; width: 100%; height: auto; aspect-ratio: 720 / 520; }
.lab-controls { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: end; padding: 18px 22px 20px; border-top: 1px solid rgba(211, 220, 232, .1); }
.lab-slider { display: grid; gap: 10px; font-size: .88rem; color: var(--mist-2); }
.lab-slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
.lab-slider input::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(211, 220, 232, .25), var(--glow)); }
.lab-slider input::-moz-range-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(211, 220, 232, .25), var(--glow)); }
.lab-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 16px rgba(214, 255, 107, .7); border: 0; }
.lab-slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 16px rgba(214, 255, 107, .7); border: 0; }
.lab-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.lab-read { grid-column: 1 / -1; font: 400 .9rem/1.4 var(--f-m); color: #c3cdb0; min-height: 1.4em; }

/* ---------- 5. forecast ---------- */
.forecast { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.fc-head { max-width: 44em; }
.fc-head p:last-child { max-width: 38em; }
.fc-strip-wrap { margin-top: clamp(30px, 5vh, 54px); }
.fc-strip { display: flex; gap: 2px; overflow-x: auto; padding: 22px 4px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(214, 255, 107, .4) transparent;
  background: linear-gradient(rgba(4, 8, 14, .72), rgba(4, 8, 14, .5)); border: 1px solid rgba(211, 220, 232, .12); border-radius: 16px; }
.nt { flex: 1 1 0; min-width: 31px; display: grid; justify-items: center; gap: 7px; padding: 8px 0 10px; border: 0; background: transparent; border-radius: 10px; position: relative; scroll-snap-align: start; color: var(--mist-2); transition: background .2s; }
.nt:hover { background: rgba(211, 220, 232, .07); }
.nt[aria-selected="true"] { background: rgba(214, 255, 107, .1); box-shadow: inset 0 0 0 1px rgba(214, 255, 107, .5); }
.nt-dow { font-size: .7rem; line-height: 1; }
.nt-we .nt-dow { color: var(--lamp); }
.nt-lamp { width: 26px; height: 46px; display: grid; place-items: center; }
.nt-lamp i { display: block; border-radius: 50%; background: var(--glow); width: calc(4px + var(--s) * 13px); height: calc(4px + var(--s) * 13px); opacity: calc(.22 + var(--s) * .78);
  box-shadow: 0 0 calc(var(--s) * 18px) calc(var(--s) * 4px) rgba(214, 255, 107, calc(var(--s) * .75)); }
.nt-day { font: 500 .9rem/1 var(--f-m); color: #e9eef3; }
.nt-mon { position: absolute; top: -17px; left: 3px; font-size: .68rem; color: var(--glow-dim); white-space: nowrap; }
.nt-rain { width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.nt-rain.wet { background: #6bb6ff; box-shadow: 0 0 6px rgba(107, 182, 255, .8); }
.fc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: .8rem; color: var(--mist-2); }
.lg { display: inline-block; border-radius: 50%; background: var(--glow); margin-left: 10px; }
.lg0 { width: 14px; height: 14px; box-shadow: 0 0 12px rgba(214, 255, 107, .8); margin-left: 0; }
.lg1 { width: 11px; height: 11px; opacity: .8; } .lg2 { width: 8px; height: 8px; opacity: .55; } .lg3 { width: 5px; height: 5px; opacity: .3; }
.lg-rain { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6bb6ff; margin-left: 14px; }
.fc-night { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 54px); align-items: center; padding: clamp(22px, 3.4vw, 42px); background: rgba(4, 8, 14, .78); border: 1px solid rgba(211, 220, 232, .13); border-radius: 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fc-moon { width: clamp(96px, 13vw, 168px); }
.fc-moon svg, .pass-moon svg { display: block; width: 100%; height: auto; }
.fc-date { font: 500 .95rem/1.3 var(--f-m); color: var(--mist-2); }
.fc-grade { font: 500 clamp(2rem, 4vw, 3.2rem)/1.05 var(--f-d); color: var(--glow-hot); margin-top: .2rem; }
.fc-grade[data-g="2"] { color: #dfe6c9; } .fc-grade[data-g="3"] { color: #aeb7c4; }
.fc-why { margin-top: .7rem; max-width: 40em; color: #d6dee8; }
.fc-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 34px; margin: 1.3rem 0 1.5rem; }
.fc-facts dt { font-size: .76rem; color: var(--mist-2); }
.fc-facts dd { font: 500 .98rem/1.35 var(--f-m); color: #f3f6e4; margin-top: 2px; }
.fc-fine { margin-top: 16px; max-width: 56em; text-shadow: 0 1px 12px rgba(3, 6, 13, .95); }

/* ---------- 6. the pass ---------- */
.board { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 34px clamp(32px, 6vw, 90px); align-items: start; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.board-head { grid-column: 1 / -1; max-width: 40em; }
.bform { display: grid; gap: 20px; padding: 26px; background: rgba(4, 8, 14, .78); border: 1px solid rgba(211, 220, 232, .13); border-radius: 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fld { display: grid; gap: 8px; font-size: .88rem; color: var(--mist-2); }
.fld small { font-size: .8rem; opacity: .8; }
.fld input[type="date"], .fld input[type="text"] { width: 100%; min-height: 50px; padding: 0 14px; background: rgba(211, 220, 232, .06); border: 1px solid rgba(211, 220, 232, .2); border-radius: 10px; color: #f3f6e4; font: 400 1rem var(--f-t); color-scheme: dark; }
.fld input::placeholder { color: #6c7a8b; }
.fld input:focus { border-color: var(--glow); outline: none; box-shadow: 0 0 0 3px rgba(214, 255, 107, .16); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 50px; border: 1px solid rgba(211, 220, 232, .2); border-radius: 10px; background: rgba(211, 220, 232, .06); }
.stepper button { height: 48px; background: transparent; border: 0; font-size: 1.3rem; color: var(--glow); }
.stepper button:hover { color: var(--glow-hot); }
.stepper output { text-align: center; font: 500 1.1rem var(--f-m); color: #f3f6e4; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { padding: 0; margin-bottom: 8px; font-size: .88rem; color: var(--mist-2); }
.seg label { position: relative; flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 0 14px; border: 1px solid rgba(211, 220, 232, .2); border-radius: 10px; font-size: .94rem; color: #c9d2de; transition: all .2s; white-space: nowrap; }
.seg input:checked + span { background: rgba(214, 255, 107, .14); border-color: var(--glow); color: var(--glow-hot); }
.seg input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }

.pass { display: grid; grid-template-columns: 1fr 172px; color: var(--ink); transform: rotate(-1.1deg); filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .65)) drop-shadow(0 0 50px rgba(255, 196, 122, .12)); }
.pass-main { background: var(--paper); padding: 26px 28px 22px; border-radius: 14px 0 0 14px; position: relative;
  -webkit-mask: radial-gradient(circle 11px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat;
  mask: radial-gradient(circle 11px at 100% 0, transparent 98%, #000) top right / 100% 51% no-repeat, radial-gradient(circle 11px at 100% 100%, transparent 98%, #000) bottom right / 100% 51% no-repeat; }
.pass-brand { font: 700 1.5rem/1.1 var(--f-d); color: var(--sign-red); letter-spacing: .01em; }
.pass-kind { font-size: .8rem; color: var(--ink-2); margin-top: 3px; }
.pass dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--ink); }
.pass .p-wide { grid-column: 1 / -1; }
.pass dt { font-size: .72rem; color: var(--ink-2); }
.pass dd { font: 600 1.02rem/1.3 var(--f-m); color: var(--ink); margin-top: 2px; }
.pass .p-wide dd { font: 600 1.42rem/1.2 var(--f-d); }
.pass-est { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(22, 33, 27, .4); font-size: .82rem; color: var(--ink-2); }
.pass-est b { font: 700 1.36rem/1 var(--f-m); color: var(--ink); }
.pass-estnote { font-size: .76rem; line-height: 1.4; color: var(--ink-2); margin-top: 6px; min-height: 2.8em; }
.pass-stub { background: #0c1826; color: var(--mist); border-radius: 0 14px 14px 0; border-left: 2px dashed rgba(245, 238, 218, .45); padding: 24px 18px; display: grid; justify-items: center; align-content: center; gap: 12px; text-align: center;
  -webkit-mask: radial-gradient(circle 11px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat;
  mask: radial-gradient(circle 11px at 0 0, transparent 98%, #000) top left / 100% 51% no-repeat, radial-gradient(circle 11px at 0 100%, transparent 98%, #000) bottom left / 100% 51% no-repeat; }
.pass-moon { width: 74px; }
.pass-grade { font: 500 1.24rem/1.1 var(--f-d); color: var(--glow-hot); }
.pass-rule { font: 400 .78rem/1.5 var(--f-m); color: var(--mist-2); }
.board-go { grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- 7. stay ---------- */
.stay { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.stay-text { position: sticky; top: 110px; }
.stay h2 { font-size: clamp(1.9rem, 3.7vw, 3.1rem); }
.spec { margin: 1.8rem 0 .9rem; }
.spec th { text-align: left; font-weight: 400; color: var(--mist-2); padding: .7em 1em .7em 0; border-bottom: 1px solid rgba(211, 220, 232, .16); width: 8.5em; vertical-align: top; font-size: .92rem; }
.spec td { color: #f3f6e4; padding: .7em 0; border-bottom: 1px solid rgba(211, 220, 232, .16); }
.windows { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.win { position: relative; background: #1a110a; padding: 7px; border-radius: 4px; box-shadow: 0 0 70px rgba(255, 190, 110, .22), 0 0 0 1px rgba(255, 196, 122, .35), 0 24px 50px rgba(0, 0, 0, .6); }
.win img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.win figcaption { position: absolute; left: 7px; right: 7px; bottom: 7px; padding: 26px 14px 10px; font: italic 400 .95rem/1.2 var(--f-d); color: #fff5e2; background: linear-gradient(transparent, rgba(10, 6, 2, .82)); }
.win-a { aspect-ratio: 3 / 4; }
.win-b { aspect-ratio: 3 / 4.6; margin-top: 76px; }
.win-c { aspect-ratio: 1 / .92; margin-top: -50px; }
.win-d { aspect-ratio: 1 / .96; }

/* ---------- 8. dawn ---------- */
.dawn { height: 230vh; padding: 0; }
.dawn-key { position: absolute; left: 0; width: 1px; height: 1px; }
.dawn { --dawn: 0; }
.dawn-say { position: sticky; top: 0; height: 100vh; display: grid; align-content: start; justify-items: center; padding-top: 15vh; text-align: center; pointer-events: none; }
.dawn-time { font: 400 clamp(5rem, 19vw, 17rem)/.9 var(--f-d); letter-spacing: -.03em; color: #fff7e4; text-shadow: 0 2px 60px rgba(8, 16, 34, .5); opacity: calc(.2 + var(--dawn) * .8); font-variant-numeric: tabular-nums; }
.dawn-line { margin-top: 1.4rem; font: italic 400 clamp(1.25rem, 2.5vw, 2.1rem)/1.2 var(--f-d); color: #fff7e4; text-shadow: 0 1px 30px rgba(8, 16, 34, .7); opacity: var(--dawn); transform: translateY(calc((1 - var(--dawn)) * 14px)); }
.dawn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46vh; background: linear-gradient(rgba(245, 238, 218, 0), var(--paper) 88%); pointer-events: none; }

/* ---------- day ---------- */
.day { position: relative; z-index: 3; background-color: var(--paper); color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .13 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.day section { padding-top: clamp(70px, 11vh, 130px); padding-bottom: clamp(70px, 11vh, 130px); }
.morning { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-top: clamp(30px, 6vh, 70px) !important; }
.morning-text { grid-column: 1 / span 5; padding-top: 5vh; }
.morning-text p { max-width: 30em; }
.pool { position: relative; }
.pool img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.pool-a { grid-column: 7 / span 4; aspect-ratio: 3 / 4; box-shadow: 14px 14px 0 var(--sign-yellow); }
.pool-b { grid-column: 11 / span 2; aspect-ratio: 5 / 7; margin-top: 44%; margin-left: -70%; box-shadow: 0 20px 44px rgba(22, 33, 27, .3); border: 6px solid var(--paper); }
.pool-b figcaption { position: absolute; top: calc(100% + 16px); left: 0; right: -30%; font: italic 400 .92rem/1.3 var(--f-d); color: var(--ink-2); }

.oneday { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.oneday-head { position: sticky; top: 110px; }
.oneday-head p { max-width: 24em; color: var(--ink-2); }
.plan { position: relative; padding-left: 42px; }
/* the sky across those twenty-one hours, as one bar */
.plan::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 12px; border-radius: 6px;
  background: linear-gradient(#79b4e0 0%, #9fc6e4 16%, #f4c98a 34%, #e8763a 46%, #1b2a4a 52%, #050a14 60%, #050a14 70%, #ef9a63 80%, #f6d59c 86%, #8fc0e6 100%); }
.plan li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 4px 26px; padding: 0 0 2.1rem; }
.plan li::before { content: ''; position: absolute; left: -39px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.plan time { grid-row: span 2; font: 500 1.5rem/1.2 var(--f-m); color: var(--ink); letter-spacing: -.01em; }
.plan h3 { font: 600 1.4rem/1.2 var(--f-d); color: var(--ink); }
.plan p { color: var(--ink-2); max-width: 31em; margin: 0; }
.plan-sun time { color: #c9631f; }
.plan-dark time { color: var(--leaf); }
.plan-dark::before { background: var(--glow) !important; box-shadow: 0 0 10px 3px rgba(214, 255, 107, .9); }

.faq { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
.faq-list { margin-top: 2.4rem; columns: 2; column-gap: clamp(30px, 5vw, 80px); }
.faq details { break-inside: avoid; border-top: 2px solid var(--ink); padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 1.05rem 0; font: 500 1.2rem/1.3 var(--f-d); color: var(--ink); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.5rem/1 var(--f-m); color: var(--sign-red); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.4rem 1.3rem 0; color: var(--ink-2); }

.find { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-bottom: clamp(60px, 9vh, 110px) !important; }
/* the entrance arch, in type */
.arch { height: clamp(112px, 15vw, 190px); background: var(--sign-yellow); border-radius: 50% 50% 0 0 / 100% 100% 0 0; display: grid; align-content: end; justify-items: center; gap: .15em; padding-bottom: clamp(14px, 2vw, 26px); color: var(--sign-red); box-shadow: inset 0 -6px 0 rgba(22, 33, 27, .12); }
.arch span { font: 800 clamp(.95rem, 2.5vw, 2.05rem)/1.1 var(--f-d); letter-spacing: .07em; text-transform: uppercase; }
.arch span[lang] { font-size: clamp(.82rem, 1.9vw, 1.5rem); letter-spacing: .2em; font-weight: 700; }
.find-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(30px, 5vh, 60px); }
.find-photo img { width: 100%; border-radius: 3px; box-shadow: -14px 14px 0 var(--sign-red); }
.find-photo figcaption { margin-top: 28px; font: italic 400 .95rem/1.4 var(--f-d); color: var(--ink-2); max-width: 26em; }
address { font-style: normal; margin-top: 1.4rem; font-size: 1.1rem; line-height: 1.5; }
.hours { margin-top: 1.5rem; display: grid; gap: 0; }
.hours > div { display: grid; grid-template-columns: 11.5em 1fr; gap: 12px; padding: .72em 0; border-top: 1px solid rgba(22, 33, 27, .2); }
.hours dt { color: var(--ink-2); font-size: .94rem; }
.hours dd { font-weight: 600; }
.hours a { color: var(--sign-red); }
.find-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }

.foot { background: #101a15; color: #d9d6c4; padding: 54px var(--gut) 90px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; max-width: var(--max); margin: 0 auto; padding-bottom: 26px; border-bottom: 1px solid rgba(217, 214, 196, .2); }
.foot-brand { font: 600 1.5rem/1.1 var(--f-d); color: var(--sign-yellow); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: .95rem; }
.foot-nav a { text-decoration: none; padding: 8px 0; }
.foot-nav a:hover { color: var(--sign-yellow); }
.foot-fine { max-width: var(--max); margin: 22px auto 0; font-size: .82rem; line-height: 1.55; color: #98a093; }

.vijaya { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 5px 16px; background: rgba(6, 11, 18, .94); color: #cfd8e3; border-top: 1px solid rgba(214, 255, 107, .28); font-size: .78rem; line-height: 1.35; }
.vijaya strong { color: var(--glow); }
.vijaya button { flex: none; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(211, 220, 232, .3); background: transparent; color: #f3f6e4; font-size: .78rem; }
.vijaya button:hover { border-color: var(--glow); }
.vijaya[hidden] { display: none; }

/* ---------- contact page ---------- */
.cpage { background: var(--paper); }
.chead { position: relative; background: linear-gradient(#060b16 0%, #0a1826 70%, #123040 100%); color: var(--mist); padding: 150px max(var(--gut), calc((100% - var(--max)) / 2)) 70px; overflow: hidden; }
.chead::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(214, 255, 107, .9) 0 1.4px, transparent 2.2px), radial-gradient(circle, rgba(214, 255, 107, .7) 0 1px, transparent 2px), radial-gradient(circle, rgba(255, 255, 255, .6) 0 .8px, transparent 1.6px); background-size: 190px 150px, 130px 170px, 90px 80px; background-position: 30px 40px, 80px 10px, 10px 20px; opacity: .55; animation: twinkle 2.2s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .22; } to { opacity: .6; } }
.chead > * { position: relative; }
.chead h1 { font: 500 clamp(2.6rem, 7vw, 5.6rem)/1 var(--f-d); letter-spacing: -.02em; color: #f3f6e4; }
.chead p { margin-top: 1.2rem; max-width: 36em; font-size: 1.12rem; color: #dbe3ec; }
.chead .chead-tonight { margin-top: 1.6rem; font: 500 .95rem/1.5 var(--f-m); color: var(--glow); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.ccard { padding: 40px 34px 40px 0; border-bottom: 2px solid var(--ink); }
.ccard + .ccard { padding-left: 34px; border-left: 1px solid rgba(22, 33, 27, .2); }
.ccard h2 { font-size: 1.5rem; }
.ccard p, .ccard address { margin-top: .8rem; font-size: 1rem; color: var(--ink-2); }
.ccard .big { display: block; margin-top: .6rem; font: 600 1.7rem/1.2 var(--f-m); color: var(--sign-red); text-decoration: none; letter-spacing: -.01em; }
.ccard .btn { margin-top: 1.2rem; }
.cpage .cgrid { padding-top: 22px; padding-bottom: 0; }
.cpage .casks { padding-top: 64px; padding-bottom: 6px; }
.cpage .cmap { padding-top: 54px; padding-bottom: 90px; }
.casks { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 70px var(--gut) 20px; }
.casks h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.casks > p { margin-top: .8rem; color: var(--ink-2); max-width: 36em; }
.ask-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.ask-list a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: #fff8e3; border: 1px solid rgba(22, 33, 27, .25); text-decoration: none; font-weight: 600; font-size: .96rem; transition: all .2s; }
.ask-list a:hover { background: var(--sign-yellow); border-color: var(--ink); }
.cmap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 60px var(--gut) 90px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(26px, 4vw, 60px); align-items: start; }
.cmap iframe { width: 100%; height: 480px; border: 0; border-radius: 4px; filter: grayscale(.85) contrast(1.05); transition: filter .5s; box-shadow: 14px 14px 0 var(--sign-yellow); }
.cmap iframe:hover { filter: none; }
.route h2 { font-size: 1.6rem; }
.route ol { margin-top: 1.2rem; counter-reset: r; display: grid; gap: 1.1rem; }
.route li { counter-increment: r; position: relative; padding-left: 2.6rem; color: var(--ink-2); }
.route li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 .86rem var(--f-m); }
.route li strong { color: var(--ink); }
.route .coords { margin-top: 1.5rem; font: 500 .95rem/1.5 var(--f-m); color: var(--ink); padding: 14px 16px; background: #fff8e3; border-left: 4px solid var(--sign-red); }

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; font-size: .9rem; }
  .sound-label { display: none; }
  .sound { padding: 0 13px; }
  .instep { top: 15vh; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .burger { display: block; }
  .veil::before, .fares::before, .rideline::after, .ride-text::before, .sync-text::before, .stay-text::before, .fc-head::before, .board-head::before, .code-head::before { inset: -8% -5%; }
  .nav { gap: 10px; }
  .nav-links { position: fixed; inset: 0; z-index: -2; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 90px var(--gut) 40px; background: rgba(3, 6, 13, .97); font: 500 1.7rem/1.2 var(--f-d); color: #f3f6e4; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-links a { padding: 12px 0; opacity: 1; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open { color: var(--mist); }
  .nav.open .brand-name { color: #f3f6e4; }
  .nav.open .burger { border-color: rgba(211, 220, 232, .28); }
  .nav-book { display: none; }
  .brand-place { display: none; }
  .nightline { right: 12px; top: 72px; transform: none; grid-auto-flow: column; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(3, 6, 13, .7); border: 1px solid rgba(211, 220, 232, .16); }
  .nightline.on-day { background: rgba(245, 238, 218, .9); border-color: rgba(22, 33, 27, .2); }
  .nl-track { display: none; }
  .nl-what { max-width: none; font-size: .72rem; }
  .hero { padding-top: 130px; }
  .instep { position: relative; right: auto; top: auto; margin-top: 22px; max-width: none; }
  .tonight { grid-template-columns: 1fr 1fr 1fr; }
  .tonight > div { padding-right: 12px; margin-right: 12px; }
  .tonight > div:nth-child(3) { border-right: 0; margin-right: 0; }
  .tonight .tn-wide { grid-column: 1 / -1; border-right: 0; border-top: 1px solid rgba(211, 220, 232, .13); margin-top: 12px; padding-top: 12px; }
  .ride, .sync, .board, .stay, .oneday, .find-grid, .cmap { grid-template-columns: minmax(0, 1fr); }
  .fares { grid-column: auto; }
  .rideline { margin-top: 0; }
  .panel { grid-template-columns: 1fr 1fr; }
  .sw { min-height: 0; padding: 34px 20px 22px; border-bottom: 1px solid rgba(0, 0, 0, .5); }
  .sw:nth-of-type(2n) { border-right: 0; box-shadow: none; }
  .fc-night { grid-template-columns: 1fr; }
  .fc-moon { width: 96px; }
  .fc-facts { grid-template-columns: 1fr 1fr; }
  .board-go { grid-column: auto; }
  .stay-text, .oneday-head { position: static; }
  .morning { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .morning-text { grid-column: 1 / -1; padding-top: 0; }
  .pool-a { grid-column: 1 / span 4; }
  .pool-b { grid-column: 4 / span 3; margin-top: -40%; margin-left: 0; }
  .pool-b figcaption { right: 0; }
  .faq-list { columns: 1; }
  .cgrid { grid-template-columns: 1fr; }
  .ccard, .ccard + .ccard { padding: 30px 0; border-left: 0; }
  .cmap iframe { height: 380px; }
  .foot { padding-bottom: 130px; }
}
@media (max-width: 560px) {
  .lightsout { font-size: 17.5vw; }
  .hero-actions .btn { flex: 1 1 100%; }
  .panel { grid-template-columns: 1fr; }
  .sw { grid-template-columns: auto 1fr; align-items: start; gap: 16px; border-right: 0; box-shadow: none; padding: 24px 18px; }
  .panel-read span { display: block; margin-left: 0; margin-top: 4px; }
  .lab-controls { grid-template-columns: 1fr; }
  .pass { grid-template-columns: 1fr; transform: none; }
  .pass-main { border-radius: 14px 14px 0 0; -webkit-mask: none; mask: none; }
  .pass-stub { border-radius: 0 0 14px 14px; border-left: 0; border-top: 2px dashed rgba(245, 238, 218, .45); grid-template-columns: auto 1fr; justify-items: start; text-align: left; -webkit-mask: none; mask: none; }
  .pass-rule { grid-column: 1 / -1; }
  .pass-rule br { display: none; }
  .board-go .btn { flex: 1 1 100%; }
  .windows { gap: 16px; }
  .win-b { margin-top: 40px; } .win-c { margin-top: -26px; }
  .rideline li { grid-template-columns: 54px 1fr; gap: 44px; }
  .rideline::before { left: 75px; } .rideline li::before { left: 70px; }
  .plan li { grid-template-columns: 1fr; }
  .plan time { grid-row: auto; }
  .hours > div { grid-template-columns: 1fr; gap: 2px; }
  .vijaya { padding: 6px 10px 6px 14px; gap: 10px; font-size: .72rem; line-height: 1.32; justify-content: space-between; }
  .vijaya button { min-height: 44px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  #flashveil.go { animation-duration: .01s; }
  .chead::before, .sound[aria-pressed="true"] .sound-bars i { animation: none; }
}
