/* ==========================================================================
   Cleve Jones Foundation — site stylesheet
   Brand tokens taken from "CJF Logo 11-26" (November 2026), which supersedes
   the Brand basics page of "CJF Website Strategy 11-11".
   ========================================================================== */

:root{
  /* Brand palette — the six colours on the Colors row of the logo sheet */
  --red:#D2462E;          /* bullhorn, advocacy, giving, primary buttons */
  --green:#4E8A60;        /* art */
  --plum:#7D3B76;         /* mentorship, people */
  --blue:#4459B0;         /* the Quilt */
  --navy:#1B2350;         /* text, footer, dark sections */
  --ivory:#F7F3EC;        /* backgrounds */
  --white:#FFFFFF;

  /* Hover steps, derived */
  --red-dark:#B23B27;
  --plum-dark:#663060;
  --navy-deep:#141A3C;

  /* On navy, only the six colours on the logo sheet are used:
     - small type (eyebrows, footer headings, link lists) is ivory, 13.5:1;
       none of the four brand colours is readable that small on navy;
     - headline accents are brand red: 3.3:1 against navy, which passes for
       large type (WCAG asks 3:1 at 24px and up) but NOT for body-size text,
       so never use red for small type on navy;
     - buttons on navy are brand red with white type (4.5:1), and rules,
       underlines and markers are brand red (non-text needs 3:1). */

  --rule:#E2DCD1;
  --ink-soft:#4A5272;

  /* Type */
  --display:"Bricolage Grotesque","Arial Black",system-ui,sans-serif;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --ui:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  /* the wordmark only — the logo sheet sets the name in Lora */
  --logo:"Lora",Georgia,"Times New Roman",serif;

  /* Smallest type used anywhere on the site: 10pt (13.33px at the default
     root size). Labels, captions, credits and legal text all sit on this
     floor rather than below it. */
  --min-type:.8333rem;

  /* Space */
  --gutter:20px;
  --wrap:1200px;
  --section:clamp(20px,2.4vw,30px);
  --radius:2px;
}

@media (min-width:700px){ :root{ --gutter:32px; } }

/* --------------------------------------------------------------- reset */
*,*::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(--white);
  color:var(--navy);
  font-family:var(--serif);
  font-weight:400;
  font-size:1.0625rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }

h1,h2,h3,h4{ font-family:var(--display); font-weight:800; line-height:1.04; letter-spacing:-0.018em; margin:0 0 .5em; }
h1{ font-size:clamp(2.4rem,6.2vw,4.05rem); }
h2{ font-size:clamp(1.85rem,4.1vw,2.85rem); }
h3{ font-size:clamp(1.2rem,2.1vw,1.45rem); line-height:1.15; }
h4{ font-size:1.0625rem; line-height:1.25; }
p{ margin:0 0 1.1em; }
p:last-child{ margin-bottom:0; }

.accent{ color:var(--red); }
.accent-on-dark{ color:var(--red); }   /* headline-size only — see the note at the top */

.sr-only{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--navy); color:#fff; padding:12px 18px;
  font-family:var(--ui); font-weight:700; font-size:.85rem;
}
.skip:focus{ left:8px; top:8px; }

:focus-visible{ outline:3px solid var(--red); outline-offset:2px; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gutter); }

