/* ============================================================================
   Bonne Terre Labs — styles.css
   ----------------------------------------------------------------------------
   Structure of this file, top to bottom:
     1. Design tokens (:root)          — copy of the colour system in the spec
     2. Reset + base type
     3. Layout helpers (.wrap, .section)
     4. Header + nav
     5. Buttons, links, focus states
     6. Hero + framed product screenshots
     7. Stats, quotes, cards, disclosures
     8. Inline SVG diagram styling (shared by both diagrams)
     9. Traction, team
    10. Close section + investor form + footer band
    11. Motion (fade-and-rise) + reduced-motion
    12. Responsive breakpoints (1024px, 768px, 520px)

   Colour rules that must not be broken:
     - Teal fills always take Deep Ink text, NEVER white (white on teal = 2.18:1).
     - One teal accent per viewport: eyebrow + primary action only.
     - Terre Green lives in the footer band only. It is a family signal, not a UI colour.
     - Amber / Coral / Spring are risk signals only, never decorative.
     - Provenance Gold: two uses per page maximum (NSF SBIR tag + featured card rule).
   ========================================================================== */

/* --- 1. Design tokens — verbatim from Part 4 of the spec ------------------ */
:root {
  --ink:        #0A1620;
  --surface:    #0F2430;
  --raised:     #16323F;
  --hairline:   #23414F;

  --text:       #F5FAFB;
  --text-2:     #C3D3D8;
  --text-3:     #8DA1A9;

  --teal:       #22C4B6;
  --teal-deep:  #12A79B;
  --teal-wash:  #0E2E33;

  --terre:      #34664D;   /* real logo green, sampled from logo-mark-white.png artwork */
  --terre-band: #254739;   /* footer band: a deeper shade of the brand green #34664D */
  --sage:       #7FA396;
  --spring:     #66D19E;

  --gold:       #C8A955;
  --amber:      #E68A3A;
  --coral:      #E5644E;
}

:root {
  /* Type: system-adjacent stacks only — no webfont request, so no render delay.
     One geometric-leaning sans for headings, one legible UI sans for body. */
  --font-head: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --measure: 62ch;      /* max line length for body copy */
  --wrap: 1120px;       /* content column width */
  --gap: 24px;
  --radius: 10px;
}

/* --- 2. Reset + base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); max-width: 24ch; }
h3 { font-size: 1.0625rem; line-height: 1.3; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

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

img, svg { max-width: 100%; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--teal); color: var(--ink);  /* dark text on teal */
  padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* --- 3. Layout helpers --------------------------------------------------- */
.wrap {
  width: 100%; max-width: var(--wrap);
  margin: 0 auto; padding: 0 24px;
}

.section { padding: 96px 0; border-top: 1px solid var(--hairline); }
.section-surface { background: var(--surface); }

.eyebrow {
  color: var(--teal);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 12px;
}
.kicker { color: var(--text-2); font-size: 1.125rem; max-width: var(--measure); }
.note   { color: var(--text-3); font-size: 0.9375rem; max-width: var(--measure); }
.body-wide { max-width: var(--measure); }
.sub-head {
  color: var(--text-3); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 48px 0 16px;
}

/* small-type legal / provenance lines */
.disclosure, .source-line {
  color: var(--text-3);
  font-size: 0.875rem;
  max-width: 76ch;
  margin-top: 24px;
}

/* --- 4. Header + nav ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
/* .is-scrolled is toggled in main.js */
.site-header.is-scrolled {
  background: rgba(10, 22, 32, 0.94);
  border-bottom-color: var(--hairline);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-family: var(--font-head);
  font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
}
/* The mark is a transparent PNG of the real logo badge; width/height attributes in
   the markup reserve the box, and these rules stop any distortion or squeezing. */
.brand-mark {
  display: block; height: auto; flex: none; flex-shrink: 0;
  object-fit: contain;
}
/* The mark carries fine interior linework (globe grid, three plantings, bar chart,
   encircling arrow). Below ~36px that detail collapses into an illegible blob, so
   the header and footer render it at 40px / 44px using the stroke-thickened
   small-size variant. See README: a properly simplified small mark is worth
   commissioning for favicons and any tight UI. */
