/* ==========================================================================
   The Alpha & Omega Foundation — design system
   Charlotte, North Carolina

   Palette, type scale, and components. One stylesheet, no framework.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

/* Palettes. Harbor is the direction being shown as of 3 Aug 2026 and is the
   bare :root default, so anyone opening the site cold sees it. Oxblood was the
   earlier approved direction and remains switchable, as do the other two
   alternates from the plan document. Remove this block and inline the chosen
   values at launch. */
:root,
:root[data-palette="harbor"]{
  --primary:#14233F; --primary-deep:#0E1A30; --accent:#B08D57;
  --ink:#1D1F24; --paper:#FCFCFD; --tint:#EDF0F3;
}
:root[data-palette="oxblood"]{
  --primary:#5C1F26; --primary-deep:#4A171D; --accent:#B8975A;
  --ink:#221E1B; --paper:#FDFCFA; --tint:#F3EEE7;
}
:root[data-palette="evergreen"]{
  --primary:#1F3D34; --primary-deep:#162C26; --accent:#C0883E;
  --ink:#1F211E; --paper:#FBFCFA; --tint:#ECF1EC;
}
:root[data-palette="iron"]{
  --primary:#26344E; --primary-deep:#1B2639; --accent:#8A4B3A;
  --ink:#141619; --paper:#FCFCFC; --tint:#ECEFEF;
}

:root{
  /* Derived from the palette above, so every direction stays consistent. */
  --ink-muted:color-mix(in srgb, var(--ink) 78%, var(--paper));
  --ink-soft:color-mix(in srgb, var(--ink) 62%, var(--paper));
  --rule-accent:color-mix(in srgb, var(--accent) 55%, transparent);
  --rule-hair:color-mix(in srgb, var(--ink) 14%, transparent);
  --rule-reverse:color-mix(in srgb, var(--paper) 24%, transparent);
  /* Accent darkened enough to pass AA as small text. Never use raw --accent
     for type. */
  --accent-text:color-mix(in srgb, var(--accent) 60%, var(--ink));
  --field-bg:color-mix(in srgb, var(--paper) 45%, #fff);
  /* Header band. Four directions, switchable. See the block below. */
  --nav-fg:var(--ink);
  --nav-fg-active:var(--primary);

  /* Type */
  /* Three faces, three jobs, no overlap.
     display  — Archivo, condensed black caps. The shout. Hero only.
     serif    — Newsreader. The family's voice: setup lines, quotes, the Legacy
                narrative. Real editorial character and a genuine italic, which
                is the role a neutral text serif could not fill.
     sans     — Libre Franklin. Everything functional: body, nav, labels,
                buttons, figures. It is meant to disappear. */
  --serif:"Newsreader","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:"Libre Franklin","Franklin Gothic Book","Franklin Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  /* Display face for the hero only. Variable width axis, so the condensation
     can be dialled rather than accepted from a static cut. */
  --display:"Archivo","Helvetica Neue Condensed","Arial Narrow",var(--sans);

  --t-label:.6875rem;
  --t-small:.8125rem;
  --t-body:1.0625rem;
  --t-lead:clamp(1.125rem,.98rem + .55vw,1.3125rem);
  --t-h3:clamp(1.1875rem,1.05rem + .55vw,1.5rem);
  --t-h2:clamp(1.625rem,1.24rem + 1.6vw,2.5rem);
  --t-h1:clamp(2.125rem,1.55rem + 2.4vw,3.5rem);
  --t-display:clamp(2.5rem,1.6rem + 3.8vw,5rem);
  --t-figure:clamp(2.25rem,1.8rem + 1.9vw,3.5rem);

  /* Space */
  --gutter:clamp(1.25rem,4.5vw,3.5rem);
  /* Left edge of the container, usable outside .wrap */
  --page-pad:max(var(--gutter), calc((100vw - 72rem) / 2));
  /* Header height, composed from the same tokens the header itself uses:
     logo height + padding top and bottom + the 1px rule. No JS involved. */
  --nav-logo-h:clamp(2.375rem,4.6vw,3.25rem);
  --nav-pad:clamp(.85rem,1.8vw,1.15rem);
  --nav-h:calc(var(--nav-logo-h) + var(--nav-pad) * 2 + 1px);
  --sp-section:clamp(3.25rem,7vw,6rem);
  --sp-section-lg:clamp(4rem,9vw,8rem);
  --measure:34rem;
  --measure-wide:44rem;
}



/* --- Header band directions --------------------------------------------- */
/* A. Paper: no band. Editorial default, a hairline does all the work.
   B. Stone: warm neutral band, dark mark. Quiet, no hue clash.
   C. Deep: solid footer colour, reversed mark. Strongest bookend.
   D. Ink: near-black band, reversed mark. Neutral and authoritative. */

:root,
[data-header="paper"]{
  --ribbon-top:var(--paper); --ribbon-bot:var(--paper);
  --ribbon-glass:var(--paper);
  --ribbon-edge:var(--rule-hair);
}
[data-header="stone"]{
  --ribbon-top:color-mix(in srgb, var(--tint) 74%, var(--ink));
  --ribbon-bot:color-mix(in srgb, var(--tint) 82%, var(--ink));
  --ribbon-glass:var(--paper);
  --ribbon-edge:color-mix(in srgb, var(--ink) 18%, transparent);
}
[data-header="deep"]{
  --nav-solid-floor:.44;
  --ribbon-top:var(--primary); --ribbon-bot:var(--primary-deep);
  --ribbon-glass:var(--primary);
  --nav-fg:color-mix(in srgb, var(--paper) 80%, var(--primary));
  --nav-fg-active:var(--paper);
}
[data-header="ink"]{
  --nav-solid-floor:.44;
  --ribbon-top:#1E1B18; --ribbon-bot:#15130F;
  --ribbon-glass:#1A1714;
  --nav-fg:rgba(246,241,231,.8);
  --nav-fg-active:#F6F1E7;
}

/* Dark bands carry no rule at all: over a photograph it separates nothing, and
   a transparent border still reserves 1px that shows the page through it. */
[data-header="deep"] .site-nav,
[data-header="ink"] .site-nav{border-bottom:0}

/* --- 2. Base ------------------------------------------------------------ */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  transition:background-color .35s ease, color .35s ease;
  font-family:var(--sans);
  font-size:var(--t-body);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{max-width:100%; height:auto; display:block}
svg{display:block}

h1,h2,h3,h4{
  font-family:var(--sans);
  font-weight:800;
  line-height:1.06;
  letter-spacing:-.022em;
  color:var(--primary);
  margin:0;
  text-wrap:balance;
}
/* The family's own words stay in serif. Everything the Foundation states
   about itself is set in Franklin. That split is the whole type system. */
.voice{font-family:var(--serif); font-weight:400; letter-spacing:0}
.voice-em{font-family:var(--serif); font-style:italic; font-weight:400; letter-spacing:0}
p{margin:0}
p + p{margin-top:1.15em}

a{color:var(--primary); text-decoration-thickness:1px; text-underline-offset:.2em}
a:hover{text-decoration-color:var(--accent)}

:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:3px;
  border-radius:1px;
}

