/* ============================================================
   clipgrid.io landing — "the page is a cut"
   Suite dark only. Phone-first: base = phone, desktop is the
   @media (min-width: 900px) addition. Built on tokens.css.
   Motion: hidden initial states gate on html.motion (added by
   landing.js only when GSAP is confirmed and motion is allowed)
   so no-JS / no-CDN / ?shot never hides content.
   Spacing sits on the 8px cell. Letter-spacing has three role
   steps: 0.05em (values/timecode), 0.08em (chips/labels),
   0.14em (kickers/slates).
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.shot { scroll-behavior: auto; }
html.motion { scroll-behavior: auto; } /* landing.js drives anchor glides on the brand curve */

/* Lenis owns the wheel on fine pointers (landing.js) */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }

:root {
  --deck-h: 52px;
  --wrap: 1160px;
  --edge: 24px;
  /* the landing's fluid curve — reveals and state dissolves ride this;
     the 24 fps cut grammar stays on the things that measure */
  --lp-ease-flow: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--cg-font-body);
  background: var(--cg-bg);
  color: var(--cg-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--cg-font-mono); font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--cg-font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--cg-sky-ink); text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--cg-sky); color: #0C1114; }
:focus-visible { outline: 2px solid var(--cg-sky-strong); outline-offset: 2px; }
.faq p a, .selfhosted a, .fine a {
  text-decoration: underline; text-underline-offset: 3px;
}
.nw { white-space: nowrap; }

/* ---------- buttons (track.js consent banner reuses these) ---------- */
.btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: var(--cg-r-chip);
  font-family: var(--cg-font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--cg-d-5f) var(--cg-ease-cut), background var(--cg-d-5f) var(--cg-ease-cut),
              border-color var(--cg-d-5f) var(--cg-ease-cut), color var(--cg-d-5f) var(--cg-ease-cut),
              box-shadow var(--cg-d-5f) var(--cg-ease-cut);
}
.btn:active { transform: translateY(1px); transition-duration: 0ms; } /* presses cut, releases ease */
.btn-sky { background: var(--cg-sky); color: #0C1114; }
.btn-sky:hover { background: var(--cg-sky-strong); box-shadow: 0 0 32px rgba(79, 195, 236, 0.35); }
.btn-line { border: 1px solid var(--cg-line-strong); color: var(--cg-text); }
.btn-line:hover { border-color: var(--cg-sky-strong); color: var(--cg-sky-ink); }
.quiet-link {
  color: var(--cg-text-muted); font-size: 14px;
  padding: 12px 8px; margin: -12px -8px;
  transition: color var(--cg-d-5f) var(--cg-ease-cut);
}
.quiet-link:hover { color: var(--cg-sky-ink); }

/* ---------- atmosphere: film grain + sky glow ---------- */
.grain {
  position: fixed; inset: -80px;
  z-index: 20; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
html.shot .grain { display: none; }
/* 8 discrete offsets per 333ms — grain at 24 fps, not a two-frame ping-pong */
@keyframes grain-jump {
  0%     { transform: translate(0, 0); }
  12.5%  { transform: translate(-32px, 16px); }
  25%    { transform: translate(24px, -24px); }
  37.5%  { transform: translate(-16px, -32px); }
  50%    { transform: translate(32px, 24px); }
  62.5%  { transform: translate(-40px, -8px); }
  75%    { transform: translate(16px, 32px); }
  87.5%  { transform: translate(-24px, 8px); }
  100%   { transform: translate(0, 0); }
}

.glow {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%;
}
.glow-a {
  width: 88vw; height: 88vw; max-width: 920px; max-height: 920px;
  top: -12%; right: -30%;
  background: radial-gradient(closest-side,
    rgba(79, 195, 236, 0.13), rgba(79, 195, 236, 0.05) 45%,
    rgba(79, 195, 236, 0.015) 65%, transparent 82%);
}
.glow-b {
  width: 70vw; height: 70vw; max-width: 720px; max-height: 720px;
  bottom: -24%; left: -22%;
  background: radial-gradient(closest-side,
    rgba(143, 217, 242, 0.07), rgba(143, 217, 242, 0.03) 45%,
    rgba(143, 217, 242, 0.01) 65%, transparent 82%);
}
/* mid-page chapters get one faint corner field each — the cut varies */
.how::before, .pricing::before {
  content: ""; position: absolute; z-index: 0;
  width: 60vw; height: 60vw; max-width: 640px; max-height: 640px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(143, 217, 242, 0.05), rgba(143, 217, 242, 0.015) 60%, transparent 80%);
}
.how::before { top: -10%; right: -20%; }
.pricing::before { bottom: -16%; left: -18%; }

/* ---------- the deck: fixed transport bar ---------- */
.deck {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--deck-h);
  z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 0 16px;
  background: rgba(12, 17, 20, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cg-line);
}
.lockup { display: flex; align-items: center; gap: 8px; color: var(--cg-text); flex: 0 0 auto; }
.lockup svg { display: block; }
.lockup span { font-family: var(--cg-font-display); font-weight: 600; font-size: 16px; }
.deck .lockup span { display: none; } /* phone: the mark alone; word returns on desktop */

