/* ==========================================================================
   Amianan Ventures - Homepage
   Visual language: Bejamas style reference (paper-gray editorial canvas,
   immersive carbon panels with blurred lime light, single lime action color).
   Type: Geist stands in for Neue Montreal (same neutral grotesk role).
   ========================================================================== */

:root {
  /* Colors */
  --paper: #f3f3f4;
  --ink: #131314;
  --white: #ffffff;
  --ash: #e0dfdf;
  --graphite: #66646d;
  --steel: #838384;
  --lime: #befc65;
  --lime-deep: #9fdc45;

  /* Type */
  --font: "Geist", "NeueMontreal", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand: "Caveat", "Segoe Print", cursive;

  /* Radii */
  --r-hero: 32px;
  --r-card: 17.6px;
  --r-pill: 9999px;
  --r-compact: 8px;

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --header-h: 72px;
  --shadow-md: rgba(19, 19, 20, 0.08) 0px 10px 15px -3px, rgba(19, 19, 20, 0.06) 0px 4px 6px -4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Z scale */
  --z-header: 50;
  --z-menu: 60;
  --z-drawer: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .final :focus-visible, .drawer :focus-visible { outline-color: var(--lime); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--lime); color: var(--ink);
  font-weight: 600; font-size: 14px; line-height: 1.43;
  padding: 8px 16px; border-radius: var(--r-pill);
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.62); }

.display-xl {
  font-size: clamp(36px, 5.4vw, 72px); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.035em; max-width: 16ch;
}
.display-l {
  font-size: clamp(32px, 4.2vw, 56px); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.025em; max-width: 18ch;
}
.lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 24px; border-radius: var(--r-pill);
  font-size: 18px; line-height: 1.4; font-weight: 500; white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn i { font-size: 18px; transition: transform .35s var(--ease-out); }
.btn:hover i.ph-arrow-up-right { transform: translate(2px, -2px); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d0ff8a; }
.btn-compact { height: 44px; padding: 0 16px; border-radius: var(--r-compact); font-size: 16px; }
.btn-outline-dark { color: var(--white); border: 1px solid rgba(243, 243, 244, 0.7); height: 56px; padding: 0 22px; font-weight: 400; }
.btn-outline-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-translucent { background: rgba(19, 19, 20, 0.5); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-translucent:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-light { border: 1px solid var(--ash); color: var(--ink); }
.btn-outline-light:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h); color: var(--white);
  transition: color .35s var(--ease-out), background-color .35s var(--ease-out), transform .45s var(--ease-out), box-shadow .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(243, 243, 244, 0.82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ash);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; transform: translateY(18px); transition: transform .45s var(--ease-out); }
.site-header.is-solid .header-inner { transform: none; }
.container.header-inner { padding-left: calc(var(--gutter) + 12px); padding-right: calc(var(--gutter) + 12px); }
.site-header.is-solid .container.header-inner { padding-left: var(--gutter); padding-right: var(--gutter); }

.wordmark { display: inline-flex; align-items: center; }
.wordmark .logo { height: 54px; width: auto; display: block; }
.wordmark .logo-dark { display: none; }
.site-header.is-solid .wordmark .logo-light { display: none; }
.site-header.is-solid .wordmark .logo-dark { display: block; }
body.menu-open .site-header .wordmark .logo-light { display: block; }
body.menu-open .site-header .wordmark .logo-dark { display: none; }
.wordmark-footer .logo { height: clamp(72px, 8vw, 104px); }
.wordmark-mark { width: 30px; height: 30px; }
.wordmark-mark rect { fill: var(--lime); }
.wordmark-mark path { fill: var(--ink); }
.wordmark-sub { font-weight: 400; opacity: 0.6; margin-left: 5px; }
.wordmark-dark .wordmark-mark rect { fill: var(--ink); }
.wordmark-dark .wordmark-mark path { fill: var(--lime); }

.primary-nav { display: flex; gap: 32px; font-size: 17px; font-weight: 400; }
.primary-nav a { position: relative; opacity: 0.86; transition: opacity .25s; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.primary-nav a:hover { opacity: 1; }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Services dropdown ---------- */
.nav-drop { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-drop-btn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; opacity: .86; transition: transform .35s var(--ease-out), opacity .25s; }
.nav-drop-btn:hover { opacity: 1; }
.nav-drop.is-open .nav-drop-btn { transform: rotate(180deg); opacity: 1; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 400px; padding: 8px;
  display: grid; gap: 2px; border-radius: var(--r-card); background: var(--white); color: var(--ink);
  border: 1px solid var(--ash); box-shadow: 0 24px 48px -16px rgba(19, 19, 20, .28);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s linear .35s;
}
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-drop.is-open .nav-drop-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s;
}
@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover .nav-drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--ease-out), visibility 0s; }
  .nav-drop:hover .nav-drop-btn { transform: rotate(180deg); opacity: 1; }
}
.primary-nav .nav-drop-panel a { opacity: 1; }
.primary-nav .nav-drop-panel a::after { display: none; }
.nav-drop-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 12px; transition: background-color .2s; }
.nav-drop-item i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--paper); font-size: 20px; transition: background-color .2s; }
.nav-drop-item span { display: grid; gap: 2px; }
.nav-drop-item strong { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.nav-drop-item small { font-size: 13px; line-height: 1.4; color: var(--graphite); }
.nav-drop-item:hover, .nav-drop-item:focus-visible { background: var(--paper); }
.nav-drop-item:hover i, .nav-drop-item:focus-visible i { background: var(--lime); }
.nav-drop-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 12px; border-top: 1px solid var(--ash); font-size: 14px; font-weight: 500; border-radius: 0 0 12px 12px; }
.nav-drop-foot:hover { background: var(--paper); }
.svc-tile[id], #work { scroll-margin-top: calc(var(--header-h) + 24px); }
.mobile-sub { display: grid; gap: 2px; padding: 8px 0 14px 2px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu nav .mobile-sub a { font-size: 17px; padding: 6px 0; border: 0; opacity: .7; letter-spacing: 0; }
.mobile-menu nav .mobile-sub a:hover { opacity: 1; }



.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-compact); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 36px; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
body.menu-open .site-header { color: var(--white); z-index: calc(var(--z-menu) + 1); }
body.menu-open .site-header::before { opacity: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 10px; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100dvh - 20px);
  border-radius: var(--r-hero); background: var(--ink); color: var(--white);
  display: flex; align-items: flex-end;
}
.gl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 35% at 78% 38%, rgba(190, 252, 101, 0.35), transparent 70%),
    radial-gradient(45% 25% at 62% 62%, rgba(80, 140, 30, 0.45), transparent 70%),
    var(--ink);
  filter: blur(2px);
}
.gl-ready .hero-fallback { opacity: 0; transition: opacity 1.2s; }
.hero-content {
  position: relative; z-index: 1; min-height: calc(100dvh - 20px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(24px, 3vw, 56px);
  align-items: end; padding-top: 104px; padding-bottom: clamp(32px, 5vh, 64px);
}
.hero-copy { padding-bottom: 52px; }
.hero-content .eyebrow { margin-bottom: 24px; }
.hero-title {
  font-size: clamp(46px, 5.3vw, 84px); font-weight: 400;
  line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line-inner { display: inline-block; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 38ch; color: rgba(255, 255, 255, 0.72); font-weight: 450; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Blueprint grid with cursor spotlight ---------- */
.bp-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bp-base, .bp-lit { position: absolute; inset: 0; }
.bp-base {
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%);
}
.bp-lit {
  background-image:
    linear-gradient(rgba(190,252,101,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,252,101,.55) 1px, transparent 1px),
    linear-gradient(rgba(190,252,101,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,252,101,.22) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  --mx: 70%; --my: 45%;
  mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx) var(--my), #000, transparent 75%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.hero-panel.is-pointing .bp-lit { opacity: 1; }
.hero-panel .gl-canvas { opacity: .62; }

/* ---------- Ideation board ---------- */
.board-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.board { position: relative; height: clamp(500px, 64vh, 620px); touch-action: pan-y; }
.board-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.board-links .link { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.6; stroke-dasharray: 4 7; animation: link-flow 1.6s linear infinite; }
.board-links .link-lit { fill: none; stroke: var(--lime); stroke-width: 2; }
.board-links .pulse { fill: var(--lime); }
.board.is-ready .board-links .link.stage { opacity: 0; }
.js .board .bnote, .js .idea-card { opacity: 0; }
@keyframes link-flow { to { stroke-dashoffset: -22; } }

.idea-card {
  position: absolute; left: 45%; top: 49%; width: min(350px, 64%); transform: translate(-50%, -50%) scale(var(--pop, 1));
  background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 18px 18px 16px; z-index: 3;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  transition: box-shadow .4s var(--ease-out);
}
.idea-card:focus-within { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 3px rgba(190,252,101,.85); }
.idea-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.idea-label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.idea-label i { font-size: 17px; }
.idea-count { font-family: var(--mono); font-size: 11px; color: var(--graphite); letter-spacing: .02em; white-space: nowrap; }
.idea-card.is-ready .idea-count { color: var(--ink); background: var(--lime); padding: 2px 8px; border-radius: var(--r-pill); }
#ideaInput {
  width: 100%; border: 0; resize: none; background: transparent; color: var(--ink);
  font: inherit; font-size: 22px; line-height: 1.22; font-weight: 500; letter-spacing: -0.015em;
  padding: 6px 0 12px; outline: none; min-height: 66px;
}
#ideaInput::placeholder { color: #8d8b93; }
#ideaInput[readonly] { cursor: default; }
.idea-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--ash); }
.idea-actions .btn-compact { height: 40px; font-size: 15px; gap: 8px; }
.idea-actions .btn-compact i { transition: transform .35s var(--ease-out); }
.idea-actions .btn-compact:hover i { transform: translateX(3px); }
.idea-card.is-mapping .btn-compact { pointer-events: none; opacity: .6; }
.idea-reset { font-size: 14px; font-weight: 500; color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; }
.idea-reset:hover { color: var(--ink); }