::selection{background:var(--tint); color:var(--ink)}

/* --- 3. Layout ---------------------------------------------------------- */

.wrap{width:min(72rem,100% - var(--gutter)*2); margin-inline:auto}
.measure{max-width:var(--measure)}
.measure-wide{max-width:var(--measure-wide)}
.center{margin-inline:auto}

.section{padding-block:var(--sp-section)}
.section--lg{padding-block:var(--sp-section-lg)}
.section--tint{background:var(--tint); transition:background-color .35s ease}
.section--tight{padding-block:clamp(2rem,4vw,3rem)}

.stack > * + *{margin-top:1.15rem}
.stack-lg > * + *{margin-top:clamp(1.75rem,3vw,2.5rem)}

.visually-hidden{
  position:absolute; 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:var(--gutter); top:-4rem; z-index:200;
  background:var(--primary); color:var(--paper);
  padding:.7rem 1.1rem; text-decoration:none; font-size:var(--t-small);
  font-weight:600; letter-spacing:.06em;
  transition:top .18s ease;
}
.skip-link:focus{top:.75rem}

/* --- 4. Type utilities -------------------------------------------------- */

.label{
  font-family:var(--sans);
  font-size:var(--t-label);
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--ink-muted);
  margin:0;
}
.label--accent{color:var(--accent-text)}

.page-title{font-size:var(--t-h1)}
.h2{font-size:var(--t-h2)}
.h3{font-size:var(--t-h3)}
.lead{font-size:var(--t-lead); line-height:1.6; color:var(--ink-muted)}

.prose{max-width:var(--measure); font-size:1.09375rem; line-height:1.78}
.prose p + p{margin-top:1.35em}

.rule{border:0; border-top:1px solid var(--rule-accent); width:3.25rem; margin:clamp(1.5rem,3vw,2.25rem) 0}
.rule--center{margin-inline:auto}
.rule--full{width:100%; border-top-color:var(--rule-hair)}

.section-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:1.5rem;
  border-bottom:1px solid var(--rule-hair);
  padding-bottom:1rem;
  margin-bottom:clamp(1.75rem,3.5vw,2.75rem);
}
.section-head h2{color:var(--ink)}

/* Editorial link, used everywhere in place of a button */
.link-quiet{
  display:inline-block;
  font-family:var(--sans);
  font-size:var(--t-small);
  font-weight:600;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--primary);
  text-decoration:none;
  padding-bottom:.35rem;
  border-bottom:1px solid var(--accent);
  transition:border-color .2s ease, color .2s ease;
}
.link-quiet:hover{border-bottom-color:var(--primary)}
.link-quiet + .link-quiet{margin-left:clamp(1.25rem,3vw,2.25rem)}
.link-row{display:flex; flex-wrap:wrap; gap:clamp(1.25rem,3vw,2.25rem)}
.link-row .link-quiet + .link-quiet{margin-left:0}

/* --- 5. Navigation ------------------------------------------------------ */

/* Comparison page: out of sticky, but still positioned, so the band layers
   inside it stay contained. position:static would let them escape to the
   page and cover it. */
.site-nav--static{position:relative !important; top:auto !important; z-index:0 !important}
.site-nav{
  position:sticky; top:0; z-index:100;
  background:transparent;
  border-bottom:1px solid var(--ribbon-edge);
  transition:border-color .25s ease, box-shadow .25s ease;
}
/* Two stacked bands, cross-faded by scroll. At rest the page shows the solid
   stone ribbon; once it moves, that gives way to pale glass over the content.
   Changing what the band is, not just how solid it is, makes the shift read.
   --nav-solid runs 1 to 0, --nav-glass runs 0 to 0.82. */
.site-nav::before,
.site-nav::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  transition:opacity .2s linear, background-color .35s ease;
}
.site-nav::before{
  background:linear-gradient(180deg, var(--ribbon-top), var(--ribbon-bot));
  opacity:max(var(--nav-solid,1), var(--nav-solid-floor,0));
}
.site-nav::after{background:var(--ribbon-glass); opacity:var(--nav-glass,0)}
.site-nav.is-scrolled{
  border-bottom-color:var(--rule-hair);
  box-shadow:0 1px 16px rgba(43,38,34,.09);
  -webkit-backdrop-filter:blur(16px) saturate(1.08);
          backdrop-filter:blur(16px) saturate(1.08);
}
.nav-inner{
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:space-between; gap:2rem;
  padding-block:var(--nav-pad);
}
.nav-mark{display:block; flex:0 0 auto}
.nav-mark img{height:var(--nav-logo-h); width:auto}
.nav-mark__on-dark{display:none}
[data-header="deep"] .nav-mark__on-light,
[data-header="ink"]  .nav-mark__on-light{display:none}
[data-header="deep"] .nav-mark__on-dark,
[data-header="ink"]  .nav-mark__on-dark{display:block}

.nav-list{
  display:flex; align-items:baseline; gap:clamp(1rem,2.6vw,2.25rem);
  list-style:none; margin:0; padding:0;
}
.nav-list a{
  font-size:var(--t-small);
  font-weight:600;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--nav-fg);
  text-decoration:none;
  padding-bottom:.3rem;
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, color .2s ease;
}
.nav-list a:hover{border-bottom-color:var(--accent)}
.nav-list a[aria-current="page"]{color:var(--nav-fg-active); border-bottom-color:var(--accent)}

.nav-toggle{
  display:none;
  align-items:center; gap:.55rem;
  background:none; border:1px solid currentColor; border-radius:2px;
  color:var(--nav-fg); font-family:var(--sans);
  font-size:var(--t-label); font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  padding:.5rem .75rem; cursor:pointer;
}
.nav-toggle .bars{position:relative; width:1rem; height:.625rem; flex:0 0 auto}
.nav-toggle .bars span{
  position:absolute; left:0; width:100%; height:1px; background:currentColor;
  transition:transform .22s ease, opacity .22s ease;
}
.nav-toggle .bars span:nth-child(1){top:0}
.nav-toggle .bars span:nth-child(2){top:50%}
.nav-toggle .bars span:nth-child(3){top:100%}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1){transform:translateY(.3125rem) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3){transform:translateY(-.3125rem) rotate(-45deg)}

@media (max-width:820px){
  .nav-toggle{display:inline-flex}
  .nav-list{
    display:none; position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--ribbon-bot);
    border-top:1px solid var(--ribbon-edge);
    border-bottom:1px solid var(--rule-hair);
    padding:.5rem var(--gutter) 1.25rem;
    box-shadow:0 12px 24px rgba(43,38,34,.08);
  }
  .nav-list.is-open{display:flex}
  .nav-list li{border-top:1px solid var(--rule-hair)}
  .nav-list li:first-child{border-top:0}
  .nav-list a{display:block; padding:.9rem 0; border-bottom:0; letter-spacing:.1em}
  .nav-list a[aria-current="page"]{border-bottom:0}
  .nav-list a[aria-current="page"]::before{content:"— "; color:var(--accent)}
}