.brand-name { font-size: 0.9375rem; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav a {
  color: var(--text-2); text-decoration: none; font-size: 0.9375rem;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--hairline);
  border-radius: 8px; width: 42px; height: 38px; cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--text);
  margin: 0 auto; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after  { position: absolute; top: 6px; }

/* --- 5. Buttons, links, focus ------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 8px;
  font-family: var(--font-head); font-size: 0.9375rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
/* Teal fill + Deep Ink text — 8.4:1. Never white text here. */
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: var(--teal-deep); color: var(--ink); }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 10px 16px; }

.link-arrow { color: var(--text-2); text-decoration: none; font-size: 0.9375rem; }
.link-arrow:hover { color: var(--teal); }

a { color: var(--teal); }
a:hover { color: var(--teal-deep); }

/* Visible focus ring everywhere — Teal Deep, 6.1:1 on Deep Ink */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- 6. Hero + framed product screenshots ------------------------------ */
.hero {
  /* the one permitted gradient: Deep Ink -> Navy Surface wash */
  background: linear-gradient(170deg, #0A1620 0%, #0F2430 100%);
  padding: 72px 0 96px;
}
/* Editorial split: headline left, supporting copy and CTAs right. Keeps the
   headline at a strong display size without leaving half the row empty. */
.hero-copy {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end;
}
.hero-copy .eyebrow { grid-column: 1 / -1; }
.hero h1 { max-width: 20ch; margin: 0; }
.hero-support { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.lede {
  font-size: 1.1875rem; color: var(--text-2);
  max-width: 46ch; margin: 0;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Framed product / documentary screenshots. One treatment, reused by the hero,
   the product section, and the Loudoun County aerial: hairline border, 10px
   radius, clipped corners, a soft drop shadow, and a faint teal inset top edge
   so the frame reads as an interface surface rather than a floating rectangle.
   All screenshots are dark-UI, so they sit directly on the page background. */
.shot { margin: 0; }
/* The hero screenshot runs the full content measure so the interface is readable.
   At 480px wide (the old side-by-side layout) the KPI row and detail panel were
   illegible, which undercut the whole point of shipping a real screenshot.
   Declared after `.shot` so the reset does not win on source order. */
.shot-hero { margin-top: 64px; }
.shot-frame {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(34, 196, 182, 0.16);
}
.shot-frame img { display: block; width: 100%; height: auto; }
/* Light-UI screenshot variant. Every other screenshot on the page is dark, so the
   base frame assumes it: a Navy Surface backing and a faint teal inset top edge.
   Against a white interface that teal reads as a stray glow, so it is removed here.
   The hairline goes light instead of dark (a dark border on white just looks like a
   1px gap) and the shadow deepens, which keeps a bright panel from appearing pasted
   onto Deep Ink rather than sitting on it. */
.shot-frame--light {
  background: #FFFFFF;
  border-color: rgba(245, 250, 251, 0.22);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}
.shot figcaption {
  margin-top: 12px; font-size: 0.8rem; color: var(--text-3);
  max-width: 76ch;
}
/* in-flow figures inside a section (product, why-now) need vertical rhythm */
.shot-block { margin: 32px 0 0; }
.shot-lead { color: var(--text-2); max-width: var(--measure); margin: 40px 0 0; }

/* --- 7. Stats, quote, cards -------------------------------------------- */
.stat-band {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap); margin-top: 40px;
}
.stat {
  background: var(--ink); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 22px;
}
.stat-figure {
  font-family: var(--font-head); color: var(--text);
  font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 600;
  line-height: 1.05; margin: 0 0 10px; letter-spacing: -0.02em;
}
.stat-figure-lg { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-top: 28px; }
.stat-label { color: var(--text-2); font-size: 0.9375rem; margin: 0; }

.pull-quote {
  margin: 56px 0 0;
  font-family: var(--font-head); color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.3; max-width: 34ch;
  border-left: 2px solid var(--teal); padding-left: 24px;
}

.cards { display: grid; gap: var(--gap); margin-top: 40px; }
.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--ink); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .18s ease, background .18s ease;
}
.card:hover { border-color: var(--teal-deep); background: var(--raised); }
.card p { color: var(--text-2); font-size: 0.9375rem; margin: 0; }
/* Card 3 — most differentiated claim. Provenance Gold use #1 of 2. */
.card-featured { border-left: 3px solid var(--gold); }

