/* ==========================================================================
   Fighting 4 Freedom - Concept 01 "The Record"
   Prepared by Millennium Solutions, Inc.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink / surface */
  --ink:        #0F1418;
  --ink-2:      #171F28;
  --ink-3:      #212C38;
  --paper:      #F7F5F0;
  --paper-2:    #EFEBE3;
  --paper-3:    #E3DED4;

  /* Type colour */
  --text:       #1B2229;
  --text-soft:  #545F6A;
  --text-faint: #646D77;
  --on-ink:     #F2EFE9;
  --on-ink-soft:#A9B3BD;

  /* Brand */
  --gold:       #C68A2E;
  --gold-lift:  #DFA845;
  --gold-deep:  #8A5E1B;
  --on-gold:    #1A1206;   /* text on a gold surface: white fails AA there */
  --free:       #2E6B4E;
  --free-lift:  #478B6A;
  --urgent:     #A93B2E;

  /* Lines */
  --rule:       rgba(27, 34, 41, .14);
  --rule-soft:  rgba(27, 34, 41, .08);
  --rule-ink:   rgba(242, 239, 233, .16);
  --rule-ink-soft: rgba(242, 239, 233, .09);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --shell:   1240px;
  --shell-narrow: 820px;
  --gutter:  clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 128px);

  --radius:   4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(15,20,24,.06), 0 4px 12px rgba(15,20,24,.05);
  --shadow-md: 0 2px 6px rgba(15,20,24,.07), 0 16px 40px rgba(15,20,24,.10);
  --shadow-lg: 0 4px 12px rgba(15,20,24,.08), 0 32px 70px rgba(15,20,24,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--on-gold); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 20px; border-radius: var(--radius);
  font: 600 14px/1 var(--sans);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-ink); }

.section--paper2 { background: var(--paper-2); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin: 0 0 20px;
}
.section--ink .eyebrow { color: var(--gold-lift); }
.eyebrow--center { text-align: center; }

.display-xl { font-size: clamp(44px, 7.4vw, 92px); }
.display-lg { font-size: clamp(36px, 5.4vw, 66px); }
.display-md { font-size: clamp(29px, 3.6vw, 44px); }
.display-sm { font-size: clamp(23px, 2.3vw, 30px); letter-spacing: -.012em; }

.lede {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 62ch;
}
.section--ink .lede { color: var(--on-ink-soft); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 0; }
.prose h3 { font-size: 26px; margin: 2em 0 .6em; }
.prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--gold);
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.42;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 32;
  color: var(--text);
}
.prose blockquote cite {
  display: block;
  margin-top: 14px;
  font: 500 12px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-style: normal;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 14.5px/1 var(--sans);
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 22px rgba(198,138,46,.28); }
.btn--gold:hover { background: var(--gold-lift); box-shadow: 0 12px 30px rgba(198,138,46,.36); }

.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); }

.btn--outline { border-color: var(--rule); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }

.btn--ghost-ink { border-color: var(--rule-ink); color: var(--on-ink); background: transparent; }
.btn--ghost-ink:hover { background: rgba(242,239,233,.1); border-color: rgba(242,239,233,.36); }

.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 14px/1 var(--sans);
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.tlink .arw { transition: transform .25s var(--ease); }
.tlink:hover { color: var(--gold-deep); border-color: var(--gold); gap: 13px; }
.tlink:hover .arw { transform: translateX(2px); }
.section--ink .tlink { color: var(--on-ink); border-color: var(--rule-ink); }
.section--ink .tlink:hover { color: var(--gold-lift); border-color: var(--gold-lift); }