/* --- 6. Hero ------------------------------------------------------------ */
/* Photograph first. The image fills the screen under the header, the statement
   sits low-left over a brand-tinted scrim, and the record closes on the fold. */

.hero{
  display:grid; grid-template-rows:minmax(0,1fr) auto;
  min-height:calc(100svh - var(--nav-h));
}

.hero-media{
  position:relative; overflow:hidden;
  display:flex; align-items:flex-end;
  min-height:clamp(21rem,58vh,42rem);
}
.hero-media > img{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover; object-position:center 42%;
}
/* Tinted in the primary rather than plain black, so the photograph joins the
   palette instead of sitting on top of it. Heavy at the left where the type
   is, clearing to nothing at the right so the picture still reads. */
.hero-scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(96deg,
    color-mix(in srgb, var(--primary) 90%, transparent) 0%,
    color-mix(in srgb, var(--primary) 80%, transparent) 46%,
    color-mix(in srgb, var(--primary) 26%, transparent) 68%,
    transparent 84%);
}

.hero-copy{
  position:relative; z-index:2;
  padding-block:clamp(2.5rem,7vh,5rem);
}
/* The premise, set as the tracked sans label the place line used. */
.hero-eyebrow{
  font-family:var(--sans); font-weight:600;
  font-size:clamp(.6875rem,.9vw,.75rem);
  letter-spacing:.18em; text-transform:uppercase; line-height:1.5;
  color:color-mix(in srgb, var(--paper) 72%, transparent);
  margin:0 0 clamp(1rem,2.1vw,1.5rem);
}

.hero-title{
  font-family:var(--display); font-weight:800;
  font-variation-settings:"wdth" 84;
  font-stretch:84%;
  text-transform:uppercase;
  font-size:clamp(2.25rem,6.1vw,5.375rem);
  line-height:.94; letter-spacing:-.014em;
  color:var(--paper); text-wrap:balance;
  max-width:44rem;
}
.hero-lead{
  max-width:34rem;
  margin-top:clamp(1.1rem,2.4vw,1.65rem);
  font-size:clamp(1rem,1.35vw,1.1875rem); line-height:1.6;
  color:color-mix(in srgb, var(--paper) 93%, transparent);
}
.hero-lead strong{font-weight:600; color:var(--paper)}
.hero-actions{margin-top:clamp(1.5rem,3vw,2.25rem)}

.btn-accent{
  display:inline-block; background:var(--accent); color:#191510;
  border:1px solid var(--accent); border-radius:3px;
  padding:.9rem 1.7rem; text-decoration:none;
  font-family:var(--sans); font-size:.8125rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  transition:filter .2s ease;
}
.btn-accent:hover{filter:brightness(1.08)}

/* The record closes the screen, on paper, beneath the image. */
.hero-record{background:var(--paper); border-top:1px solid var(--rule-hair)}
.record-line{
  list-style:none; padding-inline:0; margin:0; text-align:center;
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(1rem,2.5vw,2rem);
  padding-block:clamp(1rem,2vw,1.4rem);
}
.record-figure{
  display:block;
  font-family:var(--sans); font-weight:800; color:var(--primary);
  font-size:clamp(1.375rem,2.2vw,1.875rem); line-height:1; letter-spacing:-.03em;
}
.record-label{
  display:block; margin-top:.4rem;
  font-family:var(--sans); font-size:.625rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-soft); line-height:1.35;
}

.page-hero{padding-block:clamp(2.5rem,5vw,4rem) clamp(1.75rem,3.5vw,2.5rem)}
.page-hero .lead{margin-top:1.25rem; max-width:var(--measure-wide)}

.btn-solid{
  display:inline-block; background:var(--primary); color:var(--paper);
  border:1px solid var(--primary); border-radius:3px;
  padding:.85rem 1.6rem; text-decoration:none;
  font-family:var(--sans); font-size:.8125rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  transition:background-color .2s ease;
}
.btn-solid:hover{background:var(--primary-deep); border-color:var(--primary-deep)}

@media (max-width:640px){
  .hero{min-height:0}
  .hero-media{min-height:26rem}
  .hero-scrim{background:linear-gradient(to top,
      color-mix(in srgb, var(--primary) 90%, transparent) 0%,
      color-mix(in srgb, var(--primary) 74%, transparent) 48%,
      transparent 92%)}
  .record-line{grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem}
}

/* --- 7. Statistics ------------------------------------------------------ */

.stats{
  display:grid; gap:clamp(1.75rem,4vw,3rem);
  grid-template-columns:repeat(3,1fr);
  list-style:none; margin:0; padding:0;
}
.stat{border-top:1px solid var(--rule-accent); padding-top:1.1rem}
.stat-figure{
  display:block;
  font-family:var(--sans); font-weight:800;
  font-size:var(--t-figure); line-height:1;
  color:var(--primary); letter-spacing:-.03em;
}
.stat-label{display:block; margin-top:.65rem}

@media (max-width:640px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat:first-child{grid-column:1 / -1}
}

/* --- 8. Editorial columns ----------------------------------------------- */

