/* Lorenzo Peluso — launch films. One stylesheet, no build step. */

:root {
  --ink: #0A1628;
  --ink-2: #2E3B52;
  --muted: #5D6A7F;
  --line: rgba(10, 22, 40, .09);
  --line-2: rgba(10, 22, 40, .16);
  --paper: #F6F8FC;
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-600: #1C4FD6;
  --blue-50: #EBF1FF;
  --blue-100: #D6E3FF;
  --blue-soft: #93B4FF;
  --amber: #F59E0B;
  --amber-ink: #8A5306;
  --amber-50: #FDF4E3;
  --mint: #10B981;
  --mint-50: #E4F7EF;
  --navy: #0A1628;
  --navy-2: #122546;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; margin: 0; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.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: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h1 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 700;
  font-size: clamp(2.5rem, 1rem + 5.3vw, 6rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.h1 .line { display: block; }
.h2 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 96;
  font-weight: 700;
  font-size: clamp(2.15rem, 1.05rem + 3.3vw, 4.1rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h1 em, .h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--blue);
  padding-right: .03em;
}
.h1 em { font-size: 1.07em; }
.h2 em { font-size: 1.06em; }
.h3 {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 32;
  font-weight: 650;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.lede { font-size: clamp(17px, .55vw + 14.5px, 20px); line-height: 1.5; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font: 500 12px/1.2 var(--f-mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .n { color: var(--blue); }
.eyebrow .n::after { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; margin-left: 10px; vertical-align: middle; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--f-body); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px -14px rgba(37, 99, 235, .85);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(10, 22, 40, .38); transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn .arr { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(246, 248, 252, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.025em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand small { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-left: 11px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav .btn { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(55% 45% at 88% 4%, rgba(37, 99, 235, .15), transparent 72%),
    radial-gradient(40% 35% at 6% 62%, rgba(147, 180, 255, .16), transparent 70%),
    linear-gradient(180deg, #F1F5FF 0%, var(--paper) 62%);
  margin-top: -68px; padding-top: calc(68px + clamp(36px, 5vw, 64px));
}
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; margin-top: 30px; }
.hero-cta { display: grid; gap: 14px; justify-items: end; }
.hero-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.fineprint { text-align: right; font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--muted); }

.stage { display: grid; grid-template-columns: minmax(0, 3.1fr) minmax(0, 1fr); gap: clamp(22px, 2.6vw, 38px); align-items: end; margin-top: clamp(40px, 5vw, 64px); }
.film, .phone-fig { margin: 0; }
.crop { position: relative; }
.crop::before {
  content: ""; position: absolute; inset: -11px; pointer-events: none; opacity: .38;
  --c: var(--ink);
  background:
    linear-gradient(var(--c), var(--c)) left top / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 14px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 14px no-repeat;
}
.film-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #DCE6F8;
  box-shadow: 0 0 0 1px rgba(10, 22, 40, .08), 0 2px 6px rgba(10, 22, 40, .05), 0 44px 90px -46px rgba(10, 22, 40, .5), 0 24px 50px -34px rgba(37, 99, 235, .4);
}
.film-frame video, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.film-controls { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.ctl {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--f-body);
  background: rgba(10, 22, 40, .74); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -10px rgba(10, 22, 40, .6);
  transition: background-color .2s, transform .2s var(--ease), color .2s;
}
.ctl:hover { transform: translateY(-1px); }
.ctl svg { width: 16px; height: 16px; flex: none; }
.ctl-round { width: 40px; padding: 0; justify-content: center; }
.ctl-sound { background: #fff; color: var(--ink); }
.ctl-sound .i-on, .ctl-play .i-play { display: none; }
.is-sound .ctl-sound { background: rgba(10, 22, 40, .74); color: #fff; }
.is-sound .ctl-sound .i-on { display: block; }
.is-sound .ctl-sound .i-off { display: none; }
.is-paused .ctl-play .i-play { display: block; }
.is-paused .ctl-play .i-pause { display: none; }

.spec { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spec b { color: var(--ink); font-weight: 500; }

.phone {
  padding: 9px; border-radius: 36px;
  background: linear-gradient(150deg, #22345A 0%, var(--navy) 55%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 36px 70px -36px rgba(10, 22, 40, .7);
}
.phone-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #DCE6F8; }
.phone-screen::before { content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; width: 30%; height: 17px; transform: translateX(-50%); border-radius: 999px; background: var(--navy); }
.phone-play {
  position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: #fff; color: var(--ink); font: 600 13.5px/1 var(--f-body);
  box-shadow: 0 10px 24px -10px rgba(10, 22, 40, .55);
  transition: opacity .25s, background-color .2s, color .2s;
}
.phone-play svg { width: 14px; height: 14px; }
.phone-play .i-pause { display: none; }
.is-synced .phone-play { background: rgba(10, 22, 40, .7); color: #fff; opacity: .7; }
.is-synced .phone-play:hover, .is-synced .phone-play:focus-visible { opacity: 1; }
.is-synced .phone-play .i-play { display: none; }
.is-synced .phone-play .i-pause { display: block; }

.stage-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 30px; color: var(--ink-2); font-size: 15.5px; }
.stage-note strong { font-family: var(--f-display); font-weight: 650; letter-spacing: -.015em; font-size: 17px; color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { margin-top: 20px; padding: 14px 16px 13px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(10, 22, 40, .04), 0 20px 40px -32px rgba(10, 22, 40, .25); }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.tl-title { display: flex; align-items: center; gap: 12px; min-width: 0; font: 500 11.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tl-scene { color: var(--ink); background: var(--blue-50); padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.tl-meta { display: flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-meta .tc { color: var(--ink); }
.hd { margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line-2); font: 600 13.5px/1 var(--f-body); color: var(--blue); text-decoration: none; white-space: nowrap; }
.hd:hover { text-decoration: underline; text-underline-offset: 3px; }
.tl-body { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 10px; }
.tl-labels, .tl-lanes { display: grid; grid-template-rows: 16px 40px 34px; row-gap: 6px; }
.tl-labels { align-items: center; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; color: var(--muted); }
.tl-lanes { position: relative; cursor: pointer; --p: 0; touch-action: manipulation; }
.tl-ruler {
  position: relative;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 3.2%) left bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px .8%) left bottom / 100% 3px no-repeat;
}
.tl-ruler span { position: absolute; top: 0; left: var(--x); padding-left: 4px; font: 500 9.5px/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-v1 { display: grid; grid-template-columns: 10.5fr 8fr 4fr 8fr 8fr 10fr 8fr 6fr; gap: 2px; }
.scene {
  position: relative; min-width: 0; padding: 0 8px; border: 0; border-radius: 6px; cursor: pointer;
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font: 600 11.5px/1 var(--f-body); letter-spacing: -.005em; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .07);
  transition: box-shadow .2s, filter .2s;
}
.scene:hover { filter: brightness(1.04) saturate(1.1); }
.scene.is-active { box-shadow: inset 0 0 0 2px var(--blue); }
.scene[data-tone="sky"]   { background: linear-gradient(180deg, #F1F5FF, #C9DAFF); }
.scene[data-tone="sky2"]  { background: linear-gradient(180deg, #F3F6FC, #D5E1F7); }
.scene[data-tone="navy"]  { background: linear-gradient(180deg, #1A2D52, #0B1830); color: #E7EEFF; }
.scene[data-tone="navy2"] { background: linear-gradient(180deg, #16284A, #0A1628); color: #FCD27A; }
.scene[data-tone="amber"] { background: linear-gradient(180deg, #FFF8EA, #F8DDAA); }
.scene[data-tone="amber2"]{ background: linear-gradient(180deg, #FDF1DA, #F3CB85); }
.scene[data-tone="mint"]  { background: linear-gradient(180deg, #F0FBF6, #BFEBD7); }
.scene[data-tone="end"]   { background: radial-gradient(90% 120% at 50% 0%, #2B4F9E, #0A1628 70%); color: #E7EEFF; }
.scene[data-tone^="navy"].is-active, .scene[data-tone="end"].is-active { box-shadow: inset 0 0 0 2px var(--blue-soft); }
.tl-a1 { position: relative; border-radius: 6px; overflow: hidden; background: linear-gradient(180deg, #F5F8FE, #ECF1FA); box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .05); }
.wave { position: absolute; inset: 3px 0; width: 100%; height: calc(100% - 6px); }
.wave-base { fill: #B7C5DD; }
.wave-played { position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.wave-played .wave { fill: var(--blue); }
.tl-playhead { position: absolute; top: -3px; bottom: -3px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; border-radius: 2px; background: var(--blue); pointer-events: none; }
.tl-playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 10px; border-radius: 3px 3px 50% 50%; background: var(--blue); }
.tl-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tl-foot span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: 1px; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 8.5vw, 124px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head .lede { justify-self: end; }

/* Case study */
.case { background: radial-gradient(60% 50% at 100% 100%, rgba(245, 158, 11, .17), transparent 72%), linear-gradient(180deg, var(--paper) 0%, #FFF8EC 22%, #FCF0DB 100%); }
.fan { position: relative; padding-top: 70px; }
.fan::before, .fan::after { content: ""; position: absolute; pointer-events: none; }
.fan::before { top: 22px; left: calc(100% / 6 - 28px / 3); right: calc(100% / 6 - 28px / 3); height: 48px; border: 1px solid rgba(138, 83, 6, .32); border-bottom: 0; border-radius: 14px 14px 0 0; }
.fan::after { top: 22px; left: 50%; width: 1px; height: 48px; background: rgba(138, 83, 6, .32); }
.fan-label {
  position: absolute; z-index: 1; top: 22px; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
  background: var(--navy); color: #fff; white-space: nowrap;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 10px 24px -12px rgba(10, 22, 40, .6);
}
.fan-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.cuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cut { margin: 0; }
.cut .shot { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(10, 22, 40, .08), 0 30px 60px -38px rgba(90, 55, 5, .55); }
.cut .shot img { width: 100%; height: 100%; object-fit: cover; }
.cut figcaption { padding-top: 18px; }
.cut .tag { font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); }
.cut .h3 { margin: 10px 0 6px; }
.cut p { color: var(--ink-2); font-size: 15.5px; }
.more-cuts { margin-top: 30px; color: var(--ink-2); font-size: 15.5px; }
.more-cuts b { font-weight: 600; color: var(--ink); }

.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 72px); }
.card { background: rgba(255, 255, 255, .78); border: 1px solid rgba(10, 22, 40, .08); border-radius: 18px; padding: clamp(22px, 2.6vw, 32px); }
.card .h3 { margin-bottom: 8px; }
.card > p { color: var(--ink-2); font-size: 15.5px; }
.mx { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14.5px; }
.mx th, .mx td { padding: 11px 6px; border-top: 1px solid var(--line); text-align: center; }
.mx thead th { border-top: 0; padding-top: 0; font: 500 10.5px/1.25 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mx tbody th { text-align: left; font-weight: 600; padding-left: 0; }
.g { display: inline-block; vertical-align: middle; border: 1.5px solid var(--blue); background: var(--blue-50); border-radius: 3px; }
.g-w { width: 30px; height: 17px; }
.g-w.k { background: var(--blue); }
.g-v { width: 12px; height: 21px; }
.mx-note { margin-top: 16px; font: 500 11.5px/1.45 var(--f-mono); letter-spacing: .04em; color: var(--muted); }

.ledger { margin: 20px 0 0; }
.ledger div { display: grid; grid-template-columns: minmax(118px, auto) 1fr; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.ledger dt { font-family: var(--f-display); font-variation-settings: "opsz" 72; font-weight: 700; font-size: clamp(28px, 2.4vw, 36px); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card .ledger-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 11.5px/1.5 var(--f-mono); letter-spacing: .03em; color: var(--muted); }

/* What you get */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 32px; }
.feat .vis { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(10, 22, 40, .08), 0 24px 50px -38px rgba(10, 22, 40, .45); }
.feat .vis img { width: 100%; height: 100%; object-fit: cover; }
.burn { position: absolute; left: 10px; bottom: 10px; padding: 5px 7px; border-radius: 5px; background: rgba(10, 22, 40, .74); color: #fff; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.feat .h3 { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 8px; }
.feat .h3 .n { font: 500 12px/1 var(--f-mono); color: var(--blue); letter-spacing: .06em; }
.feat p { color: var(--ink-2); font-size: 16px; max-width: 38ch; }

.vis-music { background: radial-gradient(80% 90% at 50% 0%, #22407D, var(--navy) 70%) !important; }
.vis-music .grid { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 12.5%); }
.vis-music svg { position: absolute; left: 6%; right: 6%; top: 30%; width: 88%; height: 40%; fill: #6F9BFF; }
.vis-music .meta { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(231, 238, 255, .75); }
.vis-music .meta b { color: #fff; font-weight: 500; }
.vis-music .burn { background: rgba(255, 255, 255, .12); }

.vis-aspect { display: flex; align-items: flex-end; justify-content: center; gap: 7%; padding: 0 8% 13%; background: linear-gradient(160deg, #F4F7FF, #DCE7FF) !important; }
.vis-aspect .ar { position: relative; border: 1.5px solid var(--blue); background: rgba(255, 255, 255, .75); border-radius: 5px; box-shadow: 0 14px 26px -18px rgba(37, 99, 235, .6); }
.vis-aspect .ar span { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--blue-600); white-space: nowrap; }
.ar-w { width: 40%; aspect-ratio: 16 / 9; }
.ar-v { width: 15%; aspect-ratio: 9 / 16; }
.ar-s { width: 22%; aspect-ratio: 1; }

.vis-lang { display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 0 8%; background: linear-gradient(160deg, #FFFBF2, #FBEACB) !important; }
.vis-lang p { display: flex; align-items: baseline; gap: 12px; min-width: 0; font-family: var(--f-display); font-weight: 650; font-size: clamp(15px, 1.35vw, 20px); letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.vis-lang p i { font: 500 10.5px/1 var(--f-mono); font-style: normal; letter-spacing: .08em; color: var(--amber-ink); width: 20px; flex: none; }
.vis-lang p em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--blue); font-size: 1.1em; }

/* Formats */
.formats { background: radial-gradient(55% 50% at 0% 100%, rgba(16, 185, 129, .13), transparent 72%), linear-gradient(180deg, var(--paper) 0%, #EFFAF5 26%, #E2F5EC 100%); }
.fmt-grid { display: grid; gap: clamp(40px, 4.4vw, 56px); }
.fmt-top { display: grid; grid-template-columns: minmax(0, 256fr) minmax(0, 81fr); gap: 24px; align-items: start; }
.fmt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.fcard { min-width: 0; }
.fcard-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #DCE6F8;
  box-shadow: 0 0 0 1px rgba(10, 22, 40, .08), 0 2px 6px rgba(10, 22, 40, .04), 0 34px 64px -42px rgba(6, 70, 50, .6);
}
.fcard-tall .fcard-media { aspect-ratio: 9 / 16; background: var(--navy); }
.fcard-media video { width: 100%; height: 100%; object-fit: cover; }
.fcard-ar { position: absolute; left: 10px; top: 10px; padding: 5px 7px; border-radius: 5px; background: rgba(10, 22, 40, .72); color: #fff; font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; pointer-events: none; }
.fcard-toggle {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; background: rgba(10, 22, 40, .68); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .2s, background-color .2s;
}
.fcard-toggle:hover { background: rgba(10, 22, 40, .86); }
.fcard-toggle svg { width: 13px; height: 13px; }
.fcard-toggle .i-play, .fcard.is-paused .fcard-toggle .i-pause { display: none; }
.fcard.is-paused .fcard-toggle .i-play { display: block; }
@media (hover: hover) and (pointer: fine) {
  .fcard:not(.is-paused) .fcard-toggle { opacity: 0; }
  .fcard:hover .fcard-toggle, .fcard-toggle:focus-visible { opacity: 1; }
}
.fcard-watch {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px;
  border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 600 14px/1 var(--f-body); box-shadow: 0 10px 24px -10px rgba(10, 22, 40, .6); transition: transform .2s var(--ease);
}
.fcard-watch:hover { transform: translateY(-1px); }
.fcard-watch svg { width: 14px; height: 14px; color: var(--blue); }
.fcard-body { padding-top: 18px; }
.fcard-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.fcard .h3 { font-size: clamp(20px, 1.6vw, 24px); }
.fcard .len { padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(14, 138, 98, .25); font: 500 11.5px/1 var(--f-mono); letter-spacing: .05em; color: #0B6E4F; white-space: nowrap; }
.fcard-body > p { color: var(--ink-2); font-size: 15.5px; max-width: 52ch; }
.fcard-src .nw { white-space: nowrap; }
.fcard-body > p.fcard-src { margin-top: 10px; font: 500 11px/1.45 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: #3D6B5C; }

/* Pricing */
.founding { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 9px 14px; border-radius: 999px; background: var(--amber-50); border: 1px solid rgba(245, 158, 11, .38); color: var(--amber-ink); font: 600 13.5px/1.2 var(--f-body); }
.founding i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -48px rgba(10, 22, 40, .35); }
.plan .h3 { font-size: 24px; }
.plan .for { margin-top: 8px; color: var(--muted); font-size: 15.5px; min-height: 3.1em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-variation-settings: "opsz" 96; font-weight: 700; font-size: clamp(52px, 4.4vw, 64px); letter-spacing: -.05em; line-height: .9; }
.price small { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 13px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; line-height: 1.4; }
.plan li::before {
  content: ""; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-5' fill='none' stroke='%232563EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan .btn { margin-top: auto; width: 100%; }
.plan.pop { background: radial-gradient(110% 55% at 50% 0%, rgba(37, 99, 235, .42), transparent 65%), var(--navy); color: #fff; border-color: transparent; box-shadow: 0 50px 90px -50px rgba(10, 22, 40, .85); }
.plan.pop .for, .plan.pop .price small { color: rgba(231, 238, 255, .68); }
.plan.pop .price { border-color: rgba(255, 255, 255, .12); }
.plan.pop li::before { background-color: rgba(147, 180, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-5' fill='none' stroke='%2393B4FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.badge { position: absolute; top: 28px; right: 24px; padding: 7px 10px; border-radius: 999px; background: var(--blue); color: #fff; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.extras { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; padding: 18px 20px; border: 1px dashed rgba(10, 22, 40, .22); border-radius: 16px; font-size: 15px; }
.extras .lbl { margin-right: 6px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.extras span.x { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.extras span.x b { font-family: var(--f-mono); font-weight: 500; font-size: 13.5px; color: var(--blue); }

/* Process */
.process { background: linear-gradient(180deg, var(--paper) 0%, #EEF3FF 100%); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 1px; background: repeating-linear-gradient(90deg, rgba(10, 22, 40, .25) 0 5px, transparent 5px 11px); }
.step .mk { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); font: 700 17px/1 var(--f-display); box-shadow: 0 0 0 7px #F2F5FE; }
.step:last-child .mk { background: var(--blue); color: #fff; border-color: var(--blue); }
.step .when { display: block; margin: 22px 0 10px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.step .h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; max-width: 30ch; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.faq-grid .h2 { position: sticky; top: 100px; }
.faq-list details { border-top: 1px solid var(--line-2); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-variation-settings: "opsz" 32; font-weight: 600; font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -.02em; line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-list details p { max-width: 58ch; padding: 0 44px 26px 0; color: var(--ink-2); }

/* Final CTA + footer */
.cta { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 170px) 0 clamp(90px, 11vw, 150px); text-align: center; color: #fff; background: radial-gradient(55% 75% at 50% 0%, rgba(37, 99, 235, .5), transparent 72%), var(--navy); }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 88px); -webkit-mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 30%, #000, transparent); pointer-events: none; }
.cta .wrap { position: relative; }
.cta .eyebrow { justify-content: center; color: rgba(231, 238, 255, .7); }
.cta .eyebrow .n { color: var(--blue-soft); }
.cta .h2 { font-size: clamp(2.6rem, 1rem + 5vw, 5.6rem); max-width: 14ch; margin: 0 auto; }
.cta .h2 em { color: var(--blue-soft); }
.cta .lede { margin: 26px auto 0; color: rgba(231, 238, 255, .78); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.cta .btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.cta .fineprint { text-align: center; margin-top: 22px; color: rgba(231, 238, 255, .55); }
.foot { background: var(--navy); color: rgba(231, 238, 255, .6); font-size: 13.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .09); }
.foot small { font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .06em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { animation: rise .95s var(--ease) both; animation-delay: calc(var(--d, 0) * 85ms); }
  .rec { animation: pulse 2.2s ease-out infinite; }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-row, .sec-head, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { justify-items: start; }
  .hero-cta .btns { justify-content: flex-start; }
  .fineprint { text-align: left; }
  .sec-head .lede { justify-self: start; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .extras { max-width: 560px; margin-inline: auto; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .h2 { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .steps::before { display: none; }
  .fmt-top, .fmt-row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .fcard-tall, .fmt-row .fcard { display: grid; align-items: center; gap: 28px; }
  .fcard-tall { grid-template-columns: 220px minmax(0, 1fr); }
  .fmt-row .fcard { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .fcard-tall .fcard-body, .fmt-row .fcard-body { padding-top: 0; }
}
@media (max-width: 760px) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phone-fig { justify-self: center; width: min(66%, 260px); }
  .fan { padding-top: 0; }
  .fan::before, .fan::after { display: none; }
  .fan-label { position: static; transform: none; margin-bottom: 22px; }
  .cuts { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tl-ruler span.m { display: none; }
  .scene { font-size: 0; padding: 0; }
  .tl-head { align-items: flex-start; }
  .hd { margin-left: 4px; padding-left: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand small { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .fmt-row .fcard { display: block; }
  .fmt-row .fcard-body { padding-top: 16px; }
  .fcard-tall { grid-template-columns: 148px minmax(0, 1fr); gap: 18px; }
  .fcard-tall .fcard-body > p:not(.fcard-src) { font-size: 15px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .steps::before { display: block; top: 22px; bottom: 22px; left: 21px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(10, 22, 40, .25) 0 5px, transparent 5px 11px); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
  .step .mk { grid-row: 1 / span 3; }
  .step .when { margin-top: 4px; }
  .plan { padding: 26px 22px 22px; }
  .ledger div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .faq-list details p { padding-right: 0; }
  .hero-cta, .hero-cta .btns { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
  .stage-note { font-size: 15px; }
}
@media (max-width: 380px) {
  .nav .btn-sm { padding: 0 13px; font-size: 13.5px; }
  .brand { font-size: 16.5px; }
}

/* ============ ABOUT ============ */
.about { background: linear-gradient(180deg, #EEF3FF 0%, var(--paper) 100%); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about .lede { margin-top: 18px; }
.about-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.about-facts li { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.about-facts b { display: block; color: var(--ink); font-family: var(--f-display); font-weight: 650; letter-spacing: -.01em; font-size: 16.5px; margin-bottom: 2px; }
.about-photos { display: grid; grid-template-columns: .75fr 1.333fr; gap: 14px; align-items: start; }
.about-photos figure { margin: 0; }
.about-photos img { display: block; width: 100%; height: auto; border-radius: 16px; object-fit: cover; box-shadow: 0 1px 2px rgba(10, 22, 40, .06), 0 24px 48px -28px rgba(10, 22, 40, .35); }
.about-photos figure:first-child img { aspect-ratio: 3 / 4; object-position: 28% 50%; }
.about-photos figure:last-child img { aspect-ratio: 4 / 3; }
.about-photos figcaption { margin-top: 9px; font: 500 11.5px/1.45 var(--f-mono); letter-spacing: .03em; color: var(--muted); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .about-photos { grid-template-columns: 1fr; } .about-photos figure:first-child img { aspect-ratio: 4 / 5; } }
