/* Montserrat is served from this site (Latin subset, weights 400 to 700), so visitors' browsers never contact Google. */
@font-face{ font-family:'Montserrat'; font-style:normal; font-weight:400 700; font-display:swap; src:url('/assets/fonts/montserrat-latin.woff2') format('woff2'); }

/* Brand tokens follow the Branding and Style Guide (draft).
   Ink Green #131B19, Sage #769985, Gold #E6D03D (accent on dark), Deep Gold #8A6D28 (accent text
   on light), Off-White #F7F7F7. The tints and the dark-theme surfaces below are mixes of those. */
:root{
  --bg:#F7F7F7;
  --surface:#FFFFFF;
  --surface-2:#E3EAE6;
  --ink:#131B19;
  --ink-soft:#3B4742;
  --ink-faint:#55625C;
  --line:#CBD4CF;
  --gold:#8A6D28;            /* gold TEXT on white or off-white only */
  --gold-bright:#E6D03D;     /* gold fills, rules, and text on Ink Green */
  --gold-hero:#E6D03D;
  --gold-bg:#F8F3CF;
  --sage:#769985;
  --link:#131B19;
  --green:#131B19;           /* chip text */
  --green-deep:#131B19;      /* header, hero, footer, photo panels */
  --green-bg:#E3EAE6;
  --on-dark:#F7F7F7;
  --on-dark-soft:#D3DBD6;
  --on-dark-faint:#A9B6AF;
  --rust:#9C3626;
  --rust-bg:#F5E1DC;
  --shadow: 0 1px 3px rgba(19,27,25,0.10), 0 1px 1px rgba(19,27,25,0.05);
  --shadow-lg: 0 8px 24px rgba(19,27,25,0.14);
  --radius: 8px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0F1513; --surface:#17211D; --surface-2:#1E2A25; --ink:#F7F7F7; --ink-soft:#CBD4CF;
    --ink-faint:#A3B0A9; --line:#33423B; --gold:#E6D03D; --gold-bg:#26261A; --link:#F7F7F7;
    --green:#E4ECE7; --green-bg:#273832; --rust:#E28A78; --rust-bg:#2E1E1A;
    --shadow: 0 1px 3px rgba(0,0,0,0.4); --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  }
}
:root[data-theme="dark"]{
  --bg:#0F1513; --surface:#17211D; --surface-2:#1E2A25; --ink:#F7F7F7; --ink-soft:#CBD4CF;
  --ink-faint:#A3B0A9; --line:#33423B; --gold:#E6D03D; --gold-bg:#26261A; --link:#F7F7F7;
  --green:#E4ECE7; --green-bg:#273832; --rust:#E28A78; --rust-bg:#2E1E1A;
  --shadow: 0 1px 3px rgba(0,0,0,0.4); --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

.sr-only{ position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--ink); font-family:'Montserrat', Arial, sans-serif; font-size:1rem; line-height:1.65; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; }
h1,h2,h3,h4{ font-family:'Montserrat', Arial, sans-serif; font-weight:700; text-wrap:balance; margin:0; line-height:1.25; }
/* Page titles and section headings are uppercase Montserrat Bold; card and post titles stay in sentence case. */
h1,h2{ text-transform:uppercase; letter-spacing:.015em; }
p{ margin:0 0 1rem; max-width:70ch; }
a{ color:var(--link); text-decoration-color:var(--gold); text-decoration-thickness:1.5px; text-underline-offset:3px; }
a:hover{ color:var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.mono{ font-family:'Montserrat', Arial, sans-serif; }
.eyebrow{ font-family:'Montserrat', Arial, sans-serif; font-weight:600; font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); }
.container{ max-width:1080px; margin:0 auto; padding:0 1.5rem; }
.btn{ display:inline-block; font-family:'Montserrat', Arial, sans-serif; font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:.8rem; padding:.8rem 1.4rem; border-radius:5px; text-decoration:none; border:2px solid transparent; cursor:pointer; transition:transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease; }
.btn:hover{ transform:translateY(-1px); }
/* Gold button, Ink Green text: 11.8 to 1 contrast. Hover inverts to Ink Green with gold text. */
.btn-primary{ background:var(--gold-bright); border-color:var(--gold-bright); color:#131B19; box-shadow:var(--shadow); }
.btn-primary:hover{ background:#131B19; color:var(--gold-bright); }
.btn-outline{ background:transparent; color:var(--on-dark); border-color:rgba(247,247,247,.6); }
.btn-outline:hover{ background:rgba(247,247,247,.12); color:var(--on-dark); }
.btn-ghost{ background:var(--surface); color:var(--ink); border-color:var(--line); box-shadow:var(--shadow); }

/* ---------- Header ---------- */
.site-header{ background:var(--green-deep); position:sticky; top:0; z-index:40; box-shadow:var(--shadow); border-bottom:3px solid var(--gold-bright); }
.header-inner{ max-width:1240px; margin:0 auto; padding:.6rem 1.5rem; display:flex; align-items:center; gap:1.2rem; }
.brand{ display:flex; align-items:center; gap:.65rem; text-decoration:none; margin-right:auto; flex:none; white-space:nowrap; }
.brand img{ width:44px; height:44px; border-radius:50%; }
.brand-text{ line-height:1.2; }
.brand-text .l1{ display:block; font-size:.69rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--on-dark-soft); }
.brand-text .l2{ display:block; font-size:.92rem; font-weight:700; color:var(--on-dark); }
.main-nav{ display:flex; gap:1.05rem; align-items:center; }
.main-nav a{ font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--on-dark); text-decoration:none; padding:.35rem 0; border-bottom:2px solid transparent; white-space:nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"]{ color:var(--gold-bright); border-bottom-color:var(--gold-bright); }
.nav-toggle{ display:none; background:none; border:none; color:var(--on-dark); font-size:1.5rem; cursor:pointer; }
@media (max-width:1180px){
  .main-nav{ position:absolute; top:100%; left:0; right:0; background:var(--green-deep); flex-direction:column; align-items:stretch; padding:.5rem 1.5rem 1rem; gap:.2rem; display:none; border-bottom:3px solid var(--gold-bright); }
  .main-nav.open{ display:flex; }
  .main-nav a{ padding:.7rem 0; border-bottom:1px solid rgba(247,247,247,.14); font-size:.8rem; }
  .nav-toggle{ display:block; }
  .header-inner{ position:relative; flex-wrap:nowrap; }
}
/* On phones the brand text may wrap so the menu button stays on the first row. */
@media (max-width:560px){
  .brand{ flex:1 1 0; min-width:0; white-space:normal; }
  .nav-toggle{ flex:none; }
}

/* ---------- Hero ---------- */
.hero{ background:linear-gradient(155deg, var(--green-deep) 0%, #2B3D35 150%); color:var(--on-dark); padding:3.4rem 0 3rem; position:relative; overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:0; background-image:repeating-linear-gradient(115deg, rgba(247,247,247,0.035) 0 2px, transparent 2px 34px); pointer-events:none; }
/* The text column lines up with the page content below (the container), and only the text is kept narrow. */
.hero-inner{ position:relative; }
.hero h1{ max-width:780px; }
/* Gold text only ever sits on Ink Green, never on Sage or white (guide, Color section). */
.hero .eyebrow{ color:var(--gold-hero); }
.hero h1{ font-size:clamp(1.4rem,3.8vw,2.15rem); color:var(--on-dark); margin-top:.6rem; line-height:1.2; }
.hero .lede{ color:var(--on-dark-soft); font-size:1.05rem; max-width:60ch; margin-top:1rem; }
.hero .actions{ display:flex; gap:.8rem; margin-top:1.6rem; flex-wrap:wrap; }
.hero-sm{ padding:2.2rem 0 2rem; }
.hero-sm h1{ font-size:clamp(1.3rem,3.4vw,1.8rem); }

/* ---------- Sections ---------- */
.section{ padding:3rem 0; }
.section-tight{ padding:1.8rem 0; }
.section-head{ margin-bottom:1.6rem; }
.section-head h2{ font-size:1.3rem; margin-top:.4rem; }
.section-alt{ background:var(--surface-2); }
/* Deep Gold text is only 4.0 to 1 on the Sage tint, so labels on it use ink. */
.section-alt .eyebrow{ color:var(--ink-soft); }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:1.1rem; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-5{ grid-template-columns:repeat(5,1fr); }
@media (max-width:820px){ .grid-3{ grid-template-columns:repeat(2,1fr); } .grid-5{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .grid-2, .grid-3, .grid-5{ grid-template-columns:1fr; } }

.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:1.3rem 1.4rem; }
.card h3, .card h2{ font-size:1.02rem; margin-bottom:.5rem; color:var(--ink); }
.card p{ color:var(--ink-soft); font-size:1rem; margin-bottom:0; }
a.card{ text-decoration:none; display:block; border-top:3px solid var(--gold-bright); transition:transform .12s ease, box-shadow .12s ease; }
a.card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
a.card:hover h3, a.card:hover h2{ color:var(--gold); }

.pillar-card{ background:var(--green-bg); border:1px solid var(--line); border-radius:var(--radius); padding:1.2rem 1rem; text-align:center; }
.pillar-card .num{ font-weight:700; color:var(--ink-soft); font-size:.85rem; letter-spacing:.08em; }
.pillar-card h3, .pillar-card h2{ font-size:1rem; margin-top:.4rem; color:var(--ink); }
.pillar-card p{ font-size:.95rem; margin-top:.5rem; color:var(--ink-soft); }

/* ---------- Social follow cards ---------- */
.social-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:1rem; max-width:600px; }
.social-card{
  display:flex; align-items:center; gap:.9rem; padding:1rem 1.2rem; text-decoration:none;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  transition:transform .12s ease, box-shadow .12s ease;
}
.social-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.social-card b{ display:block; color:var(--ink); font-size:1rem; }
.social-card .handle{ display:block; color:var(--ink-soft); font-size:.82rem; margin-top:.15rem; }
.social-icon{ flex:none; width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; }
.social-icon.fb{ background:#1877F2; }
.social-icon.ig{ background:radial-gradient(circle at 30% 110%, #FFD776 0%, #F1544D 40%, #C837AB 75%, #6C4DE6 100%); }

/* ---------- Timeline (chapter history) ---------- */
.timeline{ display:flex; flex-direction:column; }
.timeline-item{ display:grid; grid-template-columns:130px 1fr; gap:1.2rem; padding:1.4rem 0; border-top:1px solid var(--line); }
.timeline-item:first-child{ border-top:none; padding-top:0; }
.timeline-year{ font-weight:700; color:var(--gold); font-size:.95rem; padding-top:.15rem; }
.section-alt .timeline-year{ color:var(--ink); }
.timeline-body h3, .timeline-body h2{ font-size:1.02rem; }
.timeline-body p{ margin-top:.5rem; color:var(--ink-soft); font-size:1rem; }
@media (max-width:600px){ .timeline-item{ grid-template-columns:1fr; gap:.3rem; } }

/* ---------- FAQ ---------- */
.faq-list{ display:flex; flex-direction:column; }
.faq-item{ padding:1.2rem 0; border-top:1px solid var(--line); }
.faq-item:first-child{ border-top:none; }
.faq-item h3, .faq-item h2{ font-size:1rem; color:var(--ink); }
.faq-item p{ margin:.5rem 0 0; color:var(--ink-soft); font-size:1rem; max-width:68ch; }

/* ---------- Bio page (dedicated officer bio) ---------- */
.bio-layout{ display:grid; grid-template-columns:220px 1fr; gap:1.6rem; align-items:start; }
.bio-layout .bio-portrait{ max-width:220px; }
@media (max-width:640px){ .bio-layout{ grid-template-columns:1fr; } .bio-layout .bio-portrait{ max-width:280px; margin:0 auto; } }

/* ---------- Council / roster cards with photo ---------- */
.council-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:1.2rem; }
.council-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column;
}
.council-card .portrait-frame{
  aspect-ratio:1/1; overflow:hidden; background:var(--surface-2); border-bottom:3px solid var(--gold-bright);
  display:flex; align-items:center; justify-content:center; padding:.35rem;
}
/* Same rule as the Fallen Comrades portraits: object-fit:contain, never cover.
   These are casual, non-uniform photos of varying aspect ratio and framing,
   so a center-crop risks cutting a real person's face out of their own roster photo. */
.council-card .portrait-frame img{ width:100%; height:100%; object-fit:contain; display:block; }
.council-card .portrait-frame.no-photo{ padding:0; }
.council-card .initials-avatar{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:1.9rem; color:var(--gold-bright); background:var(--green-deep);
}
.council-card .initials-avatar.vacant{ color:var(--ink-faint); font-size:1.6rem; background:var(--surface-2); border:2px dashed var(--line); }
.council-card .council-text{ padding:.8rem .9rem .95rem; }
.council-card .role{ display:block; font-weight:600; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); line-height:1.4; }
.council-card .name{ display:block; font-weight:700; font-size:1rem; margin-top:.35rem; line-height:1.3; }
.council-card a{ font-size:.82rem; display:block; margin-top:.4rem; overflow-wrap:anywhere; }
.council-card.is-vacant .name{ color:var(--ink-faint); font-style:italic; }

/* ---------- Roll of Honor (fallen comrades) ---------- */
.fallen-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:1.4rem; }
.fallen-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column;
}
.fallen-card .portrait-frame{
  aspect-ratio:4/5; overflow:hidden; background:var(--surface-2); border-bottom:3px solid var(--gold-bright);
  display:flex; align-items:center; justify-content:center; padding:.4rem;
}
/* object-fit:contain, not cover: these are memorial portraits of the fallen and every
   frame must show the whole photo. Source photos range from tight headshots to full-body
   environmental shots; cropping to fill the frame risked cutting people out of their own
   memorial photo (caught on Dickinson's). Never trade a tidy grid for that again. */
