/* =========================================================
   Artovan — styles.css
   Dark only. Gold restraint. Filmmaker editorial.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Background ladder */
  --bg:           #08080a;
  --bg-lifted:   #17171b;
  --bg-card:     #1c1c22;
  --bg-elevated: #22222a;

  /* Text ladder */
  --text:         #f4f4f6;
  --text-muted:   #a8a8b3;
  --text-dim:     #6e6e78;

  /* Gold */
  --gold:         #d4a84b;
  --gold-bright:  #eac06b;
  --gold-soft:    #b08930;

  /* Functional */
  --border:       #26262e;
  --border-hi:    #34343e;
  --record-red:   #e25a5a;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Type scale */
  --fs-mono: 12px;
  --fs-xs:   13px;
  --fs-sm:   15px;
  --fs-body: 17px;
  --fs-lede: 21px;
  --fs-h3:   24px;
  --fs-h2:   clamp(32px, 4vw, 44px);
  --fs-h1:   clamp(44px, 9vw, 112px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;

  /* Fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter Tight", "Inter",
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

@media (min-width: 820px) { :root { --gutter: 40px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--bg); }

/* ---------- Focus rings ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.text-muted { color: var(--text-muted); }
.text-dim   { color: var(--text-dim); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  padding: 10px 16px;
  background: var(--gold); color: var(--bg);
  font-weight: 600; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("noise.svg");
  background-size: 220px 220px;
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 50;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 320ms var(--ease), background 320ms var(--ease);
}
.nav.scrolled {
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.8);
  background: rgba(8, 8, 10, 0.86);
}
@media (min-width: 820px) { .nav { height: 64px; } }

.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.brand__mark {
  width: 22px; height: 22px;
  display: inline-block;
}
.brand__name { color: var(--text); }

.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 820px) { .nav__links { display: flex; } }

.nav__link {
  position: relative;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 6px 0;
  transition: color 180ms var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 220ms var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: var(--bg-lifted);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}
.nav__cta:hover { border-color: var(--gold-soft); color: var(--gold-bright); }
.nav__cta__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,168,75,0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 180ms var(--ease),
              background 180ms var(--ease),
              border-color 180ms var(--ease),
              box-shadow 240ms var(--ease),
              color 180ms var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--gold);
  color: #1a1208;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 0 rgba(212,168,75,0),
    0 10px 24px -12px rgba(212,168,75,0.5);
}
.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow:
    0 0 0 6px rgba(212,168,75,0.12),
    0 14px 32px -10px rgba(212,168,75,0.55);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.02);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(56px + 56px);
  padding-bottom: 80px;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 820px) {
  .hero { padding-top: calc(64px + 80px); padding-bottom: 120px; }
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  background: #000;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
/* CSS fallback backdrop — works even with no video file */
.hero__bg::before {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(212,168,75,0.10), transparent 60%),
    radial-gradient(70% 60% at 80% 80%, rgba(212,168,75,0.05), transparent 65%),
    radial-gradient(40% 30% at 50% 60%, rgba(40,40,60,0.4), transparent 70%),
    linear-gradient(180deg, #0c0c10 0%, #08080a 100%);
  filter: blur(2px);
  animation: drift 28s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.92) 90%),
    linear-gradient(180deg, transparent 60%, rgba(8,8,10,1) 100%);
}

.hero__grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 72px;
  }
}

.hero__copy { max-width: 720px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold);
}
.hero__eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,168,75,0.5);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,75,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(212,168,75,0); }
}

.hero__h1 {
  margin: 22px 0 0;
  font-size: var(--fs-h1);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text);
}
.hero__h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero__h1 em .dot {
  display: inline-block;
  width: 0.5em; height: 0.5em;
  background: var(--gold);
  margin-left: 0.04em;
  vertical-align: baseline;
  transform: translateY(0.02em);
}

.hero__lede {
  margin: 28px 0 0;
  font-size: var(--fs-lede);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 560px;
  text-wrap: pretty;
}
.hero__lede strong { color: var(--text); font-weight: 500; }

