/* ============================================================================
   Vibecreed site stylesheet
   Direction: editorial brutalism. Pearl ground, vast black grotesk headings,
   electric cobalt #3547CA accent, cyan atmosphere, asymmetric editorial rhythm.
   Tokens are shared with the contact page (--ink, --pearl, --cobalt).
   ========================================================================== */

/* ---------------------------------------------------------------- typeface */
/* Manrope Variable (SIL Open Font License 1.1), self-hosted.
   weights 200 to 800. See assets/fonts/README.md and the retained OFL.txt. */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */
:root {
  /* Core palette */
  --ink: #15151B;
  --pearl: #F5F5F1;
  --paper: #FFFFFF;
  --cobalt: #3547CA;
  --cobalt-bright: #3547FF;
  --cobalt-deep: #253094;
  --cyan: #0FB6E8;
  --acid: #E9FF5A;

  --ink-70: rgba(21, 21, 27, 0.70);
  --ink-55: rgba(21, 21, 27, 0.55);
  --ink-40: rgba(21, 21, 27, 0.40);
  --ink-18: rgba(21, 21, 27, 0.18);
  --ink-12: rgba(21, 21, 27, 0.12);
  --ink-08: rgba(21, 21, 27, 0.08);
  --pearl-70: rgba(245, 245, 241, 0.70);
  --pearl-55: rgba(245, 245, 241, 0.55);
  --pearl-18: rgba(245, 245, 241, 0.18);
  --pearl-12: rgba(245, 245, 241, 0.12);

  /* Type */
  --font-display: "Manrope", "Bricolage Grotesque", system-ui,
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* Metrics */
  --wide: 1320px;
  --text-measure: 66ch;
  --bar-h: 72px;
  --gutter: clamp(1.15rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-s: 0 1px 2px rgba(21, 21, 27, 0.06), 0 4px 14px rgba(21, 21, 27, 0.06);
  --shadow-m: 0 18px 50px -22px rgba(21, 21, 27, 0.45);
  --shadow-l: 0 44px 90px -40px rgba(21, 21, 27, 0.55);
  --glow-cobalt: 0 24px 70px -28px rgba(53, 71, 202, 0.85);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.6s;

  --z-header: 60;
  --z-blob: 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.0625rem);
  line-height: 1.6;
  font-weight: 450;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
}

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

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

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan); }

::selection { background: var(--cobalt); color: #fff; }

/* Whole-page containment helpers */
main { display: block; }

/* --------------------------------------------------------------- utilities */
.container {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--pearl);
  padding: 0.7rem 1.15rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.28s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Section scaffolding ------------------------------------------------------- */
section { position: relative; }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 4rem); max-width: var(--wide); }
.section-head--split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.735rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.eyebrow__mark {
  width: 0.62rem;
  height: 0.62rem;
  background: var(--cobalt);
  border-radius: 2px;
  flex: none;
}
.eyebrow--inverse { color: var(--cyan); }
.eyebrow--inverse .eyebrow__mark { background: var(--cyan); }

.statement {
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 24ch;
}

.display {
  font-size: clamp(1.85rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.lede {
  font-size: clamp(1.02rem, 0.5vw + 1rem, 1.2rem);
  line-height: 1.62;
  color: var(--ink-70);
  max-width: 46ch;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink-18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease-soft),
    border-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft),
    box-shadow 0.3s var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  --btn-bg: var(--cobalt);
  --btn-fg: #fff;
  --btn-bd: var(--cobalt);
  box-shadow: var(--glow-cobalt);
}
.btn--primary:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); }

.btn--quiet {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink-18);
}
.btn--quiet:hover { border-color: var(--ink); background: var(--paper); }