.ruler-zone { position: relative; flex: 1; height: 100%; }
.ruler {
  position: absolute; inset: 0;
  cursor: ew-resize;
  touch-action: none; /* the ruler only — never the deck, or page scroll dies */
}
.ruler-ticks {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--cg-line-strong) 0 1px, transparent 1px 48px) bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--cg-line) 0 1px, transparent 1px 8px) bottom / 100% 8px no-repeat;
  opacity: 0.9;
}
.ruler-playhead {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 2px; margin-left: -1px;
  background: var(--cg-sky-strong);
  box-shadow: 0 0 10px rgba(79, 195, 236, 0.7);
  transition: box-shadow var(--cg-d-3f) var(--cg-ease-cut);
}
.deck.scrubbing .ruler-playhead { box-shadow: 0 0 18px rgba(79, 195, 236, 1); }
.ruler-ghost {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 1px; background: var(--cg-text-faint);
  opacity: 0; pointer-events: none;
}
.ruler-read {
  position: absolute; top: calc(100% + 8px); left: 0;
  transform: translateX(-50%);
  font-size: 10.5px; letter-spacing: 0.05em;
  color: var(--cg-text); background: var(--cg-bg-inset);
  border: 1px solid var(--cg-line-strong); border-radius: var(--cg-r-chip);
  padding: 2px 8px;
  opacity: 0; pointer-events: none; white-space: nowrap;
}
.ruler-markers { position: absolute; inset: 0; pointer-events: none; }
.rm {
  position: absolute; top: 0; bottom: 0;
  width: 24px; margin-left: -12px;
  background: none; border: 0; cursor: pointer;
  pointer-events: auto;
}
@media (pointer: coarse) {
  .rm { width: 32px; margin-left: -16px; }
}
/* chapter markers wear Resolve's shape: a triangle with a little leg.
   box-shadow dies under clip-path — glows are drop-shadow filters here */
.rm::before {
  content: "";
  position: absolute; left: 50%; bottom: 1px;
  width: 12px; height: 14px; margin-left: -6px;
  background: var(--cg-sky);
  clip-path: polygon(0 0, 100% 0, 58% 55%, 58% 100%, 42% 100%, 42% 55%);
  opacity: 0.55;
  filter: drop-shadow(0 0 0 rgba(143, 217, 242, 0));
  transition: opacity 0.3s var(--lp-ease-flow), transform 0.3s var(--lp-ease-flow),
              filter 0.3s var(--lp-ease-flow);
}
.rm:hover::before { opacity: 1; transform: translateY(-1px); }
.rm-active::before { opacity: 1; filter: drop-shadow(0 0 6px rgba(143, 217, 242, 0.8)); }
.rm-tip {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  font-family: var(--cg-font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--cg-text); background: var(--cg-bg-inset);
  border: 1px solid var(--cg-line-strong); border-radius: var(--cg-r-chip);
  padding: 3px 8px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--cg-d-3f) var(--cg-ease-cut);
}
.rm:hover .rm-tip, .rm:focus-visible .rm-tip { opacity: 1; }

.tc {
  flex: 0 0 auto;
  font-family: var(--cg-font-mono); font-variant-numeric: tabular-nums;
  font-size: 13px; letter-spacing: 0.05em;
  color: var(--cg-text);
  min-width: 7ch; text-align: right;
  transition: color var(--cg-d-3f) var(--cg-ease-cut);
}
.deck.scrubbing .tc { color: var(--cg-sky-ink); }

.deck-cta { display: none; }

.hud {
  position: fixed; top: calc(var(--deck-h) + 16px); left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--cg-text); background: var(--cg-bg-inset);
  border: 1px solid var(--cg-line-strong); border-radius: var(--cg-r-chip);
  padding: 5px 12px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--cg-d-3f) var(--cg-ease-cut);
}
.hud.hud-on { opacity: 1; }

/* ---------- chapters ---------- */
.chapter {
  position: relative; overflow: clip;
  padding: 88px 0;
  scroll-margin-top: calc(var(--deck-h) + 16px);
}
.wrap { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--edge); }

.slate {
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cg-text-faint);
  margin-bottom: 24px;
}
.slate::after { content: ""; flex: 1; height: 1px; background: var(--cg-line); }
html.motion .slate::after {
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s var(--lp-ease-flow) 0.18s;
}
html.motion .slate.on::after { transform: scaleX(1); }
html.shot .slate::after { transform: none; }
.slate-n { color: var(--cg-sky-ink); }
.slate-tc { color: var(--cg-text-muted); }

h2 { font-size: clamp(30px, 6.4vw, 56px); letter-spacing: -0.01em; margin-bottom: 16px; }
.sec-sub { font-size: 16.5px; color: var(--cg-text-muted); max-width: 580px; margin-bottom: 8px; }

/* motion gate: only a motion-enabled page may hide things */
html.motion [data-reveal] { opacity: 0; visibility: hidden; }
html.motion [data-intro] { opacity: 0; visibility: hidden; }
html.motion [data-reveal-group] > * { opacity: 0; visibility: hidden; }
html.motion [data-lock-chip], html.motion [data-lock-h] { opacity: 0; visibility: hidden; }
/* under GSAP the demo states ride the scrub — they dissolve in fluidly,
   in both directions, as the playhead crosses their cue */
html.motion .mock-note, html.motion .mock-snote, html.motion .ps-note,
html.motion .rsv-m {
  transition: opacity 0.5s var(--lp-ease-flow), transform 0.5s var(--lp-ease-flow);
}
html.motion .mock-pin, html.motion .tl-dur { transition: opacity 0.4s var(--lp-ease-flow); }

