/* A · Orrery — the year itself is the world */
:root {
  --bg: #04060a; --tx: #eaf0f8; --soft: #c3cfe2; --dim: #6d7a92;
  --blue: #9ec2ff; --gold: #e8c67e; --cream: #f6ebcd;
  --glass: rgba(10, 15, 24, .45); --glass-hi: rgba(14, 20, 32, .58);
  --line: rgba(150, 175, 215, .2); --gline: rgba(232, 198, 126, .32);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(18px, 4.6vw, 76px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); overflow: hidden; overscroll-behavior: none; }
body {
  color: var(--tx); font-family: 'Jost', ui-sans-serif, system-ui, sans-serif; font-weight: 300;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  height: 100vh; height: 100dvh; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
::selection { background: #3a2f17; color: var(--cream); }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.veil {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, rgba(0, 0, 0, 0) 45%, rgba(3, 5, 9, .78) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, .55) 0, rgba(4, 6, 10, 0) 120px);
  transition: background-color 1.2s var(--ease);
}
body[data-stop="3"] .veil { background-color: rgba(3, 5, 9, .34); }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(16, 22, 34, .55), var(--glass) 40%);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.scroll { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(232, 198, 126, .3) transparent; touch-action: pan-y; }
.scroll::-webkit-scrollbar { width: 6px; }
.scroll::-webkit-scrollbar-thumb { background: rgba(232, 198, 126, .28); border-radius: 6px; }
.kicker { font-size: 12.5px; font-weight: 300; letter-spacing: .32em; text-transform: lowercase; color: var(--gold); }

/* ---------- header ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad) 0; pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 14px; letter-spacing: .42em; }
.brand .bz { color: #dfe7f3; } .brand .bc { color: #67748c; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--gline); background: rgba(10, 15, 24, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12px; letter-spacing: .22em; color: var(--cream); transition: border-color .3s, background .3s, color .3s;
}
.pill:hover { border-color: var(--gold); background: rgba(232, 198, 126, .12); }
.pill { white-space: nowrap; }
.pl-short { display: none; }
@media (max-width: 600px) { .pl-full { display: none; } .pl-short { display: inline; } }

/* ---------- chapter index ---------- */
.chapters { position: fixed; z-index: 20; right: 26px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.chapters ol { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chapters ol button { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 2px; flex-direction: row-reverse; }
.chapters .cn { font-size: 11.5px; letter-spacing: .2em; color: var(--dim); width: 22px; text-align: right; transition: color .4s; position: relative; }
.chapters .cn::after { content: ''; position: absolute; right: -10px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--dim); transition: background .4s, box-shadow .4s, transform .4s; }
.chapters .cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.brandcol { display: flex; flex-direction: column; gap: 7px; }
.top .now { font-size: 11.5px; letter-spacing: .3em; color: var(--dim); min-height: 1em; transition: color .4s; }
.chapters [aria-current] .cn { color: var(--gold); }
.chapters [aria-current] .cn::after { background: var(--gold); box-shadow: 0 0 10px var(--gold); transform: scale(1.6); }
.tour { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11.5px; letter-spacing: .24em; color: var(--dim); background: rgba(10, 15, 24, .4); transition: color .3s, border-color .3s; }
.tour[aria-pressed="true"] { color: var(--gold); border-color: var(--gline); }
.tour[aria-pressed="true"] .ti { animation: pulse 1.6s ease-in-out infinite; }

/* ---------- stops ---------- */
#stops { position: fixed; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }
.stop { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.stop.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease) .45s, visibility 0s; }
.stop .glass, .stop button, .stop a, .stop .point, .stop .hero, .film figcaption { pointer-events: auto; }
.rise { opacity: 0; transform: translateY(18px); }
.stop.is-active .rise { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(.5s + var(--d, 0s)); }

