/* 1000 Ventures. Direction: a station departure board for a company that runs
   on schedules. Navy board, signal yellow, condensed poster type for the big
   things (Big Shoulders Display), Schibsted Grotesk for reading. */

@font-face {
  font-family: "Big Shoulders";
  font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/big-shoulders-display-latin-wght-normal.b5152247f4c0.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.ba4038fc5cb5.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: "Schibsted Grotesk";
  font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.65233324c912.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;
}

:root {
  --navy: #0c1b3c;
  --navy-2: #0f2350;
  --board: #081a41;
  --line-d: rgba(255, 255, 255, 0.11);
  --text-d: #e9eef8;
  --muted-d: #9ba8c4;
  --signal: #ffcb2b;
  --signal-2: #ffd95e;
  --paper: #ffffff;
  --mist: #edf1f7;
  --ink: #0a1a3a;
  --ink-2: #3c4a66;
  --muted: #5b6782;
  --line: #dde3ee;
  --go: #3ee08f;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1200px;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --text: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: var(--text-d); font-family: var(--text); font-size: 17px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible, .products :focus-visible, .about :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 20; font-weight: 700; }
.skip:focus { top: 12px; }

.display {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 104px); line-height: 0.9; letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; background: var(--signal); color: var(--ink); }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text-d); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); }
.btn--dark { background: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--signal:hover, .btn--small:hover { background: var(--signal-2); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
  .btn--dark:hover { background: var(--navy-2); }
}
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ── Header ────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 26, 58, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.top.is-stuck { border-bottom-color: var(--line-d); }
.top__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: 0.01em; }
.brand__mark { width: 22px; height: 22px; fill: #fff; flex: none; }
.brand { font-family: var(--text); font-weight: 750; font-size: 20px; text-transform: none; letter-spacing: -0.02em; }
.top__nav { display: flex; gap: 2px; }
.top__nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted-d); text-decoration: none; font-size: 15px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .top__nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); } }
@media (max-width: 800px) { .top__nav { display: none; } }

/* ── Products (paper) ──────────────────────────────────────────────── */
.products { background: var(--paper); color: var(--ink); padding: clamp(72px, 9vw, 120px) 0; border-radius: 28px 28px 0 0; }
.products__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 36px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg__btn { min-height: 42px; padding: 0 16px; background: var(--mist); border: 0; border-radius: 999px; font-size: 15px; font-weight: 650; color: var(--ink-2); cursor: pointer; touch-action: manipulation; transition: transform 140ms var(--ease), background-color 140ms var(--ease); }
.seg__btn span { color: var(--muted); margin-left: 3px; font-variant-numeric: tabular-nums; }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg__btn[aria-pressed="true"] span { color: var(--signal); }
.seg__btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .seg__btn:not([aria-pressed="true"]):hover { background: var(--line); } }
@media (max-width: 640px) {
  .seg { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg__btn { flex: none; }
}

.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; grid-auto-flow: dense; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; height: 100%; }
.tile__shot { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--mist); aspect-ratio: 800 / 720; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.tile__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 500ms var(--ease); }
.tile--big .tile__shot { aspect-ratio: 800 / 600; }
.tile__paid { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--signal); color: var(--ink); font-size: 12.5px; font-weight: 800; }
.tile__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tile__name { font-weight: 750; font-size: 17px; letter-spacing: -0.01em; }
.tile--big .tile__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); line-height: 0.95; letter-spacing: 0; }
.tile__count { font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.tile--big .tile__count { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--ink); }
.tile__line { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.tile--big .tile__line { font-size: 16px; color: var(--ink-2); max-width: 38em; }
.tile__domain { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: auto; padding-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .tile__link:hover .tile__shot img { transform: scale(1.03); }
  .tile__link:hover .tile__domain { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
}
.plist__more { margin-top: 40px; }
@media (max-width: 1000px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .tile--big { grid-row: auto; }
  .tile__shot { border-radius: 12px; }
  .tile__name { font-size: 15.5px; }
  .tile__line { font-size: 13.5px; }
  .tile__meta { flex-direction: column; gap: 0; }
  .tile--big .tile__meta { flex-direction: row; }
  .tile__domain { display: none; }
  .tile--big .tile__domain { display: block; }
}

/* ── About (paper) ─────────────────────────────────────────────────── */
.about { background: var(--paper); color: var(--ink); padding: clamp(72px, 9vw, 120px) 0; }
.about__in { display: grid; grid-template-columns: 240px minmax(0, 680px); gap: 48px; align-items: center; }
.about__photo { width: 240px; height: 240px; object-fit: cover; border-radius: 20px; }
.about__lead { margin: 18px 0 12px; font-size: 20px; font-weight: 650; }
.about__text p:not(.about__lead) { color: var(--ink-2); margin-bottom: 8px; }
@media (max-width: 760px) { .about__in { grid-template-columns: 1fr; gap: 24px; } .about__photo { width: 128px; height: 128px; border-radius: 16px; } }

/* ── Footer (signal) ───────────────────────────────────────────────── */
.foot { background: var(--signal); color: var(--ink); padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot__ask { font-size: clamp(18px, 2vw, 22px); font-weight: 650; }
.foot__mail { display: inline-block; margin-top: 10px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8.6vw, 128px); line-height: 0.9; text-decoration: none; overflow-wrap: anywhere; transition: transform 200ms var(--ease); }
.foot__mail:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .foot__mail:hover { text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 10px; } }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 20px; border-top: 1.5px solid rgba(10, 26, 58, 0.2); font-size: 14.5px; font-weight: 600; }
.foot__links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.foot__links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { text-decoration: underline; } }

/* Fine grain over the dark sections, so the navy is not a flat screen colour. */
body::after { content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--signal); color: var(--ink); }


