/* adoovi — pitch deck. No external requests; fonts are local woff2. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("assets/fonts/jetbrainsmono-latin.woff2") format("woff2"); }

:root {
  --bg: #141414;
  --surface: #1d1d1d;
  --surface-2: #242424;
  --line: rgba(205, 231, 240, 0.12);
  --text: #fafafa;
  --muted: #a3a3a3;
  --ice: #CDE7F0;
  --accent: #256B93;
  --link: #7CC0E4;
  --success: #4ade80;
  --warning: #fbbf24;
  --c1: #5CADFA;
  --c2: #FFD26E;
  --c3: #9B7EFD;
  --navy-0: #0D1318;
  --navy-1: #121A20;
  --navy-2: #182129;
  --f-head: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #000;
  color: var(--text);
  font-family: var(--f-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

/* ---------- stage + scaling ---------- */
.viewport { position: fixed; inset: 0; overflow: hidden; }
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1600px;
  height: 900px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  font-size: 28px;
  line-height: 1.35;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(37, 107, 147, 0.28), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(155, 126, 253, 0.10), transparent 60%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy-1) 45%, var(--navy-0) 100%);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

.slide {
  position: absolute;
  inset: 0;
  padding: 72px 96px 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px) scale(0.985);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 520ms;
}
.slide.past { transform: translateX(-40px) scale(0.985); }
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.7,.2,1), visibility 0s;
}
.slide.center { align-items: center; text-align: center; }

.step { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.step.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.active, .slide.past, .step { transition: none; transform: none; }
  .title-yeti, .snow { animation: none !important; }
}