.bnote {
  position: absolute; left: var(--x); top: var(--y); width: clamp(132px, 11.5vw, 168px); z-index: 2;
  --dx: 0px; --dy: 0px; --tilt: 0deg; --lift: 1;
  transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) rotate(calc(var(--r) + var(--tilt))) scale(var(--lift));
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  perspective: 900px; will-change: transform;
}
.bnote:hover { --lift: 1.04; }
.bnote.is-dragging { cursor: grabbing; --lift: 1.07; z-index: 4; }
.bnote-inner { position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease-out); min-height: 112px; display: grid; }
.bnote.is-mapped .bnote-inner { transform: rotateY(180deg); }
.face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 6px; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.55);
  transition: box-shadow .3s;
}
.bnote.is-dragging .face { box-shadow: 0 30px 40px -14px rgba(0,0,0,.65); }
.face.front { background: var(--paper); color: var(--ink); }
.face.front::before { content: ""; position: absolute; top: -8px; left: 50%; width: 54px; height: 16px; margin-left: -27px; background: rgba(255,255,255,.35); transform: rotate(-3deg); backdrop-filter: blur(2px); }
.face.back { background: var(--white); color: var(--ink); transform: rotateY(180deg); border-top: 5px solid var(--lime); }
.bn-tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
.bn-tag i { color: #4f8a12; font-size: 14px; }
.face.front p { font-family: var(--hand); font-size: 24px; font-weight: 600; line-height: 1.02; }
.face.back p { font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

.bn-1 { --x: 15%; --y: 13%; --r: -5deg; }
.bn-2 { --x: 80%; --y: 11%; --r: 4deg; }
.bn-3 { --x: 88%; --y: 54%; --r: -3deg; }
.bn-4 { --x: 70%; --y: 89%; --r: 3deg; }
.bn-5 { --x: 17%; --y: 84%; --r: -2deg; }

/* user-added notes */
.bnote.user-note .face.front { background: #fbfbfb; }
.user-note p[contenteditable] { outline: none; cursor: text; min-height: 1em; user-select: text; -webkit-user-select: text; word-break: break-word; }
.js .board .bnote.user-note { opacity: 1; }
.user-note p[contenteditable]:focus { background: rgba(190,252,101,.35); border-radius: 3px; }
.note-del {
  position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 13px;
  opacity: 0; transform: scale(.7); transition: opacity .2s, transform .3s var(--ease-out); z-index: 2;
  border: 1px solid rgba(255,255,255,.2);
}
.bnote:hover .note-del, .bnote:focus-within .note-del { opacity: 1; transform: none; }

.board-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.43; color: rgba(255,255,255,.55); }
.board-hint span { display: inline-flex; align-items: center; gap: 8px; }
.board-hint .hint-touch { display: none; }
@media (hover: none) { .board-hint .hint-mouse { display: none; } .board-hint .hint-touch { display: inline-flex; } }
.board-hint i { font-size: 16px; }
.board-hint button {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.25); color: var(--white); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.board-hint button:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ==========================================================================
   Ecosystem strip
   ========================================================================== */

/* ==========================================================================
   Who we are
   ========================================================================== */
.wwa { padding: clamp(48px, 6vw, 80px) 0; }
.wwa-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.wwa-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; padding-top: 14px; border-top: 1px solid var(--ink); }
.wwa-statement { font-size: clamp(19px, 1.9vw, 27px); line-height: 1.45; font-weight: 500; letter-spacing: -0.015em; max-width: 52ch; }
.hl {
  --p: 1; color: var(--ink); padding: .08em .3em; margin: 0 -.12em; border-radius: .38em;
  background-image: linear-gradient(100deg, #d7ffa0 0%, var(--lime) 55%, #a6ec4a 100%); background-repeat: no-repeat;
  background-size: calc(var(--p) * 100%) 100%; background-position: 0 50%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ==========================================================================
   Problem
   ========================================================================== */
.problem { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--ash); }
.scrub-words .w { display: inline-block; }
.problem-intro { margin-top: 28px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 500; color: var(--graphite); max-width: 52ch; }
.problem-sub { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 28px; }
.familiar { margin-top: clamp(56px, 7vw, 96px); }

/* Sticky-note questions that flip to show the answer */
.problem-questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.q-card { position: relative; min-height: 230px; perspective: 1100px; text-align: left; display: grid; transform: rotate(var(--rot, 0deg)); transition: transform .6s var(--ease-out); }
.q-card:hover, .q-card:focus-visible, .q-card.is-flipped { transform: rotate(0deg) translateY(-4px); }
.q-inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.q-card.is-flipped .q-inner { transform: rotateY(180deg); }
.q-face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 8px; padding: 30px 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 18px 34px -18px rgba(19,19,20,.35);
}
.q-front { background: var(--white); border: 1px solid var(--ash); }
.q-tape { position: absolute; top: -2px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: rgba(224,223,223,.9); transform: rotate(-3deg); }
.q-text { font-family: var(--hand); font-size: clamp(25px, 2.1vw, 30px); font-weight: 600; line-height: 1.08; color: var(--ink); }
.q-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--graphite); }
.q-hint i { font-size: 16px; }
.q-card:hover .q-hint { color: var(--ink); }
.q-back { background: var(--ink); color: var(--white); transform: rotateY(180deg); }
.q-back::before { content: ""; position: absolute; width: 380px; height: 70px; right: -150px; top: -6px; z-index: -1; background: var(--lime); filter: blur(44px); opacity: .32; transform: rotate(-24deg); }
.q-stage { align-self: flex-start; font-size: 13px; font-weight: 600; line-height: 20px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); }
.q-how { font-size: 16px; line-height: 1.45; font-weight: 500; color: rgba(255,255,255,.88); }
.q-progress { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 15px; font-weight: 500; color: var(--graphite); }
.q-bar { display: grid; grid-template-columns: repeat(4, 28px); gap: 4px; }
.q-bar i { height: 6px; border-radius: 3px; background: var(--ash); transition: background-color .4s var(--ease-out); }
.q-bar i.on { background: var(--ink); }
.q-progress.is-done .q-bar i { background: var(--lime); }
.q-progress.is-done #qStatus { color: var(--ink); }

.problem-end { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--ash); }
.problem-close { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; max-width: 52ch; }
.q-next { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-weight: 500; white-space: nowrap; transition: background-color .3s, color .3s; }
.q-next:hover { background: var(--lime); color: var(--ink); }


/* ==========================================================================
   Approach: right-sized solutions
   ========================================================================== */
.approach { padding: clamp(64px, 8vw, 112px) 0 0; margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--ash); }
.approach-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.approach-head .display-l { max-width: 21ch; }
.approach-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; font-weight: 500; color: var(--graphite); max-width: 54ch; }

