/* ============================================================
     LGREP - institutional shell, joyful core.
     60: paper/tints + ink · 30: blue #1F4E79 · 10: green #2E7D52
     Depth via opacity steps of existing hues only.
     Type: Newsreader (display) · Archivo (body/UI) · IBM Plex Mono (labels)
     Scale: Major Third 1.25 from 16 → 16 / 20 / 25 / 31 / 39 / 49 / 61
     Grid: 8pt. WCAG AA per brand-dna contrast table.
     ============================================================ */
  :root {
    --ink: #1E293B;
    --blue: #1F4E79;
    --green: #2E7D52;
    --green-light: #8DCEAB;   /* never text on white */
    --green-tint: #D1E8DA;
    --green-wash: #E8F4EE;
    --slate: #64748B;
    --paper: #F7F9FC;

    --step--1: 0.8rem;    /* 12.8 */
    --step-0: 1rem;       /* 16 */
    --step-1: 1.25rem;    /* 20 */
    --step-2: 1.563rem;   /* 25 */
    --step-3: 1.953rem;   /* 31 */
    --step-4: 2.441rem;   /* 39 */
    --step-5: 3.052rem;   /* 49 */
    --step-6: 3.815rem;   /* 61 */

    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --measure: 68ch;
    --content: 1080px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: "Archivo", system-ui, sans-serif;
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, .display {
    font-family: "Newsreader", Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }

  p { text-wrap: pretty; }

  /* h3 and .ask were missed by the h1/h2/.display rule above, which is why
     "(PPEC)", "operators" and "partnerships." each wrapped onto a line of their
     own. Set here rather than folded into that rule, because that rule also
     carries line-height and letter-spacing the team-card h3 must not inherit. */
  h3, .ask { text-wrap: balance; }

  a { color: var(--blue); }
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 2px;
  }

  .skip-link {
    position: absolute; left: -999px; top: 8px;
    background: var(--ink); color: #fff;
    padding: 8px 16px; z-index: 100; text-decoration: none;
  }
  .skip-link:focus { left: 8px; }

  .wrap { max-width: var(--content); margin: 0 auto; padding: 0 24px; }

  /* mono overline label - the deck's strongest motif */
  .overline {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    display: block;
    margin-bottom: 16px;
  }

  /* ---------- header ---------- */
  header {
    background: var(--paper);
    border-bottom: 1px solid rgb(30 41 59 / 12%);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 24px;
    max-width: var(--content); margin: 0 auto;
  }
  /* The wordmark is 4.83:1 and must never be the item flexbox squeezes.
     Measured 2026-08-27: min-width:0 + max-width:100% collapsed it to 12px. */
  .wordmark { flex-shrink: 0; }
  nav.primary { flex-shrink: 0; }
  .wordmark {
    text-decoration: none; color: var(--ink); line-height: 1.1;
    display: flex; align-items: center; gap: 14px;
  }
  /* Fluid sizing (Kat asked for larger logos, 2026-08-27). The wordmark is
     4.83:1, so height drives width hard; clamp keeps desktop generous and
     narrow screens safe without a breakpoint cliff. */
  .wordmark .mark { display: block; height: clamp(32px, 3.6vw, 52px); width: auto; }
  /* Shawn's wordmark art, traced 1:1 to SVG (2026-08-26) - the lockup IS the wordmark */
  .wordmark .wm-lockup { display: block; height: clamp(34px, 3.9vw, 56px); width: auto; }
  nav.primary { display: flex; align-items: center; gap: 32px; }
  /* :not(.btn) on both the base and hover rules. `nav.primary a` is (0,1,2)
     and `.btn` is (0,1,0), so without it the nav's green pill inherited ink
     for its label and rendered dark-blue-on-green. Same class of bug as the
     aria-current rule below. */
  nav.primary a:not(.btn) {
    font-size: 0.875rem; font-weight: 500;
    color: var(--ink); text-decoration: none;
  }
  nav.primary a.btn { font-size: 0.875rem; font-weight: 600; }
  /* :not(.btn) for the same reason as the aria-current rule below -
     `nav.primary a:hover` (0,2,2) out-specifies `.btn` (0,1,0), so without
     it the nav's green pill turned its own label blue on hover. */
  nav.primary a:not(.btn):hover { color: var(--blue); }
  /* Current-page marker. Excluding .btn matters: this rule out-specifies
     .btn's white text, which rendered the current button's label green on
     green. The button shows "current" with a deeper fill instead. */
  nav.primary a[aria-current="page"]:not(.btn) {
    color: var(--green);
  }
  nav.primary a.btn[aria-current="page"] {
    background: #276a46;
  }

  .btn {
    display: inline-block;
    font-family: "Archivo", sans-serif;
    font-size: var(--step-0); font-weight: 600;
    background: var(--green); color: #fff;
    padding: 12px 28px; border-radius: 999px;
    text-decoration: none; border: none; cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .btn:hover { background: #276a46; }         /* green, one step deeper */
  .btn:active { transform: translateY(1px); }
  .btn.small { font-size: 0.875rem; padding: 8px 16px; }

  /* ---------- hero: full-bleed video, text on an ink scrim ---------- */
  .hero-video {
    position: relative;
    height: 85vh; height: 85svh;
    min-height: 560px;
    display: flex; flex-direction: column; justify-content: flex-end;
    overflow: hidden;
    background: var(--ink);
  }
  .hero-media { position: absolute; inset: 0; }
  .hero-media video, .hero-still {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
  }
  .hero-still { transition: opacity 1.1s var(--ease); }
  .hero-still.gone { opacity: 0; }
  /* ink-opacity scrim: bottom band + left wedge keep overlay text ≥4.5:1 even
     over the video's white sketch phase (hand-checked worst case) */
  .hero-scrim {
    position: absolute; inset: 0;
    background:
      linear-gradient(75deg, rgb(30 41 59 / 72%), rgb(30 41 59 / 34%) 46%, rgb(30 41 59 / 0%) 68%),
      linear-gradient(to top, rgb(30 41 59 / 88%), rgb(30 41 59 / 62%) 36%, rgb(30 41 59 / 16%) 66%, rgb(30 41 59 / 0%) 86%);
  }
  .hero-overlay { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; }
  .hero-overlay .overline { color: var(--green-light); }
  .hero-overlay h1 {
    color: #fff;
    font-size: clamp(var(--step-5), 5vw, 4.5rem);
    max-width: 17ch;
  }
  .hero-overlay h1 em {
    font-style: italic; font-weight: 500; color: var(--green-light);
  }
  .hero-overlay .sub {
    color: rgb(255 255 255 / 94%);
    font-size: 1.063rem; line-height: 1.65;
    max-width: 54ch; margin-top: 20px;
  }
  .hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .hero-actions .quiet {
    font-weight: 500; font-size: var(--step-0); color: #fff;
  }
  .hero-tb { position: absolute; right: 24px; bottom: 24px; z-index: 2; }
  .hero-proofbar { padding: 28px 0 0; }
  .hero-proofbar .proof {
    color: var(--slate); font-size: 0.875rem; max-width: 66ch;
  }

  .title-block {
    background: rgb(247 249 252 / 94%);
    border: 1px solid rgb(30 41 59 / 20%);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex; flex-direction: column; gap: 2px;
  }
  .title-block .tb-tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.688rem; font-weight: 500; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--green);
  }
  .title-block .tb-note {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.688rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--slate);
  }

  /* plat figure - the land signature */
  .plat { width: 100%; height: auto; display: block; }
  .plat text {
    font-family: "IBM Plex Mono", monospace;
    font-size: 8.5px; letter-spacing: 0.08em;
  }
  figure.plat-frame { position: relative; }
  figure.plat-frame figcaption {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.688rem; letter-spacing: 0.1em;
    color: var(--slate); text-transform: uppercase;
    margin-top: 12px; text-align: right;
  }

  /* ---------- sections ---------- */
  section { padding: 96px 0; }
  section h2 { font-size: var(--step-4); max-width: 24ch; }
  .lede {
    font-size: var(--step-1); line-height: 1.6;
    max-width: var(--measure); margin-top: 24px;
  }
  .body-copy { max-width: var(--measure); margin-top: 16px; }

  /* sectors - wash bands carry a quiet contour ghost (the blue band's plat stays loudest) */
  .band-wash { background: var(--green-wash); position: relative; overflow: hidden; }
  .band-wash > .wrap { position: relative; }
  .wash-lines {
    position: absolute; right: -60px; bottom: -32px;
    width: 640px; height: auto;
    pointer-events: none;
  }
  .cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 56px;
  }
  .card {
    background: transparent;
    padding: 0;
  }
  /* drawing-sheet windows: rectangles carry drawings; the arch is reserved for people */
  .card-window {
    aspect-ratio: 4 / 3;
    background: var(--paper);
    border: 1px solid rgb(30 41 59 / 10%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
  }
  .card-window svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .plan text {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px; letter-spacing: 0.08em;
    fill: #1E293B; fill-opacity: 0.7;
  }
  .plan text[fill] { fill: #2E7D52; fill-opacity: 0.95; }

  /* photo primary, plan secondary: chip always visible, full plan on hover/focus */
  .sector-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
  }
  .photo-tag {
    position: absolute; top: 10px; left: 10px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--slate);
    background: rgb(247 249 252 / 92%);
    border: 1px solid rgb(30 41 59 / 16%);
    border-radius: 6px; padding: 4px 8px;
  }
  .plan-chip {
    position: absolute; right: 10px; bottom: 10px;
    width: 34%; aspect-ratio: 4 / 3;
    background: rgb(247 249 252 / 94%);
    border: 1px solid rgb(30 41 59 / 20%);
    border-radius: 8px; overflow: hidden;
    transition: opacity 0.4s var(--ease);
  }
  .plan-chip svg { display: block; width: 100%; height: 100%; }
  .plan-layer {
    position: absolute; inset: 0;
    background: var(--paper);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
  }
  .card-window:hover .plan-layer,
  .card-window:focus-within .plan-layer { opacity: 1; }
  .card-window:hover .plan-chip { opacity: 0; }
  .card h3 {
    font-size: var(--step-1); font-weight: 600; line-height: 1.3;
    font-family: "Archivo", sans-serif;
  }
  .card .mono-tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.688rem; letter-spacing: 0.14em;
    color: var(--green); text-transform: uppercase;
    display: block; margin-bottom: 12px;
  }
  .card p { margin-top: 12px; font-size: 0.938rem; color: var(--ink); }

  /* what we do - numbered ledger rows */
  .ledger { margin-top: 56px; border-top: 1px solid rgb(30 41 59 / 12%); }
  .ledger-row {
    display: grid; grid-template-columns: 88px minmax(0,2fr) minmax(0,3fr);
    gap: 32px; padding: 32px 0;
    border-bottom: 1px solid rgb(30 41 59 / 12%);
  }
  .ledger-row .num {
    font-family: "IBM Plex Mono", monospace;
    font-size: var(--step-0); color: var(--blue);
  }
  .ledger-row h3 {
    font-family: "Newsreader", Georgia, serif;
    font-weight: 500; font-size: var(--step-2); line-height: 1.2;
  }
  .ledger-row p { color: var(--ink); max-width: 52ch; }
  /* At 390 this paragraph runs to five lines and Chromium's `pretty` only
     reflows the last few, so "partnerships." was left stranded on its own line.
     `balance` evens the whole block instead; it is capped at six lines, which
     this clears. Scoped to the narrow breakpoint because the wider columns wrap
     in three lines or fewer, where `pretty` already does the right thing. */
  @media (max-width: 560px) {
    .ledger-row p { text-wrap: balance; }
  }

  /* tagline reveal - the one joyful beat */
  .tagline { padding: 128px 0; text-align: left; }
  .tagline .display {
    font-size: clamp(var(--step-3), 4.4vw, var(--step-5));
    font-style: italic; font-weight: 500;
    max-width: 26ch; line-height: 1.25;
  }
  .tagline .display .w {
    opacity: 0.25;
    transition: opacity 0.7s var(--ease);
  }
  .tagline .display .w.on { opacity: 1; }
  .tagline .attrib {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.813rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--green); margin-top: 32px; display: block;
  }

  /* why - the blue structural panel, plat lines surveyed across it */
  .band-blue { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
  .band-blue .wrap { position: relative; }
  .band-plat {
    position: absolute; right: -48px; top: 50%;
    height: 130%; width: auto; transform: translateY(-50%);
    pointer-events: none;
  }
  .band-blue .overline { color: var(--green-light); }
  .band-blue h2 { color: #fff; }
  .why-list {
    list-style: none; margin-top: 48px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 48px;
  }
  .why-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    display: flex; gap: 16px; align-items: baseline;
  }
  .why-list .tick {
    font-family: "IBM Plex Mono", monospace;
    color: var(--green-light); font-size: 0.875rem; flex: none;
  }

  /* partner band */
  .partner-cols {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 56px;
  }
  .partner-cols h3 {
    font-family: "Newsreader", Georgia, serif;
    font-weight: 600; font-size: var(--step-1);
  }
  .partner-cols p { margin-top: 12px; font-size: 0.938rem; }
  .partner-cta {
    margin-top: 64px; padding: 40px 0 0;
    border-top: 1px solid rgb(30 41 59 / 12%);
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
  }
  .partner-cta .ask {
    font-family: "Newsreader", Georgia, serif;
    font-size: var(--step-2); font-weight: 500; max-width: 24ch; line-height: 1.25;
  }

  /* footer */
  footer { background: var(--ink); color: #fff; padding: 64px 0; }
  .footer-grid {
    display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    align-items: flex-start;
  }
  footer .wordmark .mark { height: clamp(34px, 4.2vw, 60px); }
  footer .wordmark .wm-lockup { height: clamp(40px, 4.6vw, 66px); }
  /* wrap: at 320px five links in one row overflow the document by 16px
     (measured 2026-08-28, tools/diagnose-overflow.mjs) */
  footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
  footer a { color: #fff; font-size: 0.875rem; text-decoration: none; }
  footer a:hover { text-decoration: underline; }
  footer .legal {
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid rgb(255 255 255 / 18%);
    font-size: 0.813rem; color: rgb(255 255 255 / 65%);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  }
  footer .legal .mono {
    font-family: "IBM Plex Mono", monospace; letter-spacing: 0.08em;
  }

  /* scroll reveal - gated on the .js root class so content is never hidden
     without JavaScript (print, readers, script failure) */
  .js .reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .js .reveal.in { opacity: 1; transform: translateY(0); }

  ::selection { background: rgb(46 125 82 / 22%); }
  .band-blue ::selection, footer ::selection { background: rgb(141 206 171 / 35%); }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* `.js .reveal` (0,2,0) out-specified the bare `.reveal` here, so the 0.8s
       reveal still ran for users who asked for reduced motion (found in the
       9/04 review, predates the visual pass). */
    .reveal, .js .reveal, .tagline .display .w { opacity: 1; transform: none; transition: none; }
  }

  /* responsive */
  @media (max-width: 880px) {
    section { padding: 56px 0; }
    .tagline { padding: 80px 0; }
    .hero-video { height: 78svh; min-height: 480px; }
    .hero-overlay { padding-bottom: 48px; }
    .hero-overlay h1 { font-size: var(--step-4); }
    .hero-overlay .overline { font-size: 0.75rem; }
    .hero-overlay .overline::before { display: none; }
    .hero-tb { top: 12px; right: 12px; bottom: auto; }
    .title-block { padding: 8px 12px; }
    .cards, .partner-cols { grid-template-columns: 1fr; }
    .why-list { grid-template-columns: 1fr; }
    .ledger-row { grid-template-columns: 56px 1fr; }
    .ledger-row p { grid-column: 2; }
    nav.primary { gap: 20px; }
    nav.primary .nav-link { display: none; }
    .wordmark { gap: 10px; }
  }

/* ---------- team (about.html) ---------- */
.page-intro { padding: 96px 0 64px; }
.page-intro h1 { font-size: clamp(var(--step-3), 4.5vw, var(--step-5)); max-width: 20ch; }
.page-intro .lede { margin-top: 24px; }
.about-copy { max-width: var(--measure); }
.about-copy p + p { margin-top: 16px; }

.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px; margin-top: 56px;
}
.person .headshot {
  aspect-ratio: 4 / 5;
  background: var(--green-wash);
  border: 1px solid rgb(30 41 59 / 12%);
  border-radius: 120px 120px 16px 16px;
  overflow: hidden;
}
/* the portrait fills the doorway; crops are already 4:5 so centre is exact */
.person .headshot img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover; object-position: 50% 50%;
}
.person .headshot.is-pending {
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  position: relative;
}
/* a designed placeholder, not a hole: initials set in the display face,
   with the same doorway the portraits sit in */