.fallen-card .portrait-frame img{ width:100%; height:100%; object-fit:contain; display:block; }
.fallen-card .memorial-text{ padding:.9rem 1.05rem 1.1rem; }
.fallen-card .rank-name{ font-weight:700; font-size:1rem; line-height:1.3; }
.fallen-card .when{ font-weight:600; font-size:.82rem; color:var(--gold); margin-top:.35rem; }
.fallen-card .theater{ color:var(--ink-soft); font-size:.9rem; margin-top:.15rem; }
.fallen-banner{
  text-align:center; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  font-size:.85rem; color:var(--gold); margin:2.2rem 0 1.1rem; padding-top:1.6rem; border-top:1px solid var(--line);
}
.fallen-grid + .fallen-banner{ margin-top:2.6rem; }

/* ---------- Events ---------- */
/* The hidden attribute must always win. Without this, any rule that sets
   display (like .event's flex) silently overrides it and "hidden" items show. */
[hidden]{ display:none !important; }
.event{ display:flex; gap:1.1rem; padding:1.1rem 0; border-top:1px solid var(--line); }
/* :first-child can't be used here because the first child may be hidden;
   the build and main.js mark the first visible event instead. */
.event.is-first{ border-top:none; }
.event .event-link{ margin-top:.9rem; display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .9rem; }
.event .event-link .btn{ padding:.6rem 1.1rem; }
.event .event-deadline{ font-size:.8rem; color:var(--ink-soft); }
.events-heading{ font-size:1.05rem; letter-spacing:.04em; margin:0 0 .8rem; }
[data-bucket-section] + [data-bucket-section]{ margin-top:2.2rem; }
.events-card{ padding:.3rem 1.4rem; }
.events-empty{ color:var(--ink-soft); font-size:1rem; }
[data-events-home] .events-empty{ margin:0 0 1rem; }
.event .date-badge{ flex:none; width:68px; text-align:center; background:var(--green-bg); border:1px solid var(--line); border-bottom:3px solid var(--gold-bright); border-radius:6px; padding:.4rem 0; align-self:flex-start; }
.event .date-badge .mon{ font-weight:700; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); display:block; }
.event .date-badge .day{ font-weight:700; font-size:1.2rem; color:var(--ink); }
.event h3{ font-size:1.02rem; }
.event .meta{ font-size:.82rem; color:var(--ink-soft); margin-top:.2rem; }
.event p{ margin-top:.4rem; font-size:1rem; color:var(--ink-soft); }
.tag-past{ display:inline-block; font-weight:600; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); background:var(--surface-2); border-radius:99px; padding:.15rem .55rem; margin-left:.5rem; vertical-align:middle; }

