/* ==========================================================================
   Limitless Foundation — "engineering drawing sheet" design system
   White drafting paper, blue ink, dimension lines. One blueprint section.
   ========================================================================== */

:root {
  /* Palette */
  --paper:    #FFFFFF;
  --film:     #F3F7FD;   /* drafting-film tint for alternate sections */
  --grid:     #E1E9F7;   /* graph-paper rule */
  --rule:     #BCCDEB;   /* construction lines, borders */
  --slate:    #46546C;   /* body copy */
  --ink:      #0B2A5B;   /* headings, wordmark */
  --cobalt:   #1F4FD8;   /* actions, live ink */
  --prussian: #0F3A8A;   /* blueprint section */
  --danger:   #B42318;
  --ok:       #0E7A4F;

  /* Type */
  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.9vw, 2.05rem);
  --step-3:  clamp(1.9rem, 1.5rem + 1.8vw, 3rem);
  --step-4:  clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--cobalt); color: #fff; }

[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Graph paper surface */
.graph {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(rgba(225,233,247,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225,233,247,.55) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  /* major lines snap to the left edge of .wrap, so content sits on the grid */
  background-position: calc(max(var(--gutter), (100vw - var(--wrap)) / 2) - 1px) -1px;
}

/* ---------- Type utilities ---------- */
.annot {                      /* drawing annotation: mono, small caps feel */
  font-family: var(--f-mono);
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cobalt);
}
.display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--step-3);
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--slate); max-width: 52ch; }

/* ---------- Dimension line (shared device) ----------
   <span class="dim"><i></i><b>label</b><i></i></span>
   Arrowheads at outer ends, extension ticks at both extremes. */
.dim {
  --dim-color: var(--cobalt);
  display: flex; align-items: center; gap: .55em;
  color: var(--dim-color);
  position: relative;
  padding-inline: 1px;
}
.dim::before, .dim::after {       /* extension lines */
  content: ""; position: absolute; top: 50%; width: 1px; height: 14px;
  background: var(--dim-color); transform: translateY(-50%);
}
.dim::before { left: 0; }
.dim::after  { right: 0; }
.dim i { flex: 1; height: 1px; background: var(--dim-color); position: relative; }
.dim i::before {                  /* arrowhead */
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
  transform: translateY(-50%);
}
.dim i:first-child::before { left: 0;  border-right: 8px solid var(--dim-color); }
.dim i:last-child::before  { right: 0; border-left: 8px solid var(--dim-color); }
.dim b { font-weight: 500; white-space: nowrap; }

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex; flex-direction: column; gap: 3px;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.wordmark:hover { color: var(--ink); }
.wm-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.32rem; letter-spacing: .06em;
}
.wordmark .dim { --dim-color: var(--cobalt); gap: .4em; }
.wordmark .dim b {
  font-family: var(--f-mono); font-weight: 500; font-size: .56rem;
  letter-spacing: .32em; padding-left: .32em; color: var(--ink);
}
.wordmark--light { color: #fff; }
.wordmark--light:hover { color: #fff; }
.wordmark--light .dim { --dim-color: #9DB8F2; }
.wordmark--light .dim b { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--cobalt); --btn-fg: #fff; --btn-bd: var(--cobalt);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.35em;
  font-weight: 600; font-size: .98rem; line-height: 1.2; letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--rule); }
.btn--ghost:hover { --btn-bg: var(--film); --btn-bd: var(--ink); color: var(--ink); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--prussian); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: transparent; --btn-bd: #fff; color: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: #fff; color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--grid); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding-block: .3rem; border-bottom: 1.5px solid transparent;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--cobalt); color: var(--ink); }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius);
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); margin: auto;
  position: relative; transition: transform .25s ease, background .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1.25rem var(--gutter) 1.75rem;
    background: #fff; border-bottom: 1px solid var(--grid);
    box-shadow: 0 18px 30px -20px rgba(11,42,91,.25);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .25rem; }
  .site-nav a:not(.btn) { display: block; padding: .6rem 0; border-bottom: 1px solid var(--grid); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--grid); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
}
.hero h1 {
  font-family: var(--f-display); font-weight: 500;
  font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1.04;
  margin: 1.1rem 0 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--cobalt); }