.btn--lg { min-height: 56px; padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn--compact { min-height: 44px; padding: 0.55rem 1.05rem; font-size: 0.92rem; }

.btn--inverse {
  --btn-bg: var(--pearl);
  --btn-fg: var(--ink);
  --btn-bd: var(--pearl);
}
.btn--inverse:hover { background: #fff; }

.btn__glyph { display: inline-flex; transition: transform 0.3s var(--ease); }
.btn:hover .btn__glyph { transform: translateX(3px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--ink-08);
  color: var(--ink-70);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; flex: none; }
.dot--cobalt { background: var(--cobalt); box-shadow: 0 0 0 4px rgba(53, 71, 202, 0.16); }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 0 4px rgba(15, 182, 232, 0.16); }

/* ============================ SITE HEADER ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--pearl) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .site-header { background: rgba(245, 245, 241, 0.84); }
}
.site-header.is-scrolled { border-bottom-color: var(--ink-12); background: var(--pearl); }

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  min-height: var(--bar-h);
  padding: 0.55rem var(--gutter);
}

.site-header__brand { display: inline-flex; align-items: center; flex: none; }

.brand-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.7rem;
  border-radius: var(--r-s);
  background: var(--paper);
  border: 1px solid var(--ink-12);
  transition: box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease),
    border-color 0.3s var(--ease-soft);
}
.brand-box:hover { transform: translateY(-1px); box-shadow: var(--shadow-s); border-color: var(--ink-18); }
.brand-box__mark {
  display: block;
  height: 22px;
  width: auto;
}

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.6rem); }
.site-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-70);
  transition: color 0.22s var(--ease-soft);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.55rem;
  height: 2px;
  width: 0;
  background: var(--cobalt);
  transition: width 0.28s var(--ease);
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after { width: 100%; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--ink-18);
  background: var(--paper);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color 0.22s var(--ease-soft), background-color 0.22s var(--ease-soft);
}
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 14px;
}
.nav-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease-soft);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ================================ HERO =================================== */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--ink-12);
}

.hero__atmos {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  z-index: var(--z-blob);
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.75;
}
.blob--cobalt {
  width: 46vw; height: 46vw;
  max-width: 640px; max-height: 640px;
  top: -14%; right: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(53, 71, 202, 0.95), rgba(53, 71, 202, 0) 68%);
}
.blob--cyan {
  width: 40vw; height: 40vw;
  max-width: 560px; max-height: 560px;
  top: 26%; right: 22%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 182, 232, 0.72), rgba(15, 182, 232, 0) 70%);
}
.grain {
  position: absolute;
  inset: 0;
  /* Subtle speckle, not scanlines. Kept low contrast so reading is untouched. */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(21, 21, 27, 0.5) 0.4px, transparent 1.4px),
    radial-gradient(circle at 68% 62%, rgba(21, 21, 27, 0.42) 0.4px, transparent 1.4px),
    radial-gradient(circle at 44% 84%, rgba(21, 21, 27, 0.46) 0.4px, transparent 1.4px);
  background-size: 3px 3px, 5px 5px, 4px 4px;
  opacity: 0.05;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__copy { max-width: 760px; }