.cols{display:grid; gap:clamp(1.75rem,4vw,3rem); grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.cols--2{grid-template-columns:repeat(auto-fit,minmax(19rem,1fr))}

.panel{border-top:1px solid var(--rule-accent); padding-top:1.1rem}
.panel h3{margin-bottom:.6rem}
.panel p{color:var(--ink-muted)}
.panel .panel-eg{margin-top:1rem}

/* Split editorial block: image on one side, text on the other */
.split{
  display:grid; gap:clamp(1.75rem,4.5vw,3.5rem);
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
}
.split--narrow{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
@media (max-width:820px){
  .split,.split--narrow{grid-template-columns:1fr}
}

/* --- 9. Placeholders ---------------------------------------------------- */

/* Photograph placeholder: a considered empty frame, never a fake person. */
.figure-ph{margin:0}
.figure-ph .frame{
  position:relative;
  background:var(--tint);
  border:1px solid var(--rule-accent);
  aspect-ratio:4 / 3;
  display:grid; place-items:center;
  padding:1.5rem;
  text-align:center;
}
.figure-ph .frame::after{
  content:""; position:absolute; inset:.5rem; border:1px solid rgba(184,151,90,.35);
  pointer-events:none;
}
.figure-ph--portrait .frame{aspect-ratio:4 / 5}
.figure-ph--wide .frame{aspect-ratio:16 / 9}
.figure-ph figcaption{margin-top:.75rem; font-size:var(--t-small); color:var(--ink-soft)}

/* Administrative placeholder: clearly visible, never mistaken for copy. */
.placeholder{
  background:var(--tint);
  border-left:3px solid var(--accent);
  padding:1.1rem 1.35rem;
  font-size:.9375rem;
  line-height:1.6;
  color:var(--ink-muted);
}
.placeholder > .label{margin-bottom:.45rem; color:var(--accent-text)}
.placeholder strong{color:var(--ink); font-weight:600}

/* Inline marker for copy that exists but is not yet approved. */
.draft{
  display:inline-block; vertical-align:.15em;
  font-family:var(--sans); font-size:.625rem; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent-text); border:1px solid var(--rule-accent);
  padding:.15rem .45rem; margin-left:.5rem; white-space:nowrap;
}

/* --- 10. Spotlights and board ------------------------------------------- */

.spotlights{display:grid; gap:clamp(1.75rem,4vw,2.75rem); grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.spotlight{border-top:1px solid var(--rule-hair); padding-top:1.1rem}
.spotlight h3{font-size:var(--t-h3); margin-bottom:.5rem}
.spotlight p{font-size:.9375rem; color:var(--ink-muted)}
.spotlight .figure-ph{margin-bottom:1.1rem}

.board{display:grid; gap:clamp(1.5rem,3.5vw,2.5rem); grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); list-style:none; margin:0; padding:0}
.board-member .frame{aspect-ratio:1 / 1}
.board-name{font-family:var(--serif); font-weight:600; font-size:1.0625rem; color:var(--primary); margin-top:.85rem; display:block}
.board-role{display:block; font-size:.875rem; color:var(--ink-muted); line-height:1.5}

/* --- 11. Pull quote ----------------------------------------------------- */

.pullquote{
  border-left:1px solid var(--rule-accent);
  padding-left:clamp(1.25rem,3vw,2rem);
  margin:clamp(2rem,4vw,3rem) 0;
  max-width:30rem;
}
.pullquote p{
  font-family:var(--serif); font-variation-settings:"opsz" 32;
  font-size:clamp(1.25rem,2.2vw,1.75rem); line-height:1.35;
  color:var(--primary); font-style:italic; letter-spacing:0;
}

/* --- 12. Accordion ------------------------------------------------------ */

.accordion{border-top:1px solid var(--rule-accent); border-bottom:1px solid var(--rule-accent)}
.accordion-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  background:none; border:0; padding:1.15rem 0; cursor:pointer;
  font-family:var(--sans); font-size:var(--t-small); font-weight:600;
  letter-spacing:.13em; text-transform:uppercase; color:var(--primary); text-align:left;
}
.accordion-trigger .sign{position:relative; width:.75rem; height:.75rem; flex:0 0 auto}
.accordion-trigger .sign::before,.accordion-trigger .sign::after{
  content:""; position:absolute; background:var(--accent); transition:transform .22s ease, opacity .22s ease;
}
.accordion-trigger .sign::before{left:0; top:50%; width:100%; height:1px; margin-top:-.5px}
.accordion-trigger .sign::after{top:0; left:50%; height:100%; width:1px; margin-left:-.5px}
.accordion-trigger[aria-expanded="true"] .sign::after{transform:scaleY(0)}
.accordion-panel{padding-bottom:1.75rem}
.accordion-panel[hidden]{display:none}

/* --- 13. Form ----------------------------------------------------------- */

.form{max-width:34rem}
.field + .field{margin-top:1.35rem}
.field label{display:block; font-size:var(--t-small); font-weight:600; letter-spacing:.06em; margin-bottom:.4rem}
.field .optional{font-weight:400; color:var(--ink-soft); letter-spacing:0; text-transform:none}
.field input,.field textarea{
  width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  background:var(--field-bg); border:1px solid var(--rule-hair); border-radius:2px;
  padding:.7rem .8rem; line-height:1.5;
}
.field input:focus,.field textarea:focus{border-color:var(--primary); outline-offset:1px}
.field textarea{min-height:9rem; resize:vertical}
.field-error{display:block; margin-top:.4rem; font-size:var(--t-small); color:#8A2A22; font-weight:600}
.field-error:empty{display:none}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:#8A2A22; border-width:2px}
.form-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

.btn{
  display:inline-block; margin-top:1.75rem;
  font-family:var(--sans); font-size:var(--t-small); font-weight:600;
  letter-spacing:.13em; text-transform:uppercase;
  color:var(--paper); background:var(--primary);
  border:1px solid var(--primary); border-radius:2px;
  padding:.8rem 1.6rem; cursor:pointer;
  transition:background-color .2s ease;
}
.btn:hover{background:var(--primary-deep)}

.form-status{margin-top:1.5rem}
.form-status:empty{display:none}
.form-status .placeholder{border-left-color:var(--primary)}

/* --- 14. Footer --------------------------------------------------------- */

.site-footer{background:var(--primary); transition:background-color .35s ease; color:var(--paper); padding-block:clamp(3rem,6vw,4.5rem)}
.site-footer a{color:var(--paper)}
.site-footer a:hover{text-decoration-color:var(--accent)}
.footer-grid{
  display:grid; gap:clamp(2rem,5vw,3.5rem);
  grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));
  align-items:start;
}
.footer-mark img{width:clamp(9rem,16vw,11.5rem)}
.footer-place{margin-top:1.25rem; font-size:var(--t-small); color:rgba(246,241,231,.78); line-height:1.6}
.footer-heading{
  font-family:var(--sans); font-size:var(--t-label); font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:rgba(246,241,231,.62);
  margin:0 0 .9rem;
}
.footer-links{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.55rem}
.footer-links a{font-size:.9375rem; text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.footer-contact p{font-size:.9375rem; color:rgba(246,241,231,.85)}
.footer-bottom{
  margin-top:clamp(2.5rem,5vw,3.5rem); padding-top:1.5rem;
  border-top:1px solid var(--rule-reverse);
  display:flex; flex-wrap:wrap; gap:.75rem 1.75rem; align-items:baseline;
  justify-content:space-between;
  font-size:var(--t-small); color:rgba(246,241,231,.7);
}
.footer-legal{display:flex; flex-wrap:wrap; gap:1.25rem; list-style:none; margin:0; padding:0}
.footer-legal a{font-size:var(--t-small); text-decoration:none}
.footer-legal a:hover{text-decoration:underline}

/* --- 15. Motion --------------------------------------------------------- */

.reveal{opacity:0; transform:translateY(12px)}
.reveal.is-in{opacity:1; transform:none; transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1)}

.hero .glyph{opacity:0}
.hero .glyph--start{transform:translateX(-24px)}
.hero .glyph--end{transform:translateX(24px)}
.hero.is-ready .glyph{opacity:1; transform:none; transition:opacity 1s ease, transform 1s cubic-bezier(.2,.7,.3,1)}
.hero .hero-body > *{opacity:0; transform:translateY(10px)}
.hero.is-ready .hero-body > *{
  opacity:1; transform:none;
  transition:opacity .75s ease, transform .75s cubic-bezier(.2,.7,.3,1);
}
.hero.is-ready .hero-mission{transition-delay:.09s}
.hero.is-ready .hero-note{transition-delay:.2s}
.hero.is-ready .hero-actions{transition-delay:.3s}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important; transition:none !important}
  .reveal,.hero .glyph,.hero .hero-body > *{opacity:1 !important; transform:none !important}
}