/* --- 8. Inline SVG diagram styling ------------------------------------- */
.diagram { margin: 40px 0 0; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption {
  color: var(--text-3); font-size: 0.875rem;
  margin-top: 20px; max-width: 76ch;
}
/* the narrow variant is hidden until the 768px breakpoint swaps them
   (selector matches `.diagram svg` specificity so the swap actually wins) */
.diagram svg.diagram-v { display: none; }

/* SVG text is real text: selectable, indexable, and styled here */
.diagram text { font-family: var(--font-body); }
.d-kicker {
  fill: var(--teal); font-size: 15px; font-weight: 700; letter-spacing: 0.1em;
  font-family: var(--font-head);
}
.d-body        { fill: var(--text-2); font-size: 14px; }
.d-num         { fill: var(--teal); font-size: 15px; font-weight: 700; }
.d-num-crit    { fill: var(--coral); }
.d-stage-label {
  fill: var(--text); font-size: 17px; font-weight: 600; font-family: var(--font-head);
}
.d-stage-label-crit { fill: var(--coral); }
.d-arrow { fill: var(--text-3); font-size: 20px; }

.d-layer-num {
  fill: var(--text-3); font-size: 20px; font-weight: 700; font-family: var(--font-head);
}
.d-layer-num-base { fill: var(--teal); }
.d-layer-name {
  fill: var(--text); font-size: 17px; font-weight: 600; font-family: var(--font-head);
}
.d-layer-seed { fill: var(--text-3); font-size: 14px; font-style: italic; }
.d-layer-q { fill: var(--text-2); font-size: 14px; }

/* --- 9. Traction, team ------------------------------------------------- */
.traction-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px; align-items: start;
}
.traction-stat .stat-label { max-width: 40ch; }
.traction-groups { display: grid; gap: 32px; }
.group h3 {
  color: var(--text-3); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.name-list li { color: var(--text); padding: 5px 0; font-size: 1rem; }
.name-note, .group-lead-note { color: var(--text-3); font-size: 0.8125rem; }
.name-list-inline {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.name-list-inline li { padding: 3px 0; color: var(--text-2); }
/* Provenance Gold use #2 of 2 — NSF SBIR Phase I emphasis. */
.group-lead { margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tag-gold {
  color: var(--gold); border: 1px solid var(--gold); border-radius: 4px;
  padding: 3px 9px; font-size: 0.875rem; font-weight: 600;
}

.founder {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px; margin-top: 36px;
  background: var(--ink); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 30px 28px;
}
.founder-name {
  font-family: var(--font-head); color: var(--text);
  font-size: 1.375rem; font-weight: 600; margin: 0 0 6px;
}
.founder-role { color: var(--teal); font-size: 0.9375rem; margin: 0 0 10px; }
.founder-links { margin: 0; font-size: 0.9375rem; }
.founder-bio { color: var(--text-2); margin: 0; }
/* Only the founder has a portrait. It sits beside her name block inside the
   left column, so the existing two-column .founder grid is untouched and the
   layout still collapses cleanly to one column under 768px. */
.founder-id { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.founder-portrait {
  display: block; width: 100%; max-width: 150px; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover;
  border: 1px solid var(--hairline); border-radius: 8px;
  flex: none;
}
.founder-id-text { min-width: 12ch; flex: 1 1 180px; }

.people {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px var(--gap);
}
.person { border-top: 1px solid var(--hairline); padding-top: 18px; }
.person-photo {
  display: block; width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--hairline); margin-bottom: 14px;
  background: var(--raised);
}
/* Initials tile for people without a portrait yet. Teal on teal-wash passes AA
   for large text, and keeps the product accent rather than inventing a new one. */
.person-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-wash); color: var(--teal);
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.person-name { display: block; color: var(--text); font-weight: 600; font-size: 0.9375rem; }
.person-role { display: block; color: var(--teal); font-size: 0.8125rem; margin-top: 2px; }
.person-bio { color: var(--text-2); font-size: 0.875rem; line-height: 1.55; margin: 10px 0 0; }
.advisors {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px var(--gap);
}
.advisors li { border-top: 1px solid var(--hairline); padding-top: 12px; }
.advisors .person-role { color: var(--text-3); }
.people + .sub-head { margin-top: 48px; }
@media (max-width: 1024px) {
  .people, .advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .people { grid-template-columns: 1fr; }
  .person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; }
  .person-photo { width: 64px; height: 64px; margin-bottom: 0; }
}
/* the team heading is the longest on the page; let it use more measure */
#team h2 { max-width: 32ch; }

/* --- 10. Close + investor form + footer band --------------------------- */
.close-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px; align-items: start;
}
.close-contact {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px;
}
.mail-link { color: var(--text-2); text-decoration: none; font-size: 0.9375rem; }
.mail-link:hover { color: var(--teal); }
/* The tagline appears exactly twice on the page: here and in the footer.
   Never in the hero — the hero headline is the commercial positioning line. */