.rs-panel {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-hero);
  background: var(--ink); color: var(--white); padding: clamp(28px, 4vw, 56px);
}
.rs-light span { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.rs-light span:first-child { width: 640px; height: 90px; right: -160px; top: 40px; background: var(--lime); opacity: .28; filter: blur(52px); transform: rotate(-18deg); }
.rs-light span:last-child { width: 420px; height: 160px; right: -60px; top: 80px; background: #3f6d14; opacity: .5; filter: blur(60px); transform: rotate(-14deg); }

.rs-scale { --p: 25%; margin-bottom: clamp(32px, 4vw, 48px); }
.rs-ends { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.rs-ends span { display: inline-flex; align-items: center; gap: 8px; }
.rs-ends i { font-size: 16px; }
#rsRange {
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 0; background: transparent; cursor: pointer;
}
#rsRange::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--lime) 0 var(--p), rgba(255,255,255,.14) var(--p) 100%);
}
#rsRange::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.14); }
#rsRange::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--lime); }
#rsRange::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%;
  background: var(--lime); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--lime), 0 6px 18px rgba(190,252,101,.35);
  transition: transform .3s var(--ease-out);
}
#rsRange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--lime); }
#rsRange:active::-webkit-slider-thumb { transform: scale(1.12); }
#rsRange:focus-visible { outline: none; }
#rsRange:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--white); }
.rs-ticks { position: relative; height: 40px; margin-top: 10px; }
.rs-ticks button {
  position: absolute; top: 0; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.5); white-space: nowrap;
  padding: 6px 2px; transition: color .3s;
}
.rs-ticks button:nth-child(1) { left: 0; }
.rs-ticks button:nth-child(2) { left: 25%; transform: translateX(-50%); }
.rs-ticks button:nth-child(3) { left: 50%; transform: translateX(-50%); }
.rs-ticks button:nth-child(4) { left: 75%; transform: translateX(-50%); }
.rs-ticks button:nth-child(5) { right: 0; }
.rs-ticks button:hover { color: var(--white); }
.rs-ticks button.is-active { color: var(--lime); }

.rs-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(255,255,255,.12); }
.rs-detail { display: flex; flex-direction: column; gap: 18px; transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
.rs-detail.is-swapping { opacity: 0; transform: translateY(10px); }
.rs-detail h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; max-width: 18ch; }
.rs-detail > p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.75); font-weight: 450; max-width: 48ch; }
.rs-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-examples li { font-size: 14px; font-weight: 600; line-height: 20px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.rs-meta { margin: 6px 0 0; display: grid; grid-template-columns: auto auto 1fr; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.rs-meta dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.rs-meta dd { margin: 0; font-size: 16px; font-weight: 500; }
.rs-cost { display: flex; gap: 2px; font-family: var(--mono); font-size: 20px !important; font-weight: 500 !important; line-height: 1.2; }
.rs-cost span { color: rgba(255,255,255,.2); transition: color .4s var(--ease-out); }
.rs-cost span.on { color: var(--lime); }

.rs-quiz { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r-card); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); align-self: start; }
.rs-quiz-title { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.rs-quiz fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rs-quiz legend { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 10px; padding: 0; font-weight: 500; }
.rs-quiz label { position: relative; cursor: pointer; }
.rs-quiz input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rs-quiz label span { display: inline-block; font-size: 14px; font-weight: 500; line-height: 20px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.2); transition: background-color .25s, color .25s, border-color .25s; }
.rs-quiz label:hover span { border-color: rgba(255,255,255,.5); }
.rs-quiz input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 600; }
.rs-quiz input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.rs-result { font-size: 15px; color: rgba(255,255,255,.6); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.rs-result strong { color: var(--lime); font-weight: 600; }


/* ==========================================================================
   What is an MVP
   ========================================================================== */
.mvp { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--ash); }
.mvp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mvp-copy { display: grid; gap: 22px; }
.mvp-def { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; max-width: 30ch; }
.mvp-def strong { font-weight: 600; }
.mvp-why { color: var(--graphite); font-weight: 500; font-size: 17px; max-width: 46ch; }
.mvp-is { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--ash); }
.mvp-is li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.mvp-is i { font-size: 20px; margin-top: 1px; flex: none; }
.mvp-is li:first-child i { color: #4f8a12; }
.mvp-is li:not(:first-child) i { color: var(--steel); }

.mvp-card { background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-card); padding: clamp(20px, 2.5vw, 32px); display: grid; gap: 22px; }
.mvp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mvp-card-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.mvp-toggle { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 280px; max-width: 100%; padding: 4px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--ash); isolation: isolate; }
.mvp-toggle button { position: relative; z-index: 1; font-size: 14px; font-weight: 600; line-height: 20px; padding: 8px 16px; border-radius: var(--r-pill); color: var(--graphite); transition: color .35s; white-space: nowrap; }
.mvp-toggle button[aria-checked="true"] { color: var(--ink); }
.mvp-toggle-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--lime); transition: transform .5s var(--ease-out); }
.mvp-card.is-mvp .mvp-toggle-pill { transform: translateX(100%); }
.mvp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mvp-features li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ash);
  font-size: 15px; font-weight: 500; background: var(--white);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background-color .4s, border-color .4s;
  transition-delay: calc(var(--i, 0) * 35ms);
}
.mvp-features li i { font-size: 18px; flex: none; }
.mvp-card.is-mvp .mvp-features li:not(.core) { opacity: .28; transform: scale(.97); text-decoration: line-through; text-decoration-color: var(--steel); }
.mvp-card.is-mvp .mvp-features li.core { background: var(--ink); color: var(--white); border-color: var(--ink); }
.mvp-card.is-mvp .mvp-features li.core i { color: var(--lime); }
.mvp-meta { margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--ash); }
.mvp-meta dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); margin-bottom: 4px; }
.mvp-meta dd { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.mvp-meta .rs-cost span { color: var(--ash); }
.mvp-meta .rs-cost span.on { color: var(--ink); }
.mvp-card.is-mvp .mvp-meta .rs-cost span.on { color: #4f8a12; }
.mvp-note { font-size: 15px; color: var(--graphite); font-weight: 500; }

/* Inline term tooltip */
.term { position: relative; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: .18em; cursor: help; outline: none; }
/* The bubble is display:none until shown, so a hidden tooltip can never widen the page */
.term { --tx: -50%; }
.term::after {
  content: attr(data-tip); display: none; position: absolute; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 260px;
  transform: translate(var(--tx), 0); pointer-events: none; z-index: 20;
  padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--white); border: 1px solid rgba(255,255,255,.14);
  font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.35);
}
.term:hover::after, .term:focus-visible::after, .term.is-open::after { display: block; animation: tip-in .3s var(--ease-out) both; }
@keyframes tip-in { from { opacity: 0; transform: translate(var(--tx), 6px); } to { opacity: 1; transform: translate(var(--tx), 0); } }
.term:focus-visible { border-radius: 4px; box-shadow: 0 0 0 2px var(--lime); }

/* ==========================================================================
   The Build (pinned process)
   ========================================================================== */
.build { padding-top: clamp(72px, 10vw, 140px); background: var(--paper); border-top: 1px solid var(--ash); }
.build-intro { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.build-intro-sub { color: var(--graphite); font-weight: 500; font-size: 18px; max-width: 52ch; }

.build-pin { height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 8px) 0 24px; }
.build-grid { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: clamp(24px, 4vw, 64px); align-items: center; height: 100%; }

.build-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.stage-rail { display: flex; flex-direction: column; gap: 4px; }
.stage-rail button {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; width: 100%;
  padding: 10px 16px; border-radius: var(--r-pill); text-align: left;
  font-size: 18px; line-height: 1.4; color: var(--steel);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.stage-rail button:hover { color: var(--ink); }
.rail-num { font-family: var(--mono); font-size: 13px; }
.rail-name { font-weight: 500; }
.rail-check { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out); }
.stage-rail button.is-done { color: var(--ink); }
.stage-rail button.is-done .rail-check { opacity: 1; transform: none; }
.stage-rail button.is-active { background: var(--lime); color: var(--ink); }
.stage-rail button.is-active .rail-check { opacity: 0; }
.rail-progress { height: 2px; background: var(--ash); border-radius: 2px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.stage-texts { display: grid; }
.stage-text {
  grid-area: 1 / 1; opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.stage-text.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage-text h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 14px; max-width: 18ch; }
.stage-text p { color: var(--graphite); font-weight: 500; max-width: 40ch; }
.stage-output { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; color: var(--ink) !important; }
.stage-output span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }

.build-stage { margin: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.ab-frame {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  border-radius: var(--r-hero); background: var(--white); border: 1px solid var(--ash);
}
.build-caption { font-size: 14px; color: var(--graphite); line-height: 1.43; padding-left: 8px; }

/* Artboard: fixed 720x560 coordinate space, scaled to fit by JS */
.ab {
  position: absolute; left: 50%; top: 50%; width: 720px; height: 560px;
  transform-origin: 50% 50%; transform: translate(-50%, -50%) scale(var(--ab-scale, 1));
  font-family: var(--font); color: var(--ink);
}
.ab > * { position: absolute; }
.ab-bg { position: absolute; inset: 0; }
.ab-grid {
  inset: -200px; opacity: 0;
  background-image:
    linear-gradient(var(--ash) 1px, transparent 1px),
    linear-gradient(90deg, var(--ash) 1px, transparent 1px),
    linear-gradient(rgba(224,223,223,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,223,223,.5) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  background-position: -1px -1px;
}
.ab-glow {
  left: 380px; top: 20px; width: 360px; height: 520px; opacity: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(190,252,101,.55), rgba(190,252,101,.12) 55%, transparent);
  filter: blur(30px);
}

/* Stage 1 */
.ab-spark { left: 300px; top: 150px; width: 120px; height: 120px; display: grid; place-items: center; }
.spark-core { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink), 0 0 40px 10px rgba(190, 252, 101, .8); position: relative; z-index: 2; }
.spark-rays { position: absolute; inset: 0; animation: spark-spin 14s linear infinite; }
.spark-ring { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; animation: spark-ring 2.6s var(--ease-out) infinite; }
.spark-ring.r2 { animation-delay: 1.3s; }
@keyframes spark-ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes spark-spin { to { transform: rotate(360deg); } }

.ab-hand { font-family: var(--hand); font-weight: 600; color: var(--ink); line-height: 1.05; }
.ab-question { left: 190px; top: 286px; width: 340px; text-align: center; font-size: 34px; }
.note {
  width: 168px; padding: 14px 16px 18px; background: var(--white); border: 1px solid var(--ash);
  border-radius: 6px; box-shadow: var(--shadow-md);
}
.note::before { content: ""; position: absolute; top: -9px; left: 50%; width: 64px; height: 18px; margin-left: -32px; background: rgba(224, 223, 223, .85); transform: rotate(-3deg); }
.note-tag { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.note p { font-family: var(--hand); font-size: 25px; font-weight: 600; line-height: 1.02; }
.n1 { left: 44px; top: 48px; transform: rotate(-6deg); }
.n2 { left: 510px; top: 64px; transform: rotate(5deg); }
.n3 { left: 70px; top: 390px; transform: rotate(3deg); }
.ab-sketch { left: 520px; top: 330px; width: 120px; height: 168px; fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transform: rotate(4deg); }
.ab-sketch-label { left: 440px; top: 470px; font-size: 28px; transform: rotate(-8deg); color: var(--graphite); }

/* Stage 2 */
.card { background: var(--white); border: 1px solid var(--ash); border-radius: var(--r-card); padding: 18px 18px 16px; opacity: 0; transform-origin: 0 0; }
.card-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.card-head i { font-size: 18px; }
.brief { left: 40px; top: 48px; width: 300px; }
.brief dl { margin: 0; display: grid; gap: 12px; }
.brief dl div { padding-top: 12px; border-top: 1px solid var(--ash); }
.brief dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); }
.brief dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; line-height: 1.3; }
.scope { left: 380px; top: 48px; width: 300px; }
.scope-in { position: relative; padding: 18px 10px 6px; margin: 0 -6px 8px; }
.scope-frame { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: .015 .01; overflow: visible; }
.scope-badge { position: absolute; top: -10px; left: 12px; font-size: 12px; font-weight: 600; line-height: 20px; padding: 0 10px; border-radius: var(--r-pill); background: var(--lime); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 14.5px; font-weight: 500; }
.row + .row { border-top: 1px solid var(--ash); }
.row.later { padding-left: 4px; padding-right: 4px; }
.tag { font-style: normal; font-size: 12px; font-weight: 600; line-height: 20px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--ash); color: var(--graphite); }
.tag.must { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tag.should { background: var(--ash); color: var(--ink); }
.roadmap { left: 40px; top: 410px; width: 640px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; opacity: 0; }
.seg { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.seg span { font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); font-size: 11px; }
.seg i { display: block; height: 10px; border-radius: 6px; border: 1px solid var(--ash); background: var(--white); overflow: hidden; }
.seg-fill { display: block; height: 100%; background: var(--ash); transform-origin: left; transform: scaleX(0); }
.seg:first-child .seg-fill { background: var(--lime); }
.seg:not(:first-child) i { border-style: dashed; }

/* Stage 3 */
.connector { left: 240px; top: 250px; width: 190px; height: 116px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; overflow: visible; }
.phone { left: 440px; top: 30px; width: 240px; height: 500px; opacity: 0; }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; z-index: 2; pointer-events: none; }
.screen { position: absolute; inset: 9px; border-radius: 30px; overflow: hidden; background: transparent; }
.wf > *, .ui > * { position: absolute; }
.wf > *, .ui > * { opacity: 0; }
.wf-notch, .ui-notch { left: 76px; top: 9px; width: 70px; height: 18px; border-radius: 10px; border: 1.5px solid var(--steel); }
.ui-notch { background: var(--ink); border-color: var(--ink); }
.wf-line { height: 10px; border-radius: 5px; background: var(--ash); }
.w-head { left: 16px; top: 46px; width: 96px; }
.wf-circle { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--steel); }
.w-avatar { left: 178px; top: 38px; }
.wf-box { left: 14px; top: 80px; width: 194px; height: 140px; border-radius: 16px; border: 1.5px dashed var(--steel); overflow: hidden; }
.wf-box svg { width: 100%; height: 100%; stroke: var(--ash); stroke-width: 1.5; }
.w-label { left: 16px; top: 238px; width: 70px; height: 8px; }
.wf-row { left: 14px; width: 194px; height: 56px; border-radius: 14px; border: 1.5px solid var(--ash); }
.wf-row i { position: absolute; left: 8px; top: 8px; width: 38px; height: 38px; border-radius: 10px; background: var(--ash); }
.wf-row b { position: absolute; left: 56px; height: 8px; border-radius: 4px; background: var(--ash); }
.wf-row b:nth-of-type(1) { top: 16px; width: 90px; }
.wf-row b:nth-of-type(2) { top: 31px; width: 60px; }
.w-r1 { top: 256px; }
.w-r2 { top: 322px; }
.wf-btn { left: 14px; top: 420px; width: 194px; height: 44px; border-radius: 22px; border: 1.5px solid var(--steel); }