/* ── 1. Hero ───────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(900px, calc(100svh - 64px)); display: flex; align-items: center; padding: 56px 0 72px; }
.hero__art {
  position: absolute; z-index: -1; right: -6%; top: 50%; width: 72vw; max-width: 1500px; height: auto;
  transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 58% 52%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 64% at 58% 52%, #000 55%, transparent 100%);
}
.hero__in { position: relative; }
.hero__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 6.3vw, 112px); line-height: 0.86; letter-spacing: -0.01em; color: #fff; }
@media (min-width: 861px) { .hero__line { white-space: nowrap; } }
.hero__line { display: block; }
.hero__line--signal { color: var(--signal); }
.hero__sub { margin-top: 28px; max-width: 24em; font-size: clamp(18px, 1.7vw, 21px); color: var(--text-d); }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__used { margin-top: 40px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; color: var(--muted-d); }
.used { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: #fff; letter-spacing: 0.01em; touch-action: manipulation; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--go); }
@media (prefers-reduced-motion: no-preference) {
  .hero__line { animation: rise 800ms var(--ease) both; }
  .hero__line:nth-child(2) { animation-delay: 80ms; }
  .hero__line:nth-child(3) { animation-delay: 160ms; }
  .hero__sub, .hero__ctas, .hero__used { animation: rise 800ms var(--ease) 280ms both; }
  .hero__art { animation: art-in 1400ms var(--ease) 100ms both; }
}
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
@keyframes art-in { from { transform: translateY(-46%) scale(1.06); opacity: 0.001; } to { transform: translateY(-50%); opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(62, 224, 143, 0); } }
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; padding: 0 0 56px; }
  .hero__art { position: relative; right: auto; top: auto; transform: none; width: 150vw; max-width: none; margin: -8px 0 -18vw -30vw;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 55% 50%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 55% 50%, #000 50%, transparent 100%); }
  @media (prefers-reduced-motion: no-preference) { .hero__art { animation-name: art-in-m; } }
  .hero__title { font-size: clamp(56px, 16vw, 96px); }
}
@keyframes art-in-m { from { transform: scale(1.06); opacity: 0.001; } to { transform: none; opacity: 1; } }

/* ── 2. Mission grid ───────────────────────────────────────────────── */
.mission { padding: clamp(72px, 9vw, 128px) 0; }
.mission__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.mission h2 { color: #fff; }
.mission__n { color: var(--signal); }
.mission__sub { color: var(--muted-d); font-size: 18px; }
.grid1000 { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 4px; }
.cell { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.07); }
.cell--live { background: var(--signal); box-shadow: 0 0 12px rgba(255, 203, 43, 0.45); position: relative; display: block; }
.cell--next { background: transparent; box-shadow: inset 0 0 0 1.5px var(--signal); }
@media (hover: hover) and (pointer: fine) { .cell--live:hover { transform: scale(1.6); z-index: 2; background: #fff; } }
.cell--live { transition: transform 160ms var(--ease), background-color 160ms var(--ease); }
.cell-tip { position: fixed; z-index: 40; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }
@media (prefers-reduced-motion: no-preference) {
  .cell--next { animation: breathe-cell 3.2s ease-in-out infinite; }
  .grid1000.is-in .cell--live { animation: light 600ms var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
}
@keyframes light { from { background: rgba(255, 255, 255, 0.07); box-shadow: none; transform: scale(0.4); } to { transform: none; } }
@keyframes blink { 50% { box-shadow: inset 0 0 0 1.5px transparent; } }
@media (max-width: 860px) {
  .mission__head { grid-template-columns: 1fr; }
  .grid1000 { grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
  .cell { border-radius: 2px; }
}

/* ── 3. Crew ───────────────────────────────────────────────────────── */
.crew { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 136px); }
.crew h2 { color: #fff; }
.crew__sub { margin-top: 18px; max-width: 34em; font-size: 18px; color: var(--muted-d); }
.crew__grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.agent__art { position: relative; border-radius: 22px; background: var(--board); overflow: hidden; aspect-ratio: 560 / 600; box-shadow: inset 0 0 0 1px var(--line-d); }
.agent__art img { width: 100%; height: auto; position: absolute; left: 0; top: -6%; transition: transform 500ms var(--ease); }
.agent__name { margin-top: 16px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: 1; color: #fff; }
.agent__job { margin-top: 6px; font-size: 15.5px; color: var(--muted-d); }
@media (hover: hover) and (pointer: fine) {
  .agent:hover .agent__art img { transform: translateY(-10px) scale(1.04) rotate(-2deg); }
  .agent:hover .agent__name { color: var(--signal); }
}
@media (prefers-reduced-motion: no-preference) {
  .crew__grid.is-in .agent { animation: pop 700ms var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
  .crew__grid:not(.is-in) .agent { opacity: 0; }
}
@keyframes pop { from { transform: translateY(40px) scale(0.96); opacity: 0.001; } to { transform: none; opacity: 1; } }
@media (max-width: 1000px) { .crew__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } .agent__name { font-size: 28px; } .agent__job { font-size: 14.5px; } }

/* ── 4. Story: pinned stage ────────────────────────────────────────── */
.story { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 136px); background: linear-gradient(180deg, var(--navy), var(--board) 30%, var(--board) 80%, var(--navy)); }
.story__title { color: #fff; margin-bottom: 24px; }
.story__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.stage { position: sticky; top: 88px; height: min(640px, calc(100svh - 120px)); }
.stage__ring { position: relative; width: 100%; height: 100%; border-radius: 28px; background: radial-gradient(circle at 50% 50%, rgba(255, 203, 43, 0.08), transparent 60%); box-shadow: inset 0 0 0 1px var(--line-d); }
.stage__ring::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.12); }
.stage__agent {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 21%; transform: translate(-50%, -50%) scale(0.86);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0.38; filter: saturate(0.4);
  transition: transform 600ms var(--ease), opacity 400ms var(--ease), filter 400ms var(--ease);
}
.stage__agent img { width: 100%; aspect-ratio: 560 / 600; object-fit: cover; object-position: center 30%; border-radius: 18px; -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 52%, transparent 72%); mask-image: radial-gradient(circle at 50% 48%, #000 52%, transparent 72%); }
.stage__agent[data-agent="michael"] img { width: 72%; border-radius: 50%; -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 3px var(--signal); }
.stage__agent[data-agent="scorekeeper"] { opacity: 0; }
.stage__agent span { font-size: 13px; font-weight: 700; color: var(--muted-d); }
.stage__agent.is-on { opacity: 1; filter: none; transform: translate(-50%, -50%) scale(1.08); z-index: 2; }
.stage__agent.is-on span { color: var(--signal); }
.stage[data-step="4"] .stage__agent[data-agent="michael"] { opacity: 0; }
.stage[data-step="4"] .stage__agent[data-agent="scorekeeper"].is-on { opacity: 1; }
.stage__tile {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; z-index: 3;
  display: grid; place-items: center; border-radius: 12px;
  background: var(--signal); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 22px;
  box-shadow: 0 0 0 6px rgba(255, 203, 43, 0.18), 0 0 40px rgba(255, 203, 43, 0.55);
  transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
}
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.3; transition: opacity 400ms var(--ease); }
.step.is-on { opacity: 1; }
.step__n { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--signal); }
.step h3 { margin-top: 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 48px); line-height: 0.95; color: #fff; }
.step p { margin-top: 14px; font-size: 18px; color: var(--muted-d); max-width: 28em; }
@media (prefers-reduced-motion: reduce) { .stage__tile, .stage__agent { transition: none; } }
@media (max-width: 860px) {
  .story__body { grid-template-columns: 1fr; gap: 0; }
  .stage { top: 64px; height: 46svh; z-index: 2; background: var(--board); margin: 0 -16px; padding: 8px 16px; }
  .stage__ring { border-radius: 20px; }
  .stage__agent span { font-size: 11px; }
  .stage__tile { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 16px; border-radius: 9px; }
  .step { min-height: 54svh; }
  .step__n { font-size: 48px; }
  .step p { font-size: 16.5px; }
}

/* The crew is alive: each agent bobs gently, out of step with the others. */
@media (prefers-reduced-motion: no-preference) {
  .stage__agent.is-on img { animation: bob 2.6s ease-in-out infinite; }
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ── Hero scene: the crew at work ──────────────────────────────────── */
.scene { position: absolute; z-index: -1; right: -3%; top: 50%; width: min(56vw, 980px); aspect-ratio: 1000 / 700; transform: translateY(-46%); perspective: 1200px; }
.scene__in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 600ms var(--ease); }
.scene__floor { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cell { fill: rgba(126, 162, 255, 0.05); stroke: rgba(126, 162, 255, 0.32); stroke-width: 1.2; transition: fill 400ms var(--ease); }
.cell-lit { fill: #ffcb2b; stroke: #ffe28a; filter: url(#glow); }
.cell-lit-new { animation: cell-pop 700ms cubic-bezier(0.34, 1.56, 0.64, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes cell-pop { 0% { transform: translateY(-60px) scale(0.6); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.ripple { fill: none; stroke: #ffcb2b; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 900ms var(--ease) forwards; }
@keyframes ripple { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
.scene__spot { transition: cx 800ms cubic-bezier(0.65, 0, 0.35, 1), cy 800ms cubic-bezier(0.65, 0, 0.35, 1); }
.scene__beam { animation: sweep 7s ease-in-out infinite alternate; opacity: 0.8; }
@keyframes sweep { from { transform: rotate(-14deg); } to { transform: rotate(26deg); } }
.scene__trail { opacity: 0.35; }

.agent-x {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%);
  translate: calc(-50% + var(--px, 0px) * var(--d)) calc(-100% + var(--py, 0px) * var(--d));
  transition: translate 500ms var(--ease);
}
.agent-x img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35)); transform-origin: 50% 100%; }

/* Idle life, each agent in its own rhythm. */
.agent-x--scout img { animation: scout-scan 4.2s ease-in-out infinite; }
@keyframes scout-scan { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg) translateY(-4px); } }
.agent-x--scorekeeper img { animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.025); } }
.agent-x--herald img { animation: shout-idle 2.8s ease-in-out infinite; }
@keyframes shout-idle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2deg); } }
.agent-x--banker img { animation: bounce-soft 3.2s ease-in-out infinite; }
@keyframes bounce-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.agent-x--builder img { animation: bounce-soft 2.4s ease-in-out infinite; }

