/* =========================================================================
   GLYF — landing 0.4 + holding page
   Design source: Figma file 418vM6WFpvdnxLRAFDkCbq, page "Web 0.4".
   Loaded after styles.css (fonts and base tokens live there).
   The fixed WebGL canvas sits behind the document; every section is real
   HTML in normal flow, so the page reads completely with the canvas off.
   ========================================================================= */

:root {
  --lp-ink: #262626;
  --lp-sheet: #141414;
  --lp-paper: #e2e2d6;
  --lp-accent: #ff5a1f;
  --lp-rec: #ff3b30;
  --lp-gutter: clamp(1.25rem, 8.33vw, 7.5rem);
  --lp-edge: clamp(1rem, 2.78vw, 2.5rem);
}

.lp,
.lp [data-theme] {
  --bg: var(--lp-ink);
  --fg: var(--lp-paper);
  --fg2: rgba(226, 226, 214, 0.8);
  --fg3: rgba(226, 226, 214, 0.6);
  --line: rgba(226, 226, 214, 0.3);
  --line2: rgba(226, 226, 214, 0.12);
}
.lp[data-theme="light"],
.lp [data-theme="light"],
.lp[data-theme="accent"],
.lp [data-theme="accent"] {
  --bg: var(--lp-paper);
  --fg: var(--lp-ink);
  --fg2: rgba(38, 38, 38, 0.8);
  --fg3: rgba(38, 38, 38, 0.6);
  --line: rgba(38, 38, 38, 0.3);
  --line2: rgba(38, 38, 38, 0.12);
}
.lp[data-theme="accent"],
.lp [data-theme="accent"] { --bg: var(--lp-accent); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.lp a { color: inherit; }
.lp img { display: block; max-width: 100%; }
.lp :focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }

/* ---------- type ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mono--s { font-size: 0.625rem; }
.mono--b { font-weight: 700; }
.dim { color: var(--fg2); }
.dimmer { color: var(--fg3); }
.acc { color: var(--lp-accent); }
.h1, .h2 { margin: 0; font-weight: 400; letter-spacing: -0.03em; }
.h1 { font-size: clamp(3.4rem, 9.17vw, 8.25rem); line-height: 0.9; }
.h2 { font-size: clamp(2.5rem, 5.55vw, 5rem); line-height: 0.96; }
.h2--m { font-size: clamp(2.3rem, 4.5vw, 4.25rem); }
.lead { margin: 0; font-size: clamp(1rem, 1.4vw, 1.3125rem); line-height: 1.45; color: var(--fg2); max-width: 30em; }
.label { display: block; margin: 0 0 1.75rem; color: var(--fg2); font-weight: 700; }

/* ---------- canvas + flash ---------- */
#gl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.6s ease;
}
.gl-on #gl { opacity: 1; }
.lp[data-theme="light"] #gl { opacity: 0; transition-duration: 0.01s; }
.flash { position: fixed; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.flash.is-on { animation: lp-flash 0.5s ease-out; }
@keyframes lp-flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

/* ---------- HUD (fixed; it is also the navigation) ---------- */
.hud { position: fixed; inset: 0; z-index: 4; pointer-events: none; color: var(--fg); }
.hud > * { pointer-events: auto; }
/* soft bands so copy scrolling under the logo and the REC line stays readable */
.hud::before, .hud::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(4.5rem, 12vh, 6.5rem); pointer-events: none; }
.hud::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.hud::after { bottom: 0; height: clamp(3.5rem, 9vh, 5rem); background: linear-gradient(transparent, var(--bg)); }
.lp.is-scene .hud::before, .lp.is-scene .hud::after { opacity: 0; }
.hud__logo { position: absolute; top: clamp(1.4rem, 3.8vh, 2.1rem); left: var(--lp-edge); display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.hud__logo svg { display: block; height: 1.375rem; width: auto; }
.hud__logo .word svg { height: 0.94rem; }
.hud__cta { position: absolute; top: clamp(1.1rem, 3.1vh, 1.75rem); right: var(--lp-edge); }
.hud__ticks { position: absolute; left: var(--lp-edge); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.hud__ticks a { display: block; padding: 0.8125rem 1.25rem 0.8125rem 0; }
.hud__ticks a::before { content: ""; display: block; width: 0.625rem; height: 1px; background: var(--fg3); transition: width 0.3s ease, background-color 0.3s ease; }
.hud__ticks a:hover::before { width: 1.25rem; background: var(--fg); }
.hud__ticks a[aria-current="true"]::before { width: 2rem; background: var(--fg); }
.hud__rec { position: absolute; left: var(--lp-edge); bottom: clamp(1.6rem, 4.4vh, 2.5rem); display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hud__rec i { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: var(--lp-rec); }
.hud__rec.is-stopped i { background: var(--fg3); }
.hud__read { position: absolute; right: var(--lp-edge); bottom: clamp(1.6rem, 4.4vh, 2.5rem); color: var(--fg2); text-align: right; white-space: pre; }
.hud__date { position: absolute; right: calc(var(--lp-edge) - 0.25rem); top: 7.5rem; writing-mode: vertical-rl; color: var(--fg2); }
.hud__cross { position: absolute; color: var(--fg3); font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1; pointer-events: none; }
.hud__cross:nth-of-type(1) { left: 7.6vw; top: 12vh; } .hud__cross:nth-of-type(2) { right: 7.6vw; top: 12vh; }
.hud__cross:nth-of-type(3) { left: 7.6vw; bottom: 12vh; } .hud__cross:nth-of-type(4) { right: 7.6vw; bottom: 12vh; }

.cta {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.6875rem 1.125rem; border-radius: 999px; border: 0;
  background: var(--fg); color: var(--bg);
  font-family: var(--font-mono); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.cta::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--lp-accent); }
.cta--l { padding: 0.95rem 1.5rem; font-size: 0.8125rem; }
.cta[aria-disabled="true"] { cursor: default; }
a.cta:hover { background: var(--lp-accent); color: var(--lp-ink); }
a.cta:hover::before { background: var(--lp-ink); }
.link { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.link:hover { color: var(--lp-accent); }

/* ---------- sections ---------- */
.lp main { position: relative; z-index: 1; }
.s { position: relative; min-height: 100vh; min-height: 100svh; padding: clamp(6.5rem, 20.4vh, 11.5rem) var(--lp-gutter) clamp(5rem, 12vh, 7rem); box-sizing: border-box; }
.s__copy { max-width: min(38rem, 46vw); }
.s__copy .lead { margin-top: 1.75rem; }
.beat { position: relative; min-height: 100vh; min-height: 100svh; box-sizing: border-box; }
.s--2 { padding-top: 0; padding-bottom: 0; }
.s--2 .beat { padding: clamp(6.5rem, 20.4vh, 11.5rem) 0 clamp(5rem, 12vh, 7rem); }
.lp .poster { display: none; }

/* 01 hero */
.s-hero { display: flex; flex-direction: column; justify-content: center; padding-top: 6rem; }
.s-hero .lead { margin-top: 2.2rem; max-width: 27em; }
.s-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.75rem; }
.s-hero__price { margin-top: 1.5rem; }
.scrollhint { position: absolute; left: 50%; bottom: clamp(1.6rem, 4.4vh, 2.5rem); transform: translateX(-50%); color: var(--fg2); }

/* 02 anchor */
.steps { margin: clamp(2.5rem, 9vh, 5rem) 0 0; padding: 0; list-style: none; max-width: 30rem; }
.steps li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; padding: 0.875rem 0; border-top: 1px solid var(--line); }
.steps span:last-child { color: var(--fg2); font-size: 1rem; }
.scale { display: flex; align-items: flex-end; margin: clamp(2.5rem, 9vh, 5rem) 0 0; padding: 0; list-style: none; }
.scale li { width: 3.6rem; color: var(--fg3); }
.scale li::before { content: ""; display: block; width: 1px; height: 0.75rem; margin-bottom: 0.625rem; background: var(--fg3); }
.scale li.is-on { color: var(--fg); font-weight: 700; }
.scale li.is-on::before { height: 1.625rem; background: var(--fg); }

/* 03 draw (simulator) */
.s-draw { min-height: 120vh; overflow: hidden; }
/* the scene sits behind the WebGL canvas, so strokes are drawn over it */
.scene-bg { position: fixed; inset: 0; z-index: -1; opacity: 0; pointer-events: none; background: #111 url("/assets/landing/posters/street.jpg") center / cover no-repeat; }
.scene-bg::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.5); }
.sim__pad { position: absolute; inset: 0; z-index: 1; cursor: crosshair; touch-action: pan-y; }
.sim__pad.is-drawing { touch-action: none; }
.s-draw .s__copy, .sim__ui { position: relative; z-index: 2; pointer-events: none; }
.sim__ui { position: sticky; top: calc(100vh - 15.5rem); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: 30vh; }
.sim__ui > * { pointer-events: auto; }
.sim__status p { margin: 0.5rem 0 0; font-size: 1.25rem; color: var(--fg2); }
.sim__mats { display: flex; gap: 1.5rem; }
.sim__mats button { display: grid; justify-items: center; gap: 0.6rem; padding: 0; border: 0; background: none; color: var(--fg3); cursor: pointer; }
.sim__mats img { width: 4.25rem; height: 4.25rem; border-radius: 50%; outline: 1px solid transparent; outline-offset: 6px; transition: outline-color 0.2s; }
.sim__mats button[aria-pressed="true"] { color: var(--fg); }
.sim__mats button[aria-pressed="true"] img { outline-color: var(--fg); }
.sim__ctl { display: flex; gap: 0.5rem; }
.pill { padding: 0.6rem 1rem; border: 0; border-radius: 4px; background: rgba(226, 226, 214, 0.14); color: var(--fg); font-family: var(--font-mono); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.pill:hover { background: rgba(226, 226, 214, 0.26); }
.pill--on { background: var(--fg); color: var(--bg); }
.pill--on:hover { background: var(--lp-accent); }
.pill[hidden] { display: none; }
.sim__hint { position: absolute; right: 16%; top: 52%; z-index: 2; color: var(--fg2); pointer-events: none; transition: opacity 0.3s; }
.has-strokes .sim__hint { opacity: 0; }

/* 04 surface */
.reel { position: absolute; left: 55.5%; top: clamp(11rem, 21vh, 12rem); margin: 0; }
.reel__ball { width: clamp(6rem, 10.4vw, 9.4rem); aspect-ratio: 1; border-radius: 50%; outline: 1px solid var(--line); outline-offset: 12px; overflow: hidden; }
.reel__ball img { width: 100%; height: 100%; }
.reel ol { margin: 2.6rem 0 0; padding: 0; list-style: none; color: var(--fg3); line-height: 2.1; }
.reel li.is-on { color: var(--fg); font-weight: 700; }
.reel li.is-on::before { content: "→  "; }
.cat { display: grid; grid-template-columns: minmax(17rem, 23rem) 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.cat__fam { margin: 3rem 0 0; padding: 0; list-style: none; }
.cat__fam li { display: flex; justify-content: space-between; padding: 0.44rem 0; border-top: 1px solid var(--line2); color: var(--fg2); }
.cat__fam li b { font-weight: 400; color: var(--fg3); }
.cat__fam li.pro b { color: var(--lp-accent); }
.cat__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.cat__grid li { display: grid; justify-items: center; gap: 0.75rem; text-align: center; }
.cat__grid img { width: min(6.5rem, 100%); aspect-ratio: 1; }
.cat__grid span { font-weight: 700; }
.cat__grid small { font-size: 0.5625rem; color: var(--fg3); }
.cat__grid li.pro small { color: var(--lp-accent); }
.cat__all { display: inline-block; margin-top: 2.25rem; }

/* 05 signal */
.s-signal { min-height: 150vh; }
.s-signal .wrap { position: sticky; top: 0; height: 100vh; margin-top: calc(-1 * clamp(6.5rem, 20.4vh, 11.5rem)); padding-top: clamp(6.5rem, 20.4vh, 11.5rem); box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; gap: 2rem; }
.s-signal .h2 { font-size: clamp(2.2rem, 3.9vw, 3.5rem); }
.thumbs { display: flex; gap: 0.625rem; margin: clamp(2rem, 8vh, 4.5rem) 0 0; padding: 0; list-style: none; }
.thumbs li { display: grid; gap: 0.5rem; color: var(--fg3); font-size: 0.5625rem; }
.thumbs img { width: 3.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 3px; outline: 1.5px solid transparent; }
.thumbs li.is-on { color: var(--fg); font-weight: 700; }
.thumbs li.is-on img { outline-color: var(--fg); }
.lp .signal__phone { display: none; }
.fams { grid-column: 3; justify-self: end; width: min(22rem, 100%); margin: 0; padding: 0; list-style: none; }
.fams li { padding: 0.875rem 0 1.1rem; border-top: 1px solid var(--line2); color: var(--fg3); line-height: 1.7; transition: color 0.3s; }
.fams li b { display: block; margin-bottom: 0.3rem; color: var(--fg2); }
.fams li.is-on, .fams li.is-on b { color: var(--fg); }
.fams + p { grid-column: 3; justify-self: end; width: min(22rem, 100%); margin: 0; }

/* 06 roll */
.marks { margin: clamp(2rem, 6vh, 3.5rem) 0 0; }
.marks ul { display: flex; gap: 0.625rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.marks li { display: grid; place-items: center; width: 5.5rem; aspect-ratio: 1; border-radius: 4px; background: var(--line2); border: 1px solid var(--line2); color: var(--fg2); }
.marks li.is-on { border-color: var(--fg); }
.marks svg { width: 60%; height: auto; }
.taglabel { position: absolute; left: 50%; top: 30%; color: var(--fg2); }
.roll { padding-top: clamp(5rem, 11vh, 7rem) !important; }
.roll .s__copy { max-width: 60rem; }
.film { position: relative; margin: clamp(2rem, 6vh, 3.5rem) calc(-1 * var(--lp-gutter)) 0; padding: 3.1rem 0 3.4rem; background: var(--lp-sheet); overflow: hidden;
  --perf: repeating-linear-gradient(90deg, transparent 0 0.6rem, var(--lp-paper) 0.6rem 2rem, transparent 2rem 2.94rem); }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 0.8rem; background: var(--perf); border-radius: 2px; opacity: 0.95; }
.film::before { top: 0.9rem; } .film::after { bottom: 0.9rem; }
.film ol { display: flex; gap: 1rem; margin: 0; padding: 0 0 0 2rem; list-style: none; will-change: transform; }
.film li { position: relative; flex: none; width: clamp(8rem, 11.7vw, 10.6rem); aspect-ratio: 169 / 300; border-radius: 2px; overflow: hidden; background: #000; }
.film img { width: 100%; height: 100%; object-fit: cover; }
.film li.yours { outline: 2px solid var(--lp-accent); }
.film li.yours::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.45); }
.film li.yours .snap { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.film__edge { position: absolute; left: 0; right: 0; bottom: 1.95rem; display: flex; gap: 3rem; padding-left: 2rem; color: rgba(226, 226, 214, 0.7); font-size: 0.5625rem; }
.roll__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.acts { display: flex; gap: 0.5rem; }
.acts span { padding: 0.6rem 1.1rem; border: 1px solid var(--fg); border-radius: 4px; font-weight: 700; }
.acts span:last-child { background: var(--fg); color: var(--bg); }

/* 07 local */
.s-local { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 23.75rem)); gap: 2.5rem; margin-top: clamp(2.5rem, 8vh, 4.5rem); }
.plans h3 { margin: 0 0 0.875rem; }
.plans ul { margin: 0; padding: 0; list-style: none; }
.plans li { padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.s-local__note { margin: 2rem 0 0; }
.device { position: relative; width: clamp(15rem, 22.9vw, 20.6rem); aspect-ratio: 330 / 700; padding: 0.75rem; box-sizing: border-box; border-radius: 3.5rem; background: var(--lp-sheet); border: 2px solid #373737; margin-top: -5.5rem; }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 2.8rem; }
.device::after { content: ""; position: absolute; left: 50%; top: 1.5rem; width: 28%; height: 1.7rem; transform: translateX(-50%); border-radius: 1rem; background: #000; }

/* 08 cut */
.s-cut { display: flex; flex-direction: column; padding-bottom: 0; }
.s-cut .label { color: var(--fg); margin-bottom: 1.25rem; }
.s-cut .lead { color: var(--fg); margin-top: clamp(4rem, 13vh, 7.5rem); }
.s-cut__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.qr { display: none; }
.foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 3rem; margin-top: auto; padding: 1.5rem 0 4.6rem; border-top: 1px solid var(--fg); }
.foot svg { display: block; height: 0.94rem; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; justify-content: center; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- holding page ---------- */
.hold { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--lp-gutter); box-sizing: border-box; position: relative; overflow: hidden; }
.hold__stroke { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hold__path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hold-motion .hold__path { animation: hold-draw 2.4s cubic-bezier(0.3, 0.1, 0.2, 1) 0.25s both; }
@keyframes hold-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
#trail { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hold > .h1, .hold > .lead, .hold__state { position: relative; z-index: 2; }
.hold .lead { margin-top: 2.2rem; max-width: 26em; }
.hold__state { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 2.75rem 0 0; padding: 0; list-style: none; color: var(--fg2); }
.hold__state li:first-child { color: var(--fg); font-weight: 700; }
.hud__ig { position: absolute; top: clamp(1.4rem, 4.4vh, 2.5rem); right: var(--lp-edge); color: var(--lp-accent); }
.hud__foot { position: absolute; right: var(--lp-edge); bottom: clamp(1.6rem, 4.4vh, 2.5rem); display: flex; gap: 1.75rem; color: var(--fg2); }
.hud__foot a { text-decoration: none; }
.hud__foot a:hover, .hud__ig:hover { text-decoration: underline; }

/* ---------- motion: entrances and things that never quite sit still ---------- */
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.lines .ln > span { display: block; transform: translateY(108%) rotate(2.5deg); transform-origin: 0 100%; transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i, 0) * 110ms + 60ms); }
.lines.is-in .ln > span { transform: none; }
.rv { opacity: 0; transform: translateY(1.4rem); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
.rv.is-in { opacity: 1; transform: none; }
.cat__grid .rv { transform: translateY(1.4rem) scale(0.7); }
.cat__grid .rv.is-in { transform: none; }

@keyframes lp-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.15; } }
@keyframes lp-bob { 50% { translate: 0 -0.45rem; rotate: 7deg; } }
@keyframes lp-spin { to { rotate: 360deg; } }
@keyframes lp-nudge { 50% { translate: 0 0.35rem; } }
@keyframes lp-run { to { transform: translate3d(-50%, 0, 0); } }
@keyframes lp-drift { to { translate: -7rem 0; } }
@keyframes lp-pulse { 50% { scale: 1.9; opacity: 0.5; } }
.hud__rec:not(.is-stopped) i { animation: lp-blink 1.1s steps(1) infinite; }
.cta::before { animation: lp-pulse 1.8s ease-in-out infinite; }
.scrollhint { animation: lp-nudge 1.6s ease-in-out infinite; }
.cat__grid img { animation: lp-bob 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.42s); transition: scale 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.cat__grid li:hover img { scale: 1.22; }
.reel__ball img { animation: lp-spin 14s linear infinite; }
.sim__mats img { transition: scale 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), outline-color 0.2s; }
.sim__mats button:hover img { scale: 1.12; }
.thumbs img { transition: scale 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.thumbs li.is-on img { scale: 1.14; }
.film ol { animation: lp-drift 11s ease-in-out infinite alternate; }
.device { animation: lp-bob 7s ease-in-out infinite; }
.marks li.is-on svg { animation: lp-nudge 1.4s ease-in-out infinite; }

.ticker { overflow: hidden; padding: clamp(2.5rem, 9vh, 6rem) 0; white-space: nowrap; }
.ticker__run { display: inline-flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); padding-right: clamp(1.25rem, 3vw, 3rem); animation: lp-run 38s linear infinite; will-change: transform; }
.ticker span { font-size: clamp(3.5rem, 11vw, 10rem); line-height: 1; letter-spacing: -0.04em; }
.ticker span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--fg2); }
.ticker img { width: clamp(3rem, 8vw, 7.5rem); aspect-ratio: 1; animation: lp-spin 9s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}

