/* ============================================================
   WPRCF — Brand tokens (derived from WPR Brand Standards v6)
   ============================================================ */
:root{
  --iron-works:   #2B282D;
  --snow-white:   #F8F8F8;
  --blue-bird:    #465B75;
  --sky-blue:     #6D839F;
  --blizzard:     #D6D6DC;
  --fiery-orange: #CB3F17;

  --blue-bird-90: rgba(70,91,117,.9);
  --blue-bird-10: rgba(70,91,117,.08);
  --ink-70: rgba(43,40,45,.7);
  --ink-55: rgba(43,40,45,.55);

  --display: "Oswald", "Arial Narrow", sans-serif; /* stand-in for Knockout 51-Middleweight (primary) */
  --body: "Oswald", "Arial Narrow", sans-serif; /* brand rule: Knockout is the only typeface for graphic-designed work; Gotham is reserved for internal office correspondence, so body copy here uses Knockout at a lighter weight */

  --max: 1180px;
  --edge: clamp(24px, 5vw, 64px);
  --radius: 2px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

body{
  margin:0;
  font-family:var(--body);
  font-weight:300;
  color:var(--iron-works);
  background:var(--snow-white);
  line-height:1.6;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.03em; /* brand spec: 30 kerning for headlines */
  margin:0 0 .5em;
  color:var(--iron-works);
}
h1{ font-size:clamp(2.4rem,5.4vw,4.6rem); line-height:1.03; }
h2{ font-size:clamp(1.7rem,3.2vw,2.5rem); line-height:1.12; }
h3{ font-size:1.05rem; }

p{ margin:0 0 1.1em; color:var(--ink-70); max-width:62ch; letter-spacing:.02em; } /* brand spec: 20 kerning for body copy */
a{ color:inherit; }
img{ max-width:100%; display:block; }

.eyebrow{
  font-family:var(--display);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  color:var(--fiery-orange);
  margin:0 0 .9em;
  display:flex; align-items:center; gap:.6em;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--fiery-orange);
  display:inline-block;
}

a:focus-visible, button:focus-visible, .btn:focus-visible{
  outline:3px solid var(--fiery-orange);
  outline-offset:3px;
}

/* ---------- layout helpers ---------- */
.wrap{ max-width:var(--max); margin:0 auto; padding-left:var(--edge); padding-right:var(--edge); }
.section{ padding:clamp(56px,9vw,110px) 0; }
.section--tight{ padding:clamp(40px,6vw,72px) 0; }
.section--dark{ background:var(--iron-works); color:var(--snow-white); }
.section--dark p{ color:rgba(248,248,248,.72); }
.section--dark h1,.section--dark h2,.section--dark h3{ color:var(--snow-white); }
.section--tint{ background:var(--blue-bird-10); }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(248,248,248,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--blizzard);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.brand{ display:flex; align-items:center; gap:14px; text-decoration:none; }
.brand svg{ height:34px; width:auto; flex:none; }
.brand-logo{ height:40px; width:auto; display:block; }
.brand-word{
  font-family:var(--display);
  text-transform:uppercase;
  font-size:.92rem;
  letter-spacing:.08em;
  line-height:1.15;
  color:var(--iron-works);
}
.brand-word span{ display:block; font-size:.72em; color:var(--sky-blue); letter-spacing:.16em; }