/* Reactions, restarted by site.js on every new square. */
.agent-x--builder.is-act img { animation: hammer 600ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes hammer { 0% { transform: rotate(0); } 30% { transform: rotate(-9deg) translateY(-14px); } 60% { transform: rotate(6deg) scaleY(0.94); } 100% { transform: none; } }
.agent-x--herald.is-act img { animation: shout 600ms var(--ease); }
@keyframes shout { 0% { transform: scale(1); } 40% { transform: scale(1.06) rotate(-4deg); } 100% { transform: none; } }

.flyers { position: absolute; left: 62%; top: 22%; width: 0; height: 0; }
.flyers i { position: absolute; width: 12px; height: 9px; border-radius: 2px; background: #fff; opacity: 0; }
.flyers i:nth-child(3n) { background: #ffcb2b; }
.flyers i:nth-child(3n + 1) { background: #9fb6ff; border-radius: 6px; }
.is-act .flyers i { animation: fly 1100ms var(--ease) both; }
.flyers i:nth-child(1) { --tx: 90px; --ty: -70px; } .flyers i:nth-child(2) { --tx: 130px; --ty: -20px; animation-delay: 60ms !important; }
.flyers i:nth-child(3) { --tx: 110px; --ty: 40px; animation-delay: 120ms !important; } .flyers i:nth-child(4) { --tx: 60px; --ty: -110px; animation-delay: 30ms !important; }
.flyers i:nth-child(5) { --tx: 150px; --ty: -60px; animation-delay: 160ms !important; } .flyers i:nth-child(6) { --tx: 80px; --ty: 80px; animation-delay: 90ms !important; }
@keyframes fly { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--tx), var(--ty)) rotate(220deg); opacity: 0; } }

.coins { position: absolute; left: 22%; top: 28%; width: 0; height: 0; }
.coins i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe9a3, #ffb800 60%, #c98a00); opacity: 0; }
.is-act .coins i { animation: toss 900ms cubic-bezier(0.3, 0, 0.7, 1) both; }
.coins i:nth-child(2) { animation-delay: 90ms !important; --cx: 30px; } .coins i:nth-child(3) { animation-delay: 180ms !important; --cx: -24px; }
@keyframes toss { 0% { transform: translate(0, 0); opacity: 1; } 50% { transform: translate(calc(var(--cx, 10px) * 0.6), -70px); opacity: 1; } 100% { transform: translate(var(--cx, 10px), 0); opacity: 0; } }

/* Envoy does laps over the floor, following the dashed trail. */
.agent-x--envoy { left: 12%; top: 22%; animation: envoy-route 11s ease-in-out infinite; }
.agent-x--envoy img { animation: bounce-soft 1.6s ease-in-out infinite; }
@keyframes envoy-route {
  0%   { left: 12%; top: 22%; }
  25%  { left: 34%; top: 10%; }
  45%  { left: 56%; top: 14%; }
  60%  { left: 70%; top: 30%; }
  80%  { left: 92%; top: 18%; }
  100% { left: 12%; top: 22%; }
}

@media (max-width: 860px) {
  .scene { position: relative; right: auto; top: auto; transform: none; width: 118vw; margin: 4px 0 -6vw -9vw; }
}
@media (prefers-reduced-motion: reduce) {
  .scene *, .scene { animation: none !important; transition: none !important; }
}

/* The handoff: one venture travels Scout to Builder to the floor. */
.carry {
  position: absolute; left: 0; top: 0; width: 7%; aspect-ratio: 7 / 4; z-index: 3;
  translate: -50% -50%; opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 203, 43, 0.95)) drop-shadow(0 0 24px rgba(255, 203, 43, 0.6));
  transition: left 700ms cubic-bezier(0.65, 0, 0.35, 1), top 700ms cubic-bezier(0.65, 0, 0.35, 1), opacity 200ms linear, scale 300ms var(--ease);
}
.carry::before { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(135deg, #fff3c4, #ffcb2b 55%, #f0a800); }
.carry.is-on { opacity: 1; }
.carry.is-hop { animation: hop 700ms cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes hop { 50% { scale: 1.35; } }
.scene__label {
  position: absolute; left: 50%; top: 92%; translate: -50% 0; margin: 0;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(8, 26, 65, 0.85); box-shadow: inset 0 0 0 1px rgba(255, 203, 43, 0.35);
  font-size: 14px; font-weight: 600; color: #c9d3e8;
}
.scene__label b { color: #ffcb2b; font-variant-numeric: tabular-nums; }
.scene__label.is-bump b { animation: bump 500ms cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-block; }
@keyframes bump { 40% { transform: translateY(-5px) scale(1.25); } }
.agent-x--scout.is-act img { animation: shout 500ms var(--ease); }
@media (max-width: 860px) { .scene__label { top: 95%; font-size: 12.5px; } }


/* ── Hero stage (style A) ──────────────────────────────────────────── */
.hero { background: #081122; min-height: min(980px, 100svh); padding: 120px 0 96px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 17, 34, 0), var(--navy)); }
.stage3 { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* Cover the hero like object-fit: cover, anchored right, so the overlays stay
   in register with the picture at every size. */
.stage3__in { position: absolute; right: 0; top: 50%; width: max(100%, calc(100svh * 2752 / 1536)); aspect-ratio: 2752 / 1536; translate: 0 -50%; }
.stage3__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage3__tiles { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tile { fill: var(--c); transition: fill-opacity 900ms ease; fill-opacity: 0; }
.tile.is-dark { fill-opacity: 1; }
.tile-bloom { fill: #ffd76a; filter: url(#tglow); opacity: 0; animation: bloom 1600ms ease-out forwards; }
@keyframes bloom { 0% { opacity: 0; } 25% { opacity: 0.95; } 100% { opacity: 0; } }

.stage3 .bot {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%); translate: -50% -100%; z-index: calc(var(--z, 50));
  transition-property: left, top; transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}
.stage3 .bot img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; animation: breathe3 5.6s ease-in-out infinite; animation-delay: calc(var(--z, 50) * -0.13s); }
.stage3 .bot::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -2.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); z-index: -1; }
.stage3 .bot.is-left img { scale: -1 1; }
.stage3 .bot--fly img { animation: float3 4.2s ease-in-out infinite; }
.stage3 .bot--fly::after { bottom: -14%; opacity: 0.5; }
@keyframes breathe3 { 0%, 100% { transform: none; } 50% { transform: scaleY(1.012) translateY(-0.6%); } }
@keyframes float3 { 0%, 100% { transform: translateY(-8%); } 50% { transform: translateY(-14%); } }
/* Walking is a glide with a soft step rhythm, not a waddle. */
.stage3 .bot.is-walking img { animation: step3 520ms ease-in-out infinite; }
@keyframes step3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.2%); } }
.stage3 .bot.is-act img { animation: act3 900ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes act3 { 0% { transform: none; } 35% { transform: translateY(-4%) scale(1.03); } 100% { transform: none; } }

.orb {
  position: absolute; left: 0; top: 0; width: 1.5%; aspect-ratio: 1; z-index: 200; translate: -50% -50%;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 40% 35%, #fff8dc, #ffd447 45%, #f0a800 75%);
  box-shadow: 0 0 18px 6px rgba(255, 210, 80, 0.75), 0 0 60px 18px rgba(255, 200, 60, 0.35);
  transition-property: left, top, opacity, scale; transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}
.orb.is-on { opacity: 1; }

@media (max-width: 860px) {
  .hero { min-height: 0; padding: 0 0 64px; display: block; }
  .stage3 { position: relative; inset: auto; height: 78vw; margin-bottom: -8vw; }
  .stage3__in { width: 160vw; right: -6vw; }
  .stage3::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(8, 17, 34, 0), #081122); }
}
@media (prefers-reduced-motion: reduce) { .stage3 *, .orb { animation: none !important; transition: none !important; } }

/* ── MotionSites-style entrance: the stage settles, words blur up ──── */
@media (prefers-reduced-motion: no-preference) {
  .stage3__in { animation: settle 1800ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero__title .w { display: inline-block; animation: blurrise 1100ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(200ms + var(--wi) * 70ms); }
  .hero__line { animation: none !important; }
  .hero__sub, .hero__ctas, .hero__used { animation: blurrise 1100ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero__sub { animation-delay: 650ms; } .hero__ctas { animation-delay: 760ms; } .hero__used { animation-delay: 860ms; }
}
@keyframes settle { from { scale: 1.06; filter: brightness(0.7); } to { scale: 1; filter: none; } }
@keyframes blurrise { from { transform: translateY(32px); filter: blur(10px); } to { transform: none; filter: none; } }


/* ══ MotionSites-style motion ═══════════════════════════════════════════ */
:root { --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes breathe-cell { 50% { box-shadow: inset 0 0 0 1.5px rgba(255, 203, 43, 0.25); } }

/* Floating glass pill nav */
.top { background: transparent; border: 0; padding-top: 14px; }
.top.is-stuck { border: 0; }
.top__in {
  height: 58px; max-width: calc(var(--wrap) + 24px); padding: 0 10px 0 20px;
  border-radius: 999px; background: rgba(10, 22, 48, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 10px 40px -12px rgba(0, 0, 0, 0.5);
  transition: background-color 400ms ease, box-shadow 400ms ease;
}
.top.is-stuck .top__in { background: rgba(10, 22, 48, 0.78); }
.top__nav a { border-radius: 999px; }
.btn--small { border-radius: 999px; }
@media (max-width: 640px) { .top { padding: 10px 10px 0; } .top__in { padding: 0 6px 0 16px; } }

/* Pill buttons with a light sweep */
.btn { border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; }
.btn--signal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); translate: -120% 0; transition: translate 900ms var(--ease-out-expo); }
@media (hover: hover) and (pointer: fine) { .btn--signal:hover::before { translate: 120% 0; } }
[data-magnetic] { transition: transform 500ms var(--ease-out-expo), background-color 160ms ease; }

/* Split display headings: each line rises out of a mask */
.split-line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.split-line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  [data-split].is-armed .split-line > span { transform: translateY(105%); transition: transform 1100ms var(--ease-out-expo); transition-delay: calc(var(--li) * 90ms); }
  [data-split].is-in .split-line > span { transform: none; }
  [data-reveal].is-armed { opacity: 0; transform: translateY(40px); filter: blur(10px); transition: opacity 1000ms var(--ease-out-expo), transform 1000ms var(--ease-out-expo), filter 1000ms var(--ease-out-expo); transition-delay: var(--rd, 0ms); }
  [data-reveal].is-armed.is-in { opacity: 1; transform: none; filter: none; }
}

/* Manifesto: words light up as you read */
.manifesto { padding: clamp(80px, 12vw, 180px) 0 clamp(40px, 6vw, 80px); }
.manifesto__text { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 5.4vw, 80px); line-height: 0.98; letter-spacing: 0; color: #fff; max-width: 18ch; }
.manifesto__text .mw { opacity: 0.14; transition: opacity 300ms linear, color 300ms linear; }
.manifesto__text .mw.is-lit { opacity: 1; }
.manifesto__text .mw.is-key.is-lit { color: var(--signal); }
@media (prefers-reduced-motion: reduce) { .manifesto__text .mw { opacity: 1; } }

/* Crew cards: style-A figures, depth on hover */
.agent__art { background: radial-gradient(120% 90% at 50% 105%, #1b3266 0%, #0d1b3d 55%, #0a1631 100%); aspect-ratio: 4 / 5; transform-style: preserve-3d; transition: transform 600ms var(--ease-out-expo), box-shadow 600ms var(--ease-out-expo); will-change: transform; }
.agent__art img { position: absolute; left: 50%; bottom: 7%; top: auto; width: auto; height: 78%; translate: -50% 0; transform: translateZ(40px); transition: transform 600ms var(--ease-out-expo); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45)); }
.agent__glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 400ms ease; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 210, 90, 0.22), transparent 60%); }
.agent__art::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 5%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); }
@media (hover: hover) and (pointer: fine) {
  .agent:hover .agent__glow { opacity: 1; }
  .agent:hover .agent__art img { transform: translateZ(60px) translateY(-6px); }
  .agent:hover .agent__name { color: var(--signal); }
}

