/* ==========================================================================
   MEGA v5 · COMPONENTS
   Cards, full-bleed bands, the editorial blocks, forms and the footer.
   Loaded after brand.css (tokens, type, buttons, chrome) and before
   pages.css (the interior-page vocabulary).

   Evidence: RECON/refs/css/wedo.css and RECON/refs/wedo-home.html.
   ========================================================================== */

/* ---------------------------------------------------------------- cards */
.grid{display:grid;gap:1.5rem}
.grid--2,.grid--3,.grid--4{grid-template-columns:1fr}
@media (min-width:640px){
  .grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:768px){.grid{gap:2rem}}
@media (min-width:1024px){
  .grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Plain card: white, hairline, square. Titles in Denim (component level). */
.card{
  display:flex;flex-direction:column;gap:.75rem;
  background:var(--white);color:var(--ink);
  border:1px solid var(--ink-12);
  padding:1.5rem;
}
.card h3{font-family:var(--display);font-weight:600;font-size:1.125rem;line-height:1.25}
.card p{font-size:.9375rem;line-height:1.5}
.card__ico{
  display:grid;place-items:center;width:3rem;height:3rem;flex:0 0 auto;
  background:var(--offwhite);color:var(--green);
}
.card__ico svg{width:1.75rem;height:1.75rem}
.card__meta{
  display:flex;justify-content:space-between;gap:1rem;
  font-size:.75rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-70);
}
.card__meta--num{color:var(--green-text)}
.band-offwhite .card{background:var(--white)}

/* Loud card: the reference's coloured tile with the black circular badge.
   v6 makes it the page's colour block proper — a tall flat rectangle with a
   hard edge, an outline eyebrow pill, a bold title and the badge on the
   baseline. No radius, no border, no gradient. */
.card--loud{
  border:0;justify-content:space-between;gap:3rem;
  min-height:9rem;padding:1.5rem;
}
@media (min-width:768px){.card--loud{padding:2rem;min-height:15rem}}
@media (min-width:1280px){.card--loud{min-height:18rem}}
.card--loud .card__ico{background:rgba(255,255,255,.24);color:currentColor}
.card--loud .card__meta,.card--loud .card__meta--num{color:currentColor;opacity:.9}
.card--loud h3{font-family:var(--display);font-weight:600;font-size:1.375rem;line-height:1.18}
@media (min-width:768px){.card--loud h3{font-size:1.5rem}}
.card--loud p{font-size:.9375rem;line-height:1.5;max-width:34ch;opacity:.92}
/* The outline eyebrow: a hairline pill drawn in the card's own foreground,
   exactly how the reference labels its colour blocks. */
.card--loud .tag{
  background:transparent;border:1px solid currentColor;color:inherit;
  border-radius:var(--pill);padding:.3rem .75rem;opacity:.95;
}
.card--loud .circle-btn{background:var(--ink);color:var(--offwhite)}
.card--loud:hover .circle-btn{background:var(--white);color:var(--ink)}
.card--green{background:var(--green-text);color:var(--white)}
.card--yellow{background:var(--yellow);color:var(--on-yellow)}
.card--orange{background:var(--orange);color:var(--on-orange)}
.card--purple{background:var(--purple);color:var(--on-purple)}
.card--burgundy{background:var(--burgundy);color:var(--white)}
.card--blue{background:var(--blue);color:var(--white)}
.card--plum{background:var(--plum);color:var(--offwhite)}
.card--lavender{background:var(--lavender);color:var(--ink)}
.card--offwhite{background:var(--offwhite);color:var(--ink)}
.card--blue-light{background:var(--blue-light);color:var(--ink)}
.card--ink{background:var(--ink);color:var(--offwhite)}
.card--loud:hover{background:var(--ink);color:var(--offwhite)}