/* stop 1 · arrival */
.hero { position: absolute; left: var(--pad); top: 50%; transform: translateY(-46%); width: min(500px, 42vw); max-height: calc(100dvh - 150px); display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-weight: 200; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.07; letter-spacing: -.005em; color: var(--tx); }
.tagline { font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 460px; }
.intro { padding: 18px 20px; max-height: 26vh; min-height: 0; flex: 0 1 auto; }
.intro p { font-size: 15px; line-height: 1.65; color: var(--soft); }
.intro p + p { margin-top: 10px; }
.reckon { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--soft); }
.reckon .gl { color: var(--accent, var(--gold)); font-size: 17px; }
.gl.sym { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'Noto Sans Symbols', 'Apple Symbols', 'Noto Serif SC', 'Noto Serif CJK SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', 'Microsoft YaHei', serif; font-variant-emoji: text; }
img.gl.mark { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.28em; border-radius: 50%; }
.gl.flag { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 999px; font-size: 14px; letter-spacing: .16em; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s; }
.btn.gold { color: #1b150a; font-weight: 400; background: linear-gradient(180deg, #f6e2b0, #e3bd6c); box-shadow: 0 0 0 1px rgba(255, 236, 190, .5) inset, 0 10px 40px rgba(232, 198, 126, .28); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 236, 190, .7) inset, 0 14px 50px rgba(232, 198, 126, .45); }
.btn.ghost { color: var(--tx); border: 1px solid var(--line); background: rgba(10, 15, 24, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--blue); }
.btn.line { padding-left: 4px; padding-right: 4px; color: var(--soft); letter-spacing: .1em; }
.btn.line:hover { color: var(--cream); }
.btn.xl { min-height: 56px; padding: 15px 28px; font-size: 15.5px; letter-spacing: .14em; }
.btn.site { color: var(--cream); border: 1px solid rgba(246, 235, 205, .45); background: rgba(10, 15, 24, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.site:hover { border-color: var(--cream); background: rgba(246, 235, 205, .08); }
.cta-row.big { gap: 12px; }
.filmlink { align-self: flex-start; font-size: 14px; letter-spacing: .14em; color: var(--soft); padding: 6px 2px; }
.filmlink:hover { color: var(--cream); }
.hint { position: absolute; left: 50%; bottom: calc(26px + var(--safe-b)); transform: translateX(-50%); font-size: 12.5px; letter-spacing: .28em; color: var(--dim); white-space: nowrap; animation: pulse 3.2s ease-in-out infinite; }
.hint-touch { display: none; }

/* stop 2 · festivals */
.fest-card { position: absolute; right: 96px; top: 50%; transform: translateY(-50%); width: min(470px, 40vw); max-height: calc(100dvh - 190px); display: flex; flex-direction: column; padding: 18px 8px 8px 24px; }
.fest-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 12px 0; border-bottom: 1px solid rgba(150, 175, 215, .12); }
.pn { display: flex; gap: 8px; }
.pn button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--soft); font-size: 16px; transition: border-color .3s, color .3s, background .3s; }
.pn button:hover { border-color: var(--gold); color: var(--cream); background: rgba(232, 198, 126, .08); }
.fest-stack { position: relative; flex: 1 1 auto; min-height: 0; padding: 18px 16px 16px 0; }
.fest { position: absolute; top: 18px; left: 0; right: 16px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .35s, visibility 0s .35s; }
.fest.is-active { position: relative; top: 0; right: 0; opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .15s, transform .8s var(--ease) .15s, visibility 0s; }
.fest h3 { font-weight: 200; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; color: var(--cream); }
.fest-date { display: inline-block; margin-top: 14px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--gline); background: rgba(232, 198, 126, .06); font-size: 16px; color: var(--tx); }
.fest-alt { font-size: 16px; color: var(--accent, var(--gold)); letter-spacing: .06em; margin-top: 6px; }
.fest-when { font-size: 15px; line-height: 1.55; color: var(--soft); margin-top: 12px; }
.fest-three { margin-top: 18px; }
.fest-three h4 { font-size: 12px; font-weight: 400; letter-spacing: .3em; color: var(--gold); margin-top: 16px; }
.fest-three h4:first-child { margin-top: 0; }
.fest-three p { font-size: 15.5px; line-height: 1.65; color: var(--soft); margin-top: 6px; }
.rail { position: absolute; left: var(--pad); right: calc(min(470px, 40vw) + 140px); bottom: calc(40px + var(--safe-b)); display: flex; justify-content: space-between; max-width: 640px; }
.rail::before { content: ''; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 198, 126, .35), transparent); }
.rail li { position: relative; }
.rail button { position: relative; width: 26px; height: 26px; display: grid; place-items: center; }
.rd { width: 7px; height: 7px; border-radius: 50%; background: #8d816a; transition: transform .4s var(--ease), background .4s, box-shadow .4s; }
.rail button:hover .rd { background: var(--cream); transform: scale(1.4); }
.rail [aria-current] .rd { background: var(--cream); transform: scale(1.8); box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(232, 198, 126, .6); }
.rn, .rt { position: absolute; left: 50%; transform: translate(-50%, 4px); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; }
.rn { top: -24px; font-size: 13px; letter-spacing: .14em; color: var(--cream); }
.rt { top: 28px; font-size: 12px; letter-spacing: .2em; color: var(--dim); }
.rail button:hover .rn, .rail [aria-current] .rn, .rail button:hover .rt, .rail [aria-current] .rt { opacity: 1; transform: translate(-50%, 0); }

/* stop 3 · in the app */
.app-k { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); white-space: nowrap; }
.points { position: absolute; left: var(--pad); right: 120px; top: 120px; bottom: 50px; display: grid; grid-template-columns: minmax(0, 330px) 1fr minmax(0, 330px); grid-template-rows: repeat(6, auto); align-content: center; gap: 0 20px; }
.point { padding: 16px 18px; margin: 7px 0; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: .58; cursor: pointer; transition: opacity .6s, border-color .6s, box-shadow .6s, transform .6s var(--ease); }
.point:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.point:nth-child(2) { grid-column: 1; grid-row: 3 / span 2; }
.point:nth-child(3) { grid-column: 1; grid-row: 5 / span 2; }
.point:nth-child(4) { grid-column: 3; grid-row: 2 / span 2; }
.point:nth-child(5) { grid-column: 3; grid-row: 4 / span 2; }
.point.is-on { opacity: 1; border-color: var(--gline); box-shadow: 0 0 0 1px rgba(232, 198, 126, .12), 0 0 40px rgba(232, 198, 126, .14); transform: translateX(var(--nudge, 0)); }
.point:nth-child(-n+3) { --nudge: 6px; } .point:nth-child(n+4) { --nudge: -6px; }
.point:hover { opacity: .9; }
.point h3 { font-weight: 300; font-size: 18px; color: var(--cream); margin-top: 4px; letter-spacing: .01em; }
.point p { font-size: 15px; line-height: 1.58; color: var(--soft); margin-top: 6px; }

