/* Clean Rain: the front door. Quiet, heavy, confident. */
@font-face { font-family: 'Spectral'; font-weight: 300; font-style: normal; font-display: swap; src: url(/fonts/spectral-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 300; font-style: italic; font-display: swap; src: url(/fonts/spectral-latin-300-italic.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/spectral-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/spectral-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/spectral-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }

:root {
  --bg: #030407;
  --halo: #e9f2fb;
  --text: #c3cdd8;
  --dim: #7d8995;
  --rain: #93a1b0;
  --hera: #7cc8ff;
  --amber: #ffb347;
  --line: rgba(124, 200, 255, .16);
  --pad: max(22px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --wide: 1120px;
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(17px, 0.35vw + 15.5px, 20px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, video, canvas, picture { display: block; max-width: 100%; }
a { color: inherit; }
b { font-weight: 400; color: var(--halo); }
h2, h3 { font-weight: 300; color: var(--halo); margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
:focus-visible { outline: 1px solid var(--hera); outline-offset: 4px; }
main, .foot { position: relative; z-index: 2; }

/* ---------- the weather ---------- */
#rain {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none;
  image-rendering: pixelated; image-rendering: crisp-edges; opacity: .9;
}
.grain {
  position: fixed; inset: -60px; z-index: 50; pointer-events: none;
  background-image: var(--noise, none); background-size: 128px 128px;
  opacity: .055; mix-blend-mode: screen;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-24px, 12px); } 33% { transform: translate(16px, -30px); }
  50% { transform: translate(-36px, 40px); } 67% { transform: translate(30px, 6px); } 83% { transform: translate(-8px, -18px); }
}

/* ---------- small technical readouts, like Mercy on his wrist ---------- */
.readout {
  font-family: var(--mono); font-size: 11px; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); text-shadow: 0 0 8px rgba(255, 179, 71, .45);
  margin-top: 0; margin-bottom: 1.4rem; display: flex; gap: .9em; flex-wrap: wrap;
}
.readout .sep { color: rgba(255, 179, 71, .45); }
@media (min-width: 900px) { .readout { font-size: 12px; } }

/* ---------- play ---------- */
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta.center { justify-content: center; }
.play {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .9em;
  min-height: 62px; padding: 0 2.1em 0 1.8em;
  font-family: var(--serif); font-weight: 400; font-size: 1.12rem; letter-spacing: .16em; text-transform: uppercase;
  color: #f4f9ff; text-decoration: none;
  background: linear-gradient(180deg, rgba(124, 200, 255, .2), rgba(124, 200, 255, .07));
  border: 1px solid rgba(124, 200, 255, .65);
  box-shadow: 0 0 0 1px rgba(124, 200, 255, .08) inset, 0 0 28px rgba(124, 200, 255, .22), 0 0 80px rgba(124, 200, 255, .1);
  text-shadow: 0 0 12px rgba(124, 200, 255, .55);
  transition: background .3s ease, box-shadow .3s ease, transform .2s ease;
  animation: breathe 4.2s ease-in-out infinite;
}
.play::before {
  content: ''; width: 0; height: 0; flex: none;
  border-left: .62em solid var(--hera); border-top: .38em solid transparent; border-bottom: .38em solid transparent;
  filter: drop-shadow(0 0 6px rgba(124, 200, 255, .8));
}
.play:hover { background: linear-gradient(180deg, rgba(124, 200, 255, .3), rgba(124, 200, 255, .12)); box-shadow: 0 0 0 1px rgba(124, 200, 255, .15) inset, 0 0 36px rgba(124, 200, 255, .35), 0 0 100px rgba(124, 200, 255, .15); }
.play:active { transform: translateY(1px); }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(124, 200, 255, .08) inset, 0 0 26px rgba(124, 200, 255, .2), 0 0 80px rgba(124, 200, 255, .08); }
  50% { box-shadow: 0 0 0 1px rgba(124, 200, 255, .12) inset, 0 0 34px rgba(124, 200, 255, .32), 0 0 100px rgba(124, 200, 255, .14); }
}
.play-sm { min-height: 44px; padding: 0 1.3em 0 1.1em; font-size: .86rem; letter-spacing: .14em; animation: none; }
.install {
  min-height: 62px; padding: 0 1.5em; font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(255, 179, 71, .45); text-shadow: 0 0 8px rgba(255, 179, 71, .45);
}
.cta-note, .cta-desktop { margin: 1.1rem 0 0; font-style: italic; color: var(--rain); font-size: .92rem; line-height: 1.5; max-width: 36ch; }
.cta-desktop { color: var(--dim); font-size: .86rem; margin-top: .4rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 2; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-sky { display: none; }
.hero-loop { display: none; }
.hero-art { position: relative; height: 50vh; height: min(52svh, 600px); margin-bottom: -9svh; z-index: 0; }
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 34%; }
.hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(3, 4, 7, .7) 0%, rgba(3, 4, 7, 0) 16%, rgba(3, 4, 7, 0) 62%, rgba(3, 4, 7, .92) 90%, var(--bg) 100%);
}
.hero-copy {
  position: relative; z-index: 2; padding: 0 var(--pad) calc(env(safe-area-inset-bottom, 0px) + 72px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-copy .readout { justify-content: center; margin-bottom: 1rem; }
.title {
  margin: 0; color: var(--halo); font-weight: 300; text-transform: uppercase;
  font-size: clamp(38px, 11vw, 112px); letter-spacing: .12em; line-height: 1; padding-left: .12em;
  text-shadow: 0 0 40px rgba(124, 200, 255, .22), 0 0 2px rgba(233, 242, 251, .3);
  white-space: nowrap;
}
.tagline { margin: .9rem 0 1.7rem; font-style: italic; font-size: clamp(18px, 4.8vw, 24px); line-height: 1.45; color: #d4dde7; max-width: 28ch; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 11px); width: 44px; height: 44px; transform: translateX(-50%); opacity: .6; }
.scroll-cue span { position: absolute; left: 50%; top: 13px; width: 9px; height: 9px; margin-left: -5px; border-right: 1px solid var(--hera); border-bottom: 1px solid var(--hera); transform: rotate(45deg); animation: cue 2.4s ease-in-out infinite; }
@media (max-height: 500px) { .scroll-cue { display: none; } }
@keyframes cue { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .4; } 50% { transform: translateY(6px) rotate(45deg); opacity: 1; } }

/* the iPhone home screen callout */
.a2hs {
  position: relative; margin: 1.8rem 0 0; padding: 18px 18px 16px; width: min(100%, 420px); text-align: left;
  background: linear-gradient(180deg, rgba(14, 22, 34, .82), rgba(8, 12, 20, .82));
  border: 1px solid rgba(124, 200, 255, .28); border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 30px rgba(124, 200, 255, .06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.a2hs-x { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; font-size: 22px; line-height: 1; color: var(--dim); }
.a2hs-h { margin: 0 34px 12px 0; color: var(--halo); font-weight: 400; font-size: 1.02rem; }
.a2hs-n { margin: 12px 0 0; font-style: italic; color: var(--rain); font-size: .88rem; line-height: 1.45; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.a2hs .steps { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.35; }
.steps b { font-weight: 400; }
.ico {
  flex: none; width: 26px; height: 26px; border: 1px solid rgba(124, 200, 255, .3); border-radius: 6px;
  background-color: rgba(124, 200, 255, .06); background-repeat: no-repeat; background-position: center; background-size: 16px 16px;
}
.ico-share { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237cc8ff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10V1.5M5 4.5l3-3 3 3'/%3E%3Cpath d='M5.5 7H3.5v7.5h9V7h-2'/%3E%3C/svg%3E"); }
.ico-add { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237cc8ff' stroke-width='1.2' stroke-linecap='round'%3E%3Crect x='2' y='2' width='12' height='12' rx='3'/%3E%3Cpath d='M8 5v6M5 8h6'/%3E%3C/svg%3E"); }
.ico-app { background-image: url('/favicon-32.png'); background-size: 22px 22px; border-radius: 6px; }
.ico-rotate { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237cc8ff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1.5' y='6' width='13' height='7' rx='1.5'/%3E%3Cpath d='M4 3.5a5 5 0 0 1 7-1.2M11 1v1.6H9.4'/%3E%3C/svg%3E"); }
.ico-safari { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237cc8ff' stroke-width='1.2' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6.2'/%3E%3Cpath d='M10.8 5.2 9 9 5.2 10.8 7 7z'/%3E%3C/svg%3E"); }
.qr { display: flex; align-items: center; gap: 16px; margin-top: 1.6rem; }
.qr img { width: 100px; height: 100px; border-radius: 2px; background: #cfe0f0; outline: 1px solid var(--line); outline-offset: 5px; box-shadow: 0 0 24px rgba(124, 200, 255, .12); }
.qr p { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); max-width: 16ch; line-height: 1.6; }

/* ---------- sticky play bar ---------- */
.stick {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(3, 4, 7, .78); -webkit-backdrop-filter: blur(12px) saturate(120%); backdrop-filter: blur(12px) saturate(120%);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.stick.on { transform: translateY(0); }
.stick.on.away { transform: translateY(110%); }
.stick-title { font-weight: 300; text-transform: uppercase; letter-spacing: .24em; font-size: .86rem; color: var(--halo); white-space: nowrap; }

/* ---------- sections ---------- */
section { position: relative; padding: 13vh var(--pad); }
section > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
section h2 { font-size: clamp(28px, 6.4vw, 46px); letter-spacing: .03em; line-height: 1.15; margin-bottom: 2.4rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

.hook { padding-top: 16vh; padding-bottom: 14vh; text-align: center; }
.hook p { max-width: 22ch; margin: 0 auto; font-size: clamp(27px, 6.8vw, 54px); line-height: 1.22; color: var(--halo); letter-spacing: .005em; }
.hook p + p { margin-top: 1.1em; color: var(--rain); font-style: italic; }

.trailer { padding-top: 6vh; }
.trailer .readout { justify-content: center; }
.screen {
  position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
  border: 1px solid rgba(124, 200, 255, .2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 30px 120px rgba(0, 0, 0, .8), 0 0 60px rgba(124, 200, 255, .07);
}
.screen video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.trailer .cta { margin-top: 3rem; }
@media (orientation: landscape) and (max-height: 500px) {
  .trailer { padding-top: 4vh; }
  .trailer .screen { width: min(100%, calc((100vh - 110px) * 16 / 9)); width: min(100%, calc((100svh - 110px) * 16 / 9)); }
  .trailer .readout { margin-bottom: .8rem; }
}

.story { padding-top: 18vh; padding-bottom: 18vh; overflow: hidden; }
.story-bg { position: absolute; inset: 0; max-width: none; margin: 0; z-index: 0; }
.story-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: .95; }
.story-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, rgba(3, 4, 7, .25) 22%, rgba(3, 4, 7, .35) 70%, var(--bg) 100%); }
.story-text { position: relative; z-index: 1; max-width: 34ch; }
.story-text p { margin: 0 0 1.4em; font-size: clamp(19px, 1.1vw + 14px, 26px); line-height: 1.6; color: #d3dce6; text-shadow: 0 1px 20px rgba(0, 0, 0, .9); }
.story-text p:last-child { margin-bottom: 0; }

/* gallery: a swipeable strip on phones, a grid on bigger screens */
.gallery .readout { margin-bottom: 1.6rem; }
.shots { list-style: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: 0 0 86%; scroll-snap-align: center; }
.shots button { display: block; width: 100%; position: relative; overflow: hidden; border: 1px solid rgba(124, 200, 255, .12); background: #000; }
.shots img { width: 100%; height: auto; aspect-ratio: 2532 / 1170; object-fit: cover; image-rendering: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .4s ease; }
.shots button:hover img { transform: scale(1.03); }
.shots .cap { display: block; margin-top: .55rem; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); text-align: left; }
@media (min-width: 760px) {
  .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 16px; overflow: visible; margin: 0 auto; padding: 0; max-width: var(--wide); }
  .shots li { flex: none; }
}

/* the people */
.cast { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 18px; }
.cast picture { margin-bottom: 1rem; }
.cast img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; image-rendering: pixelated; border: 1px solid rgba(124, 200, 255, .1); background: #05070b; }
.cast h3 { font-size: .86rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; margin-bottom: .45rem; }
.cast p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--text); }
@media (min-width: 640px) and (orientation: landscape) { .cast { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 900px) { .cast { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* features */
.features ul { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 2rem; }
.features li { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.features .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--amber); text-shadow: 0 0 8px rgba(255, 179, 71, .4); }
.features p { margin: .5rem 0 0; font-size: 1.08rem; line-height: 1.5; color: #d3dce6; max-width: 34ch; }
@media (min-width: 760px) { .features ul { grid-template-columns: 1fr 1fr; gap: 2.6rem 4rem; } }
@media (min-width: 760px) and (max-width: 1099px) {
  .features li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .features li:last-child:nth-child(odd) p { max-width: 58ch; }
}
@media (min-width: 1100px) { .features ul { grid-template-columns: repeat(4, 1fr); gap: 2.6rem 2.8rem; } }

/* chapters */
.ch { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; }
.ch picture { margin-bottom: 1rem; position: relative; }
.ch img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(124, 200, 255, .1); }
.ch .readout { margin-bottom: .5rem; font-size: 11px; gap: .6em; }
.ch .state.new { color: #fff; background: rgba(255, 179, 71, .18); padding: 0 .4em; text-shadow: 0 0 8px rgba(255, 179, 71, .8); }
.ch h3 { font-size: 1.35rem; letter-spacing: .04em; margin-bottom: .35rem; }
.ch p:not(.readout) { margin: 0; font-size: .95rem; line-height: 1.5; }
.chapters .ch-next { margin-top: 2.8rem; text-align: center; font-style: italic; color: var(--rain); font-size: .95rem; line-height: 1.6; }
.chapters .cta { margin-top: 2.2rem; }
@media (min-width: 640px) and (orientation: landscape) { .ch { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 900px) { .ch { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* how to play on iPhone */
.howto .steps.big { gap: 1.4rem; max-width: 40rem; margin: 0; }
.howto .steps.big li { font-size: 1.05rem; line-height: 1.5; gap: 16px; }
.howto .steps.big .ico { width: 38px; height: 38px; background-size: 22px 22px; border-radius: 9px; margin-top: .1em; }
.howto .steps.big .ico-app { background-size: 30px 30px; }
.howto .note { margin: 2.4rem 0 0; max-width: 40rem; font-style: italic; color: var(--rain); font-size: .95rem; line-height: 1.6; }

.warning { text-align: center; padding-top: 6vh; }
.warning .readout { justify-content: center; margin-bottom: .8rem; }
.warning p:not(.readout) { margin: 0 auto; max-width: 40ch; color: var(--dim); font-size: .95rem; line-height: 1.6; }

.foot { padding: 12vh var(--pad) calc(16vh + env(safe-area-inset-bottom, 0px)); text-align: center; border-top: 1px solid rgba(124, 200, 255, .06); }
.title.small { font-size: clamp(30px, 8vw, 54px); margin-bottom: 2.2rem; }
.headphones { margin: 1.6rem 0 0; font-style: italic; color: var(--rain); }
.fine { margin: 3rem 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; }

/* ---------- full-screen screenshot viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; align-items: center; justify-content: center; touch-action: none; }
.viewer[hidden] { display: none; }
.viewer figure { margin: 0; width: 100%; overflow: hidden; transition: transform .3s ease, opacity .3s ease; }
.v-track { display: flex; transition: transform .45s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.v-track img { flex: 0 0 100%; width: 100%; max-height: 82vh; max-height: 82svh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.viewer figcaption { margin-top: 1rem; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--rain); padding: 0 var(--pad); }
.v-x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: calc(var(--pad) - 10px); width: 48px; height: 48px; font-size: 30px; color: var(--halo); z-index: 2; }
.v-prev, .v-next {
  position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; z-index: 2; display: none; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(233, 242, 251, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease;
}
.v-prev:hover, .v-next:hover { background: rgba(0, 0, 0, .75); border-color: rgba(124, 200, 255, .6); }
.v-prev span, .v-next span { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-left: 2px solid var(--halo); border-bottom: 2px solid var(--halo); }
.v-prev span { transform: translateX(3px) rotate(45deg); }
.v-next span { transform: translateX(-3px) rotate(-135deg); }
.v-prev { left: max(14px, env(safe-area-inset-left, 0px)); } .v-next { right: max(14px, env(safe-area-inset-right, 0px)); }
@media (hover: hover) and (pointer: fine) { .v-prev, .v-next { display: block; } }

/* ---------- the side-by-side hero: bigger screens, and phones held sideways ---------- */
@media (min-width: 900px), (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  .hero { justify-content: center; }
  .hero-sky { display: block; position: absolute; inset: 0; }
  .hero-sky img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
  .hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 4, 7, .92) 0%, rgba(3, 4, 7, .55) 42%, rgba(3, 4, 7, .15) 70%), linear-gradient(to bottom, rgba(3, 4, 7, .2) 60%, var(--bg) 100%); }
  .hero-art { position: absolute; margin: 0; left: auto; right: 4vw; top: 50%; height: min(92vh, 980px); width: auto; aspect-ratio: 1024 / 1240; transform: translateY(-50%); }
  .hero-art img { object-fit: contain; object-position: 50% 50%; }
  /* fully transparent at every edge of the box, so no straight line shows against the sky */
  .hero-art picture { -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 46%, #000 58%, transparent 100%); }
  .hero-art::after { display: none; }
  .hero-copy { align-items: flex-start; text-align: left; padding: max(28px, env(safe-area-inset-top, 0px)) 0 calc(env(safe-area-inset-bottom, 0px) + 72px) max(7vw, var(--pad)); max-width: 54vw; }
  .hero-copy .readout { justify-content: flex-start; }
  .title { font-size: clamp(64px, 7.4vw, 124px); padding-left: 0; margin-left: -.04em; }
  .tagline { font-size: clamp(22px, 1.6vw, 28px); max-width: 30ch; }
}
/* narrower desktops: a smaller title, and the hand pulled right, clear of it */
@media (min-width: 900px) and (max-width: 1199px) {
  .title { font-size: clamp(52px, 5.8vw, 124px); }
  .hero-art { right: -5vw; height: min(86vh, 62vw); }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .title { font-size: clamp(64px, 6.5vw, 124px); }
}
/* phones held sideways: everything up to Play on the first screen */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  .hero-copy { padding-top: max(22px, env(safe-area-inset-top, 0px)); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); max-width: 60vw; }
  .hero-copy .readout { margin-bottom: .7rem; }
  .title { font-size: clamp(36px, 5.6vw, 60px); }
  .tagline { font-size: 18px; margin: .6rem 0 1.1rem; max-width: 40ch; }
  .cta-note { margin-top: .8rem; font-size: .86rem; }
  .hero-art { right: 2vw; height: 96vh; height: 96svh; }
  .a2hs { margin-top: 1.2rem; }
}
@media (min-width: 900px) {
  .hero { min-height: 100vh; }
  .hero-loop.on { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 3s ease; }
  .hero-loop.on.playing { opacity: .32; }
  .stick { top: 0; bottom: auto; padding-top: 10px; padding-bottom: 10px; border-top: 0; border-bottom: 1px solid var(--line); transform: translateY(-110%); }
  .stick.on { transform: translateY(0); }
  .stick.on.away { transform: translateY(-110%); }
  section { padding-top: 17vh; padding-bottom: 17vh; }
  .story-text { margin-left: max(0px, calc((100vw - var(--wide)) / 2)); }
  .story-bg img { object-position: 60% 60%; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .play { animation: none; }
  .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .v-track { transition: none; }
  .stick { transition: none; }
}