/* Tile: the colour-block with the reference's 8px top rule. */
.tile{
  display:flex;flex-direction:column;gap:1rem;
  background:var(--white);color:var(--ink);border-top:8px solid var(--green);
  padding:1.5rem;
}
.tile--green{border-top-color:var(--green)}
.tile--yellow{border-top-color:var(--yellow)}
.tile--orange{border-top-color:var(--orange)}
.tile--purple{border-top-color:var(--purple)}
.tile--burgundy{border-top-color:var(--burgundy)}
.tile--blue{border-top-color:var(--blue)}
.tile--plum{border-top-color:var(--plum)}
.tile__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.tile__thumb{
  width:5rem;height:5rem;flex:0 0 auto;overflow:hidden;background:var(--offwhite);
}
.tile__thumb img{width:100%;height:100%;object-fit:cover}
.tile__thumb--pad img{object-fit:contain;padding:.5rem}
.tile h3{font-family:var(--serif);font-weight:600;font-size:1.25rem;line-height:1.2}
.tile p{font-size:.9375rem;line-height:1.5}
.tile__foot{
  margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.more{
  font-weight:700;font-size:.875rem;
  text-decoration:underline;text-decoration-color:transparent;
  text-decoration-thickness:2px;text-underline-offset:3px;
}
.more:hover{text-decoration-color:currentColor}

/* Lead article card — photo under a dark scrim, green pill eyebrow, Season
   Mix title in offwhite, and the reference's 8px green bottom rule. */
.feature-card{
  display:flex;flex-direction:column;
  background:var(--blue-light);
  border-bottom:8px solid var(--green);
}
.feature-card__media{
  position:relative;display:flex;align-items:flex-end;
  min-height:20rem;overflow:hidden;background:var(--ink);
}
@media (min-width:768px){.feature-card__media{min-height:27rem;max-height:35rem}}
.feature-card__media img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.feature-card__media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(46,37,49,.92) 20%,rgba(46,37,49,.35) 60%,transparent);
}
.feature-card__tag{position:absolute;z-index:2;top:1rem;left:1rem}
.feature-card .eyebrow-pill--green,.feature-card .eyebrow-pill--orange,
.feature-card .eyebrow-pill--purple,.feature-card .eyebrow-pill--burgundy{
  background:var(--green-text);
}
.feature-card__body{
  position:relative;z-index:2;
  display:flex;flex-direction:column;gap:1rem;
  padding:1rem;width:100%;
}
.feature-card__media .feature-card__body{
  position:absolute;bottom:0;left:0;right:0;
}
/* Sibling layout: the copy sits on its own light panel beside the photo. */
.feature-card>.feature-card__body{position:static;background:var(--white);color:var(--ink)}
.feature-card>.feature-card__body h3,
.feature-card>.feature-card__body h3 a{color:var(--ink)}
.feature-card>.feature-card__body>p{color:var(--ink-70)}
.feature-card>.feature-card__body .card__meta{color:var(--ink-70)}
.feature-card>.feature-card__body .arrow-link{color:var(--ink)}
.feature-card>.feature-card__body .prose li{color:var(--ink)}
.feature-card>.feature-card__media{min-height:100%}
.feature-card h3{
  font-family:var(--serif);font-weight:600;font-size:1.25rem;line-height:1.2;
  color:var(--offwhite);text-wrap:pretty;
}
.feature-card h3 a{
  text-decoration:underline;text-decoration-color:transparent;
  text-decoration-thickness:2px;text-underline-offset:3px;
}
.feature-card:hover h3 a{text-decoration-color:currentColor}
.feature-card__body>p{color:var(--off-70);font-size:.9375rem;line-height:1.5}
/* flex-wrap: the card can carry a button plus a text link (as the campaigns
   feature card does), and that pair does not fit one line at 360px. */
.feature-card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.feature-card .arrow-link{color:var(--offwhite)}
.feature-card .arrow-link svg{fill:var(--yellow)}
.feature-card .circle-btn{background:var(--white);color:var(--ink)}
.feature-card:hover .circle-btn{background:var(--green);color:var(--white)}
.feature-card .card__meta{color:var(--off-70)}

/* Horizontal card — image one third, copy the rest. The reference's
   small-card rhythm, used for every list page. */
