/* ============================================================
   NailBelt — marketing homepage
   Warm near-black, one amber accent, industrial condensed type.
   Motion: two easing tokens, one duration scale, transform/opacity only.
   ============================================================ */

:root {
  --bg: #131110;
  --bg-2: #171512;
  --surface: #1b1815;
  --raised: #221e1a;
  --line: #2c2721;
  --ink: #f2ede4;
  --ink-2: #cbbfa9;
  --ink-muted: #a99e8d;
  --ink-faint: #6f665a;
  --accent: #e8a33d;
  --accent-deep: #c9832a;
  --paid: #8fae7e;
  --storm: #7f98b5;
  --rain: #7f98b5;
  --window: #e8a33d;
  --ridge-back: #1d1a16;
  --ridge-front: #14110e;

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-reveal: 0.9s;
  --dur-hover: 0.25s;

  --wrap: 1180px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

section[id] { scroll-margin-top: 80px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #1a1409; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* Film grain — static, zero assets */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Type ============ */

h1, h2, h3 { font-weight: 600; }

h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.accent { color: var(--accent); }
.accent-text { color: var(--accent); }

/* ============ Buttons & links ============ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-md);
  transition: background-color var(--dur-hover) var(--ease-out-quint),
              transform var(--dur-hover) var(--ease-out-quint);
}
.btn-primary { background: var(--accent); color: #1f1608; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-block { display: block; text-align: center; }

.link-quiet {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; color: var(--ink-muted);
  transition: color var(--dur-hover) var(--ease-out-quint);
}
.link-quiet:hover { color: var(--ink); }

/* ============ Nav ============ */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 0 clamp(20px, 3.4vw, 44px);
  height: 68px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wordmark-nail { width: 18px; height: 18px; color: var(--accent); }
.wordmark-sm { font-size: 20px; color: var(--ink-muted); }
.wordmark-sm .wordmark-nail { color: var(--ink-faint); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink-muted);
  padding: 4px 0;
  transition: color var(--dur-hover) var(--ease-out-quint);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-out-quint);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-login { font-size: 14.5px; font-weight: 500; color: var(--ink-muted); }
.nav-login:hover { color: var(--ink); }

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 180px) 0 0;
  overflow: clip;
  display: flex; flex-direction: column; justify-content: flex-start;
}

.hero-sky {
  position: absolute; inset: -12% 0; z-index: 0;
  background:
    radial-gradient(120% 55% at 50% 108%, rgba(232, 143, 61, 0.16) 0%, rgba(190, 110, 45, 0.07) 38%, transparent 68%),
    linear-gradient(to bottom, #0e0d0c 0%, #14110e 62%, #191410 100%);
}

.hero-ridge {
  position: absolute; left: -4%; right: -4%; width: 108%; z-index: 1;
  bottom: -2%;
}
.hero-ridge-back { height: auto; aspect-ratio: 1600 / 320; opacity: 0.9; }
.hero-ridge-front { height: auto; aspect-ratio: 1600 / 400; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) clamp(150px, 22vh, 240px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.6rem, 14.5vw, 15rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  position: relative;
  z-index: 1; /* board sits above line 2 */
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner { display: block; }

.hero-copy { max-width: 430px; margin-top: clamp(28px, 4vh, 48px); position: relative; z-index: 3; }
.hero-lede { color: var(--ink-muted); font-size: 17px; }
.hero-ctas { display: flex; align-items: center; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-faint); }

/* Board mockup — overlaps the display type */
.board {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  top: clamp(200px, 30vh, 330px);
  z-index: 2;
  width: min(56%, 680px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.board-chrome {
  display: flex; align-items: center; gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.board-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.board-stats { display: flex; gap: 18px; font-size: 12px; color: var(--ink-faint); }
.board-stats b { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.board-user {
  margin-left: auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--raised); border: 1px solid var(--line);
  font-size: 10.5px; font-weight: 600; color: var(--ink-muted);
  display: grid; place-items: center;
}

.board-cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding: 16px;
}
.board-col h3 {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--ink-faint); margin-bottom: 10px;
}
.board-col h3 em { font-style: normal; color: var(--ink-muted); }

.card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 11px;
  margin-bottom: 9px;
  font-size: 12px;
}
.card strong { display: block; font-size: 12.5px; margin-bottom: 2px; }
.card > span { color: var(--ink-faint); display: block; line-height: 1.45; }
.card-live { border-color: color-mix(in srgb, var(--accent) 36%, var(--line)); }

.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chip {
  font-style: normal; font-size: 10px; font-weight: 500;
  padding: 2.5px 7px; border-radius: 3px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-muted); white-space: nowrap;
}
.chip-accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.chip-crew { color: var(--ink-2, var(--ink-muted)); }
.chip-paid { color: var(--paid); border-color: color-mix(in srgb, var(--paid) 35%, var(--line)); }
.chip-storm { color: var(--storm); border-color: color-mix(in srgb, var(--storm) 35%, var(--line)); }