/* ---------- Sponsor logos ---------- */
/* Real paying sponsors get their actual logo, not a text pill. Logo placement
   is part of what they're paying for. Every logo here is dark-on-light artwork
   with no dark-mode variant on file, so the card background is pinned to a fixed
   near-white regardless of site theme (deliberate exception to the token system:
   this is the one place a literal, not a --token, is correct, because the alternative is
   an invisible logo on a dark background). */
.sponsor-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:1rem; }
.sponsor-logo-card{
  display:flex; align-items:center; justify-content:center; height:110px;
  background:#FBFAF6; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:1rem 1.2rem; transition:transform .12s ease, box-shadow .12s ease;
}
.sponsor-logo-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.sponsor-logo-card img{ max-width:100%; max-height:100%; object-fit:contain; }
.sponsor-caption{ text-align:center; font-size:.78rem; color:var(--ink-soft); margin-top:.4rem; }

/* Individual sponsors: named people (and a couple of units), not
   companies with logos on file. A tag list, not a logo grid. */
.individual-sponsors{ display:flex; flex-wrap:wrap; gap:.55rem; }
.individual-sponsors span{
  font-weight:500; font-size:.85rem; background:var(--surface);
  border:1px solid var(--line); border-radius:99px; padding:.4rem 1rem; color:var(--ink-soft);
}