/* ---------- 00 · open (hero) ---------- */
.hero {
  padding-top: calc(var(--deck-h) + 40px);
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.kicker {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cg-sky-ink); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(40px, 11vw, 124px);
  line-height: 1.02; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero-sub { font-size: 17px; color: var(--cg-text-muted); max-width: 540px; margin-bottom: 24px; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-founding { font-size: 12px; letter-spacing: 0.05em; color: var(--cg-sky-ink); margin-top: 16px; }
.jkl-hint { display: none; }

/* the review-room mock — the product plays under your scroll */
.mock {
  margin-top: 48px;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 88px rgba(79, 195, 236, 0.07);
}
.mock-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--cg-line);
}
.mock-name { font-size: 12px; color: var(--cg-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-status {
  flex: 0 0 auto;
  display: grid; overflow: hidden;
  font-size: 11px; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: var(--cg-r-chip);
  color: var(--cg-sky-ink); border: 1px solid var(--cg-sky-strong);
  transition: color var(--cg-d-5f) var(--cg-ease-cut), border-color var(--cg-d-5f) var(--cg-ease-cut);
}
.mock-status[data-state="tally"] { color: var(--cg-tally); border-color: var(--cg-tally); }
/* the verdict rolls: the next state drops in from above, the old one falls out.
   All three stack in one cell so the chip never changes width; reverse
   scrubbing rolls the states back up. */
.mock-status .st {
  grid-area: 1 / 1; justify-self: center;
  white-space: nowrap;
  transition: transform 0.5s var(--lp-ease-flow), opacity 0.5s var(--lp-ease-flow);
}
.mock-status[data-state="rev"] .st:nth-child(2),
.mock-status[data-state="rev"] .st:nth-child(3) { transform: translateY(-110%); opacity: 0; }
.mock-status[data-state="tally"] .st:nth-child(1) { transform: translateY(110%); opacity: 0; }
.mock-status[data-state="tally"] .st:nth-child(3) { transform: translateY(-110%); opacity: 0; }
.mock-status[data-state="lock"] .st:nth-child(1),
.mock-status[data-state="lock"] .st:nth-child(2) { transform: translateY(110%); opacity: 0; }
.mock-stage {
  position: relative; aspect-ratio: 16 / 9;
  background:
    linear-gradient(215deg, transparent 30%, rgba(143, 217, 242, 0.06) 42%, transparent 58%),
    radial-gradient(120% 90% at 70% 15%, #2c4150 0%, transparent 55%),
    radial-gradient(90% 80% at 20% 85%, #20333d 0%, transparent 60%),
    radial-gradient(140% 140% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.5) 100%),
    #0C1114; /* the footage gets the dark room */
}
/* a monitor, not a void: thirds grid + action-safe box */
.mock-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.33% - 1px), var(--cg-line) calc(33.33% - 1px) 33.33%, transparent 33.33%),
    linear-gradient(90deg, transparent calc(66.66% - 1px), var(--cg-line) calc(66.66% - 1px) 66.66%, transparent 66.66%),
    linear-gradient(180deg, transparent calc(33.33% - 1px), var(--cg-line) calc(33.33% - 1px) 33.33%, transparent 33.33%),
    linear-gradient(180deg, transparent calc(66.66% - 1px), var(--cg-line) calc(66.66% - 1px) 66.66%, transparent 66.66%);
  opacity: 0.22;
}
.mock-stage::after {
  content: ""; position: absolute; inset: 5%; pointer-events: none;
  border: 1px solid var(--cg-line);
  opacity: 0.35;
}
.mock-tc {
  position: absolute; right: 16px; bottom: 8px; z-index: 1;
  font-size: 13px; letter-spacing: 0.05em; color: var(--cg-text); opacity: 0.92;
}
.mock-snote {
  position: absolute; left: 8%; top: 16%; z-index: 1;
  max-width: 74%;
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px 16px 10px;
  background: rgba(20, 27, 32, 0.92);
  border: 1px solid var(--cg-sky-strong);
  border-radius: var(--cg-r-chip);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--cg-d-5f) var(--cg-ease-cut), transform var(--cg-d-5f) var(--cg-ease-cut);
}
.mock-snote.on { opacity: 1; transform: none; }
.mock-snote .mono { font-size: 11px; color: var(--cg-sky-ink); letter-spacing: 0.05em; }
.mock-snote em { font-style: normal; font-size: 13.5px; color: var(--cg-text); }
.mock-snote-dot {
  position: absolute; left: -5px; top: 50%; margin-top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cg-sky);
  box-shadow: 0 0 12px rgba(143, 217, 242, 0.9);
}
.mock-strip {
  position: relative; height: 40px;
  border-top: 1px solid var(--cg-line);
  background: repeating-linear-gradient(90deg,
    var(--cg-line) 0 1px, transparent 1px 40px);
  background-position: 0 100%; background-size: 100% 10px; background-repeat: no-repeat;
}
.mock-playhead {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px;
  background: var(--cg-sky-strong);
  box-shadow: 0 0 8px rgba(79, 195, 236, 0.8);
}
.mock-pins { position: absolute; inset: 0; }
.mock-pin {
  position: absolute; top: 6px; width: 10px; height: 14px; margin-left: -5px;
  background: var(--cg-sky);
  clip-path: polygon(0 0, 100% 0, 58% 55%, 58% 100%, 42% 100%, 42% 55%);
  opacity: 0; transition: opacity var(--cg-d-3f) var(--cg-ease-cut);
}
.mock-pin.on { opacity: 1; }
/* a Resolve ranged marker: the bar is the duration, it rides the marker's cue */
.tl-dur {
  position: absolute; top: 6px; height: 3px;
  background: var(--cg-sky);
  opacity: 0; transition: opacity var(--cg-d-5f) var(--cg-ease-cut);
}
.tl-dur.on { opacity: 0.55; }
.mock-notes { padding: 8px 16px 16px; display: grid; gap: 8px; align-content: start; }
.mock-note {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 8px 16px 10px; border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-chip); background: var(--cg-bg);
  opacity: 0; transform: translateY(5px);
  transition: opacity var(--cg-d-5f) var(--cg-ease-cut), transform var(--cg-d-5f) var(--cg-ease-cut);
}
.mock-note.on { opacity: 1; transform: none; }
.mock-ava {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cg-bg-inset); color: var(--cg-text-muted);
  font-size: 12px; font-weight: 700;
}
.mock-note-head { font-size: 12.5px; color: var(--cg-text-muted); }
.mock-note-head .mono { color: var(--cg-sky-ink); font-size: 11.5px; margin-left: 8px; letter-spacing: 0.05em; }
.mock-note p:last-child { font-size: 14px; }