/* --------------------------------------------------------------------------
   6. Chips / tags
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 100px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  flex: none;
}
.chip--urgent { background: rgba(169,59,46,.1);  color: #8E3225; }
.chip--free   { background: rgba(46,107,78,.12); color: var(--free); }
.chip--gold   { background: rgba(198,138,46,.14); color: var(--gold-deep); }
.chip--onink  { background: rgba(242,239,233,.1); color: var(--on-ink); }

/* On an ink surface the mid-tone chips go too dark to read */
.section--ink .chip--free, .vcard .chip--free, .phero .chip--free {
  background: rgba(71,139,106,.18); color: #6FBF95;
}
.section--ink .chip--gold, .vcard .chip--gold, .phero .chip--gold {
  background: rgba(198,138,46,.18); color: var(--gold-lift);
}
.section--ink .chip--urgent, .vcard .chip--urgent, .phero .chip--urgent {
  background: rgba(197,86,71,.2); color: #E08E80;
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,20,24,.0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 82px;
  transition: height .3s var(--ease);
}
.masthead__logo { flex: none; display: block; }
.masthead__logo img { height: 40px; width: auto; transition: height .3s var(--ease); }
.masthead__logo .logo-light { display: block; }
.masthead__logo .logo-dark  { display: none; }

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.masthead__nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  font: 500 14.5px/1 var(--sans);
  color: rgba(242,239,233,.82);
  transition: color .2s var(--ease), background .2s var(--ease);
  position: relative;
}
.masthead__nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.masthead__nav a.is-current { color: #fff; }
.masthead__nav a.is-current::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.masthead__cta { margin-left: 14px; }

/* Scrolled / solid state */
.masthead.is-solid {
  background: rgba(247,245,240,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 24px rgba(15,20,24,.07);
}
.masthead.is-solid .masthead__inner { height: 70px; }
.masthead.is-solid .masthead__logo img { height: 34px; }
.masthead.is-solid .masthead__logo .logo-light { display: none; }
.masthead.is-solid .masthead__logo .logo-dark  { display: block; }
.masthead.is-solid .masthead__nav a { color: var(--text-soft); }
.masthead.is-solid .masthead__nav a:hover { color: var(--text); background: rgba(15,20,24,.06); }
.masthead.is-solid .masthead__nav a.is-current { color: var(--text); }
.masthead.is-solid .burger span { background: var(--text); }

/* Pages with a light hero start solid-on-paper */
.masthead--light {
  background: rgba(247,245,240,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--rule);
}
.masthead--light .masthead__logo .logo-light { display: none; }
.masthead--light .masthead__logo .logo-dark  { display: block; }
.masthead--light .masthead__nav a { color: var(--text-soft); }
.masthead--light .masthead__nav a:hover { color: var(--text); background: rgba(15,20,24,.06); }
.masthead--light .masthead__nav a.is-current { color: var(--text); }
.masthead--light .burger span { background: var(--text); }

.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span {
  display: block;
  width: 21px; height: 2px;
  background: var(--on-ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: 104px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform .42s var(--ease);
  overflow-y: auto;
}
body.nav-open .drawer { transform: translateY(0); }
.drawer a {
  font-family: var(--display);
  font-size: 30px;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 32;
  color: var(--on-ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-ink-soft);
}
.drawer a.is-current { color: var(--gold-lift); }
.drawer a.btn--gold { color: var(--on-gold); border-bottom-color: transparent; }
.drawer .btn { margin-top: 26px; }
.drawer__foot {
  margin-top: auto;
  padding-top: 32px;
  font: 400 13px/1.6 var(--sans);
  color: var(--on-ink-soft);
}

/* --------------------------------------------------------------------------
   8. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  margin-top: -82px;
  padding-top: 82px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(198,138,46,.16), transparent 62%),
    radial-gradient(700px 500px at 4% 108%, rgba(46,107,78,.14), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 108px) clamp(64px, 8vw, 104px);
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-lift);
}
.hero__lede {
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
  color: rgba(242,239,233,.76);
  max-width: 52ch;
}
.hero .btn-row { margin-top: 38px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--rule-ink);
  border-radius: 100px;
  font: 500 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
  margin-bottom: 30px;
}
.hero__badge b {
  background: var(--gold);
  color: var(--on-gold);
  padding: 5px 9px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: .1em;
  white-space: nowrap;
  flex: none;
}

/* Portrait stack */
.facewall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.facewall__col { display: grid; gap: 14px; }
.facewall__col:nth-child(2) { transform: translateY(26px); }
.facewall figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--rule-ink-soft);
}
.facewall img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.06);
  transition: filter .5s var(--ease), transform .7s var(--ease);
}
.facewall figure:hover img { filter: grayscale(0) contrast(1); transform: scale(1.035); }
.facewall figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(to top, rgba(9,12,15,.92), transparent);
  font: 600 12.5px/1.3 var(--sans);
  color: #fff;
}
.facewall figcaption span {
  display: block;
  font: 500 9.5px/1.3 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   9. Stat band
   -------------------------------------------------------------------------- */
.statband {
  background: var(--ink-2);
  border-top: 1px solid var(--rule-ink-soft);
  color: var(--on-ink);
}
.statband__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-ink-soft);
}
.statband__cell {
  background: var(--ink-2);
  padding: clamp(28px, 3.4vw, 44px) clamp(18px, 2.4vw, 34px);
}
.statband__num {
  font-family: var(--display);
  font-size: clamp(38px, 4.6vw, 58px);
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 60;
  line-height: 1;
  color: var(--gold-lift);
  letter-spacing: -.02em;
}
.statband__num sup { font-size: .48em; top: -.62em; position: relative; }
.statband__label {
  margin-top: 12px;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
}