/* ---------- Photo gallery (chapter activities) ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:1.2rem; }
.gallery-card{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:var(--surface); }
.gallery-card .photo-frame{ aspect-ratio:3/2; background:var(--surface-2); display:flex; align-items:center; justify-content:center; }
/* Same object-fit:contain policy as the Fallen Comrades and Council portraits:
   these are real people at a real chapter event; a crop can't be allowed to cut
   someone out of their own group photo. */
.gallery-card img{ width:100%; height:100%; object-fit:contain; display:block; }
.gallery-card .caption{ padding:.75rem .95rem; font-size:.9rem; color:var(--ink-soft); }
.gallery-card .caption b{ color:var(--ink); }

/* ---------- Forms ---------- */
form{ display:flex; flex-direction:column; gap:.85rem; max-width:520px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:.85rem; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
label{ font-weight:600; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); display:block; margin-bottom:.3rem; }
input, textarea, select{ width:100%; font-family:'Montserrat', Arial, sans-serif; font-size:1rem; padding:.65rem .75rem; border:1px solid var(--ink-faint); border-radius:5px; background:var(--surface); color:var(--ink); }
.field-note{ font-size:.85rem; color:var(--ink-soft); margin:.4rem 0 0; max-width:60ch; }
.check-row{ display:flex; align-items:flex-start; gap:.6rem; font-size:.9rem; font-weight:400; letter-spacing:0; text-transform:none; color:var(--ink-soft); margin:0; }
.check-row span{ flex:1; }
.check-row input[type="checkbox"]{ width:auto; margin-top:.2rem; flex:none; }
textarea{ min-height:110px; resize:vertical; }
.field{ display:flex; flex-direction:column; }
/* Honeypot spam trap: off-screen, not display:none (some bots skip hidden
   fields entirely), never focusable, never announced to screen readers. */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.form-status{ font-size:.9rem; padding:.6rem .8rem; border-radius:5px; display:none; }