/* --- 16. Narrow --------------------------------------------------------- */

@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr; gap:0; justify-items:center}
  .glyph{font-size:clamp(4.5rem,22vw,8.5rem); line-height:.82; text-align:center}
  .hero .glyph--start{transform:translateY(-14px)}
  .hero .glyph--end{transform:translateY(14px)}
  .section-head{flex-direction:column; align-items:flex-start; gap:.5rem}
}

@media print{
  .site-nav,.skip-link,.hero .glyph{display:none}
  body{background:#fff}
}

/* --- 17. Long-form (Legacy) --------------------------------------------- */

.dropcap::first-letter{
  float:left;
  font-family:var(--serif);
  font-weight:600;
  font-size:3.6em;
  line-height:.82;
  padding:.06em .12em 0 0;
  color:var(--primary);
}
/* Newsreader, per BUILD-NOTES. The family declaration was missing until 14 Sep
   2026, so the narrative had been falling back to the sans since launch. */
.narrative{font-family:var(--serif); max-width:var(--measure); font-size:1.125rem; line-height:1.7; font-variation-settings:"opsz" 14}
.narrative p + p{margin-top:1.4em}
.narrative-note{margin-top:clamp(2rem,4vw,2.75rem)}

/* --- 18. Supported organizations, continuous row ------------------------ */

/* The row loops by translating exactly one set width. Each set carries its own
   trailing gap so the seam between set one and set two is invisible. */

.marquee-section{--marquee-gap:clamp(1.75rem,4vw,3.5rem)}
/* The row is the first thing after the hero, so it carries a real headline and
   sits on the same ground as the hero. No band, no rule: the logos are the
   structure. */
.marquee-section{
  padding-block:clamp(2.75rem,5.5vw,4.5rem) clamp(2.5rem,5vw,4rem);
  display:flex; flex-direction:column;
}
.marquee-intro-wrap{order:1}
.marquee-section > .marquee{order:2}


/* Logos first: a strip cut by the fold reads as continuing, where a headline
   cut by the fold reads as broken. The line then lands as the payoff. */
[data-strip="logos-first"] .marquee-intro-wrap{order:2}
[data-strip="logos-first"] .marquee-section > .marquee{order:1}
[data-strip="logos-first"] .marquee-intro{
  margin-bottom:0; margin-top:clamp(2.25rem,4.5vw,3.25rem);
}

/* Clear fold: nothing peeks. Headline and strip arrive together, composed. */
[data-strip="clear-fold"] .hero{padding-bottom:clamp(3rem,7vw,5.5rem)}
[data-strip="clear-fold"] .marquee-section{padding-top:clamp(3rem,6vw,5rem)}
/* Centred to sit under a full-bleed row, and to match the hero above it. */
.marquee-intro{
  max-width:46rem; margin-inline:auto; text-align:center;
  margin-bottom:clamp(2.25rem,4.5vw,3.25rem);
}
.marquee-intro .lead{
  max-width:38rem; margin:clamp(.85rem,1.8vw,1.15rem) auto 0;
}




.marquee{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
}
.marquee-track{display:flex; width:max-content; animation:marquee-drift 42s linear infinite}

@keyframes marquee-drift{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

.marquee-set{
  display:flex; align-items:center;
  gap:var(--marquee-gap); padding-right:var(--marquee-gap);
  list-style:none; margin:0;
}
.marquee-item{flex:0 0 auto; display:flex; align-items:center; justify-content:center}

/* Each mark carries its own width and height, set from its ink area rather
   than from a shared box, so a wide wordmark and a solid badge read at the
   same optical weight. Rendered in grey, normalised on ink level so a bright
   mark and a black wordmark carry the same weight against the page. */
.marquee-item img{height:auto; width:auto; max-width:none; opacity:.85}
@media (max-width:640px){
  .marquee-item img{transform:scale(.82); transform-origin:center}
}

/* Placeholder tile, until the grantee list and permissions arrive. */
.marquee-ph{
  display:grid; place-items:center;
  height:clamp(3.25rem,5vw,4rem);
  width:var(--w,10rem);
  background:var(--tint);
  border:1px solid var(--rule-accent);
  padding:.5rem;
}
.marquee-ph .label{font-size:.5625rem; letter-spacing:.14em; color:var(--accent-text); text-align:center}

/* The row runs without stopping. Anyone who has asked their system for less
   motion gets it frozen and scrollable by hand instead. */
@media (prefers-reduced-motion:reduce){
  .marquee{overflow-x:auto}
  .marquee-track{animation:none}
}

/* --- 20. Photographs ----------------------------------------------------- */
.figure-photo{margin:0}
.figure-photo img{width:100%; height:auto; aspect-ratio:4/3; object-fit:cover}
.figure-photo figcaption{
  margin-top:.75rem; font-size:var(--t-small); color:var(--ink-soft);
}

/* Archival portrait. Never cropped — the negative's own ratio is kept and the
   width is capped so it reads as a photograph on a page, not a hero. */
.figure-photo--portrait img{
  aspect-ratio:auto; object-fit:contain;
  max-width:27rem; background:var(--tint);
}
.figure-photo--portrait figcaption{max-width:27rem}

/* --- 16. Longtime partners ----------------------------------------------- */

/* One card per organization: logo, official name, website. The whole card is
   the link. Three across at desktop, so five reads as a row of three and a
   row of two rather than four and an orphan. */
.partners{
  --gap:clamp(1.25rem,2.5vw,2rem);
  display:flex; flex-wrap:wrap; justify-content:center; gap:var(--gap);
  list-style:none; margin:0; padding:0;
}
/* Three across; the last row of two sits centred under them (3 Dec 2026),
   no empty slot at the right. */
.partners > .partner-card{flex:0 1 calc((100% - 2 * var(--gap)) / 3); min-width:min(17rem,100%)}
.partner-card{border:1px solid var(--rule-hair); background:var(--paper)}
.partner-link{
  display:flex; flex-direction:column; align-items:center; height:100%;
  padding:clamp(1.75rem,3vw,2.5rem) clamp(1.25rem,2.5vw,2rem);
  text-decoration:none; color:inherit; text-align:center;
  transition:border-color .2s ease;
}
.partner-card:hover,.partner-card:focus-within{border-color:var(--rule-accent)}
.partner-logo{
  display:flex; align-items:center; justify-content:center;
  height:9rem; width:100%; margin-bottom:1.5rem;
}
/* Fixed height, width from the mark's own ratio, capped; contain letterboxes
   the rest. Percent max-heights inside the card were not reliable. */
.partner-logo img{height:7.5rem; width:auto; max-width:min(100%,14rem); object-fit:contain}
.partner-name{
  display:flex; align-items:flex-start; justify-content:center;
  min-height:2.5em; /* two lines reserved, so every Learn more sits level */
  font-family:var(--serif); font-weight:600;
  font-size:var(--t-h3); line-height:1.25; color:var(--primary);
  font-variation-settings:"opsz" 24;
}
.partner-cta{
  display:inline-block; margin-top:auto; padding-top:1.5rem;
}
.partner-cta::after{content:none}
.partner-link .partner-cta{
  margin-top:auto;
}
/* The Learn more box: outlined, uppercase, same voice as the accent button. */
.partner-cta{
  font-family:var(--sans); font-size:.75rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--primary);
}
.partner-cta > span{
  display:inline-block; border:1px solid var(--primary); border-radius:3px;
  padding:.7rem 1.4rem; transition:background .2s ease,color .2s ease;
}
.partner-link:hover .partner-cta > span,.partner-link:focus-visible .partner-cta > span{
  background:var(--primary); color:var(--paper);
}

/* --- 17. Legacy: two founders, two columns ------------------------------ */

/* The Keane and Turner stories sit side by side at equal width, so neither
   family reads as the main one. The shorter column is sticky so the page does
   not scroll past a blank half while the longer story runs. */
.founders{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(2.5rem,6vw,5.5rem); align-items:start;
}
.founders-col--sticky{position:sticky; top:calc(var(--nav-h) + 2rem)}
@media (max-width:820px){
  .founders{grid-template-columns:1fr}
  .founders-col--sticky{position:static}
}

/* The founders' statement opens Legacy as an editorial spread: the title,
   rule and the founders' names hold the left column; their words run in the
   right column at a comfortable measure. Everything, names included, sits
   in the first screen. */
.statement{padding-top:clamp(2.5rem,5vw,4rem)}
.statement-grid{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(2.5rem,6vw,6rem); align-items:start;
}
.statement-head{position:sticky; top:calc(var(--nav-h) + 2rem)}
.statement-head .page-title{font-size:clamp(2rem,1.4rem + 2vw,3rem); line-height:1.05}
.statement-by{
  font-family:var(--serif); font-weight:600; font-size:var(--t-h3);
  color:var(--primary); margin-bottom:.35rem;
}
.narrative--statement{
  max-width:38rem; text-align:left;
  font-size:clamp(1.1875rem,1.05rem + .6vw,1.375rem); line-height:1.65;
  font-variation-settings:"opsz" 18;
}
.narrative--statement p + p{margin-top:1.3em}
@media (max-width:820px){
  .statement-grid{grid-template-columns:1fr}
  .statement-head{position:static}
  .narrative--statement{max-width:var(--measure-wide)}
}

/* --- 18. Landing page in the guide's order ------------------------------ */

/* Centered, hairline-ruled sections: the landing page reads like Pete's own
   outline (About, Mission, Focus, Legacy, Board) rather than a brochure. */
/* Inside a centered block, anything with its own measure (prose, lead,
   narrative) also centers, otherwise it hangs to the left of its heading. */
.center{text-align:center; margin-inline:auto}
.center .prose,.center .lead,.center .narrative,.center .measure,.center .measure-wide{margin-inline:auto}
.center .prose{max-width:38rem}
.rule--center{margin-inline:auto}
.section--rule{border-top:1px solid var(--rule-hair)}

/* Shorter hero, so the mission and the outline start sooner. */
.hero--short{min-height:0}
.hero--short .hero-media{min-height:clamp(22rem,58vh,36rem)}
.hero-copy .hero-eyebrow{color:var(--accent)}

/* The mission, on white, directly under the record ribbon. Large, wide,
   and lit word by word in gold as the reader scrolls it into view. */
.mission-band{padding-block:clamp(3rem,6vw,5rem)}
.mission-band .rule{margin:1.25rem auto 1.75rem}
/* The mission's caption: the same tracked sans as every other section label,
   a size up and in gold from the start, so it reads as the mission's own. */
.mission-band .label{font-size:1.25rem; letter-spacing:.24em; color:var(--primary)}
.mission{
  max-width:62rem; margin-inline:auto;
  font-size:clamp(1.5rem,1.05rem + 1.7vw,2.5rem); line-height:1.32;
  color:var(--primary); font-variation-settings:"opsz" 32;
  text-wrap:balance;
}
/* Each word starts as pale ink and fills to the deep gold the labels use;
   the word most recently lit carries the bright brass, so the edge of the
   fill reads as it travels. No JS, or reduced motion: everything lit. */
.mission--reveal .mw{
  color:color-mix(in srgb, var(--ink) 42%, var(--paper));
  transition:color .55s cubic-bezier(.2,.7,.3,1), text-shadow .55s ease;
}
.mission--reveal .mw.is-lit{color:var(--accent-text)}
.mission--reveal .mw.is-edge{
  color:var(--accent);
  text-shadow:0 0 22px color-mix(in srgb, var(--accent) 45%, transparent);
}
/* Once every word is lit the label and rule turn gold and the rule widens:
   the statement is complete. */
.mission-band .label,.mission-band .rule{transition:color .6s ease, width .7s cubic-bezier(.2,.7,.3,1), border-color .6s ease}
.mission-band.is-complete .label{color:var(--accent-text)}
.mission-band.is-complete .rule{width:6rem; border-top-color:var(--accent)}
.no-js .mission--reveal .mw,.mission--reveal.is-static .mw{color:var(--accent-text)}
@media (prefers-reduced-motion: reduce){
  .mission--reveal .mw{color:var(--accent-text); transition:none}
}
.quote{
  font-size:clamp(1.25rem,1.05rem + .9vw,1.75rem); line-height:1.45;
  color:var(--ink); font-variation-settings:"opsz" 24; text-wrap:balance;
}

.board-list{
  display:grid; gap:clamp(1.25rem,3vw,2rem) clamp(1.5rem,3vw,2.5rem);
  grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));
  list-style:none; margin:clamp(2rem,4vw,3rem) auto 0; padding:0;
  max-width:40rem; /* three across, so six names sit 3 + 3 */
}
.board-list .board-name{margin-top:0}
.board-list--photos{max-width:66rem; grid-template-columns:repeat(6,1fr); gap:clamp(1rem,2vw,1.75rem)}
@media (max-width:900px){.board-list--photos{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.board-list--photos{grid-template-columns:repeat(2,1fr)}}
.board-list--photos .board-name{margin-top:.9rem}
.board-photo{
  display:block; width:100%; aspect-ratio:4/5; object-fit:cover;
  background:var(--tint);
}
.board-photo--pending{
  display:grid; place-items:center; padding:1rem; text-align:center;
  border:1px solid var(--rule-accent);
}

/* Compact page opening: a smaller title on one or two lines, less air, so
   the content starts in the first screen. */
.page-hero--compact{padding-block:clamp(2.5rem,5vw,3.75rem) clamp(2rem,4vw,3rem)}
.page-hero--compact .label{margin-bottom:.35rem}
.page-title--sm{font-size:var(--t-h2); max-width:36rem; line-height:1.15}
.page-hero--compact .lead{margin-top:1.5rem; max-width:40rem; line-height:1.7}

/* --- 19. Contact -------------------------------------------------------- */

/* The one address, set large enough to be the point of the column. */
.contact-email{margin-top:1.5rem}
.contact-email a{
  font-family:var(--serif); font-size:clamp(1.375rem,1.1rem + 1.2vw,1.875rem);
  color:var(--primary); text-decoration:none;
  border-bottom:1px solid var(--rule-accent); padding-bottom:.1em;
}
.contact-email a:hover,.contact-email a:focus-visible{border-bottom-color:var(--accent)}

/* --- 20. Hero title in the serif ---------------------------------------- */

/* 14 Sep 2026: Pablo asked for a smaller, quieter headline. The condensed
   black grotesque gives way to the family's serif in sentence case. */
.hero-title--serif{
  font-family:var(--serif); font-weight:500;
  font-variation-settings:"opsz" 36; font-stretch:normal;
  text-transform:none; letter-spacing:-.01em;
  font-size:clamp(2rem,4.2vw,3.5rem); line-height:1.08;
  max-width:30rem;
}
.hero-rule{border-top-color:var(--accent); margin:clamp(1.1rem,2.2vw,1.6rem) 0}
.hero-rule + .hero-lead{margin-top:0}

/* --- 21. Centered hero -------------------------------------------------- */

/* 14 Sep 2026: the opening is centered in the frame. The scrim darkens
   evenly with a deeper core behind the type, so the photograph still reads
   at the edges and the words carry the middle. */
.hero--center .hero-media{align-items:center}
.hero-scrim--center{
  background:
    radial-gradient(ellipse 62% 70% at 50% 55%,
      color-mix(in srgb, var(--primary-deep) 78%, transparent) 0%,
      color-mix(in srgb, var(--primary-deep) 52%, transparent) 55%,
      transparent 100%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--primary-deep) 55%, transparent) 0%,
      color-mix(in srgb, var(--primary-deep) 35%, transparent) 100%);
}
.hero--center .hero-copy{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding-block:clamp(3rem,8vh,6rem);
}
.hero--center .hero-eyebrow{margin-bottom:clamp(1.25rem,2.6vw,1.9rem)}
.hero--center .hero-title--serif{
  font-size:clamp(2.5rem,5.6vw,4.75rem); line-height:1.04;
  max-width:16ch; text-wrap:balance;
}
.hero--center .hero-rule{margin:clamp(1.4rem,2.8vw,2rem) auto; width:4rem}
.hero--center .hero-lead{max-width:36rem; font-size:clamp(1.0625rem,1.45vw,1.25rem)}
.hero--center .hero-actions{margin-top:clamp(1.75rem,3.4vw,2.5rem)}