.person .headshot .monogram {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600; font-size: clamp(3rem, 6vw, 4.25rem);
  letter-spacing: 0.04em;
  color: var(--green); opacity: 0.32;
  padding-bottom: 12%;
}
.person .headshot .pending {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.688rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate);
}
.person h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600; font-size: var(--step-1);
  margin-top: 20px;
}
.person .title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  display: block; margin-top: 6px;
}
.person .bio { margin-top: 12px; font-size: 0.938rem; }
.person .bio.placeholder { color: var(--slate); font-style: italic; }

@media (max-width: 880px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  /* one column: a full-width 4:5 portrait becomes a poster and the section
     turns into six screens of scroll. Cap it and ease the doorway radius. */
  .person .headshot { max-width: 232px; border-radius: 88px 88px 12px 12px; }
  .person .headshot .monogram { font-size: 2.75rem; }
}

/* ---------- shape language (2026-08-25 direction: industrial × organic, corporate) ---------- */
/* Gentle full-width section curves - subtle, not wellness domes */
.dome-top { border-radius: 50% 50% 0 0 / 40px 40px 0 0; }
.bowl-bottom { border-radius: 0 0 50% 50% / 0 0 40px 40px; }

/* Overline dash - hairline before the label */
.overline::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px;
  background: currentColor; opacity: 0.6;
  vertical-align: middle; margin-right: 12px;
}