.tag {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0;
  padding: .5rem .95rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
}
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 3px rgba(31,79,216,.15); }
.tag-more { color: var(--cobalt); }
.tag-sep { margin-right: .6rem; color: var(--rule); }
@media (max-width: 520px) { .tag-more { display: none; } }
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.drawing { position: relative; }
.drawing svg { width: 100%; height: auto; overflow: visible; }
.drawing .construct { stroke: var(--rule); fill: none; stroke-width: 1; }
.drawing .centre    { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 14 4 2 4; fill: none; }
.drawing .dashed    { stroke-dasharray: 4 4; }
.drawing .ink       { stroke: var(--cobalt); fill: none; stroke-width: 3.25; stroke-linecap: round; stroke-linejoin: round; }
.drawing .dimline   { stroke: var(--ink); stroke-width: 1; fill: none; }
.drawing .arrow     { fill: var(--ink); }
.drawing text       { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink); }
.drawing .big       { font-family: var(--f-display); font-size: 26px; letter-spacing: 0; fill: var(--cobalt); }

/* Title block — the drawing-sheet legend */
.title-block {
  margin-top: 1.25rem; margin-left: auto; max-width: 420px;
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink); background: #fff;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
}
.title-block div { padding: .55rem .75rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.title-block div:nth-child(2n) { border-right: 0; }
.title-block div:last-child { border-bottom: 0; }
.title-block span { display: block; color: var(--slate); font-size: .62rem; margin-bottom: .15rem; }
.title-block strong { color: var(--ink); font-weight: 600; }
.title-block .tb-wide { grid-column: 1 / -1; border-right: 0; }
.title-block .tb-hl strong { color: var(--cobalt); font-size: .95rem; }

/* Draw-on animation (enabled by JS adding .is-drawn) */
.js .drawing .ink   { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .drawing .fade  { opacity: 0; }
.js .drawing.is-drawn .ink  { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s cubic-bezier(.65,0,.35,1) .5s; }
.js .drawing.is-drawn .fade { opacity: 1; transition: opacity .8s ease; }
.js .drawing.is-drawn .fade.d2 { transition-delay: .25s; }
.js .drawing.is-drawn .fade.d3 { transition-delay: 2.4s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .title-block { margin-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--film { background: var(--film); border-block: 1px solid var(--grid); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--split {
  grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem 4rem;
}
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-body p { font-size: var(--step-1); line-height: 1.6; color: var(--slate); }
.about-body p:first-child::first-line { color: var(--ink); font-weight: 600; }
.about-facts {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.about-facts div { padding: 1rem 1rem 0 0; }
.about-facts dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.about-facts dd { margin: .35rem 0 0; color: var(--ink); font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div { padding: .9rem 0; border-bottom: 1px solid var(--grid); }
}

/* Fields we fund */
.fields {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
}
.field {
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: #fff; position: relative;
  transition: background .25s ease;
}
.field:hover { background: var(--film); }
.field svg { width: 44px; height: 44px; stroke: var(--cobalt); stroke-width: 1.4; fill: none; margin-bottom: 1.4rem; transition: transform .35s ease; }
.field:hover svg { transform: rotate(-6deg) scale(1.05); }
.field h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; font-family: var(--f-body); letter-spacing: -0.01em; }
.field p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .fields { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.fields--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .fields--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fields--4 { grid-template-columns: 1fr; } }

/* Impact — numbers measured with dimension lines */
.impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.stat { text-align: center; }
.stat-num {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.8rem, 2rem + 3.6vw, 5rem); letter-spacing: -0.04em;
  color: var(--ink); line-height: 1; display: block; margin-bottom: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit { color: var(--cobalt); }
.stat .dim { margin-bottom: 1rem; }
.stat-label { font-weight: 600; color: var(--ink); font-size: 1.05rem; margin: 0 0 .25rem; }
.stat-note { font-size: .9rem; margin: 0 auto; max-width: 26ch; }
@media (max-width: 760px) { .impact { grid-template-columns: 1fr; gap: 3.5rem; } }

/* Our story — photo + founders' voice */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.story-body > p:not(.annot):not(.signature) { font-size: var(--step-1); line-height: 1.6; }
@media (min-width: 600px) {
  .story-body > p:not(.annot):not(.signature) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
}
.pullquote {
  margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem;
  border-left: 3px solid var(--cobalt);
  font-family: var(--f-display); font-weight: 500; font-size: var(--step-2);
  line-height: 1.3; letter-spacing: -0.02em; color: var(--ink);
}
.signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.signature strong { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* Photo frame with drafting crop marks; shows a drawn placeholder until a photo exists */
.photo { margin: 0; }
.photo-frame { position: relative; overflow: visible; background: #fff; border: 1px solid var(--rule); }
.photo--story .photo-frame { aspect-ratio: 4 / 3; }
.photo--portrait .photo-frame { aspect-ratio: 4 / 5; }
.photo-frame::before, .photo-frame::after {      /* crop marks at two corners */
  content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--cobalt); border-style: solid; pointer-events: none; z-index: 2;
}
.photo-frame::before { top: -9px; left: -9px; border-width: 1.5px 0 0 1.5px; }
.photo-frame::after  { bottom: -9px; right: -9px; border-width: 0 1.5px 1.5px 0; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; color: transparent; }  /* alt text never overlays the placeholder */
.photo-ph {
  position: absolute; inset: 0; display: grid; place-items: center;   /* sits under the img; visible until a photo loads */
  background-color: var(--film);
  background-image: repeating-linear-gradient(135deg, rgba(31,79,216,.07) 0 1px, transparent 1px 10px);
}
.photo.is-empty img { display: none; }   /* hide the broken-image icon */
.photo-ph b {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem);
  color: var(--ink); letter-spacing: .02em;
  width: 62%; aspect-ratio: 1; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%; background: #fff;
}
.photo-ph svg { width: 78%; height: auto; overflow: visible; }
.photo-ph .ph-base { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.photo-ph .ph-bars { stroke: var(--rule); stroke-width: 1.2; fill: #fff; }
.photo-ph .ph-trend { stroke: var(--cobalt); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.photo-ph circle { fill: var(--cobalt); }
.photo figcaption {
  display: flex; gap: .75rem; margin-top: 1rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate);
}
.photo figcaption span { color: var(--cobalt); }

/* Diwali cohort strip */
.cohort {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--ink); background: var(--film);
}
.cohort-num {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 2rem + 3vw, 4.5rem);
  line-height: 1; color: var(--cobalt); letter-spacing: -0.04em;
  padding-right: clamp(1.5rem, 4vw, 3rem); border-right: 1px solid var(--rule);
}
.cohort-text { margin: .4rem 0 0; color: var(--slate); max-width: 60ch; }
.cohort-text strong { color: var(--ink); }
@media (max-width: 760px) {
  .cohort { grid-template-columns: 1fr; }
  .cohort-num { border-right: 0; padding-right: 0; }
}

/* Fields we support — static chips */
.field-list { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 2rem 0 0; }
.field-list .annot { margin-right: .6rem; }
.field-list span:not(.annot) {
  padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: 999px;
  background: #fff; color: var(--ink); font-size: .88rem; font-weight: 500;
}

/* Vision — engineer → innovator → founder (a true sequence) */
.vision-statement {
  margin: 0; max-width: 34ch;
  font-family: var(--f-display); font-weight: 500; font-size: var(--step-2);
  line-height: 1.3; letter-spacing: -0.02em; color: var(--ink);
}
.vision-seq { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.vision-seq li { position: relative; padding: 0 1rem; }
.vision-seq li:not(:last-child)::after {        /* dimension-style connector with arrowhead */
  content: ""; position: absolute; top: 40px; left: calc(50% + 52px); width: calc(100% - 104px); height: 8px;
  transform: translateY(-50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 8'%3E%3Cpath d='M0 0l9 4-9 4z' fill='%231F4FD8'/%3E%3C/svg%3E") right center / 9px 8px no-repeat,
    linear-gradient(var(--cobalt), var(--cobalt)) left center / calc(100% - 8px) 1px no-repeat;
}
.vision-seq .node {
  width: 80px; height: 80px; margin: 0 auto 1.25rem; display: grid; place-items: center;
  border: 1.5px solid var(--cobalt); border-radius: 50%; background: #fff;
}
.vision-seq .node svg { width: 38px; height: 38px; stroke: var(--cobalt); stroke-width: 1.5; fill: none; }
.vision-seq li:last-child .node { background: var(--cobalt); }
.vision-seq li:last-child .node svg { stroke: #fff; }
.vision-seq h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: .3rem; }
.vision-seq p { font-size: .95rem; margin: 0; }
.vision-close {
  margin: clamp(3rem, 6vw, 4.5rem) auto 0; max-width: 52ch; text-align: center;
  font-size: var(--step-1); color: var(--ink); font-style: italic;
}
@media (max-width: 700px) {
  .vision-seq { grid-template-columns: 1fr; gap: 3rem; }
  .vision-seq li:not(:last-child)::after {
    top: auto; bottom: -2.6rem; left: 50%; width: 8px; height: 2rem; transform: translateX(-50%);
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 9'%3E%3Cpath d='M0 0l4 9 4-9z' fill='%231F4FD8'/%3E%3C/svg%3E") center bottom / 8px 9px no-repeat,
      linear-gradient(var(--cobalt), var(--cobalt)) center top / 1px calc(100% - 8px) no-repeat;
  }
}

/* Founders */
.section-title--line { max-width: none; font-size: clamp(1.6rem, 0.9rem + 2.1vw, 2.35rem); }
@media (min-width: 1100px) { .section-title--line { white-space: nowrap; } }
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.founder {
  display: grid; grid-template-columns: minmax(130px, 170px) 1fr; gap: 1.75rem; align-items: start;
  padding: 1.75rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
}
.founder > div { container-type: inline-size; min-width: 0; }
.founder h3 {                                   /* name always on one line: scales to the card's text column */
  font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  font-size: 1.2rem; font-size: clamp(1rem, 7.5cqi, 1.35rem);
}
.founder .role { margin: .45rem 0 1rem; font-size: .7rem; line-height: 1.5; }
.founder p { font-size: .98rem; }
.founder .btn { margin-top: 1rem; }
.btn--sm { padding: .55em 1em; font-size: .88rem; }
.btn--sm svg { width: 1em; height: 1em; }
.btn--sm:hover svg { transform: none; }
@media (max-width: 1100px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .founder .photo { max-width: 240px; } }

/* Why it compounds — a real timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--ink); opacity: .55; }
.timeline li { position: relative; padding-top: 2.5rem; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--cobalt);
}
.timeline li:last-child::before { background: var(--cobalt); }
.timeline h3 { font-family: var(--f-body); font-size: 1.12rem; font-weight: 600; margin: .6rem 0 .45rem; }
.timeline li > p:not(.annot) { font-size: .95rem; margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; padding-left: 2rem; }
  .timeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -2rem; top: .2rem; }
}

/* The journey we fund — staggered photo sequence */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
.journey li:nth-child(even) { margin-top: 2.25rem; }
.photo--tall .photo-frame { aspect-ratio: 3 / 4; }
@media (max-width: 960px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } .journey li:nth-child(even) { margin-top: 0; } }

/* Labelled photo placeholder (camera mark + caption) */
.photo-ph--label { background-image: linear-gradient(160deg, #F6F9FE, #E6EEFB); }
.photo-ph--label span {
  display: grid; justify-items: center; gap: .8rem; padding: 1rem; text-align: center;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.photo-ph--label svg { width: 34px; height: 34px; stroke: var(--cobalt); stroke-width: 1.5; fill: none; }

/* Get involved */
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); background: #fff; }
.ways li { padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.ways li + li { border-left: 1px solid var(--rule); }
.ways h3 { font-family: var(--f-body); font-size: 1.2rem; font-weight: 600; margin: .4rem 0 0; }
.ways li > p:not(.annot) { font-size: .95rem; margin: 0 0 .75rem; }
.ways .annot { font-size: .7rem; }
.link-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; text-decoration: none; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
@media (max-width: 860px) {
  .ways { grid-template-columns: 1fr; }
  .ways li + li { border-left: 0; border-top: 1px solid var(--rule); }
}

/* "Applying is always free" notice (apply page) */
.panel--notice { border-left: 3px solid #D9A400; }

/* Blueprint CTA — the one inverted sheet */
.blueprint {
  position: relative; color: #DCE7FF; overflow: hidden;
  background-color: var(--prussian);
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.blueprint h2 { color: #fff; }
.blueprint .annot { color: #9DB8F2; }
.blueprint-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; padding-block: clamp(4rem, 8vw, 6.5rem); }
.blueprint p:not(.annot) { color: #DCE7FF; font-size: var(--step-1); max-width: 46ch; margin-top: 1.25rem; }
.blueprint-actions { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.blueprint-actions .dim { --dim-color: #9DB8F2; width: 100%; max-width: 320px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 860px) { .blueprint-inner { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { border-bottom: 1px solid var(--grid); }
.page-head .wrap { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-family: var(--f-display); font-weight: 500; font-size: var(--step-4); letter-spacing: -0.035em; margin: 1rem 0 1.25rem; max-width: 16ch; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.5rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.25rem; min-width: 0; }
.form fieldset + fieldset { padding-top: 2rem; border-top: 1px solid var(--grid); }
.form legend { padding: 0; margin-bottom: 0; float: left; width: 100%; } /* float keeps legend inside the fieldset box */
.form legend .annot { display: block; margin-bottom: .3rem; }
.form legend strong { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }

.field-group { display: grid; gap: .45rem; }
.field-group label, .label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field-group .opt { font-weight: 400; color: var(--slate); font-size: .85rem; }
.hint { font-size: .85rem; color: var(--slate); margin: 0; }
.input, .select, .textarea {
  width: 100%; padding: .8rem .95rem; background: #fff;
  border: 1.5px solid var(--rule); border-radius: var(--radius);
  color: var(--ink); line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 170px; resize: vertical; }
.select { appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231F4FD8' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; background-size: 12px; }
.input::placeholder, .textarea::placeholder { color: #8B97AB; }
.input:hover, .select:hover, .textarea:hover { border-color: #93AEE0; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(31,79,216,.15); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--slate); font-weight: 600; pointer-events: none; }
.input-prefix .input { padding-left: 2rem; }

.field-group.has-error .input,
.field-group.has-error .select,
.field-group.has-error .textarea { border-color: var(--danger); }
.field-group.has-error .input:focus,
.field-group.has-error .textarea:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.14); }
.error-msg { color: var(--danger); font-size: .86rem; font-weight: 500; margin: 0; display: none; }
.field-group.has-error .error-msg { display: block; }
.counter { font-family: var(--f-mono); font-size: .72rem; color: var(--slate); text-align: right; letter-spacing: .05em; }
.counter.is-low { color: var(--danger); }

/* Topic chips (radio) */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem 1rem; border: 1.5px solid var(--rule); border-radius: 999px;
  font-weight: 500; font-size: .93rem; color: var(--ink); background: #fff;
  transition: all .15s ease;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--rule); transition: all .15s ease; }
.chip:hover span { border-color: #93AEE0; }
.chip input:checked + span { border-color: var(--cobalt); background: var(--film); color: var(--cobalt); }
.chip input:checked + span::before { background: var(--cobalt); border-color: var(--cobalt); }
.chip input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* Topic-specific note */
.topic-note {
  display: none; padding: 1rem 1.15rem; border: 1px dashed var(--cobalt); border-radius: var(--radius);
  background: var(--film); color: var(--ink); font-size: .94rem;
}
.topic-note.is-visible { display: block; }

/* Checkbox */
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--cobalt); flex: none; }

/* File drop */
.file-drop {
  position: relative; display: grid; place-items: center; gap: .3rem; text-align: center;
  padding: 1.75rem 1rem; border: 1.5px dashed var(--rule); border-radius: var(--radius);
  background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover, .file-drop.is-over { border-color: var(--cobalt); background: var(--film); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop svg { width: 28px; height: 28px; stroke: var(--cobalt); fill: none; stroke-width: 1.5; }
.file-drop strong { color: var(--ink); }
.file-drop .file-name { font-family: var(--f-mono); font-size: .8rem; color: var(--cobalt); }
.file-drop:focus-within { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* Honeypot */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Submit + status */
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
.is-sending .btn-arrow { display: none; }
.form-alert {
  display: none; padding: .9rem 1.1rem; border-radius: var(--radius);
  border: 1px solid var(--danger); background: #FEF3F2; color: var(--danger); font-size: .94rem;
}
.form-alert.is-visible { display: block; animation: rise .3s ease; }

.success {
  display: none; text-align: left; padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--rule); border-radius: var(--radius); background: #fff;
}
.success.is-visible { display: block; animation: rise .45s ease; }
.success svg { width: 64px; height: 64px; margin-bottom: 1.25rem; }
.success svg circle { stroke: var(--rule); }
.success svg path { stroke: var(--cobalt); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s ease .25s forwards; }
.success h2 { font-family: var(--f-display); font-weight: 500; font-size: var(--step-2); letter-spacing: -0.02em; margin-bottom: .75rem; }

/* Aside panels */
.aside { display: grid; gap: 1.5rem; position: sticky; top: 100px; }
@media (max-width: 960px) { .aside { position: static; } }
.panel { padding: 1.75rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.panel h2, .panel h3 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.panel--film { background: var(--film); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: .85rem; align-items: start; }
.contact-list svg { width: 20px; height: 20px; stroke: var(--cobalt); fill: none; stroke-width: 1.5; margin-top: .2rem; }
.contact-list .annot { display: block; font-size: .68rem; margin-bottom: .1rem; }
.contact-list a, .contact-list strong { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--cobalt); text-decoration: underline; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border-left: 1.5px solid var(--cobalt); border-bottom: 1.5px solid var(--cobalt); transform: rotate(-45deg); }

/* FAQ */
.faq details { border-top: 1px solid var(--grid); }
.faq details:last-child { border-bottom: 1px solid var(--grid); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: .97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 10px; height: 10px;
  border-right: 1.5px solid var(--cobalt); border-bottom: 1.5px solid var(--cobalt);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 1rem; font-size: .94rem; }

/* Prose (privacy) */
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--f-body); font-size: 1.25rem; font-weight: 600; margin: 2.25rem 0 .75rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C8E6; padding-block: 4rem 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-grid p { max-width: 38ch; margin-top: 1.25rem; }
.footer-grid .footer-small { margin-top: .75rem; font-size: .85rem; color: #8FA3CC; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9DB8F2; font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #8FA3CC; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .js .drawing .ink { stroke-dashoffset: 0; }
  .js .drawing .fade { opacity: 1; }
}