/* --- 22. Motion on the landing page ------------------------------------- */

/* Hero photograph drifts a few percent over twenty seconds. The words do
   not move; the frame breathes. */
@keyframes hero-drift{from{transform:scale(1)} to{transform:scale(1.06)}}
.hero--center .hero-media > img{animation:hero-drift 22s ease-out forwards}

/* Ribbon figures count up when the ribbon enters view, one after another;
   a short gold rule draws in beneath each. */
.record-item{position:relative; padding-bottom:.9rem}
.record-item::after{
  content:""; position:absolute; left:50%; bottom:0; height:1px; width:0;
  background:var(--accent); transform:translateX(-50%);
  transition:width .7s cubic-bezier(.2,.7,.3,1);
  transition-delay:calc(var(--n,0) * 120ms + 500ms);
}
.record-line.is-in .record-item::after{width:2.5rem}
.record-num{font-variant-numeric:tabular-nums}

/* Marks in the strip lift to full strength under the cursor. */
.marquee-item img{transition:opacity .3s ease, transform .3s ease}
.marquee-item:hover img{opacity:1; transform:scale(1.06)}

/* Legacy teaser: portrait beside the quote. */
.legacy-teaser{
  display:grid; grid-template-columns:minmax(0,3fr) minmax(0,7fr);
  gap:clamp(2rem,5vw,4.5rem); align-items:center;
}
.legacy-teaser .figure-photo--portrait img{max-width:18rem; margin-inline:auto; display:block}
.legacy-teaser .figure-photo figcaption{text-align:center; max-width:none}
.legacy-teaser .quote{text-align:left; max-width:40rem}
@media (max-width:820px){
  .legacy-teaser{grid-template-columns:1fr}
  .legacy-teaser .figure-photo--portrait img{max-width:14rem}
}