/* Soft radii on remaining rectangles */
.card-window, .person .headshot { box-shadow: none; }
.why-list li { border-radius: 0; }
figure.plat-frame .plat-clip { border-radius: 20px; overflow: hidden; display: block; }

/* Hairline with center tick - section punctuation (Uplifted nuance) */
.rule-tick {
  border: none; height: 1px;
  background: rgb(30 41 59 / 12%);
  position: relative; margin: 0;
}
.rule-tick::after {
  content: ""; position: absolute;
  left: 50%; top: -2px; width: 5px; height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--green);
}

@media (max-width: 880px) {
  .dome-top { border-radius: 50% 50% 0 0 / 20px 20px 0 0; }
  .bowl-bottom { border-radius: 0 0 50% 50% / 0 0 20px 20px; }
  .card-window { border-radius: 12px; }
}

/* about page: CTA band composed with the footer - blue curves in from the
   paper above, meets the ink footer on a straight seam (no stacked curves) */
.cta-band { overflow: hidden; }
.cta-band .partner-cta.cta-flat {
  border-top: none; padding-top: 0; margin-top: 0;
}
.cta-band .ask { color: #fff; }

/* about page: plat figure clip */
.plat-clip { display: block; }
.plat-clip img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* about page: copy + plat figure */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 64px; align-items: start;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* reduced motion: the still photo IS the hero; the video never shows */
@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
  .hero-still { transition: none; }
}