/* ---------- 01 · the note (problem) ---------- */
.prob-grid { display: grid; gap: 16px; margin-top: 32px; }
.prob-mail {
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  padding: 24px;
}
.prob-k {
  display: block; font-size: 11.5px; letter-spacing: 0.05em;
  color: var(--cg-text-faint); margin-bottom: 16px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.prob-quote { font-size: 17px; line-height: 1.55; color: var(--cg-text-muted); }
.prob-meta { margin-top: 16px; font-size: 12px; letter-spacing: 0.05em; color: var(--cg-text-muted); }
.prob-note {
  position: relative;
  border: 1px solid var(--cg-sky-strong);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  padding: 24px;
  box-shadow: 0 0 56px rgba(79, 195, 236, 0.08);
}
.prob-pin {
  position: absolute; left: -6px; top: 28px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cg-sky);
  box-shadow: 0 0 14px rgba(143, 217, 242, 0.9);
}
.prob-note .mock-note-head { margin-bottom: 4px; }
.prob-note .mock-note-head strong { color: var(--cg-text); }
.prob-text { font-size: 17px; }
.prob-close { margin-top: 16px; font-size: 12px; letter-spacing: 0.05em; color: var(--cg-text-muted); }

/* ---------- 02 · three moves (how) ---------- */
.how-strip {
  position: relative;
  display: flex; gap: 3px;
  height: 64px; margin: 32px 0 24px;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-chip);
  background: var(--cg-bg);
  padding: 3px;
}
.how-clip {
  position: relative; flex: 1;
  display: flex; align-items: flex-end;
  padding: 6px 8px;
  border-radius: 2px; /* inner face of a 4px chip: radius minus padding */
  background: var(--cg-bg-inset);
  border: 1px solid transparent;
  transition: border-color 0.5s var(--lp-ease-flow), background 0.5s var(--lp-ease-flow);
}
.how-clip span { font-size: 10.5px; letter-spacing: 0.05em; color: var(--cg-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.how-clip.act { border-color: var(--cg-sky-strong); background: #22333d; }
.how-clip.act span { color: var(--cg-sky-ink); }
.how-ph {
  position: absolute; top: 0; bottom: 0; left: 2%; width: 2px;
  background: var(--cg-sky-strong);
  box-shadow: 0 0 8px rgba(79, 195, 236, 0.8);
}
.how-grid { display: grid; gap: 24px; }
.how-step { position: relative; padding-top: 12px; }
.how-step::before {
  content: ''; position: absolute; top: 0; left: 0; width: 22px; height: 2px;
  background: var(--cg-line);
}
.how-step.act::before {
  background: var(--cg-sky-strong);
  box-shadow: 0 0 8px rgba(79, 195, 236, 0.8);
}
.how-step.act .how-n { color: var(--cg-sky-strong); }
.how-n { color: var(--cg-sky-ink); font-size: 12px; letter-spacing: 0.08em; }
.how-step h3 { font-size: 20px; margin: 8px 0 8px; }
.how-step p { color: var(--cg-text-muted); font-size: 15px; max-width: 420px; }
.tour {
  margin-top: 40px;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  overflow: hidden;
}
.tour-bar {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--cg-line);
  font-size: 11px; letter-spacing: 0.05em; color: var(--cg-text-muted);
}
.tour-video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  background: #0C1114; /* the footage keeps the dark room */
}

/* ---------- 03 · the room (phone) ---------- */
.room-grid { display: grid; gap: 32px; margin-top: 32px; }
.room-points { display: grid; gap: 16px; align-content: center; }
.room-point h3 { font-size: 19px; margin-bottom: 4px; }
.room-point p { color: var(--cg-text-muted); font-size: 15px; max-width: 420px; }
.phone {
  position: relative;
  justify-self: center;
  width: min(320px, 82vw);
  border: 1px solid var(--cg-line-strong);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-inset);
  padding: 24px 8px 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 72px rgba(143, 217, 242, 0.06);
}
/* hardware chrome: speaker slit + home indicator, hairlines only */
.phone::before {
  content: ""; position: absolute; top: 10px; left: 50%;
  width: 48px; height: 3px; margin-left: -24px;
  background: var(--cg-line-strong);
}
.phone::after {
  content: ""; position: absolute; bottom: 6px; left: 50%;
  width: 72px; height: 3px; margin-left: -36px;
  background: var(--cg-line-strong);
}
/* the client's screen: Daylight via the real tokens — one attribute flip */
.phone-screen {
  border-radius: var(--cg-r-chip);
  overflow: hidden;
  background: var(--cg-bg);
  color: var(--cg-text);
  font-family: var(--cg-font-body);
}
.ps-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 8px;
  border-bottom: 1px solid var(--cg-line);
  background: var(--cg-bg-raised);
}
.ps-top .mono { font-size: 10.5px; color: var(--cg-text-muted); }
.ps-stage {
  position: relative; aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 90% at 70% 15%, #2c4150 0%, transparent 55%),
    radial-gradient(90% 80% at 20% 85%, #20333d 0%, transparent 60%),
    radial-gradient(140% 140% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.5) 100%),
    #0C1114; /* video stages stay dark in both modes */
}
.ps-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.33% - 1px), #26333B calc(33.33% - 1px) 33.33%, transparent 33.33%),
    linear-gradient(90deg, transparent calc(66.66% - 1px), #26333B calc(66.66% - 1px) 66.66%, transparent 66.66%),
    linear-gradient(180deg, transparent calc(50% - 1px), #26333B calc(50% - 1px) 50%, transparent 50%);
  opacity: 0.25;
}
.ps-tc { position: absolute; right: 8px; bottom: 6px; font-size: 10px; letter-spacing: 0.05em; color: #E8F0F3; opacity: 0.92; }
.ps-strip {
  position: relative; height: 24px;
  border-bottom: 1px solid var(--cg-line);
  background: var(--cg-bg-raised);
}
.ps-strip .mock-pin { top: 4px; width: 8px; height: 11px; margin-left: -4px; }
.ps-ph {
  position: absolute; top: 0; bottom: 0; left: 38%; width: 2px;
  background: var(--cg-sky-strong);
}
.ps-notes { display: grid; gap: 8px; padding: 8px; min-height: 128px; align-content: start; background: var(--cg-bg); }
.ps-note {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-chip);
  background: var(--cg-bg-raised);
  padding: 8px;
  opacity: 0; transform: translateY(5px);
  transition: opacity var(--cg-d-5f) var(--cg-ease-cut), transform var(--cg-d-5f) var(--cg-ease-cut);
}
.ps-note.on { opacity: 1; transform: none; }
.ps-note .mono { font-size: 9.5px; letter-spacing: 0.05em; color: var(--cg-sky-ink); }
.ps-note p { font-size: 12px; line-height: 1.45; }
.ps-composer {
  margin: 0 8px 8px;
  border: 1px dashed var(--cg-line-strong);
  border-radius: var(--cg-r-chip);
  padding: 8px;
  font-size: 11px; color: var(--cg-text-faint);
}

/* ---------- 04 · resolve ---------- */
.rsv-bleed { position: relative; z-index: 1; max-width: var(--wrap); margin: 32px auto 0; padding: 0 var(--edge); }
.rsv {
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  overflow: hidden;
}
.rsv-bar {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--cg-line);
  font-size: 11px; letter-spacing: 0.05em; color: var(--cg-text-muted);
}
.rsv-tl {
  position: relative; padding: 32px 0 16px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 88px),
    #212227; /* Resolve's neutral dark, not our blue-black — it's their room */
}
.rsv-markers { position: absolute; top: 8px; left: 0; right: 0; height: 22px; }
.rsv-m {
  position: absolute; top: 0; z-index: 1; /* labels ride above the duration bar */
  display: inline-flex; align-items: center; gap: 5px;
  transform: translateX(-5px) translateY(-8px);
  opacity: 0;
  transition: opacity var(--cg-d-5f) var(--cg-ease-cut), transform var(--cg-d-5f) var(--cg-ease-cut);
}
.rsv-m.on { opacity: 1; transform: translateX(-5px); }
.rsv-m::before {
  content: "";
  width: 10px; height: 14px;
  background: var(--cg-sky);
  clip-path: polygon(0 0, 100% 0, 58% 55%, 58% 100%, 42% 100%, 42% 55%);
  filter: drop-shadow(0 0 6px rgba(143, 217, 242, 0.6));
}
.rsv-markers .tl-dur { top: 5px; height: 3px; }
.rsv-markers .tl-dur.on { opacity: 0.4; }
.rsv-m .mono { font-size: 9.5px; color: var(--cg-sky-ink); letter-spacing: 0.05em; white-space: nowrap; }
.rsv-track {
  display: flex; gap: 2px;
  height: 22px; margin: 3px 16px;
}
/* the track rail: V3..A2, the way Resolve names its lanes */
.rsv-track::before {
  content: attr(data-track);
  flex: 0 0 28px;
  display: flex; align-items: center;
  font-family: var(--cg-font-mono); font-size: 9.5px; letter-spacing: 0.08em;
  color: var(--cg-text-faint);
}
.rsv-track u { display: block; } /* empty timeline between clips */
.rsv-track i {
  position: relative; display: block; overflow: hidden;
  min-width: 0;
  border-radius: 3px;
  background: #56688A; /* Resolve's steel-blue video clip */
  border: 1px solid #6B7EA0;
  border-bottom-color: #3D4A63;
}
.rsv-track i span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1px 4px 2px;
  background: rgba(14, 18, 26, 0.35); /* the name strip */
  font-family: var(--cg-font-mono); font-style: normal; font-size: 9px; line-height: 1.35;
  color: #DFE6F2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rsv-track.adj { height: 18px; }