/* Reveals arrive in beats: a child reveal inside a revealed parent waits. */
.reveal .reveal{transition-delay:.15s}

@media (prefers-reduced-motion: reduce){
  .hero--center .hero-media > img{animation:none}
  .record-item::after{transition:none; width:2.5rem}
  .marquee-item img{transition:none}
}

/* --- 23. Focus: the arc from Alpha to Omega ----------------------------- */

/* A gold line runs from an Alpha to an Omega; the two focus areas hang from
   two points on it. The line is the Foundation's own idea drawn: the
   beginning, the end, and the middle it cares about. */
.arc{max-width:64rem; margin-inline:auto}
.arc-line{
  position:relative; display:flex; align-items:center;
  gap:clamp(.75rem,1.5vw,1.25rem); margin-top:clamp(2rem,4vw,3rem);
}
.arc-rule{
  flex:1; height:3px; position:relative; border-radius:2px;
  background:color-mix(in srgb, var(--ink) 12%, transparent);
}
/* Time passes as the reader scrolls: the gold advances along the rule from
   Alpha towards Omega, a small marker at its head, and each point lights as
   the gold reaches it. */
.arc-rule__fill{position:absolute; left:0; top:0; height:100%; width:var(--arc,0%); background:var(--accent); border-radius:2px}
.arc-marker{
  position:absolute; top:50%; left:var(--arc,0%); width:14px; height:14px;
  border-radius:50%; background:var(--accent); transform:translate(-50%,-50%);
  box-shadow:0 0 0 4px var(--tint), 0 0 18px color-mix(in srgb, var(--accent) 70%, transparent);
}
.arc-end{transition:color .5s ease}
.arc-end--a{color:var(--accent-text)}
.arc-line.is-done .arc-end--o{color:var(--accent-text)}
.arc-line:not(.is-done) .arc-end--o{color:color-mix(in srgb, var(--ink) 25%, var(--paper))}
.arc-end{
  font-family:var(--serif); font-weight:500; line-height:1;
  font-size:clamp(2rem,3.2vw,2.75rem); color:var(--primary);
  font-variation-settings:"opsz" 36;
}
.arc-dot{
  position:absolute; top:50%; width:14px; height:14px; border-radius:50%;
  background:color-mix(in srgb, var(--ink) 18%, var(--paper)); transform:translate(-50%,-50%);
  box-shadow:0 0 0 4px var(--tint); transition:background .4s ease;
}
.arc-dot.is-lit{background:var(--accent)}
/* The dots sit above the centre of each column: a quarter and three
   quarters of the rule, allowing for the letters at each end. */
