/* ============================================================
   STARTUP20 — Design System
   Emil-restraint × S20 brand. One accent, used with discipline.
   ============================================================ */

:root {
  /* palette */
  --bg:        #1b2699;   /* cobalt blue (brand / deck cover) */
  --bg-2:      #151e78;   /* deeper cobalt — panels & cards */
  --cobalt:    #1f2bc9;   /* brand surface blue */
  --cobalt-2:  #182296;   /* deeper cobalt */
  --cream:     #f3eedd;   /* warm neutral text */
  --cream-dim: #b9b6ab;   /* muted cream */
  --cyan:      #5fd6ec;   /* the single sharp accent (startup20) */
  --mint:      #3ed68b;   /* live status only (S20 cube) */
  --line:      rgba(243, 238, 221, 0.10);
  --line-2:    rgba(243, 238, 221, 0.16);

  /* type */
  --font-display: "Inter", system-ui, sans-serif;  /* headlines: Inter ExtraBold (single-font site) */
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "Inter", system-ui, sans-serif;  /* labels: tracked Inter caps (no monospace) */

  /* motion */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* layout */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--cyan); color: var(--bg); }

/* ---------- global background: grid + drifting glow ---------- */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bgfx::before {
  content: "";
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(125% 95% at 50% -5%, #000 0%, rgba(0,0,0,0.5) 52%, transparent 100%);
  mask-image: radial-gradient(125% 95% at 50% -5%, #000 0%, rgba(0,0,0,0.5) 52%, transparent 100%);
  opacity: 0.7;
}
.bgfx::after {
  content: "";
  position: absolute;
  top: -24%; left: 50%;
  width: min(1120px, 130vw); height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(95,214,236,0.16), rgba(31,43,201,0.07) 55%, transparent 72%);
  filter: blur(44px);
  animation: bgdrift 18s var(--ease-in-out) infinite alternate;
}
@keyframes bgdrift {
  from { transform: translateX(-56%) translateY(-14px); }
  to   { transform: translateX(-44%) translateY(48px); }
}
/* keep content above the background layer */
main, .footer { position: relative; z-index: 1; }

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

em { font-style: italic; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.032em;
  margin-top: 18px;
}

.section-sub {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--cream-dim);
  font-size: clamp(15px, 1.4vw, 17px);
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  display: inline-block;
}
.dot--live {
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(62, 214, 139, 0.5);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(62, 214, 139, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(62, 214, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 214, 139, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out),
              background-color 200ms var(--ease-out),
              border-color 200ms var(--ease-out),
              color 200ms var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn svg { transition: transform 200ms var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--solid {
  background: var(--cream);
  color: var(--bg);
}
.btn--solid:hover { background: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(243,238,221,0.04); }

.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease-out),
              border-color 300ms var(--ease-out),
              backdrop-filter 300ms var(--ease-out);
}
.nav[data-scrolled="true"] {
  background: rgba(17, 23, 100, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__brand { display: inline-flex; align-items: center; color: var(--cream); }
.nav__logo {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity 200ms var(--ease-out);
}
.nav__brand:active .nav__logo { opacity: 0.7; }

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  color: var(--cream-dim);
}
.nav__links a {
  position: relative;
  transition: color 200ms var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease-out);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---- mobile burger + full-screen menu ---- */
.nav__burger {
  display: none; /* shown ≤940px via responsive block */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 110; /* above the overlay, within the fixed header */
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 240ms var(--ease-out), opacity 160ms var(--ease-out);
}
body.nav-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--pad) 48px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(31, 43, 201, 0.5), transparent 60%),
    var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