.rsv-track.adj i { background: #5B7BA6; border-color: #7492BC; border-bottom-color: #41597A; }
.rsv-track.v1 { height: 28px; }
.rsv-track.a i {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40'%3E%3Cpolygon fill='%23CFE9DA' fill-opacity='0.7' points='0,14 8,10 16,6 24,12 32,4 40,9 48,15 56,7 64,3 72,11 80,6 88,14 96,9 104,2 112,12 120,7 128,15 136,10 144,5 152,13 160,8 168,4 176,11 184,14 192,7 200,10 208,3 216,12 224,9 232,6 240,14 240,26 232,34 224,31 216,28 208,37 200,30 192,33 184,26 176,29 168,36 160,32 152,27 144,35 136,30 128,25 120,33 112,28 104,38 96,31 88,26 80,34 72,29 64,37 56,33 48,25 40,31 32,36 24,28 16,34 8,30 0,26'/%3E%3C/svg%3E") repeat-x left center / 240px 78%,
    #2C5741; /* Resolve's audio green, waveform baked in */
  border-color: #4A7A5D; border-bottom-color: #1F3D2D;
}
.rsv-track.a i span { background: rgba(8, 20, 13, 0.45); color: #D9EEE2; }
.rsv-track.a.music { height: 30px; }
/* the music bed carries its volume automation — the line and its keyframes */
.rsv-track.a.music i::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 24% 40%, #FFFFFF 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 47% 40%, #FFFFFF 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 69% 40%, #FFFFFF 0 1.5px, transparent 2.5px),
    linear-gradient(to bottom, transparent calc(40% - 1px), rgba(255, 255, 255, 0.55) calc(40% - 1px) 40%, transparent 40%);
}
/* a fade-in ramp, the way Resolve draws its envelope */
.rsv-track.a i.fade::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(207, 233, 218, 0.16);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.rsv-ph {
  position: absolute; top: 24px; bottom: 12px; left: 0; width: 2px;
  background: #E8493C; /* Resolve's playhead is red — their UI, not our Tally */
}
.rsv-ph::before {
  content: "";
  position: absolute; top: -5px; left: -3px;
  width: 8px; height: 5px;
  background: #E8493C;
  border-radius: 2px 2px 0 0;
}
.rsv-foot { padding: 10px 16px 12px; border-top: 1px solid var(--cg-line); font-size: 12px; color: var(--cg-text-muted); }

/* ---------- 05 · the workspace (tracks, not cards) ---------- */
.ws-tracks { margin-top: 32px; border-top: 1px solid var(--cg-line); }
.ws-row {
  display: grid; gap: 8px 16px;
  grid-template-columns: 1fr auto;
  grid-template-areas: "k k" "body body" "frag frag";
  padding: 24px 0;
  border-bottom: 1px solid var(--cg-line);
}
.ws-k {
  grid-area: k;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cg-sky-ink);
}
.ws-body { grid-area: body; }
.ws-body h3 { font-size: 19px; margin-bottom: 4px; }
.ws-body p { color: var(--cg-text-muted); font-size: 14.5px; max-width: 560px; }
.ws-frag { grid-area: frag; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ws-chip {
  font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--cg-text-muted);
  border: 1px solid var(--cg-line-strong); border-radius: var(--cg-r-chip);
  padding: 3px 8px;
  background: var(--cg-bg-raised);
  white-space: nowrap;
}
.ws-chip-off { color: var(--cg-text-faint); border-style: dashed; }
.ws-chip-lock { color: var(--cg-lock); border-color: var(--cg-lock); } /* an approval — Lock is legal here */