.ui-head { left: 16px; top: 40px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.ui-avatar { left: 178px; top: 38px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.ui-hero {
  left: 14px; top: 80px; width: 194px; height: 140px; border-radius: 16px; overflow: hidden; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; gap: 2px;
  background:
    radial-gradient(70% 30% at 70% 30%, rgba(190,252,101,.85), transparent 70%),
    radial-gradient(60% 40% at 30% 70%, rgba(110,170,40,.55), transparent 70%),
    var(--ink);
}
.ui-hero strong { font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.ui-hero small { font-size: 11.5px; opacity: .75; }
.ui-label { left: 16px; top: 234px; font-size: 12px; font-weight: 600; color: var(--graphite); }
.ui-row { left: 14px; width: 194px; height: 56px; border-radius: 14px; background: var(--paper); display: flex; align-items: center; gap: 10px; padding: 8px; }
.ui-row span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ui-row strong { font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.ui-row small { font-size: 11px; color: var(--graphite); white-space: nowrap; }
.ui-row em { font-style: normal; font-size: 13px; font-weight: 600; flex: none; }
.thumb { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.t1 { background: radial-gradient(circle at 40% 40%, #d9f7b0, #7fb84a 70%); }
.t2 { background: radial-gradient(circle at 40% 40%, #f3f3f4, #b9b9bb 75%); }
.u-r1 { top: 256px; }
.u-r2 { top: 322px; }
.ui-btn { left: 14px; top: 420px; width: 194px; height: 44px; border-radius: 22px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.toast {
  position: absolute; left: 10px; top: 34px; width: 202px; padding: 10px 12px; border-radius: 16px; opacity: 0; z-index: 3;
  background: rgba(19, 19, 20, .9); color: var(--white); display: flex; gap: 10px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1);
}
.toast i { color: var(--lime); font-size: 20px; }
.toast span { display: flex; flex-direction: column; }
.toast strong { font-size: 13px; font-weight: 600; }
.toast small { font-size: 11px; opacity: .7; }

/* Stage 4 */
.code { left: 24px; top: 56px; width: 380px; background: var(--ink); color: #e9e9ea; border-radius: var(--r-card); padding: 14px 18px 18px; opacity: 0; }
.code-tab { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.6); padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); width: 100%; }
.code pre { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.75; white-space: pre; }
.code .ln { display: block; clip-path: inset(0 100% 0 0); }
.code .k { color: var(--lime); font-weight: 400; }
.code .s { color: #f3f3f4; font-weight: 400; text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }
.chips { left: 24px; top: 360px; width: 380px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--ash); font-size: 14px; font-weight: 600; opacity: 0; box-shadow: var(--shadow-md); }
.chip i { font-size: 17px; }
.chip:first-child i { color: #4f8a12; }

/* Stage 5 */
.live { left: 36px; top: 52px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-size: 15px; font-weight: 600; opacity: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.metric {
  left: 36px; top: 116px; width: 350px; padding: 18px 18px 0; border-radius: var(--r-card); opacity: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--white);
  display: flex; flex-direction: column; overflow: hidden;
}
.metric-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.metric-value { font-size: 44px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 6px; }
.metric-value small { font-size: 13px; letter-spacing: 0; color: rgba(255,255,255,.55); margin-left: 6px; }
.metric svg { width: calc(100% + 36px); margin: 0 -18px; height: 90px; }
.metric .line { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.metric .area { fill: rgba(190,252,101,.12); }
.bubble {
  padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: var(--white); color: var(--ink);
  font-size: 15px; font-weight: 500; opacity: 0; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.b1 { left: 36px; top: 356px; }
.b2 { left: 120px; top: 420px; display: flex; flex-direction: column; gap: 8px; }
.bubble-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: var(--r-pill); background: var(--paper); color: var(--graphite); }

/* ==========================================================================
   Services accordion
   ========================================================================== */
.services { padding: clamp(96px, 12vw, 180px) 0 clamp(72px, 10vw, 140px); }
.services-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
/* ---------- Resources ---------- */
.res { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 10vw, 120px); }
.res-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 3vw, 40px); }
.res-note { color: var(--graphite); font-weight: 500; font-size: 17px; max-width: 42ch; }
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.res-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 20px; row-gap: 10px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-card); border: 1px solid var(--ash); background: var(--white); transition: border-color .4s var(--ease-out), transform .6s var(--ease-out); }
.res-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.res-card.is-hidden { display: none; }
.res-file { grid-row: 1 / span 4; width: 64px; height: 80px; border-radius: 10px; background: var(--paper); border: 1px solid var(--ash); display: grid; place-items: center; align-content: center; gap: 4px; }
.res-file i { font-size: 28px; }
.res-file span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--graphite); }
.res-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.res-meta span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); padding: 4px 10px; border-radius: var(--r-pill); background: var(--paper); }
.res-meta span + span { background: var(--lime); color: var(--ink); }
.res-card h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.res-card p { color: var(--graphite); font-weight: 500; font-size: 15px; line-height: 1.55; }
.res-dl { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; transition: background-color .3s, color .3s; }
.res-dl:hover, .res-dl:focus-visible { background: var(--lime); color: var(--ink); }
.res-dl[aria-busy="true"] { opacity: .6; pointer-events: none; }
.res-empty { color: var(--graphite); font-weight: 500; padding: 24px 0; }
.res-dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-card); background: var(--white); color: var(--ink); box-shadow: var(--shadow-md); }
.res-dialog::backdrop { background: rgba(19, 19, 20, .55); backdrop-filter: blur(4px); }
.res-dialog-form { position: relative; display: grid; gap: 14px; padding: clamp(24px, 4vw, 36px); }
.res-dialog-form h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; padding-right: 32px; }
.res-dialog-form > p { color: var(--graphite); font-weight: 500; font-size: 15px; line-height: 1.5; }
.res-dialog-kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.res-dialog-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.res-dialog-close:hover { background: var(--paper); }
.res-submit { justify-self: start; }
.res-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: var(--z-drawer); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-weight: 500; font-size: 15px; transition: opacity .3s, transform .4s var(--ease-out); }
.res-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .res-head { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .res-card { grid-template-columns: 1fr; }
  .res-file { grid-row: auto; width: 52px; height: 64px; }
}

/* ---------- Selected work (inside services) ---------- */
.work { margin-top: clamp(64px, 8vw, 112px); }
.work-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 3vw, 40px); }
.work-title { font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
.work-sub { color: var(--graphite); font-weight: 500; font-size: 17px; max-width: 52ch; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.work-card { display: grid; gap: 18px; align-content: start; padding: 14px 14px 24px; border-radius: var(--r-card); border: 1px solid var(--ash); background: var(--white); transition: border-color .4s var(--ease-out), transform .6s var(--ease-out); }
.work-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.work-frame { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--ash); background: var(--paper); }
.work-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--ash); background: var(--white); }
.work-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--ash); }
.work-url { margin-left: 10px; flex: 1; max-width: 240px; height: 20px; border-radius: var(--r-pill); background: var(--paper); font-family: var(--mono); font-size: 11px; color: var(--graphite); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.work-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease-out); }
.work-card:hover .work-shot img { transform: scale(1.035); }
.work-body { display: grid; gap: 10px; padding: 0 10px; }
.work-kicker { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); }
.work-body h4 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.work-body p { color: var(--graphite); font-weight: 500; font-size: 16px; line-height: 1.55; max-width: 54ch; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.work-tags li { font-size: 13px; font-weight: 600; line-height: 20px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--ash); }
.work-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: 15px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.work-link i { transition: transform .35s var(--ease-out); }
.work-link:hover i { transform: translate(2px, -2px); }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }

/* Statement + reasons (inside the right-sized block) */
.why-merge { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.why-statement { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; padding-top: 24px; border-top: 1px solid var(--ink); }
.why-quote { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.22; font-weight: 500; letter-spacing: -0.025em; }
.why-points { position: relative; isolation: isolate; --sx: 50%; --sy: 50%; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ash); border-radius: var(--r-card); overflow: hidden; }
.why-points::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out); background: radial-gradient(circle 280px at var(--sx) var(--sy), rgba(190,252,101,.32), rgba(190,252,101,.08) 45%, transparent 70%); }
.why-points:hover::before { opacity: 1; }
.why-point { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.why-point:nth-child(odd) { border-right: 1px solid var(--ash); }
.why-point i { font-size: 28px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; margin-bottom: 16px; transition: background-color .4s, border-color .4s, transform .6s var(--ease-out); }
.why-point:hover i { background: var(--lime); border-color: var(--lime); transform: rotate(-12deg) scale(1.06); }
.why-point h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; max-width: 20ch; }
.why-point p { color: var(--graphite); font-weight: 500; }
.d-label { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin-bottom: 14px; }



/* ---------- Services bento (audience offerings) ---------- */
.svc-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.svc-tile {
  position: relative; overflow: hidden; isolation: isolate; grid-column: span 2; min-height: 460px;
  display: flex; flex-direction: column; gap: 20px; padding: 24px 28px 28px;
  border-radius: var(--r-card); border: 1px solid var(--ash); background: var(--white);
  --gx: 50%; --gy: 30%;
  transition: border-color .4s var(--ease-out), transform .6s var(--ease-out);
}
.svc-startups, .svc-research { grid-column: span 3; }
.svc-tbi { grid-column: span 4; }
.svc-tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.svc-startups { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc-msme { background: var(--paper); }
.svc-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out);
  background: radial-gradient(circle 260px at var(--gx) var(--gy), rgba(190,252,101,.28), transparent 70%); }