body.nav-open .navmenu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s;
}
.navmenu__links { display: flex; flex-direction: column; gap: 2px; }
.navmenu__links a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 9vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color 160ms var(--ease-out);
}
.navmenu__links a:not(.btn):active { color: var(--cyan); }
.navmenu__cta { margin-top: 30px; align-self: flex-start; }
body.nav-open { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(140px, 20vh, 210px) var(--pad) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero__inner { position: relative; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-top: 26px;
}
.hero__title .line { display: block; }
.hero__title em { color: var(--cyan); font-style: italic; }

.hero__lede {
  max-width: 60ch;
  margin-top: 30px;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--cream-dim);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ticker */
.hero__ticker { margin-top: clamp(56px, 9vh, 96px); }
.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.ticker__track .sep { color: var(--cyan); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  max-width: var(--maxw);
  margin: clamp(70px, 11vh, 120px) auto 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 36px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ============================================================
   POSITIONING
   ============================================================ */
.positioning {
  max-width: var(--maxw);
  margin: clamp(90px, 16vh, 180px) auto;
  padding: 0 var(--pad);
}
.positioning__statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-top: 26px;
}
.positioning__statement em { color: var(--cyan); }

/* ============================================================
   SHARED SECTION SPACING
   ============================================================ */
.model, .deal, .ecosystem, .ventures {
  max-width: var(--maxw);
  margin: clamp(90px, 15vh, 170px) auto;
  padding: 0 var(--pad);
}

/* ============================================================
   MODEL / STEPS
   ============================================================ */
.steps {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--bg);
  padding: 32px 26px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color 260ms var(--ease-out);
}
.step:hover { background: var(--bg-2); }
.step__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.step__body { color: var(--cream-dim); font-size: 14.5px; }

/* ============================================================
   DEAL
   ============================================================ */
.deal__bars {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.dealbar { display: flex; flex-direction: column; gap: 14px; }
.dealbar__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.dealbar__pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.dealbar__range {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cream-dim);
}
.dealbar__track {
  height: 3px;
  background: var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.dealbar__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cream);
  border-radius: 2px;
  transition: width 1000ms var(--ease-out);
}
.dealbar__fill--cyan { background: var(--cyan); }
.dealbar__fill--mint { background: var(--mint); }
.reveal.is-visible .dealbar__fill { width: var(--w); }
.dealbar__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 6px; }
.dealbar__body { color: var(--cream-dim); font-size: 14.5px; }

/* ---------- partnership: three boxes ---------- */
.trio {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trio__box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.trio__box:hover { border-color: var(--line-2); background: #1a2484; }
.trio__n {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.trio__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.015em;
}
.trio__text { color: var(--cream-dim); font-size: 15px; line-height: 1.55; }

@media (max-width: 760px) {
  .trio { grid-template-columns: 1fr; }
}

.deal__example {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}
.deal__example-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.deal__example p { color: var(--cream-dim); font-size: 15.5px; line-height: 1.6; }
.deal__example-lead { color: var(--cream) !important; font-size: 17px !important; }
.deal__example strong { color: var(--cream); font-weight: 600; }
.deal__example-note { font-size: 14px !important; opacity: 0.8; }

/* cost breakdown */
.costbar { display: flex; flex-direction: column; gap: 24px; margin: 8px 0 4px; }
.costbar__total { display: flex; flex-direction: column; gap: 4px; }
.costbar__total-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.costbar__total-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.costbar__track {
  display: flex;
  gap: 3px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line-2);
}
.costbar__seg {
  display: flex;
  align-items: center;
  padding: 0 16px;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: width 1100ms var(--ease-out);
}
.reveal.is-visible .costbar__seg { width: var(--w); }
.costbar__seg--cash { background: var(--cyan); }
.costbar__seg--equity { background: var(--mint); }
.costbar__seg-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bg);
}
.costbar__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.costbar__item { position: relative; display: flex; flex-direction: column; gap: 3px; padding-left: 18px; }
.costbar__dot { position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; }
.costbar__dot--cash { background: var(--cyan); }
.costbar__dot--equity { background: var(--mint); }
.costbar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.costbar__amt { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.1; color: var(--cream); }
.costbar__desc { color: var(--cream-dim); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .costbar__legend { grid-template-columns: 1fr; }
}