/* ---------- 06 · pricing ---------- */
.founding-strip {
  display: inline-block;
  margin-top: 16px; font-size: 12px; letter-spacing: 0.05em;
  color: var(--cg-sky-ink);
  border: 1px solid var(--cg-sky-strong); border-radius: var(--cg-r-chip);
  padding: 6px 12px;
}
.tier-grid { display: grid; gap: 16px; margin-top: 24px; }
.tier {
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.tier-mid {
  border-color: var(--cg-sky-strong);
  box-shadow: 0 0 56px rgba(79, 195, 236, 0.1);
}
.tier-k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cg-text-muted); }
.tier-pick {
  text-transform: none; letter-spacing: 0; font-size: 11px;
  color: var(--cg-sky-ink); margin-left: 8px;
}
.tier-price { font-family: var(--cg-font-display); font-weight: 600; font-size: 42px; line-height: 1.1; }
.tier-was { font-size: 15px; color: var(--cg-text-muted); text-decoration: line-through; margin-right: 8px; }
.tier-per { font-family: var(--cg-font-body); font-size: 13px; color: var(--cg-text-muted); margin-left: 8px; }
.tier-gb {
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--cg-text);
  border: 1px solid var(--cg-line-strong); border-radius: var(--cg-r-chip);
  padding: 3px 8px;
  background: var(--cg-bg-inset);
}
.tier-after { font-size: 12px; letter-spacing: 0.05em; color: var(--cg-text-muted); }
.tier-blurb { color: var(--cg-text-muted); font-size: 14px; flex: 1; }
.tier .btn { margin-top: 8px; }
.refund { margin-top: 24px; font-size: 15px; color: var(--cg-text); }
.selfhosted { margin-top: 8px; color: var(--cg-text-muted); font-size: 14.5px; }
.fine { margin-top: 16px; font-size: 12.5px; color: var(--cg-text-muted); max-width: 640px; }