.news-row{
  display:flex;flex-direction:column;gap:1rem;
  padding-bottom:1.5rem;border-bottom:1px solid var(--ink-12);
}
@media (min-width:768px){
  .news-row{flex-direction:row;gap:2rem;align-items:flex-start}
}
.news-row__thumb{
  position:relative;width:100%;aspect-ratio:7/5;flex:0 0 auto;overflow:hidden;
  background:var(--blue-light);
}
@media (min-width:768px){.news-row__thumb{width:33.333%;order:-1}}
.news-row__thumb img{width:100%;height:100%;object-fit:cover}
.news-row>div:last-child{
  display:flex;flex-direction:column;gap:.75rem;align-items:flex-start;
}
.news-row h3{
  font-family:var(--serif);font-weight:600;font-size:1.125rem;line-height:1.25;
  text-wrap:pretty;
}
.news-row h3 a{
  text-decoration:underline;text-decoration-color:transparent;
  text-decoration-thickness:2px;text-underline-offset:3px;
}
.news-row:hover h3 a{text-decoration-color:currentColor}
.band-ink .news-row,.band-plum .news-row{border-bottom-color:var(--off-20)}

/* ---------------------------------------------------- full-bleed bands */
/* Photo band — the reference's "Making and Tracking Change": a photograph
   under an 80% ink multiply carrying a centred display line. The image is
   decorative (the heading carries the meaning) so its alt text stays empty. */
.photo-band{
  position:relative;overflow:hidden;background:var(--ink);color:var(--offwhite);
  padding-block:var(--band-y);
}
@media (min-width:768px){.photo-band{padding-block:var(--band-y-md)}}
.photo-band__media{position:absolute;inset:0;z-index:0}
.photo-band__media img{width:100%;height:100%;object-fit:cover}
.photo-band__media::after{
  content:"";position:absolute;inset:0;background:rgba(46,37,49,.8);
  mix-blend-mode:multiply;
}
.photo-band__inner{
  position:relative;z-index:2;display:grid;gap:1.5rem;justify-items:center;
  text-align:center;
}
.photo-band__inner .display{max-width:24ch}
.photo-band__lede{
  font-family:var(--serif);font-weight:600;font-size:1.125rem;line-height:1.3;
  max-width:56ch;color:var(--offwhite);
}
@media (min-width:768px){.photo-band__lede{font-size:1.375rem}}
.photo-band__act{
  display:flex;flex-wrap:wrap;gap:1.25rem;justify-content:center;align-items:center;
}
.photo-band__foot{
  position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:.5rem;
  justify-content:center;margin-top:2rem;
}

/* Panel photo — a flat white panel overlapping a photograph. Built on a
   12-column grid with both children in row 1, so the overlap needs no
   negative margin and can never push the page wider than the viewport. */
.panel-photo{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
  gap:0;align-items:end;
}
.panel-photo__media{
  grid-column:1 / -1;grid-row:1;position:relative;overflow:hidden;
  background:var(--blue-light);aspect-ratio:4/3;
}
.panel-photo__media img{width:100%;height:100%;object-fit:cover}
.panel-photo__panel{
  grid-column:1 / -1;grid-row:2;position:relative;z-index:2;
  background:var(--white);color:var(--ink);
  padding:1.5rem;display:grid;gap:1rem;align-content:start;
}
.panel-photo__panel p{font-size:1rem;line-height:1.55;max-width:56ch;min-width:0}
.panel-photo__panel .display{max-width:18ch}
@media (min-width:768px){
  .panel-photo__media{grid-column:1 / 11;aspect-ratio:7/4}
  .panel-photo__panel{
    grid-column:5 / -1;grid-row:1;align-self:end;
    margin-bottom:-4rem;padding:2rem;
  }
  .panel-photo__panel .display{max-width:16ch}
}
@media (min-width:1024px){
  .panel-photo__media{grid-column:1 / 10}
  .panel-photo__panel{grid-column:6 / -1}
}
.panel-photo--flip .panel-photo__media{grid-column:1 / -1}
@media (min-width:768px){
  .panel-photo--flip .panel-photo__media{grid-column:3 / -1}
  .panel-photo--flip .panel-photo__panel{grid-column:1 / 8}
}

/* CTA band — the reference's green "Support Our Work" block: display line,
   one serif line, one action, generous air. */
