/* Growth Factory landing page. Warm paper, Signal orange, illustrative photography. */

:root {
  --signal: #ff5a1f;
  --signal-soft: #ff8a5c;
  --ember: #c2410c;
  --ember-deep: #9a3412;
  --peach: #ffe9dd;
  --white: #ffffff;
  --mist: #f4f3f1;
  --paper: #f6f5f3;
  --line: #eceae6;
  --ink: #17120e;
  --ink-2: #221b16;
  --muted: #57524c;
  --muted-2: #6b6660;
  --on-dark: #cfcbc5;
  --pine: #1e4d43;
  --pine-soft: #e3efea;
  --field: #f2eeea;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--ember);
}

h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

svg use {
  pointer-events: none;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

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

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

.muted {
  color: var(--muted);
}

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Icons drawn from the symbol library */
.btn svg,
.agent-node svg,
.round svg,
.ok-dot svg,
.done-dot svg,
.badge svg,
.glass-chip svg,
.menu-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.fill {
  fill: currentColor;
  stroke: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-xl {
  min-height: 60px;
  padding: 0 32px;
  font-size: 17px;
}

.btn-primary,
.btn-primary:hover {
  background: var(--signal);
  color: var(--ink);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px -10px rgba(255, 90, 31, 0.7);
}

.btn-dark,
.btn-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-glass,
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.btn-glass svg {
  width: 16px;
  height: 16px;
}

/* Bloom field: the 21st.dev "Bloom Field" gradient recipe (stacked radial
   blooms, a highlight wash and an overlay grain), recoloured from blue to
   Signal orange, soft orange and peach on a warm off-white field.
   Positions and intensity (--k) are set per use. */
.bloom {
  --k: 1;
  --hx: 67%;
  --hy: 46%;
  --ax: 35%;
  --ay: 66%;
  --bx: 48%;
  --by: 20%;
  --cx: 81%;
  --cy: 88%;
  --top: rgba(242, 238, 234, 0);
  background-color: var(--field);
  background-image:
    var(--noise),
    linear-gradient(180deg, var(--top) 0, rgba(242, 238, 234, 0) 280px),
    radial-gradient(circle at var(--hx) var(--hy), rgba(242, 238, 234, 1) 0%, rgba(242, 238, 234, 0.844) 19.02%, rgba(242, 238, 234, 0.5) 38.05%, rgba(242, 238, 234, 0.156) 57.07%, rgba(242, 238, 234, 0) 76.1%),
    radial-gradient(circle at var(--ax) var(--ay), rgba(255, 90, 31, var(--k)) 0%, rgba(255, 90, 31, calc(0.844 * var(--k))) 12.9%, rgba(255, 90, 31, calc(0.5 * var(--k))) 25.8%, rgba(255, 90, 31, calc(0.156 * var(--k))) 38.7%, rgba(255, 90, 31, 0) 51.6%),
    radial-gradient(circle at var(--bx) var(--by), rgba(255, 138, 92, var(--k)) 0%, rgba(255, 138, 92, calc(0.844 * var(--k))) 16.75%, rgba(255, 138, 92, calc(0.5 * var(--k))) 33.5%, rgba(255, 138, 92, calc(0.156 * var(--k))) 50.25%, rgba(255, 138, 92, 0) 67%),
    radial-gradient(circle at var(--cx) var(--cy), rgba(255, 196, 160, var(--k)) 0%, rgba(255, 196, 160, calc(0.844 * var(--k))) 10.28%, rgba(255, 196, 160, calc(0.5 * var(--k))) 20.55%, rgba(255, 196, 160, calc(0.156 * var(--k))) 30.83%, rgba(255, 196, 160, 0) 41.1%);
  background-size: 120px 120px, auto, auto, auto, auto, auto;
  background-blend-mode: overlay, normal, normal, normal, normal, normal;
}

/* Under the hero: clip reel and the picked-out clips */
.bloom-flow {
  --k: 0.62;
  --top: var(--field);
  --hx: 26%;
  --hy: 30%;
  --ax: 92%;
  --ay: 34%;
  --bx: 6%;
  --by: 82%;
  --cx: 64%;
  --cy: 98%;
}

/* Behind the three cards and the closing panel */
.bloom-tail {
  --k: 0.9;
  --top: var(--field);
  --hx: 52%;
  --hy: 70%;
  --ax: 12%;
  --ay: 36%;
  --bx: 88%;
  --by: 22%;
  --cx: 78%;
  --cy: 62%;
}

/* The closing panel: blooms pushed to the corners, pale behind the headline */
.bloom-cta {
  --k: 1;
  --hx: 50%;
  --hy: 46%;
  --ax: 4%;
  --ay: 96%;
  --bx: 96%;
  --by: 6%;
  --cx: 92%;
  --cy: 96%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 18, 14, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.brand.sm {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav-desktop > a:not(.btn) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-btn svg {
  width: 20px;
  height: 20px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px clamp(20px, 4vw, 48px) 20px;
  font-size: 17px;
  font-weight: 600;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile > a:not(.btn) {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .nav-desktop {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
}

@media (min-width: 761px) {
  .nav-mobile {
    display: none !important;
  }
}

/* Shared bits */
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  flex: 0 0 auto;
  animation: pulse 1.6s ease-out infinite;
}

.clip {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
}

.clip > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clip-hot {
  box-shadow: 0 0 0 3px var(--signal);
}

.clip-dur {
  position: absolute;
  left: 10px;
  top: 10px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(23, 18, 14, 0.65);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.clip-hook {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 9px;
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.08;
  text-align: center;
}

.clip-hook.sm {
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px;
  font-size: 12px;
  font-weight: 700;
}

.mono {
  filter: grayscale(1);
}

.blurred {
  filter: blur(4px) brightness(0.6);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.8;
}

.badge-ok {
  background: var(--pine-soft);
  color: var(--pine);
}

.badge-corner {
  position: absolute;
  left: 10px;
  bottom: 10px;
}

.round {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(23, 18, 14, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.round svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.round.sm {
  width: 46px;
  height: 46px;
}

.round.big {
  width: 76px;
  height: 76px;
  background: var(--signal);
  box-shadow: 0 14px 30px -8px rgba(255, 90, 31, 0.65);
}

.round.big svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}

.round.pulse {
  animation: pulse 1.8s ease-out infinite;
}

.fake-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.fake-btn.dark {
  background: var(--ink);
  color: var(--white);
}

.fake-btn.orange {
  background: var(--signal);
  color: var(--ink);
}

/* Headings */
.h-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.h-card {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.lead {
  max-width: 320px;
  font-size: 17px;
  line-height: 1.45;
}

.lead.on-dark {
  color: var(--on-dark);
}

.section {
  padding-block: clamp(56px, 7vw, 112px);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* Hero */
.hero {
  position: relative;
  height: clamp(740px, 68vw, 980px);
  overflow: hidden;
  background: var(--white);
}

.hero-photo {
  position: absolute;
  left: 0;
  top: -130px;
  width: 100%;
  height: calc(100% + 130px);
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(23, 18, 14, 0.62) 0%, rgba(23, 18, 14, 0.3) 42%, rgba(23, 18, 14, 0) 70%);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: calc(42% + 3px);
  background: linear-gradient(180deg, rgba(242, 238, 234, 0) 0%, rgba(242, 238, 234, 0.55) 45%, var(--field) 92%);
}

/* Same grain as the bloom field, so the hero melts into it without a seam */
.hero-fade::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  background-size: 120px 120px;
  mix-blend-mode: overlay;
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 90%);
  mask-image: linear-gradient(180deg, transparent 30%, #000 90%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(240px, 22vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 138px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--white);
}

.hero-title > span {
  display: block;
}

.hero-lead {
  max-width: 430px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  color: #f1eeea;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  font-size: 13px;
  font-weight: 500;
  color: #e8e4df;
}

.hero-clips {
  position: absolute;
  z-index: 2;
  right: 4%;
  top: 9%;
  width: 38%;
  height: 70%;
}

.hero-clip {
  position: absolute;
}

.hero-clip .clip {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  outline: 4px solid rgba(255, 255, 255, 0.92);
}

.hero-clip .clip-hot {
  outline: 4px solid var(--signal);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.45);
}

.hc-1 {
  left: 4%;
  top: 20%;
  width: 36%;
}

.hc-2 {
  left: 36%;
  top: 0;
  width: 42%;
}

.hc-2 .clip-hook {
  left: 10%;
  right: 10%;
  bottom: 7%;
  font-size: clamp(13px, 1.3vw, 18px);
}

.hc-3 {
  left: 70%;
  top: 34%;
  width: 32%;
}

@media (max-width: 820px) {
  .hero-clips {
    display: none;
  }
}

/* Reel */
.reel-section {
  padding: clamp(32px, 4vw, 56px) 0;
  overflow: hidden;
}

.reel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.reel-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 4px 0;
  animation: marquee 48s linear infinite;
}

.reel:hover .reel-track {
  animation-play-state: paused;
}

.reel-clip {
  width: clamp(150px, 14vw, 200px);
  flex: 0 0 auto;
}

/* Split */
.split {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.split-frame {
  position: relative;
  border-radius: clamp(20px, 2.6vw, 36px);
  overflow: hidden;
  background: var(--ink);
}

.split-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.win {
  position: absolute;
  top: 7%;
  height: 86%;
  left: var(--l);
  width: 27.4%;
  overflow: hidden;
  border-radius: clamp(12px, 1.6vw, 22px);
  box-shadow: 0 0 0 3px var(--white), 0 30px 60px rgba(0, 0, 0, 0.45);
}

.win-hot {
  box-shadow: 0 0 0 3px var(--signal), 0 30px 60px rgba(0, 0, 0, 0.45);
}

.win > img {
  position: absolute;
  top: -8.14%;
  left: var(--s);
  width: 364.96%;
  height: 116.28%;
  max-width: none;
  object-fit: cover;
}

.win-dur {
  position: absolute;
  left: 8%;
  top: 4%;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.win-hot .win-dur {
  background: var(--signal);
}

.win-hook {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 5%;
  padding: 10px;
  border-radius: 14px;
  background: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(11px, 1.4vw, 18px);
  line-height: 1.05;
  text-align: center;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pills li {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 14px;
  font-weight: 600;
}

/* Agents */
.agents {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.agents-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 760px;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}

.agents-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(96px, 10vw, 150px);
  padding-bottom: clamp(72px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.agent-rail {
  position: relative;
}

.rail-line,
.rail-fill {
  height: 3px;
  border-radius: 3px;
}

.rail-line {
  position: absolute;
  left: 8.33%;
  right: 8.33%;
  top: 31px;
  background: rgba(255, 255, 255, 0.14);
}

.rail-fill {
  width: 0%;
  background: repeating-linear-gradient(90deg, var(--signal) 0 14px, var(--signal-soft) 14px 20px);
  background-size: 40px 3px;
  animation: flow 0.8s linear infinite;
  transition: width 0.6s var(--ease);
}

.agent-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 8px;
}

.agent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.agent-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  transition: all 0.4s var(--ease);
}

.agent-node svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.agent.is-done .agent-node {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.agent[aria-selected="true"] .agent-node {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(255, 90, 31, 0.18), 0 0 40px rgba(255, 90, 31, 0.45);
}

.agent:hover .agent-node {
  border-color: var(--signal);
}

.agent-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.agent-role {
  font-size: 13px;
  font-weight: 500;
  color: #a39d96;
}

.agent[aria-selected="true"] .agent-role {
  color: var(--signal-soft);
}

@media (max-width: 760px) {
  .agent-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }
  .rail-line {
    display: none;
  }
}

.console {
  border-radius: 32px;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(24px, 3vw, 40px);
  min-height: 420px;
}

.console-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.console-panel[hidden] {
  display: none;
}

.console-info {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.console-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--signal);
}

.console-info h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
}

.console-info p {
  max-width: 340px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--on-dark);
}

.console-status {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #a39d96;
}

.console-status .live-dot {
  width: 8px;
  height: 8px;
}

.console-visual {
  flex: 2 1 460px;
  min-width: 0;
  position: relative;
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 110px;
  margin-bottom: 22px;
}

.wave span {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  animation: bar 1.1s ease-in-out infinite;
}

.wave span.hot {
  background: var(--signal);
}

.transcript {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transcript li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
}

.t-time {
  min-width: 44px;
  font-size: 13px;
  font-weight: 600;
  color: var(--signal-soft);
}

.transcript .is-ignored {
  background: rgba(255, 255, 255, 0.03);
  color: #8a847d;
}

.is-ignored .t-time {
  color: #8a847d;
}

.t-tag {
  margin-left: auto;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.scene {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.scene-bad img {
  filter: blur(5px) brightness(0.4);
}

.scene-bad figcaption {
  background: var(--peach);
  color: var(--ember-deep);
}

.scan {
  position: absolute;
  left: -6px;
  right: -6px;
  height: 3px;
  background: var(--signal);
  box-shadow: 0 0 18px 4px rgba(255, 90, 31, 0.6);
  animation: scan 2.2s ease-in-out infinite alternate;
}

.scouts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scout {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.scout img {
  width: 54px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

.scout > div {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scout-top b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}

.scout-top span {
  font-size: 13px;
  font-weight: 600;
  color: #a39d96;
}

.range {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.range span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--signal);
}

.writer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.writer-clip {
  width: 200px;
  flex: 0 0 auto;
}

.writer-clip .clip-hook {
  bottom: 12px;
  font-size: 17px;
}

.writer-copy {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.writer-copy .label {
  color: #a39d96;
}

.writer-copy .label + .writer-hook,
.writer-copy .label + .writer-caption {
  margin-top: -4px;
}

.writer-hook {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.writer-caption {
  font-size: 17px;
  line-height: 1.45;
  color: var(--on-dark);
}

.type {
  display: inline-block;
  animation: type 1.4s steps(22) both;
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-content: start;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
  font-weight: 600;
}

.ok-dot,
.done-dot {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ok-dot {
  width: 36px;
  height: 36px;
  background: var(--pine);
  color: var(--white);
}

.ok-dot svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.render {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.render-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.dim {
  color: #a39d96;
}

.render-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.render-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--signal);
  animation: fillbar 2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.render-clips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 460px;
}

.render-clips .clip {
  border-radius: 18px;
}

.done-dot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--signal);
  color: var(--ink);
}

.done-dot svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.done-dot.ok {
  top: auto;
  right: 6px;
  bottom: 6px;
  width: 20px;
  height: 20px;
  background: var(--pine);
  color: var(--white);
}

.done-dot.ok svg {
  width: 11px;
  height: 11px;
}

/* App window */
.app-section {
  background: linear-gradient(180deg, var(--ink) 0, var(--ink) 220px, var(--field) 220px);
}

.app-inner {
  padding-bottom: clamp(72px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.app-window {
  border-radius: clamp(20px, 2.4vw, 32px);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 60px 120px -40px rgba(23, 18, 14, 0.55), 0 0 0 1px rgba(23, 18, 14, 0.06);
}

.app-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.app-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.workspace {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.workspace img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.app-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--line);
}

.app-tabs button {
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.app-tabs button[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(23, 18, 14, 0.14);
}

.autopilot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 6px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.toggle {
  position: relative;
  width: 40px;
  height: 26px;
  border-radius: 999px;
  background: var(--signal);
}

.toggle::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
}

@media (max-width: 640px) {
  .autopilot {
    display: none;
  }
}

.app-panel {
  padding: clamp(16px, 2vw, 28px);
  min-height: 560px;
}

.app-panel[hidden] {
  display: none;
}

.pf,
.pr,
.pres {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.pf-main {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footage {
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
}

.footage-photo {
  position: relative;
}

.footage-photo > img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: 50% 40%;
}

.on-line {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 600;
}

.on-line .live-dot {
  width: 8px;
  height: 8px;
}

.footage-title {
  position: absolute;
  left: 20px;
  bottom: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--white);
}

.filmstrip-wrap {
  position: relative;
  padding: 14px 18px 18px;
}

.filmstrip {
  display: flex;
  gap: 3px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
}

.filmstrip span {
  flex: 1 1 0;
  min-width: 0;
  background-image: url("/assets/alpine-story.webp");
  background-size: 1200% auto;
  background-position-y: 50%;
  filter: saturate(0.5) brightness(0.6);
}

.mark {
  position: absolute;
  top: 11px;
  height: 52px;
  left: calc(18px + (100% - 36px) * var(--l));
  width: calc((100% - 36px) * var(--w));
  border: 2.5px solid var(--signal);
  border-radius: 9px;
  background: rgba(255, 90, 31, 0.18);
}

.app-clips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.app-clips .clip {
  border-radius: 18px;
}

.pf-side {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ready-card {
  border-radius: 24px;
  background: var(--signal);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ready-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--white);
}

.ready-card .fake-btn {
  margin-top: 14px;
}

.direction-card {
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-pills span {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mist);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.deck-stage {
  flex: 999 1 420px;
  min-width: 0;
  border-radius: 28px;
  background: #efedea;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.deck {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 9 / 16;
}

.deck-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
}

.deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-card.back {
  opacity: 0.55;
}

.deck-card.left {
  transform: translateX(-34%) rotate(-10deg) scale(0.86);
}

.deck-card.right {
  transform: translateX(34%) rotate(10deg) scale(0.86);
}

.deck-card.front {
  box-shadow: 0 30px 60px -20px rgba(23, 18, 14, 0.6);
}

.deck-card .clip-hook {
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-size: 17px;
}

.deck-actions,
.why-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.approved {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.approved-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.approved-head .label {
  color: var(--muted-2);
}

.approved-head b {
  font-family: var(--display);
  font-size: 22px;
}

.approved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.approved-grid .clip {
  border-radius: 14px;
}

.approved .fake-btn {
  margin-top: auto;
}

.top-clip {
  flex: 999 1 460px;
  min-width: 0;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.top-clip > img {
  flex: 0 1 170px;
  min-width: 140px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 20px;
  align-self: flex-start;
}

.top-clip-stats {
  flex: 999 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.big-stat {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--signal);
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
}

.curve {
  width: 100%;
  height: 150px;
  margin-top: auto;
}

.sample {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
}

.next-test {
  flex: 1 1 280px;
  min-width: 0;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.label.orange {
  color: var(--signal-soft);
}

.next-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.ab {
  display: flex;
  gap: 10px;
}

.ab img {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border-radius: 14px;
}

.mono-dim {
  filter: grayscale(1) brightness(0.8);
}

.ringed {
  box-shadow: 0 0 0 3px var(--signal);
}

.next-test .fake-btn {
  margin-top: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.steps li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.steps b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}

.steps li span:not(.step-num) {
  font-size: 15px;
  color: var(--muted);
}

.step-num {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--peach);
  color: var(--ember-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Why */
.why {
  background: transparent;
}

.why-grid {
  padding-block: clamp(64px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.why-card {
  border-radius: 32px;
  overflow: hidden;
  min-height: 460px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.why-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 290px;
  margin: 12px 12px 0;
  border-radius: 24px;
  overflow: hidden;
}

.why-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-chip {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
}

.glass-chip svg {
  width: 15px;
  height: 15px;
}

.why-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  justify-content: center;
  gap: 14px;
}

.why-actions .round.big {
  width: 64px;
  height: 64px;
}

.why-actions .round.big svg {
  width: 26px;
  height: 26px;
}

.why-copy {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-copy h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.why-copy p {
  font-size: 16px;
  color: var(--muted);
}

.loop-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.loop {
  position: relative;
  width: 220px;
  height: 220px;
}

.loop > svg {
  width: 220px;
  height: 220px;
}

.loop-orbit {
  position: absolute;
  inset: 0;
  animation: spin 8s linear infinite;
}

.loop-orbit span {
  position: absolute;
  left: 101px;
  top: 13px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(255, 90, 31, 0.2);
}

.loop-tag {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.loop-tag.hot {
  background: var(--signal);
  color: var(--ink);
}

.loop-tag.t {
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}

.loop-tag.r {
  right: 0;
  top: 50%;
  transform: translate(40%, -50%);
}

.loop-tag.b {
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
}

.loop-tag.l {
  left: 0;
  top: 50%;
  transform: translate(-40%, -50%);
}

.loop > img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  transform: translate(-46%, -50%);
}

/* CTA */
.cta {
  padding: clamp(56px, 7vw, 100px) 16px 16px;
}

.cta-panel {
  position: relative;
  max-width: 1408px;
  margin: 0 auto;
  border-radius: clamp(24px, 3vw, 44px);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(23, 18, 14, 0.06), 0 40px 80px -40px rgba(194, 65, 12, 0.45);
}

/* A ring of clips turning slowly behind the closing headline */
.cta-orbit {
  --cw: clamp(64px, 7vw, 112px);
  --r: clamp(240px, 36vw, 560px);
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1800px;
  pointer-events: none;
}

.cta-tilt {
  transform-style: preserve-3d;
  transform: rotateZ(-16deg) rotateX(-12deg);
}

.cta-ring {
  position: relative;
  width: var(--cw);
  aspect-ratio: 9 / 16;
  transform-style: preserve-3d;
  animation: ring 60s linear infinite;
}

.ring-card {
  position: absolute;
  inset: 0;
  border-radius: clamp(10px, 1.1vw, 16px);
  overflow: hidden;
  outline: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px -14px rgba(23, 18, 14, 0.45);
  opacity: 0.62;
  transform: rotateY(calc(var(--i) * 30deg)) translateZ(var(--r));
}

.ring-card.hot {
  outline-color: var(--signal);
  opacity: 0.8;
}

.ring-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes ring {
  to { transform: rotateY(-360deg); }
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 8vw, 120px) clamp(24px, 5vw, 72px) clamp(120px, 12vw, 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.cta-copy > img {
  filter: drop-shadow(0 20px 30px rgba(255, 90, 31, 0.45));
}

.cta-copy .h-display {
  text-shadow: 0 2px 30px rgba(242, 238, 234, 0.9);
}

.cta-copy .h-display {
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.cta-note {
  font-size: 14px;
  color: var(--on-dark);
}

/* Footer */
.site-footer {
  padding-top: 28px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.site-footer nav a:hover {
  color: var(--ember);
}

/* Motion */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(255, 90, 31, 0); }
}
@keyframes bar {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@keyframes scan { from { top: 0%; } to { top: 100%; } }
@keyframes type {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.86) translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes fillbar { from { width: 0%; } to { width: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { background-position: 40px 0; } }
@keyframes tilt {
  from { opacity: 0.25; transform: perspective(1400px) rotateX(26deg) scale(0.86) translateY(80px); }
  to { opacity: 1; transform: none; }
}
@keyframes par { to { transform: translateY(120px); } }
@keyframes grey {
  from { filter: grayscale(0) brightness(1); }
  to { filter: grayscale(1) brightness(0.6); }
}
@keyframes win {
  from { opacity: 0; transform: translateY(90px) scale(0.8); }
  to { opacity: 1; transform: none; }
}

.rise { animation: rise 0.9s var(--ease) both; }
.float { animation: float 7s ease-in-out infinite; }
.pop { animation: pop 0.55s var(--ease) both; }

/* Scroll-linked motion where the browser supports it */
@supports (animation-timeline: view()) {
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  .tilt { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  .grey { animation: grey linear both; animation-timeline: view(); animation-range: entry 10% entry 100%; }
  .win { animation: win linear both; animation-timeline: view(); }
  .par { animation: par linear both; animation-timeline: scroll(root); animation-range: 0px 900px; }
}

/* Fallback: app.js adds .io and toggles .in with IntersectionObserver */
.io .rv,
.io .win {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.io .tilt {
  opacity: 0.3;
  transform: perspective(1400px) rotateX(18deg) scale(0.92);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.io .grey { transition: filter 1.2s ease; }
.io .rv.in,
.io .win.in,
.io .tilt.in {
  opacity: 1;
  transform: none;
}
.io .grey.in { filter: grayscale(1) brightness(0.6); }
.io .win:nth-of-type(2) { transition-delay: 0.15s; }
.io .win:nth-of-type(3) { transition-delay: 0.3s; }
.io .win:nth-of-type(4) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .io .rv,
  .io .win,
  .io .tilt {
    opacity: 1;
    transform: none;
  }
}

/* Growth department copy: retain the orange identity and give the longer story room. */
.hero { height: auto; min-height: 860px; }
.hero-copy { min-height: 860px; padding-top: 72px; padding-bottom: 180px; gap: 22px; }
.hero-title { max-width: 68%; font-size: clamp(42px, 5.15vw, 78px); line-height: 1.1; letter-spacing: -0.045em; }
.hero-lead { max-width: 66%; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; }
.hero-lead > span { display: block; }
.hero-approval { max-width: min(510px, 57%); font-size: 15px; line-height: 1.5; color: var(--white); }
.hero-note { max-width: 55%; line-height: 1.5; color: var(--white); }
.hero-chip { height: auto; min-height: 36px; padding-block: 8px; line-height: 1.4; }
.hero-clips { width: 32%; top: 16%; right: 3%; }
.growth-cycle .section-head { align-items: flex-start; }
.growth-cycle .h-display { max-width: 780px; font-size: clamp(40px, 5vw, 72px); }
.growth-cycle .lead { max-width: 360px; }
.cycle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin-top: 48px; }
.cycle-grid li { padding: 28px 0; border-top: 1px solid rgba(23, 18, 14, 0.22); }
.cycle-number { color: var(--ember); font-size: 13px; font-weight: 700; }
.cycle-grid h3 { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; margin: 12px 0 10px; }
.cycle-grid p, .builder-copy p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.app-intro { color: var(--white); padding-top: 68px; }
.app-intro .h-display { font-size: clamp(40px, 5vw, 72px); }
.app-section { background: linear-gradient(180deg, var(--ink) 0, var(--ink) 550px, var(--field) 550px); }
.demo-note { color: var(--on-dark); font-size: 13px; line-height: 1.6; margin-top: -20px; }
.evidence-note { max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.why-copy p { line-height: 1.6; }
.builder-section { padding-top: 16px; }
.builder-section .h-display { font-size: clamp(40px, 5vw, 72px); }
.builder-copy { max-width: 420px; }
.builder-copy p + p { margin-top: 16px; }
.builder-flow { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 36px; counter-reset: build; }
.builder-flow li { counter-increment: build; display: flex; align-items: center; gap: 12px; font-weight: 600; line-height: 1.5; }
.builder-flow li::before { content: counter(build); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--peach); color: var(--ember-deep); flex-shrink: 0; }
.release-note { border-block: 1px solid rgba(23, 18, 14, 0.22); margin-top: 36px; padding-block: 20px; }
.release-note summary { cursor: pointer; font-weight: 600; min-height: 28px; }
.release-note p { max-width: 900px; margin-top: 16px; color: var(--muted); line-height: 1.7; }
.cta-copy .h-display { max-width: 1000px; font-size: clamp(40px, 5.8vw, 84px); line-height: 0.98; }
.closing-lead { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.6; }
@media (max-width: 820px) {
  .hero, .hero-copy { min-height: 800px; }
  .hero-copy { padding-top: 44px; padding-bottom: 130px; }
  .hero-title { max-width: 100%; font-size: clamp(42px, 8vw, 68px); }
  .hero-lead, .hero-approval { max-width: 100%; }
  .hero-note { max-width: 100%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(23,18,14,0.7), rgba(23,18,14,0.65) 70%, transparent); }
  .hero-fade { height: 22%; }
  .cycle-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
}
@media (max-width: 480px) {
  .hero-chip { max-width: 100%; font-size: 12px; }
  .hero-copy { gap: 20px; }
  .hero-title { font-size: clamp(38px, 9.7vw, 46px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cycle-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .cycle-grid li { padding-block: 22px; }
  .why-grid { grid-template-columns: minmax(0,1fr); }
  .why-copy { padding-inline: 22px; }
  .why-copy h3 { font-size: 28px; }
  .demo-note { margin-top: -12px; }
  .builder-flow { flex-direction: column; }
}

/* Compact scrolled header: fixed height avoids shifting the document on scroll. */
.site-header { height: 73px; border-bottom-color: transparent; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-row { position: relative; height: 73px; padding-block: 14px; transition: height 180ms ease, padding 180ms ease; }
.header-row::before { content: ""; position: absolute; inset: 0 calc((min(100vw, 1320px) - 100vw) / 2); z-index: -1; background: rgba(255,255,255,0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(23,18,14,0.08); }
.site-header.is-scrolled .header-row { height: 57px; padding-block: 6px; }
.site-header.is-scrolled .brand { font-size: 18px; }
.brand { transition: font-size 180ms ease; }
.brand > img { transition: width 180ms ease, height 180ms ease; }
.site-header.is-scrolled .brand > img { width: 30px; height: 30px; }
.site-header.is-scrolled .nav-desktop { font-size: 14px; gap: 22px; }
.nav-mobile { position: relative; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--line); }
.download-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px rgba(0,0,0,0.22); }
.download-dialog::backdrop { background: rgba(23,18,14,0.55); backdrop-filter: blur(6px); }
.download-dialog > img { margin-bottom: 24px; }
.download-dialog .label { color: var(--ember); }
.download-dialog h2 { margin-block: 12px 18px; font-family: var(--display); font-size: 30px; line-height: 1.2; letter-spacing: -0.035em; }
.download-dialog p:not(.label) { color: var(--muted); line-height: 1.65; }
.download-dialog .btn { margin-top: 26px; }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 28px; background: transparent; cursor: pointer; }
.dialog-close:hover { background: var(--line); }
@media (max-width: 480px) {
  .hero-title { font-size: clamp(30px, 8.2vw, 39px); line-height: 1.15; }
  .hero-lead { font-size: 16px; }
  .hero-lead > span + span { margin-top: 8px; }
  .download-dialog { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .header-row, .brand, .brand > img { transition: none; }
}
@media (max-width: 640px) {
  .app-inner, .app-window { min-width: 0; }
  .app-window { width: 100%; }
  .app-bar-left, .workspace { min-width: 0; }
  .app-tabs { width: 100%; }
  .app-tabs button { flex: 1 1 0; min-width: 0; padding-inline: 8px; }
}
@media (max-width: 640px) {
  .app-window.tilt { animation: none; transform: none; opacity: 1; transition: none; }
}

/* Keep the brand left, section navigation centered, and download right. */
.site-header .header-row { display: grid; grid-template-columns: 1fr auto 1fr; }
.header-logo { justify-self: start; }
.header-title { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; }
.site-header .nav-desktop { justify-self: center; gap: 22px; font-size: 12px; }
.site-header .header-download { justify-self: end; min-height: 36px; padding-inline: 15px; font-size: 12px; }
.site-header.is-scrolled .nav-desktop { gap: 12px; font-size: 12px; }
.site-header.is-scrolled .header-title { font-size: 18px; }
@media (max-width: 1040px) {
  .site-header .header-row { grid-template-columns: minmax(0,1fr) auto; }
  .site-header .nav-desktop { display: none; }
  .site-header .header-download { display: none; }
  .site-header .menu-btn { display: inline-flex; }
  .site-header .nav-mobile:not([hidden]) { display: flex !important; }
}
@media (max-width: 480px) {
  .header-title, .site-header.is-scrolled .header-title { font-size: 16px; }
}

/* Product pages use the same action, navigation and type hierarchy as the Mac story. */
.text-link { color: var(--ember); font-weight: 600; white-space: normal; }
.text-link:hover { color: var(--ember-deep); text-decoration: underline; text-underline-offset: 4px; }
.site-header .nav-desktop a { padding-block: 7px; border-bottom: 2px solid transparent; }
.site-header .nav-desktop a[aria-current="page"] { color: var(--ember); border-color: var(--signal); }
.site-header .nav-mobile a[aria-current="page"] { color: var(--ember); }
.site-footer nav a[aria-current="page"] { color: var(--ember); }