/* Story stage: style-A cut-outs, no circular masks */
.stage__agent img { aspect-ratio: auto; height: auto; object-fit: contain; -webkit-mask-image: none; mask-image: none; border-radius: 0; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5)); width: 62%; }
.stage__agent[data-agent="michael"] img { width: 58%; }

/* Product tiles: image wipes in, veil and zoom on hover */
@media (prefers-reduced-motion: no-preference) {
  .tile[data-reveal].is-armed { filter: none; }
  .tile[data-reveal].is-armed .tile__shot { clip-path: inset(100% 0 0 0 round 16px); transition: clip-path 1200ms var(--ease-out-expo); transition-delay: var(--rd, 0ms); }
  .tile[data-reveal].is-armed.is-in .tile__shot { clip-path: inset(0 0 0 0 round 16px); }
}
.tile__shot::after { content: "Open"; position: absolute; right: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px; background: rgba(10, 26, 58, 0.82); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; translate: 0 8px; transition: opacity 300ms ease, translate 500ms var(--ease-out-expo); }
@media (hover: hover) and (pointer: fine) { .tile__link:hover .tile__shot::after { opacity: 1; translate: 0 0; } }
.tile__shot img { transition: transform 1200ms var(--ease-out-expo); }
@media (hover: hover) and (pointer: fine) { .tile__link:hover .tile__shot img { transform: scale(1.05); } }