.meter {
  height: 3px; border-radius: 2px; background: var(--line);
  margin-top: 10px; overflow: hidden;
}
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

/* Callout chips (Amiréole-style tags) */
.callout {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  background: color-mix(in srgb, var(--raised) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 15px 8px 9px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
}
.callout-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #1f1608;
  display: grid; place-items: center;
}
.callout-1 { right: min(50%, 640px); top: clamp(240px, 36vh, 390px); }
.callout-2 { right: clamp(30px, 6vw, 90px); top: clamp(150px, 22vh, 250px); }

/* ============ Enemy ============ */

.enemy { padding: clamp(110px, 16vh, 190px) 0 clamp(80px, 10vh, 130px); background: var(--bg-2); }
.enemy h2 { max-width: 700px; }
.enemy-lede { max-width: 560px; margin-top: 24px; color: var(--ink-muted); }
.enemy-list {
  list-style: none;
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  border-top: 1px solid var(--line);
}
.enemy-list li {
  padding: 22px 26px 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-muted);
  position: relative;
}
.enemy-list li::before {
  content: "—"; color: var(--accent); margin-right: 10px;
}

/* ============ Pipeline set piece ============ */

.pipeline { position: relative; height: 420vh; background: var(--bg); }
.pipeline-sticky {
  position: sticky; top: 0; height: 100vh;
  padding-top: 68px;
  display: flex; align-items: center; overflow: clip;
}
.pipeline-grid {
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.pipeline-left { position: relative; }
.pipeline-left h2 {
  margin-bottom: clamp(22px, 3.4vh, 40px);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
}

.stages { list-style: none; position: relative; }
.stages::before, .stages::after {
  content: ""; position: absolute; left: 11px; top: 6px; bottom: 14px;
  width: 2px; background: var(--line);
}
.stages::after {
  background: var(--accent);
  transform: scaleY(var(--progress, 0)); transform-origin: top;
}
.stage {
  position: relative;
  padding: 0 0 clamp(12px, 2vh, 22px) 46px;
  opacity: 0.34;
  transition: opacity 0.45s var(--ease-out-quint);
}
.stage.is-active { opacity: 1; }
.stage-num {
  position: absolute; left: 0; top: 1px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-faint);
  background: var(--bg); padding: 2px 0;
}
.stage.is-active .stage-num { color: var(--accent); }
.stage h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.stage p { font-size: 14.5px; color: var(--ink-muted); max-width: 380px; margin-top: 3px; }

.pipeline-right { position: relative; min-height: 380px; }
.stage-panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out-quint), transform 0.5s var(--ease-out-quint);
  pointer-events: none;
}
.stage-panel.is-active { opacity: 1; transform: none; }

.panel-head {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
  padding: 14px 20px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-bottom: none; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.panel-body {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 22px 20px;
  font-size: 14px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.65);
}