.cta-band{position:relative;overflow:hidden;background:var(--green);color:var(--on-green)}
.cta-band__body{padding-block:var(--band-y)}
@media (min-width:768px){.cta-band__body{padding-block:var(--band-y-md)}}
.cta-band__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;align-items:end}
@media (min-width:768px){
  .cta-band__grid{grid-template-columns:minmax(0,1fr) auto;gap:3rem}
}
.cta-band .display{color:var(--ink);max-width:22ch}
.cta-band .display strong,.cta-band .display i,.cta-band .display em{color:var(--ink)}
.cta-band .display i::before,.cta-band .display i::after,
.cta-band .display em::before,.cta-band .display em::after{filter:none}
.cta-band p{
  font-family:var(--serif);font-weight:600;font-size:1.125rem;line-height:1.3;
  max-width:52ch;margin-top:1rem;
}
.cta-band__act{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.cta-band__media{
  position:relative;width:100%;aspect-ratio:16/6;overflow:hidden;background:var(--ink);
}
@media (min-width:768px){.cta-band__media{aspect-ratio:21/6}}
.cta-band__media img{width:100%;height:100%;object-fit:cover}
.cta-band .btn{background:var(--ink);color:var(--offwhite)}
.cta-band .btn .arw{color:var(--yellow)}
.cta-band .btn:hover{background:var(--offwhite);color:var(--ink)}
.cta-band .btn:hover .arw{color:var(--green)}
.band-lavender.cta-band{background:var(--lavender);color:var(--ink)}
.band-offwhite.cta-band{background:var(--offwhite);color:var(--ink)}
.band-white.cta-band{background:var(--white);color:var(--ink);border-top:8px solid var(--green)}
.band-ink.cta-band{background:var(--ink);color:var(--offwhite)}
.band-ink.cta-band .display,.band-ink.cta-band .display strong{color:var(--offwhite)}
.band-ink.cta-band .display i::before,.band-ink.cta-band .display i::after{
  filter:brightness(0) invert(1);
}
.band-ink.cta-band p{color:var(--offwhite)}
.band-ink.cta-band .btn{background:var(--yellow);color:var(--on-yellow)}
.band-ink.cta-band .btn .arw{color:var(--ink)}
.band-ink.cta-band .btn:hover{background:var(--offwhite);color:var(--ink)}
.band-plum.cta-band{background:var(--plum);color:var(--offwhite)}
.band-plum.cta-band .display,.band-plum.cta-band .display strong{color:var(--offwhite)}
.band-plum.cta-band .display i::before,.band-plum.cta-band .display i::after{
  filter:brightness(0) invert(1);
}
.band-plum.cta-band p{color:var(--offwhite)}
.band-plum.cta-band .btn{background:var(--yellow);color:var(--on-yellow)}
.band-plum.cta-band .btn .arw{color:var(--ink)}
.band-plum.cta-band .btn:hover{background:var(--offwhite);color:var(--ink)}
.band-violet.cta-band{background:var(--violet);color:var(--offwhite)}
.band-violet.cta-band .display,.band-violet.cta-band .display strong{color:var(--offwhite)}
.band-violet.cta-band p{color:var(--offwhite)}
.band-green.cta-band .btn{background:var(--ink);color:var(--offwhite)}

/* ------------------------------------------------------- coalition grid */
/* The reference's "Key Coalitions" logo wall: uniform light wells on a
   white band, four across on desktop. */
.logo-grid{
  display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (min-width:768px){
  .logo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
}
.logo-grid__item{
  display:grid;place-items:center;min-height:7rem;padding:1rem;
  background:var(--offwhite);color:var(--ink);border-bottom:4px solid transparent;
  transition:border-color var(--t) var(--ease),background var(--t) var(--ease);
}
@media (min-width:768px){.logo-grid__item{min-height:9rem;padding:1.5rem}}
.logo-grid__item img{
  max-width:100%;max-height:4.5rem;width:auto;height:auto;object-fit:contain;
}
.logo-grid__item span{
  font-family:var(--serif);font-weight:600;font-size:1rem;line-height:1.25;
  text-align:center;text-wrap:balance;
}
.logo-grid__item:hover{border-bottom-color:var(--green);background:var(--white)}
.band-offwhite .logo-grid__item{background:var(--white)}
.band-offwhite .logo-grid__item:hover{background:var(--offwhite)}
.band-ink .logo-grid__item{background:rgba(248,246,246,.09);color:var(--offwhite)}
.band-ink .logo-grid__item:hover{background:rgba(248,246,246,.16)}

/* ------------------------------------------------------------ editorial */
.prose{max-width:64ch;display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.prose h2{
  font-family:var(--display);font-weight:600;
  line-height:1.04;font-size:2rem;margin-top:1.5rem;color:var(--green);
}
@media (min-width:768px){.prose h2{font-size:2.5rem}}
.prose h3{font-family:var(--serif);font-weight:600;font-size:1.25rem;
  line-height:1.25;margin-top:1rem}
.prose h4{font-family:var(--sans);font-weight:500;font-size:1rem;line-height:1.3}
.prose p,.prose li{font-size:1rem;line-height:1.6;text-wrap:pretty}
.prose ul,.prose ol{display:grid;gap:.5rem;padding-left:0}
.prose ul li{position:relative;padding-left:1.5rem}
.prose ul li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:.5rem;height:.5rem;background:var(--green);
}
.prose ol{counter-reset:n}
.prose ol li{position:relative;padding-left:2rem;counter-increment:n}
.prose ol li::before{
  content:counter(n,decimal-leading-zero);
  position:absolute;left:0;top:0;font-weight:500;font-size:.8125rem;
  color:var(--green-text);letter-spacing:.06em;
}
.prose blockquote{
  font-family:var(--serif);font-weight:600;font-size:1.25rem;line-height:1.3;
  border-left:8px solid var(--green);padding-left:1.5rem;margin:1rem 0;
}
.prose a{
  text-decoration:underline;text-decoration-thickness:2px;
  text-underline-offset:3px;text-decoration-color:var(--green);
}
.prose a:hover{text-decoration-color:currentColor}
.prose strong{font-weight:700}
.prose table{width:100%;border-collapse:collapse;font-size:.9375rem}
.prose th{
  background:var(--blue-light);text-align:left;padding:1rem;font-weight:700;
  line-height:1.25;
}
.prose td{padding:1rem;border-bottom:1px solid var(--ink-12);vertical-align:top}
.prose tbody tr:nth-child(odd){background:var(--offwhite)}
.band-ink .prose,.band-plum .prose,.band-violet .prose{color:var(--offwhite)}
.band-ink .prose h2,.band-plum .prose h2,.band-violet .prose h2{color:var(--yellow)}
.band-ink .prose td,.band-plum .prose td,.band-violet .prose td{
  border-bottom-color:var(--off-20);
}
.band-ink .prose tbody tr:nth-child(odd),
.band-plum .prose tbody tr:nth-child(odd),
.band-violet .prose tbody tr:nth-child(odd){background:rgba(248,246,246,.06)}
.band-ink .prose a,.band-plum .prose a,.band-violet .prose a{
  text-decoration-color:var(--yellow);
}

.callout{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.25rem;
  align-items:start;background:var(--offwhite);
  border-left:8px solid var(--green);padding:1.5rem;
}
.callout__ico{
  display:grid;place-items:center;width:2.75rem;height:2.75rem;
  background:var(--green);color:var(--white);
}
.callout__ico svg{width:1.5rem;height:1.5rem}
.callout h2,.callout h3{
  font-family:var(--display);font-weight:600;font-size:1.0625rem;
  line-height:1.3;margin-bottom:.25rem;
}
.callout p{font-size:.9375rem;line-height:1.5;max-width:56ch}
.band-ink .callout,.band-plum .callout,.band-violet .callout{
  background:rgba(248,246,246,.08);
}
.band-ink .callout h2,.band-ink .callout h3,.band-ink .callout p,
.band-plum .callout h2,.band-plum .callout h3,.band-plum .callout p{color:var(--offwhite)}

/* Definition list for governance / policy detail. */
.deflist{display:grid;gap:0;border-top:1px solid var(--ink-12)}
.deflist>div{
  display:grid;gap:.5rem;padding:1.25rem 0;border-bottom:1px solid var(--ink-12);
}
@media (min-width:768px){
  .deflist>div{grid-template-columns:14rem minmax(0,1fr);gap:2rem}
}
.deflist dt{font-weight:500;font-size:.9375rem;line-height:1.35}
.deflist dd{margin:0;font-size:1rem;line-height:1.55;max-width:64ch}
.band-ink .deflist,.band-plum .deflist{border-top-color:var(--off-20)}
.band-ink .deflist>div,.band-plum .deflist>div{border-bottom-color:var(--off-20)}

/* --------------------------------------------------------------- forms */
.form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem}
@media (min-width:640px){
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.field{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem}
.field--full{grid-column:1 / -1}
.field label{font-size:.8125rem;font-weight:500;letter-spacing:.04em}
.req{color:var(--orange)}
.field input,.field select,.field textarea{
  width:100%;background:var(--white);color:var(--ink);
  border:1px solid var(--ink-12);border-radius:0;
  padding:.75rem .875rem;font-size:1rem;min-height:2.75rem;
  transition:border-color var(--t) var(--ease);
}
.field textarea{min-height:8rem;resize:vertical}
/* Checkboxes and radios are not text fields: they must keep their intrinsic
   size, or `width:100%` above turns every option row into an overflowing
   full-width box. */
.field input[type="checkbox"],.field input[type="radio"]{
  width:1.15rem;height:1.15rem;min-height:0;padding:0;margin:.2rem 0 0;
  flex:0 0 auto;border:0;background:none;accent-color:var(--green);
}
.field input[type="checkbox"]:focus,.field input[type="radio"]:focus{
  box-shadow:none;
}
/* An option row: the control, then its label text, able to wrap. */
.field label:has(input[type="checkbox"]),
.field label:has(input[type="radio"]){
  display:flex;align-items:flex-start;gap:.6rem;
}
.field label:has(input[type="checkbox"])>*:not(input),
.field label:has(input[type="radio"])>*:not(input){min-width:0}

.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--green);
  box-shadow:0 0 0 3px rgba(33,153,72,.28);
}
.field input:focus-visible,.field select:focus-visible,
.field textarea:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.field__err{display:none;font-size:.8125rem;font-weight:500;color:var(--orange)}
.field.has-error input,.field.has-error select,.field.has-error textarea{
  border-color:var(--orange);box-shadow:0 0 0 3px rgba(214,64,0,.2);
}
.field.has-error .field__err{display:block}
.form-status{font-size:.875rem;font-weight:500;min-height:1.25rem}
.form-status.is-ok{color:var(--green)}
.form-status.is-err{color:var(--orange)}
.band-ink .form-status.is-ok{color:var(--yellow)}
.form-note{font-size:.8125rem;line-height:1.5;color:var(--ink-70);max-width:60ch}
.band-ink .form-note,.band-plum .form-note{color:var(--off-70)}
.band-ink .field label,.band-plum .field label{color:var(--offwhite)}