.hero__cta {
  margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero__fineprint {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Phone mockup ---------- */
.hero__device {
  display: flex; justify-content: center;
  perspective: 1200px;
}
.phone {
  --phone-w: 280px;
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  background: #050507;
  border: 1px solid #2a2a35;
  border-radius: 36px;
  padding: 10px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 30px 80px -20px rgba(0,0,0,0.9),
    0 0 60px -10px rgba(212,168,75,0.18);
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 1080px) { .phone { --phone-w: 320px; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0e0e12 0%, #0a0a0d 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone__notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #050507;
  border-radius: 12px;
  z-index: 3;
}
.phone__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text);
  z-index: 2;
}
.phone__statusbar .dots { display: inline-flex; gap: 3px; }
.phone__statusbar .dots i {
  width: 4px; height: 4px; background: var(--text); border-radius: 50%;
  display: inline-block;
}

.phone__app-header {
  padding: 22px 18px 14px;
}
.phone__app-header .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.phone__app-header .title {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.phone__app-header .meta {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-dim);
}

.filmstrip {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 14px 14px;
  flex: 1;
}
.shot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  position: relative;
}
.shot--active {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(212,168,75,0.5),
    0 0 24px -8px rgba(212,168,75,0.3);
}
.shot__row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.shot__id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}
.shot--active .shot__id { color: var(--gold-bright); }
.shot__chip {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 999px;
}
.shot--active .shot__chip {
  color: var(--gold);
  background: rgba(212,168,75,0.08);
  border-color: rgba(212,168,75,0.3);
}
.shot__title {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.shot__meta {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-dim);
}
.shot__thumb {
  position: absolute;
  top: 10px; right: 12px;
  width: 38px; height: 28px;
  background: linear-gradient(135deg, #2a2a32, #14141a);
  border-radius: 4px;
  border: 1px solid var(--border);
  display: none;
}

.phone__cta {
  padding: 8px 14px 16px;
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.phone__rec {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text);
  display: inline-flex; align-items: center; justify-content: center;
}
.phone__rec::after {
  content: "";
  width: 14px; height: 14px;
  background: var(--record-red);
  border-radius: 50%;
  animation: recPulse 1.8s ease-in-out infinite;
}
@keyframes recPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.85); opacity: 0.6; }
}
.phone__cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
section {
  position: relative;
  padding: 80px 0;
}
@media (min-width: 820px) {
  section { padding: 120px 0; }
}

.section__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section__h2 {
  margin: 14px 0 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
.section__lede {
  margin: 18px 0 0;
  font-size: var(--fs-lede);
  color: var(--text-muted);
  max-width: 620px;
  text-wrap: pretty;
}

/* ---------- Editorial ---------- */
.editorial {
  border-top: 1px solid var(--border);
}
.editorial__body {
  max-width: 760px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.editorial__body strong {
  color: var(--gold);
  font-weight: 600;
}
.editorial__body .muted { color: var(--text-muted); }

/* ---------- Bento grid ---------- */
.bento {
  border-top: 1px solid var(--border);
}
.bento__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .bento__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
  }
}