/* --------------------------------------------------------------------------
   10. Split (mission)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }

/* The left rail of a split usually carries only a heading. Sticking it means a
   long right column never strands a tall block of empty paper beside it. */
@media (min-width: 941px) {
  .split:not(.split--even) > *:first-child { position: sticky; top: 104px; }
}

/* Supporting facts under a split heading, to give the rail some weight */
.split__meta { margin: 30px 0 0; border-top: 1px solid var(--rule); }
.split__meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.split__meta dt {
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.split__meta dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

/* Portrait in a split rail */
.split__figure { margin: 32px 0 0; }
.split__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  filter: grayscale(.88) contrast(1.04);
  transition: filter .5s var(--ease);
}
.split__figure:hover img { filter: grayscale(0); }
.split__figure figcaption {
  margin-top: 14px;
  font: 500 11.5px/1.6 var(--mono);
  letter-spacing: .05em;
  color: var(--text-faint);
}

.figure-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
}
.figure-frame img { width: 100%; }
.figure-frame--tall { aspect-ratio: 4 / 5; }
.figure-frame--tall img { height: 100%; object-fit: cover; }

.quote-card {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.6vw, 44px);
  margin-top: 28px;
}
.quote-card p {
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.4;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 32;
  color: #fff;
}
.quote-card footer {
  margin-top: 20px;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-lift);
}

/* --------------------------------------------------------------------------
   11. Section heading block
   -------------------------------------------------------------------------- */
.sechead {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.sechead__text { max-width: 56ch; }
.sechead__text .lede { margin-top: 18px; }

/* --------------------------------------------------------------------------
   12. Case cards
   -------------------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule);
}
.case-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-3);
}
.case-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(.92) contrast(1.04);
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.case-card:hover .case-card__media img { transform: scale(1.05); filter: grayscale(0); }
.case-card__media .chip { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }

.case-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-card__name {
  font-family: var(--display);
  font-size: 23px;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 30;
  letter-spacing: -.012em;
  line-height: 1.15;
}
.case-card__meta {
  margin-top: 9px;
  font: 500 10.5px/1.5 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.case-card__excerpt {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-soft);
}
.case-card__foot { margin-top: auto; padding-top: 22px; }

/* Feature case (wide) */
.case-feature {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.case-feature__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-3); }
.case-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.case-feature__body { padding: clamp(28px, 3.4vw, 48px) clamp(28px, 3.4vw, 52px) clamp(28px, 3.4vw, 48px) 0; }