/* -------------------------------------------------------------- footer */
/* The reference's footer, taken literally: the whole band in brand green,
   the newsletter sitting directly on that green with a single hairline rule
   dividing it from the link columns, white square inputs, and every action
   as a dark ink pill. v5 boxed the newsletter in white, which broke the
   band in two and made the footer read as a card rather than a ground. */
.footer{
  background:var(--green);color:var(--on-green);
  padding-block:var(--band-y);
}
@media (min-width:768px){.footer{padding-block:var(--band-y-md)}}
.footer .wrap--wide{display:grid;gap:2.5rem}
.footer__top{display:grid;gap:2.5rem}
@media (min-width:1024px){
  .footer__top{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0}
  .footer__top>*:first-child{padding-right:4rem}
  .newsletter{border-left:1px solid rgba(255,255,255,.45);padding-left:4rem}
}
.footer__brandrow{display:flex;align-items:center;gap:.875rem;margin-bottom:2rem}
.footer__mark{
  display:grid;place-items:center;width:4rem;height:4rem;flex:0 0 auto;
  background:var(--ink);color:var(--offwhite);
  font-family:var(--display);font-weight:600;
  font-size:1rem;line-height:1.04;text-align:center;
}
.footer__org{font-weight:500;font-size:1.125rem;line-height:1.2;max-width:16rem}
.footer__cols{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:640px){.footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
.footer__cols h3{
  font-size:1rem;font-weight:500;letter-spacing:0;text-transform:none;
  margin-bottom:.875rem;color:var(--offwhite);
}
.footer__cols ul{display:grid;gap:.125rem}
.footer__cols a{
  display:block;padding:.4rem 0;font-size:1.0625rem;font-weight:500;
  text-decoration:underline;text-decoration-color:transparent;
  text-decoration-thickness:2px;text-underline-offset:5px;
  transition:text-decoration-color var(--t) var(--ease);
}
.footer__cols a:hover{text-decoration-color:currentColor}
.footer__contact{display:grid;gap:.35rem;margin-top:2rem;font-size:1rem}
.footer__contact a{
  font-weight:500;text-decoration:underline;
  text-decoration-thickness:2px;text-underline-offset:3px;
}
.footer__actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.75rem}
.social{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.75rem}
.social a{
  display:grid;place-items:center;width:2.75rem;height:2.75rem;
  background:transparent;color:var(--offwhite);
  border:1px solid rgba(255,255,255,.5);
  transition:background var(--t) var(--ease),color var(--t) var(--ease),
             border-color var(--t) var(--ease);
}
.social a svg{width:1.25rem;height:1.25rem}
.social a:hover{background:var(--ink);border-color:var(--ink);color:var(--yellow)}