.nav{ display:flex; align-items:center; gap:clamp(18px,3vw,36px); }
.nav a{
  font-family:var(--display);
  text-transform:uppercase;
  font-size:.82rem;
  letter-spacing:.09em;
  text-decoration:none;
  color:var(--iron-works);
  padding:6px 0;
  border-bottom:2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"]{ border-bottom-color:var(--fiery-orange); }
.nav .btn{ margin-left:4px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--display);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.85rem;
  text-decoration:none;
  padding:.95em 1.7em;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor:pointer;
}
.btn--primary{ background:var(--fiery-orange); color:var(--snow-white); }
.btn--primary:hover{ background:#a83513; transform:translateY(-1px); }
.btn--ghost-light{ background:transparent; color:var(--snow-white); border-color:rgba(248,248,248,.55); }
.btn--ghost-light:hover{ background:rgba(248,248,248,.12); border-color:var(--snow-white); }
.btn--ghost-dark{ background:transparent; color:var(--iron-works); border-color:var(--iron-works); }
.btn--ghost-dark:hover{ background:var(--iron-works); color:var(--snow-white); }

/* ---------- hero ---------- */
.hero{
  position:relative;
  color:var(--snow-white);
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.hero::before{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(155deg, rgba(70,91,117,.86) 0%, rgba(56,74,97,.80) 55%, rgba(43,40,45,.90) 100%);
}
.hero .wrap{
  position:relative; z-index:2;
  padding-top:clamp(70px,11vw,120px);
  padding-bottom:clamp(90px,13vw,150px);
}
.hero h1, .hero h2, .hero h3{ color:var(--snow-white); }
.hero .eyebrow{ color:#f0b39e; }
.hero .eyebrow::before{ background:#f0b39e; }
.hero p.lede{ color:rgba(248,248,248,.82); font-size:1.15rem; max-width:46ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:2em; }

/* shorter photo header used on secondary pages (Who We Are, Apply for Grants) */
.page-hero{
  position:relative;
  color:var(--snow-white);
  overflow:hidden;
  background-size:cover;
  background-position:center;
  padding:clamp(64px,9vw,96px) 0 clamp(48px,7vw,72px);
}
.page-hero::before{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(160deg, rgba(70,91,117,.88) 0%, rgba(43,40,45,.90) 100%);
}
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1, .page-hero h2, .page-hero h3{ color:var(--snow-white); }
.page-hero .eyebrow{ color:#f0b39e; }
.page-hero .eyebrow::before{ background:#f0b39e; }

/* ridge divider between sections, echoing the brand's Ridge Slash mark */
.ridge-divider{ line-height:0; }
.ridge-divider svg{ width:100%; height:auto; display:block; }

/* ---------- pillar / card grids ---------- */
.grid{ display:grid; gap:clamp(18px,2.6vw,28px); }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:860px){
  .grid--3, .grid--2{ grid-template-columns:1fr; }
}

.card{
  background:var(--snow-white);
  border:1px solid var(--blizzard);
  padding:34px 30px;
  border-radius:var(--radius);
}
.section--dark .card{
  background:rgba(248,248,248,.04);
  border-color:rgba(248,248,248,.18);
}
.card .mark{ width:30px; height:30px; margin-bottom:18px; color:var(--fiery-orange); }
.card h3{ margin-bottom:.6em; color:var(--iron-works); }
.section--dark .card h3{ color:var(--snow-white); }
.card p{ margin-bottom:0; font-size:.98rem; }

/* ---------- two-col intro ---------- */
.intro{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:clamp(28px,5vw,72px);
  align-items:start;
}
@media (max-width:860px){ .intro{ grid-template-columns:1fr; } }

/* ---------- steps (genuinely sequential — the application process) ---------- */
.steps{ list-style:none; margin:0; padding:0; counter-reset:step; }
.step{
  counter-increment:step;
  display:flex;
  align-items:flex-start;
  gap:22px;
  padding:26px 0;
  border-top:1px solid var(--blizzard);
}
.step:last-child{ border-bottom:1px solid var(--blizzard); }
.step::before{
  content:counter(step,decimal-leading-zero);
  flex:none;
  width:48px;
  font-family:var(--display);
  font-weight:600;
  font-size:1.6rem;
  color:var(--fiery-orange);
  letter-spacing:.02em;
  white-space:nowrap;
}
.step-body{ flex:1 1 auto; min-width:0; }
.step h3{ margin-bottom:.3em; white-space:normal; word-spacing:normal; line-height:1.3; }
.step p{ margin-bottom:0; white-space:normal; word-spacing:normal; line-height:1.6; max-width:60ch; }
@media (max-width:560px){
  .step{ gap:14px; }
  .step::before{ width:36px; font-size:1.1rem; }
}

/* ---------- criteria list ---------- */
.check-list{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.check-list li{ display:flex; gap:14px; align-items:flex-start; color:var(--ink-70); }
.check-list svg{ flex:none; width:20px; height:20px; margin-top:2px; color:var(--blue-bird); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--blue-bird);
  color:var(--snow-white);
}
.cta-banner .wrap{
  display:flex; flex-wrap:wrap; gap:24px;
  align-items:center; justify-content:space-between;
  padding-top:56px; padding-bottom:56px;
}
.cta-banner h2{ color:var(--snow-white); margin-bottom:.2em; }
.cta-banner p{ color:rgba(248,248,248,.78); margin-bottom:0; }

/* ---------- footer ---------- */
.site-footer{ background:var(--iron-works); color:rgba(248,248,248,.75); }
.site-footer .wrap{
  padding-top:56px; padding-bottom:36px;
  display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px;
}
@media (max-width:760px){ .site-footer .wrap{ grid-template-columns:1fr; } }
.site-footer h3{ color:var(--snow-white); font-size:.82rem; letter-spacing:.1em; margin-bottom:1em; }
.site-footer .brand-word{ color:var(--snow-white); }
.site-footer .brand-word span{ color:var(--sky-blue); }
.site-footer a{ text-decoration:none; }
.footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:.7em; font-size:.95rem; }
.footer-links a:hover{ color:var(--fiery-orange); }
.footer-bottom{
  border-top:1px solid rgba(248,248,248,.14);
  padding:20px var(--edge);
  font-size:.82rem;
  display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between;
  max-width:var(--max); margin:0 auto;
}

/* ---------- contact block ---------- */
.contact-block{ display:grid; gap:10px; }
.contact-block a{ text-decoration:none; }
.contact-block a:hover{ color:var(--fiery-orange); }

/* ---------- utility ---------- */
.mt-0{ margin-top:0; }
.max-prose{ max-width:64ch; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