.hero__title {
  font-size: clamp(2.85rem, 9.2vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.hero__line { display: block; }
.hero__line--accent {
  color: var(--cobalt);
  position: relative;
}

.hero__lede {
  font-size: clamp(1.08rem, 0.9vw + 0.95rem, 1.35rem);
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 44ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Hero figure: orbit visual */
.hero__figure {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}
.orbit {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(53, 71, 202, 0.22));
}

/* Orbit SVG element styling */
.orbit__core { fill: url(#vc-grad-core); }
.orbit__ring { fill: none; stroke: var(--ink-12); stroke-width: 1; }
.orbit__ring--hair { stroke: var(--ink-08); stroke-width: 1; }
.orbit__ring--thin { stroke: var(--ink-18); stroke-width: 1.4; }
.orbit__ticks,
.orbit__ticks--major { fill: none; }
.orbit__ticks { stroke: var(--ink-18); stroke-width: 1.5; }
.orbit__ticks--major { stroke: var(--ink-40); stroke-width: 2; }
.orbit__guides { stroke: var(--ink-18); stroke-width: 1; stroke-dasharray: 2 6; }
.orbit__nodes rect { fill: var(--cobalt); }
.orbit__arc { fill: none; stroke: url(#vc-grad-arc); stroke-linecap: round; }
.orbit__arc--a { stroke-width: 2.2; stroke-dasharray: 330 1180; }
.orbit__arc--b { stroke-width: 2.6; stroke-dasharray: 420 1380; }
.orbit__sweep { transform-box: view-box; transform-origin: 50% 50%; }
.orbit__monogram rect {
  fill: var(--pearl);
  stroke: var(--ink);
  stroke-width: 2;
}
.orbit__monogram path {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit__spark {
  fill: var(--cyan);
  transform-box: fill-box;
  transform-origin: center;
}

/* Orbit rotation: each spin group is concentric, so fill-box centre is the dial centre. */
.orbit__spin { transform-box: fill-box; transform-origin: center; }
.orbit__spin--slow { animation: vc-spin 120s linear infinite; }
.orbit__spin--medium { animation: vc-spin 84s linear infinite reverse; }
.orbit__spin--dial { animation: vc-spin 46s linear infinite; }
.orbit__spin--counter { animation: vc-spin 66s linear infinite reverse; }
.orbit__sweep { animation: vc-spin 24s linear infinite; }
.orbit__spark { animation: vc-pulse 3.4s var(--ease-soft) infinite; }

@keyframes vc-spin { to { transform: rotate(360deg); } }
@keyframes vc-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.28); opacity: 0.6; }
}

.orbit-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.orbit-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue__track {
  display: block;
  width: 76px;
  height: 2px;
  background: var(--ink-12);
  border-radius: 2px;
  overflow: hidden;
}
.scroll-cue__label { color: inherit; }
.scroll-cue__fill {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--cobalt);
  animation: vc-cue 2.6s var(--ease-soft) infinite;
}
@keyframes vc-cue {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ================================ TICKER ================================= */
.ticker {
  position: relative;
  overflow: clip;
  background: var(--ink);
  color: var(--pearl);
  border-block: 1px solid rgba(245, 245, 241, 0.12);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: vc-ticker 34s linear infinite;
}
.ticker__set { display: flex; align-items: center; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.05rem 1.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.85;
}
@keyframes vc-ticker { to { transform: translateX(-50%); } }

/* ============================== SECTIONS ================================= */
.approach,
.factory,
.ventures {
  padding-block: var(--section-y);
  scroll-margin-top: calc(var(--bar-h) + 12px);
}
.approach { background: var(--pearl); }
.factory { background: var(--paper); border-block: 1px solid var(--ink-12); }
.ventures { background: var(--pearl); }

.approach > *, .factory > *, .ventures > * {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Approach rows */
.rows { display: grid; }
.row {
  display: grid;
  gap: 0.6rem 2rem;
  padding-block: clamp(1.6rem, 3vw, 2.6rem);
  border-top: 1px solid var(--ink-12);
}
.row:last-child { border-bottom: 1px solid var(--ink-12); }
.row__index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cobalt);
}
.row__title {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
}
.row__body { color: var(--ink-70); max-width: 60ch; }

/* Pipeline */
.pipeline {
  display: grid;
  gap: 1px;
  background: var(--ink-12);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-l);
  overflow: hidden;
}
.pipeline__step {
  position: relative;
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  transition: background-color 0.3s var(--ease-soft);
}
.pipeline__step:hover { background: var(--pearl); }
.pipeline__num {
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cobalt);
}
.pipeline__num::after {
  content: "";
  display: block;
  margin-top: 0.85rem;
  width: 34px;
  height: 2px;
  background: var(--cobalt);
}
.pipeline__title {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-bottom: 0.55rem;
}
.pipeline__step p { color: var(--ink-70); font-size: 0.97rem; }

.factory__closer {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-l);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(53, 71, 202, 0.16), transparent 60%),
    var(--ink);
  color: var(--pearl);
}
.factory__closer-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  max-width: 26ch;
}