.newsletter{
  background:transparent;color:var(--on-green);
  display:grid;gap:1.125rem;align-content:start;
}
.newsletter .display{max-width:14ch}
.newsletter>p{font-size:1rem;line-height:1.55;max-width:48ch}
.newsletter .btn{margin-top:.25rem}
.newsletter .field label{color:var(--offwhite)}
.newsletter .field input{
  background:var(--white);color:var(--ink);
  border:0;border-radius:0;min-height:3rem;
}
.newsletter .field input::placeholder{color:var(--ink-70)}
.newsletter .field input:focus-visible{outline-color:var(--ink)}
.newsletter .form-note{color:rgba(20,16,20,.86)}

.footer__wordmark{
  font-family:var(--display);font-weight:600;
  line-height:1.04;font-size:2.5rem;color:var(--on-green);
  margin-top:1rem;text-wrap:balance;
}
@media (min-width:768px){.footer__wordmark{font-size:4rem}}
@media (min-width:1024px){.footer__wordmark{font-size:5rem}}
.footer__divider{height:1px;background:rgba(20,16,20,.3)}
.footer__bottom{display:grid;gap:1.25rem}
@media (min-width:768px){
  .footer__bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:3rem}
}
.footer__legal{display:flex;flex-wrap:wrap;gap:1.25rem}
.footer__legal a{
  font-size:.875rem;font-weight:500;
  text-decoration:underline;text-decoration-color:transparent;
  text-decoration-thickness:2px;text-underline-offset:3px;
}
.footer__legal a:hover{text-decoration-color:currentColor}
.footer__fine{
  font-size:.8125rem;line-height:1.55;color:rgba(20,16,20,.85);max-width:70ch;
}