.tagline-quiet {
  color: var(--sage); font-family: var(--font-head);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 24px 0 0;
}

.gate {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px;
}
.gate h3 { margin-bottom: 8px; font-size: 1.125rem; }
.gate-note { color: var(--text-3); font-size: 0.875rem; }
.gate-label {
  display: block; color: var(--text-2); font-size: 0.8125rem;
  margin: 18px 0 6px; font-weight: 600;
}
.gate-input {
  width: 100%; padding: 12px 14px; margin-bottom: 14px;
  background: var(--ink); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 8px;
  font: inherit; font-size: 0.9375rem;
}
.gate-input::placeholder { color: var(--text-3); }
.gate-status { color: var(--spring); font-size: 0.875rem; margin: 12px 0 0; min-height: 1.4em; }
.gate-status[data-state="error"] { color: var(--amber); }

/* Terre Green band: the only green surface on the page. The band uses
   --terre-band (#254739, a deeper shade of the brand green #34664D). */
.site-footer { background: var(--terre-band); padding: 48px 0 24px; }
.footer-grid {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-brand .brand-mark { color: var(--text); }
.footer-brand .brand { color: var(--text); }
/* Official tagline, set like the logo lockup: uppercase, widely tracked, small. */
.footer-tagline {
  color: var(--text-2); font-family: var(--font-head);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 10px 0 0;
}
/* Body copy on the footer band uses --text-2 (6.68:1). Sage would fail 4.5:1 here. */
.footer-desc { color: var(--text-2); font-size: 0.9375rem; margin: 10px 0 0; max-width: 40ch; }
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { color: var(--text); text-decoration: none; font-size: 0.9375rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid rgba(245, 250, 251, 0.18);
}
.footer-legal p { color: var(--text-2); font-size: 0.8125rem; margin: 0; }

/* --- 11. Motion: fade-and-rise on section entry only ------------------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* --- 12. Responsive ---------------------------------------------------- */
@media (max-width: 1024px) {
  .traction-grid, .close-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
  .hero h1 { max-width: 24ch; }
  .shot-hero { margin-top: 44px; }
  .site-nav ul { gap: 18px; }
  .site-header .brand-name { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  h2 { max-width: 26ch; }

  /* nav collapses; the CTA stays visible */
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .site-header .brand-name { display: inline; }
  /* keep the persistent CTA on one line so the header never grows two rows tall */
  .header-cta {
    order: 2; margin-left: auto;
    white-space: nowrap; font-size: 0.8125rem; padding: 9px 13px;
  }
  /* wrap is what lets the open menu drop onto its own row below the CTA */
  .header-inner { gap: 12px; flex-wrap: wrap; }
  .site-nav {
    order: 4; flex-basis: 100%; margin-left: 0; display: none;
    border-top: 1px solid var(--hairline); padding: 8px 0 14px;
  }
  .site-nav.is-open { display: block; background: var(--ink); }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 10px 2px; }
  .site-header:not(.is-scrolled):has(.site-nav.is-open) { background: rgba(10, 22, 32, 0.97); }

  /* diagrams rotate: vertical variants in, horizontal out */
  .diagram svg.diagram-h { display: none; }
  .diagram svg.diagram-v { display: block; max-width: 420px; }

  .stat-band, .cards-4, .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pull-quote { margin-top: 40px; max-width: 100%; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  /* narrowest phones: the founder portrait shrinks so name + title never wrap
     to a single character column */
  .founder-portrait { max-width: 110px; }
  .header-inner { min-height: 64px; }
  /* narrowest phones: header shows the mark only, so brand + CTA + menu fit
     one row. The footer keeps the full wordmark. */
  .site-header .brand-name { display: none; }
  .hero-actions { gap: 16px; }
}