.row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 8px 0; color: var(--ink-muted);
}
.row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.row-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.row-total span { color: var(--ink); font-weight: 600; }
.row-sub { color: var(--ink-faint); font-size: 13px; margin-top: 8px; }

.signature {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 19px;
}
.signature span {
  font-family: var(--font-mono); font-style: normal; font-size: 11px;
  color: var(--ink-faint); margin-left: 10px;
}

.panel-action {
  margin-top: 16px; font-size: 12.5px; font-weight: 500; color: var(--accent);
}

.calendar .cal-day {
  display: grid; grid-template-columns: 44px 1fr; align-items: center;
  gap: 12px; padding: 7px 0;
}
.calendar .cal-day > span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); }
.cal-job, .cal-rain, .cal-open {
  font-style: normal; font-size: 12.5px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--r-sm);
  background: var(--raised); border: 1px solid var(--line);
}
.cal-job { color: var(--ink); }
.cal-job em { font-style: normal; color: var(--accent); margin-left: 6px; font-size: 11px; }
.cal-moved { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.cal-rain { color: var(--rain); border-style: dashed; }
.cal-open { color: var(--ink-faint); border-style: dashed; background: transparent; }

.photo-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
}
.photo-grid i {
  aspect-ratio: 1; border-radius: 4px;
  background: linear-gradient(145deg, #2a251f, #1e1a16);
  border: 1px solid var(--line);
}

.paid-mark {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  letter-spacing: 0.02em; color: var(--paid);
  font-variant-numeric: tabular-nums;
}

/* ============ Feature rows ============ */

.features { padding: clamp(90px, 12vh, 150px) 0; background: var(--bg-2); }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding: clamp(44px, 7vh, 80px) 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-visual { order: 1; }

.feature h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 0.98; text-transform: uppercase; letter-spacing: 0.01em;
}
.feature p { margin-top: 18px; color: var(--ink-muted); max-width: 460px; }

.mini-cal, .doc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 20px;
  font-size: 14px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.6);
}
.mini-cal-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px;
  align-items: center; padding: 7px 0;
}
.mini-cal-row > span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); }
.mini-cal-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--accent); font-weight: 500;
}
.doc-head {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}

/* ============ Field / mobile ============ */

.field { padding: clamp(100px, 14vh, 170px) 0; background: var(--bg); }
.field-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.field-copy p { margin-top: 22px; color: var(--ink-muted); max-width: 460px; }
.field-list { list-style: none; margin-top: 34px; }
.field-list li {
  padding: 16px 0 16px 26px; border-top: 1px solid var(--line);
  color: var(--ink-muted); font-size: 15px; position: relative;
}
.field-list li::before {
  content: ""; position: absolute; left: 0; top: 24px;
  width: 8px; height: 8px; background: var(--accent);
}

.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(300px, 80vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px 16px 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
  padding: 0 4px 14px;
}
.offline-pill {
  font-style: normal; font-size: 10.5px; font-weight: 500;
  padding: 3px 9px; border-radius: 100px;
  border: 1px dashed var(--ink-faint); color: var(--ink-muted);
}
.phone-job b { display: block; font-size: 17px; }
.phone-job span { font-size: 12.5px; color: var(--ink-faint); }
.phone-checkin {
  margin-top: 14px;
  background: var(--accent); color: #1f1608;
  font-weight: 600; font-size: 14px; text-align: center;
  padding: 14px; border-radius: var(--r-md);
}
.phone-photos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px;
}
.phone-photos i {
  aspect-ratio: 1; border-radius: 6px;
  background: linear-gradient(145deg, #2a251f, #1e1a16);
  border: 1px solid var(--line);
}
.phone-actions {
  display: flex; gap: 8px; margin-top: 14px;
}
.phone-actions span {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 500;
  color: var(--ink-muted);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 10px 0;
}
.phone-actions .es { flex: 0 0 46px; color: var(--accent); }

/* ============ Pricing ============ */

.pricing { padding: clamp(100px, 14vh, 170px) 0; background: var(--bg-2); }
.pricing-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
}
.pricing-copy p { margin-top: 22px; color: var(--ink-muted); max-width: 440px; }

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 34px;
  transition: border-color var(--dur-hover) var(--ease-out-quint);
}
.price-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.price-row { display: flex; align-items: baseline; gap: 16px; }
.price-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 6vw, 5.4rem); line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.price-per { font-size: 13.5px; color: var(--ink-faint); line-height: 1.4; }
.price-list { list-style: none; margin: 28px 0 30px; }
.price-list li {
  padding: 11px 0 11px 24px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-muted); position: relative;
}
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 7px; height: 7px; background: var(--accent);
}
.price-note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* ============ Finale ============ */