/* ---------- 07 · faq — every answer arrives the way notes arrive: pinned ---------- */
.faq-list {
  max-width: 860px; margin-top: 32px;
  border-top: 1px solid var(--cg-line);
  overflow-anchor: none; /* accordion height changes must not trigger scroll anchoring */
}
.faq details { border-bottom: 1px solid var(--cg-line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 8px;
  gap: 16px; align-items: baseline;
  padding: 20px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-i {
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--cg-text-faint);
  transition: color 0.4s var(--lp-ease-flow);
}
.faq-q {
  font-family: var(--cg-font-display); font-weight: 600;
  font-size: 17px; line-height: 1.3; text-wrap: balance;
  transition: color 0.4s var(--lp-ease-flow);
}
.faq-tc {
  display: none;
  font-size: 11px; letter-spacing: 0.05em;
  color: var(--cg-text-faint);
  transition: color 0.4s var(--lp-ease-flow);
}
.faq-dot {
  align-self: center; justify-self: end;
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--cg-line-strong);
  transition: background 0.4s var(--lp-ease-flow), border-color 0.4s var(--lp-ease-flow),
              box-shadow 0.4s var(--lp-ease-flow);
}
.faq summary:hover .faq-q, .faq summary:hover .faq-i { color: var(--cg-sky-ink); }
.faq summary:hover .faq-dot { border-color: var(--cg-sky-strong); }
.faq details[open] .faq-i, .faq details[open] .faq-tc { color: var(--cg-sky-ink); }
.faq details[open] .faq-dot {
  background: var(--cg-sky); border-color: var(--cg-sky);
  box-shadow: 0 0 12px rgba(143, 217, 242, 0.9);
}
.faq-a {
  position: relative;
  margin: 4px 0 24px;
  border: 1px solid var(--cg-sky-strong);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  padding: 14px 20px 16px;
  box-shadow: 0 0 40px rgba(79, 195, 236, 0.07);
}
.faq-pin {
  position: absolute; left: -5px; top: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cg-sky);
  box-shadow: 0 0 12px rgba(143, 217, 242, 0.9);
}
.faq-a-head { font-size: 11px; letter-spacing: 0.05em; color: var(--cg-sky-ink); margin-bottom: 6px; }
.faq-a p:not(.faq-a-head) { color: var(--cg-text-muted); font-size: 14.5px; max-width: 620px; }
/* the note rises into its card as the row opens */
html.motion .faq-a {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s var(--lp-ease-flow) 0.1s, transform 0.6s var(--lp-ease-flow) 0.1s;
}
html.motion .faq details[open] .faq-a { opacity: 1; transform: none; }
/* row open/close heights are scripted in landing.js (motion only) —
   native auto-height transitions + exclusivity caused an end-of-animation
   jump, so the accordion is driven by measured pixels instead */