/* Venture grid ------------------------------------------------------------ */
.venture-grid {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
}

.venture__link {
  display: grid;
  gap: 1.15rem;
}

.venture__panel {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-l);
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(53, 71, 202, 0.35), transparent 62%),
    linear-gradient(150deg, #1a1a24, #101017);
  border: 1px solid var(--ink-12);
  box-shadow: var(--shadow-m);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.venture__link:hover .venture__panel { transform: translateY(-6px); box-shadow: var(--shadow-l); }

.venture__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.venture__link:hover .venture__img { transform: scale(1.045); }

/* BabyRock panel: the source portrait is tall and narrow, so it sits
   contained and centered at full panel height on a pearl and blue ground
   instead of being cropped into the wide frame. */
.venture--a .venture__panel {
  background:
    radial-gradient(80% 110% at 22% 8%, rgba(53, 71, 202, 0.34), transparent 62%),
    radial-gradient(70% 90% at 88% 100%, rgba(15, 182, 232, 0.18), transparent 60%),
    linear-gradient(160deg, #fbfbf9, #e4e8f6 62%, #ccd4f0);
  border-color: rgba(53, 71, 202, 0.22);
}
.venture--a .venture__img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(21, 21, 27, 0.24));
}

.venture__index {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(245, 245, 241, 0.85);
  mix-blend-mode: difference;
}
.venture__panel::before {
  content: attr(data-mark);
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: var(--r-s);
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.venture__body { display: grid; gap: 0.4rem; }
.venture__category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.venture__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.venture__desc { color: var(--ink-70); max-width: 46ch; }
.venture__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.45rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink-12);
}
.venture__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.venture__cta svg { transition: transform 0.3s var(--ease); }
.venture__link:hover .venture__cta { color: var(--cobalt); }
.venture__link:hover .venture__cta svg { transform: translateX(3px); }

/* ============================== CLOSING ================================== */
.closing {
  background:
    radial-gradient(90% 120% at 85% 8%, rgba(53, 71, 202, 0.55), transparent 58%),
    radial-gradient(80% 120% at 8% 100%, rgba(15, 182, 232, 0.22), transparent 60%),
    var(--ink);
  color: var(--pearl);
  padding-block: clamp(4rem, 9vw, 8rem);
  overflow: clip;
}
.closing__inner {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.closing__statement {
  font-size: clamp(1.55rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 30ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}
.closing__hint {
  color: var(--pearl-70);
  font-size: 0.94rem;
  max-width: 42ch;
}

/* =============================== FOOTER ================================== */
.site-footer {
  background: var(--ink);
  color: var(--pearl);
  border-top: 1px solid rgba(245, 245, 241, 0.12);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
}
.site-footer__top {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-footer__mark { display: block; height: 30px; width: auto; margin-bottom: 0.9rem; }
.site-footer__tagline { color: var(--pearl-70); max-width: 34ch; font-size: 0.96rem; }

.site-footer__nav ul { display: grid; gap: 0.15rem; }
/* Structural wrappers: the grid on .site-footer__top places these columns. */
.site-footer__brand { display: grid; align-content: start; }
.site-footer__contact { display: grid; align-content: start; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--pearl-70);
  font-weight: 600;
  transition: color 0.22s var(--ease-soft);
}
.site-footer__nav a:hover { color: var(--cyan); }

.site-footer__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pearl-55);
  margin-bottom: 0.6rem;
}
.site-footer__email {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--pearl);
  border-bottom: 1px solid rgba(245, 245, 241, 0.3);
  padding-bottom: 2px;
  transition: color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft);
}
.site-footer__email:hover { color: var(--cyan); border-color: var(--cyan); }

.site-footer__legal {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  max-width: var(--wide);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: clamp(1.4rem, 3vw, 2rem) var(--gutter) 0;
  border-top: 1px solid rgba(245, 245, 241, 0.12);
}
.site-footer__note { color: var(--pearl-70); font-size: 0.86rem; }
.site-footer__note--muted { color: var(--pearl-55); max-width: 70ch; }