.svc-tile:hover .svc-glow { opacity: 1; }
.svc-startups .svc-glow { background: radial-gradient(circle 320px at var(--gx) var(--gy), rgba(190,252,101,.22), transparent 70%); }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-num { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.svc-startups .svc-num { color: rgba(255,255,255,.5); }
.svc-visual { flex: 1; min-height: 150px; position: relative; display: grid; place-items: center; }
.svc-body { display: grid; gap: 12px; }
.svc-body h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.svc-body p { color: var(--graphite); font-weight: 500; font-size: 16px; line-height: 1.55; max-width: 56ch; }
.svc-startups .svc-body p { color: rgba(255,255,255,.72); }
.svc-for { display: grid; gap: 8px; padding: 12px 14px 14px; border-radius: 12px; background: var(--white); border: 1px dashed var(--steel); margin-top: 2px; }
.svc-for > span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); }
.svc-for ul { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-for li { font-size: 13.5px; font-weight: 600; line-height: 20px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-tags li { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 11px; border-radius: var(--r-pill); border: 1px solid var(--ash); color: var(--graphite); transition: background-color .4s, border-color .4s, color .4s; }
.svc-startups .svc-tags li { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.7); }
.svc-tile:is(:hover, .is-live) .svc-tags li { border-color: var(--ink); color: var(--ink); }
.svc-startups:is(:hover, .is-live) .svc-tags li { border-color: var(--lime); color: var(--lime); }
.svc-cta { justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--ash); font-size: 15px; font-weight: 600; background: var(--white); color: var(--ink); transition: background-color .3s, border-color .3s, color .3s; }
.svc-cta i { transition: transform .35s var(--ease-out); }
.svc-cta:hover { background: var(--lime); border-color: var(--lime); }
.svc-cta:hover i { transform: translate(2px, -2px); }
.svc-startups .svc-cta { background: var(--lime); border-color: var(--lime); }
.svc-startups .svc-cta:hover { background: #d0ff8a; }

/* Startups: concept to first version */
.v-launch { position: relative; width: min(100%, 520px); height: 130px; }
.v-track { position: absolute; left: 6%; right: 6%; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.v-fill { position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(.18); transition: transform 1.1s var(--ease-out); }
.v-node { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid rgba(255,255,255,.3); transition: background-color .4s, border-color .4s; }
.v-node b { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); white-space: nowrap; }
.v-n1 b { left: -4px; transform: none; }
.v-n3 b { left: auto; right: -4px; transform: none; }
.v-n1 { left: 6%; border-color: var(--lime); background: var(--lime); }
.v-n2 { left: 50%; transition-delay: .35s; }
.v-n3 { left: 94%; transition-delay: .7s; }
.v-rocket { position: absolute; left: 6%; top: 50%; transform: translate(-50%, -150%); font-size: 26px; color: var(--lime); transition: left 1.1s var(--ease-out); }
.svc-startups:is(:hover, .is-live) .v-fill { transform: scaleX(1); }
.svc-startups:is(:hover, .is-live) .v-n2, .svc-startups:is(:hover, .is-live) .v-n3 { background: var(--lime); border-color: var(--lime); }
.svc-startups:is(:hover, .is-live) .v-rocket { left: 94%; }

/* Students & researchers: thesis to app */
.v-research { display: flex; align-items: center; gap: 14px; }
.v-paper, .v-app { display: grid; gap: 7px; align-content: start; border-radius: 10px; border: 1px solid var(--ash); background: var(--white); box-shadow: 0 14px 26px -16px rgba(19,19,20,.35); transition: transform .7s var(--ease-out), opacity .5s; }
.v-paper { width: 92px; height: 118px; padding: 12px; transform: rotate(-5deg); }
.v-paper b { font-family: var(--hand); font-size: 18px; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.v-paper i, .v-app i { display: block; height: 5px; border-radius: 3px; background: var(--ash); }
.v-short { width: 60%; }
.v-arrow { font-size: 20px; color: var(--steel); transition: transform .6s var(--ease-out), color .4s; }
.v-app { width: 70px; height: 124px; padding: 14px 8px; border: 2px solid var(--ink); border-radius: 16px; opacity: .35; transform: translateX(-8px) scale(.94); }
.v-app .v-app-img { height: 34px; border-radius: 6px; }
.v-app .v-app-btn { height: 12px; border-radius: 6px; margin-top: 6px; }
.svc-research:is(:hover, .is-live) .v-paper { transform: rotate(-2deg) translateX(-6px); }
.svc-research:is(:hover, .is-live) .v-arrow { transform: translateX(4px); color: var(--ink); }
.svc-research:is(:hover, .is-live) .v-app { opacity: 1; transform: none; }
.svc-research:is(:hover, .is-live) .v-app-img { background: linear-gradient(135deg, #2f3a2a, #6d9a3a); }
.svc-research:is(:hover, .is-live) .v-app-btn { background: var(--lime); }

/* MSMEs: spreadsheet to dashboard */
.v-biz { position: relative; width: 200px; height: 130px; }
.v-sheet { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--ash); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.v-sheet i { display: block; border-radius: 3px; background: var(--paper); }
.v-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 10px; background: var(--ink); opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.v-bars i { display: block; width: 18px; height: var(--h); border-radius: 4px 4px 0 0; background: rgba(255,255,255,.25); transform-origin: bottom; transform: scaleY(.2); transition: transform .8s var(--ease-out); }
.v-bars i:last-child { background: var(--lime); }
.v-bars i:nth-child(2) { transition-delay: .06s; } .v-bars i:nth-child(3) { transition-delay: .12s; } .v-bars i:nth-child(4) { transition-delay: .18s; } .v-bars i:nth-child(5) { transition-delay: .24s; }
.svc-msme:is(:hover, .is-live) .v-sheet { opacity: 0; transform: scale(.94) translateY(-6px); }
.svc-msme:is(:hover, .is-live) .v-bars { opacity: 1; transform: none; }
.svc-msme:is(:hover, .is-live) .v-bars i { transform: none; }

/* TBIs: one hub supporting many teams */
.v-hub { position: relative; width: min(100%, 360px); aspect-ratio: 320 / 180; }
.v-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-hub path { fill: none; stroke: var(--ash); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.v-hub path { transition: stroke .5s; }
.v-team { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--ash); font-size: 20px; transition: background-color .4s, border-color .4s, transform .6s var(--ease-out); }
.v-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 28px; box-shadow: 0 0 0 8px rgba(19,19,20,.06); transition: box-shadow .6s var(--ease-out); }
.svc-tbi:is(:hover, .is-live) .v-hub path { stroke: var(--ink); }
.svc-tbi:is(:hover, .is-live) .v-team { background: var(--lime); border-color: var(--lime); transform: translate(-50%, -50%) scale(1.08); }
.svc-tbi:is(:hover, .is-live) .v-center { box-shadow: 0 0 0 14px rgba(190,252,101,.35); }

@media (max-width: 1080px) {
  .svc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-tile, .svc-startups, .svc-tbi { grid-column: span 1; }
  .svc-startups, .svc-tbi { grid-column: span 2; }
  .svc-tile { min-height: 0; }
}
@media (max-width: 600px) {
  .svc-bento { grid-template-columns: 1fr; }
  .svc-tile, .svc-startups, .svc-tbi { grid-column: span 1; }
  .svc-tile { padding: 22px 20px 24px; }
  .v-node b { font-size: 9.5px; }
}

/* ==========================================================================
   Insights preview
   ========================================================================== */
.insights { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--ash); }
.insights-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.insights-sub { color: var(--graphite); font-weight: 500; font-size: 18px; max-width: 52ch; }
.insights-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.ins-card {
  position: relative; overflow: hidden; isolation: isolate; min-height: 380px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-card); border: 1px solid var(--ash); background: var(--paper);
  transition: background-color .45s var(--ease-out), border-color .45s, transform .6s var(--ease-out);
}
.ins-card:hover { background: var(--white); border-color: var(--ink); transform: translateY(-4px); }
.ins-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--graphite); font-weight: 500; }
.ins-tag { font-size: 13px; font-weight: 600; line-height: 20px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); border: 1px solid var(--ash); }
.ins-body { display: grid; gap: 14px; }
.ins-title { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.ins-excerpt { color: var(--graphite); font-weight: 500; font-size: 15.5px; line-height: 1.5; }
.ins-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; padding-top: 18px; border-top: 1px solid var(--ash); }
.ins-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; font-size: 17px; transition: background-color .35s, border-color .35s, transform .5s var(--ease-out); }
.ins-card:hover .ins-arrow { background: var(--lime); border-color: var(--lime); transform: rotate(45deg); }