/* ---------- 08 · lock (end slate) ---------- */
.lock {
  min-height: 92svh;
  display: flex; align-items: center;
  text-align: center;
}
.lock .wrap { width: 100%; }
.lock-chip {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.08em;
  padding: 4px 11px; border-radius: var(--cg-r-chip);
  color: var(--cg-lock); border: 1px solid var(--cg-lock);
  margin-bottom: 24px;
}
.lock h2 {
  font-size: clamp(52px, 14vw, 112px);
  line-height: 0.98; letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.lock-sub { font-size: 17px; color: var(--cg-text-muted); margin-bottom: 32px; }
.lock-founding { margin-top: 16px; font-size: 12px; letter-spacing: 0.05em; color: var(--cg-sky-ink); }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--cg-line);
  max-width: var(--wrap); margin: 0 auto;
  padding: 32px var(--edge) 48px;
  position: relative; z-index: 1;
}
.foot-main { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.foot .lockup span { display: inline; font-size: 15px; }
.foot-line { color: var(--cg-text-muted); font-size: 13px; flex: 1; min-width: 220px; }
.foot-nav { display: flex; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.foot-nav a { color: var(--cg-text-muted); padding: 12px 4px; margin: -12px -4px; }
.foot-nav a:hover { color: var(--cg-sky-ink); }
.foot-legal {
  margin-top: 24px;
  font-size: 11px; letter-spacing: 0.05em;
  color: var(--cg-text-faint);
}

/* ---------- consent (track.js injects the banner) ---------- */
.consent {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: 460px; margin-left: auto;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-r-panel);
  background: var(--cg-bg-raised);
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}
.consent p { font-size: 14px; color: var(--cg-text-muted); line-height: 1.5; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent-actions .btn { padding: 12px 16px; font-size: 12px; background: none; cursor: pointer; }
@keyframes consent-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
html.motion .consent { animation: consent-in 0.65s var(--lp-ease-flow); }

/* ---------- shot mode: everything visible, nothing moves ---------- */
html.shot *, html.shot *::before, html.shot *::after {
  transition: none !important;
  animation: none !important;
}
html.shot .mock-note, html.shot .mock-pin, html.shot .mock-snote,
html.shot .ps-note, html.shot .rsv-m { opacity: 1; transform: none; }
html.shot .rsv-m { transform: translateX(-5px); }
html.shot .tl-dur { opacity: 0.55; }
html.shot .mock-playhead { left: 38%; }
html.shot .how-ph { left: 30%; }
html.shot .rsv-ph { left: 46%; }
html.shot .how-clip:first-child { border-color: var(--cg-sky-strong); background: #22333d; }
html.shot .how-clip:first-child span { color: var(--cg-sky-ink); }
html.shot .how-step:first-child::before { background: var(--cg-sky-strong); box-shadow: 0 0 8px rgba(79, 195, 236, 0.8); }
html.shot .how-step:first-child .how-n { color: var(--cg-sky-strong); }
html.shot .jkl-hint { display: none !important; }

/* ---------- reduced motion: information flows, decoration stops ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .grain { display: none; }
  .mock-note, .mock-pin, .mock-snote, .ps-note, .rsv-m { opacity: 1; transform: none; }
  .rsv-m { transform: translateX(-5px); }
  .tl-dur { opacity: 0.55; }
  .mock-playhead { left: 38%; }
  .how-ph { left: 30%; }
  .rsv-ph { left: 46%; }
}

/* ---------- print: the cut on paper ---------- */
@media print {
  .deck, .grain, .glow, .hud, .consent, .jkl-hint, .deck-cta,
  .how::before, .pricing::before { display: none !important; }
  body { background: #fff; color: #13232B; }
  .chapter, .hero, .lock { min-height: 0; padding: 24px 0; }
  h1, h2, h3 { color: #13232B; }
  .sec-sub, .hero-sub, p { color: #52707C; }
  a { color: #085E7E; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  :root { --deck-h: 60px; }
  .deck { padding: 0 24px; gap: 24px; }
  .deck .lockup span { display: inline; }
  .tc { font-size: 14px; }
  .deck-cta { display: inline-block; padding: 8px 16px; font-size: 11px; }

  .chapter { padding: 120px 0; }
  /* the cut varies: dialogue chapters tighter, exhibit chapters wider */
  .problem, .workspace, .faq { padding: 96px 0; }
  .room, .resolve { padding: 144px 0; }

  .hero { padding-top: calc(var(--deck-h) + 32px); }
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "k k" "h h" "sub cta" "sub founding" "sub hint";
    column-gap: 64px;
  }
  .kicker { grid-area: k; }
  .hero h1 { grid-area: h; font-size: clamp(60px, 5.8vw, 94px); }
  .hero-sub { grid-area: sub; font-size: 18px; max-width: 600px; margin-bottom: 0; align-self: center; }
  .hero-cta { grid-area: cta; align-self: end; }
  .hero-founding { grid-area: founding; margin-top: 16px; }
  .jkl-hint {
    grid-area: hint; display: block;
    margin-top: 8px;
    font-size: 10.5px; letter-spacing: 0.08em;
    color: var(--cg-text-faint);
  }
  .mock { margin-top: 48px; }
  .mock-body { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 7fr); }
  .mock-main { border-right: 1px solid var(--cg-line); }
  .mock-stage { aspect-ratio: 16 / 8.4; }
  .mock-notes { padding: 16px; }

  .prob-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
  .prob-mail, .prob-note { display: flex; flex-direction: column; justify-content: center; }

  .how-strip { height: 72px; margin: 40px 0 32px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .tour { margin-top: 48px; }

  .room-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .room-points { order: -1; }
  .phone-col { display: flex; justify-content: center; }

  /* resolve runs full-bleed — the one wide shot in the cut */
  .rsv-bleed { max-width: none; padding: 0; margin-top: 40px; }
  .rsv { border-radius: 0; border-left: 0; border-right: 0; }
  .rsv-bar, .rsv-foot { padding-left: max(var(--edge), calc(50vw - var(--wrap) / 2 + var(--edge))); padding-right: max(var(--edge), calc(50vw - var(--wrap) / 2 + var(--edge))); }
  .rsv-track { height: 26px; margin: 3px 24px; }
  .rsv-track.adj { height: 20px; }
  .rsv-track.v1 { height: 34px; }
  .rsv-track.a.music { height: 38px; }
  .rsv-track i span { font-size: 9.5px; }
  .rsv-tl { padding: 40px 0 16px; }
  .rsv-ph { top: 34px; }
  .rsv-markers { left: 24px; right: 24px; }

  .ws-row {
    grid-template-columns: 160px minmax(0, 1fr) auto;
    grid-template-areas: "k body frag";
    align-items: center;
  }
  .ws-k { padding-top: 4px; align-self: start; }
  .ws-frag { justify-content: flex-end; }

  .tier-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

  .faq summary { grid-template-columns: 40px minmax(0, 1fr) auto 8px; padding: 24px 0; }
  .faq-tc { display: block; }
  .faq-q { font-size: 21px; }
  .faq-a { margin-left: 56px; padding: 16px 24px 18px; }

  .glow-a { top: -20%; right: -12%; }

  html.motion .grain { animation: grain-jump 333ms steps(1, end) infinite; }
}

@media (min-width: 1240px) {
  .hero h1 { letter-spacing: -0.02em; }
}

/* ---------- the living background (canvas appended by landing.js) ----------
   Opaque half-res WebGL field behind everything; content (.wrap,
   z-index 1) rides above, the film grain stays on top. Fades in
   on the fluid curve once the first frame exists. */
.lp-bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: 0;
}
html.shader-on .lp-bg { opacity: 1; transition: opacity 900ms var(--lp-ease-flow); }
html.shot .lp-bg { transition: none; }
/* the field owns the atmosphere now; the CSS glow fields step aside
   and return automatically wherever WebGL is missing */
html.shader-on .glow,
html.shader-on .how::before,
html.shader-on .pricing::before { display: none; }
@media print { .lp-bg { display: none !important; } }