/* ===================== PROGRESSIVE REVEAL / MOTION ======================= */
.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-enabled [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-enabled [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blob { animation: none !important; }
  .orbit__spin,
  .orbit__sweep,
  .orbit__spark,
  .ticker__track,
  .scroll-cue__fill { animation: none !important; }
  .btn:hover,
  .venture__link:hover .venture__panel,
  .venture__link:hover .venture__img,
  .btn:hover .btn__glyph { transform: none !important; }
}

/* ======================== RESPONSIVE LAYOUT ============================== */

/* Mobile-first column expansions */
.rows { gap: 0; }
.row { grid-template-columns: 3.2rem 1fr; }
.row__index { grid-column: 1; }
.row__title { grid-column: 2; }
.row__body { grid-column: 2; }

.pipeline { grid-template-columns: 1fr; }

.venture-grid { grid-template-columns: 1fr; }

/* Small phones: keep everything inside the viewport */
@media (max-width: 400px) {
  .hero__actions .btn { width: 100%; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
}

/* Narrow phones cannot hold the wordmark, the compact header action and the
   menu control on one line, and the menu has to stay reachable, so the
   redundant header contact action steps aside first. Shared by every page:
   the home copy also carries .site-header__talk, the contact and privacy
   copies point at the page they are already on. */
@media (max-width: 30rem) {
  .site-header__actions .btn--compact { display: none; }
}

/* Tablet and below: collapse the primary nav into a panel */
@media (max-width: 900px) {
  :root { --bar-h: 64px; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.1rem;
    background: var(--pearl);
    border-bottom: 1px solid var(--ink-12);
    box-shadow: var(--shadow-m);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    /* The hidden state flips only after the panel has faded out. */
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0s linear 0.28s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    /* Opening is not delayed: visibility becomes visible in the same frame,
       so the panel is usable and its first link can take focus at once. */
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0s;
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a {
    min-height: 52px;
    font-size: 1.1rem;
    color: var(--ink);
    border-bottom: 1px solid var(--ink-08);
  }
  .site-nav__list li:last-child a { border-bottom: 0; }
  .site-nav__list a::after { display: none; }

  .hero__grid { align-items: start; }
}

/* Tablet: two-column grid for pipeline and ventures */
@media (min-width: 640px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .venture-grid { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 4rem minmax(12rem, 0.9fr) 1.4fr; }
  .row__title { grid-column: 2; }
  .row__body { grid-column: 3; }
}

/* Desktop: asymmetric editorial rhythm */
@media (min-width: 901px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
  .section-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .section-head--split .lede { padding-bottom: 0.4rem; }
  .pipeline { grid-template-columns: repeat(4, 1fr); }
}

/* Wide desktop: ventures in an intentional 12-column editorial grid */
@media (min-width: 901px) {
  .venture-grid { grid-template-columns: repeat(12, 1fr); }
  .venture--a { grid-column: 1 / span 7; }
  .venture--b { grid-column: 9 / span 4; margin-top: clamp(2rem, 7vw, 7rem); }
  .venture--c { grid-column: 1 / span 5; }
  .venture--d { grid-column: 7 / span 6; margin-top: clamp(1rem, 5vw, 5rem); }
  .venture--b .venture__panel,
  .venture--c .venture__panel { aspect-ratio: 4 / 5; }
  .venture--a .venture__panel,
  .venture--d .venture__panel { aspect-ratio: 16 / 10; }

  .site-footer__top { grid-template-columns: 1.4fr 0.8fr 0.8fr; align-items: start; }
}

/* Ultra-wide breathing room */
@media (min-width: 1440px) {
  :root { --section-y: clamp(6rem, 8vw, 9rem); }
}

/* Reduced data / no motion support safety net */
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker__track { animation: none !important; }
}