.deal__selective {
  max-width: 760px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--cream);
}
.deal__selective strong { font-weight: 700; }

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.orbit {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.entity__logo {
  height: clamp(34px, 4vw, 46px);
  width: auto;
  align-self: flex-start;            /* don't stretch to card width — keep aspect ratio */
  display: block;                    /* brand colours, shown on the cobalt */
}
.entity__tag.entity__tag--plain,
.entity__tag.entity__tag--plain b { color: var(--cream); }
.entity__soon {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 3px 9px;
}
.entity--soon .entity__logo { opacity: 0.42; }
.entity--soon p { opacity: 0.6; }
.entity {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 178px;
  transition: background-color 260ms var(--ease-out);
  overflow: hidden;
}
.entity::before { display: none; }
.entity--current { border-color: rgba(108, 216, 236, 0.4); }
.entity__role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-top: 4px;
}
.entity p { margin-top: 2px; }
.entity::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent, var(--cream-dim));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 360ms var(--ease-out);
}
.entity:hover { background: var(--bg-2); }
.entity:hover::before { transform: scaleY(1); }
.entity__tag {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.entity__tag b { color: var(--accent, var(--cyan)); font-weight: 700; }
.entity p { color: var(--cream-dim); font-size: 14px; }

.entity--studio  { --accent: #ff5a4d; }
.entity--seed    { --accent: #f5c518; }
.entity--scale   { --accent: #ff8a3d; }
.entity--spice   { --accent: #d63f5a; }
.entity--support { --accent: #d65fb8; }
.entity--current { --accent: var(--cyan); background: linear-gradient(160deg, rgba(108,216,236,0.18), rgba(108,216,236,0.03)); }
.entity--current::before { transform: scaleY(1); }
.entity--current .entity__tag b { color: var(--cyan); }
.entity__you {
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.entity__you::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
}

/* ============================================================
   VENTURES
   ============================================================ */
.vgrid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vcard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 280ms var(--ease-out),
              border-color 280ms var(--ease-out),
              background-color 280ms var(--ease-out);
}
.vcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vcard__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.vcard__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
}
.vcard__logo img {
  max-height: 48px;
  max-width: 72%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
/* square / icon-style logos fill more of the panel height */
.vcard__logo img[src*="heyprop"] { max-height: 72px; max-width: 86%; }
.vcard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vcard__stage {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--cream-dim);
  white-space: nowrap;
}
.stage--active     { color: var(--mint); border-color: rgba(62,214,139,0.35); }
.stage--live       { color: var(--cyan); border-color: rgba(95,214,236,0.35); }
.stage--validation { color: #ffb24d; border-color: rgba(255,178,77,0.38); }
.stage--mvp        { color: var(--cream-dim); }
.stage--dev        { color: var(--cream-dim); }
.stage--archived   { color: #8a90ad; border-color: rgba(243,238,221,0.16); }
/* archived ventures read as honestly de-emphasised */
/* archived: keep the logo clear; signal status via the grey badge + muted copy */
.vcard:has(.stage--archived) .vcard__sector,
.vcard:has(.stage--archived) .vcard__desc { opacity: 0.72; }
.vcard__sector {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}
.vcard__desc { color: var(--cream-dim); font-size: 14px; flex: 1; }
.vcard__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream);
  transition: color 200ms var(--ease-out);
}
.vcard__link svg { transition: transform 200ms var(--ease-out); }
.vcard__link:hover { color: var(--cyan); }
.vcard__link:hover svg { transform: translate(2px, -2px); }
.vcard__link--muted { color: var(--cream-dim); pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .vcard:hover {
    transform: translateY(-4px);
    border-color: var(--line-2);
    background: #1d2790;
  }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  margin-top: clamp(90px, 15vh, 170px);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(31,43,201,0.30), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(70px, 13vh, 130px) var(--pad);
}
.cta__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.cta__inner .section-kicker { color: var(--cyan); }
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-top: 18px;
}
.cta__sub {
  max-width: 56ch;
  margin: 22px auto 0;
  color: var(--cream-dim);
  font-size: clamp(15px, 1.5vw, 17px);
}
.cta__sub--fine { max-width: 60ch; font-size: clamp(13.5px, 1.3vw, 15px); color: #9ea2bd; margin-top: 14px; }
.cta__actions { margin-top: 38px; display: flex; justify-content: center; }

/* ============================================================
   APPLY / FORM — modal dialog
   ============================================================ */
.applyd {
  width: min(680px, calc(100vw - 28px));
  max-height: min(90vh, 940px);
  margin: auto; /* centers when opened via showModal() */
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--bg-2);
  color: var(--cream);
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.7);
}
.applyd::backdrop {
  background: rgba(8, 11, 46, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
/* Open/close animation */
.applyd[open] { animation: applyd-in 280ms var(--ease-out); }
.applyd[open]::backdrop { animation: applyd-fade 280ms var(--ease-out); }
@keyframes applyd-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes applyd-fade { from { opacity: 0; } to { opacity: 1; } }

.applyd__scroll {
  max-height: min(90vh, 940px);
  overflow-y: auto;
  padding: 0 clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px);
  -webkit-overflow-scrolling: touch;
}
/* Sticky top bar holds the close button; scrolled content passes behind it. */
.applyd__bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  margin: 0 calc(-1 * clamp(28px, 4vw, 44px)) 2px;
  padding: 12px clamp(16px, 4vw, 26px) 14px;
  background: linear-gradient(var(--bg-2) 64%, rgba(21, 30, 120, 0));
  pointer-events: none;
}
.applyd__head { padding-top: 2px; }
.applyd .section-kicker { color: var(--cyan); }
.applyd__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 14px;
}
.applyd__sub {
  max-width: 54ch;
  margin: 14px 0 0;
  color: var(--cream-dim);
  font-size: clamp(14.5px, 1.5vw, 16px);
}
.applyd__close {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #1c2690;
  color: var(--cream-dim);
  cursor: pointer;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.applyd__close:hover { color: var(--cream); border-color: var(--cream); background: #243099; }

/* Prevent the page behind the modal from scrolling */
body.modal-open { overflow: hidden; }

.form { margin-top: clamp(28px, 4vh, 40px); }
/* Honeypot — kept in the layout flow but hidden from people & AT. */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__group {
  border: 0;
  padding: 0;
  margin: 0 0 clamp(28px, 4.5vh, 44px);
}
.form__legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.form__legend-no { color: var(--cyan); }

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}
.form__grid .field:first-child { grid-column: 1 / -1; }
.form__stack { display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 9px; }
.field__label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.field__label i { color: var(--cyan); font-style: normal; }
.field__lead {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  color: var(--cream);
  margin: 0 0 16px;
  max-width: 54ch;
  line-height: 1.4;
}
.field__lead i { color: var(--cyan); font-style: normal; }

.field__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
  background: rgba(243, 238, 221, 0.03);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: #7d819b; }
.field__input:hover { border-color: rgba(243, 238, 221, 0.28); }
.field__input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(95, 214, 236, 0.05);
}
.field__area { resize: vertical; min-height: 84px; line-height: 1.5; }

.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--cream-dim);
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), background 160ms var(--ease-out);
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.choice span::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 9px;
  vertical-align: -1px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms var(--ease-out);
}
.choice:hover { border-color: rgba(243, 238, 221, 0.32); color: var(--cream); }
.choice:has(input:checked) {
  border-color: var(--cyan);
  color: var(--bg);
  background: var(--cyan);
}
.choice:has(input:checked) span::before {
  border-color: var(--bg);
  box-shadow: inset 0 0 0 3px var(--cyan);
  background: var(--bg);
}
.choice:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

.form__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form__status { font-size: 14px; color: var(--cream-dim); margin: 0; }
.form__status[data-state="error"] { color: #ff9c8a; }
.form__status[data-state="ok"] { color: var(--mint); }

@media (max-width: 620px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__grid .field:first-child { grid-column: auto; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px var(--pad);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer__logo { height: 38px; width: auto; display: block; }
.footer__links { display: flex; gap: 26px; font-size: 14px; color: var(--cream-dim); }
.footer__links a { transition: color 200ms var(--ease-out); }
.footer__links a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-dim);
}
.footer__bottom b { color: var(--cream); font-weight: 700; }
.footer__bottom a { transition: color 200ms var(--ease-out); }
.footer__bottom a:hover { color: var(--cyan); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .orbit { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .deal__bars { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { padding-right: 20px; }
}

@media (min-width: 941px) {
  .navmenu { display: none; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .orbit { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; border-top: none; }
  .stat { border-right: none; border-top: 1px solid var(--line); padding: 26px 0; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__links { flex-wrap: wrap; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .dealbar__fill { width: var(--w); }
}