.tile {
  position: relative;
  background: var(--bg-lifted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  overflow: hidden;
  transition: transform 240ms var(--ease),
              border-color 240ms var(--ease),
              box-shadow 240ms var(--ease);
  isolation: isolate;
}
@media (min-width: 820px) { .tile { padding: 28px; } }
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow:
    inset 0 0 0 1px rgba(212,168,75,0.16),
    0 20px 40px -24px rgba(0,0,0,0.8);
}
.tile__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.tile__title {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.tile__body {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.tile__art {
  margin-top: 22px;
}
@media (min-width: 820px) {
  .tile-a { grid-column: span 2; grid-row: span 2; }
  .tile-b { grid-column: span 2; grid-row: span 1; }
  .tile-c { grid-column: span 1; grid-row: span 1; }
  .tile-d { grid-column: span 1; grid-row: span 1; }
  .tile-e { grid-column: span 2; grid-row: span 1; }
  .tile-f { grid-column: span 2; grid-row: span 1; }
}

/* Tile A — mini video player */
.player {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #14141c 0%, #0a0a0e 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.player::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent, transparent 3px, rgba(255,255,255,0.015) 3px, rgba(255,255,255,0.015) 4px),
    radial-gradient(60% 40% at 30% 40%, rgba(212,168,75,0.10), transparent 60%),
    radial-gradient(50% 40% at 70% 70%, rgba(120,80,180,0.06), transparent 65%);
}
.player__bars {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}
.player__scrubber {
  flex: 1; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px;
  position: relative; overflow: hidden;
}
.player__scrubber::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 38%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,168,75,0.4);
}
.player__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(8,8,10,0.5);
  border: 1px solid rgba(212,168,75,0.4);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.player__play::after {
  content: "";
  width: 0; height: 0;
  border-left: 12px solid var(--gold);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.player__label {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.player__label::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.player__tc {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(0,0,0,0.4);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Tile B — record */
.slate {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.slate__dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--record-red);
  box-shadow: 0 0 0 0 rgba(226,90,90,0.5);
  animation: recPulse2 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes recPulse2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226,90,90,0.6); }
  50%      { box-shadow: 0 0 0 10px rgba(226,90,90,0); }
}
.slate__lines {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.slate__file {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.slate__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.slate__tc {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* Tile C — library row */
.lib-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
}
.lib-row__thumb {
  width: 44px; height: 32px;
  background: linear-gradient(135deg, #2a2a32, #14141a);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}
.lib-row__thumb::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 6px solid rgba(255,255,255,0.6);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.lib-row__lines { flex: 1; min-width: 0; }
.lib-row__name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lib-row__meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Tile D — star */
.star-art {
  display: flex; align-items: center; gap: 12px;
}
.star-art__star {
  width: 36px; height: 36px;
  color: var(--gold);
  filter: drop-shadow(0 0 12px rgba(212,168,75,0.4));
}
.star-art__chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,168,75,0.3);
  background: rgba(212,168,75,0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Tile E — upload timeline */
.timeline {
  position: relative;
  height: 70px;
  display: flex; align-items: center;
}
.timeline__track {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  position: relative;
  border-radius: 2px;
}
.timeline__node {
  position: absolute;
  top: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold-soft);
}
.timeline__node--done { background: var(--gold); border-color: var(--gold); }
.timeline__node--current {
  background: var(--gold);
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(212,168,75,0.5);
  animation: pulse 2s var(--ease) infinite;
}
.timeline__node--pending { background: var(--bg-lifted); border-color: var(--border-hi); }
.timeline__labels {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.timeline__labels span {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.timeline__labels span.done { color: var(--gold); }
.timeline__labels span.current { color: var(--text); }

/* Tile F — status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--record-red);
}
.status-pill span { color: var(--text-dim); }

/* ---------- Frames strip (how a session goes) ---------- */
.frames {
  border-top: 1px solid var(--border);
}
.frames__strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .frames__strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1080px) {
  .frames__strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.frame {
  position: relative;
  background: var(--bg-lifted);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.frame:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.frame__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.frame__num em {
  color: var(--gold);
  font-style: normal;
  margin-right: 4px;
}
.frame__title {
  margin: 14px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.frame__body {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.frame__sprocket {
  position: absolute;
  top: -1px; bottom: -1px;
  left: 16px;
  width: 4px;
  background-image: linear-gradient(180deg, var(--border) 50%, transparent 50%);
  background-size: 4px 14px;
}
.frame { padding-left: 36px; }

/* ---------- Status block ---------- */
.status {
  border-top: 1px solid var(--border);
}
.status__card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 24px;
  background:
    radial-gradient(60% 100% at 0% 0%, rgba(212,168,75,0.06), transparent 60%),
    linear-gradient(135deg, var(--bg-lifted), var(--bg-card));
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 820px) {
  .status__card {
    padding: 56px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: 40px; align-items: center;
  }
}
.status__h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.status__body {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
  max-width: 540px;
  text-wrap: pretty;
}
.status__side {
  display: flex; flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
@media (min-width: 820px) { .status__side { align-items: flex-end; } }
.status__stats {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex; flex-direction: column; gap: 4px;
}
.status__stats em {
  font-style: normal;
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
}
.faq__list {
  border-top: 1px solid var(--border);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  text-align: left;
  transition: color 180ms var(--ease);
}
.faq__btn:hover { color: var(--gold-bright); }
.faq__icon {
  width: 14px; height: 14px;
  position: relative;
  flex-shrink: 0;
  color: var(--text-muted);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
}
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 14px; transition: transform 240ms var(--ease); }
.faq__item[aria-expanded="true"] .faq__icon { color: var(--gold); }
.faq__item[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease);
}
.faq__panel > div { overflow: hidden; }
.faq__item[aria-expanded="true"] .faq__panel {
  grid-template-rows: 1fr;
}
.faq__answer {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: var(--fs-body);
  max-width: 720px;
  text-wrap: pretty;
}
.faq__answer strong { color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
  position: relative;
}
.footer__divider {
  height: 1px;
  background: var(--border);
  position: relative;
  margin-bottom: 56px;
}
.footer__divider::after {
  content: "";
  position: absolute;
  top: 0; left: 33%; width: 34%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer__cols {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__cols { grid-template-columns: 2fr 1fr 1fr; }
}
.footer__brand .tagline {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
}
.footer__brand .copy {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer__h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer__list a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 180ms var(--ease);
}
.footer__list a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-stagger] > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.in[data-stagger] > * { opacity: 1; transform: none; }
.reveal.in[data-stagger] > *:nth-child(1) { transition-delay: 0ms; }
.reveal.in[data-stagger] > *:nth-child(2) { transition-delay: 60ms; }
.reveal.in[data-stagger] > *:nth-child(3) { transition-delay: 120ms; }
.reveal.in[data-stagger] > *:nth-child(4) { transition-delay: 180ms; }
.reveal.in[data-stagger] > *:nth-child(5) { transition-delay: 240ms; }
.reveal.in[data-stagger] > *:nth-child(6) { transition-delay: 300ms; }

/* ---------- Cursor halo (hero only, mouse devices) ---------- */
.halo {
  position: absolute;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,168,75,0.10), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 320ms var(--ease);
  z-index: 0;
}
.hero:hover .halo { opacity: 1; }
@media (hover: none) { .halo { display: none; } }

/* ---------- Doc pages (privacy / terms) ---------- */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(64px + 56px) var(--gutter) 120px;
}
.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.doc .doc__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 48px;
}
.doc h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 48px 0 12px;
  color: var(--text);
}
.doc p, .doc li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
}
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 1.2em; margin: 0 0 16px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); font-weight: 500; }
.doc a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.doc a:hover { color: var(--gold-bright); }
.doc code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-lifted);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}
.doc hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .phone { animation: none; }
  .hero__bg::before { animation: none; }
  .hero__video { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .grain, .hero__bg, .hero__overlay, .hero__video { display: none !important; }
  body { background: #fff; color: #000; }
  .doc { color: #000; padding: 0; }
  .doc p, .doc li { color: #222; }
  .doc h1, .doc h2 { color: #000; }
  .doc a { color: #000; text-decoration: underline; }
  .doc code { background: #f4f4f4; border: 1px solid #ddd; color: #000; }
}