.ins-feature { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ins-feature:hover { background: var(--ink); border-color: var(--ink); }
.ins-feature .ins-meta { color: rgba(255,255,255,.6); }
.ins-feature .ins-tag { background: var(--lime); border-color: var(--lime); }
.ins-feature .ins-title { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; }
.ins-feature .ins-excerpt { color: rgba(255,255,255,.72); }
.ins-feature .ins-foot { border-color: rgba(255,255,255,.14); }
.ins-feature .ins-arrow { border-color: rgba(255,255,255,.25); }
.ins-light span { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; transition: transform 1.2s var(--ease-out); }
.ins-light span:first-child { width: 520px; height: 70px; right: -180px; top: 30px; background: var(--lime); opacity: .3; filter: blur(46px); transform: rotate(-20deg); }
.ins-light span:last-child { width: 360px; height: 130px; right: -120px; top: 60px; background: #3f6d14; opacity: .5; filter: blur(56px); transform: rotate(-16deg); }
.ins-feature:hover .ins-light span { transform: rotate(-20deg) translateX(-60px); }

.ins-news { margin-top: clamp(40px, 5vw, 64px); }
.ins-news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.ins-news-head h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.ins-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ins-all i { transition: transform .35s var(--ease-out); }
.ins-all:hover i { transform: translateX(4px); }
.ins-news li a {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: 22px 4px; border-bottom: 1px solid var(--ash); transition: padding .5s var(--ease-out), background-color .4s;
}
.ins-news-meta { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); line-height: 1.6; }
.ins-news-title { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.ins-news li a > i { justify-self: end; font-size: 18px; opacity: .35; transition: opacity .3s, transform .45s var(--ease-out); }
.ins-news li a:hover { padding-left: 16px; background: var(--white); }
.ins-news li a:hover > i { opacity: 1; transform: translate(2px, -2px); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final { padding: 10px; }
.final-panel {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-hero);
  background: var(--ink); color: var(--white); min-height: 640px;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: clamp(32px, 6vw, 96px);
}
.final-content { max-width: 620px; display: grid; gap: 24px; }
.final-title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 400; line-height: 1.06; letter-spacing: -0.04em; }
.final-content > p { color: rgba(255,255,255,.72); font-size: 18px; font-weight: 450; max-width: 48ch; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(64px, 8vw, 112px) 0 28px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--ash); }
.footer-brand p { margin-top: 18px; color: var(--graphite); font-weight: 500; max-width: 36ch; }
.footer-col h4 { font-size: 20px; line-height: 1.6; font-weight: 500; margin-bottom: 12px; }
.footer-col li { font-size: 15px; line-height: 1.9; color: var(--graphite); }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; font-size: 18px; color: var(--ink); transition: background-color .3s, border-color .3s; }
.footer-social a:hover { background: var(--lime); border-color: var(--lime); }
.footer-giant { font-size: clamp(40px, 11.2vw, 182px); font-weight: 500; letter-spacing: -0.06em; line-height: .82; padding: 40px 0 24px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--graphite); padding-top: 20px; border-top: 1px solid var(--ash); }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Inquiry drawer
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); pointer-events: none; visibility: hidden; transition: visibility 0s .6s; }
.drawer.is-open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(19,19,20,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease-out); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(560px, calc(100% - 20px));
  background: var(--paper); border-radius: 24px; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(calc(100% + 20px)); transition: transform .6s var(--ease-out);
  padding: 56px clamp(24px, 4vw, 44px) 32px;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; font-size: 18px; transition: background-color .3s; }
