/* ============================================================
   SGT Melvin Gatewood (RET) , public website
   Design language carried over from the approved AI Biz Flow
   speaker reference: Playfair Display + DM Sans, navy / rust /
   ivory, editorial rules instead of boxes and shadows.
   Single stylesheet, no build step. Edit here once, every page
   updates.
   ============================================================ */

:root{
  --navy:#101a2b;
  --navy-2:#1b2942;
  --ink:#162033;
  --ivory:#f5f0e7;
  --paper:#fffdf8;
  --rust:#b95f3d;
  --rust-surface:#b65d3c; /* white text on this passes WCAG AA at 4.55:1 */
  --rust-dark:#9e4d30;
  --gold:#c7a86a;
  --line:#dcd5c9;
  --muted:#5f6875;
  --soft:#ece7de;
  --green:#397762;
  --alert:#8c2f2f;
  --content:1180px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--ivory);color:var(--ink);
  font-family:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}
button{cursor:pointer}

/* Accessibility: every interactive element keeps a visible focus ring. */
a:focus-visible,button:focus-visible,input:focus-visible,
textarea:focus-visible,select:focus-visible,summary:focus-visible{
  outline:3px solid var(--rust);outline-offset:3px;border-radius:2px;
}
.skip-link{
  position:absolute;left:-999px;top:0;z-index:99;
  padding:14px 20px;background:var(--navy);color:#fff;font-weight:700;text-decoration:none;
}
.skip-link:focus{left:0}
.visually-hidden{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  min-height:84px;padding:12px 5vw;
  background:rgba(245,240,231,.97);border-bottom:1px solid var(--line);
  backdrop-filter:saturate(1.4) blur(6px);
}
.wordmark{
  display:flex;align-items:center;gap:11px;
  color:var(--navy);font-size:17px;font-weight:800;letter-spacing:.08em;
  text-decoration:none;white-space:nowrap;line-height:1.1;
}
.wordmark .mark{width:46px;height:46px;flex:none;object-fit:contain}
.wordmark.light .mark{width:52px;height:52px}
.wordmark i{color:var(--rust);font:italic 600 21px/1 "Playfair Display",Georgia,serif}
.wordmark small{
  display:block;margin-top:3px;color:var(--muted);
  font-size:9.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
}
.wordmark.light{color:#fff}
.wordmark.light i{color:#e0a47b}
.wordmark.light small{color:#ffffff8c}

.header-right{display:flex;align-items:center;gap:22px}
.site-nav{display:flex;align-items:center;gap:22px}
.site-nav a{
  color:#5e6672;font-size:13.5px;font-weight:600;text-decoration:none;
  padding:6px 0;border-bottom:2px solid transparent;
}
.site-nav a:hover{color:var(--rust)}
.site-nav a[aria-current="page"]{color:var(--navy);border-bottom-color:var(--rust)}
.office-link{color:#5e6672;font-size:13px;font-weight:600;text-decoration:none}
.office-link:hover{color:var(--rust)}

/* Hamburger. Hidden on desktop, and hidden entirely when JavaScript is off,
   where the nav simply stays expanded. */
.menu-toggle{
  display:none;align-items:center;gap:10px;
  min-height:44px;padding:0 12px;
  border:1px solid var(--line);border-radius:3px;background:#fff;
  color:var(--ink);font-size:13px;font-weight:700;
}
.menu-toggle .bars{
  position:relative;display:block;width:20px;height:2px;
  background:var(--ink);border-radius:2px;
}
.menu-toggle .bars::before,.menu-toggle .bars::after{
  content:"";position:absolute;left:0;width:20px;height:2px;
  background:var(--ink);border-radius:2px;transition:transform .18s ease,top .18s ease;
}
.menu-toggle .bars::before{top:-6px}
.menu-toggle .bars::after{top:6px}
.menu-toggle[aria-expanded="true"] .bars{background:transparent}
.menu-toggle[aria-expanded="true"] .bars::before{top:0;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] .bars::after{top:0;transform:rotate(-45deg)}
/* The CTA inside the dropdown; on desktop the header button covers it. */
.nav-cta{display:none}

/* ---------- Buttons ---------- */
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;padding:12px 26px;
  border:1px solid var(--rust-surface);border-radius:3px;background:var(--rust-surface);
  color:#fff;font-size:15px;font-weight:700;text-align:center;text-decoration:none;
}
.button:hover{background:var(--rust-dark);border-color:var(--rust-dark)}
.button.small{min-height:44px;padding:10px 18px;font-size:13.5px}
.button.ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.button.ghost:hover{background:var(--navy);color:#fff}
.button.on-navy{background:var(--rust-surface);border-color:var(--rust-surface)}
.button.ghost.on-navy{background:transparent;color:#fff;border-color:#ffffff55}
.button.ghost.on-navy:hover{background:#ffffff14;border-color:#fff}
.button.block{width:100%}
.text-link{
  display:inline-block;color:var(--navy);font-size:14.5px;font-weight:700;
  text-decoration:none;border-bottom:2px solid var(--rust);padding-bottom:2px;
}
.text-link:hover{color:var(--rust)}
.text-link.light{color:#fff;border-bottom-color:var(--gold)}
.section.navy .rows b{color:#fff}

/* ---------- Layout primitives ---------- */
.section{padding:96px 8vw}
.section.tight{padding-top:64px;padding-bottom:64px}
.section.paper{background:var(--paper)}
.section.ivory{background:var(--ivory)}
.section.navy{background:var(--navy);color:#fff}
.section.navy p{color:#ffffffb5}
.wrap{max-width:var(--content);margin:0 auto}
.eyebrow{
  display:block;color:var(--rust);font-size:11px;font-weight:800;
  letter-spacing:.16em;text-transform:uppercase;
}
.eyebrow.light{color:#e4b392}
.rule{height:1px;background:var(--line);border:0;margin:0}

h1,h2,h3,blockquote{font-family:"Playfair Display",Iowan Old Style,Georgia,serif;font-weight:600}
h1{margin:16px 0 22px;font-size:clamp(40px,6vw,76px);line-height:.98;letter-spacing:-.035em;color:var(--navy)}
h2{margin:14px 0 20px;font-size:clamp(31px,4.2vw,54px);line-height:1.04;letter-spacing:-.03em}
h3{margin:0 0 10px;font-size:clamp(21px,2.4vw,26px);line-height:1.2}
.section.navy h1,.section.navy h2,.section.navy h3{color:#fff}
h1 em,h2 em{color:var(--rust);font-style:italic}
/* Keep the second sentence of the hero headline together, so it breaks between
   the two beats rather than mid-phrase. */
.hero h1 em{display:inline-block}
.section.navy h1 em,.section.navy h2 em{color:var(--gold)}
.lede{max-width:62ch;font-size:19px;line-height:1.7;color:var(--muted)}
.lede strong{color:var(--navy);font-weight:600}
.section.navy .lede{color:#ffffffbd}
.prose{max-width:66ch}
.prose p{color:var(--muted);line-height:1.75}
.prose p + p{margin-top:1.1em}
.prose strong{color:var(--ink)}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding:80px 8vw 64px;background:var(--navy);color:#fff;
  border-bottom:6px solid var(--rust);
}
.page-hero h1{color:#fff;max-width:16ch}
.page-hero .lede{color:#ffffffc4}
.breadcrumb{margin:0 0 6px;font-size:12.5px;color:#ffffff85}
.breadcrumb a{color:#ffffffc4}

/* ---------- Home hero ---------- */
.hero{display:grid;grid-template-columns:1.08fr .92fr;min-height:min(78vh,700px)}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:7vw 5vw 7vw 8vw}
.hero-copy .lede{margin:0;max-width:52ch}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:34px}
.proof-line{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:48px;
  color:#6d757f;font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
}
.proof-line i{width:4px;height:4px;border-radius:50%;background:var(--gold);flex:none}

/* Portrait frame degrades to a typographic navy panel when no approved
   photograph has been supplied yet. Drop assets/melvin-hero.jpg in and it
   appears automatically. No markup change required. */
.hero-visual{
  position:relative;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:420px;padding:40px;overflow:hidden;
  background:linear-gradient(150deg,var(--navy-2),var(--navy) 62%);
  color:#fff;isolation:isolate;
}
.hero-photo{
  position:absolute;inset:0;z-index:-2;
  width:100%;height:100%;object-fit:cover;object-position:50% 22%;
}
/* Scrim so the quote holds contrast over the photograph in every crop. */
.hero-visual::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(16,26,43,.18) 0%,rgba(16,26,43,.42) 45%,rgba(16,26,43,.88) 100%);
}
.hero-visual blockquote{
  margin:0;max-width:19ch;
  font-size:clamp(25px,3vw,38px);line-height:1.15;letter-spacing:-.02em;
}
.hero-visual cite{
  display:block;margin-top:16px;color:#ffffff9e;
  font-size:10.5px;font-style:normal;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
}

/* ---------- Pathway cards ---------- */
.pathways{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);border-left:1px solid var(--line);margin-top:44px;
}
.pathway{
  display:flex;flex-direction:column;min-height:280px;padding:32px 28px;
  border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  background:rgba(255,253,248,.6);color:inherit;text-decoration:none;
}
.pathway:hover{background:var(--paper)}
.pathway .num{color:var(--rust);font-size:11px;font-weight:800;letter-spacing:.1em}
.pathway h3{margin:52px 0 12px}
.pathway p{margin:0;color:var(--muted);font-size:15.5px;line-height:1.6}
.pathway .go{
  margin-top:auto;padding-top:20px;color:var(--navy);
  font-size:13.5px;font-weight:700;
}
.pathway:hover .go{color:var(--rust)}

/* ---------- Credibility strip ---------- */
.creds{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:3px solid var(--rust)}
.creds article{padding:30px 28px 30px 0}
.creds b{display:block;font:600 21px/1.25 "Playfair Display",Georgia,serif}
.creds span{display:block;margin-top:8px;color:var(--muted);font-size:14.5px;line-height:1.55}

/* ---------- Split feature ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:start}
.split.narrow{grid-template-columns:1.25fr .75fr}
/* Home "My story": the left column stacks the story with the awards hugging
   directly beneath it (normal block flow, so its height is independent of the
   taller roles-and-photo column on the right). */
.story-left{min-width:0}
.aside-note{border-top:3px solid var(--rust);padding-top:22px}
.aside-note b{display:block;margin-bottom:10px;font:600 22px/1.3 "Playfair Display",Georgia,serif}
.aside-note p{margin:0;color:var(--muted);line-height:1.7}
.section.navy .aside-note{border-top-color:var(--gold)}
.section.navy .aside-note p{color:#ffffffab}

/* ---------- Definition list / detail rows ---------- */
.rows{margin:32px 0 0;border-top:1px solid var(--line)}
.rows article{
  display:grid;grid-template-columns:.9fr 1.6fr;gap:30px;
  padding:26px 0;border-bottom:1px solid var(--line);
}
.rows b{font:600 23px/1.25 "Playfair Display",Georgia,serif}
.rows p{margin:0;color:var(--muted);line-height:1.7}
.section.navy .rows,.section.navy .rows article{border-color:#ffffff26}
.section.navy .rows p{color:#ffffffa8}

/* ---------- Numbered steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:44px}
/* The mission pillars run four across so none is left orphaned on its own row. */
.steps.four{grid-template-columns:repeat(4,1fr)}
.steps.four article{padding:28px 24px}
.steps.four h3{margin-top:28px;font-size:21px}
.steps article{padding:32px;border:1px solid var(--line);background:var(--paper)}
.steps b.n{
  display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:var(--navy);color:#fff;font-size:15px;font-weight:700;
}
.steps h3{margin:34px 0 10px}
.steps p{margin:0;color:var(--muted);line-height:1.65;font-size:15.5px}

/* ---------- Callouts ---------- */
.callout{
  border-left:4px solid var(--rust);padding:22px 24px;background:var(--soft);
  margin:32px 0;
}
.callout h2,.callout h3{margin:0 0 8px;font-size:21px}
.callout p{margin:0;color:var(--muted);line-height:1.7}
.callout p + p{margin-top:.9em}
.callout.boundary{border-left-color:var(--navy);background:#eceff4}
.callout.urgent{border-left-color:var(--alert);background:#f7ebe9}
.callout.urgent h2,.callout.urgent h3{color:var(--alert)}
.callout.urgent a{color:var(--alert);font-weight:700}
.callout ul{margin:10px 0 0;padding-left:20px;color:var(--muted);line-height:1.8}

/* ---------- Quote band ---------- */
.quote-band{padding:88px 8vw;background:var(--gold);color:var(--navy);text-align:center}
.quote-band blockquote{
  max-width:22ch;margin:0 auto;
  font-size:clamp(30px,4.4vw,56px);line-height:1.14;letter-spacing:-.02em;
}
.quote-band p{
  margin:26px 0 0;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
}

/* ---------- CTA band ---------- */
.cta-band{
  display:grid;grid-template-columns:1.3fr .7fr;gap:6vw;align-items:center;
  padding:72px 8vw;background:var(--navy);color:#fff;
}
.cta-band h2{margin:10px 0 14px}
.cta-band p{margin:0;color:#ffffffb5;max-width:52ch}
.cta-band .actions{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- Forms ---------- */
.form-shell{display:grid;grid-template-columns:.85fr 1.15fr;gap:6vw;align-items:start}
.form-card{background:var(--paper);border:1px solid var(--line);padding:36px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:22px}
.field > span.label{font-size:13px;font-weight:800;letter-spacing:.03em;color:var(--ink)}
.field .hint{color:var(--muted);font-size:13.5px;line-height:1.5;font-weight:400;letter-spacing:0}
.field input,.field textarea,.field select{
  width:100%;min-height:52px;padding:14px;
  border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--ink);
  font-size:16px;
}
.field textarea{min-height:130px;resize:vertical;line-height:1.6}
.field input:focus,.field textarea:focus,.field select:focus{
  border-color:var(--rust);box-shadow:0 0 0 3px #b95f3d22;outline:none;
}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.req{color:var(--rust)}
.checkbox{
  display:grid;grid-template-columns:24px 1fr;gap:14px;align-items:start;
  margin-bottom:22px;font-size:15px;line-height:1.6;color:var(--muted);
}
.checkbox input{width:24px;height:24px;min-height:0;margin:2px 0 0;accent-color:var(--rust)}
fieldset{margin:0 0 26px;padding:0;border:0}
legend{padding:0;margin-bottom:14px;font-size:13px;font-weight:800;letter-spacing:.03em}
.choice-row{display:flex;flex-wrap:wrap;gap:10px}
.choice-row label{
  display:inline-flex;align-items:center;gap:9px;min-height:48px;
  padding:0 18px;border:1px solid var(--line);border-radius:40px;background:#fff;
  font-size:14px;font-weight:700;color:var(--muted);cursor:pointer;
}
.choice-row input{width:18px;height:18px;min-height:0;accent-color:var(--rust);margin:0}
.choice-row label:has(input:checked){border-color:var(--rust-surface);background:var(--rust-surface);color:#fff}
.choice-row label:has(input:focus-visible){outline:3px solid var(--rust);outline-offset:3px}
/* Conditional blocks. Shown by default so the page still works with no JS. */
.conditional[hidden]{display:none}
.form-foot{margin-top:8px;color:var(--muted);font-size:13.5px;line-height:1.6}

/* ---------- Impact cards ---------- */
.impact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:44px}
.impact-card{border:1px solid var(--line);background:var(--paper);padding:30px}
.impact-card h3{margin-bottom:10px}
.impact-card p{margin:0;color:var(--muted);line-height:1.7}

/* ---------- Footer ---------- */
.site-footer{padding:64px 8vw 40px;background:#090f19;color:#fff}
.footer-top{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:44px}
.site-footer p{color:#ffffff7d;font-size:14.5px;line-height:1.65;max-width:44ch}
.footer-col .footer-col-title{margin:0 0 16px;
  margin:0 0 16px;color:#ffffff8f;
  font-size:10.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
}
.footer-col a{
  display:block;padding:7px 0;color:#fff;font-size:14.5px;text-decoration:none;
}
.footer-col a:hover{color:var(--gold)}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:16px 28px;justify-content:space-between;
  margin-top:52px;padding-top:26px;border-top:1px solid #ffffff1f;
  color:#ffffff63;font-size:13px;
}
.footer-bottom a{color:#ffffff8f}
.footer-legal{max-width:70ch;margin-top:18px;color:#ffffff5c;font-size:12.5px;line-height:1.65}

/* ---------- Legal pages ---------- */
.legal{padding:72px 8vw 96px;background:var(--paper)}
.legal .wrap{max-width:78ch}
.legal h2{font-size:clamp(25px,3vw,34px);margin-top:48px}
.legal h3{font-size:20px;margin-top:30px}
.legal p,.legal li{color:var(--muted);line-height:1.75}
.legal ul{padding-left:22px}
.legal li{margin-bottom:8px}
.legal .updated{color:var(--muted);font-size:14px}

/* ============================================================
   Responsive. Phone first in behaviour: nothing below relies on
   hover, nothing scrolls sideways, every target stays >= 44px.
   ============================================================ */
@media (max-width:1000px){
  .steps.four{grid-template-columns:1fr 1fr}
  .pathways{grid-template-columns:1fr 1fr}
  .creds{grid-template-columns:1fr}
  .creds article{padding:24px 0;border-bottom:1px solid var(--line)}
  .steps,.steps.four{grid-template-columns:1fr}
  .impact-grid{grid-template-columns:1fr}
  .form-shell,.split,.split.narrow,.cta-band{grid-template-columns:1fr;gap:40px}
  .story-split{display:flex;flex-direction:column;gap:36px}
  .story-left{display:contents}
  .story-main{order:1}
  .story-side{order:2}
  .story-awards{order:3}
  .story-awards .awards{margin-top:0}
}

@media (max-width:860px){
  /* One compact row: mark and wordmark on the left, hamburger on the right.
     At 360px the row has ~320px to work with, so the mark, the identity line
     and the button are all trimmed to fit rather than wrapping. */
  .site-header{min-height:0;padding:9px 14px;gap:9px;flex-wrap:wrap}
  /* The wordmark must be able to shrink, otherwise its identity line is wider
     than the row and shoves the hamburger onto a second line. The max-width
     reserves the 44px button plus its gap, which forces the identity line to
     wrap instead of stealing the whole row. */
  .wordmark{gap:8px;flex:0 1 auto;min-width:0;max-width:calc(100% - 57px)}
  .wordmark > span{min-width:0}
  .wordmark .mark{width:38px;height:38px}
  /* Full credential on one line: the mark, gap and reserved button width are
     trimmed so the identity line fits without wrapping. */
  .wordmark small{font-size:8.5px;letter-spacing:.03em;white-space:nowrap}
  /* Icon-only button. The label stays in the accessibility tree as the
     button's name, it is only hidden visually. */
  .menu-toggle{padding:0;width:44px;flex:none;margin-left:auto;justify-content:center}
  .menu-toggle .menu-label{
    position:absolute;width:1px;height:1px;margin:-1px;padding:0;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
  }
  .site-nav{
    order:3;width:100%;gap:0;
    display:grid;grid-template-columns:1fr;
    margin-top:6px;padding-top:6px;border-top:1px solid var(--line);
  }
  .site-nav a{
    min-height:48px;display:flex;align-items:center;
    font-size:16px;line-height:1.25;
    border-bottom:1px solid var(--line);
  }
  .site-nav a:last-child{border-bottom:0}
  .site-nav a[aria-current="page"]{
    border-bottom-color:var(--line);color:var(--rust);
  }
  /* With scripting on, the nav collapses behind the hamburger. */
  .js .menu-toggle{display:inline-flex}
  .js .site-nav{display:none}
  .js .site-header.menu-open .site-nav{display:grid}
  /* The header CTA moves inside the menu so the top row stays on one line. */
  .header-right{display:none}
  .site-nav a.nav-cta{
    display:flex;align-items:center;justify-content:center;
    min-height:52px;margin-top:14px;
    background:var(--rust-surface);color:#fff;font-weight:700;
    border:0;border-radius:3px;
  }
  .site-nav a.nav-cta:hover{background:var(--rust-dark);color:#fff}
  .office-link{display:none}

  /* Hero on phones runs headline, photograph, then paragraph. display:contents
     lifts the copy block's children into the hero's own flex flow so the image
     can sit between them. */
  .hero{display:flex;flex-direction:column;min-height:0}
  .hero-copy{display:contents}
  .hero-copy > *{padding-left:22px;padding-right:22px}
  .hero-copy .eyebrow{order:1;padding-top:44px}
  .hero h1{order:2;margin-bottom:26px}
  .hero-visual{order:3;padding:26px 22px;margin-bottom:30px}
  .hero-copy .lede{order:4;margin-bottom:0}
  .hero-actions{order:5;margin-top:28px}
  .proof-line{order:6;padding-bottom:52px}
  /* Taller on phones so the photograph keeps his face clear of the quote scrim.
     At 360px wide the source scales to 494px, so 440 shows nearly all of it. */
  .hero-visual{min-height:440px;padding:30px 22px}
  .hero-photo{object-position:50% 15%}
  .section{padding:64px 22px}
  .page-hero{padding:52px 22px 44px}
  .quote-band,.cta-band{padding:60px 22px}
  .pathways{grid-template-columns:1fr;margin-top:32px}
  .pathway{min-height:0;padding:26px 22px}
  .pathway h3{margin-top:26px}
  .rows article{grid-template-columns:1fr;gap:10px;padding:22px 0}
  .form-card{padding:24px 20px}
  .field-grid{grid-template-columns:1fr;gap:0}
  .footer-top{grid-template-columns:1fr;gap:34px}
  /* Melvin's audience skews older. Micro-labels that read fine on a desktop
     get a floor on phones so nothing important is squinted at. */
  .eyebrow{font-size:12px}
  /* The hero eyebrow is the longest one on the site; slightly tighter tracking
     keeps it on a single line down to the narrowest phones. */
  .hero .eyebrow{letter-spacing:.11em}
  .proof-line{
    display:flex;flex-direction:column;align-items:flex-start;gap:7px;
    margin-top:34px;font-size:11.5px;line-height:1.4;
  }
  .proof-line i{display:none}
  .footer-col .footer-col-title{font-size:11.5px}
  .quote-band p{font-size:12px}
  .form-foot{font-size:14.5px}
  .field .hint{font-size:14px}
  .site-footer{padding:48px 22px 32px}
  .legal{padding:48px 22px 72px}
}

@media (max-width:365px){
  /* Smallest phones: keep the credential visible and on one line rather than
     dropping it, by trimming the type and the mark a little further. */
  .wordmark small{font-size:7.5px;letter-spacing:.01em}
  .wordmark .mark{width:34px;height:34px}
  .wordmark{max-width:calc(100% - 53px)}
}

@media (max-width:420px){
  body{font-size:17px}
  .wordmark{font-size:15px}
  .wordmark i{font-size:18px}
  .hero-actions .button{width:100%}
  .button{width:100%}
  .site-header .button.small{width:auto}
  .choice-row label{width:100%}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

@media print{
  .site-header,.site-footer,.cta-band{display:none}
  body{background:#fff;color:#000}
}


/* ---------- About portrait ---------- */
.portrait{margin:0 0 32px}
.portrait img{width:100%;height:auto;display:block;border-bottom:4px solid var(--rust)}
.portrait figcaption{
  margin-top:10px;color:var(--muted);
  font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
}

/* ---------- Impact gallery ---------- */
.gallery{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px;
}
.gallery figure{margin:0;background:var(--paper);border:1px solid var(--line)}
.gallery img{
  display:block;width:100%;aspect-ratio:4/3;object-fit:cover;
  background:var(--soft);
}
.gallery figcaption{
  padding:14px 16px 16px;color:var(--muted);font-size:14.5px;line-height:1.45;
}
@media (max-width:1000px){ .gallery{grid-template-columns:repeat(2,1fr)} }
@media (max-width:860px){ .gallery{grid-template-columns:1fr;gap:14px} }


/* ---------- Feature figure (nonprofit section on the home page) ---------- */
.feature-figure{margin:0}
.feature-figure img{
  display:block;width:100%;height:auto;
  border-bottom:4px solid var(--gold);
}
.feature-figure figcaption{
  margin-top:12px;color:#ffffff8f;font-size:13.5px;line-height:1.5;
}
@media (max-width:1000px){
  .feature-figure{max-width:520px}
}


/* ---------- Supporting image in a narrow aside column ---------- */
.aside-figure{margin:32px 0 0}
.aside-figure img{
  display:block;width:100%;height:auto;
  border-bottom:4px solid var(--rust);
}
.aside-figure figcaption{
  margin-top:10px;color:var(--muted);
  font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
}
@media (max-width:1000px){
  .aside-figure{max-width:420px}
}


/* ---------- Awards and recognition strip ----------
   Typographic rather than a logo wall, so no third-party trademark is
   reproduced. Each item is sized to take a logo <img> later without the
   layout changing. */
.awards{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}
.awards-label{
  margin:0 0 20px;color:var(--muted);
  font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
}
.award-row{
  display:grid;grid-template-columns:1fr 1fr;gap:22px 30px;
  margin:0;padding:0;list-style:none;
}
.award-row li{
  display:flex;flex-direction:column;gap:5px;
  padding-left:16px;border-left:3px solid var(--gold);
}
.award-row img{ /* reserved for an approved organisation logo */
  display:block;max-height:34px;width:auto;margin-bottom:8px;
}
.award-row .yr{
  color:var(--rust);font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
}
.award-row b{
  font-family:"Playfair Display",Iowan Old Style,Georgia,serif;
  font-size:19px;font-weight:600;line-height:1.25;color:var(--navy);
}
.award-row small{color:var(--muted);font-size:13.5px;line-height:1.5}

@media (max-width:860px){
  .awards{margin-top:34px}
  .award-row{grid-template-columns:1fr;gap:20px}
  .award-row b{font-size:18px}
}


/* ---------- Ruck journeys map (impact page) ----------
   Leaflet map styled into the site's language. #ruck-map gets its own stacking
   context (z-index:0) so the map's controls never rise above the sticky header. */
.ruck-map-wrap{position:relative;z-index:0;margin-top:36px}
#ruck-map{
  height:480px;width:100%;
  border:1px solid var(--line);border-radius:6px;background:var(--soft);
}
.ruck-stat{
  margin:16px 0 0;color:var(--muted);
  font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
}
.ruck-legend{
  display:flex;flex-wrap:wrap;gap:22px;margin-top:16px;
  color:var(--muted);font-size:14px;font-weight:600;
}
.ruck-legend .dot{
  display:inline-block;width:12px;height:12px;border-radius:50%;
  margin-right:8px;vertical-align:baseline;
}
.ruck-legend .dot.home{background:var(--rust);box-shadow:0 0 0 3px #b95f3d33}
.ruck-legend .dot.stop{background:var(--gold)}
.ruck-list{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0 0;padding:0;list-style:none}
.ruck-list button{
  min-height:40px;padding:0 15px;border:1px solid var(--line);border-radius:30px;
  background:#fff;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer;
}
.ruck-list button:hover,.ruck-list button:focus-visible{border-color:var(--rust);color:var(--rust)}

/* Leaflet chrome, restyled to match the site. */
.leaflet-container{font-family:"DM Sans",-apple-system,sans-serif;background:var(--soft)}
.leaflet-popup-content-wrapper{border-radius:5px;box-shadow:0 12px 34px rgba(16,26,43,.2)}
.leaflet-popup-content{margin:12px 16px;line-height:1.4}
.leaflet-popup-content b{
  font-family:"Playfair Display",Georgia,serif;font-weight:600;font-size:16px;color:var(--navy);
}
.leaflet-popup-content span{display:block;margin-top:3px;color:var(--muted);font-size:12.5px}
.leaflet-bar a{color:var(--navy);font-weight:700}
.leaflet-control-attribution{font-size:10.5px}

@media (max-width:860px){
  #ruck-map{height:380px}
}


/* ============================================================
   Blog, events and store. Content arrives after the page, so
   every list has a loading, empty and error state.
   ============================================================ */

.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px}
.list-heading{
  margin:52px 0 20px;font-size:clamp(23px,2.6vw,30px);
}
.list-heading:first-child{margin-top:0}
.card-grid + .list-heading{margin-top:56px}

.card{
  display:flex;flex-direction:column;
  border:1px solid var(--line);background:var(--paper);
}
.card-media{display:block;background:var(--soft)}
.card-media img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.card-media.contain img{aspect-ratio:1/1;object-fit:contain;padding:18px}
.card-body{display:flex;flex-direction:column;flex:1;padding:24px 22px 22px}
.card-meta{
  margin:0 0 8px;color:var(--rust);
  font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
}
.card h3{margin:0 0 10px;font-size:23px;line-height:1.22}
.card h3 a{color:var(--navy);text-decoration:none}
.card h3 a:hover{color:var(--rust)}
.card-body p{margin:0;color:var(--muted);font-size:15.5px;line-height:1.6}
.card-go{margin-top:auto;padding-top:18px}
.event-where{
  margin:0 0 10px;color:var(--ink);font-size:14.5px;font-weight:700;
}

/* Loading, empty and error states */
.content-state{
  margin:0;padding:26px 24px;border:1px dashed var(--line);
  background:var(--soft);color:var(--muted);font-size:15.5px;line-height:1.6;
}
.content-state.error{border-color:var(--alert);border-style:solid;background:#f7ebe9;color:var(--alert)}
.card-grid .content-state{grid-column:1 / -1}

/* Detail pages */
.detail-page{padding-top:56px}
.detail{max-width:74ch;margin:0 auto}
.detail h1{margin:10px 0 22px}
.detail-meta{
  margin:0;color:var(--rust);
  font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
}
.detail-figure{margin:0 0 30px}
.detail-figure img{display:block;width:100%;height:auto;border-bottom:4px solid var(--rust)}
.detail-figure.contain img{border-bottom:0;background:var(--soft);padding:24px}
.event-facts{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px;
  margin:0 0 30px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.event-facts b{
  display:block;margin-bottom:6px;color:var(--muted);
  font-family:"DM Sans",sans-serif;font-size:10.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
}
.event-facts span{color:var(--ink);font-size:15.5px;line-height:1.55}

@media (max-width:1000px){
  .card-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .card-grid{grid-template-columns:1fr;gap:16px}
  .detail{max-width:none}
  .detail-page{padding-top:38px}
  .event-facts{grid-template-columns:1fr;gap:16px}
  .list-heading{margin:38px 0 16px}
}

/* ---- 50-State Recovery 5K ------------------------------------------------ */
.r5k-map{position:relative;margin-top:30px}
.r5k-map svg{display:block;width:100%;height:auto}
.r5k-map path{fill:#e0d8ca;stroke:#fff;stroke-width:1;stroke-linejoin:round;transition:fill .2s}
.r5k-map path:hover{fill:#cfc5b3}
.r5k-map path.is-completed{fill:var(--rust)}
.r5k-map path.is-completed:hover{fill:var(--rust-dark)}
.r5k-map path.is-next{fill:url(#r5k-next-hatch);stroke:var(--navy);stroke-width:1.6}
.r5k-map path.is-planned{fill:#e3d6b8}
.r5k-map path:focus{outline:none}
.r5k-map path:focus-visible{stroke:var(--navy);stroke-width:3}
.r5k-map .r5k-next-ring{fill:none;pointer-events:none;stroke:var(--gold);stroke-width:3;animation:r5kpulse 2.4s ease-in-out infinite}
@keyframes r5kpulse{0%,100%{opacity:.25}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.r5k-map .r5k-next-ring{animation:none;opacity:.8}}
.r5k-tip{position:absolute;z-index:2;transform:translate(-50%,-100%);pointer-events:none;background:var(--navy);color:#fff;font-size:14px;font-weight:600;line-height:1.35;padding:8px 12px;border-radius:6px;white-space:nowrap;box-shadow:0 6px 18px #101a2b33}
.r5k-tip[hidden]{display:none}
.r5k-legend{display:flex;flex-wrap:wrap;gap:10px 26px;margin:22px 0 0;padding:0;list-style:none;font-size:15px;color:var(--muted)}
.r5k-legend li{display:flex;align-items:center;gap:9px}
.r5k-legend .sw{width:18px;height:18px;border-radius:4px;display:inline-block;border:1px solid #0000001a}
.r5k-legend .sw.done{background:var(--rust)}
.r5k-legend .sw.next{background:repeating-linear-gradient(45deg,var(--gold) 0 3px,#f3e7cc 3px 6px);border:1.5px solid var(--navy)}
.r5k-legend .sw.todo{background:#e0d8ca}
.r5k-progress{margin-top:6px}
.r5k-count{font-family:"Playfair Display",Georgia,serif;font-size:clamp(28px,3.4vw,40px);line-height:1.1;color:var(--ink)}
.r5k-count .r5k-num{color:var(--rust);font-weight:600}
.r5k-bar{height:10px;background:var(--soft);border-radius:999px;overflow:hidden;margin-top:12px;max-width:420px}
.r5k-bar span{display:block;height:100%;width:0;background:var(--rust);border-radius:999px;transition:width .8s ease}
.r5k-next-line{margin-top:12px;color:var(--muted);font-size:16px}
.r5k-next-line strong{color:var(--ink)}
.r5k-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}
.r5k-stops{list-style:none;margin:0;padding:0;border-left:2px solid var(--line)}
.r5k-stop{position:relative;padding:0 0 26px 24px;display:flex;flex-direction:column;gap:3px}
.r5k-stop::before{content:"";position:absolute;left:-8px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--soft);border:2px solid var(--line)}
.r5k-stop.is-completed::before{background:var(--rust);border-color:var(--rust)}
.r5k-stop.is-next::before{background:var(--gold);border-color:var(--navy)}
.r5k-stop b{font-size:19px;color:var(--ink)}
.r5k-badge{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.r5k-stop.is-completed .r5k-badge{color:var(--rust-dark)}
.r5k-stop.is-next .r5k-badge{color:#7a6230}
.r5k-date,.r5k-note{color:var(--muted);font-size:15px}
.r5k-event{font-weight:700;color:var(--ink);font-size:15px}
.r5k-date{font-weight:600}
.r5k-state-msg{padding-left:24px;color:var(--muted)}
.r5k-hero-figure{margin:0}
.r5k-hero-figure img{width:100%;height:auto;border-radius:8px;display:block}
.r5k-hero-figure figcaption{margin-top:10px;font-size:14px;color:#ffffffa8}
.r5k-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:6vw;align-items:center}
.r5k-cta-links{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center;margin-top:26px}
/* Home page teaser */
.r5k-teaser-map{display:block;border-radius:8px}
.r5k-teaser-map:focus-visible{outline:3px solid var(--rust);outline-offset:6px}
.r5k-teaser{display:grid;grid-template-columns:.95fr 1.05fr;gap:6vw;align-items:center}
.r5k-teaser .r5k-map{margin-top:0}
@media (max-width:1000px){
  .r5k-layout,.r5k-hero,.r5k-teaser{grid-template-columns:1fr;gap:36px}
}
@media (max-width:860px){
  .r5k-tip{white-space:normal;max-width:220px;text-align:center}
  .r5k-legend{gap:8px 18px;font-size:14px}
}
/* Eleven nav items (including Ruck Walk): keep the desktop header on one
   line between the mobile breakpoint and wide screens. */
.site-nav a{white-space:nowrap}
@media (min-width:861px) and (max-width:1440px){
  .site-header{gap:14px;padding:12px 3vw}
  .site-nav,.header-right{gap:14px}
  .site-nav a{font-size:13px}
  .header-right .button.small{padding-left:14px;padding-right:14px}
}
@media (min-width:861px) and (max-width:1180px){
  .wordmark small{display:none}
  .site-nav,.header-right{gap:11px}
  .site-nav a{font-size:12.5px}
}
@media (min-width:861px) and (max-width:1040px){
  .site-header{gap:10px;padding:12px 2vw}
  .site-nav,.header-right{gap:8px}
  .site-nav a{font-size:12px}
  .wordmark{font-size:15px;gap:8px}
  .wordmark i{font-size:18px}
  .wordmark .mark{width:38px;height:38px}
  .header-right .button.small{padding-left:10px;padding-right:10px;font-size:12px}
}
@media (min-width:861px){.header-right .button.small{white-space:nowrap}}
/* Extra "Ruck Walk" item: the Invite button no longer fits beside the nav
   until the viewport is a little wider, so hide the duplicate CTA here.
   Invite Melvin remains in the hamburger at max-width:860px. */
@media (min-width:861px) and (max-width:960px){
  .header-right{display:none}
}

/* Clarksburg gallery + teaser photo */
.r5k-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
.r5k-gallery figure{margin:0}
.r5k-gallery a{display:block;border-radius:8px;overflow:hidden;aspect-ratio:4/5;background:var(--soft)}
.r5k-gallery a:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
.r5k-gallery img{width:100%;height:100%;object-fit:cover;object-position:50% 35%;display:block;transition:transform .35s ease}
.r5k-gallery a:hover img{transform:scale(1.03)}
.r5k-gallery figcaption{margin-top:9px;font-size:14px;color:var(--muted);line-height:1.45}
.r5k-teaser-visual{position:relative}
.r5k-teaser-photo{margin:0}
.r5k-teaser-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block}
.r5k-teaser-photo figcaption{margin-top:8px;font-size:13px;color:var(--muted)}
.r5k-teaser-photo + .r5k-teaser-map{position:absolute;right:-18px;bottom:30px;width:52%;background:var(--paper);padding:12px;border-radius:8px;box-shadow:0 10px 30px #101a2b2e}
.r5k-lightbox{position:fixed;inset:0;z-index:100;background:#0b1220ee;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4vh 4vw;margin:0;border:0;width:100%;height:100%;max-width:none;max-height:none}
.r5k-lightbox::backdrop{background:#0b1220ee}
.r5k-lightbox img{max-width:100%;max-height:80vh;object-fit:contain;border-radius:6px}
.r5k-lightbox p{color:#fff;margin:14px 0 0;font-size:15px;text-align:center}
.r5k-lightbox button{position:absolute;top:16px;right:18px;background:#fff;color:var(--navy);border:0;border-radius:999px;width:44px;height:44px;font-size:24px;line-height:1;cursor:pointer}
@media (prefers-reduced-motion:reduce){.r5k-gallery img{transition:none}}
@media (max-width:1000px){.r5k-gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){
  .r5k-gallery{grid-template-columns:1fr;gap:22px}
  .r5k-teaser-photo + .r5k-teaser-map{position:static;width:auto;margin-top:16px;box-shadow:none;padding:0;background:none}
}
.r5k-lightbox:not([open]){display:none}

/* COLUMBUS-CSS:START */
.columbus-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:6vw;align-items:start;margin-top:28px}
html{scroll-padding-top:110px}
.columbus-lead{margin:0}
.columbus-lead a{display:block;border-radius:8px;overflow:hidden}
.columbus-lead a:focus-visible{outline:3px solid var(--rust);outline-offset:3px}
.columbus-lead img{width:100%;height:auto;border-radius:8px;display:block}
.columbus-lead figcaption{margin-top:10px;font-size:14px;color:var(--muted)}
.columbus-gallery-note{margin:40px 0 0;color:var(--muted)}
.columbus-intro + .columbus-gallery-note + .r5k-gallery{margin-top:18px}
.columbus-teaser-row{display:grid;grid-template-columns:200px 1fr;gap:28px;align-items:center;text-decoration:none;color:inherit}
.columbus-teaser-row:focus-visible{outline:3px solid var(--rust);outline-offset:6px}
.columbus-teaser-row figure{margin:0}
.columbus-teaser-row img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 20%;border-radius:8px;display:block}
.columbus-teaser-row figcaption{margin-top:8px;font-size:13px;color:var(--muted)}
.columbus-teaser-row h2{margin:6px 0 10px;font-size:32px;line-height:1.2}
.columbus-teaser-row p{margin:0;color:var(--muted)}
.columbus-teaser-row .card-go{margin-top:14px}
.ruck-home{border-bottom:1px solid var(--line)}
@media (max-width:1000px){
  .columbus-intro{grid-template-columns:1fr;gap:28px}
}
@media (max-width:700px){
  .columbus-teaser-row{grid-template-columns:1fr;gap:18px}
  .columbus-teaser-row h2{font-size:26px}
}
/* COLUMBUS-CSS:END */
