/* Redrise Studio — site styles
   Layout: one continuous night sky that warms to dawn at the brief; 12-column grid, 1320px max;
   the 3D phone is the stage and the sun from the logo is the recurring motif. */
:root {
  color-scheme: dark;
  --night: #09080b;      /* page ground, warm-violet black */
  --night-2: #131016;    /* raised surface */
  --night-3: #1c171d;    /* hover surface */
  --ink: #f4efea;        /* primary text, warm white */
  --ink-2: #bcb2ad;      /* secondary text */
  --ink-3: #8a7f7b;      /* captions, labels */
  --line: rgba(244, 239, 234, 0.13);
  --line-2: rgba(244, 239, 234, 0.24);
  --sun: #f0121a;        /* brand red, the sun */
  --sun-deep: #d90f17;   /* red for filled buttons (AA with white) */
  --ember: #ff5a36;      /* sun glow edge */
  --dawn: #3b0b10;       /* low sky near the horizon */
  --accent: var(--sun);  /* per-film accent in the work section */

  --f-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1320px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--sun); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--night); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--max) + 48px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
  margin: 0;
}
.h2 { font-size: clamp(38px, 5.6vw, 84px); }
.label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.tc { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(240, 18, 26, .18), 0 0 18px rgba(240, 18, 26, .7); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line-2);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em; font-stretch: 105%;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn .i { width: 14px; height: 14px; fill: currentColor; }
.btn-light { --bg: var(--ink); --fg: #0b0a0c; --bd: var(--ink); }
.btn-light:hover { --bg: #fff; }
.btn-red { --bg: var(--sun-deep); --fg: #fff; --bd: var(--sun-deep); }
.btn-red:hover { --bg: #c00c14; --bd: #c00c14; }
.btn-ghost:hover { --bg: rgba(244, 239, 234, .06); --bd: var(--ink-2); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
/* the Redrise mark (sun over the wave) inside buttons; the sun rises on hover */
.btn-mark { width: 40px; height: auto; flex: none; overflow: visible; margin-right: -4px; }
.btn-small .btn-mark { width: 34px; margin-right: -2px; }
.btn-mark .bm-sun { fill: var(--sun); transition: transform .5s var(--ease); }
.btn-mark .bm-wave { fill: currentColor; stroke: currentColor; stroke-width: 10; stroke-linejoin: round; }
.btn-small .btn-mark .bm-wave { stroke-width: 13; }
.btn:hover .bm-sun, .btn:focus-visible .bm-sun { transform: translateY(-70px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(9, 8, 11, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner {
  max-width: calc(var(--max) + 48px); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}
@media (min-width: 720px) { .nav-inner { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark { width: 46px; height: auto; overflow: visible; }
.mark-sun { fill: var(--sun); transition: transform .6s var(--ease); }
.mark-wave { fill: var(--ink); }
.brand:hover .mark-sun { transform: translateY(-34px); }
.brand-word { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; font-stretch: 112%; }
.brand-word em { font-style: normal; font-weight: 400; font-stretch: 100%; letter-spacing: 0.16em; font-size: 12px; text-transform: uppercase; color: var(--ink-2); margin-left: 4px; }
.nav-links { display: none; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); position: relative; padding: 6px 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
@media (min-width: 960px) { .nav-links { display: flex; } }
@media (max-width: 420px) { .brand-word em { display: none; } .nav .btn-small { padding: 0 14px; } }

/* ---------- Atmosphere ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 55; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.stage-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease); }
.stage-canvas.is-ready { opacity: 1; }

/* ---------- Sun & horizon ---------- */
.sun {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #ff4a2e 0%, var(--sun) 46%, #c40a13 100%);
  box-shadow: 0 0 80px 10px rgba(240, 18, 26, .45), 0 0 260px 80px rgba(240, 18, 26, .22), 0 0 520px 200px rgba(255, 90, 54, .08);
  will-change: transform;
}
.horizon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 17%; min-height: 110px; }
.horizon-ground { fill: var(--night); }
.horizon-swoosh { fill: none; stroke-width: 5px; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(700px, 100svh, 1000px);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  overflow: hidden;
}
.hero-sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at var(--sun-x, 72%) 78%, rgba(240, 18, 26, .26), transparent 70%),
    radial-gradient(90% 60% at 50% 100%, var(--dawn), transparent 75%),
    linear-gradient(180deg, #060508 0%, #0b080c 55%, #140a0e 100%);
}
.sun-hero {
  --size: min(600px, 44vw);
  width: var(--size); height: var(--size);
  left: var(--sun-x, 72%); top: var(--sun-y, 56%);
  transform: translate(-50%, calc(-50% - var(--rise, 0px)));
}
.sun-glitter {
  position: absolute; left: var(--sun-x, 72%); bottom: 0; width: min(380px, 30vw); height: 20%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(240, 18, 26, .55) 0 2px, transparent 2px 9px);
  -webkit-mask-image: radial-gradient(50% 100% at 50% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(50% 100% at 50% 0%, #000 0%, transparent 100%);
  opacity: .5; filter: blur(1px);
}
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: center; padding-block: 12px 0;
}
.hero-copy { grid-column: 1 / -1; position: relative; z-index: 3; }
.hero-title { font-size: clamp(54px, 7.3vw, 124px); margin: 0 0 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero-title .line > span { display: inline-block; }
.accent-word { color: var(--ink); position: relative; }
.accent-word::after {
  content: ""; position: absolute; left: .02em; right: .1em; bottom: .02em; height: .085em;
  background: var(--sun); border-radius: 2px; transform-origin: left; transform: scaleX(1);
}
.lede { max-width: 33em; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); margin: 0 0 28px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); max-width: 640px; }
.hero-facts li { padding: 16px 16px 0 0; display: grid; gap: 2px; min-width: 0; }
.hero-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts b { font-weight: 700; font-size: 15px; font-stretch: 110%; }
.hero-facts span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 559px) { .hero-facts b { font-size: 13.5px; } .hero-facts span { font-size: 12px; } .hero-facts li { padding-right: 10px; } .hero-facts li + li { padding-left: 10px; } }

.hero-stage { grid-column: 1 / -1; position: relative; display: grid; justify-items: center; padding-top: 32px; }
.phone-slot {
  position: relative; height: clamp(420px, 64vh, 640px); aspect-ratio: 1.06 / 1.807; max-width: 100%;
  touch-action: pan-y; outline: none;
}
.hero .phone-slot { cursor: grab; }
.hero .phone-slot.is-dragging { cursor: grabbing; }
.drag-hint { margin: 18px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.drag-hint::before, .drag-hint::after { content: ""; width: 22px; height: 1px; background: var(--line-2); }
html:not(.has-gl) .drag-hint { display: none; }

@media (min-width: 960px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-stage { grid-column: 8 / -1; padding-top: 0; }
}

/* HUD */
.hud {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--line); margin-top: 12px; padding-bottom: 6px;
}
.hud-cell { display: grid; gap: 2px; padding: 14px 16px 14px 0; min-width: 0; background: none; border: 0; text-align: left; }
.hud-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.hud-value { font-family: var(--f-mono); font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 8px; }
.hud-spec { display: none; }
.sound-toggle { cursor: pointer; }
.sound-toggle:hover .hud-value { color: #fff; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.eq i { width: 2px; height: 3px; background: var(--ink-2); border-radius: 1px; }
[aria-pressed="true"] .eq i { background: var(--sun); animation: eq 0.9s var(--ease-in-out) infinite; }
[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 11px; } }
@media (min-width: 720px) {
  .hud { grid-template-columns: 2.2fr 1.1fr 1.1fr .8fr; }
  .hud-cell + .hud-cell { padding-left: 16px; border-left: 1px solid var(--line); }
  .hud-spec { display: grid; }
}
@media (max-width: 719px) { .hud-cell:nth-child(n+3) { border-top: 1px solid var(--line); } .hud-cell:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } }
@media (max-width: 719px) { .hero .horizon { bottom: 150px; } .hero-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 151px; background: var(--night); } .hero .sun-glitter { bottom: 150px; } }

/* Load sequence: lines rise in from a mask (runs once on load, not on scroll) */
.js .hero-title .line > span { animation: rise 1.1s var(--ease) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.js .accent-word::after { animation: draw 1s .7s var(--ease) both; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- CSS device (fallback, inline & flat players) ---------- */
.device {
  position: relative; width: 100%; height: 100%;
  border-radius: 9.5% / 5.6%;
  padding: 4.2%;
  background: linear-gradient(145deg, #2b292e, #111013 40%, #1e1c21 70%, #0c0b0d);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), inset 0 0 0 4px #050406, 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6);
}
.device video { width: 100%; height: 100%; object-fit: cover; border-radius: 6.2% / 3.5%; background: #000; }
.device-fallback { display: none; }
html.no-gl .device-fallback { display: block; }
.device-inline { display: none; }

/* ---------- Statement ---------- */
.statement { padding-block: clamp(110px, 16vw, 220px) clamp(80px, 12vw, 160px); position: relative; }
.statement-text {
  margin: 0; max-width: 21em;
  font-family: var(--f-display); font-stretch: 108%; font-weight: 600;
  font-size: clamp(30px, 4.3vw, 66px); line-height: 1.1; letter-spacing: -0.025em;
  text-wrap: balance;
}
.statement-text .w { transition: color .35s linear; }
.js .statement-text .w { color: rgba(244, 239, 234, .16); }
.js .statement-text .w.is-lit { color: var(--ink); }
.statement-text .w.is-key.is-lit { color: var(--sun); }

/* ---------- Work ---------- */
.work { position: relative; padding-top: clamp(40px, 6vw, 80px); overflow-x: clip; }
.work-head { display: grid; gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.work-note { margin: 0; color: var(--ink-3); font-size: 15px; max-width: 30em; }
@media (min-width: 960px) { .work-head { grid-template-columns: 7fr 5fr; } }

.work-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.chapters { grid-column: 1 / -1; grid-row: 1; }
.work-stage { display: none; }
.chapter { padding-block: 40px 72px; border-top: 1px solid var(--line); transition: opacity .6s var(--ease); }
.chapter-kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; display: flex; gap: 14px; align-items: center; }
.chapter-kicker .tc { color: var(--ink); padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; letter-spacing: .06em; }
.chapter-title { font-size: clamp(58px, 9vw, 132px); line-height: .9; }
.chapter-sub { font-family: var(--f-display); font-style: italic; font-weight: 300; font-stretch: 100%; font-size: clamp(22px, 2.4vw, 34px); color: var(--ink-2); margin: 10px 0 28px; letter-spacing: -0.01em; }
.chapter-text { max-width: 30em; color: var(--ink-2); margin: 0 0 22px; text-wrap: pretty; }
.craft { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink); margin: 0 0 22px; }
.craft i { font-style: normal; color: var(--ink-3); margin: 0 6px; }
.palette { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.palette li { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.palette li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.device-inline { margin: 0 auto 28px; width: min(300px, 78%); aspect-ratio: 1.06 / 1.807; height: auto; }
@media (max-width: 959px) { .device-inline { display: block; } }

@media (min-width: 960px) {
  .chapters { grid-column: 1 / span 6; }
  .chapter { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; border-top: 0; padding-block: 80px; }
  .js .chapter:not(.is-active) { opacity: .28; }
  .work-stage {
    display: grid; place-items: center; grid-column: 7 / -1; grid-row: 1;
    position: sticky; top: 0; height: 100vh; height: 100svh;
  }
  .work-stage .phone-slot { height: min(72vh, 680px); }
  .stage-glow {
    position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%);
    transition: background .9s var(--ease); pointer-events: none; z-index: 0;
  }
  .stage-hud {
    position: absolute; left: 8%; right: 8%; bottom: max(28px, 4vh); display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
    font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); letter-spacing: .06em; z-index: 2;
  }
  .stage-film { text-transform: uppercase; letter-spacing: .14em; color: var(--ink); }
  .stage-bar { height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
  .stage-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: background .6s; }
}

/* ---------- Anatomy ---------- */
.anatomy { padding-block: clamp(100px, 14vw, 200px) clamp(80px, 10vw, 140px); position: relative; }
.anatomy-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.anatomy-player { grid-column: 1 / -1; display: grid; justify-items: center; gap: 0; order: 2; }
.anatomy-copy { grid-column: 1 / -1; order: 1; }
.device-flat { width: min(340px, 82vw); aspect-ratio: 1.06 / 1.807; height: auto; }
.player-toggle {
  position: absolute; right: 9%; bottom: 6%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(9, 8, 11, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.player-toggle svg { width: 16px; height: 16px; fill: var(--ink); }
.player-toggle .ic-pause { display: none; }
.player-toggle.is-playing .ic-play { display: none; }
.player-toggle.is-playing .ic-pause { display: inline; }
.scrub { position: relative; width: min(560px, 100%); height: 46px; margin-top: 26px; cursor: pointer; touch-action: none; }
.scrub-track { position: absolute; left: 0; right: 0; top: 20px; height: 6px; display: flex; gap: 3px; }
.scrub-track span { height: 100%; background: rgba(244, 239, 234, .16); border-radius: 2px; transition: background .3s; position: relative; overflow: hidden; }
.scrub-track span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.scrub-track span.is-active::after { background: var(--sun); }
.scrub-head { position: absolute; top: 4px; bottom: 4px; width: 0; left: 0; }
.scrub-head::before { content: ""; position: absolute; left: -1px; top: 4px; bottom: 0; width: 2px; background: var(--ink); border-radius: 1px; }
.scrub-head .tc { position: absolute; bottom: calc(100% - 2px); left: 0; transform: translateX(-50%); font-size: 11px; color: var(--ink); background: var(--night); padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.scrub:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.scrub-scale { width: min(560px, 100%); display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.anatomy-intro { color: var(--ink-2); max-width: 30em; margin: 26px 0 34px; }
.beats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: none; }
.beats li { border-bottom: 1px solid var(--line); }
.beat {
  width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding: 16px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink-3);
  transition: color .3s var(--ease);
}
.beat .tc { font-size: 12.5px; }
.beat b { display: block; font-weight: 700; font-stretch: 112%; font-size: 18px; color: var(--ink-2); transition: color .3s; }
.beat span.beat-what { display: block; font-size: 14.5px; margin-top: 2px; color: var(--ink-3); }
.beat span.beat-why { display: block; font-size: 14.5px; color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .35s, margin .3s; }
.beat:hover b { color: var(--ink); }
.beat.is-active { color: var(--ink); }
.beat.is-active b { color: var(--ink); }
.beat.is-active .tc { color: var(--sun); }
.beat.is-active span.beat-why { max-height: 6em; opacity: 1; margin-top: 8px; }
@media (min-width: 960px) {
  .anatomy-player { grid-column: 1 / span 5; order: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
  .anatomy-copy { grid-column: 7 / -1; order: 0; }
  .device-flat { width: min(330px, 100%); }
}

/* ---------- Process ---------- */
.process { padding-block: clamp(90px, 12vw, 170px); background: linear-gradient(180deg, transparent, rgba(244, 239, 234, .02) 30%, transparent); }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 0 32px; border-bottom: 1px solid var(--line); position: relative; display: grid; gap: 10px; align-content: start; }
.step-n { font-size: 12px; color: var(--sun); letter-spacing: .1em; }
.step h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 750; font-stretch: 115%; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step .step-out { color: var(--ink-3); font-size: 15px; padding-top: 12px; margin-top: 6px; border-top: 1px dashed var(--line); }
.step .step-out b { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .step { border-bottom: 0; padding-top: 36px; }
  .step::before { content: ""; position: absolute; left: 0; right: -32px; top: 0; height: 1px; background: var(--line-2); }
  .step:last-child::before { right: 0; }
  .step::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--night); border: 1px solid var(--ink-2); }
  .step:nth-child(2)::after { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 14px rgba(240, 18, 26, .8); }
}
.needs { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.needs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; }
.needs li { font-size: 16px; color: var(--ink); }
.needs li:not(:last-child)::after { content: "/"; color: var(--ink-3); margin: 0 14px; }
.needs .label { margin: 0; }
.needs-note { margin: 0; color: var(--ink-3); font-size: 14.5px; }
@media (min-width: 960px) { .needs { grid-template-columns: 3fr 9fr; align-items: baseline; } .needs-note { grid-column: 2; } }

/* ---------- Pilot ---------- */
.pilot { padding-block: clamp(90px, 12vw, 170px); position: relative; }
.pilot::before { content: ""; position: absolute; inset: 10% 0 auto auto; width: 50%; height: 70%; background: radial-gradient(closest-side, rgba(240, 18, 26, .12), transparent); pointer-events: none; }
.pilot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.pilot-intro, .ticket, .assurances, .custom { grid-column: 1 / -1; min-width: 0; }
.pilot-lede { color: var(--ink-2); max-width: 30em; margin: 24px 0; font-size: 18px; }
.capacity { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 15px; max-width: 32em; margin: 0; }
.capacity .dot { transform: translateY(-1px); }
.ticket {
  --pad: clamp(24px, 3vw, 40px);
  position: relative; padding: var(--pad);
  background: linear-gradient(180deg, rgba(244, 239, 234, .06), rgba(244, 239, 234, .025));
  border: 1px solid var(--line-2); border-radius: 22px;
  -webkit-mask: radial-gradient(circle 14px at 0 calc(var(--pad) + 112px), transparent 13.5px, #000 14px) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% calc(var(--pad) + 112px), transparent 13.5px, #000 14px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 calc(var(--pad) + 112px), transparent 13.5px, #000 14px) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% calc(var(--pad) + 112px), transparent 13.5px, #000 14px) right / 51% 100% no-repeat;
}
.ticket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; height: 112px; border-bottom: 1px dashed var(--line-2); margin-bottom: 24px; }
.ticket-name { margin: 0; font-weight: 700; font-stretch: 115%; font-size: 19px; }
.ticket-note { margin: 4px 0 0; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.price { margin: -6px 0 0; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; line-height: 1; display: flex; align-items: flex-start; letter-spacing: -0.04em; }
.price .cur { font-size: 28px; margin-top: 6px; margin-right: 2px; color: var(--ink-2); font-weight: 600; }
.price .num { font-size: clamp(64px, 7vw, 92px); }
.spec { margin: 0 0 28px; display: grid; }
.spec div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15.5px; }
.ticket-fine { margin: 16px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.assurances { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.assurances li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.assurances b { color: var(--ink); font-weight: 650; display: block; }
.assurances a { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); text-decoration: none; border-bottom: 1px solid var(--line-2); margin-left: 4px; white-space: nowrap; }
.assurances a:hover { color: var(--ink); }
.custom { display: grid; gap: 22px; padding-top: 36px; border-top: 1px solid var(--line); align-items: start; }
.custom .label { margin-bottom: 10px; }
.custom-title { margin: 0 0 8px; font-size: 26px; font-weight: 750; font-stretch: 115%; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.custom-title span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.custom p { margin: 0; color: var(--ink-2); max-width: 32em; }
.extras { font-size: 15px; line-height: 1.9; }
.extras .label { display: block; margin-bottom: 4px; }
.extras i { font-style: normal; color: var(--ink-3); margin: 0 8px; }
@media (min-width: 960px) {
  .pilot-intro { grid-column: 1 / span 5; grid-row: 1; }
  .assurances { grid-column: 1 / span 5; grid-row: 2; align-self: end; }
  .ticket { grid-column: 7 / -1; grid-row: 1 / span 2; }
  .custom { grid-column: 1 / -1; grid-template-columns: 4fr 5fr auto; column-gap: 40px; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(80px, 10vw, 150px); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.faq-grid > div:first-child { grid-column: 1 / -1; }
.faq-list { grid-column: 1 / -1; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .faq-grid > div:first-child { grid-column: 1 / span 4; } .faq-list { grid-column: 6 / -1; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; font-stretch: 108%; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--ink-2); transition: transform .35s var(--ease), background .3s; }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details[open] summary::after, .faq details[open] summary::before { background: var(--sun); }
.faq summary:hover { color: #fff; }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 40em; }
.faq details p a { color: var(--ink); }

/* ---------- Start / brief ---------- */
.start { position: relative; padding-block: clamp(100px, 13vw, 190px) clamp(140px, 16vw, 240px); overflow: hidden; }
.dawn { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 50% at 70% 100%, rgba(240, 18, 26, .26), transparent 70%), linear-gradient(180deg, var(--night) 0%, #120a0d 60%, #1d0a0e 100%); }
.sun-dawn { --size: min(760px, 92vw); width: var(--size); height: var(--size); left: 50%; bottom: calc(var(--size) * -0.66); transform: translate(-50%, calc(var(--rise, 0px) * -1)); }
@media (min-width: 960px) { .sun-dawn { left: 76%; } }
.horizon-dawn { height: 22%; }
.start-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.start-copy { grid-column: 1 / -1; }
.start-copy > p:not(.label) { color: var(--ink-2); max-width: 28em; margin: 26px 0 30px; font-size: 18px; }
.after-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 28em; border-top: 1px solid var(--line); }
.after-list li { display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.after-list .tc { color: var(--sun); font-size: 12px; padding-top: 3px; }
.brief {
  grid-column: 1 / -1; min-width: 0;
  background: rgba(13, 11, 15, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(22px, 3.2vw, 44px);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9);
}
@media (min-width: 960px) { .start-copy { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 32px); } .brief { grid-column: 7 / -1; } }
.brief-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; }
.brief-progress span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 12px; border-top: 2px solid var(--line); transition: color .3s, border-color .3s; }
.brief-progress span.is-active { color: var(--ink); border-top-color: var(--sun); }
.brief-progress span.is-done { color: var(--ink-2); border-top-color: var(--ink-2); }
.brief-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.brief-step.is-active { display: grid; gap: 22px; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { transform: translateY(10px); } to { transform: none; } }
.brief legend { padding: 0; margin-bottom: 4px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 750; font-stretch: 115%; letter-spacing: -0.02em; float: left; width: 100%; }
.brief legend + * { clear: both; }
.choice-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .choice-row { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-body { display: grid; gap: 10px; height: 100%; padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; transition: border-color .25s, background .25s, box-shadow .25s; }
.choice-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.choice-top b { font-weight: 700; font-stretch: 110%; }
.choice-top .tc { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.choice-text { font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.choice:hover .choice-body { border-color: var(--ink-3); background: rgba(244, 239, 234, .03); }
.choice input:checked + .choice-body { border-color: var(--sun); background: rgba(240, 18, 26, .08); box-shadow: inset 0 0 0 1px var(--sun); }
.choice input:checked + .choice-body .tc { color: var(--ink); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--ink); outline-offset: 3px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.opt { font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; }
.field input, .field textarea {
  width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 0 12px; font-size: 17px; color: var(--ink); outline: none; transition: border-color .25s;
  resize: vertical;
}
.field textarea { min-height: 84px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 239, 234, .3); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--sun); }
.field-error { margin: 0; font-size: 13px; color: #ff6b6f; min-height: 0; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--ink-3); border-radius: 6px; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--sun-deep); border-color: var(--sun-deep); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--ink); }
.consent-note { margin: -6px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.consent-note a { color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.form-status { margin: 0; font-size: 14px; color: var(--ink-2); }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff6b6f; }
.brief-done { display: grid; gap: 14px; outline: none; }
.brief-done .display { font-size: clamp(44px, 5vw, 72px); }
.brief-done p { margin: 0; color: var(--ink-2); }
.brief-done b { color: var(--ink); }
.done-ref { font-size: 12px; color: var(--ink-3) !important; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--night); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-logo { width: min(560px, 80%); height: auto; margin-bottom: clamp(40px, 6vw, 72px); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 4fr 2fr 4fr 3fr; } }
.footer-grid p { margin: 0 0 8px; color: var(--ink-2); font-size: 15px; }
.footer-grid nav, .footer-grid > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
.footer-grid a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer .seller { font-size: 13px !important; color: var(--ink-3) !important; margin-top: 10px !important; max-width: 30em; }
.footer .mail { font-family: var(--f-mono); font-size: 13px; color: var(--ink) !important; user-select: all; word-break: break-all; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: clamp(40px, 6vw, 72px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ---------- Cursor tag ---------- */
.cursor-tag {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--night); padding: 7px 12px; border-radius: 999px;
  opacity: 0; transform: translate(-50%, -150%) scale(.8); transition: opacity .25s, transform .25s var(--ease);
}
.cursor-tag.is-on { opacity: 1; transform: translate(-50%, -150%) scale(1); }

/* ---------- Legal pages ---------- */
.legal-hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(48px, 8vw, 110px)); padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.legal-hero .display { font-size: clamp(48px, 8vw, 120px); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }
.legal-meta b { color: var(--ink-3); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; margin-right: 8px; }
.legal-sun { position: absolute; right: -6vw; top: 30%; width: 34vw; max-width: 460px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #ff4a2e, var(--sun) 46%, #c40a13); opacity: .9; box-shadow: 0 0 140px 40px rgba(240, 18, 26, .25); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 56%); mask-image: linear-gradient(180deg, #000 55%, transparent 56%); z-index: 0; }
.legal-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px); }
.legal-toc { grid-column: 1 / -1; margin-bottom: 32px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--ink-3); text-decoration: none; font-size: 14px; border-left: 1px solid var(--line); padding-left: 14px; transition: color .2s, border-color .2s; }
.legal-toc a:hover, .legal-toc a.is-current { color: var(--ink); border-left-color: var(--sun); }
.legal-text { grid-column: 1 / -1; max-width: 68ch; min-width: 0; }
@media (min-width: 960px) {
  .legal-toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; margin: 0; }
  .legal-text { grid-column: 5 / -1; }
}
.legal-text p { color: var(--ink-2); margin: 0 0 1.1em; font-size: 17px; line-height: 1.7; }
.legal-text h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 750; font-stretch: 112%; letter-spacing: -0.015em; margin: 2.2em 0 .8em; scroll-margin-top: calc(var(--nav-h) + 24px); color: var(--ink); }
.legal-text h2:first-of-type { margin-top: 1.4em; }
.legal-notice { border-left: 2px solid var(--sun); padding: 4px 0 4px 18px; color: var(--ink) !important; }
.legal-seller { font-family: var(--f-mono); font-size: 13.5px !important; line-height: 1.7 !important; color: var(--ink-2) !important; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(244, 239, 234, .03); }
.legal-back { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .statement-text .w { color: var(--ink); }
}

@media (min-width: 960px) { .statement-text { max-width: min(21em, 54vw); } }

/* ---------- Studio ---------- */
.studio { padding-block: clamp(90px, 12vw, 170px); position: relative; border-top: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(48px, 6vw, 80px); align-items: start; }
.studio-head { grid-column: 1 / -1; min-width: 0; }
.studio-text { display: grid; gap: 16px; margin-top: 30px; max-width: 36em; }
.studio-text p { margin: 0; color: var(--ink-2); }
.studio-text .studio-lead { color: var(--ink); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; letter-spacing: -0.005em; }
.slate {
  grid-column: 1 / -1; margin: 0; position: relative; z-index: 1; max-width: 520px; width: 100%; justify-self: start;
  background: linear-gradient(180deg, #17141a, #0f0d11); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
}
.slate-top { position: relative; height: 64px; padding: 14px 14px 0; }
.slate-bar, .slate-arm { height: 24px; border-radius: 4px; }
.slate-bar { position: absolute; left: 14px; right: 14px; bottom: 0; background: repeating-linear-gradient(-55deg, var(--ink) 0 18px, #0b0a0c 18px 36px); }
.slate-arm {
  position: absolute; left: 14px; right: 14px; bottom: 28px;
  background: repeating-linear-gradient(55deg, var(--sun) 0 18px, #0b0a0c 18px 36px);
  transform-origin: 6px 100%; transform: rotate(-11deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .45);
}
.slate-arm::before { content: ""; position: absolute; left: -2px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #2a272d; border: 2px solid var(--ink-3); }
.slate.is-clap .slate-arm { animation: clap .7s var(--ease) both; }
.slate.is-clap .slate-body { animation: thud .7s var(--ease) both; }
@keyframes clap { 0% { transform: rotate(-11deg); } 28% { transform: rotate(0deg); } 40% { transform: rotate(-2.5deg); } 55%, 70% { transform: rotate(0deg); } 100% { transform: rotate(-11deg); } }
@keyframes thud { 0%, 26% { transform: none; } 32% { transform: translateY(2px); } 46% { transform: none; } }
.slate-body { padding: 18px 20px 20px; display: grid; gap: 0; margin-top: 8px; }
.slate-row-3 { display: grid; grid-template-columns: 1fr 1.6fr 1fr; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 14px; }
.slate-row-3 > div { padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.slate-row-3 > div + div { border-left: 1px solid var(--line-2); }
.slate span, .slate dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.slate-row-3 b { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.2; overflow-wrap: anywhere; }
.slate-fields { margin: 0; display: grid; }
.slate-fields div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 10px 2px; border-bottom: 1px dashed var(--line-2); align-items: baseline; }
.slate-fields div:last-child { border-bottom: 0; }
.slate-fields dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.slate-hint { padding: 0 20px 16px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.slate:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.commit { grid-column: 1 / -1; display: grid; gap: 40px; border-top: 1px solid var(--line); padding-top: 36px; }
.commit-col ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.commit-col li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.commit-col li b { color: var(--ink); font-weight: 650; }
.commit-col li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px rgba(240, 18, 26, .6); }
.commit-no li::before { background: none; box-shadow: none; border-radius: 0; width: 13px; height: 1.5px; top: 26px; background: var(--ink-3); transform: rotate(-45deg); }
.commit-no li::after { content: ""; position: absolute; left: 2px; top: 26px; width: 13px; height: 1.5px; background: var(--ink-3); transform: rotate(45deg); }
.commit-no li b { text-decoration: line-through; text-decoration-color: rgba(240, 18, 26, .8); text-decoration-thickness: 1.5px; }
@media (min-width: 760px) { .commit { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 960px) {
  .studio-head { grid-column: 1 / span 7; }
  .studio-head { grid-row: 1; }
  .slate { grid-column: 8 / -1; grid-row: 1; justify-self: end; align-self: start; margin-top: 40px; }
  .commit { grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .slate-arm { transform: rotate(0deg); } }

/* ---------- Multi-page ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.nav { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation: none; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.first { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(48px, 8vw, 110px)) !important; }
.page-title { font-size: clamp(46px, 7vw, 108px); }
.page-head { padding-bottom: clamp(24px, 4vw, 48px); }
.page-head-grid { display: grid; gap: 24px; align-items: end; }
@media (min-width: 960px) { .page-head-grid { grid-template-columns: 7fr 5fr; } }
.page-work .work { padding-top: 0; }
.studio.first { border-top: 0; }

/* Films teaser on the home page */
.reel { padding-block: clamp(70px, 10vw, 140px); border-top: 1px solid var(--line); }
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.reel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); }
.reel-card { display: grid; gap: 18px; text-decoration: none; color: inherit; position: relative; }
.reel-card::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.85);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; z-index: 0;
}
.reel-card:hover::before, .reel-card:focus-visible::before, .reel-card.is-playing::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.device-card { display: block; height: auto; aspect-ratio: 1.06 / 1.807; width: 100%; position: relative; z-index: 1; transition: transform .6s var(--ease); }
.reel-card:hover .device-card { transform: translateY(-8px) rotate(-1deg); }
.reel-info { display: grid; gap: 2px; position: relative; z-index: 1; }
.reel-info b { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.02em; }
.reel-info span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.reel .work-note { margin-top: 32px; }
@media (max-width: 719px) {
  .reel-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .reel-row::-webkit-scrollbar { display: none; }
  .reel-card { scroll-snap-align: start; }
}

/* Explore index on the home page */
.explore { padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px); }
.explore-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.explore-list li { border-bottom: 1px solid var(--line); }
.explore-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center;
  padding: clamp(22px, 3vw, 36px) 0; text-decoration: none; color: inherit; position: relative;
}
.ex-title { font-family: var(--f-display); font-stretch: 122%; font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-size: clamp(44px, 7.5vw, 112px); transition: transform .5s var(--ease), color .3s; }
.ex-desc { grid-column: 1; color: var(--ink-3); font-size: 16px; max-width: 34em; transition: color .3s; }
.ex-go { grid-column: 2; grid-row: 1 / span 2; width: clamp(52px, 6vw, 76px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .35s var(--ease), border-color .35s, transform .5s var(--ease); }
.ex-go svg { width: 40%; height: 40%; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.explore-list a:hover .ex-title, .explore-list a:focus-visible .ex-title { transform: translateX(14px); }
.explore-list a:hover .ex-desc { color: var(--ink-2); }
.explore-list a:hover .ex-go, .explore-list a:focus-visible .ex-go { background: var(--sun); border-color: var(--sun); transform: rotate(-45deg); }
.explore-list a:hover .ex-go svg { stroke: #fff; }
@media (min-width: 960px) {
  .explore-list a { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; }
  .ex-desc { grid-column: 2; grid-row: 1; }
  .ex-go { grid-column: 3; grid-row: 1; }
}

/* Closing band on content pages */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(100px, 13vw, 180px) clamp(170px, 20vw, 280px); border-top: 1px solid var(--line); }
.cta-inner { display: grid; justify-items: start; gap: 22px; }
.cta-inner .label { margin: 0; }
.cta-inner > p:not(.label) { margin: 0; color: var(--ink-2); max-width: 30em; font-size: 18px; }
.cta-band .sun-dawn { --size: min(700px, 92vw); }
@media (min-width: 960px) { .cta-band .sun-dawn { left: 74%; } }
.page-start .page-title { font-size: clamp(44px, 5.8vw, 92px); }
.legal-seller { scroll-margin-top: calc(var(--nav-h) + 24px); }