.drawer-close:hover { background: var(--white); }
.drawer h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; max-width: 14ch; }
.drawer-sub { color: var(--graphite); font-weight: 500; margin: 12px 0 32px; }
.drawer form { display: grid; gap: 22px; }
.stage-pills { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-pills legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.stage-pills label { position: relative; cursor: pointer; }
.stage-pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.stage-pills span { display: inline-block; font-size: 14px; font-weight: 500; line-height: 20px; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--ash); background: var(--white); transition: background-color .25s, border-color .25s; }
.stage-pills input:checked + span { background: var(--lime); border-color: var(--lime); font-weight: 600; }
.stage-pills input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--graphite); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #cfcece; border-radius: 12px; padding: 14px 16px; resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(190,252,101,.7); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.field-help { font-size: 14px; color: var(--graphite); }
.field-error { font-size: 14px; color: #b3261e; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.drawer-success { display: grid; gap: 16px; justify-items: start; padding-top: 24px; }
.drawer-success > i { font-size: 56px; color: #4f8a12; }
.drawer-success p { color: var(--graphite); font-weight: 500; }
.drawer-success a { color: var(--ink); text-decoration: underline; }

/* ==========================================================================
   Reveal defaults (JS adds motion; content visible without JS)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js .hero-reveal { opacity: 0; transform: translateY(20px); }
.js .hero-title .line-inner { transform: translateY(105%); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-compact { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .hero-content { grid-template-columns: 1fr; align-items: start; padding-top: 128px; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero-title { font-size: clamp(46px, 9vw, 84px); }
  .board { height: 600px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .wordmark .logo { height: 46px; }
  .header-inner { transform: translateY(12px); }
  .container.header-inner { padding-left: calc(var(--gutter) + 8px); padding-right: calc(var(--gutter) + 8px); }
    .problem-split { grid-template-columns: 1fr; }

  .build-pin { padding: calc(var(--header-h) + 8px) 0 14px; }
  .build-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
  .build-copy { gap: 14px; }
  .stage-rail { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .stage-rail::-webkit-scrollbar { display: none; }
  .stage-rail button { grid-template-columns: auto auto; gap: 6px; padding: 8px 14px; font-size: 15px; white-space: nowrap; }
  .rail-check { display: none; }
  .rail-progress { display: none; }
  .stage-text h3 { font-size: 22px; margin-bottom: 6px; }
  .stage-text p { font-size: 15px; }
  .stage-text p:not(.stage-output) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .stage-output { margin-top: 8px; flex-direction: row; gap: 8px; align-items: baseline; font-size: 14px; }
  .ab-frame { border-radius: 24px; }


  .rs-body { grid-template-columns: 1fr; }
  .problem-questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wwa-grid { grid-template-columns: 1fr; gap: 16px; }
  .insights-grid { grid-template-columns: 1fr; }
  .ins-card { min-height: 0; }
  .ins-news li a { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 16px; padding: 18px 0; }
  .ins-news-meta { grid-column: 1 / -1; }
  .ins-news-meta br { display: none; }
  .ins-news li a:hover { padding-left: 0; background: transparent; }
  .mvp-grid { grid-template-columns: 1fr; }
  .mvp-toggle { width: 100%; }
  .mvp-features { gap: 6px; }
  .mvp-features li { padding: 9px 10px; font-size: 13px; gap: 8px; line-height: 1.25; }
  .mvp-features li i { font-size: 16px; }
  .mvp-meta dd { font-size: 17px; }
  /* On phones, anchor the bubble to the paragraph's left edge so it always fits on screen */
  .term { position: static; --tx: 0; }
  .eyebrow, .problem-close, .build-intro-sub { position: relative; }
  .term::after { left: 0; max-width: min(260px, 100%); }
  .why-merge { grid-template-columns: 1fr; }
  .why-statement { position: static; }
  .rs-ticks { height: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .rs-ticks button { position: static; transform: none !important; white-space: normal; font-size: 12.5px; line-height: 1.25; text-align: center; }
  .rs-ticks button:first-child { text-align: left; }
  .rs-ticks button:last-child { text-align: right; }
  .rs-meta { grid-template-columns: 1fr 1fr; }
  .rs-fit { grid-column: 1 / -1; }
  .final-panel { min-height: 560px; }
}

@media (max-width: 600px) {
  .problem-questions { grid-template-columns: 1fr; }
  .q-card { min-height: 180px; }
  .hero, .final { padding: 6px; }
  .hero-panel, .final-panel { border-radius: 24px; }
  .hero-panel { min-height: calc(100dvh - 12px); }
  .hero-content { padding-top: 112px; gap: 32px; }
  .board { height: 700px; }
  .idea-card { left: 50%; top: 41%; width: 94%; }
  #ideaInput { font-size: 20px; }
  .bnote { width: 140px; }
  .face.front p { font-size: 22px; }
  .bn-1 { --x: 24%; --y: 9%; }
  .bn-2 { --x: 76%; --y: 11%; }
  .bn-3 { --x: 25%; --y: 68%; }
  .bn-4 { --x: 75%; --y: 72%; }
  .bn-5 { --x: 42%; --y: 91%; }
  .board-hint { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn, .final-ctas .btn { flex: 1 1 100%; }
  .why-points { grid-template-columns: 1fr; }
  .why-point:nth-child(odd) { border-right: 0; }
  .why-point:not(:last-child) { border-bottom: 1px solid var(--ash); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .build-pin { height: auto; min-height: 100dvh; }
}

/* ==========================================================================
   Subpages: shared hero
   ========================================================================== */
.page-hero-panel { min-height: min(78dvh, 760px); }
.page-hero-content { position: relative; z-index: 1; padding-top: 150px; padding-bottom: clamp(40px, 7vh, 80px); }
.page-title { font-size: clamp(42px, 6vw, 92px); max-width: 16ch; }
.page-sub { max-width: 52ch; margin-bottom: 0; }
.page-hero-panel .bp-base { mask-image: linear-gradient(90deg, rgba(0,0,0,.2), #000 70%); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.2), #000 70%); }
.primary-nav a[aria-current="page"] { opacity: 1; }
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu nav a[aria-current="page"] { color: var(--lime); }

/* ---------- About page ---------- */
.about-intro { padding: clamp(64px, 8vw, 112px) 0; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.about-label { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; padding-top: 14px; border-top: 1px solid var(--ink); }
.about-big { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.32; font-weight: 500; letter-spacing: -0.02em; max-width: 40ch; }
/* About headings: two clean lines instead of three short ones */
.page-about .display-l { max-width: 24ch; }
.page-about .brand-head .display-l { max-width: none; }
.page-about .page-title { font-size: clamp(36px, 4.7vw, 72px); max-width: none; }
.inst { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--ash); }
.mv { padding-bottom: clamp(72px, 10vw, 140px); }
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mv-card { position: relative; overflow: hidden; isolation: isolate; min-height: 320px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-card); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mv-card p { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.mv-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.mv-mission { background: var(--ink); color: var(--white); }
.mv-mission .mv-label { color: var(--lime); }
.mv-light span { position: absolute; width: 520px; height: 80px; right: -160px; top: 30px; background: var(--lime); opacity: .3; filter: blur(48px); transform: rotate(-20deg); z-index: -1; }
.mv-vision { background: var(--white); border: 1px solid var(--ash); }
.mv-vision .mv-label { color: var(--graphite); }
.inst-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.inst-sub { color: var(--graphite); font-weight: 500; font-size: 18px; max-width: 56ch; }
.inst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.inst-item { padding: 28px 28px 32px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--ash); }
.inst-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--ash); }
.inst-item i { font-size: 28px; }
.inst-item h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.inst-item p { color: var(--graphite); font-weight: 500; max-width: 40ch; }

/* ---------- About: the meaning behind our logo ---------- */
.brand { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--ash); }
.brand-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.brand-tag { font-size: clamp(22px, 2.2vw, 30px); font-style: italic; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; max-width: 44ch; }
.brand-dot { color: #97E50A; font-style: normal; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.brand-logo {
  position: relative; isolation: isolate; overflow: hidden; margin: 0; display: grid; justify-items: center; gap: 32px;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 56px) clamp(24px, 3vw, 36px);
  border-radius: var(--r-card); border: 1px solid var(--ash); background: var(--white); align-content: center;
}
.brand-glow { position: absolute; left: 50%; top: 4%; width: 60%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(151,229,10,.35), transparent 70%); opacity: 0; transition: opacity .6s var(--ease-out); }
.logo-svg { width: 100%; max-width: 540px; height: auto; overflow: visible; }
.logo-svg path { transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
/* dim everything except the part being explained */
.brand-logo[data-focus="sun"] :is(.lg-word, .lg-ventures, .lg-spark),
.brand-logo[data-focus="spark"] :is(.lg-word, .lg-ventures, .lg-ray),
.brand-logo[data-focus="name"] :is(.lg-ray, .lg-spark) { opacity: .12; }
.brand-logo[data-focus="name"] .lg-ventures { opacity: .3; }
.brand-logo[data-focus="sun"] .lg-ray { transform: translateY(-5px) scale(1.06); }
.brand-logo[data-focus="sun"] .brand-glow, .brand-logo[data-focus="spark"] .brand-glow { opacity: 1; }
.brand-logo[data-focus="spark"] .lg-spark { animation: lg-pulse 1.4s ease-in-out infinite; }
@keyframes lg-pulse { 0%, 100% { transform: scale(1.25); } 50% { transform: scale(1.6); } }
.brand-north { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.brand-north i { color: #97E50A; font-size: 15px; }
.brand-logo[data-focus="name"] .brand-north { opacity: 1; transform: none; }
.brand-swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.brand-swatches span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--ash); font-size: 13px; font-weight: 600; opacity: .55; transition: opacity .4s, transform .5s var(--ease-out), border-color .4s; }
.brand-swatches i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); }
.brand-logo[data-focus="green"] .brand-swatches span { opacity: 1; transform: translateY(-4px); border-color: var(--ink); }
.brand-points { display: grid; gap: 8px; }
.brand-point {
  width: 100%; text-align: left; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: 14px; border: 1px solid var(--ash); background: transparent;
  transition: background-color .35s var(--ease-out), border-color .35s;
}
.brand-point:hover, .brand-point[aria-pressed="true"] { background: var(--white); border-color: var(--ink); }
.bp-num { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; font-size: 14px; font-weight: 600; transition: background-color .35s, border-color .35s; }
.brand-point[aria-pressed="true"] .bp-num { background: #97E50A; border-color: #97E50A; }
.bp-text strong { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.bp-text > span { display: block; color: var(--graphite); font-weight: 500; font-size: 15.5px; line-height: 1.5; }
@media (max-width: 900px) { .brand-grid { grid-template-columns: 1fr; } }

/* ---------- Insights page ---------- */
.ilist { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 10vw, 120px); }
.ifilters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ifilter { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--ash); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.ifilter span { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.ifilter:hover { border-color: var(--ink); }
.ifilter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ifilter.is-active span { color: var(--lime); }
.ifilter-status { font-size: 14px; color: var(--graphite); margin-bottom: 24px; }
.igrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.igrid .ins-card { min-height: 320px; }
.igrid .ins-feature { grid-column: span 2; }
.igrid .icard.is-hidden { display: none; }
.igrid.is-filtered .ins-feature { grid-column: auto; }
.icard.is-entering { animation: icard-in .6s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes icard-in { from { opacity: 0; transform: translateY(14px); } }
.iempty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 72px 24px; border: 1px dashed var(--steel); border-radius: var(--r-card); }
.iempty[hidden] { display: none; }
.iempty i { font-size: 40px; }
.iempty h3 { font-size: 24px; font-weight: 500; }
.iempty p { color: var(--graphite); font-weight: 500; max-width: 44ch; }
.icontribute { padding-bottom: clamp(72px, 10vw, 120px); }
.icontribute-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.icontribute-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-card); background: var(--ink); color: var(--white); display: grid; gap: 14px; justify-items: start; }
.icontribute-card i { font-size: 30px; color: var(--lime); }
.icontribute-card h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.02em; }
.icontribute-card p { color: rgba(255,255,255,.72); font-weight: 500; max-width: 40ch; margin-bottom: 8px; }
.icontribute-alt { background: var(--white); color: var(--ink); border: 1px solid var(--ash); }
.icontribute-alt i { color: var(--ink); }
.icontribute-alt p { color: var(--graphite); }

/* ---------- Contact page ---------- */
.contact { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.cform { display: grid; gap: 22px; padding: clamp(24px, 3.5vw, 48px); border-radius: var(--r-card); background: var(--white); border: 1px solid var(--ash); }
.cform-title { font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.025em; }
.cform-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cform .stage-pills span { background: var(--paper); }
.field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #cfcece; border-radius: 12px; padding: 14px 44px 14px 16px;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23131314' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(190,252,101,.7); }
.cform input::placeholder { color: #8d8b93; }
.cform-submit { justify-self: start; }
.cform-success { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--paper); }
.cform-success[hidden] { display: none; }
.cform-success i { font-size: 28px; color: #4f8a12; flex: none; }
.cform-success p { color: var(--graphite); font-weight: 500; }
.cform-success a { color: var(--ink); text-decoration: underline; }
.contact-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.cnext { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--ink); color: var(--white); display: grid; gap: 20px; }
.cnext h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.cnext ol { display: grid; gap: 18px; }
.cnext li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
.cnext li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 600; }
.cnext strong { font-weight: 500; font-size: 17px; }
.cnext p { color: rgba(255,255,255,.68); font-size: 15px; font-weight: 450; margin-top: 2px; }
.cinfo { padding: clamp(20px, 2.5vw, 28px); border-radius: var(--r-card); border: 1px solid var(--ash); display: grid; gap: 16px; }
.cinfo span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); }
.cinfo p { font-weight: 500; margin-top: 2px; }
.cinfo a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .page-hero-content { padding-top: 120px; }
  .about-intro-grid, .mv-grid { grid-template-columns: 1fr; }
  .inst-grid { grid-template-columns: 1fr; }
  .inst-item, .inst-item:nth-child(even) { padding-left: 0; border-left: 0; padding-right: 0; }
  .igrid { grid-template-columns: 1fr; }
  .igrid .ins-feature { grid-column: auto; }
  .igrid .ins-card { min-height: 0; }
  .ifilters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 12px; padding: 0 var(--gutter); }
  .ifilters::-webkit-scrollbar { display: none; }
  .icontribute-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .cform-row { grid-template-columns: 1fr; }
}