/* ---------- contact form (2026-08-27) - built from existing tokens only ---------- */
  .form-grid {
    margin-top: 40px; display: grid; gap: 20px;
    grid-template-columns: 1fr 1fr; max-width: 720px;
  }
  .field { display: flex; flex-direction: column; gap: 8px; }
  .field.wide { grid-column: 1 / -1; }
  .field label {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--slate);
  }
  .field .req { color: var(--green); }
  .field input, .field select, .field textarea {
    font-family: 'Archivo', system-ui, sans-serif; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid rgb(30 41 59 / 18%); border-radius: 8px;
    padding: 12px 14px; width: 100%;
    transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
  }
  .field textarea { min-height: 148px; resize: vertical; }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgb(31 78 121 / 14%);
  }
  .field input:invalid:not(:placeholder-shown) { border-color: rgb(180 60 60 / 60%); }
  .form-actions {
    grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  }
  .form-note { font-size: 0.875rem; color: var(--slate); max-width: 52ch; }
  .form-status {
    grid-column: 1 / -1; border-radius: 8px; padding: 14px 16px; font-size: 0.938rem;
  }
  .form-status[hidden] { display: none; }
  .form-status.ok { background: var(--green-wash); border: 1px solid var(--green-tint); color: var(--ink); }
  .form-status.bad { background: #FDF2F2; border: 1px solid #F3D2D2; color: var(--ink); }
  .contact-aside { margin-top: 40px; }
  .contact-aside a { color: var(--blue); }
  button.btn { border: none; cursor: pointer; font: inherit; }
  button.btn[disabled] { opacity: 0.55; cursor: progress; }
  @media (max-width: 720px) {
    .form-grid { grid-template-columns: 1fr; }
  }

/* ---------- very narrow phones (2026-08-27) ----------
   Only 320px-class devices. At 360px and up the clamp floor already fits, and
   widening this breakpoint would shrink the logo on ordinary 390px phones. */
  @media (max-width: 359px) {
    .header-inner { padding: 16px; }
    .wordmark { gap: 8px; }
    .wordmark .mark { height: 26px; }
    .wordmark .wm-lockup { height: 28px; }
    footer .wordmark .mark { height: 30px; }
    footer .wordmark .wm-lockup { height: 34px; }
  }

/* ---------- 2026-09-04 visual pass (four items, staging) ---------- */

/* 1. The two blocks inside the Who-we-are band sat back to back: the lede ran
   straight into the next overline at every width. */
#about > .wrap > .reveal + .reveal { margin-top: 80px; }
@media (max-width: 880px) { #about > .wrap > .reveal + .reveal { margin-top: 56px; } }

/* 2. The three concept interiors as one series. Grayscale, then shadows lifted
   toward the blue (screen) and highlights pulled toward the mint tint
   (multiply): a duotone in the two brand hues. The tag, plan chip and hover
   plan sit above the treatment. Where blend modes are unsupported the photo
   still renders, only grayscale. */
.card-window { isolation: isolate; }
.card-window .sector-photo { filter: grayscale(1) contrast(1.06) brightness(1.03); }
.card-window::before, .card-window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  display: none;
}
/* The tint layers only exist where blend modes do; without this gate a
   browser that ignored mix-blend-mode would paint the opaque mint over the
   photo instead of falling back to grayscale (Codex review 9/04, #4). */
@supports (mix-blend-mode: screen) and (mix-blend-mode: multiply) {
  .card-window::before, .card-window::after { display: block; }
}
.card-window::before { background: var(--blue); mix-blend-mode: screen; }
.card-window::after  { background: var(--green-tint); mix-blend-mode: multiply; }
.card-window .photo-tag, .card-window .plan-chip { z-index: 2; }
.card-window .plan-layer { z-index: 3; }
/* The chip's 92% paper let the multiplied photo through and the slate label
   measured 4.0-4.4:1, under AA. Opaque paper and ink text: >12:1 (review #3). */
.card-window .photo-tag { color: var(--ink); background: var(--paper); }
/* Forced-colors mode swaps both tint backgrounds for the system Canvas colour
   but keeps the blend modes, which painted every photo window solid black in
   a dark scheme (review #2). Plain photo there. */
@media (forced-colors: active) {
  .card-window::before, .card-window::after { display: none; }
  .card-window .sector-photo { filter: none; }
}

/* 3. Interior page intros carry the plat signature from the home page: the
   same survey rectangle, lot lines, one green parcel and contours, drawn at
   hairline opacity behind the heading and faded out toward the text. */
.page-intro { position: relative; overflow: hidden; }
.page-intro .wrap { position: relative; z-index: 1; }
.page-intro::before {
  content: ""; position: absolute; pointer-events: none;
  right: -40px; top: 50%; transform: translateY(-50%);
  width: min(560px, 60vw); aspect-ratio: 440 / 480;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 440 480'%3E%3Crect x='32' y='40' width='376' height='400' fill='none' stroke='%231F4E79' stroke-width='1.5' stroke-opacity='0.3'/%3E%3Cg stroke='%231F4E79' fill='none' stroke-opacity='0.16'%3E%3Cline x1='32' y1='152' x2='408' y2='152'/%3E%3Cline x1='32' y1='264' x2='408' y2='264'/%3E%3Cline x1='32' y1='352' x2='408' y2='352'/%3E%3Cline x1='176' y1='40' x2='176' y2='264'/%3E%3Cline x1='288' y1='152' x2='288' y2='440'/%3E%3Cline x1='120' y1='264' x2='120' y2='440'/%3E%3C/g%3E%3Crect x='176' y='152' width='112' height='112' fill='%232E7D52' fill-opacity='0.12'/%3E%3Crect x='176' y='152' width='112' height='112' fill='none' stroke='%232E7D52' stroke-opacity='0.55' stroke-width='1.5'/%3E%3Cg stroke='%232E7D52' fill='none' stroke-width='1.2'%3E%3Cpath d='M0 310C70 282 150 330 230 302S370 252 440 272' stroke-opacity='0.3'/%3E%3Cpath d='M0 348C84 316 158 366 246 336S378 292 440 310' stroke-opacity='0.2'/%3E%3Cpath d='M0 386C92 352 170 402 258 372S384 330 440 348' stroke-opacity='0.12'/%3E%3C/g%3E%3Cg transform='translate(388 84)' stroke='%231E293B' fill='none' stroke-opacity='0.45'%3E%3Ccircle r='12'/%3E%3Cline x1='0' y1='8' x2='0' y2='-8'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
  mask-image: linear-gradient(to left, #000 55%, transparent);
}
@media (max-width: 880px) {
  .page-intro::before { width: 72vw; right: -18vw; opacity: 0.7; }
}
/* At phone widths the heading spans nearly the full column and the drawing
   ran behind "children's healthcare" (measured at 320 and 390 in Chromium and
   Firefox, review #1). No opacity value fixes an overlap; the drawing is
   desktop and tablet only. */
@media (max-width: 560px) {
  .page-intro::before { display: none; }
}

/* 4a. At phone widths the concept-study tag sat over the top of the drawing.
   It now follows the hero actions, and the hero grows to fit instead of
   clipping. */
@media (max-width: 560px) {
  .hero-video { height: auto; min-height: 78svh; }
  .hero-overlay { padding-bottom: 20px; }
  .hero-tb {
    position: static; z-index: 2;
    align-self: flex-start; margin: 0 24px 36px;
  }
}

/* 4b. The native dropdown rendered differently per browser; it now matches the
   text inputs, with a chevron in the slate label colour. */
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2364748B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* V4: six visible destinations, including on touch screens. */
.header-inner { max-width: 1248px; }
nav.primary { gap: 24px; }
nav.primary a { white-space: nowrap; }
footer nav { display: grid; grid-template-columns: repeat(3, max-content); gap: 16px 32px; }
footer a:focus-visible, .band-blue a:focus-visible { outline-color: var(--green-light); }
.hero-overlay h1 { max-width: 20ch; }
/* The larger V4 text area needs a guaranteed contrast floor over every frame. */
.hero-scrim { background: linear-gradient(90deg, rgb(30 41 59 / 88%), rgb(30 41 59 / 78%) 85%, rgb(30 41 59 / 60%)); }
.about-v4 { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.about-v4-copy p + p { margin-top: 24px; }
.built-band { margin: 64px auto 0; }
.built-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.built-photos img { display: block; width: 100%; max-width: 512px; height: auto; border-radius: 16px; }
.built-band figcaption { margin-top: 16px; font-family: "IBM Plex Mono", monospace; font-size: var(--step--1); color: var(--blue); }
.solution-copy { min-width: 0; }
.solution-copy .question { font-weight: 600; margin-bottom: 12px; }
.serve-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 32px; margin-top: 48px; }
.care-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; aspect-ratio: 4 / 3; margin-bottom: 24px; }
.care-images .card-window { aspect-ratio: auto; height: 100%; margin-bottom: 0; }
.care-images .plan-chip { width: 48%; }
.care-models { list-style: none; margin-top: 24px; }
.care-models li { padding: 12px 0; border-top: 1px solid rgb(30 41 59 / 12%); font-size: 0.938rem; }
.care-models strong { display: block; }
.children-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: 32px; padding: 32px; background: var(--paper); border-left: 4px solid var(--green); border-radius: 0 16px 16px 0; }
.children-card h3 { color: var(--blue); font-family: "Newsreader", Georgia, serif; font-size: var(--step-3); font-weight: 500; }
.children-card p { margin-top: 0; }
#team { padding-top: 32px; }
#team .team-grid { margin-top: 0; }
@media (max-width: 1100px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  nav.primary { width: 100%; justify-content: space-between; gap: 16px; }
  nav.primary .nav-link { display: inline-block; }
}
@media (max-width: 880px) {
  .about-v4 { grid-template-columns: 1fr; gap: 24px; }
  .solution-copy { grid-column: 2; }
  .serve-grid { gap: 32px 24px; }
  .children-card { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 560px) {
  .header-inner { padding: 16px 24px; gap: 16px; }
  nav.primary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
  nav.primary a:not(.btn) { font-size: 0.75rem; padding: 8px 0; }
  nav.primary a.btn { font-size: 0.75rem; padding: 8px 12px; text-align: center; }
  .hero-overlay { padding-top: 48px; }
  .hero-scrim { background: rgb(30 41 59 / 82%); }
  .built-band { margin-top: 40px; }
  .built-photos, .serve-grid { grid-template-columns: 1fr; }
  .children-card { padding: 24px; }
  footer nav { gap: 16px 24px; grid-template-columns: repeat(2, max-content); }
  .ledger-row { grid-template-columns: 32px 1fr; gap: 16px; }
}