.finale {
  padding: clamp(130px, 20vh, 220px) 0;
  background:
    radial-gradient(90% 70% at 50% 115%, rgba(232, 143, 61, 0.12) 0%, transparent 60%),
    var(--bg);
  text-align: center; /* the one centered moment */
}
.finale-kicker {
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 26px;
}
.finale-title {
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  line-height: 0.9; margin-bottom: 44px;
}

/* ============ Footer ============ */

.footer { border-top: 1px solid var(--line); padding: 44px 0 54px; background: var(--bg); }
.footer-grid { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--ink-faint); }
.footer-links a:hover { color: var(--ink-muted); }
.footer-fine { margin-left: auto; font-size: 12.5px; color: var(--ink-faint); }

/* ============================================================
   Motion — everything below is progressive enhancement.
   Content is fully visible without JS; hidden states gate on .js.
   ============================================================ */

/* Hero load-in: masked line reveal */
.js .hero-title .line-inner {
  transform: translateY(112%);
  transition: transform 1s var(--ease-out-expo);
}
.js .hero-title .line-2 .line-inner { transition-delay: 90ms; }
.js .hero-copy,
.js .board,
.js .callout {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out-quint), transform 0.9s var(--ease-out-quint);
}
.js .hero-copy { transition-delay: 240ms; }
.js .board { transform: translateY(26px) scale(0.985); transition-delay: 180ms; }
.js .callout { transition-delay: 600ms; }

.js .hero.is-in .line-inner { transform: none; }
.js .hero.is-in .hero-copy,
.js .hero.is-in .board,
.js .hero.is-in .callout { opacity: 1; transform: none; }

/* Scroll reveals — one-shot, selective */
.js [data-reveal] {
  opacity: 0;
  transition: opacity var(--dur-reveal) var(--ease-out-quint),
              transform var(--dur-reveal) var(--ease-out-quint);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(30px); }
}

/* Reduced motion: fades only, everything else instant */
@media (prefers-reduced-motion: reduce) {
  .js .hero-title .line-inner { transform: none; transition: none; }
  .js .hero-copy, .js .board, .js .callout {
    transform: none;
    transition-duration: 0.01ms;
  }
  .stage-panel { transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============ Responsive ============ */

@media (max-width: 1060px) {
  .board { position: relative; right: auto; top: auto; width: 100%; margin-top: 48px; }
  .callout-1 { right: auto; left: clamp(20px, 4vw, 48px); top: auto; bottom: 210px; }
  .callout-2 { display: none; }
  .hero { min-height: 0; }
  .hero-inner { padding-bottom: clamp(120px, 16vh, 200px); }
  .pipeline { height: auto; }
  .pipeline-sticky { position: static; height: auto; padding: clamp(90px, 12vh, 140px) 0; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .pipeline-right { display: none; }
  .stage { opacity: 1; }
  .stages::before, .stages::after { display: none; }
  .pipeline-sticky { padding-top: 0; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .board-cols { grid-template-columns: repeat(2, 1fr); }
  .board-stats { display: none; }
  .feature, .field-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 1; }
  .feature-flip .feature-visual { order: 2; }
  .callout-1 { display: none; }
  .footer-fine { margin-left: 0; }
}