/* --------------------------------------------------------------------------
   13. Filter bar
   -------------------------------------------------------------------------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: var(--paper-2);
  border: 1px solid var(--rule-soft);
  border-radius: 100px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 40px;
}
.filterbar button {
  border: 0;
  background: transparent;
  padding: 10px 20px;
  border-radius: 100px;
  font: 600 13.5px/1 var(--sans);
  color: var(--text-soft);
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.filterbar button:hover { color: var(--text); }
.filterbar button.is-active { background: var(--ink); color: var(--on-ink); }

/* --------------------------------------------------------------------------
   14. Services
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc {
  background: var(--paper);
  padding: clamp(28px, 3vw, 40px);
  transition: background .3s var(--ease);
}
.svc:hover { background: #fff; }
.svc__num {
  font: 500 11px/1 var(--mono);
  letter-spacing: .16em;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.svc h3 {
  font-size: 22px;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 28;
}
.svc p { margin-top: 12px; font-size: 15px; line-height: 1.62; color: var(--text-soft); }

.section--ink .svc-grid { background: var(--rule-ink-soft); border-color: var(--rule-ink-soft); }
.section--ink .svc { background: var(--ink); }
.section--ink .svc:hover { background: var(--ink-2); }
.section--ink .svc p { color: var(--on-ink-soft); }
.section--ink .svc__num { color: var(--gold-lift); }

/* --------------------------------------------------------------------------
   15. Victory rail
   -------------------------------------------------------------------------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 260px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: var(--rule-ink-soft); border-radius: 100px; }
.rail::-webkit-scrollbar-thumb { background: rgba(242,239,233,.3); border-radius: 100px; }

.vcard {
  scroll-snap-align: start;
  background: var(--ink-2);
  border: 1px solid var(--rule-ink-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.vcard:hover { transform: translateY(-4px); border-color: rgba(71,139,106,.5); }
.vcard__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-3); }
.vcard__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  filter: grayscale(.7);
  transition: filter .45s var(--ease);
}
.vcard:hover .vcard__media img { filter: grayscale(0); }
.vcard__body { padding: 18px 18px 22px; }
.vcard__name { font-family: var(--display); font-size: 19px; font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 24; color: var(--on-ink); }
.vcard__note { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--on-ink-soft); }
.vcard .chip { margin-bottom: 12px; }

/* Victory list (full page) */
.vlist { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.vrow {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  background: var(--paper);
  padding: 22px clamp(4px, 1.4vw, 18px);
  transition: background .28s var(--ease);
}
.vrow:hover { background: #fff; }
.vrow__ph { width: 92px; height: 92px; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.vrow__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(.55); }
.vrow__name { font-family: var(--display); font-size: 22px; font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 28; }
.vrow__note { margin-top: 7px; font-size: 15px; line-height: 1.6; color: var(--text-soft); max-width: 72ch; }
.vrow__side { text-align: right; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--gold);
  color: var(--on-gold);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 88% 120%, rgba(0,0,0,.14), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding-block: clamp(52px, 6vw, 84px);
}
.cta-band h2 { color: var(--on-gold); }
.cta-band p { margin-top: 16px; color: rgba(26,18,6,.84); max-width: 58ch; font-size: 17px; }
/* the eyebrow inside a CTA band carries an inline white in the markup; the
   gold surface needs dark text, so this has to win */
.cta-band .eyebrow { color: rgba(26,18,6,.88) !important; }
.cta-band .btn--ink { box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.cta-band .btn--outline { border-color: rgba(26,18,6,.42); color: var(--on-gold); }
.cta-band .btn--outline:hover { background: var(--on-gold); color: var(--gold-lift); border-color: var(--on-gold); }

/* --------------------------------------------------------------------------
   17. News
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.ncard { display: flex; flex-direction: column; padding-top: 22px; border-top: 2px solid var(--ink); transition: border-color .3s var(--ease); }
.ncard:hover { border-color: var(--gold); }
.ncard__kicker { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.ncard h3 { margin-top: 14px; font-size: 21px; line-height: 1.24; font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 26; }
.ncard p { margin-top: 12px; font-size: 15px; line-height: 1.62; color: var(--text-soft); }
.ncard__foot { margin-top: auto; padding-top: 20px; }

.section--ink .ncard { border-top-color: var(--rule-ink); }
.section--ink .ncard:hover { border-top-color: var(--gold-lift); }
.section--ink .ncard p { color: var(--on-ink-soft); }
.section--ink .ncard__kicker { color: var(--gold-lift); }

/* --------------------------------------------------------------------------
   18. Team
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(26px, 3vw, 40px); }
.member__ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  margin-bottom: 20px;
}
.member__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(.9); transition: filter .5s var(--ease); }
.member:hover .member__ph img { filter: grayscale(0); }
.member h3 { font-size: 22px; font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 28; }
.member__role { margin-top: 7px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); }
.member__bio { margin-top: 14px; font-size: 14.5px; line-height: 1.66; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   19. Page hero (interior)
   -------------------------------------------------------------------------- */
/* Pulled up under the transparent sticky header the same way .hero is, so the
   light header text always sits on ink and never on paper. */
.phero {
  background: var(--ink);
  color: var(--on-ink);
  position: relative;
  overflow: hidden;
  margin-top: -82px;
  padding-top: 82px;
}
.phero .eyebrow, .hero .eyebrow { color: var(--gold-lift); }
.phero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(760px 460px at 80% -20%, rgba(198,138,46,.15), transparent 62%);
}
.phero__inner { position: relative; padding-block: clamp(52px, 6.4vw, 92px); }
.phero h1 { color: #fff; max-width: 20ch; }
.phero .lede { margin-top: 22px; color: rgba(242,239,233,.74); }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase;
  color: rgba(242,239,233,.5);
  margin-bottom: 26px;
}
.crumbs a { color: rgba(242,239,233,.72); }
.crumbs a:hover { color: var(--gold-lift); }
.crumbs span { opacity: .45; }

/* --------------------------------------------------------------------------
   20. Case detail
   -------------------------------------------------------------------------- */
.casehero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(28px, 4.6vw, 64px);
  align-items: end;
  padding-block: clamp(48px, 6vw, 84px);
}
.casehero__ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--rule-ink-soft);
}
.casehero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.factsheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 44px;
}
.factsheet div { background: #fff; padding: 20px 22px; }
.factsheet dt { font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.factsheet dd { margin: 8px 0 0; font-family: var(--display); font-size: 19px; font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 24; letter-spacing: -.01em; }

.aside-card {
  background: var(--paper-2);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.aside-card h3 { font-size: 20px; font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 26; }
.aside-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.62; color: var(--text-soft); }
.aside-card .btn { margin-top: 20px; }

.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(36px, 5vw, 72px); align-items: start; }

/* --------------------------------------------------------------------------
   21. Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font: 600 12.5px/1 var(--sans); letter-spacing: .02em; color: var(--text); }
.field label span { color: var(--gold-deep); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  font: 400 15.5px/1.5 var(--sans);
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,138,46,.16);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }

.form-card {
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-note { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--text-faint); }

/* Donation picker */
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-bottom: 20px; }
.amounts button {
  padding: 18px 8px;
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 22px;
  font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 28;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.amounts button:hover { border-color: var(--gold); }
.amounts button.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.amount-note { min-height: 44px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); margin-bottom: 20px; }