/* stop 5 · the app */
.feat-card { position: absolute; right: 96px; top: 50%; transform: translateY(-50%); width: min(480px, 40vw); max-height: calc(100dvh - 170px); padding: 22px 24px 22px; }
.feat-card h2 { font-weight: 200; font-size: clamp(26px, 2.3vw, 35px); line-height: 1.15; color: var(--cream); margin-top: 10px; }
.feat-lede { font-size: 15.5px; line-height: 1.6; color: var(--soft); margin-top: 10px; }
.feat-stack { position: relative; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(150, 175, 215, .12); }
.feat { position: absolute; top: 16px; left: 0; right: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .35s, visibility 0s .35s; }
.feat.is-active { position: relative; top: 0; opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .2s, transform .8s var(--ease) .2s, visibility 0s; }
.feat h3 { font-weight: 300; font-size: 22px; line-height: 1.25; color: var(--accent, var(--gold)); }
.feat p { font-size: 15.5px; line-height: 1.62; color: var(--soft); margin-top: 8px; }
.feat-nav { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.feat-dots { display: flex; flex: 1; gap: 2px; }
.feat-dots button { width: 26px; height: 26px; display: grid; place-items: center; }
.feat-dots [aria-current] .rd { background: var(--cream); transform: scale(1.8); box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(232, 198, 126, .6); }
.feat-closer { margin-top: 18px; font-size: 16px; line-height: 1.55; color: var(--cream); }
.feat-card .cta-row { margin-top: 14px; }

/* stop 4 · the film */
.film-k { position: absolute; left: 50%; top: 88px; transform: translateX(-50%); }
.film { position: absolute; left: 20px; right: 20px; top: 122px; bottom: calc(30px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; perspective: 1400px; pointer-events: none; }
.film-frame {
  position: relative; flex: 0 0 auto; height: min(64vh, 820px); width: calc(min(64vh, 820px) * 9 / 16); border-radius: 28px; pointer-events: auto;
  border: 1px solid rgba(246, 235, 205, .38); background: #07090e;
  box-shadow: 0 0 0 6px rgba(10, 15, 24, .55), 0 0 0 7px rgba(232, 198, 126, .18), 0 0 70px rgba(232, 198, 126, .28), 0 0 180px rgba(232, 198, 126, .14), 0 40px 90px rgba(0, 0, 0, .6);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--fy, 0px)); transform-style: preserve-3d; will-change: transform;
}
.film-frame::before { content: ''; position: absolute; inset: -18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 198, 126, .34), rgba(232, 198, 126, .08) 55%, transparent); filter: blur(10px); animation: halo 6s ease-in-out infinite; pointer-events: none; }
.film-video, .film-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 27px; display: block; }
.film-still { display: none; }
.film.missing .film-still { display: block; }
.film.missing .film-video, .film.missing .film-ctl { display: none; }
.film-ctl { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.film-ctl button { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(246, 235, 205, .3); background: rgba(6, 9, 14, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; letter-spacing: .2em; color: var(--cream); }
.film-ctl .f-play { width: 40px; padding: 0; letter-spacing: 0; }
.f-sound[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.film figcaption { flex: 0 0 auto; font-size: 15px; line-height: 1.55; color: var(--soft); text-align: center; max-width: 440px; }

/* stop 6 · how to get it */
.get-cta { display: grid; gap: 10px; margin-bottom: 26px; }
.get-cta .btn { width: 100%; }
.get-panel { position: absolute; right: 96px; top: 84px; bottom: calc(34px + var(--safe-b)); width: min(560px, 44vw); padding: 26px 28px 30px; }
.get-panel h2 { font-weight: 200; font-size: clamp(30px, 2.8vw, 42px); color: var(--cream); margin-top: 8px; }
.get-panel h3 { font-size: 12.5px; font-weight: 400; letter-spacing: .32em; color: var(--gold); margin-top: 30px; }
.howto { counter-reset: s; margin-top: 18px; }
.howto li { counter-increment: s; position: relative; padding: 0 0 14px 44px; font-size: 15.5px; line-height: 1.6; color: var(--soft); }
.howto li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gline); display: grid; place-items: center; font-size: 13px; color: var(--gold); }
.howto li::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 1px; background: linear-gradient(var(--gline), transparent); }
.howto li:last-child::after { display: none; }
.sibs { margin-top: 14px; display: grid; gap: 10px; }
.sibs li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.sibs b { display: block; font-weight: 400; color: var(--cream); letter-spacing: .08em; }
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid rgba(150, 175, 215, .14); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 30px 14px 0; position: relative; font-size: 16px; line-height: 1.45; color: var(--tx); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; color: var(--gold); font-size: 18px; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 15.5px; line-height: 1.65; color: var(--soft); padding: 0 0 16px; }
.cta-row.end { margin-top: 30px; }