/* --------------------------------------------------------- eyebrow label */
.eyebrow{
  display:flex; align-items:center; gap:.65em;
  font-family:var(--ui); font-weight:700; font-size:var(--min-type);
  letter-spacing:.17em; text-transform:uppercase;
  color:var(--red); margin:0 0 1.15em;
}
.eyebrow::before{ content:""; width:11px; height:11px; background:currentColor; flex:none; }
.eyebrow-on-dark{ color:var(--ivory); }
.eyebrow-on-dark::before{ background:var(--red); }
.eyebrow-navy{ color:var(--navy); }
.eyebrow-white{ color:#fff; }

/* ---------------------------------------------------------------- buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family:var(--ui); font-weight:700; font-size:.875rem; letter-spacing:.01em;
  padding:.82em 1.25em; border:2px solid transparent; border-radius:var(--radius);
  text-decoration:none; cursor:pointer;
  transition:background-color .15s,color .15s,border-color .15s;
}
/* the symbol's frame is wider than its ink, so the box has to be generous for
   the bullhorn itself to read; the negative margin keeps the button its height */
.btn svg{ width:2em; height:2em; flex:none; margin-block:-.5em; }
.btn-primary{ background:var(--red); color:#fff; }
.btn-primary:hover{ background:var(--red-dark); }
/* the light CTA. Every one of these sits on navy — in the sign-up band, in a
   support box or in a navy section — so it takes the light tint and navy
   type, which is the job the old gold button did. */
.btn-accent{ background:var(--red); color:#fff; }
.btn-accent:hover{ background:var(--red-dark); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-deep); }
.btn-outline{ border-color:var(--navy); color:var(--navy); background:transparent; }
.btn-outline:hover{ background:var(--navy); color:#fff; }
.btn-on-dark{ border-color:#fff; color:#fff; background:transparent; }
.btn-on-dark:hover{ background:#fff; color:var(--navy); }
.btn-white{ background:#fff; color:var(--navy); }
.btn-white:hover{ background:var(--ivory); }
.btn-block{ width:100%; }
.btn-lg{ font-size:.95rem; padding:1em 1.4em; }

.tlink{
  font-family:var(--ui); font-weight:700; font-size:var(--min-type);
  color:var(--red); text-decoration:none;
  border-bottom:2px solid var(--red); padding-bottom:2px;
  display:inline-block;
}
.tlink:hover{ color:var(--red-dark); border-color:var(--red-dark); }
.tlink-on-dark{ color:#fff; border-color:var(--red); }
.tlink-on-dark:hover{ color:var(--ivory); border-color:#fff; }

/* ----------------------------------------------------------------- header */
.site-header{ position:sticky; top:0; z-index:100; background:#fff; border-bottom:1px solid var(--rule); }
.header-inner{ display:flex; align-items:center; gap:24px; min-height:88px; position:relative; }
.nav{ margin-left:auto; display:flex; align-items:center; gap:28px; }
.nav ul{ display:flex; align-items:center; gap:26px; list-style:none; margin:0; padding:0; }
.nav ul a{
  font-family:var(--ui); font-weight:600; font-size:.9rem; text-decoration:none;
  color:var(--navy); padding:6px 0; border-bottom:2px solid transparent;
}
.nav ul a:hover{ border-color:var(--rule); }
.nav ul a[aria-current="page"],
.nav ul a[aria-current="true"]{ border-color:var(--red); }
.nav .btn{ font-size:.85rem; padding:.85em 1.5em; }

/* A plain three-line menu icon. flex:none keeps it from being squeezed into a
   tall narrow box when the header row is tight (it was, on a 440px iPhone). */
.nav-toggle{
  margin-left:auto; display:none; flex:none; width:40px; height:40px;
  background:transparent; border:0; border-radius:var(--radius);
  cursor:pointer; padding:0;
}
.nav-toggle span{ display:block; width:26px; height:3px; border-radius:2px; background:var(--navy); margin:5px auto; }

/* Shown only where the nav collapses — see the note in build.js. */
.nav-give{ display:none; }

@media (max-width:1020px){
  .nav-toggle{ display:block; }
  .nav-give{
    display:inline-flex; margin-left:auto; margin-right:10px;
    font-size:.8rem; padding:.68em 1.05em; white-space:nowrap;
  }
  /* The logo, this button and the hamburger share one row. Tighten the gap
     so the hamburger is not pushed past the right edge. */
  .header-inner{ gap:12px; }
  .nav{
    position:absolute; left:calc(var(--gutter) * -1); right:calc(var(--gutter) * -1); top:100%;
    background:#fff; border-bottom:1px solid var(--rule);
    flex-direction:column; align-items:stretch; gap:0;
    padding:8px var(--gutter) 24px; margin:0; display:none;
    box-shadow:0 14px 24px rgba(20,26,60,.1);
  }
  .nav.is-open{ display:flex; }
  .nav ul{ flex-direction:column; align-items:stretch; gap:0; }
  .nav li{ border-bottom:1px solid var(--rule); }
  .nav ul a{ display:block; padding:14px 0; font-size:1rem; border:0; }
  .nav .btn{ margin-top:18px; align-self:flex-start; }
}

/* ------------------------------------------------------------------- hero */
.hero{
  position:relative; isolation:isolate; overflow:hidden;
  background:var(--navy);
  min-height:clamp(540px,80vh,740px);
  display:flex; align-items:center; color:#fff;
}
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transform:scale(1.02);
  transition:opacity 1.4s ease-out;
}
/* The photograph arriving fades up ON TOP of the one leaving, which stays
   opaque underneath until it is covered. Fading both at once dips through the
   navy behind them halfway, which reads as a flicker rather than a dissolve. */
.hero-img.is-active { opacity:1; z-index:2; }
.hero-img.is-leaving{ opacity:1; z-index:1; }
/* Both carry the same slow push. The animation name does not change when the
   class does, so the photograph on its way out keeps growing at the same rate
   instead of snapping back to its resting scale in the middle of the fade —
   that snap was the jarring part. 0.5% a second, half the rate it was. */
.hero-img.is-active,
.hero-img.is-leaving{ animation:heroZoom 20s linear forwards; }
@keyframes heroZoom{ from{ transform:scale(1.02); } to{ transform:scale(1.12); } }

.hero-scrim{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(100deg,rgba(20,26,60,.95) 0%,rgba(20,26,60,.9) 34%,rgba(20,26,60,.5) 58%,rgba(20,26,60,.06) 100%),
    linear-gradient(to top,rgba(20,26,60,.58) 0%,rgba(20,26,60,0) 34%);
}
/* fine grain keeps the lower-resolution archival scans from reading as soft */
.hero-grain{
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  opacity:.07; mix-blend-mode:overlay;
}

.hero-inner{ position:relative; padding-block:clamp(56px,9vw,90px); }
.hero-title{ max-width:11ch; margin-bottom:.38em; text-shadow:0 2px 24px rgba(10,14,36,.4); }
.hero{ --theme:var(--red); }
.hero[data-theme="green"]{ --theme:var(--green); }
.hero[data-theme="plum"]{ --theme:var(--plum); }
.hero[data-theme="blue"]{ --theme:var(--blue); }
.hero-verb{ color:var(--theme); display:inline-block; transition:color .5s ease; }
.hero-verb.is-swapping{ animation:verbIn .5s ease; }
@keyframes verbIn{ from{ opacity:0; transform:translateY(.22em); } to{ opacity:1; transform:none; } }
.hero-lede{ max-width:36rem; text-wrap:pretty; font-size:clamp(1.08rem,1.7vw,1.36rem); line-height:1.5; color:#fff; text-shadow:0 1px 12px rgba(10,14,36,.7); margin-bottom:1.7em; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:2.4rem; }

/* The photograph's caption reads like a photo credit: small, quiet, down by
   the slide dots, so the headline, mission line and buttons carry the hero. */
.hero-caption{
  position:absolute; left:0; right:0; bottom:clamp(30px,3.6vw,44px); z-index:2;
  font-family:var(--ui); font-size:.8rem; letter-spacing:.01em; font-style:italic;
  color:rgba(255,255,255,.66); margin:0 auto; pointer-events:none;
  padding-right:calc(var(--gutter) + 180px);
}

/* Each square is given its width AND its height. It used to set only the
   width and rely on aspect-ratio for the height, and browsers without
   aspect-ratio (Safari before 15, iPhones and iPads on iOS 14 or older, older
   Chrome and Edge) then stretched every square to the icon's default 150px
   height — tall rectangles instead of squares. */
.hero-squares{
  --sq:clamp(46px,6vw,74px);
  position:absolute; right:clamp(16px,4vw,56px); bottom:clamp(30px,4vw,56px);
  display:grid; grid-template-columns:repeat(2,var(--sq));
  gap:4px; z-index:2;
}
.hero-squares .sq{
  width:var(--sq); height:var(--sq); display:grid; place-items:center;
  opacity:.5; transition:opacity .5s ease,transform .5s ease; transform:scale(.97);
}
.hero-squares .sq.is-lit{ opacity:1; transform:scale(1); }
.hero-squares .sq{ color:#fff; }
.sq-bullhorn{ background:var(--red); }
.sq-brush{ background:var(--green); }
.sq-people{ background:var(--plum); }
.sq-quilt{ background:var(--blue); }

.hero-dots{
  position:absolute; left:50%; transform:translateX(-50%); bottom:clamp(14px,2.4vw,26px);
  z-index:2; display:flex; gap:7px; list-style:none; margin:0;
  padding-inline:var(--gutter); max-width:var(--wrap); width:100%;
}
.hero-dots button{ width:40px; height:4px; border:0; padding:0; cursor:pointer; background:rgba(255,255,255,.3); }
.hero-dots button[aria-current="true"]{ background:var(--theme); transition:background .5s ease; }

@media (max-width:860px){
  .hero-scrim{ background:linear-gradient(to top,rgba(20,26,60,.95) 12%,rgba(20,26,60,.74) 58%,rgba(20,26,60,.62) 100%); }
  .hero-squares{ --sq:44px; grid-template-columns:repeat(4,var(--sq)); right:auto; left:var(--gutter); bottom:62px; }
  .hero-caption{ padding-right:var(--gutter); bottom:28px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:.75rem; }
  .hero-squares{ bottom:70px; }
  .hero-title{ max-width:none; }
  /* on a tall phone screen only a narrow band of each photograph shows;
     --mx (set per photograph) keeps its subject in that band */
  .hero-img{ object-position:var(--mx,50%) 50%; }
}
@media (prefers-reduced-motion:reduce){
  .hero-img.is-active,
  .hero-img.is-leaving{ animation:none; }
  .hero-img{ transition:none; }
  .hero-verb.is-swapping{ animation:none; }
}

/* --------------------------------------------------------------- sections */
.section{ padding-block:var(--section); }
.section-ivory{ background:var(--ivory); }
.section-navy{ background:var(--navy); color:#fff; }
.section-navy h1,.section-navy h2,.section-navy h3{ color:#fff; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:2.4rem; }
.section-head h2{ margin:0; max-width:18ch; }
.lede{ font-size:1.12rem; max-width:40rem; }

.page-head{ padding-block:clamp(32px,4vw,52px) clamp(20px,2.5vw,32px); }
.page-head h1{ max-width:16ch; }

/* ------------------------------------------------------------ program cards */
.cards-3{ display:grid; gap:24px; grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr)); }
.prog-card{ background:#fff; display:flex; flex-direction:column; box-shadow:0 1px 0 var(--rule); }
.prog-card-top{ padding:26px 26px 22px; min-height:168px; display:flex; flex-direction:column; justify-content:space-between; gap:22px; }
.prog-card-top{ color:#fff; }
.prog-card-top svg{ width:74px; height:74px; fill:currentColor; }
.prog-card-top h3{ color:#fff; margin:0; }
.prog-top-green{ background:var(--green); }
.prog-top-plum{ background:var(--plum); }
.prog-top-blue{ background:var(--blue); }
.prog-card-body{ padding:22px 26px 26px; display:flex; flex-direction:column; gap:16px; flex:1; }
.prog-card-body p{ margin:0; flex:1; font-size:.98rem; }
.prog-card-body .tlink{ align-self:flex-start; }

/* ------------------------------------------------------------- give columns */
.give-grid{ display:grid; gap:26px 30px; grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr)); }
.give-col{ border-top:3px solid var(--red); padding-top:14px; }
.give-col h4{ font-family:var(--ui); font-weight:700; font-size:.95rem; margin:0 0 .5em; }
.give-col p{ margin:0; font-size:.9rem; color:rgba(255,255,255,.8); }

/* ------------------------------------------------------------- split blocks */
/* minmax(0,1fr), not 1fr: a grid item defaults to min-width:auto and so
   refuses to shrink below its content's intrinsic width, pushing the page
   sideways at 320px. The >=840px rules below already guard against this. */
.split{ display:grid; gap:clamp(28px,5vw,64px); align-items:center; grid-template-columns:minmax(0,1fr); }
.split>*, .give-split>*{ min-width:0; }
@media (min-width:840px){
  .split{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .split-narrow-left{ grid-template-columns:minmax(0,.72fr) minmax(0,1fr); }
  .split-narrow-right{ grid-template-columns:minmax(0,1fr) minmax(0,.72fr); }
  .split-reverse>:first-child{ order:2; }
}
.figure{ margin:0; }
.figure figcaption{ font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft); margin-top:.7em; line-height:1.45; }
.figure-dark figcaption{ color:rgba(255,255,255,.65); }

/* ------------------------------------------------------------- events cards */
.event-list{ display:grid; gap:16px; }
/* Date sits in a colored band across the top of each card, so cards with
   short and long text still line up cleanly. */
.event{ display:flex; flex-direction:column; background:#fff; }
.event-date{ color:#fff; padding:14px 22px; display:flex; flex-wrap:wrap; align-items:baseline; column-gap:12px; row-gap:2px; font-family:var(--ui); }
.event-date .d-when{ order:1; font-size:var(--min-type); font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.event-date .d-year{ order:2; font-family:var(--display); font-weight:800; font-size:1.55rem; line-height:1; }
.event-date .d-kind{ order:3; margin-left:auto; font-size:var(--min-type); font-weight:700; letter-spacing:.13em; text-transform:uppercase; opacity:.92; }
.ev-red{ background:var(--red); }
.ev-blue{ background:var(--blue); }
.ev-green{ background:var(--green); }
.ev-plum{ background:var(--plum); }
.event-body{ padding:20px 22px 24px; flex:1; }
.event-body h3{ margin:0 0 .4em; }
.event-body p{ margin:0; font-size:.97rem; }

/* ----------------------------------------------------------- generic cards */
.card{ background:#fff; padding:26px; border-top:4px solid var(--rule); }
.card h3,.card h4{ margin-top:0; }
.card p{ font-size:.95rem; }
.card-ivory{ background:var(--ivory); }
.ct-red{ border-top-color:var(--red); }
.ct-plum{ border-top-color:var(--plum); }
.ct-blue{ border-top-color:var(--blue); }
.ct-green{ border-top-color:var(--green); }
.card-outline{ border:1px solid var(--rule); border-top-width:4px; }
.card-navy{ background:var(--navy); color:#fff; border-top-color:var(--red); }
.card-navy h3{ color:#fff; }
.card-navy p{ color:rgba(255,255,255,.82); }
.card-navy .tlink{ color:#fff; border-color:var(--red); }

.quote{ font-family:var(--serif); font-style:italic; font-size:1.02rem; border-left:3px solid var(--red); padding-left:16px; margin:18px 0 0; }
.quote cite{
  display:block; font-family:var(--ui); font-style:normal; font-weight:700;
  font-size:var(--min-type); letter-spacing:.13em; text-transform:uppercase; color:var(--ink-soft); margin-top:.7em;
}

/* --------------------------------------------------------------- big quote */
.bigquote{ background:var(--navy); color:#fff; padding-block:clamp(48px,6vw,76px); }
.bigquote blockquote{ margin:0; max-width:46rem; }
.bigquote p{ font-family:var(--serif); font-style:italic; font-weight:300; font-size:clamp(1.6rem,3.6vw,2.6rem); line-height:1.22; margin:0 0 .6em; }
.bigquote .mark{ font-family:var(--serif); font-size:4rem; line-height:1; color:rgba(255,255,255,.32); display:block; }
.bigquote cite{ font-family:var(--ui); font-style:normal; font-weight:700; font-size:var(--min-type); letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.75); }

/* ------------------------------------------------------------ advocate band */
.band-advocate{ background:var(--red); color:#fff; padding-block:clamp(28px,3.5vw,44px); }
.band-advocate h2{ color:#fff; font-size:clamp(1.5rem,3vw,2.1rem); margin:0 0 .25em; }
.band-advocate p{ margin:0; color:rgba(255,255,255,.88); font-size:.98rem; }
.band-inner{ display:flex; gap:28px; align-items:center; flex-wrap:wrap; }
.band-mark{ color:var(--red); width:72px; height:72px; background:#fff; display:grid; place-items:center; flex:none; }
.band-actions{ display:flex; flex-wrap:wrap; gap:10px; width:100%; }
@media (min-width:1060px){ .band-actions{ width:auto; margin-left:auto; } }

/* --------------------------------------------------------------- signup */
.band-signup{ background:var(--navy); color:#fff; padding-block:clamp(28px,3.5vw,42px); border-bottom:1px solid rgba(255,255,255,.12); }
.signup-inner{ display:flex; gap:28px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.signup-inner h2{ margin:0 0 .25em; font-size:clamp(1.5rem,3vw,2rem); }
.signup-inner p{ margin:0; font-size:.95rem; color:rgba(255,255,255,.78); }
.signup-form{ display:flex; gap:0; flex:1; min-width:290px; max-width:520px; }
.signup-form input{ flex:1; min-width:0; border:0; padding:.9em 1em; font-family:var(--ui); font-size:.92rem; background:#fff; color:var(--navy); border-radius:0; }
.signup-form .btn{ border-radius:0; }
.signup-form{ flex-wrap:wrap; }
.signup-status{ flex-basis:100%; margin:.6em 0 0; font-family:var(--ui); font-size:.9rem; font-weight:600; }

/* ---------------------------------------------------------------- footer */
.site-footer{ background:var(--navy); color:rgba(255,255,255,.82); padding-block:clamp(44px,5vw,64px) 28px; font-size:.92rem; }
.footer-grid{ display:grid; gap:34px; grid-template-columns:1fr; }
@media (min-width:1080px){ .footer-grid{ grid-template-columns:2.05fr 1fr 1fr 1.25fr; } }
.footer-grid h3{ font-family:var(--ui); font-weight:700; font-size:var(--min-type); letter-spacing:.15em; text-transform:uppercase; color:var(--ivory); margin:0 0 1em; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:.6em; }
.footer-grid a{ color:rgba(255,255,255,.84); text-decoration:none; font-family:var(--ui); font-size:.88rem; }
.footer-grid a:hover{ color:#fff; text-decoration:underline; }
.footer-place{ font-family:var(--ui); font-size:.88rem; font-style:normal; line-height:1.5; color:rgba(255,255,255,.7); }
.socials{ display:flex; flex-wrap:wrap; gap:9px; margin-bottom:22px; }
.socials a{ width:40px; height:40px; border:1px solid rgba(255,255,255,.45); border-radius:50%; display:grid; place-items:center; }
.socials a:hover{ border-color:#fff; background:rgba(255,255,255,.1); }
.socials svg{ width:19px; height:19px; fill:rgba(255,255,255,.88); }
.footer-legal{ margin-top:40px; padding-top:22px; border-top:1px solid rgba(255,255,255,.16); font-family:var(--ui); font-size:var(--min-type); color:rgba(255,255,255,.6); line-height:1.7; }
.footer-legal a{ color:rgba(255,255,255,.75); }

/* ------------------------------------------------------------------ forms */
.field{ display:grid; gap:.42em; margin-bottom:1.05rem; }
.field label{ font-family:var(--ui); font-weight:700; font-size:var(--min-type); }
.field input,.field select,.field textarea{
  font-family:var(--ui); font-size:.95rem; padding:.72em .8em;
  border:1px solid var(--rule); background:#fff; color:var(--navy); border-radius:var(--radius); width:100%;
}
.field textarea{ min-height:132px; resize:vertical; }
.field-row{ display:grid; gap:0 16px; grid-template-columns:1fr 1fr; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.form-card{ background:#fff; border:1px solid var(--rule); padding:clamp(22px,3vw,32px); }

/* ------------------------------------------------------------ donate card */
.donate-card{ background:#fff; color:var(--navy); padding:clamp(22px,3vw,30px); }
.donate-card h2{ font-size:1.45rem; margin-bottom:.8em; }
.section-navy .donate-card,
.section-navy .donate-card h2,
.section-navy .donate-card h3{ color:var(--navy); }
.toggle{ display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--rule); margin-bottom:14px; }
.toggle button{ background:#fff; border:0; padding:.82em; font-family:var(--ui); font-weight:600; font-size:.9rem; cursor:pointer; }
.toggle button[aria-pressed="true"]{ background:var(--navy); color:#fff; }
.amounts{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:12px; }
.amounts button{ background:#fff; border:1px solid var(--rule); padding:.8em .4em; font-family:var(--ui); font-weight:600; font-size:.95rem; cursor:pointer; }
.amounts button[aria-pressed="true"]{ background:var(--red); border-color:var(--red); color:#fff; }
.donate-note{ font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft); margin:0 0 18px; }
.donate-foot{ font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft); margin-top:14px; line-height:1.55; }

/* ------------------------------------------------------------ video cards */
.video-card{ background:#fff; border-top:4px solid var(--rule); }
.video-card .meta{ padding:16px 20px 22px; }
.video-card .kicker{ font-family:var(--ui); font-weight:700; font-size:var(--min-type); letter-spacing:.14em; text-transform:uppercase; color:var(--red); display:block; margin-bottom:.5em; }
.video-card h3{ font-size:1.08rem; margin:0; }

/* ---------------------------------------------------------- faq / columns */
.cols-2{ display:grid; gap:26px 46px; grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); }
.faq h3{ font-size:1.02rem; margin:0 0 .4em; }
.faq p{ margin:0; font-size:.95rem; }

/* ------------------------------------------------------------ work blocks */
.work-block{ padding-block:clamp(22px,2.6vw,34px); }
/* the tile column is sized to the tile, so halving it does not leave a hole
   beside the text. The reversed block takes the narrow column on the right. */
@media (min-width:840px){
  .work-block .split{
    grid-template-columns:minmax(0,180px) minmax(0,1fr);
    gap:clamp(28px,4vw,52px); align-items:start;
  }
  .work-block .split-reverse{ grid-template-columns:minmax(0,1fr) minmax(0,180px); }
}
/* Half the size it was. The four brand icons are vector, but they were traced
   from the deck's raster artwork, so the stair-stepping is baked into the
   outline and shows up once the icon is drawn much past 200px. Until they are
   redrawn as true vector, nothing on the site asks them to be larger. */
.work-tile{ aspect-ratio:1; display:grid; place-items:center; max-width:180px; width:100%; }
/* the same square, for browsers without aspect-ratio (see .hero-squares) */
@supports not (aspect-ratio:1){
  .work-tile{ position:relative; height:0; padding-bottom:min(100%,180px); }
  .work-tile svg{ position:absolute; inset:0; }
}
.work-tile{ color:#fff; }
.wt-green{ background:var(--green); }
.wt-plum{ background:var(--plum); }
.wt-blue{ background:var(--blue); }
.work-block h2{ max-width:14ch; }
.work-links{ font-family:var(--ui); font-size:.84rem; margin-top:18px; display:grid; gap:.45em; }
.work-links a{ color:var(--red); font-weight:600; }
.section-navy .work-links a{ color:var(--ivory); text-decoration-color:var(--red); text-underline-offset:.2em; }
.section-navy .work-links{ color:rgba(255,255,255,.88); }

/* Our Work: one photo per program, always on the left, so the page reads
   in a single steady rhythm instead of zig-zagging. */
.work-row{ display:grid; gap:clamp(24px,4vw,56px); grid-template-columns:1fr; align-items:start; }
@media (min-width:840px){
  .work-row{ grid-template-columns:minmax(0,5fr) minmax(0,6fr); }
}
.work-photo img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-top:6px solid var(--navy); }
.wp-green img{ border-top-color:var(--green); }
.wp-plum img{ border-top-color:var(--plum); }
.wp-blue img{ border-top-color:var(--blue); }
/* Placeholder until new program photos are shot. Remove with the photos. */
.photo-needed{ aspect-ratio:4/3; display:flex; flex-direction:column; justify-content:center; gap:.6em;
  padding:clamp(20px,4vw,40px); background:#E9E4DA; border:2px dashed #B9B1A3; border-top:6px solid var(--navy);
  font-family:var(--ui); font-size:.95rem; line-height:1.45; color:var(--ink-soft); }
.photo-needed-label{ font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:var(--min-type); color:var(--navy); }
.wp-green .photo-needed{ border-top-color:var(--green); }
.wp-plum .photo-needed{ border-top-color:var(--plum); }
.wp-blue .photo-needed{ border-top-color:var(--blue); }
.work-num{ font-family:var(--display); font-weight:800; font-size:clamp(2.4rem,4vw,3.2rem); line-height:1; margin:0 0 .25em; }
.ey-green{ color:var(--green); }
.ey-plum{ color:var(--plum); }
.ey-blue{ color:var(--blue); }
@media (min-width:840px){
  .work-row-tile{ grid-template-columns:minmax(0,180px) minmax(0,1fr); gap:clamp(28px,4vw,52px); }
  .work-intro-grid{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(32px,4vw,56px); align-items:start; }
  .work-side{ margin-top:4.2rem; }
}
@media (max-width:839px){ .work-side{ margin-top:2rem; } }
.work-hero-photo{ margin:0; position:relative; overflow:hidden; aspect-ratio:4/5; }
.work-hero-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:54% 50%; }
@media (min-width:840px){
  .work-intro-grid{ align-items:stretch; }
  .work-intro-grid > div:first-child > :last-child{ margin-bottom:0; }
  .work-side{ display:flex; flex-direction:column; }
  .work-hero-photo{ flex:1 1 auto; aspect-ratio:auto; min-height:300px; }
}
.work-ask{ font-family:var(--ui); font-weight:600; display:flex; align-items:center; gap:.7em; margin:0; }
.work-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 24px;
  margin-top:1.4em; padding-top:1em; border-top:1px solid var(--rule); max-width:38rem; }
.work-when{ font-family:var(--ui); font-weight:700; white-space:nowrap; }
.wt-green-text{ color:var(--green); } .wt-plum-text{ color:var(--plum); } .wt-blue-text{ color:var(--blue); }
.work-cta-wrap{ padding-block:clamp(36px,5vw,56px); }
.work-cta-wrap .work-cta{ margin:0 auto; }
.ask-mark{ width:34px; height:34px; background:var(--red); color:#fff; display:grid; place-items:center; flex:none; }
.foot-ask{ display:flex; align-items:center; gap:.6em; }
.foot-ask .ask-mark{ width:24px; height:24px; }
.work-row h2{ max-width:none; }
.work-row p{ max-width:38rem; }
.work-intro .lede{ max-width:44rem; }
.work-honest strong{ color:var(--navy); }
.work-cta{ margin:1.4rem 0 0; padding:20px 24px; background:var(--navy); color:#fff; max-width:44rem;
  display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.work-cta-head{ display:flex; align-items:center; justify-content:center; gap:12px; }
.work-cta .band-mark{ width:40px; height:40px; margin:0; }
.work-cta-line{ font-family:var(--display); font-weight:800; font-size:1.2rem; line-height:1.2; margin:0; color:#fff; text-align:left; }
.work-cta-actions{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.work-cta .btn-outline{ border-color:#fff; color:#fff; }
.work-cta .btn-outline:hover{ background:#fff; color:var(--navy); }
.work-quote{ margin:1.8rem 0; padding:.2em 0 .2em 1.2em; border-left:6px solid var(--blue); max-width:40rem; }
.work-quote p{ font-family:var(--serif); font-size:clamp(1.2rem,2.2vw,1.45rem); line-height:1.4; margin:0; color:var(--navy); }

/* -------------------------------------------------------------- founders */
.founder{ background:#fff; border-top:4px solid var(--red); padding:26px; }
.founder .avatar{
  width:76px; height:76px; border-radius:50%; overflow:hidden; margin-bottom:16px;
  background:var(--ivory); display:grid; place-items:center;
  font-family:var(--display); font-weight:800; font-size:1.5rem; color:var(--blue);
}
.founder .avatar img{ width:100%; height:100%; object-fit:cover; }
.founder h3{ margin:0 0 .2em; font-size:1.18rem; }
.founder .role{ font-family:var(--ui); font-weight:700; font-size:var(--min-type); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); display:block; margin-bottom:.8em; }
.founder p{ font-size:.93rem; }

/* ------------------------------------------------------------------ misc */
.mini-cols{ display:grid; gap:28px; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); }
/* the same size as the four squares in the corner of the home page hero */
.mini-col .tile{ width:clamp(46px,6vw,74px); height:clamp(46px,6vw,74px); display:grid; place-items:center; margin-bottom:16px; }
.mini-col .tile{ color:#fff; }
.mini-col h3{ font-size:1.02rem; margin:0 0 .4em; }
.mini-col p{ font-size:.92rem; margin:0; }
.t-green{ background:var(--green); } .t-plum{ background:var(--plum); } .t-blue{ background:var(--blue); } .t-red{ background:var(--red); }

.support-box{ background:var(--navy); color:#fff; padding:clamp(24px,3vw,34px); display:flex; gap:26px; align-items:center; flex-wrap:wrap; margin-top:clamp(32px,4vw,48px); }
.support-box .mark{ width:62px; height:62px; background:var(--red); display:grid; place-items:center; flex:none; }
.support-box .mark{ color:#fff; }
.support-box h3{ color:#fff; margin:0 0 .3em; font-size:1.3rem; }
.support-box p{ margin:0; font-size:.94rem; color:rgba(255,255,255,.82); }
.support-box .actions{ display:flex; gap:10px; flex-wrap:wrap; margin-left:auto; }

/* A plain list for the ways to give that do not each need a card of their
   own — nine identical boxes read as a wall. */
.waylist{ display:grid; gap:0; grid-template-columns:1fr; margin:0; }
@media (min-width:820px){ .waylist{ grid-template-columns:1fr 1fr; column-gap:48px; } }
.waylist>div{ display:grid; gap:.3em; padding:18px 0; border-bottom:1px solid var(--rule); }
.waylist dt{ font-family:var(--ui); font-weight:700; font-size:1rem; }
.waylist dd{ margin:0; font-size:.97rem; color:var(--ink-soft); }

/* "At a glance" on the bio page. Not eight cards: eight identical boxes read as
   a wall, which is why the Give page is three cards and a list rather than nine
   cards. Each entry sits under a short rule instead, in one of the four brand
   colours, running in the order the logo bars run — red, green, plum, blue, then
   round again. Four across, each row is the logo's own sequence; two across puts
   red and plum down one side and green and blue down the other; one column runs
   the sequence straight through, twice.

   Icons were the other option and do not fit here. There are eight entries and
   four brand icons, and those icons carry meaning everywhere else on the site
   — bullhorn advocacy, brush art, people mentorship, quilt the Quilt — so three
   of them would have had to repeat and say nothing. The colour carries it. */
.glance{
  display:grid; margin:0;
  gap:clamp(26px,3vw,36px) clamp(30px,4vw,56px);
  grid-template-columns:1fr;
}
@media (min-width:640px){ .glance{ grid-template-columns:1fr 1fr; } }
/* Four across is the point of it: each row then runs red, green, plum, blue —
   the logo's four bars, in the logo's order, twice down the section. */
@media (min-width:1000px){ .glance{ grid-template-columns:repeat(4,1fr); } }
.glance>div{ border-top:3px solid var(--rule); padding-top:14px; }
.glance>div:nth-child(4n+1){ border-top-color:var(--red); }
.glance>div:nth-child(4n+2){ border-top-color:var(--green); }
.glance>div:nth-child(4n+3){ border-top-color:var(--plum); }
.glance>div:nth-child(4n+4){ border-top-color:var(--blue); }
.glance dt{
  font-family:var(--ui); font-weight:700; font-size:var(--min-type);
  letter-spacing:.15em; text-transform:uppercase; color:var(--navy);
  margin-bottom:.75em;
}
.glance dd{ margin:0; font-size:1rem; color:var(--ink-soft); }

.contact-strip{ display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr)); }
.contact-strip .email{ font-family:var(--ui); font-weight:700; font-size:.9rem; color:var(--navy); display:block; margin-bottom:.5em; }

.interior-hero{ position:relative; background:var(--navy); color:#fff; overflow:hidden; }
.interior-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.interior-hero .scrim{ position:absolute; inset:0; background:linear-gradient(95deg,rgba(20,26,60,.94) 0%,rgba(20,26,60,.82) 42%,rgba(20,26,60,.46) 100%); }
/* About: a lighter tint, dark only behind the words on the left, so the people in the photo stay clearly visible. */
.hero-light .scrim{ background:linear-gradient(90deg,rgba(20,26,60,.88) 0%,rgba(20,26,60,.7) 34%,rgba(20,26,60,.12) 58%,rgba(20,26,60,0) 72%); }
@media (min-width:1600px){ .hero-light .scrim{ background:linear-gradient(90deg,rgba(20,26,60,.9) 0%,rgba(20,26,60,.78) 46%,rgba(20,26,60,.15) 62%,rgba(20,26,60,0) 74%); } }
@media (max-width:759px){ .hero-light .scrim{ background:linear-gradient(180deg,rgba(20,26,60,.82) 0%,rgba(20,26,60,.72) 55%,rgba(20,26,60,.35) 100%); } }
.interior-hero .inner{ position:relative; padding-block:clamp(56px,8vw,96px); }
.interior-hero h1{ max-width:13ch; }
.interior-hero p{ max-width:36rem; color:rgba(255,255,255,.9); }
.interior-hero .credit{ position:relative; font-family:var(--ui); font-size:var(--min-type); color:rgba(255,255,255,.6); margin-top:1.6rem; max-width:48rem; }

/* ----------------------------------------------------- layout utilities */
.hero-grain{ width:100%; height:100%; }
.band-inner-top{ align-items:flex-start; }
.mark-red{ background:var(--red); }
.mark-red{ color:#fff; }
.stack-head{ flex:1; min-width:280px; }
.actions-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:2.2rem; }
.event-grid{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:1080px){ .event-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
/* Four events: two by two, so every card keeps a comfortable width. */
@media (min-width:760px){ .event-grid.event-grid-4{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.trio{ display:flex; gap:12px; justify-content:flex-start; }
.trio .tile{ width:clamp(62px,8vw,88px); height:clamp(62px,8vw,88px); display:grid; place-items:center; }
.trio .tile{ color:#fff; }
.footnote{ font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft); }
.socials-dark a{ border-color:var(--rule); }
.socials-dark a{ color:var(--navy); }
.socials-dark svg{ fill:currentColor; }
.socials-dark a:hover{ background:var(--ivory); border-color:var(--navy); }
.kickerlabel{ display:block; font-family:var(--ui); font-size:var(--min-type); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:.8em; }

/* images that must fill their column so adjacent figures line up */
.figure-fill img{ width:100%; }
/* three program columns inside the Give hero */
.give-grid-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:620px){ .give-grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:420px){ .give-grid-3{ grid-template-columns:1fr; } }
.founder-green{ border-top-color:var(--green); }
.founder-blue{ border-top-color:var(--blue); }
.cards-2{ display:grid; gap:24px; grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr)); }
@media (max-width:520px){ .cards-2{ grid-template-columns:1fr; } }

/* ------------------------------------------------------- brand icon tiles
   The four brand symbols are drawn on a 200-unit frame, and in the logo mark
   that whole frame maps to the tile. Every tile on the site follows the same
   rule — the icon fills it — so an icon is never smaller or more padded than
   the logo draws it. */
.hero-squares .sq svg,
.ask-mark svg,
.band-mark svg,
.work-tile svg,
.mini-col .tile svg,
.support-box .mark svg,
.trio .tile svg,
.card-tile svg{ width:100%; height:100%; fill:currentColor; display:block; }

/* Rounded corners, as the "Website icons" row of the logo sheet draws them:
   about 8 units of radius on the 200-unit tile, so 4% — a percentage keeps
   the same proportion at every tile size. */
.hero-squares .sq,
.ask-mark,
.band-mark,
.work-tile,
.mini-col .tile,
.support-box .mark,
.trio .tile,
.card-tile{ border-radius:4%; }

/* a tile above a card heading, so rows of cards are told apart at a glance */
.card-tile{
  width:54px; height:54px; display:grid; place-items:center;
  color:#fff; margin-bottom:16px;
}

/* ------------------------------------------------------------------- logo
   The primary logo from the November 2026 logo sheet ("CJF Logo 11-26"): the
   name in Lora, the tagline in Inter SemiBold tracked out to the same width,
   and the four brand colours as equal bars underneath. It is drawn as outlines
   (the #logo-full and #logo-compact symbols in the page's sprite), not live
   text, so it cannot shift when a computer is missing the fonts or a browser
   measures text differently — the "n" of Foundation always sits over the "E"
   of Change, as on the sheet.

   Every logo svg gets an explicit width AND height. Leaving the height to the
   browser is what made tiles render as tall rectangles in older Safari. */
.logo{ display:flex; align-items:center; text-decoration:none; flex:none; }
.logo svg{ display:block; }
/* the sheet's tagline grey, and on navy the sheet's ivory name and 80% white tagline */
.logo{ --logo-name:#1B2350; --logo-tag:#6B6660; }
.site-header .logo-full{ width:340px; height:64.75px; }   /* 1381 x 263 */
.site-header .logo-compact{ display:none; width:250px; height:33.3px; } /* 1381 x 184 */
/* The compact logo's bars are drawn thicker (33 units, not 24) so that at this
   smaller size they match the footer logo's bars on screen. */

/* Below the full-width header the tagline would be too small to read, so the
   header switches to the name and bars alone; the footer keeps the full logo. */
/* The header always shows the complete logo (name, tagline and bars), the
   same as the footer; it only gets smaller as the screen narrows. Heights
   keep the 1381 x 263 ratio. */
@media (max-width:1240px){
  .site-header .logo-full{ width:250px; height:47.6px; }
}

.footer-logo{ display:block; margin-bottom:18px; --logo-name:#F7F3EC; --logo-tag:rgba(255,255,255,.8); }
.footer-logo .logo-full{ width:340px; height:64.75px; }
@media (max-width:400px){
  .footer-logo .logo-full{ width:280px; height:53.3px; }
}

/* ------------------------------------------------------- video embeds
   Click-to-play: nothing loads from YouTube until the visitor asks for it. */
.video-thumb{
  display:block; width:100%; padding:0; border:0; margin:0;
  font:inherit; color:inherit; text-align:left; cursor:pointer;
  background:none;
}
.video-thumb[data-state="pending"]{ cursor:default; }
.video-thumb .face{
  position:relative; aspect-ratio:16/9; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:repeating-linear-gradient(135deg,#E8E2D6 0 10px,#EFEAE0 10px 20px);
}
.video-thumb .face img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.video-thumb .play{
  position:relative; width:58px; height:58px; border-radius:50%;
  background:var(--navy); display:grid; place-items:center;
  transition:transform .15s ease, background-color .15s ease;
}
.video-thumb .play svg{ width:18px; height:18px; fill:#fff; margin-left:3px; }
.video-thumb:hover .play{ transform:scale(1.08); background:var(--red); }
.video-thumb[data-state="pending"]:hover .play{ transform:none; background:var(--navy); }
.video-thumb[data-state="pending"] .play{ opacity:.45; }
.video-thumb .src{
  position:absolute; left:12px; bottom:10px;
  font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft);
}
.video-card .frame{ position:relative; aspect-ratio:16/9; background:#000; }
.video-card .frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-card .external{
  font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft);
  display:inline-flex; align-items:center; gap:.4em; margin-top:.6em;
}
.video-card .external svg{ width:.85em; height:.85em; fill:currentColor; }

/* Suggested amounts on the give card. Text, not controls: the real
   choices live on the fiscal sponsor-s form. */
.donate-card .donate-levels{
  margin:.85rem 0 1.4rem;
  font-weight:600;
  letter-spacing:.01em;
  color:var(--ink-soft);
}

/* Give page top: the donation form first, then a photo and who we are.
   On phones it stacks in that order: heading, form, photo, about. */
.give-top .give-title{ font-size:clamp(2rem,4.4vw,3rem); margin-bottom:clamp(20px,2.6vw,32px); }
.give-split{ display:grid; gap:clamp(28px,4vw,52px); grid-template-columns:1fr; align-items:start; }
@media (min-width:900px){ .give-split{ align-items:stretch; } }
@media (min-width:900px){ .give-split{ grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); } }
/* The donation box: laid out like the Study Center's GiveWP form so the
   hand-off feels seamless. Every control is a link to their form. */
.gw{ display:block; text-decoration:none; transition:box-shadow .15s; background:#fff; color:#1f2937; padding:clamp(22px,3vw,32px); font-family:var(--ui); font-size:.95rem; }
.gw:hover,.gw:focus-visible{ box-shadow:0 0 0 3px var(--red); }
.gw:hover .gw-go{ background:var(--red-dark); }
.gw-note{ color:#4b5563; line-height:1.55; margin:0 0 1.2em; }
.gw-label{ font-weight:600; margin:0 0 .55em; color:#111827; }
.gw-freq{ display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border:1px solid var(--red); border-radius:4px; margin-bottom:1.4em; }
.gw-freq span{ text-align:center; padding:.6em; border-radius:3px; color:#374151; }
.gw-freq span.is-on{ background:var(--red); color:#fff; font-weight:600; }
.gw-amounts{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:1.4em; }
.gw-amounts span{ text-align:center; padding:.8em .4em; border:1px solid #c7cbd1; border-radius:6px; font-weight:700; font-size:1.05rem; color:#111827; }
.gw-amounts span.is-on{ background:var(--red); border-color:var(--red); color:#fff; }
.gw-amounts .gw-custom{ grid-column:1 / -1; font-weight:400; font-size:.95rem; color:#6b7280; border-color:#9ca3af; border-radius:4px; }
.gw-go{ display:block; text-align:center; background:var(--red); color:#fff!important; font-weight:700; padding:.95em; border-radius:4px; }
.gw-foot{ font-size:var(--min-type); color:#6b7280; line-height:1.5; margin:1.1em 0 0; text-align:center; text-wrap:pretty; }
.gw-foot .gw-u{ text-decoration:underline; text-underline-offset:2px; }
/* The photo fills the column beside the box, kept to Cleve and the bullhorn. */
@media (min-width:900px){
  .give-side{ position:relative; }
  .give-side img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:0% 50%; }
}
/* Ways to support: white cards, each led by a coloured symbol square. */
.way-grid{ grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); }
@media (min-width:980px){ .way-grid{ grid-template-columns:repeat(3,1fr); } }
.way-card{ display:flex; flex-direction:column; border-top-width:1px; transition:box-shadow .15s, transform .15s; }
.way-card:hover{ box-shadow:0 10px 28px rgba(27,35,80,.10); transform:translateY(-2px); }
.way-body{ display:flex; flex-direction:column; flex:1; }
.way-card p{ text-wrap:pretty; }
.way-marks{ display:flex; gap:6px; margin-bottom:18px; }
.way-mark{ width:48px; height:48px; display:grid; place-items:center; color:#fff; flex:none; }
.way-mark svg{ width:38px; height:38px; }
.way-mark.way-line svg{ width:26px; height:26px; }
.way-mark.mark-navy{ background:var(--navy); }
.way-mark.mark-green{ background:var(--green); }
.way-mark.mark-plum{ background:var(--plum); }
.way-mark.mark-blue{ background:var(--blue); }
.way-links{ margin-top:auto; padding-top:.4em; display:flex; flex-wrap:wrap; gap:.4em 1.4em; }
.way-address{ font-style:normal; font-family:var(--ui); font-size:.9rem; line-height:1.55; margin:0 0 .9em; padding-left:.8em; border-left:3px solid var(--red); }
.way-thanks{ margin-bottom:0; }
/* The last card runs the full width, with its symbol beside the text. */
@media (min-width:980px){
  .way-wide{ grid-column:1 / -1; flex-direction:row; gap:24px; align-items:flex-start; background:var(--ivory); }
  .way-wide .way-marks{ margin:0; }
  .way-wide .way-body p:not(.way-links){ max-width:48rem; }
}
/* The questions, folded away until someone opens them. */
.give-faq{ padding-block:clamp(22px,2.6vw,34px); }
.give-faq summary{ cursor:pointer; list-style:none; display:flex; align-items:center; gap:1em; flex-wrap:wrap; }
.give-faq summary::-webkit-details-marker{ display:none; }
.give-faq summary .eyebrow{ margin:0; }
.faq-toggle{ font-family:var(--display); font-weight:800; font-size:clamp(1.3rem,2.4vw,1.7rem); color:var(--navy); }
.faq-toggle::after{ content:"+"; color:var(--red); margin-left:.4em; }
.give-faq details[open] .faq-toggle::after{ content:"\2212"; }
.give-faq .faq{ margin-top:2rem; }

/* The header row at phone widths: logo + Give + hamburger have to fit
   between the gutters, so the logo steps down and the button sheds its
   icon rather than letting anything overflow the page. */
@media (max-width:460px){
  .header-inner{ gap:10px; }
  .site-header .logo-full{ width:224px; height:42.7px; }
  .nav-give{ flex:none; font-size:.76rem; padding:.62em .9em; margin-right:2px; }
}
@media (max-width:420px){
  .site-header .logo-full{ width:200px; height:38.1px; }
}
@media (max-width:380px){
  .site-header .logo-full{ width:184px; height:35px; }
  .nav-give svg{ display:none; }
}

/* No hanging words (see noOrphans in _work/build.js). */
h1,h2,h3,h4{ text-wrap:balance; }
p,li,figcaption,blockquote,cite{ text-wrap:pretty; }
.nowrap{ white-space:nowrap; }

/* Our Work, compact (Kevin, Nov 2026): smaller squares, headings and spacing. */
.work-block .work-tile{ max-width:112px; }
.work-block h2{ font-size:clamp(1.45rem,2.6vw,1.95rem); max-width:none; margin-bottom:.5em; }
.work-block .work-row-tile p{ max-width:62ch; }
.work-block .work-row-tile p + p{ margin-top:.7em; }
@media (min-width:840px){ .work-block .work-row-tile{ grid-template-columns:minmax(0,112px) minmax(0,1fr); gap:clamp(24px,3vw,40px); } }
@media (max-width:839px){ .work-block .work-tile{ max-width:72px; } .work-block .work-row-tile{ gap:16px; } }
@supports not (aspect-ratio:1){ .work-block .work-tile{ padding-bottom:min(100%,112px); } }
/* Calmer closing quote */
.bigquote{ padding-block:clamp(26px,3vw,36px); }
.bigquote blockquote{ margin-inline:auto; text-align:center; max-width:36rem; }
.bigquote p{ font-size:clamp(1.2rem,2vw,1.45rem); margin-bottom:.5em; }
.bigquote .mark{ font-size:2.4rem; margin-bottom:-.2em; }

/* Homepage roadmap (Nov 2026) */
.section-head-intro .section-intro{ margin:.8em 0 0; max-width:58ch; }
.section-head-intro h2{ max-width:none; }
.link-row{ display:flex; flex-wrap:wrap; gap:.6em 1.6em; margin-top:1.2em; }
.home-resources-photo img{ width:100%; aspect-ratio:2/1; object-fit:cover; display:block; }
@media (min-width:840px){ .home-resources{ grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); } }
.support-box .mark.mark-blue{ background:var(--blue); }

/* ------------------------------------------------- Resources: movements + book */
.movement-card h3{ margin-top:0; }
.book-row{ display:grid; gap:clamp(24px,4vw,56px); grid-template-columns:1fr; align-items:center; }
@media (min-width:760px){ .book-row{ grid-template-columns:minmax(0,260px) minmax(0,1fr); } }
.book-cover{ position:relative; margin:0; width:100%; max-width:260px; aspect-ratio:420/637; justify-self:center;
  box-shadow:0 14px 30px rgba(20,30,60,.22); background:var(--navy); }
.book-cover img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.book-cover-fallback{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; gap:.6em;
  padding:12%; color:#fff; text-align:center; font-family:var(--display, serif); font-size:1.5rem; line-height:1.1; }
.book-cover-fallback small{ font-family:var(--ui); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.8); }
.book-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:1.4rem; }
.book-actions .btn svg{ width:1.2em; height:1.2em; fill:currentColor; }
#quilt .work-row-tile p{ max-width:68ch; }
@media (max-width:759px){ .book-cover{ max-width:180px; } }
.narrow-block p{ max-width:68ch; }
/* Bottom of every page: only the footer is navy (Kevin, Nov 2026). */
.band-signup{ background:var(--ivory); color:var(--navy); border-bottom:0; }
.band-signup h2{ color:var(--navy); }
.signup-inner p{ color:var(--ink-soft); }
.signup-form input{ border:1px solid rgba(27,36,82,.35); border-right:0; }
.bigquote{ background:transparent; color:var(--navy); }
.bigquote .mark{ color:var(--red); opacity:.7; }
.bigquote cite{ color:var(--ink-soft); }

/* Homepage: tighter rhythm (Kevin, Nov 2026) */
.page-index .section{ padding-block:var(--section); }
.page-index .section-head{ margin-bottom:1.4rem; }
.page-index .section h2{ margin-bottom:.4em; }
.page-index .section .eyebrow{ margin-bottom:.5em; }
.page-index .split{ gap:clamp(20px,3vw,40px); }
.page-index .section p{ margin-block:0 .8em; }
.page-index .link-row{ margin-top:.6em; }

/* Section labels as clear signposts (Kevin, Nov 2026) */
.eyebrow{ font-size:clamp(1.05rem,1.5vw,1.3rem); font-weight:800; letter-spacing:.1em; gap:.6em; }
.eyebrow::before{ width:.8em; height:.8em; }
/* Red is reserved for the bullhorn/donate: label squares are navy (ivory on dark). */
.eyebrow::before{ background:var(--navy); }
.eyebrow-on-dark::before, .eyebrow-white::before{ background:var(--ivory); }
/* "Your support matters." reads as a second line of the headline */
.band-advocate p{ font-family:var(--display); font-weight:700; font-size:clamp(1.15rem,2vw,1.45rem); color:#fff; margin-top:.15em; }

/* Resources: page head with a photo slot */
.page-head-photo{ display:grid; gap:clamp(24px,4vw,56px); align-items:center; grid-template-columns:1fr; }
@media (min-width:840px){ .page-head-photo{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
.photo-placeholder{ margin:0; aspect-ratio:3/2; display:grid; place-items:center;
  background:repeating-linear-gradient(135deg,#E8E2D6 0 10px,#EFEAE0 10px 20px); border:1px dashed rgba(27,36,82,.3); }
.photo-placeholder span{ font-family:var(--ui); font-size:var(--min-type); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.page-head-img{ margin:0; }
.page-head-img img{ display:block; width:100%; aspect-ratio:3/2; object-fit:cover; }

/* About: mentors lead to the mentorship program */
.mentor-next{ display:flex; gap:18px; align-items:center; margin-top:clamp(28px,4vw,44px); padding-top:clamp(20px,3vw,28px); border-top:1px solid var(--rule); }
.mentor-next-tile{ flex:0 0 56px; width:56px; height:56px; display:grid; place-items:center; color:#fff; }
.mentor-next-tile svg{ width:100%; height:100%; fill:currentColor; }
.mentor-next p{ margin:0; max-width:70ch; }
.mentor-next .tlink{ display:inline-block; margin-top:.5em; }
.mentor-next{ align-items:flex-start; }
/* On phones the launch date gets its own line so the sentence before it never ends on a stub */
@media (max-width:839px){ .work-when{ display:block; margin-top:.35em; } }

/* Inline text links: "Learn more" / "See our work" sit right after the last word (Kevin, Nov 2026) */
.tlink-inline{ display:inline; white-space:nowrap; margin-left:.2em; }
.prog-card-body .tlink-inline{ align-self:auto; }
/* Events: "See all" sits under the cards it belongs to */
.see-all{ margin:1.6rem 0 0; text-align:left; }
.page-index .section .see-all{ margin:1.8rem 0 0; }
.page-index .section-head-intro .section-intro{ max-width:68ch; }
/* Bio: Cleve's photo lines up with the top of the text (Kevin, Nov 2026) */
.page-bio-cleve .split{ align-items:start; }
.page-bio-cleve .split .figure{ margin-top:.35em; }
/* About: "Why Cleve is creating the foundation" uses the full width, less empty space (Kevin, Nov 2026) */
.their-turn .lede{ max-width:62rem; }
.their-turn .lede + .lede{ margin-top:.8em; }
.page-about .mentor-next{ align-items:center; }
/* About: Cleve's bio card with his current portrait (Kevin, Nov 2026) */
.bio-card{ display:flex; align-items:center; gap:18px; margin-top:1.4rem; padding:14px; background:var(--ivory); text-decoration:none; color:var(--navy); max-width:28rem; }
.bio-card img{ width:96px; height:96px; object-fit:cover; flex:0 0 96px; display:block; }
.bio-card-text{ display:flex; flex-direction:column; gap:.2em; }
.bio-card-text strong{ font-family:var(--display); font-size:1.2rem; }
.bio-card-text span{ font-family:var(--ui); font-size:.9rem; color:var(--ink-soft); }
.bio-card-text .tlink{ align-self:flex-start; margin-top:.4em; color:var(--red); }
.bio-card:hover .tlink{ color:var(--red-dark); border-color:var(--red-dark); }
/* Our Work: list of what a program supports (Kevin, Nov 2026) */
.work-list{ list-style:none; padding:0; margin:.9em 0 1em; display:grid; gap:.45em 2em; grid-template-columns:1fr; max-width:62ch; }
@media (min-width:700px){ .work-list{ grid-template-columns:1fr 1fr; } }
.work-list li{ position:relative; padding-left:1.3em; }
.work-list li::before{ content:""; position:absolute; left:0; top:.5em; width:.6em; height:.6em; background:var(--navy); }
.work-list-green li::before{ background:var(--green); }
.work-list-plum li::before{ background:var(--plum); }
.work-list-blue li::before{ background:var(--blue); }
@media (min-width:700px){ .work-list-blue{ grid-template-columns:1fr; } }
/* Our Work: invite supporters' ideas (Kevin, Nov 2026) */
.ideas{ padding-block:clamp(24px,3vw,36px); border-bottom:1px solid var(--rule); }
.ideas-inner{ text-align:center; max-width:44rem; }
.ideas-inner h2{ margin:0 0 .4em; }
.ideas-inner p{ margin:0 auto .9em; }
@media (min-width:700px){ .work-list-plum{ grid-template-columns:1fr; } }
/* Donate box: bullhorn square lines up with the left edge of the buttons (Kevin, Nov 2026) */
.work-cta{ display:grid; justify-content:center; }
.work-cta-head, .work-cta-actions{ justify-content:flex-start; }
/* Our Work: "Share your ideas" in a box (Kevin, Nov 2026) */
.ideas{ border-bottom:0; }
.ideas-box{ max-width:44rem; margin:0 auto; padding:clamp(28px,4vw,44px) clamp(20px,4vw,48px); background:var(--navy); color:#fff; text-align:center; }
.ideas-box h2{ color:#fff; margin:0 0 .45em; }
.ideas-box p{ margin:0 auto 1em; max-width:36rem; color:rgba(255,255,255,.9); }
.ideas-box p:last-child{ margin-bottom:0; }
/* Our Work: photo slot beside each program. Every photo is the same square
   size so the three programs line up (Kevin, Nov 2026). */
.work-photo{ margin:0; width:100%; max-width:340px; }
.work-photo img{ aspect-ratio:1/1; }
.work-credit{ font-family:var(--ui); font-size:var(--min-type); color:var(--ink-soft); margin-top:.5em; }
@media (max-width:999px){ .work-photo{ grid-column:1 / -1; margin-top:.4rem; } }

/* Inline link that wraps with the sentence (no forced line break before it). */
.tlink-flow{ display:inline; margin-left:.15em; }
/* Quote attribution sits right after the quote's last words. */
.quote cite{ display:inline; margin:0 0 0 .6em; white-space:nowrap; }
/* Mid-size screens: the photo column leaves too little room for two list columns. */
@media (min-width:1000px) and (max-width:1199px){ .work-list{ grid-template-columns:1fr; } }

/* Resources: Quilt links as boxes. */
.quilt-links{ display:grid; gap:14px; margin-top:26px; grid-template-columns:1fr; }
@media (min-width:760px){ .quilt-links{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.quilt-link{
  display:flex; flex-direction:column; gap:.4em; padding:18px 20px 20px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.18); border-top:5px solid var(--blue);
  color:#fff; text-decoration:none; transition:background .15s;
}
.quilt-link:hover,.quilt-link:focus-visible{ background:rgba(255,255,255,.14); }
.quilt-link.ql-green{ border-top-color:var(--green); }
.quilt-link.ql-plum{ border-top-color:var(--plum); }
.quilt-link.ql-red{ border-top-color:var(--red); }
.quilt-link strong{ font-family:var(--ui); font-size:1.02rem; }
.quilt-link span{ font-family:var(--serif); color:rgba(255,255,255,.86); font-size:.98rem; line-height:1.45; }
/* The web link sits right after the last sentence, not on a line of its own. */
.quilt-link .ql-go{
  font-family:var(--ui); font-weight:700; font-size:var(--min-type); line-height:1;
  letter-spacing:.08em; text-transform:uppercase; color:#fff; white-space:nowrap; display:inline;
}
.quilt-link .ql-go svg{ width:.9em; height:.9em; fill:var(--red); vertical-align:-.05em; margin-left:.3em; }
@media (min-width:1000px){ #quilt .work-row-tile{ grid-template-columns:minmax(0,112px) minmax(0,1fr); } }
#quilt .quilt-links{ max-width:none; margin-top:20px; }
/* The same link box on a light background (FairHotel, under the labor section). */
.quilt-link.link-light{ margin-top:26px; max-width:40rem; background:#fff; color:var(--navy); border-color:var(--rule); border-top-color:var(--red); }
.quilt-link.link-light:hover,.quilt-link.link-light:focus-visible{ background:#fff; box-shadow:0 2px 10px rgba(27,35,80,.1); }
.quilt-link.link-light span{ color:var(--navy); }
.quilt-link.link-light .ql-go{ color:var(--navy); }
/* Beyond the Quilt: FairHotel across the top, SFAF and Vivent side by side. */
.labor-links{ max-width:48rem; }
.labor-links .quilt-link.link-light{ margin-top:0; max-width:none; }
.labor-links .quilt-link.link-light.ql-plum{ border-top-color:var(--plum); }
@media (min-width:760px){ .labor-links .ql-wide{ grid-column:1 / -1; } }
/* Quilt section: text on the left, photo on the right. */
.quilt-split{ display:grid; gap:24px; grid-template-columns:1fr; }
.quilt-photo{ margin:0; max-width:30rem; }
.quilt-photo img{ display:block; width:100%; height:auto; }
@media (min-width:900px){
  .quilt-split{ grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(28px,3.5vw,48px); align-items:start; }
  .quilt-photo{ max-width:none; margin-top:.4rem; }
}

/* Events & News: press stories as cards. */
.news-list{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width:700px){ .news-list{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.news-card{
  display:flex; flex-direction:column; gap:.5em; padding:18px 20px 20px; background:#fff;
  border:1px solid var(--rule); border-top:5px solid var(--navy); color:var(--navy); text-decoration:none; transition:box-shadow .15s;
}
.news-card:hover,.news-card:focus-visible{ box-shadow:0 6px 18px rgba(27,36,84,.12); }
.news-card .kicker{ font-family:var(--ui); font-weight:700; font-size:var(--min-type); letter-spacing:.12em; text-transform:uppercase; color:var(--red); }
.news-card strong{ font-family:var(--ui); font-size:1.08rem; line-height:1.3; }
.news-card .news-go{ margin-top:auto; padding-top:.4em; font-family:var(--ui); font-weight:700; font-size:var(--min-type); color:var(--ink-soft); display:flex; align-items:center; gap:.4em; }
.news-card .news-go svg{ width:.9em; height:.9em; fill:var(--red); }
/* Five stories: one per row on every screen, so the list stays balanced. */
.news-list{ grid-template-columns:1fr !important; }
.news-card{ display:grid; grid-template-columns:1fr; gap:.35em; }
@media (min-width:760px){
  .news-card{ grid-template-columns:minmax(0,1fr) auto; column-gap:28px; align-items:end; }
  .news-card .kicker{ grid-column:1 / -1; }
  .news-card .news-go{ padding-top:0; white-space:nowrap; }
}
.news-card{ border-top:none; border-left:5px solid var(--navy); }
.news-card.ct-red{ border-left-color:var(--red); } .news-card.ct-blue{ border-left-color:var(--blue); }
.news-card.ct-green{ border-left-color:var(--green); } .news-card.ct-plum{ border-left-color:var(--plum); }

/* Press box: microphone beside the words, compact, button in line. */
.news-press .support-box{
  display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:20px; row-gap:14px;
  align-items:center; padding:clamp(18px,2.2vw,24px) clamp(18px,2.4vw,28px); flex-wrap:nowrap;
}
.news-press .support-box .mark{ width:52px; height:52px; align-self:start; }
.news-press .support-box h3{ font-size:1.15rem; margin:0 0 .25em; }
.news-press .support-box .actions{ margin:0; grid-column:2; }
@media (min-width:900px){
  .news-press .support-box{ grid-template-columns:auto minmax(0,1fr) auto; column-gap:28px; }
  .news-press .support-box .actions{ grid-column:3; }
}

/* ---- Resources: the Quilt around the world (map; numbers open a pop-up) ---- */
.qw-intro{ max-width:62ch; }
.qw-figure{ margin:8px auto 0; max-width:900px; }
.qw-stage, .qw-mapbox{ position:relative; }
.qw-card{ position:relative; }
.qw-map{ display:block; width:100%; height:auto; }
.qw-map line{ stroke:var(--navy); stroke-width:1.4; }
.qw-map .qw-dot{ fill:var(--red); stroke:#fff; stroke-width:1.5; }
.qw-pin{
  position:absolute; transform:translate(-50%,-50%); z-index:2;
  width:32px; height:32px; border-radius:50%; border:2px solid #fff; padding:0;
  background:var(--blue); color:#fff; font:700 15px/1 var(--ui); cursor:pointer;
  box-shadow:0 1px 4px rgba(27,35,80,.35); transition:transform .15s, background .15s;
}
.qw-pin:hover{ transform:translate(-50%,-50%) scale(1.12); }
.qw-pin[aria-expanded="true"]{ background:var(--red); transform:translate(-50%,-50%) scale(1.12); }
.qw-share{
  margin:8px auto 0; max-width:900px; padding:18px 26px; background:var(--ivory);
  border-top:5px solid var(--blue); display:flex; align-items:center; gap:28px;
}
.qw-share h3{ margin:0 0 .25em; font-size:1.3rem; }
.qw-share p{ margin:0; }
.qw-share .btn{ flex:none; }
@media (max-width:700px){ .qw-share{ flex-direction:column; align-items:flex-start; gap:14px; padding:20px 20px; } }
.qw-hint{ font-family:var(--ui); font-size:.9rem; color:var(--navy); opacity:.75; text-align:center; margin-top:10px; }
.qw-card.quilt-link.link-light{ margin-top:0; max-width:none; border-top-color:var(--blue); }
.qw-card.quilt-link.link-light.ql-green{ border-top-color:var(--green); }
.qw-card.quilt-link.link-light.ql-plum{ border-top-color:var(--plum); }
.qw-card.quilt-link.link-light.ql-red{ border-top-color:var(--red); }
.qw-card .ql-go{ text-decoration:none; }
.qw-card .ql-go:hover{ text-decoration:underline; }
.qw-place{ font-family:var(--ui) !important; font-size:.82rem !important; letter-spacing:.04em; text-transform:uppercase; display:flex; align-items:center; gap:8px; padding-right:28px; }
.qw-num{ flex:none; display:inline-grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--blue); color:#fff; font-size:.8rem; letter-spacing:0; }
.qw-close{ display:none; position:absolute; top:10px; right:10px; width:32px; height:32px; border:0; background:none; color:var(--navy); font-size:1.6rem; line-height:1; cursor:pointer; border-radius:50%; }
.qw-close:hover{ background:var(--ivory); }
/* Without JavaScript the cards simply list under the map. */
.qw-stage:not(.qw-ready) .qw-card{ margin-top:14px !important; }
.qw-stage:not(.qw-ready) .qw-pin{ cursor:default; }
/* With JavaScript: one card at a time, as a pop-up. */
.qw-ready .qw-card{ display:none; }
.qw-ready .qw-card.is-open{
  display:flex; position:absolute; z-index:3; width:min(340px,46%);
  box-shadow:0 8px 28px rgba(27,35,80,.22);
}
.qw-ready .qw-close{ display:block; }
@media (max-width:700px){
  .qw-figure{ margin:20px -8px 0; }
  .qw-pin{ width:24px; height:24px; font-size:12px; border-width:1.5px; }
  /* On phones the pop-up opens under the map, full width. */
  .qw-ready .qw-card.is-open{ position:relative; width:auto; margin-top:16px; box-shadow:0 4px 16px rgba(27,35,80,.14); }
}

/* ---- Resources: partners row + working families with photo ---- */
.partner-links{ margin-top:28px; }
@media (min-width:900px){ .partner-links{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.partner-links .quilt-link.link-light{ margin-top:0; max-width:none; }
.partner-links .ql-logo, .labor-split .ql-logo{ display:block; height:44px; width:auto; max-width:100%; margin-bottom:16px; object-fit:contain; object-position:left center; }
.labor-split .ql-logo-tall{ height:76px; }
@media (min-width:560px){
  .quilt-link.ql-side{ display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:24px; row-gap:.4em; align-content:start; }
  .quilt-link.ql-side .ql-logo{ grid-row:1 / span 2; margin-bottom:0; height:104px; align-self:start; }
  .quilt-link.ql-side > :not(.ql-logo){ grid-column:2; }
}
.partner-links .quilt-link.link-light.ql-plum{ border-top-color:var(--plum); }
.partner-links .quilt-link.link-light.ql-green{ border-top-color:var(--green); }
.labor-split{ align-items:start; }
.labor-photo img{ width:100%; height:auto; display:block; }
.labor-split .quilt-link.link-light{ margin-top:22px; }
/* Give: when there is no photo beside the donate box, centre the box. */
@media (min-width:900px){ .give-split:not(:has(.give-side)){ grid-template-columns:minmax(0,44rem); justify-content:center; } }
/* Give: the Sage JR painting is artwork, so it is shown whole, never cropped. */
.give-side.give-art{ margin:0; align-self:center; }
.give-side.give-art img{ position:static; width:100%; height:auto; object-fit:contain; display:block; }
.give-side.give-art figcaption{ font-family:var(--ui); font-size:.85rem; color:rgba(255,255,255,.8); margin-top:10px; }

/* A figure as wide as its photo: the caption wraps to the photo's width
   instead of running past it. */
.figure-fit{ width:fit-content; max-width:100%; }
.figure-fit figcaption{ width:0; min-width:100%; }
/* Title-only link boxes (the Quilt section): the whole box is the link. */
.quilt-link .ql-icon svg{ width:.8em; height:.8em; fill:var(--red); vertical-align:baseline; margin-left:.25em; }
#quilt .quilt-link{ padding:16px 20px; justify-content:center; }
#quilt .quilt-link strong{ font-size:1.08rem; }
#quilt .quilt-link:hover strong{ text-decoration:underline; text-underline-offset:3px; }
/* Logo with the name beside it (UK AIDS Memorial Quilt box). */
.partner-links .ql-head{ display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.partner-links .ql-head .ql-logo{ margin-bottom:0; flex:none; }
.partner-links .ql-head strong{ font-family:var(--ui); line-height:1.2; }

/* Map section in two columns on wide screens: title, intro and "Help us add" on the left, map on the right. */
.qw-layout{ display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"head" "map" "share"; row-gap:16px; }
.qw-head{ grid-area:head; } .qw-layout .qw-figure{ grid-area:map; margin:0; max-width:none; } .qw-layout .qw-share{ grid-area:share; }
.qw-layout .qw-share{ display:block; margin:0; max-width:none; }
.qw-layout .qw-share p{ margin:0 0 14px; }
@media (min-width:1000px){
  .qw-layout{ grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr); grid-template-areas:"head map" "share map"; column-gap:clamp(28px,3vw,48px); align-items:start; align-content:start; }
  .qw-layout .qw-figure{ align-self:center; }
}
@media (min-width:1000px){ #quilt-world .qw-head h2{ font-size:clamp(2rem,3.1vw,2.7rem); } }

/* Compact "Help us add to the map" box: text and a small button side by side. */
.qw-layout .qw-share{ display:flex; align-items:center; gap:16px; padding:14px 18px; border-top-width:4px; }
.qw-layout .qw-share h3{ font-size:1.05rem; margin:0 0 .2em; }
.qw-layout .qw-share p{ margin:0; font-size:.95rem; line-height:1.4; }
.qw-layout .qw-share .btn{ flex:none; font-size:.82rem; padding:.7em 1.1em; }
@media (max-width:700px){ .qw-layout .qw-share{ flex-direction:column; align-items:flex-start; gap:10px; } }
/* Help box text lines up with the intro above: no side inset, just the blue rule on top. */
.qw-layout .qw-share{ background:none; padding:12px 0 0; }
/* Images alternate sides down Resources: map on the left, text on the right. */
@media (min-width:1000px){
  .qw-layout{ grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); grid-template-areas:"map head" "map share"; }
}
#quilt-world .eyebrow{ white-space:nowrap; }
#quilt-world .qw-head h2 .accent{ white-space:nowrap; }
@media (min-width:1000px){ #quilt-world .qw-head h2{ font-size:clamp(1.8rem,2.7vw,2.7rem); } }
.qw-layout .qw-share{ flex-wrap:wrap; }
.qw-layout .qw-share > div{ flex:1 1 220px; }

/* Resources: navy band on every other section (Nov 26 mock) */
#partners.section-navy .eyebrow,#features.section-navy .eyebrow{ color:#fff; }
#partners.section-navy .eyebrow::before,#features.section-navy .eyebrow::before{ background:#fff; }
#partners.section-navy .accent,#features.section-navy .accent{ color:var(--red); }
#features.section-navy .cards-3 h3{ color:var(--navy); }
/* Our Work: rest of the intro sits below the photo banner */
@media (min-width:840px){ .work-intro-after .work-side{ margin-top:0; justify-content:center; } }
@media (max-width:839px){ .work-intro-after .work-side{ margin-top:1.4rem; } }
.section-navy .wt-plum-text{ color:#D9B3E6; }
/* Our Work: light donate ask under the quote */
.work-ask-light{ margin-top:1.2rem; padding:16px 20px; background:var(--ivory); border-left:6px solid var(--red); }
.work-ask-light .work-cta-line{ color:var(--navy); display:flex; align-items:center; gap:10px; margin:0 0 12px; }
.work-ask-light .band-mark{ width:34px; height:34px; margin:0; flex:none; }
.work-ask-light .work-cta-actions{ justify-content:flex-start; }
/* Allies on navy: cream cards with bold colored tops */
#partners.section-navy .quilt-link{ background:var(--ivory); border:0; border-top:6px solid var(--blue); }
#partners.section-navy .quilt-link.ql-green{ border-top-color:var(--green); }
#partners.section-navy .quilt-link.ql-plum{ border-top-color:var(--plum); }
#partners.section-navy .quilt-link.ql-red{ border-top-color:var(--red); }
/* Events: news stories on cream so they stand apart on the white section */
.news-press .news-card{ background:var(--ivory); }
#partners.section-navy .ql-logo, #partners.section-navy .quilt-link img{ mix-blend-mode:multiply; }
/* Video cards on navy: cream with colored tops, matching the allies cards */
#features.section-navy .video-card{ background:var(--ivory); border-top:6px solid var(--plum); }
#features.section-navy .video-card:nth-child(2){ border-top-color:var(--red); }
#features.section-navy .video-card:nth-child(3){ border-top-color:var(--green); }

/* Our Work: a square photo beside each program (Kevin, Nov 27 2026).
   Desktop: icon | text | photo, so the programs get no longer.
   Phone: a short wide photo under the text. */
.work-block .work-row-tile.has-photo .work-photo{ max-width:none; margin:0; }
.work-block .work-row-tile.has-photo .work-photo img{ width:100%; height:auto; display:block; aspect-ratio:1/1; object-fit:cover; border-top:6px solid var(--navy); }
#arts .work-photo img{ border-top-color:var(--green, #2e7d5b); }
#mentorship .work-photo img{ border-top-color:var(--plum, #6b3a6b); }
#public-health .work-photo img{ border-top-color:var(--blue, #2a5ea8); }
@media (min-width:1000px){
  .work-block .work-row-tile.has-photo{ grid-template-columns:minmax(0,112px) minmax(0,1fr) minmax(0,300px); align-items:start; }
  .work-block .work-row-tile.has-photo .work-photo{ grid-column:auto; margin-top:.3rem; }
}
@media (max-width:999px){
  .work-block .work-row-tile.has-photo .work-photo{ grid-column:1 / -1; margin-top:.2rem; }
  .work-block .work-row-tile.has-photo .work-photo img{ aspect-ratio:16/9; }
  #arts .work-photo img{ object-position:50% 8%; }
}
.work-block .work-photo figcaption{ margin-top:.5em; }

/* Home Our Work: intro text spans the same width as the heading (Kevin, Nov 27 2026). */
.intro-match{ width:fit-content; max-width:100%; }
.section-head-intro .intro-match .section-intro{ width:0; min-width:100%; max-width:none; }

/* Photo credits sit right-aligned on the caption line; they drop to their own line (still right) when space runs out. */
.figure figcaption:has(.pcredit){ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; column-gap:1em; row-gap:.15em; }
.pcredit{ margin-left:auto; white-space:nowrap; opacity:.85; }
.interior-hero .hero-credit{ position:absolute; right:clamp(16px,3vw,32px); bottom:12px; margin:0; max-width:calc(100% - 32px); text-align:right; font-family:var(--ui); font-size:var(--min-type); color:rgba(255,255,255,.85); text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 8px rgba(0,0,0,.6); }
