/* Homepage founder hero (2026-11-08). Loaded after the shared homepage CSS and scoped to body.founder-home so no other route changes.
   Design: Archivo variable display, Geist text, Geist Mono instruments, TFC blues on black. One spectacle: the agentic build
   (hero on load, sections on scroll). Phones and prefers-reduced-motion get the finished page, no build. */

body.founder-home {
  --ice: #8fc8ff;
  --sky: #34aadc;
  --card: #1c1c1e;
  --hair: rgba(255, 255, 255, .10);
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --page-ease: cubic-bezier(.32, .72, 0, 1);
  background: #000;
  -webkit-font-smoothing: antialiased;
}

/* blueprint grid: the canvas the agents build on */
body.founder-home .grid-bg {
  background-image: linear-gradient(rgba(143, 200, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 200, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* type */
body.founder-home h1,
body.founder-home h2 { font-family: var(--display); font-weight: 800; font-stretch: 78%; letter-spacing: -.015em; text-wrap: balance; }
body.founder-home h2 { font-size: clamp(36px, 5vw, 70px); line-height: 1; max-width: 22ch; }
body.founder-home h3 { font-family: var(--font-sans); }
body.founder-home .kicker { font-family: var(--font-mono); font-weight: 600; font-size: 15px; line-height: 1.4; letter-spacing: 0; color: var(--ice); }
body.founder-home .nav-logo { font-family: var(--display); font-weight: 900; font-stretch: 112%; letter-spacing: -.01em; }
body.founder-home .lead { color: #d2d5dc; }

/* buttons: plain label, 52 tall, radius 10 */
body.founder-home .btn { border-radius: 10px; min-height: 52px; font-weight: 600; }
body.founder-home .btn-primary { background: #0064c9; }
body.founder-home .btn-primary:hover { background: #0071e3; }
body.founder-home .btn-arrow { display: none; }
body.founder-home .nav-cta { border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; background: #0064c9; }
body.founder-home .nav-cta:hover { background: #0071e3; }

/* shell and core cards */
body.founder-home .shell { padding: 8px; border-radius: 28px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair); }
body.founder-home .core { border-radius: 20px; background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); padding: 28px; display: grid; gap: 18px; }
body.founder-home .workflow-panel {
  background: var(--card); border: 0; border-radius: 20px; margin: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 8px rgba(255, 255, 255, .03), 0 0 0 9px var(--hair);
}
body.founder-home .workflow-number { font-family: var(--font-mono); font-size: 14px; }

/* hero */
body.founder-home .hero {
  position: relative; isolation: isolate; display: grid; align-items: end; justify-items: stretch; text-align: left; overflow: hidden;
  min-height: max(calc(100dvh - 20px), 820px);
  padding: calc(2vh + clamp(84px, 15vw, 240px) * .86 + 20px) 0 36px;
}
body.founder-home .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 60% 42%, rgba(0, 113, 227, .28), transparent 70%); pointer-events: none; }
body.founder-home .hero > .wrap { z-index: 4; }
body.founder-home .hero-layout { display: block; }
body.founder-home .giant {
  position: absolute; z-index: 1; left: 50%; top: 2vh; translate: -50% 0; margin: 0;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(84px, 15vw, 240px);
  line-height: .86; white-space: nowrap; letter-spacing: -.01em; user-select: none;
}
body.founder-home .giant .ch {
  display: inline-block; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #8fc8ff 0%, #34aadc 38%, #0071e3 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.founder-home .portrait {
  position: absolute; z-index: 2; left: 66%; translate: -50% 0; bottom: 0; margin: 0;
  height: min(76vh, 740px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7));
}
body.founder-home .portrait img { height: 100%; width: auto; max-width: none; display: block; }
body.founder-home .portrait figcaption {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: 8px; align-items: baseline; white-space: nowrap;
  padding: 8px 14px; border-radius: 8px; background: rgba(8, 8, 8, .84); box-shadow: inset 0 0 0 1px rgba(143, 200, 255, .22);
  font: 400 14px/1.35 var(--font-mono); color: var(--text-dim);
}
body.founder-home .portrait figcaption strong { font: 600 14px/1.35 var(--font-mono); color: var(--ice); }
body.founder-home .hero-copy { position: relative; z-index: 4; max-width: 520px; display: grid; gap: 16px; justify-items: start; }
body.founder-home .hero .eyebrow { margin: 0; font-family: var(--font-mono); color: var(--ice); font-size: 14px; }
body.founder-home .hero h1 {
  margin: 0; max-width: none; font-size: clamp(40px, 4.2vw, 60px); line-height: .98; text-shadow: none; color: var(--text-bright);
}
body.founder-home .hero h1 .accent { background: none; color: var(--ice); -webkit-text-fill-color: currentColor; }
body.founder-home .hero h1 .w { display: inline-block; }
body.founder-home .hero .hero-sub { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: #d2d5dc; }
body.founder-home .hero .hero-ctas { margin: 0; justify-content: flex-start; }
body.founder-home .hero .hero-note { margin: 0; font-size: 15px; color: #b9bbc2; max-width: 46ch; }

/* HUD ring, scanline, readouts */
body.founder-home .hud { position: absolute; z-index: 3; left: 66%; translate: -50% 0; bottom: 8vh; width: min(52vh, 520px); aspect-ratio: 1; pointer-events: none; }
body.founder-home .hud svg { width: 100%; height: 100%; overflow: visible; }
body.founder-home .ring { fill: none; stroke: rgba(143, 200, 255, .28); stroke-width: 1; }
body.founder-home .ring.lit { stroke: var(--sky); stroke-width: 1.5; stroke-dasharray: 4 10; transform-origin: 50% 50%; animation: founder-spin 28s linear infinite; }
body.founder-home .tick { stroke: rgba(143, 200, 255, .4); stroke-width: 1; }
body.founder-home .scanline { fill: var(--ice); filter: drop-shadow(0 0 6px var(--sky)); animation: founder-scan 4.2s var(--ease-out) infinite; }
body.founder-home .readout { position: absolute; font: 400 14px/1.35 var(--font-mono); color: var(--text-bright); background: rgba(8, 8, 8, .84); box-shadow: inset 0 0 0 1px rgba(143, 200, 255, .22); padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
body.founder-home .readout b { color: var(--ice); font-weight: 600; }
body.founder-home .r2 { left: 100%; top: 62%; margin-left: -24px; }
body.founder-home .r3 { left: 100%; top: 76%; margin-left: -24px; }
@keyframes founder-spin { to { transform: rotate(360deg); } }
@keyframes founder-scan { 0% { transform: translateY(-10%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(95%); opacity: 0; } }

/* Quantifier dial */
body.founder-home .quantifier { margin-top: 44px; max-width: 760px; }
body.founder-home .dial { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
body.founder-home .dial svg { width: 150px; height: 150px; }
body.founder-home .dial .track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 10; }
body.founder-home .dial .fill { fill: none; stroke: url(#dialgrad); stroke-width: 10; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset .6s var(--ease-out); }
body.founder-home .dial .dnum { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 52px; fill: var(--text-bright); }
body.founder-home label.q { display: block; margin-bottom: 10px; text-decoration: none; font-weight: 600; font-size: 17px; color: var(--text-bright); }
body.founder-home input[type=range] { width: 100%; accent-color: #0071e3; height: 44px; }
body.founder-home .answer { margin: 0; min-height: 3.2em; color: #d2d5dc; }
body.founder-home .q-note { margin: 0; font-size: 15px; color: var(--text-dim); }

/* numbered rows (the ceiling and the plan) */
body.founder-home .stack { display: block; margin-top: 44px; }
body.founder-home .stack::after { content: ""; display: block; height: 1px; background: var(--hair); }
body.founder-home .stagecard {
  position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: baseline;
  padding: 34px 0; background: none; border: 0; border-radius: 0;
}
body.founder-home .stagecard:hover { transform: none; background: none; border-color: transparent; }
body.founder-home .stagecard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); transform-origin: 0 50%; transition: transform 1s var(--page-ease); }
body.founder-home .stagecard .num { display: grid; gap: 8px; font-family: var(--font-mono); color: var(--sky); }
body.founder-home .stagecard .n {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 72px; line-height: 1; color: var(--sky);
  font-variant-numeric: tabular-nums; transition: font-weight .9s var(--page-ease);
}
body.founder-home .stagecard .lab { font-size: 14px; color: var(--text-dim); }
body.founder-home .stagecard .sl { display: none; }
body.founder-home .stagecard h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; color: var(--text-bright); }
body.founder-home .stagecard p { margin: 0; color: var(--text-dim); }
body.founder-home .plan-note { font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }

/* story photo */
body.founder-home .story-photo { margin-top: 36px; max-width: 420px; }
body.founder-home .story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
body.founder-home .story-question { box-shadow: none; border-left: 3px solid #0071e3; }

/* final call */
body.founder-home .final .wrap {
  background: var(--card); border-radius: 20px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 8px rgba(255, 255, 255, .03), 0 0 0 9px var(--hair);
}
body.founder-home .final { padding-block: clamp(80px, 9vw, 128px); }

/* scroll build: visible by default, hidden only while an agent has yet to build the section */
body.founder-home .reveal,
html.reveal-ready body.founder-home .reveal:not(.visible) { opacity: 1; transform: none; }
html.founder-js body.founder-home .unbuilt .reveal { opacity: 0; transform: translateY(24px); }
html.founder-js body.founder-home .unbuilt .stagecard::before { transform: scaleX(0); }
html.founder-js body.founder-home .unbuilt .stagecard:not(.lit) .n { font-weight: 200; }
body.founder-home .reveal { transition: opacity .8s var(--ease-out), transform .9s var(--page-ease); }

/* hero build states (class set in the head, lifted when the build ends) */
html.founder-pre body.founder-home .giant .ch { opacity: 0; transform: translateY(30%); font-weight: 100; font-stretch: 62%; }
html.founder-pre body.founder-home .hero h1 .w { opacity: 0; transform: translateY(.5em); filter: blur(6px); font-weight: 200; }
html.founder-pre body.founder-home .hero .eyebrow,
html.founder-pre body.founder-home .hero .hero-sub,
html.founder-pre body.founder-home .hero .hero-ctas,
html.founder-pre body.founder-home .hero .hero-note,
html.founder-pre body.founder-home .readout { opacity: 0; transform: translateY(14px); }
html.founder-pre body.founder-home .portrait { clip-path: inset(100% 0 0 0); }
html.founder-pre body.founder-home .hud { opacity: 0; }
body.founder-home .giant .ch { transition: opacity .5s var(--ease-out), transform .8s var(--page-ease), font-weight 1.1s var(--page-ease), font-stretch 1.1s var(--page-ease); }
body.founder-home .hero h1 .w { transition: opacity .6s var(--ease-out), transform .7s var(--page-ease), filter .6s var(--ease-out), font-weight .9s var(--page-ease); }
body.founder-home .hero .eyebrow,
body.founder-home .hero .hero-sub,
body.founder-home .hero .hero-ctas,
body.founder-home .hero .hero-note,
body.founder-home .readout { transition: opacity .6s var(--ease-out), transform .7s var(--page-ease); }
body.founder-home .portrait { transition: clip-path 1.1s var(--page-ease); }
body.founder-home .hud { transition: opacity .8s var(--ease-out); }

/* agent cursors and wireframes (created by the script, desktop only) */
.founder-agents { position: fixed; inset: 0; pointer-events: none; z-index: 45; }
.founder-agent { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; gap: 4px; transition: transform .9s var(--page-ease, cubic-bezier(.32, .72, 0, 1)), opacity .3s ease; will-change: transform; }
.founder-agent svg { width: 18px; height: 18px; flex: none; }
.founder-agent span { font: 600 14px/1 "Geist", -apple-system, sans-serif; color: #050505; padding: 6px 9px; border-radius: 999px; margin-top: 12px; white-space: nowrap; }
.founder-agent em { font-style: normal; font-weight: 400; opacity: .78; }
.founder-wire { position: absolute; z-index: 44; border: 1px dashed rgba(143, 200, 255, .55); border-radius: 10px; background: rgba(0, 113, 227, .06); pointer-events: none; transition: opacity .5s ease; }
.founder-wire small { position: absolute; left: 8px; top: 6px; font: 400 14px/1 "Geist Mono", ui-monospace, monospace; color: #8fc8ff; }
.founder-replay {
  position: fixed; right: 20px; bottom: 20px; z-index: 41; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0;
  background: rgba(8, 8, 8, .9); color: #a1a1a6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10); font: 500 14px/1 "Geist", -apple-system, sans-serif; cursor: pointer;
}
.founder-replay:hover { color: #f5f5f7; }

@media (max-width: 1080px) {
  body.founder-home .portrait, body.founder-home .hud { left: 70%; }
}
@media (max-width: 860px) {
  body.founder-home { --text-xs: 14px; --text-sm: 15px; }
  body.founder-home .hero { display: block; min-height: 0; padding: calc(13.5vw * .86 + 36px) 0 0; }
  body.founder-home .giant { top: 20px; font-size: 13.5vw; }
  body.founder-home .portrait { position: relative; left: auto; translate: none; bottom: auto; height: auto; width: 100%; margin: 0; }
  body.founder-home .portrait img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  body.founder-home .portrait figcaption { bottom: 6px; white-space: normal; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 24px); width: max-content; }
  body.founder-home .hud { display: none; }
  body.founder-home .hero-copy { max-width: none; padding-bottom: 56px; }
  body.founder-home .hero h1 { font-size: clamp(40px, 11vw, 52px); }
  body.founder-home .hero .hero-ctas { align-items: stretch; width: 100%; }
  body.founder-home .stagecard { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 0; }
  body.founder-home .stagecard .num { display: flex; align-items: baseline; gap: 16px; }
  body.founder-home .stagecard .n { font-size: 44px; }
  body.founder-home .stagecard h3 { font-size: 22px; }
  body.founder-home .dial { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  body.founder-home .core { padding: 22px; }
  body.founder-home .story-photo { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.founder-home .ring.lit, body.founder-home .scanline { animation: none !important; }
  .founder-agents, .founder-wire, .founder-replay { display: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  body.founder-home .portrait figcaption, body.founder-home .readout { background: #080808; }
}
@media (prefers-contrast: more) {
  body.founder-home { --text-dim: #d2d5dc; --hair: rgba(255, 255, 255, .35); }
  body.founder-home .stagecard p, body.founder-home .stagecard .lab { color: #d2d5dc; }
}

/* touch targets and small text */
body.founder-home .workflow-label { font-size: 14px; }
body.founder-home .page-faq summary { min-height: 44px; display: flex; align-items: center; }
body.founder-home .page-link { display: inline-flex; align-items: center; min-height: 44px; }
body.founder-home footer a { min-width: 44px; justify-content: center; }
