/* ==========================================================================
   STUDIO. — AI video studio
   Dark editorial base · coral accent · cream interludes · cinema details
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --surface: #141414;
  --surface-2: #1b1b1b;
  --field: #0d0d0d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f1ec;
  --muted: #a39f99;
  --dim: #85817b;
  --coral: #ff5a36;
  --coral-hover: #ff724f;
  --accent: var(--coral);
  --accent-ink: #bd3515;      /* coral that passes contrast on cream */
  --cream: #f2ebe0;
  --ink: #0a0a0a;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r: 12px;
  --r-lg: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  color-scheme: dark;
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* faint film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background-image: var(--grain); opacity: 0.035;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--ink); transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02; letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--accent); }
.display--xl { font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.lead a, .plans__foot a, .prose a, .check a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; margin-bottom: 26px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow__num { color: var(--accent); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 90, 54, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 54, .55); } 70% { box-shadow: 0 0 0 8px rgba(255, 90, 54, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 54, 0); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s, color .25s, box-shadow .3s, transform .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: var(--ink); }
.btn--primary:hover { background: var(--coral-hover); box-shadow: 0 12px 34px -12px rgba(255, 90, 54, .7); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--coral); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.header.is-scrolled, .header.is-open { background: rgba(10, 10, 10, .74); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font: 700 19px/1 var(--sans); letter-spacing: -0.03em; color: var(--text); }
.wordmark__dot { color: var(--coral); }
.nav ul { display: flex; gap: 30px; }
.nav a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--dim); }
.lang__current { color: var(--text); }
.lang a { padding: 6px 2px; transition: color .2s; }
.lang a:hover { color: var(--coral); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .icon--close, .menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: rgba(10, 10, 10, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding-block: 32px 40px; }
.mobile-menu__links a { display: block; padding: 10px 0; font: 400 clamp(2.2rem, 9vw, 3rem)/1.1 var(--serif); border-bottom: 1px solid var(--line); }
.mobile-menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; }