.form-status.ok{ display:block; background:var(--green-bg); color:var(--ink); }
.form-status.err{ display:block; background:var(--rust-bg); color:var(--rust); }

.inline-form{ display:flex; flex-direction:row; gap:.5rem; max-width:none; }
.inline-form input{ flex:1; min-width:0; }
.inline-form button{ flex:none; }

/* ---------- Newsletter block (footer) ---------- */
.newsletter-block .footer-title{ font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; color:var(--on-dark); margin-bottom:.5rem; }
.newsletter-block p{ color:var(--on-dark-soft); font-size:.9rem; margin-bottom:.7rem; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--green-deep); color:var(--on-dark-soft); margin-top:3rem; border-top:3px solid var(--gold-bright); }
.footer-inner{ max-width:1080px; margin:0 auto; padding:2.6rem 1.5rem 1.6rem; display:grid; grid-template-columns:1.3fr 1fr 1.3fr; gap:2rem; }
@media (max-width:760px){ .footer-inner{ grid-template-columns:1fr; } }
.footer-col .footer-title{ font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; color:var(--on-dark); margin-bottom:.6rem; }
.footer-col p{ color:var(--on-dark-soft); font-size:.9rem; }
.footer-col a{ color:var(--on-dark); display:block; font-size:.9rem; padding:.3rem 0; font-weight:500; }
.footer-col a:hover{ color:var(--gold-bright); }
.footer-legal{ max-width:1080px; margin:0 auto; padding:1.2rem 1.5rem 2rem; border-top:1px solid rgba(247,247,247,.14); font-size:.8rem; color:var(--on-dark-faint); }
.footer-legal a{ color:var(--on-dark-soft); }
.footer-legal a:hover{ color:var(--gold-bright); }
.site-footer .form-status.ok{ background:rgba(247,247,247,.1); color:var(--on-dark); }
.site-footer .form-status.err{ background:rgba(226,138,120,.15); color:#F4B5A8; }
.site-footer input{ border-color:var(--on-dark-faint); }
/* The Candid seal is loaded from Candid on purpose (not copied here) so the level it shows
   is always the one Candid currently lists for the chapter. */
.footer-legal{ display:flex; gap:1.4rem; align-items:flex-start; }
.footer-legal-text{ flex:1; min-width:0; }
.footer-legal .footer-seal{ flex:none; display:block; line-height:0; border-radius:2px; }
.footer-legal .footer-seal img{ width:96px; height:96px; display:block; }
@media (max-width:560px){ .footer-legal{ flex-direction:column; gap:1rem; } }

/* ---------- Callout / notice ---------- */
.notice{ border:1px solid var(--line); border-left:4px solid var(--gold-bright); background:var(--surface); border-radius:6px; padding:1rem 1.2rem; box-shadow:var(--shadow); }
.notice p{ margin:.3rem 0 0; font-size:1rem; color:var(--ink-soft); }

.skip-link{ position:absolute; left:-999px; top:0; background:#fff; color:#000; padding:.5rem 1rem; z-index:100; }
.skip-link:focus{ left:1rem; top:.5rem; }

/* ---------- Regiment Updates feed ---------- */
/* Photos sit whole on a dark panel (object-fit:contain, never cover): they are people, and a
   tall photo gets side bars instead of a cropped face. */
.updates-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(270px, 1fr)); gap:1.1rem; align-items:start; }
.update{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.update-media{ background:var(--green-deep); display:flex; justify-content:center; }
.update-media img{ display:block; width:100%; height:auto; max-height:340px; object-fit:contain; }
.update-body{ padding:1rem 1.1rem 1.15rem; }
.update.is-gallery{ grid-column:1 / -1; }
.update-gallery{ display:flex; gap:2px; background:var(--green-deep); }
.update-gallery figure{ margin:0; min-width:0; display:flex; flex-direction:column; background:var(--green-deep); }
.update-gallery img{ display:block; width:100%; height:auto; }
.update-gallery figcaption{ padding:.55rem .8rem .7rem; font-size:.85rem; line-height:1.4; color:var(--on-dark-soft); }
@media (max-width:700px){
  .update-gallery{ flex-direction:column; gap:0; }
  .update-gallery figure{ flex:none !important; }
}
.update-meta{ display:flex; align-items:center; gap:.6rem; margin-bottom:.55rem; font-weight:600; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); }
.update-kind{ padding:.2rem .55rem; border-radius:3px; background:var(--green-bg); color:var(--green); font-weight:700; }
.update h3, .update h2{ font-size:1.05rem; margin-bottom:.45rem; }
.update p{ color:var(--ink-soft); font-size:1rem; margin-bottom:.7rem; }
.update p:last-child{ margin-bottom:0; }
.update-link a{ font-weight:600; }
.update .event-link{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .9rem; margin-top:.9rem; }
.update .event-link .btn{ padding:.6rem 1.1rem; }
.update .event-deadline{ font-size:.8rem; color:var(--ink-soft); }
.update.k-honor .update-kind{ background:var(--green-deep); color:var(--on-dark); }
.update.k-benefit{ background:var(--gold-bg); border-color:var(--gold-bright); border-left-width:5px; }
.update.k-benefit h3, .update.k-benefit h2{ font-size:1.15rem; }
.update.k-benefit .update-kind{ background:var(--gold-bright); color:#131B19; }

/* Links inside the dark hero read as light text with a gold underline. */
.hero a:not(.btn){ color:var(--on-dark); text-decoration-color:var(--gold-bright); }
.hero a:not(.btn):hover{ color:var(--gold-bright); }

/* ---------- Home hero with a photograph ---------- */
/* The photo fills the right side of the hero and fades into Ink Green under the text. */
.hero--photo{ background:var(--green-deep); min-height:460px; display:flex; align-items:center; }
.hero--photo::before{ display:none; }
.hero--photo .hero-inner{ z-index:2; width:100%; }
.hero-media{ position:absolute; top:0; right:0; bottom:0; width:66%; z-index:0; pointer-events:none; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:60% 62%; display:block; }
.hero-media::after{ content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, #131B19 0%, rgba(19,27,25,.92) 22%, rgba(19,27,25,.5) 50%, rgba(19,27,25,0) 100%),
    linear-gradient(0deg, rgba(19,27,25,.4) 0%, rgba(19,27,25,0) 24%); }
@media (max-width:900px){
  .hero--photo{ display:block; min-height:0; padding-top:0; }
  .hero-media{ position:relative; width:100%; height:210px; }
  .hero-media{ overflow:hidden; }
  .hero-media img{ object-position:55% 62%; transform:scale(1.7); transform-origin:55% 64%; }
  .hero-media::after{ background:linear-gradient(0deg, #131B19 0%, rgba(19,27,25,.5) 40%, rgba(19,27,25,.05) 100%); }
  .hero--photo .hero-inner{ padding-top:1.4rem; }
}

/* Slim banner variant for inner pages: same dark band, photo on the right. */
.hero--banner{ min-height:230px; padding:2.2rem 0 2rem; }
.hero--banner .hero-media{ width:48%; }
.hero--banner .hero-media img{ transform:none; object-position:var(--pos, 50% 50%); }
.hero--banner .hero-media::after{
  background:
    linear-gradient(90deg, #131B19 0%, rgba(19,27,25,.94) 18%, rgba(19,27,25,.6) 48%, rgba(19,27,25,.12) 100%),
    linear-gradient(0deg, rgba(19,27,25,.35) 0%, rgba(19,27,25,0) 30%); }
@media (max-width:900px){
  .hero--banner{ min-height:0; padding-top:0; }
  .hero--banner .hero-media{ position:relative; width:100%; height:170px; overflow:hidden; }
  .hero--banner .hero-media img{ transform:none; object-position:var(--pos-m, var(--pos, 50% 50%)); }
  .hero--banner .hero-media::after{ background:linear-gradient(0deg, #131B19 0%, rgba(19,27,25,.5) 40%, rgba(19,27,25,.05) 100%); }
  .hero--banner .hero-inner{ padding-top:1.2rem; }
}

.card h2, .pillar-card h2, .timeline-body h2, .faq-item h2, .update h2{ text-transform:none; letter-spacing:0; }

/* ---------- Privacy policy ---------- */
.policy-h{ font-size:1.05rem; letter-spacing:.04em; margin:2rem 0 .6rem; }
.policy-list{ max-width:70ch; margin:0 0 1rem; padding-left:1.2rem; }
.policy-list li{ margin-bottom:.5rem; }

/* ---------- Motion: respect the visitor's setting ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
  .btn:hover, a.card:hover, .social-card:hover, .sponsor-logo-card:hover{ transform:none; }
}

/* ---------- Staff page: /admin/metrics/ ---------- */
.card.pad{ padding:1.4rem 1.5rem; margin-bottom:1.4rem; }
.muted{ color:var(--ink-soft); }
.small{ font-size:.85rem; }
.builder{ display:grid; gap:.45rem; max-width:640px; }
.builder label{ font-weight:600; font-size:.85rem; margin-top:.5rem; }
.builder input, .builder select{ font:inherit; padding:.6rem .7rem; border:1px solid var(--line); border-radius:6px; background:var(--surface); color:var(--ink); width:100%; }
.builder-actions{ display:flex; align-items:center; gap:.9rem; margin-top:.6rem; flex-wrap:wrap; }
.table-wrap{ overflow-x:auto; }
.data-table{ border-collapse:collapse; width:100%; font-size:.92rem; }
.data-table th, .data-table td{ text-align:left; padding:.5rem .7rem; border-bottom:1px solid var(--line); vertical-align:top; }
.data-table th{ font-size:.75rem; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-soft); }
.data-table .num{ text-align:right; font-variant-numeric:tabular-nums; }
.metric-tiles{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:.8rem; margin:1.2rem 0; }
.metric-tile{ border:1px solid var(--line); border-radius:var(--radius); padding:.9rem 1rem; background:var(--surface); }
.metric-num{ font-size:1.9rem; font-weight:700; line-height:1.1; }
.metric-label{ font-size:.8rem; color:var(--ink-soft); margin-top:.3rem; }
.report-block{ margin-top:1.6rem; }
.report-block h3{ font-size:1.05rem; margin-bottom:.3rem; }
.day-bars{ display:flex; align-items:flex-end; gap:3px; height:110px; padding:.4rem 0; border-bottom:1px solid var(--line); }
.day-bar{ flex:1; min-width:3px; max-width:26px; background:var(--green); border-radius:2px 2px 0 0; }