/* ---------- static mode: reduced motion, no WebGL, no JS ---------- */
.static #gl, .static .scene-bg { display: none; }
.static .lp .s-draw[data-theme] { background: linear-gradient(rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0.5)), #111 url("/assets/landing/posters/street.jpg") center / cover no-repeat; }
.static .s[data-theme], .static .beat[data-theme] { background: var(--bg); color: var(--fg); }
.static .s, .static .beat { isolation: isolate; }
.static .lp .poster { display: block; position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.static .sim__ctl, .static .sim__mats, .static .sim__hint { display: none; }
.static .lp .signal__phone { display: block; width: min(20rem, 60%); margin: 0 auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 1.5rem; border: 2px solid #373737; }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .hud__ticks { left: 0.4rem; }
  .hud__ticks a { padding: 0.55rem 0.6rem 0.55rem 0; }
  .hud__ticks a::before { width: 0.25rem; height: 0.25rem; border-radius: 50%; }
  .hud__ticks a[aria-current="true"]::before { width: 0.25rem; height: 1.6rem; border-radius: 2px; }
  .hud__read, .hud__date, .hud__cross { display: none; }
  .hud__cta { font-size: 0.5625rem; padding: 0.55rem 0.85rem; }
  .s { padding-top: clamp(6rem, 15vh, 8rem); }
  .s__copy { max-width: none; }
  .s-hero { justify-content: flex-start; padding-top: clamp(7.5rem, 16vh, 9rem); }
  .scrollhint { left: auto; right: var(--lp-edge); transform: none; }
  .steps li { grid-template-columns: 6.5rem 1fr; }
  .scale li { width: 12.5%; }
  .sim__ui { top: calc(100vh - 17rem); }
  .sim__hint { right: 8%; }
  .reel { position: static; display: flex; gap: 1.5rem; align-items: center; margin-top: 3rem; }
  .reel ol { margin: 0; line-height: 1.7; }
  .cat { grid-template-columns: 1fr; }
  .cat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-signal .wrap { display: block; position: static; height: auto; }
  .lp .signal__phone { display: block; width: 62%; margin: 2.5rem auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 1.5rem; border: 2px solid #373737; }
  .fams, .fams + p { width: 100%; margin-top: 2rem; }
  .taglabel { display: none; }
  .film li { width: 34vw; }
  .s-local { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 2rem; }
  .device { display: none; }
  .foot { grid-template-columns: 1fr; padding-bottom: 5rem; }
  .foot nav { justify-content: flex-start; }
  .hud__foot { gap: 1rem; }
  .hud__foot a:last-of-type, .hud__foot span { display: none; }
  .hold { justify-content: flex-start; padding-top: clamp(7.5rem, 16vh, 9rem); }
  .hold__stroke { top: 40%; height: 60%; }
}
@media (min-width: 1100px) { .qr.is-live { display: grid; } }