.arc-dot--1{left:calc(2.75rem + (100% - 5.5rem) * .25)}
.arc-dot--2{left:calc(2.75rem + (100% - 5.5rem) * .75)}
.arc-cols{gap:clamp(2rem,4vw,3.5rem)}
.focus-area{text-align:center}
.arc-point{
  font-family:var(--sans); font-size:var(--t-label); font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:var(--accent-text);
  margin-top:1.25rem;
}
.focus-photo{margin:1.5rem 0 0}
.focus-area > p:not(.arc-point){color:var(--ink-muted); max-width:30rem; margin-inline:auto}
.focus-photo img{width:100%; aspect-ratio:16/10; object-fit:cover; display:block}
.focus-photo--pending .frame{
  position:relative; aspect-ratio:16/10; background:var(--paper);
  border:1px solid var(--rule-accent); display:grid; place-items:center;
  align-content:center; padding:1.5rem; gap:.4rem;
}
.focus-photo--pending .frame::after{content:""; position:absolute; inset:.5rem; border:1px solid rgba(184,151,90,.35); pointer-events:none}
.focus-photo__note{font-size:var(--t-small); color:var(--ink-soft)}
.focus-num{
  display:block; font-family:var(--serif); font-weight:500; line-height:1;
  font-size:clamp(2.25rem,3.6vw,3.25rem); color:var(--accent);
  font-variation-settings:"opsz" 36; margin-bottom:.75rem;
}
.focus-area h3{margin-bottom:.6rem}
/* The two columns share rows (subgrid): number, heading, copy, partners,
   photo. Each row is as tall as the taller side, so the partner lists and
   the photo frames line up across the page whatever the copy length. */
.arc-cols{row-gap:0}
.focus-area{display:grid; grid-row:span 5; grid-template-rows:subgrid; row-gap:0; align-content:start}
.focus-area .focus-photo{margin-top:0; padding-top:1.5rem; align-self:end}
@media (max-width:700px){.focus-area + .focus-area{margin-top:2.5rem}}
.arc-dot--mid{left:calc(2.75rem + (100% - 5.5rem) * .5)}
/* Partner names under each area: small, linked, UrbanPromise in both. */
.focus-area > p.focus-partners{margin-top:1rem; font-size:var(--t-small); line-height:1.7; color:var(--ink-soft)}
.focus-partners a{white-space:nowrap}
/* One partner per line: three names on each side, mirrored. */
.focus-partners a{display:table; margin:.15rem auto 0}
.focus-partners .label{display:block; margin-bottom:.2rem; color:var(--accent-text)}
.focus-partners a{color:var(--primary); text-decoration:none; border-bottom:1px solid var(--rule-accent)}
.focus-partners a:hover,.focus-partners a:focus-visible{border-bottom-color:var(--accent)}
.focus-partners__sep{color:var(--accent)}

/* Where the two meet: one partner that belongs to both areas, centred under
   the middle of the arc, where the Foundation says its interest lies. */
.meet{
  position:relative; max-width:40rem; margin:clamp(1.75rem,3.5vw,2.5rem) auto 0;
  padding:clamp(1.75rem,3.5vw,2.5rem) clamp(1.25rem,4vw,2.75rem);
  background:var(--paper); border:1px solid var(--rule-accent); text-align:center;
}
/* A hairline drops from the middle dot of the arc to the box. It spans the
   box's top margin plus half the arc line's height (the Alpha and Omega set
   that height). */
.meet::before{
  content:""; position:absolute; left:50%;
  top:calc(-1 * (clamp(1.75rem,3.5vw,2.5rem) + clamp(2rem,3.2vw,2.75rem) / 2));
  height:calc(clamp(1.75rem,3.5vw,2.5rem) + clamp(2rem,3.2vw,2.75rem) / 2);
  border-left:1px solid var(--accent);
}
.meet .label{color:var(--accent-text)}
/* The photograph runs edge to edge across the top of the box. */
.meet-photo{
  display:block; width:calc(100% + 2 * clamp(1.25rem,4vw,2.75rem)); max-width:none;
  aspect-ratio:16/9; object-fit:cover; height:auto;
  margin:calc(-1 * clamp(1.75rem,3.5vw,2.5rem)) calc(-1 * clamp(1.25rem,4vw,2.75rem)) clamp(1.5rem,3vw,2rem);
}
.meet-logo{display:block; height:3.5rem; width:auto; margin:.9rem auto 1rem}
/* Partner photographs in the focus columns: a credit line under each, and
   02 splits its frame into two portrait halves (trade, then college). */
.focus-photo img{height:auto}
.focus-photo__pair{display:grid; grid-template-columns:1fr 1fr; gap:.5rem; aspect-ratio:16/10}
.focus-photo__pair img{height:100%; aspect-ratio:auto; object-fit:cover}
.focus-photo__credit{margin-top:.6rem; font-size:var(--t-small); color:var(--ink-soft); text-align:center}
.meet-copy{
  font-family:var(--serif); font-variation-settings:"opsz" 24;
  font-size:clamp(1.0625rem,1rem + .3vw,1.1875rem); line-height:1.6; color:var(--ink);
  text-wrap:pretty; margin:0 auto; max-width:34rem;
}
.meet-link{margin-top:1rem; font-size:var(--t-small)}
.meet-link a{color:var(--primary); text-decoration:none; border-bottom:1px solid var(--rule-accent)}
.meet-link a:hover,.meet-link a:focus-visible{border-bottom-color:var(--accent)}
@media (max-width:640px){.meet::before{display:none}}
@media (max-width:640px){
  .arc-line{display:none}
  .arc-cols{gap:2.5rem}
}

@media (prefers-reduced-motion: reduce){
  .arc-rule__fill{width:100%}
  .arc-marker{display:none}
  .arc-dot{background:var(--accent)}
}

/* Turnstile spam check on Contact: its own row above the button. */
.cf-turnstile{margin:.5rem 0 1.5rem; min-height:65px}

/* Hero: Heart Math photograph. Faces sit at a third and three quarters
   across and in the upper half; keep them in frame. On a phone the crop is
   narrow, so it follows the student. */
.hero-media > img.hero-img--heartmath{object-position:center 35%}
@media (max-width:640px){.hero-media > img.hero-img--heartmath{object-position:28% 30%}}

/* Home legacy: the two families' photographs side by side, same size. */
.legacy-teaser{grid-template-columns:minmax(0,4fr) minmax(0,6fr)}
.legacy-pair__imgs{display:grid; grid-template-columns:1fr 1fr; gap:.75rem; max-width:26rem; margin-inline:auto}
.legacy-pair__imgs img{width:100%; height:auto; aspect-ratio:1003/1280; object-fit:cover; display:block}
@media (max-width:820px){
  .legacy-teaser{grid-template-columns:1fr}
  .legacy-pair__imgs{max-width:22rem}
}