/* ---------- layout: medium (no room either side of the phone) ---------- */
body.lay-md .points { right: auto; width: min(400px, 44vw); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; pointer-events: auto; }
body.lay-md .point { margin: 5px 0; }
body.lay-md .app-k { left: var(--pad); transform: none; }

/* ---------- layout: phone / portrait ---------- */
body.lay-m { --pad: 18px; }
body.lay-m .top { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
body.lay-m .brand { font-size: 12px; letter-spacing: .34em; gap: 8px; }
body.lay-m .pill { padding: 9px 13px; font-size: 11px; letter-spacing: .14em; }
body.lay-m .chapters { right: auto; left: 50%; top: calc(58px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); flex-direction: row; gap: 10px; align-items: center; }
body.lay-m .chapters ol { flex-direction: row; gap: 0; }
body.lay-m .chapters ol button { padding: 8px 7px; }
body.lay-m .chapters .cl { display: none; }
body.lay-m .chapters .cn { width: auto; font-size: 11px; }
body.lay-m .chapters .cn::after { display: none; }
body.lay-m .tour { padding: 5px 10px; font-size: 10.5px; }
body.lay-m .tour .tl { display: none; }
body.lay-m .hero { left: 16px; right: 16px; width: auto; top: auto; bottom: calc(16px + var(--safe-b)); transform: none; gap: 12px; max-height: calc(100dvh - 210px); }
body.lay-m .hero h1 { font-size: clamp(25px, 7.4vw, 34px); }
body.lay-m .tagline { font-size: 15px; line-height: 1.5; }
body.lay-m .intro { padding: 14px 16px; max-height: 19dvh; }
body.lay-m .btn { min-height: 42px; padding: 10px 16px; font-size: 13px; letter-spacing: .12em; }
body.lay-m .btn.line { padding: 6px 2px; }
body.lay-m .hint { display: none; }
body.lay-m .fest-card { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(10px + var(--safe-b)); transform: none; height: 54dvh; max-height: none; padding: 14px 4px 4px 18px; border-radius: 18px; }
body.lay-m .fest h3 { font-size: 27px; }
body.lay-m .fest-stack { padding-top: 12px; }
body.lay-m .rail { left: 16px; right: 16px; bottom: calc(54dvh + 26px + var(--safe-b)); max-width: none; }
body.lay-m .rail button { width: 24px; }
body.lay-m .rn, body.lay-m .rt { display: none; }
body.lay-m .app-k { top: calc(98px + env(safe-area-inset-top, 0px)); }
body.lay-m .points { left: 0; right: 0; top: auto; bottom: calc(14px + var(--safe-b)); display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 0 16px; scrollbar-width: none; pointer-events: auto; touch-action: pan-x; }
body.lay-m .points::-webkit-scrollbar { display: none; }
body.lay-m .points::after { content: ''; flex: 0 0 6px; }
body.lay-m .point { flex: 0 0 84%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; opacity: .62; transform: none; max-height: 34dvh; overflow-y: auto; background: rgba(7, 10, 17, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
body.lay-m .point.is-on { opacity: 1; }
body.lay-m .film-k { top: calc(98px + env(safe-area-inset-top, 0px)); }
body.lay-m .film { top: calc(126px + env(safe-area-inset-top, 0px)); left: 16px; right: 16px; bottom: calc(14px + var(--safe-b)); gap: 12px; }
body.lay-m .film-frame { border-radius: 22px; }
body.lay-m .film-video, body.lay-m .film-still { border-radius: 21px; }
body.lay-m .film figcaption { font-size: 15px; }
body.lay-m .brandcol .now { display: none; }
body.lay-m .cta-row.big { flex-direction: column; align-items: stretch; gap: 8px; }
body.lay-m .cta-row.big .btn { min-height: 48px; padding: 12px 16px; font-size: 13.5px; }
body.lay-m .filmlink { display: none; }
body.lay-m .feat-card, body.lay-m .fest-card, body.lay-m .get-panel, body.lay-m .intro { background: rgba(7, 10, 17, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
body.lay-m .feat-card { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(10px + var(--safe-b)); transform: none; height: 50dvh; max-height: none; padding: 16px 18px 18px; border-radius: 18px; }
body.lay-m .feat-card h2 { font-size: 24px; }
body.lay-m .feat-card .cta-row .btn { min-height: 46px; font-size: 13px; }
body.lay-m .get-panel { left: 10px; right: 10px; width: auto; top: auto; bottom: calc(10px + var(--safe-b)); height: 56dvh; padding: 20px 18px 24px; border-radius: 18px; }
body.lay-m .get-panel h2 { font-size: 28px; }

@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

/* ---------- motion ---------- */
@keyframes pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; }
  .stop, .stop.is-active, .fest, .fest.is-active, .stop.is-active .rise { transition-duration: .25s !important; transition-delay: 0s !important; }
  .rise { transform: none; }
}

/* ---------- without WebGL: a still sky ---------- */
html.no-gl body { background: radial-gradient(ellipse 60% 45% at 60% 50%, rgba(232, 198, 126, .16), transparent 70%), radial-gradient(circle at 60% 50%, rgba(255, 240, 210, .5) 0, rgba(232, 198, 126, .15) 3%, transparent 9%), var(--bg); }
html.no-gl #gl { display: none; }

/* ---------- without JS: one readable column (stops stacked, the panel scrolls) ---------- */
html:not(.js) #stops { position: fixed; inset: 0; overflow-y: auto; pointer-events: auto; padding: 90px 18px 40px; }
html:not(.js) .stop { position: relative; inset: auto; opacity: 1; visibility: visible; margin: 0 auto 60px; max-width: 640px; }
html:not(.js) .stop * { position: static !important; transform: none !important; opacity: 1 !important; visibility: visible !important; width: auto !important; max-height: none !important; height: auto !important; }
html:not(.js) .chapters, html:not(.js) .feat-nav, html:not(.js) .rail, html:not(.js) .pn, html:not(.js) .hint, html:not(.js) .film-ctl, html:not(.js) .film-still { display: none !important; }
html:not(.js) .film-frame { aspect-ratio: auto; }