@media (max-width: 980px) {
  .nav, .header__actions > .lang { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) { .header__cta { display: none; } }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero__glow { position: absolute; right: -10%; bottom: -20%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 54, .16), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__title { margin-bottom: 28px; }
.hero__lead { margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 20px 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats strong { font: 500 24px/1 var(--sans); letter-spacing: -0.02em; }
.hero__stats span { font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

.hero__media { position: relative; aspect-ratio: 1 / 1.08; }
.hero__media .frame--main { position: absolute; top: 0; right: 0; width: 80%; aspect-ratio: 4 / 5; box-shadow: 0 40px 120px -40px rgba(255, 90, 54, .35), 0 0 0 1px var(--line); }
.hero__media .frame--reel { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 16; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14); z-index: 2; }

.gen-card {
  position: absolute; left: 0; top: 17%; z-index: 3; width: min(250px, 46%);
  padding: 14px 16px; border-radius: 14px;
  background: rgba(20, 20, 20, .72); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.gen-card__row { display: flex; align-items: center; gap: 8px; color: var(--text); }
.gen-card__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s infinite; }
.gen-card__bar { height: 3px; margin: 12px 0 10px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.gen-card__bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--coral), #ffb38f); transform-origin: 0 50%; animation: gen 3.6s var(--ease) infinite; }
.gen-card__meta { font-size: 10px; color: var(--dim); }
@keyframes gen { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { width: 100%; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .gen-card { width: auto; max-width: 60%; padding: 10px 12px; font-size: 9.5px; }
  .gen-card__row { white-space: nowrap; }
  .gen-card__bar { margin: 8px 0 0; }
  .gen-card__meta { display: none; }
  .vf { inset: 10px; font-size: 9.5px; }
}

/* ---------- Frames & placeholder scenes ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #000; isolation: isolate; }
.frame__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); z-index: 1; }
.frame__video.is-ready { opacity: 1; }
.frame__grain { position: absolute; inset: -50%; z-index: 2; pointer-events: none; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -2%); } 75% { transform: translate(-2%, -4%); } 100% { transform: translate(0, 0); } }

.scene { position: absolute; inset: 0; overflow: hidden; background: var(--s0); }
.scene::before {
  content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(36% 30% at 32% 36%, var(--s1), transparent 70%),
    radial-gradient(30% 26% at 70% 62%, var(--s2), transparent 70%),
    radial-gradient(60% 40% at 50% 108%, var(--s3), transparent 72%);
  filter: blur(20px) saturate(1.1);
  animation: drift 18s ease-in-out infinite alternate;
}
.scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 42%, transparent 48%, rgba(0, 0, 0, .6) 100%), linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .07) 50%, transparent 60%); background-size: 100% 100%, 300% 100%; animation: sweep 9s ease-in-out infinite; }
.scene__orb {
  position: absolute; left: 50%; top: 44%; width: 36%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .95), var(--s2) 16%, var(--s1) 46%, var(--s3) 82%);
  box-shadow: 0 0 80px -12px var(--s1), inset -10px -14px 30px rgba(0, 0, 0, .35);
  animation: float 7s ease-in-out infinite;
}
.scene__floor { position: absolute; left: 50%; top: 70%; width: 44%; height: 7%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: blur(5px); animation: shadow 7s ease-in-out infinite; }
@keyframes drift { 0% { transform: translate3d(-5%, -3%, 0) rotate(0deg) scale(1); } 100% { transform: translate3d(5%, 4%, 0) rotate(10deg) scale(1.1); } }
@keyframes sweep { 0%, 100% { background-position: 0 0, 100% 0; } 50% { background-position: 0 0, 0 0; } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -56%); } }
@keyframes shadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.85); opacity: .7; } }

.scene--ember  { --s0: #160604; --s1: #ff5a36; --s2: #ffa36b; --s3: #6b1608; }
.scene--ocean  { --s0: #03111a; --s1: #1f8fb3; --s2: #8fdcec; --s3: #0b3d52; }
.scene--gold   { --s0: #170f05; --s1: #e9a54f; --s2: #ffe0a8; --s3: #6b3d0e; }
.scene--orchid { --s0: #13071a; --s1: #c94fd8; --s2: #ff86a6; --s3: #3d0f4a; }
.scene--dusk   { --s0: #100914; --s1: #ff7a59; --s2: #8f6bff; --s3: #2b1640; }
.scene--wine   { --s0: #120408; --s1: #b3173f; --s2: #ff8a7a; --s3: #3a0815; }
.scene--forest { --s0: #05110b; --s1: #2fae7a; --s2: #d2f2a8; --s3: #0d3a26; }
.scene--steel  { --s0: #0a0c11; --s1: #6f86b8; --s2: #eadfcd; --s3: #1d2638; }

/* viewfinder overlay */
.vf { position: absolute; inset: 14px; z-index: 3; pointer-events: none; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.vf__corners { position: absolute; inset: 0; --c: rgba(255, 255, 255, .7); --l: 18px; --w: 1.5px;
  background:
    linear-gradient(var(--c) 0 0) left top / var(--l) var(--w), linear-gradient(var(--c) 0 0) left top / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) right top / var(--l) var(--w), linear-gradient(var(--c) 0 0) right top / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) left bottom / var(--l) var(--w), linear-gradient(var(--c) 0 0) left bottom / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) right bottom / var(--l) var(--w), linear-gradient(var(--c) 0 0) right bottom / var(--w) var(--l);
  background-repeat: no-repeat; }
.vf__top, .vf__bottom { position: absolute; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 12px; }
.vf__top { top: 12px; }
.frame--main .vf__bottom { justify-content: flex-end; gap: 18px; } /* the reel frame covers the bottom-left corner */
.vf__bottom { bottom: 12px; }
.vf__rec { display: inline-flex; align-items: center; gap: 7px; }
.vf__rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s steps(2, jump-none) infinite; }
.vf__tc { font-variant-numeric: tabular-nums; }
.vf--mini { inset: 10px; font-size: 9.5px; }
.vf--mini .vf__bottom { left: 2px; right: 2px; bottom: 2px; }
@keyframes blink { 50% { opacity: .15; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track li { font: italic 400 clamp(1.5rem, 2.4vw, 2rem)/1 var(--serif); color: var(--muted); white-space: nowrap; }
.marquee__track .marquee__star { font: 400 14px/1 var(--sans); color: var(--coral); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(96px, 12vw, 160px); }
.section + .section:not(.section--cream), .marquee + .section { border-top: 1px solid var(--line); }
.marquee + .section { border-top: 0; }
.section--cream {
  --text: #0a0a0a; --muted: #5b554d; --dim: #6b655d; --line: rgba(10, 10, 10, .1); --line-2: rgba(10, 10, 10, .2);
  --accent: var(--accent-ink);
  background: var(--cream); color: var(--text); color-scheme: light;
}
.section--cream ::selection { background: var(--ink); color: var(--cream); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { padding-bottom: 6px; }
.section-head--stack { display: block; margin-bottom: 0; }
.section-head--stack .lead { margin-top: 24px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.icon-box { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255, 90, 54, .35); background: rgba(255, 90, 54, .06); color: var(--coral); }

/* problem */
.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pain { display: flex; align-items: flex-start; gap: 20px; }
.pain p { color: var(--muted); font-size: 16px; padding-top: 9px; }
@media (max-width: 720px) { .pain-grid { grid-template-columns: 1fr; } }

/* services */
.pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-bottom: 40px; }
.pipeline__step { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.pipeline__step:not(:last-child)::after { content: ""; display: block; width: 28px; height: 1px; margin: 0 -36px 0 18px; background: var(--line-2); }
.pipeline__step:not(:last-child) { margin-right: 36px; }
.pipeline__v { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pipeline__step--ai { border-color: rgba(255, 90, 54, .55); }
.pipeline__step--ai .pipeline__v { background: var(--coral); color: var(--ink); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px; transition: border-color .3s, transform .4s var(--ease), background-color .3s; }
.service::before { content: ""; position: absolute; left: 28px; top: -1px; height: 2px; width: 0; background: var(--coral); transition: width .45s var(--ease); }
.service:hover { border-color: rgba(255, 255, 255, .18); background: var(--surface-2); transform: translateY(-3px); }
.service:hover::before { width: 56px; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.service__num { font: 500 11px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.service__title { font: 500 20px/1.25 var(--sans); letter-spacing: -0.01em; }
.service p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.chips li { padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
@media (max-width: 1020px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } .service { min-height: 0; } }

.tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.tools p { font-size: 14px; color: var(--dim); max-width: 34ch; }
.tools ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.tools li { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* compare */
.compare-wrap { border-radius: var(--r-lg); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { padding: 22px 26px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-2); }
.compare thead td { border-bottom-color: var(--line-2); }
.compare tbody th { font-weight: 500; width: 28%; }
.compare td { color: var(--muted); width: 34%; }
.compare .us { --accent: var(--coral); background: var(--ink); color: var(--text); color: #f4f1ec; width: 38%; border-bottom-color: rgba(255, 255, 255, .08); }
.compare thead .us { border-radius: 16px 16px 0 0; font: 700 17px/1 var(--sans); letter-spacing: -0.02em; text-transform: none; color: #f4f1ec; }
.compare tbody tr:last-child .us { border-radius: 0 0 16px 16px; border-bottom: 0; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.note { margin-top: 24px; font-size: 13px; color: var(--dim); }
@media (max-width: 720px) {
  .compare thead { display: none; }
  .compare, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare td, .compare .us { width: auto; padding: 14px 16px; border: 0; }
  .compare tbody tr:last-child .us { border-radius: 0; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 6px; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
}

/* work */
.section-head--work { grid-template-columns: minmax(0, 1fr) auto; }
.section-head--work .lead { margin-top: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.filter[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.work-grid { columns: 3; column-gap: 16px; }
.work-item { break-inside: avoid; margin-bottom: 22px; cursor: default; }
.work-item.is-hidden { display: none; }
.frame--work { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.frame--work .scene { transition: transform 1.2s var(--ease); }
.work-item:hover .frame--work .scene { transform: scale(1.04); }
.work-item__play { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; transform: translate(-50%, -50%) scale(.8); opacity: 0; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transition: opacity .3s, transform .35s var(--ease); }
.work-item:hover .work-item__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-item__soon { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 5px 9px; border-radius: 6px; background: rgba(10, 10, 10, .6); font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; }
.work-item:hover .frame:not(.has-video) .work-item__soon { opacity: 1; }
.frame.has-video .work-item__play { display: none; }
.work-item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.work-item__title { font-size: 15px; font-weight: 500; }
.work-item__meta { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
@media (max-width: 960px) { .work-grid { columns: 2; } .section-head--work { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .work-grid { column-gap: 10px; } .work-item figcaption { flex-direction: column; gap: 6px; } .work-item__title { font-size: 14px; } }

/* process */
.timeline { position: relative; margin-bottom: 8px; }
.timeline__ruler { height: 16px; margin-bottom: 10px;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 25%) top / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 2.5%) bottom / 100% 6px no-repeat; }
.timeline__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 34px; }
.timeline__track--audio { grid-template-columns: 1fr; height: 22px; margin-top: 4px; }
.clip { border-radius: 6px; border: 1px solid rgba(255, 255, 255, .1); }
.clip--1 { background: linear-gradient(180deg, #e9e1d4, #cfc6b8); }
.clip--2 { background: repeating-linear-gradient(135deg, #2a2a2a 0 6px, #232323 6px 12px); }
.clip--3 { background: linear-gradient(90deg, #ff5a36, #ff8a5c); }
.clip--4 { background: linear-gradient(180deg, #3b3b3b, #2b2b2b); }
.clip--a { background: #151515 repeating-linear-gradient(90deg, rgba(255, 90, 54, .55) 0 2px, transparent 2px 5px); -webkit-mask-image: linear-gradient(transparent 20%, #000 20% 80%, transparent 80%); mask-image: linear-gradient(transparent 20%, #000 20% 80%, transparent 80%); }
.timeline__playhead { position: absolute; top: 0; bottom: -6px; left: 0; width: 2px; background: var(--coral); box-shadow: 0 0 12px rgba(255, 90, 54, .8); }
.timeline__playhead::before { content: ""; position: absolute; top: -2px; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--coral); border-bottom: 0; }
.timeline.is-in .timeline__playhead { animation: playhead 10s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: calc(100% - 2px); } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__time { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.step__num { font: 400 64px/1 var(--serif); color: var(--accent); margin: 10px 0 6px; }
.step__title { font: 500 19px/1.25 var(--sans); }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .timeline { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .step { padding: 28px 24px 28px 0; border-top: 1px solid var(--line); }
  .step + .step { padding-left: 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; padding-top: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan--featured {
  --text: #0a0a0a; --muted: #5b554d; --line: rgba(10, 10, 10, .12); --line-2: rgba(10, 10, 10, .22); --accent: var(--accent-ink);
  background: var(--cream); color: var(--text); border-color: transparent;
  box-shadow: 0 40px 100px -40px rgba(255, 90, 54, .55);
  transform: translateY(-16px);
}
.plan__badge { position: absolute; top: -12px; left: 32px; padding: 7px 12px; border-radius: 999px; background: var(--coral); color: var(--ink); font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.plan__name { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 14px; }
.plan__amount { font: 400 clamp(3rem, 4.4vw, 4rem)/1 var(--serif); letter-spacing: -0.02em; }
.plan__per { font-size: 14px; color: var(--muted); }
.plan__desc { color: var(--muted); font-size: 15px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan__features { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 32px; }
.plan__features li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; }
.plan__features .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.plan__cta { margin-top: auto; width: 100%; }
.plan--featured .btn--primary:hover { box-shadow: 0 12px 30px -12px rgba(189, 53, 21, .6); }
.plans__foot { margin-top: 40px; text-align: center; font-size: 15px; color: var(--muted); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; padding-top: 0; }
  .plan--featured { transform: none; order: -1; margin-top: 12px; }
}

/* guarantees */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.checklist li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist .icon { color: var(--accent); margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* faq */
.split--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; gap: 18px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__n { font: 500 11px/1 var(--mono); color: var(--dim); }
.faq-item__q { flex: 1; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 450; transition: color .2s; }
.faq-item summary:hover .faq-item__q { color: var(--coral); }
.faq-item__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--coral); border-color: var(--coral); color: var(--ink); }
.faq-item__a { padding: 0 52px 26px 33px; color: var(--muted); max-width: 66ch; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 860px) { .split--faq { grid-template-columns: 1fr; } .faq__head { position: static; } .faq-item__a { padding: 0 0 24px 33px; } }

/* contact */
.split--contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.contact-list { margin-top: 44px; max-width: 420px; }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list dt { font: 500 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contact-list dd { font-size: 16px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--coral); }
.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--field);
  font-size: 15px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--field) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a39f99' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #5f5b56; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 90, 54, .18); }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 26px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--coral); flex: none; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__captcha:empty { display: none; }
.form__status { font-size: 14px; color: var(--muted); max-width: 40ch; }
.form__status--ok { color: var(--text); }
/* Honeypot for bots: off-screen, not focusable, ignored by screen readers. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status a { color: var(--text); text-decoration: underline; text-decoration-color: var(--coral); }
@media (max-width: 860px) { .split--contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: 1fr; } .form .btn { width: 100%; } .contact-list div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 96px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.wordmark--lg { font-size: 26px; }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s; }
.social:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.footer__h { margin-bottom: 18px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer__grid ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--muted); }
.footer__grid a { transition: color .2s; overflow-wrap: anywhere; }
.footer__grid a:hover, .footer__grid a[aria-current] { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer__bottom ul { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--text); }
.footer__giant { font: 700 clamp(5rem, 24vw, 22rem)/.78 var(--sans); letter-spacing: -0.06em; text-align: center; color: rgba(255, 255, 255, .035); white-space: nowrap; user-select: none; margin-top: 8px; transform: translateY(14%); }
.footer__giant .wordmark__dot { color: rgba(255, 90, 54, .25); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(80px, 10vw, 128px); }
.legal__inner { max-width: calc(760px + var(--gutter) * 2); }
.legal__back { display: inline-block; margin-bottom: 32px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.legal__back:hover { color: var(--coral); }
.legal h1 { margin-bottom: 40px; }
.prose { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose h2 { margin: 40px 0 12px; font: 400 28px/1.15 var(--serif); color: var(--text); }
.prose ul { padding-left: 0; }
.prose li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.prose strong { color: var(--text); font-weight: 500; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in, .no-reveal [data-reveal] { opacity: 1; transform: none; }
.js .plan--featured[data-reveal].is-in { transform: translateY(-16px); }
/* above the fold: plays on load instead of waiting for the scroll observer */
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise 1.1s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__copy > :nth-child(5) { animation-delay: .32s; }
.js .hero__media[data-reveal] { animation-delay: .2s; animation-duration: 1.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .js .plan--featured[data-reveal].is-in { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