/* ------------------------------------------------------------ the band */
/* The reference's editorial marquee: display caps separated by the arrow.
   v6 runs it on ink at display scale — a full-bleed statement band sitting
   between the last content section and the closing appeal. Motion is one
   slow linear translate. */
.marquee{
  overflow:hidden;background:var(--ink);color:var(--offwhite);
  padding-block:1.75rem;
}
@media (min-width:768px){.marquee{padding-block:2.25rem}}
.marquee__track{
  display:flex;gap:3rem;width:max-content;
  animation:marquee 60s linear infinite;
}
.marquee__track span{
  font-family:var(--display);font-weight:600;
  line-height:1.04;font-size:2rem;color:var(--offwhite);
  display:inline-flex;align-items:center;gap:3rem;white-space:nowrap;
}
@media (min-width:768px){.marquee__track span{font-size:3.25rem}}
.marquee__track span::after{
  content:"";width:1.75rem;height:.6rem;flex:0 0 auto;background:var(--yellow);
  clip-path:polygon(0 40%,70% 40%,70% 0,100% 50%,70% 100%,70% 60%,0 60%);
}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* --------------------------------------------------------- utility */
.reveal{opacity:1;transform:none}
.js .reveal{
  opacity:0;transform:translateY(1.25rem);
  transition:opacity .6s var(--ease),transform .6s var(--ease);
}
.js .reveal.is-in{opacity:1;transform:none}
.mt-24{margin-top:1.5rem}
.mt-40{margin-top:2.5rem}
.stack{display:grid;gap:1rem}
.stack-lg{display:grid;gap:2rem}
.stack-xl{display:grid;gap:3rem}
.center{text-align:center}
.center>*{margin-inline:auto}
.ratio-1-1{aspect-ratio:1}
.ratio-4-3{aspect-ratio:4/3}
.ratio-3-2{aspect-ratio:3/2}
.ratio-7-4{aspect-ratio:7/4}
.ratio-16-9{aspect-ratio:16/9}
.hr{border-top:1px solid var(--ink-12);margin-block:2rem}
.band-ink .hr,.band-plum .hr{border-top-color:var(--off-20)}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ------------------------------------------------------------ responsive */
@media (max-width:639px){
  .hero__panel{padding:1.25rem}
  .feature-card__media{min-height:17rem}
  .cta-band__grid{gap:1.5rem}
  .footer__wordmark{font-size:2rem}
  .pillar__icon{width:6rem;height:6rem}
  .pillar__icon svg{width:3rem;height:3rem}
  .stat__num{font-size:3rem}
  /* A single long word in a caps display line sets the floor for how small
     a heading can be before it pushes the page sideways. Step the scale
     down rather than let a heading overflow — and keep the last step
     viewport-relative, because the widest word here ("infrastructure.",
     "Accountability", "Collaboration") is about 10 times the width of one
     character, so a fixed rem floor still overflows a 360px phone. */
  .d-hero{font-size:min(2.5rem,8vw)}
  .d-1{font-size:min(2.75rem,7.4vw)}
  .d-2{font-size:min(2rem,5.6vw)}
  .d-3{font-size:1.625rem}
  .pullquote{font-size:1.375rem}
  .footer__wordmark{font-size:1.75rem}
  .sec-head .display,.page-hero h1{max-width:100%}
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important;
  }
  .marquee__track{animation:none}
  .js .reveal{opacity:1;transform:none}
}