/* Section-to-section: the light paper section slides up over the navy */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .products, .about { animation: rise-in linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise-in { from { transform: translateY(80px); } to { transform: none; } }
  }
}

/* Footless crew: everyone hovers. A slow float at rest, a smooth glide
   between places, the shadow stays on the floor and breathes with height. */
.stage3 .bot img { animation: hover3 6.5s ease-in-out infinite; animation-delay: calc(var(--z, 50) * -0.17s); }
.stage3 .bot.is-walking img { animation: hover3 4.8s ease-in-out infinite; transform: rotate(var(--lean, 0deg)); }
.stage3 .bot.is-walking { --lean: 4deg; }
.stage3 .bot.is-walking.is-left { --lean: -4deg; }
.stage3 .bot::after { bottom: -16%; left: 20%; right: 20%; height: 8%; animation: shadow3 6.5s ease-in-out infinite; animation-delay: calc(var(--z, 50) * -0.17s); }
@keyframes hover3 { 0%, 100% { translate: 0 -10%; } 50% { translate: 0 -12.5%; } }
@keyframes shadow3 { 0%, 100% { opacity: 0.85; scale: 1; } 50% { opacity: 0.55; scale: 0.82; } }
.stage3 .bot.is-act img { animation: act3 900ms cubic-bezier(0.22, 1, 0.36, 1), hover3 4.8s ease-in-out infinite; }
.agent__art img { height: 70%; bottom: 14%; }
.agent__art::after { bottom: 6%; }
@media (prefers-reduced-motion: no-preference) {
  .agent__art img { animation: hoverc 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.8s); }
}
@keyframes hoverc { 0%, 100% { translate: -50% -2%; } 50% { translate: -50% -6%; } }