/* ---------- type ---------- */
h1, h2 { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.08; }
h2 { font-size: 2.35em; }
p, ul, blockquote, figure { margin: 0; }
strong { font-weight: 650; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.ice { color: var(--ice); }
.eyebrow { font-family: var(--f-mono); font-size: 0.72em; letter-spacing: 0.08em; color: var(--link); }
.lead { font-size: 1.15em; color: #dcdcdc; max-width: 1250px; }
.lead.small, .card-body.small { font-size: 0.95em; }
.sub { font-size: 1.15em; color: var(--muted); max-width: 1150px; }
.note { font-size: 0.95em; color: var(--muted); }
.center-text { text-align: center; }
.kicker {
  font-family: var(--f-head);
  font-size: 1.45em;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  margin-top: 8px;
}
.big-quote { font-family: var(--f-head); font-size: 2.6em; line-height: 1.12; font-weight: 500; max-width: 1300px; }
.quote-line {
  font-family: var(--f-head);
  font-size: 1.25em;
  font-style: italic;
  font-weight: 400;
  border-left: 4px solid var(--c1);
  padding: 4px 0 4px 24px;
  color: var(--ice);
}
.huge { font-family: var(--f-head); font-size: 4.6em; line-height: 1.02; font-weight: 600; margin: 0; }

/* ---------- components ---------- */
.card {
  background: linear-gradient(180deg, rgba(29,29,29,0.92), rgba(24,33,41,0.92));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-body { font-size: 1.1em; color: #e6e6e6; }
.card-big { font-family: var(--f-head); font-size: 1.6em; }

.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pills li {
  font-size: 0.8em;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(205, 231, 240, 0.08);
  border: 1px solid rgba(205, 231, 240, 0.18);
  color: var(--ice);
}
.pills-lg li { font-size: 0.85em; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.chip.live { color: var(--success); background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.45); }
.chip.live::before { animation: pulse 1.8s ease-in-out infinite; }
.chip.next { color: var(--warning); background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.45); }
.chip.plain { color: var(--ice); background: rgba(205, 231, 240, 0.08); border: 1px solid rgba(205, 231, 240, 0.3); }
.chip.muted { color: var(--muted); background: rgba(163, 163, 163, 0.08); border: 1px solid rgba(163, 163, 163, 0.3); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9em;
  color: #fff;
  background: var(--accent);
  border: 1px solid rgba(124, 192, 228, 0.6);
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 107, 147, 0.45);
  transition: transform 150ms ease, background 150ms ease;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: #2c7cab; transform: translateY(-2px); outline: none; }

/* ---------- 1 title ---------- */
.s-title { padding: 0 110px; }
.title-wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.wordmark { font-size: 8.6em; font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; color: var(--ice); }
.tagline { font-family: var(--f-head); font-size: 2.1em; font-weight: 400; font-style: italic; margin-top: 18px; }
.byline { font-family: var(--f-mono); font-size: 0.8em; color: var(--muted); margin-top: 40px; }
.title-yeti { width: 600px; height: 600px; object-fit: contain; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45)); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.snow {
  position: absolute; inset: -50% 0 0 0; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(3px 3px at 20% 30%, #fff, transparent 60%),
    radial-gradient(2px 2px at 60% 10%, #fff, transparent 60%),
    radial-gradient(2.5px 2.5px at 80% 50%, #fff, transparent 60%),
    radial-gradient(2px 2px at 35% 70%, #fff, transparent 60%),
    radial-gradient(3px 3px at 90% 85%, #fff, transparent 60%),
    radial-gradient(2px 2px at 10% 90%, #fff, transparent 60%),
    radial-gradient(2px 2px at 50% 45%, #fff, transparent 60%);
  background-size: 420px 420px;
  animation: snow 14s linear infinite;
}
@keyframes snow { to { transform: translateY(420px); } }

/* ---------- 2 hook ---------- */
.s-hook { gap: 34px; }
.s-hook .question { color: var(--ice); font-style: italic; font-weight: 500; }
.s-hook .step { display: flex; flex-direction: column; align-items: center; gap: 26px; }

/* ---------- 3 gap ---------- */
.gap-grid { display: grid; grid-template-columns: 0.8fr auto 1.3fr; gap: 28px; align-items: stretch; }
.gap-arrow { align-self: center; font-size: 2.4em; color: var(--c1); }
.gap-left { align-items: flex-start; }
.laptop { width: 280px; margin: 8px 0; }
.laptop-screen { height: 160px; border: 6px solid #3a3a3a; border-radius: 12px 12px 0 0; background: #0b0f13; display: grid; place-items: center; font-size: 0.65em; color: var(--success); }
.laptop-base { height: 16px; background: #3a3a3a; border-radius: 0 0 14px 14px; margin: 0 -24px; }
.gap-right .pills li { font-size: 0.82em; }

/* ---------- 4 equation ---------- */
.eq-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.eq-plus { align-self: center; font-family: var(--f-head); font-size: 3em; color: var(--c2); }
.card-yeti { position: relative; }
.mark-sm { position: absolute; top: -34px; right: -20px; width: 110px; height: 110px; transform: rotate(8deg); }

/* ---------- 5 ip / 14 floor ---------- */
.s-ip, .s-floor { gap: 36px; }
.s-floor .goal { font-family: var(--f-head); font-size: 1.6em; }
.goal-num { color: var(--c2); font-size: 1.25em; font-weight: 700; }

/* ---------- 6/7 demo ---------- */
.s-demo { gap: 24px; }
.demo-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.demo-head .chip { font-size: 0.7em; }
.demo-foot { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.stats-line { font-size: 0.72em; color: var(--muted); }
.noco-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow-card { padding: 22px 28px; }
.flow-card .eyebrow { font-size: 0.85em; color: var(--ice); }
.flow-arrow { font-size: 1.5em; color: var(--c1); padding-left: 28px; line-height: 1; }
.next-line { font-size: 1.05em; margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.bill { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bill-label { font-family: var(--f-head); font-size: 1.4em; }
.bill-num { font-family: var(--f-body); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; font-size: 6.2em; font-weight: 800; color: var(--success); line-height: 1; margin-bottom: 24px; }

.bill-q { font-family: var(--f-head); color: var(--muted); font-weight: 400; font-size: 0.6em; vertical-align: top; }

/* ---------- 8 math ---------- */
.s-math { gap: 26px; }
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vs { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: auto; }
.vs > div:not(.vs-arrow) { display: flex; flex-direction: column; gap: 4px; }
.vs-arrow { font-size: 1.6em; color: var(--muted); }
.num { font-size: 1.45em; font-weight: 700; }
.num.strike { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(251,191,36,0.8); text-decoration-thickness: 3px; }
.num.good { color: var(--success); }
.vs-label { font-size: 0.65em; color: var(--muted); }

/* ---------- 9 every app ---------- */
.everyapp-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.everyapp-grid > div { display: flex; flex-direction: column; gap: 22px; }
.yeti-bounce { width: 240px; height: 240px; }
.ask-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ask-list li {
  font-size: 0.95em;
  padding: 14px 22px;
  background: rgba(29, 29, 29, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.ask-list strong { color: var(--ice); }

/* ---------- 10 own ---------- */
.vaults { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 10px 0; }
.vault {
  border: 2px dashed rgba(163,163,163,0.35);
  border-radius: 22px;
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
  color: var(--muted);
  background: rgba(13, 19, 24, 0.6);
}
.vault .mono { font-size: 0.9em; }
.vault-sub { font-size: 0.65em; }
.vault.you { border: 2px solid var(--c1); color: var(--ice); background: rgba(37, 107, 147, 0.22); box-shadow: 0 0 60px rgba(92, 173, 250, 0.18); }

/* ---------- 11 / 12 charts ---------- */
.s-hard, .s-spend { gap: 18px; padding-top: 52px; padding-bottom: 72px; }
.hard-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hard-head > div { display: flex; flex-direction: column; gap: 10px; }
.yeti-loader { width: 150px; height: 150px; flex: none; margin: -20px 0; }
.s-hard .quote-line { font-size: 1.05em; }
.hard-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: end; }
.stat-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.stat-list li { font-size: 0.7em; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.stat-list li.wide { grid-column: 1 / -1; font-size: 0.68em; color: #cfcfcf; border-top: 1px solid var(--line); padding-top: 10px; }
.stat { font-size: 1.9em; font-weight: 700; color: var(--text); line-height: 1.1; }
.chart { display: flex; flex-direction: column; gap: 6px; }
.chart figcaption { font-family: var(--f-mono); font-size: 0.6em; color: var(--muted); }
.chart-svg svg { display: block; width: 100%; height: auto; }
.chart-svg text { font-family: var(--f-mono); }
.spend-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lg { display: inline-block; width: 18px; height: 14px; border-radius: 3px; margin-left: 12px; }
.lg:first-child { margin-left: 0; }
.lg-act { background: var(--c1); }
.lg-est { background: repeating-linear-gradient(45deg, rgba(92,173,250,0.55) 0 3px, rgba(92,173,250,0.12) 3px 7px); border: 1px solid rgba(92,173,250,0.6); }
.lg-pace { border: 2px dashed var(--c2); }
.spend-notes { display: flex; flex-direction: column; gap: 14px; }
.callout { font-size: 0.85em; padding: 18px 22px; border-radius: 16px; background: rgba(37,107,147,0.2); border: 1px solid rgba(124,192,228,0.35); }
.risk-list { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; font-size: 0.78em; color: #d4d4d4; }
.risk-list li::marker { color: var(--warning); }

/* ---------- 13 alloc ---------- */
.alloc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.alloc-grid .eyebrow { font-size: 0.8em; color: var(--ice); }

/* ---------- 15 customers ---------- */
.s-customers { gap: 40px; }
.cust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cust { align-items: flex-start; min-height: 260px; }
.cust-name { font-family: var(--f-head); font-size: 1.45em; line-height: 1.12; }
.cust-sub { font-size: 0.75em; color: var(--muted); }

/* ---------- 16 team ---------- */
.team-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.team-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.team-list { margin: 6px 0 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 10px; font-size: 0.95em; color: #dcdcdc; }
.team-list li::marker { color: var(--c1); }
.twins { display: flex; justify-content: center; gap: 0; }
.twins img { width: 240px; height: 240px; }
.twins img + img { margin-left: -30px; }
.twins .flip { transform: scaleX(-1); }

/* ---------- 17 all-in ---------- */
.allin-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.allin-grid > div:first-child { display: flex; flex-direction: column; gap: 22px; }
.budget { border-collapse: collapse; width: 100%; font-size: 0.82em; }
.budget caption { text-align: left; font-family: var(--f-mono); font-size: 0.8em; color: var(--link); padding-bottom: 8px; }
.budget td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.budget td.mono { text-align: right; white-space: nowrap; padding-left: 20px; }
.budget tfoot td { border-bottom: none; padding-top: 14px; font-weight: 700; font-size: 1.15em; color: var(--ice); }
.allin-right { display: flex; flex-direction: column; gap: 12px; }
.runway { font-size: 1.5em; font-weight: 700; }
.runway-buf { font-size: 1.15em; }
.closer { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.closer img { width: 170px; height: 170px; object-fit: contain; }
.closing { font-family: var(--f-head); font-size: 2.3em; font-weight: 700; color: var(--ice); line-height: 1.05; }

/* ---------- HUD ---------- */
.hud { position: fixed; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 5; }
.progress { height: 3px; background: rgba(255,255,255,0.06); }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--link)); transition: width 300ms ease; }
.counter { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: var(--muted); opacity: 0.75; }

/* ---------- portrait / phone: reflow into one column ---------- */
.stage.portrait { width: 760px; }
.stage.portrait .slide { padding: 64px 48px 72px; gap: 26px; justify-content: center; }
.stage.portrait h2 { font-size: 1.9em; }
.stage.portrait .huge { font-size: 3.1em; }
.stage.portrait .big-quote { font-size: 1.9em; }
.stage.portrait .kicker { font-size: 1.25em; }
.stage.portrait .title-wrap { flex-direction: column-reverse; text-align: center; }
.stage.portrait .s-title { padding: 0 40px; }
.stage.portrait .wordmark { font-size: 5.6em; }
.stage.portrait .tagline { font-size: 1.6em; }
.stage.portrait .title-yeti { width: 440px; height: 440px; }
.stage.portrait .gap-grid,
.stage.portrait .eq-grid,
.stage.portrait .noco-grid,
.stage.portrait .math-grid,
.stage.portrait .everyapp-grid,
.stage.portrait .hard-grid,
.stage.portrait .spend-grid,
.stage.portrait .alloc-grid,
.stage.portrait .team-grid,
.stage.portrait .allin-grid { grid-template-columns: 1fr; gap: 22px; }
.stage.portrait .gap-arrow, .stage.portrait .eq-plus { justify-self: center; transform: rotate(90deg); font-size: 1.8em; line-height: 1; }
.stage.portrait .eq-plus { transform: none; }
.stage.portrait .vaults { grid-template-columns: 1fr; gap: 14px; }
.stage.portrait .vault { padding: 20px; }
.stage.portrait .cust-grid { grid-template-columns: 1fr 1fr; }
.stage.portrait .cust { min-height: 0; }
.stage.portrait .yeti-bounce { display: none; }
.stage.portrait .bill-num { font-size: 4.6em; }
.stage.portrait .twins img { width: 180px; height: 180px; }
.stage.portrait .yeti-loader { width: 120px; height: 120px; }
.stage.portrait .closer img { width: 140px; height: 140px; }

/* ---------- review iteration ---------- */
.nw { white-space: nowrap; }
.stage { hyphens: manual; }
h1, h2, .kicker, .big-quote, .closing, .goal, .sub, .lead, .quote-line, .cust-name, .bill-label { text-wrap: balance; }
p, li, .note, .card-body { text-wrap: pretty; }
.next-row { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.next-row .chip { font-size: 0.62em; }
.s-own .note { margin-top: -12px; }
.math-grid .vs { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 4px; margin-top: auto; }
.math-grid .vs-arrow { font-size: 1.1em; line-height: 1; padding-left: 6px; }
.math-grid .num { font-size: 1.15em; white-space: nowrap; }
.math-grid .num.good { font-size: 1.3em; }
.math-grid .card:last-child .num.good { font-size: 1.05em; }
.math-grid .card:first-child .vs { margin-top: auto; margin-bottom: auto; }
.math-grid .card:first-child .num { font-size: 1.6em; }
.math-grid .card:first-child .num.good { font-size: 2em; }
.cust-grid { grid-auto-rows: 1fr; }
.chart-svg .h-chart { display: none; }
.stage.portrait .chart-svg .v-chart { display: none; }
.stage.portrait .chart-svg .h-chart { display: block; }
.stage.portrait .mark-sm { position: static; width: 84px; height: 84px; transform: none; align-self: flex-end; margin: -12px -8px -48px 0; }
.stage.portrait .ask-list li { font-size: 0.85em; padding: 12px 18px; }