/* Newsletter inline */
.subscribe { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 240px;
  padding: 15px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--rule-ink);
  background: rgba(255,255,255,.06);
  color: var(--on-ink);
  font: 400 15px/1.4 var(--sans);
}
.subscribe input::placeholder { color: rgba(242,239,233,.44); }
.subscribe input:focus { outline: none; border-color: var(--gold-lift); background: rgba(255,255,255,.1); }

/* --------------------------------------------------------------------------
   22. Accordion
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--rule); }
.acc__item { border-bottom: 1px solid var(--rule); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: 20px;
  font-variation-settings: "SOFT" 0,"WONK" 0,"opsz" 26;
  letter-spacing: -.01em;
  color: var(--text);
  transition: color .2s var(--ease);
}
.acc__btn:hover { color: var(--gold-deep); }
.acc__btn i {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.acc__btn i::before, .acc__btn i::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc__btn i::before { width: 14px; height: 2px; }
.acc__btn i::after  { width: 2px; height: 14px; }
.acc__item.is-open .acc__btn i::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 26px; font-size: 15.5px; line-height: 1.68; color: var(--text-soft); max-width: 72ch; }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-ink-soft); padding-block: clamp(56px, 6vw, 84px) 0; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: 52px;
}
.footer__brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 14.5px; line-height: 1.68; max-width: 38ch; }
.footer h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-lift);
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--on-ink-soft); transition: color .2s var(--ease); }
.footer ul a:hover { color: #fff; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.7; }

.footer__sub { border-top: 1px solid var(--rule-ink-soft); padding-block: 40px; }
.footer__sub h4 { margin-bottom: 14px; }
.footer__sub .subscribe { max-width: 560px; }
.footer__sublede { font-size: 14.5px; margin-bottom: 20px; max-width: 52ch; }

.footer__bar {
  border-top: 1px solid var(--rule-ink-soft);
  padding-block: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer__bar a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--rule-ink-soft);
  border-radius: 50%;
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.social svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   24. Reveal animation
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .statband__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 940px) {
  .masthead__nav { display: none; }
  .masthead__cta { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .facewall__col:nth-child(2) { transform: none; }
  .split, .split--even { grid-template-columns: 1fr; }
  .case-feature { grid-template-columns: 1fr; }
  .case-feature__media { aspect-ratio: 16 / 10; }
  .case-feature__body { padding: 28px 28px 34px; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .casehero__grid { grid-template-columns: 1fr; }
  .casehero__ph { max-width: 300px; }
  .vrow { grid-template-columns: 72px minmax(0,1fr); }
  .vrow__ph { width: 72px; height: 72px; }
  .vrow__side { grid-column: 2; text-align: left; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .hero__badge { font-size: 10px; letter-spacing: .1em; gap: 8px; padding-right: 12px; }
  .statband__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .drawer a { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .masthead, .drawer, .footer__sub { display: none; }
}