/* Hero jobs: sparks, beams and rings between agents and tiles */
.fx { position: absolute; inset: 0; pointer-events: none; z-index: 150; }
.spark { position: absolute; width: 0.55%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: #ffe9a3; box-shadow: 0 0 10px 3px rgba(255, 210, 80, 0.8);
  transition-property: left, top, opacity, scale; transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
.spark.is-go { opacity: 0.95; }
.spark--tiny { width: 0.35%; transition-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
.spark--tiny.is-go { opacity: 0; }
.spark--beam { width: 0.4%; background: #fff6d0; box-shadow: 0 0 14px 5px rgba(255, 220, 120, 0.9); }
.spark--data { width: 0.3%; border-radius: 1px; background: #bcd0ff; box-shadow: 0 0 8px 2px rgba(150, 180, 255, 0.8); }
.spark--coin { width: 0.6%; background: radial-gradient(circle at 35% 35%, #fff3c4, #ffc21a 60%, #c98a00); box-shadow: 0 0 10px 3px rgba(255, 190, 40, 0.65); transition-timing-function: cubic-bezier(0.5, 0, 0.75, 0); }
.spark--msg { width: 0.5%; background: #e8eeff; box-shadow: 0 0 10px 3px rgba(200, 215, 255, 0.7); }
.spark--reply { width: 0.5%; background: #ffd447; box-shadow: 0 0 10px 3px rgba(255, 210, 80, 0.75); }
.pulse-ring { position: absolute; width: 2.2%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; border: 2px solid rgba(255, 220, 120, 0.9); animation: pring 1200ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes pring { from { scale: 0.3; opacity: 1; } to { scale: 2.4; opacity: 0; } }
.pulse-ring--blue { border-color: rgba(190, 210, 255, 0.9); }
.pulse-ring--gold { border-color: rgba(255, 196, 40, 0.9); }
@keyframes pring { from { scale: 0.3; opacity: 1; } to { scale: 2.4; opacity: 0; } }
.tile.is-tuned { fill: #fff3c4; fill-opacity: 0.55 !important; transition: fill-opacity 200ms ease; }
.tile.is-scanned { fill: #bcd0ff; fill-opacity: 0.28 !important; transition: fill-opacity 200ms ease; }
@media (prefers-reduced-motion: reduce) { .fx { display: none; } }

.foot__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; margin-bottom: 28px; }
.foot__brand svg { width: 22px; height: 22px; fill: currentColor; }

/* The header floats over the hero, so the stage runs to the very top. */
.top { position: fixed; left: 0; right: 0; top: 0; }
.hero { padding-top: 150px; }
@media (max-width: 860px) { .hero { padding-top: 0; } .stage3 { height: calc(78vw + 72px); } }
.top { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; }
@media (max-width: 860px) { .stage3__in { width: max(160vw, calc((78vw + 72px) * 1.7917)); } }

/* The new venture: a small wall tile. An outline while it is an idea,
   solid once Builder has made it, skewed to match the wall. */
.orb {
  width: 1.7%; aspect-ratio: 0.82; border-radius: 3px;
  background: transparent; box-shadow: none;
  border: 2px solid rgba(255, 220, 130, 0.95);
  outline: 0 solid transparent;
  transform: skewY(-14deg);
  filter: drop-shadow(0 0 6px rgba(255, 205, 70, 0.75));
  transition-property: left, top, opacity, background-color, box-shadow;
}
.orb.is-built {
  background: linear-gradient(160deg, #fff1bd, #ffd447 55%, #f2b21a);
  border-color: #ffe9a3;
  box-shadow: 0 0 16px 4px rgba(255, 205, 70, 0.55);
  transition-duration: 400ms;
}
.orb.is-on:not(.is-built) { animation: idea 1.6s ease-in-out infinite; }
@keyframes idea { 50% { border-color: rgba(255, 220, 130, 0.45); } }

/* ── How a venture is born: the journey ────────────────────────────── */
.story__body { align-items: start; }
.journey { position: sticky; top: 96px; display: flex; justify-content: center; }
.journey__box { position: relative; height: min(680px, calc(100svh - 130px)); aspect-ratio: 400 / 560; }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey__path { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.journey__lit { fill: none; stroke: #ffcb2b; stroke-width: 2.5; stroke-linecap: round; }
.jstation { fill: #0b1a3c; stroke: rgba(255, 255, 255, 0.25); stroke-width: 2; transition: fill 400ms ease, stroke 400ms ease; }
.jstation.is-reached { fill: #ffcb2b; stroke: #ffe9a3; }
.jtile { fill: #13244b; stroke: rgba(255, 255, 255, 0.06); }
.jtile.is-on { fill: #ffd447; filter: drop-shadow(0 0 4px rgba(255, 205, 70, 0.6)); }
.jtile--slot { fill: transparent; stroke: rgba(255, 220, 130, 0.5); stroke-dasharray: 3 3; transition: fill 500ms ease; }
.jtile--slot.is-on { fill: #fff1bd; stroke: #fff; stroke-dasharray: none; filter: drop-shadow(0 0 10px rgba(255, 215, 90, 0.95)); }

.jagent { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); translate: -50% -100%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  opacity: 0.32; filter: saturate(0.35) brightness(0.8); transform: scale(0.9); transform-origin: 50% 100%;
  transition: opacity 500ms ease, filter 500ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1); }
.jagent img { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.5)); }
.jagent span { font-size: 12px; font-weight: 700; color: var(--muted-d); white-space: nowrap; transition: color 400ms ease; }
.jagent.is-on { opacity: 1; filter: none; transform: scale(1.06); }
.jagent.is-on span { color: var(--signal); }
.jagent--human img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 3px #0b1a3c, 0 0 0 5px rgba(255, 255, 255, 0.25); transition: box-shadow 400ms ease; }
.jagent--human.is-on img { box-shadow: 0 0 0 3px #0b1a3c, 0 0 0 5px #3ee08f, 0 0 24px 4px rgba(62, 224, 143, 0.45); }
@media (prefers-reduced-motion: no-preference) { .jagent.is-on img:not(.jagent--human img) { animation: hover3 4s ease-in-out infinite; } }

/* The venture itself */
.vtile { position: absolute; left: 30%; top: 7%; width: 9%; aspect-ratio: 0.82; translate: -50% -50%; z-index: 5;
  border-radius: 5px; border: 2px dashed rgba(255, 220, 130, 0.95); background: rgba(255, 203, 43, 0.04);
  filter: drop-shadow(0 0 10px rgba(255, 205, 70, 0.55));
  transition: background 500ms ease, border-color 500ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.vtile > span { position: absolute; opacity: 0; transition: opacity 400ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.vtile__check { right: -22%; top: -18%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #3ee08f; transform: scale(0.3);
  box-shadow: 0 0 12px rgba(62, 224, 143, 0.7); }
.vtile__check::after { content: ""; position: absolute; left: 34%; top: 20%; width: 26%; height: 46%; border: solid #072; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.vtile__ui { left: 16%; right: 16%; top: 18%; display: flex; flex-direction: column; gap: 9%; height: 46%; }
.vtile__ui i { display: block; height: 18%; border-radius: 2px; background: rgba(10, 26, 58, 0.55); }
.vtile__ui i:nth-child(1) { width: 70%; } .vtile__ui i:nth-child(3) { width: 45%; background: rgba(10, 26, 58, 0.8); }
.vtile__bars { left: 118%; bottom: 0; height: 90%; width: 60%; display: flex; align-items: flex-end; gap: 12%; }
.vtile__bars i { display: block; flex: 1; border-radius: 2px; background: #bcd0ff; height: 20%; transition: height 700ms cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 0 8px rgba(150, 180, 255, 0.6); }

.journey[data-step="0"] .vtile { animation: idea 1.6s ease-in-out infinite; }
.journey:not([data-step="0"]) .vtile__check { opacity: 1; transform: scale(1); }
.journey[data-step="2"] .vtile, .journey[data-step="3"] .vtile, .journey[data-step="4"] .vtile, .journey[data-step="5"] .vtile {
  border-style: solid; border-color: #ffe9a3; background: linear-gradient(160deg, #fff1bd, #ffd447 55%, #f2b21a); }
.journey[data-step="2"] .vtile__ui, .journey[data-step="3"] .vtile__ui, .journey[data-step="4"] .vtile__ui { opacity: 1; }
.journey[data-step="3"] .vtile { transform: scale(1.12); }
.journey[data-step="4"] .vtile__bars { opacity: 1; }
.journey[data-step="4"] .vtile__bars i:nth-child(1) { height: 40%; } .journey[data-step="4"] .vtile__bars i:nth-child(2) { height: 70%; } .journey[data-step="4"] .vtile__bars i:nth-child(3) { height: 100%; }
.journey[data-step="5"] .vtile { opacity: 0; transition: opacity 300ms ease; }

.journey__sparks { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.journey__sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; translate: -50% -50%; background: #ffe9a3; box-shadow: 0 0 8px 2px rgba(255, 210, 80, 0.8); animation: jspark 1200ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes jspark { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

@media (max-width: 860px) {
  .journey { top: 70px; z-index: 2; background: linear-gradient(180deg, var(--board) 85%, transparent); margin: 0 -16px; padding: 8px 16px 18px; }
  .journey__box { height: 48svh; }
  .jagent span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .vtile, .jagent, .journey__lit { transition: none; animation: none !important; } }

/* The journey is a tall column that scrolls with the steps. */
.story__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
.journey { position: relative; top: auto; display: block; }
.journey__box { position: relative; width: 100%; height: 100%; aspect-ratio: auto; }
.jagent { --w2: calc(var(--w) * 1%); }
.vtile { width: 8%; }
@media (max-width: 860px) {
  .story__body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 12px; }
  .journey { position: relative; top: auto; background: none; margin: 0; padding: 0; }
  .journey__box { height: 100%; }
  .step { min-height: 62svh; }
  .step h3 { font-size: 26px; }
  .step p { font-size: 15px; }
  .jagent span { display: none; }
  .jagent.is-on span { display: block; font-size: 10px; }
  .vtile { width: 13%; }
}

/* ── How a venture is born: stacked cards ──────────────────────────── */
.story { background: var(--navy); }
.story__sub { margin-top: 18px; font-size: 19px; color: var(--muted-d); max-width: 34em; }
.stack { list-style: none; margin: 56px 0 0; padding: 0; }
.scard { position: sticky; top: calc(96px + var(--i) * 18px); height: min(560px, calc(100svh - 150px)); margin-bottom: 14vh; }
.scard:last-child { margin-bottom: 0; }
.scard__in {
  position: relative; height: 100%; overflow: hidden; border-radius: 32px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  background: var(--c1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 -20px 60px -20px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
  transition: transform 120ms linear, filter 120ms linear;
}
.scard--1 { --c1: radial-gradient(120% 100% at 85% 60%, #3a2c08 0%, #14204a 55%, #0d1838 100%); --glow: #ffcb2b; }
.scard--2 { --c1: radial-gradient(120% 100% at 85% 60%, #0b3a2e 0%, #10224a 55%, #0d1838 100%); --glow: #3ee08f; }
.scard--3 { --c1: radial-gradient(120% 100% at 85% 60%, #1c3470 0%, #10204a 55%, #0d1838 100%); --glow: #8fb0ff; }
.scard--4 { --c1: radial-gradient(120% 100% at 85% 60%, #24247a 0%, #121f4c 55%, #0d1838 100%); --glow: #6b7dff; }
.scard--5 { --c1: radial-gradient(120% 100% at 85% 60%, #3d2a06 0%, #15214a 55%, #0d1838 100%); --glow: #ffb800; }
.scard__text { padding: clamp(28px, 4.5vw, 64px); position: relative; z-index: 2; }
.scard__n { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(72px, 9vw, 132px); line-height: 0.8; color: var(--glow); opacity: 0.95; }
.scard h3 { margin-top: 18px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.8vw, 56px); line-height: 0.92; color: #fff; }
.scard p { margin-top: 16px; font-size: 18px; color: #c3cde2; max-width: 26em; }
.scard__who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px !important; }
.scard__who span { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.scard__art { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.scard__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 38%, transparent), transparent 70%); filter: blur(10px); }
.scard__bot {
  position: absolute; height: calc(76% - (var(--n) - 1) * 13%); width: auto; bottom: calc(12% + var(--k) * 0%);
  left: calc(50% + (var(--k) - (var(--n) - 1) / 2) * 31%); translate: -50% 0;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55));
  z-index: calc(10 - var(--k));
}
.scard__human { position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px rgba(13, 24, 56, 0.9), 0 0 0 8px var(--glow), 0 0 80px 10px color-mix(in srgb, var(--glow) 35%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .scard__bot { animation: hoverc2 6s ease-in-out infinite; animation-delay: calc(var(--k) * -1.3s); }
  .scard.is-in .scard__text > * { animation: blurrise 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .scard.is-in .scard__text > *:nth-child(2) { animation-delay: 80ms; }
  .scard.is-in .scard__text > *:nth-child(3) { animation-delay: 160ms; }
  .scard.is-in .scard__text > *:nth-child(4) { animation-delay: 240ms; }
  .scard.is-in .scard__art img { animation: artin 1100ms cubic-bezier(0.16, 1, 0.3, 1) both, hoverc2 6s ease-in-out 1100ms infinite; }
}
@keyframes hoverc2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5%); } }
@keyframes artin { from { transform: translateY(60px) scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 860px) {
  .scard { height: auto; top: calc(80px + var(--i) * 12px); margin-bottom: 8vh; }
  .scard__in { grid-template-columns: 1fr; border-radius: 24px; }
  .scard__art { height: 46vw; order: -1; }
  .scard__text { padding: 24px 22px 28px; }
  .scard p { font-size: 16px; }
  .scard__n { font-size: 64px; }
}

/* ── Smooth motion: transforms only, light effects on phones ───────── */
.stage3 .bot { transition-property: transform; will-change: transform; }
.stage3 .bot img { will-change: translate, transform; backface-visibility: hidden; }
.orb { left: 0 !important; top: 0 !important; transform: none; transition-property: transform, opacity, background-color, box-shadow; will-change: transform; }
.spark, .pulse-ring { left: 0; top: 0; }
.spark { transition-property: transform, opacity, scale; will-change: transform; }
@media (max-width: 860px), (pointer: coarse) {
  body::after { display: none; }
  .top__in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 22, 48, 0.88); }
  .stage3 .bot img, .agent__art img, .scard__bot { filter: none; }
  .stage3 .bot::after { animation: none; }
  .stage3__in { animation: none; }
  .spark { box-shadow: 0 0 6px 2px rgba(255, 210, 80, 0.7); }
}
@media (max-width: 860px), (pointer: coarse) {
  /* Blur is costly on phones: the entrance rises without it. */
  .hero__title .w, .hero__sub, .hero__ctas, .hero__used { animation-name: rise !important; }
  [data-reveal].is-armed { filter: none !important; }
}

/* Speed rules: first-screen entrances never start invisible, the live dot does not loop. */
@keyframes rise { from { transform: translateY(28px); } to { transform: none; } }
@keyframes blurrise { from { transform: translateY(32px); } to { transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.pulse { animation: none !important; box-shadow: 0 0 0 4px rgba(62, 224, 143, 0.22); }