/* ------------------------------------------------------------------ print */
@media print{
  .masthead,.drawer,.marquee,.skip,.footer__actions,.social{display:none !important}
  html{font-size:12pt}
  body{background:#fff;color:#000}
  .band-ink,.band-green,.band-plum,.band-violet,.photo-band,.cta-band,.footer{
    background:#fff !important;color:#000 !important;
  }
  .band-ink .display,.cta-band .display,.footer__wordmark,.photo-band .display,
  .band-ink .display strong,.cta-band .display strong{color:#000 !important}
  .band-ink .display i::before,.band-ink .display i::after,
  .cta-band .display i::before,.cta-band .display i::after{filter:none !important}
  .reveal{opacity:1 !important;transform:none !important}
  a{text-decoration:underline}
  .sec,.hero,.page-hero,.footer{padding-block:1rem}
  .card,.tile,.news-row,.feature-card,.panel-photo,.logo-grid__item{break-inside:avoid}
}

/* Official coalition emblem in the chrome's square mark slot.
   Artwork supplied with the coalition's own repo (public/logo-mark.png). */
.brand__mark--emblem{background:var(--white);padding:.3rem}
.footer__mark--emblem{background:var(--offwhite);padding:.35rem}
.brand__mark--emblem img,
.footer__mark--emblem img{width:100%;height:100%;object-fit:contain;display:block}
