/* Preston Legion, Branch 126 — site styles */

:root {
  --red: #a6111b;
  --red-strong: #c8102e;
  --red-dark: #6e0a11;
  --gold: #a88b5c;
  --gold-dark: #74592f;
  --ink: #1d1b19;
  --ink-soft: #3b3733;
  --muted: #5d5751;
  --paper: #faf7f2;
  --paper-2: #f3eee5;
  --surface: #ffffff;
  --line: #e4dccf;
  --focus: #1a5fb4;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(29, 27, 25, .06), 0 4px 16px rgba(29, 27, 25, .06);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: .25em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 780px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); margin: 0 0 .75rem; }
.lede { font-size: 1.25rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em; border-radius: var(--radius);
  font: 600 1.02rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--red-dark); }
.btn-light:hover { background: var(--paper-2); color: var(--red-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " →"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Utility bar ---------- */
.utility { background: var(--ink); color: #e9e4dc; font-size: .93rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility-links { display: flex; gap: 20px; align-items: center; flex: none; }
.utility-links a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.open-status { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.open-status .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1180px) { .utility .hide-md { display: none; } }
.open-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9a948c; flex: none; }
.open-status.is-open .dot { background: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,.25); }
@media (max-width: 640px) { .utility .hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 62px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav li + li { margin: 0; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 1.02rem; text-decoration: none; border-radius: var(--radius); position: relative; }
.nav a:hover { color: var(--red); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--red); border-radius: 2px; }
.nav .nav-cta a { background: var(--red); color: #fff; padding-inline: 18px; margin-left: 8px; }
.nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: var(--radius); min-height: 46px; padding: 0 14px; font: 600 1rem var(--sans); color: var(--ink); cursor: pointer; align-items: center; gap: 10px; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.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 { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + 1px) 0 0 0; background: #fff; overflow-y: auto; padding: 12px 20px 40px; display: none; margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 16px 8px; font-size: 1.2rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 4px; height: auto; }
  .nav .nav-cta a { margin: 20px 0 0; text-align: center; border-radius: var(--radius); border: 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,16,14,.88) 0%, rgba(20,16,14,.7) 45%, rgba(20,16,14,.25) 100%); }
.hero .wrap { padding-block: clamp(72px, 10vw, 140px); }
.hero-content { max-width: 640px; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #e6cfa3; }
.hero p { font-size: 1.22rem; color: #f1ece4; }
.hero .btn-row { margin-top: 28px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--red) url("../img/full/6e3ad162-legion-website-header.webp") center / 640px auto repeat; color: #fff; }
.page-head .wrap { padding-block: clamp(40px, 6vw, 72px); }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { margin: .6em 0 0; font-size: 1.2rem; color: #fbeeee; max-width: 720px; }
.breadcrumb { font-size: .92rem; margin-bottom: 10px; }
.breadcrumb a { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 .4em; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.section-alt { background: var(--paper-2); }
.section-white { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4em 0 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1.1fr .9fr; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card > :last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; padding: 0; transition: transform .15s, box-shadow .15s; }
.card-link:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 10px 28px rgba(0,0,0,.1); }
.card-link .card-media { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.card-link .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-link .card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-link .card-body h3 { margin: 0; }
.card-link .card-body p { margin: 0; color: var(--muted); }
.card-link .card-body .text-link { margin-top: auto; padding-top: 10px; color: var(--red); }
.card-accent { border-top: 4px solid var(--red); }

/* ---------- Info strip ---------- */
.info-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.info-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-item { padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-item svg { flex: none; color: var(--red); margin-top: 3px; }
.info-item strong { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-item span, .info-item a { font-size: 1.08rem; }
@media (max-width: 820px) { .info-strip .wrap { grid-template-columns: 1fr; padding: 0; } .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Tabs ---------- */
.tabs-bar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 20; }
.tablist { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tablist::-webkit-scrollbar { display: none; }
.tab { flex: none; appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 18px 13px; font: 600 1.05rem var(--sans); color: var(--muted); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.js .tabpanel[hidden] { display: none; }
.no-js .tabs-bar { display: none; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 20px; }
.event { display: grid; grid-template-columns: 96px 1fr 220px; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); align-items: start; }
.event-date { text-align: center; border: 2px solid var(--red); border-radius: var(--radius); padding: 8px 4px 10px; line-height: 1; }
.event-date .m { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--red); }
.event-date .d { display: block; font: 600 2.4rem/1 var(--serif); margin-top: 4px; }
.event-date .w { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.event h3 { margin-bottom: .25em; }
.event-meta { list-style: none; padding: 0; margin: 0 0 12px; color: var(--muted); font-size: 1rem; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.event-meta li + li { margin: 0; }
.event-body > :last-child { margin-bottom: 0; }
.event-media img { border-radius: 4px; width: 100%; height: auto; max-height: 280px; object-fit: contain; background: var(--paper-2); }
.event-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: .98rem; }
.event-source { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: 10px; }
.event.is-past-hidden { display: none; }
@media (max-width: 900px) { .event { grid-template-columns: 80px 1fr; } .event-media { grid-column: 1 / -1; } .event-media img { max-height: 360px; } }
@media (max-width: 520px) { .event { grid-template-columns: 1fr; } .event > .event-date { display: flex; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 8px 12px; width: fit-content; } .event > .event-date .d { font-size: 1.4rem; margin: 0; } .event > .event-date .w { margin: 0; } }

.compact-events { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compact-events li { margin: 0; display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.compact-events .event-date { flex: none; width: 64px; padding: 6px 2px 8px; }
.compact-events .event-date .d { font-size: 1.7rem; }
.compact-events h3 { font-size: 1.15rem; margin: 0; }
.compact-events p { margin: 0; color: var(--muted); font-size: 1rem; }

.schedule { list-style: none; padding: 0; margin: 0; }
.schedule li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.schedule li:first-child { border-top: 1px solid var(--line); }
.schedule .when { font-weight: 700; color: var(--red); }
.schedule h3 { font-size: 1.15rem; margin: 0 0 .15em; font-family: var(--sans); font-weight: 700; }
.schedule p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 520px) { .schedule li { grid-template-columns: 1fr; gap: 2px; } }

.archive details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.archive summary { cursor: pointer; padding: 16px 20px; font: 600 1.25rem var(--serif); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary::after { content: "+"; font: 400 1.6rem var(--sans); color: var(--red); }
.archive details[open] summary::after { content: "–"; }
.archive summary .count { font: 400 1rem var(--sans); color: var(--muted); margin-left: auto; margin-right: 16px; }
.archive .archive-body { padding: 0 20px 20px; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li { border-top: 1px solid var(--line); margin: 0; }
.archive-list details { border: 0; margin: 0; border-radius: 0; }
.archive-list summary { font: 400 1.05rem var(--sans); padding: 12px 0; gap: 16px; justify-content: flex-start; }
.archive-list summary time { color: var(--muted); min-width: 120px; font-size: .98rem; }
.archive-list summary::after { font-size: 1.3rem; margin-left: auto; }
.archive-list .archive-detail { padding: 0 0 16px; display: grid; grid-template-columns: 1fr 200px; gap: 20px; }
.archive-list .archive-detail img { border-radius: 4px; }
@media (max-width: 640px) { .archive-list .archive-detail { grid-template-columns: 1fr; } .archive-list summary time { min-width: 0; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.person { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 20px 22px; }
.person h3 { font-size: 1.3rem; margin: 0 0 .2em; }
.person .role { color: var(--gold-dark); font-weight: 600; font-size: .98rem; margin: 0 0 12px; line-height: 1.4; }
.person ul { list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.person li { display: flex; gap: 8px; align-items: center; margin: 4px 0 0; word-break: break-word; }
.person svg { flex: none; color: var(--muted); }

.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { cursor: pointer; padding: 18px 40px 18px 0; font: 600 1.2rem var(--serif); list-style: none; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.7rem var(--sans); color: var(--red); }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 0 20px; }
.accordion .acc-body h4 { font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1em 0 .4em; }

.veteran { display: grid; grid-template-columns: 300px 1fr; gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.veteran img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.veteran .v-body { padding: 28px 28px 28px 0; }
.veteran h3 { font-size: 1.8rem; }
.veteran h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--gold-dark); margin-top: 1.2em; }
@media (max-width: 760px) { .veteran { grid-template-columns: 1fr; gap: 0; } .veteran img { min-height: 0; aspect-ratio: 4/3; } .veteran .v-body { padding: 24px; } }

/* ---------- Remembrance ---------- */
.ode { background: var(--ink); color: #f1ece4; text-align: center; }
.ode .wrap { padding-block: clamp(56px, 8vw, 96px); }
.ode blockquote { margin: 0 auto; max-width: 720px; font: italic 400 clamp(1.3rem, 1rem + 1.2vw, 1.75rem)/1.6 var(--serif); }
.ode blockquote p { margin: 0; }
.ode .refrain { display: block; margin-top: 1.4rem; font-style: normal; font-family: var(--sans); font-weight: 700; letter-spacing: .25em; text-transform: uppercase; font-size: 1rem; color: #e6cfa3; }
.poppy-mark { width: 44px; height: 44px; margin: 0 auto 24px; }

.names-intro { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.names { columns: 3 220px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.names li { break-inside: avoid; padding: 7px 0; border-bottom: 1px dotted var(--line); margin: 0; font-family: var(--serif); font-size: 1.12rem; }
.war { margin-bottom: 48px; }
.war-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.war-head h3 { margin: 0; font-size: 1.6rem; }
.war-head span { color: var(--muted); }
.memoriam { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); text-align: center; }
.memoriam .names { text-align: left; }
.memoriam .poppy-mark { margin-bottom: 16px; }

.ways { counter-reset: way; }
.way { display: flex; flex-direction: column; }
.way .btn { margin-top: auto; align-self: flex-start; }
.stat { font: 600 clamp(2.4rem, 2rem + 2vw, 3.4rem)/1 var(--serif); color: var(--red); margin: 0 0 .2em; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 1rem; }

.callout { background: #fff6e5; border: 1px solid #ecd9b0; border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; }
.callout > :last-child { margin-bottom: 0; }
.callout-red { background: #fdf1f1; border-color: #f0cfcf; border-left-color: var(--red); }

/* ---------- Centenary band ---------- */
.centenary { background: var(--surface); border-block: 1px solid var(--line); }
.centenary .badge { font: 600 clamp(4rem, 3rem + 5vw, 7rem)/1 var(--serif); color: var(--gold); letter-spacing: -.02em; }
.centenary .years { font-weight: 700; letter-spacing: .3em; color: var(--gold-dark); }

/* ---------- Join band ---------- */
.join-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.join-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.join-band .join-copy { padding: clamp(40px, 6vw, 80px) 20px clamp(40px, 6vw, 80px) max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); }
.join-band h2 { color: #fff; }
.join-band p { color: #fbeeee; font-size: 1.15rem; }
.join-band .join-media img { width: 100%; height: 100%; object-fit: cover; }
.join-band.full .wrap { max-width: none; }
@media (max-width: 860px) { .join-band .wrap { grid-template-columns: 1fr; } .join-band .join-media { order: -1; max-height: 300px; overflow: hidden; } .join-band .join-copy { padding: 40px 20px; } }

/* ---------- Galleries ---------- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.album .card-media { aspect-ratio: 4 / 3; }
.album .count { font-size: .95rem; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); gap: 10px; }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.photo-grid a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,10,9,.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .95rem; }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---------- Newsletter ---------- */
.issue-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.issue { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.issue:hover { border-color: var(--red); color: var(--ink); box-shadow: var(--shadow); }
.issue .torch { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); color: var(--red); display: grid; place-items: center; }
.issue strong { display: block; font: 600 1.25rem var(--serif); }
.issue span { color: var(--muted); font-size: .95rem; }
.issue-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .issue-list-2 { grid-template-columns: 1fr; } }
.issue.is-latest { border-color: var(--red); border-width: 2px; }

.article { background: var(--surface); }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .98rem; }
.toc h2 { font: 700 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--ink-soft); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; }
.toc a:hover { color: var(--red); border-left-color: var(--red); }
@media (max-width: 920px) { .article-layout { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; } .toc ol { columns: 2 200px; } }
.prose { max-width: 720px; }
.prose h3 { font-size: 1.55rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.prose h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 + p { color: var(--muted); font-size: 1rem; }
.prose h4 { margin-top: 1.5em; }
.prose img { border-radius: 4px; margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; font-size: 1rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.issue-figures { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 40px; }
.issue-figures a { display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper); }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; flex-wrap: wrap; }
.pager a { text-decoration: none; font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field .hint { display: block; font-weight: 400; font-size: .95rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff;
  border: 1.5px solid #cbc2b5; border-radius: var(--radius); padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(26,95,180,.35); border-color: var(--focus); }
.form-note { font-size: .95rem; color: var(--muted); margin: 0; }
.form-status { padding: 14px 18px; border-radius: var(--radius); display: none; }
.form-status.is-ok { display: block; background: #edf7ed; border: 1px solid #b7dfb9; }
.form-status.is-err { display: block; background: #fdf1f1; border: 1px solid #f0cfcf; }

/* ---------- Contact ---------- */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); font-weight: 700; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; display: flex; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; }
.contact-list li span { color: var(--muted); }
.contact-list a { word-break: break-word; font-weight: 600; }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); background: var(--paper-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d3ca; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 700 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e6cfa3; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer address { font-style: normal; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; }
.footer-logo img { height: 48px; width: auto; }
.footer-bottom { border-top: 1px solid #3a3632; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .92rem; color: #aaa298; }
.footer-bottom .lwf { font-family: var(--serif); font-style: italic; color: #e6cfa3; font-size: 1.05rem; }

/* ---------- Notices, meetings, sign-up ---------- */
.stack { display: grid; gap: 20px; align-content: start; }
.notice-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.notice { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.section-white .notice { background: var(--paper); }
.notice time { font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.notice h3 { font-size: 1.25rem; margin: .3em 0 .35em; }
.notice p { margin-bottom: .6em; }
.notice .text-link { margin-top: auto; }
.notice.is-past-hidden { display: none; }
.notice-img { display: block; margin: -20px -22px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--paper-2); }
.notice-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.meeting-card .eyebrow { margin-bottom: .3rem; }
.meeting-date { font: 600 1.35rem/1.3 var(--serif); color: var(--red); margin-bottom: .5em; }
.signup { display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ink); color: #f1ece4; border-radius: var(--radius); padding: 24px 28px; }
.signup h3 { color: #fff; margin-bottom: .2em; }
.signup p { margin: 0; color: #d9d3ca; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin: 0 0 8px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 6px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }

/* ---------- Veteran help ---------- */
.help-band { background: #23324a; color: #fff; }
.help-band .wrap { display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 36px; }
.help-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: .3em; }
.help-band p { margin: 0; color: #dbe3ef; max-width: 640px; }
.urgent { background: #fdf1f1; border: 2px solid var(--red); border-radius: var(--radius); padding: 22px 24px; }
.urgent h3 { color: var(--red-dark); }
.urgent .contact-list a { font-size: 1.15rem; white-space: nowrap; }
.urgent .contact-list span { color: var(--ink-soft); flex: 1 1 200px; }

/* ---------- Steps & timeline ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.steps li { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font: 600 1.2rem var(--serif); margin-bottom: 12px; }
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline li { position: relative; margin: 0 0 28px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); }
.timeline .tl-when { display: block; font-weight: 700; color: var(--gold-dark); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.timeline h3 { font-size: 1.25rem; margin: .2em 0 .3em; }
.timeline p { margin: 0; color: var(--ink-soft); }
.timeline-compact li { margin-bottom: 18px; }
.timeline-compact p { font-size: 1rem; }

/* ---------- Events extras ---------- */
.tickets { font-size: 1rem; background: var(--paper-2); border-radius: var(--radius); padding: 8px 12px; display: inline-block; }
.calendars { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .calendars { grid-template-columns: 1fr; } }
.cal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cal { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; font-weight: 600; }
.cal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.cal span { display: flex; gap: 8px; align-items: center; padding: 12px 14px; }
.schedule-wide li { grid-template-columns: 210px 1fr; }
@media (max-width: 520px) { .schedule-wide li { grid-template-columns: 1fr; } }

/* ---------- Next 100 ---------- */
.progress { height: 16px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin: 12px 0 8px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-strong)); }
.video { position: relative; aspect-ratio: 16 / 9; margin-top: 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.sponsor { display: grid; place-items: center; min-height: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); text-align: center; }
.sponsor img { max-height: 70px; width: auto; }

/* ---------- Print ---------- */
@media print {
  .utility, .site-header, .tabs-bar, .site-footer, .btn, .lightbox, .toc { display: none !important; }
  .js .tabpanel[hidden] { display: block !important; }
  body { background: #fff; font-size: 12pt; }
  .page-head { background: none; color: #000; }
  .page-head h1, .page-head p { color: #000; }
  a { color: #000; }
}

/* ---------- Touch & readability (phones, tablets, older eyes) ---------- */
.eyebrow { font-size: .9rem; }
.event-date .m { font-size: .9rem; }
.event-date .w { font-size: .88rem; }
.text-link, .pager a, .toc a, .person li a, .event-actions a, .section-head > a { display: inline-flex; align-items: center; min-height: 44px; }
.toc a { display: flex; }
.person li { min-height: 44px; }
.btn { min-height: 52px; }
@media (hover: none) and (pointer: coarse) {
  .nav a { min-height: 56px; display: flex; align-items: center; }
  .tab { padding-block: 18px 15px; }
  .contact-list li a, .footer-grid a, .archive-list summary { min-height: 44px; display: inline-flex; align-items: center; }
  .photo-grid { gap: 8px; }
  .lightbox button { width: 60px; height: 60px; }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .section { padding-block: 44px; }
  .card { padding: 20px; }
  .hero .wrap { padding-block: 56px 64px; }
  .hero p { font-size: 1.12rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 20px; }
  .page-head p { font-size: 1.1rem; }
  .event { padding: 18px; gap: 14px; }
  .signup .btn { width: 100%; }
  .help-band .btn-row { width: 100%; }
  .utility .wrap { gap: 10px; }
  .utility-links { gap: 14px; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  .utility { font-size: .85rem; }
  .brand img { height: 40px; }
  .menu-toggle { padding: 0 10px; }
}
.nav-mobile-only { display: none; }
@media (max-width: 1060px) { .nav .nav-mobile-only { display: block; } .nav .nav-mobile-only a { color: var(--red); } }
@media (max-width: 640px) { .hide-sm-inline { display: none; } }
@media (max-width: 1060px) {
  .nav { position: absolute; inset: auto 0 auto 0; top: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav .nav-cta a { justify-content: center; }
}

/* ---------- Blog ---------- */
.post-card time { font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.post-cover { margin: 0 0 32px; }
.post-cover img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.post-body { font-size: 1.15rem; }
.post-body h2 { font-size: 1.6rem; margin-top: 1.6em; }
.post-body h3 { border: 0; padding: 0; margin-top: 1.4em; font-size: 1.3rem; }
.post-body ul, .post-body ol { margin-bottom: 1.2em; }
.post-photos-title { margin-top: 48px; font-size: 1.5rem; }

/* ---------------------------------------------------------------- online booking (/book/) */
.btn-lg { min-height: 56px; font-size: 1.12rem; padding-inline: 1.6em; }
.bk-wrap { max-width: 960px; }
.bk-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.bk-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); margin: 0; }
.bk-step h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.bk-step h2 .n { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.1rem var(--sans); }
.bk-items { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.bk-item { display: flex; gap: 14px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; font: inherit; color: inherit; cursor: pointer; }
.bk-item:hover { border-color: var(--gold); }
.bk-item[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(166,17,27,.15); }
.bk-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; flex: none; }
.bk-item-body { display: grid; gap: 4px; }
.bk-item-body strong { font: 600 1.2rem var(--serif); }
.bk-item-body > span { color: var(--muted); }
.bk-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-facts span { font-size: .9rem; background: var(--paper-2); border-radius: 99px; padding: 2px 10px; color: var(--ink-soft); }
.bk-for { font-size: 1.1rem; margin-bottom: .3em; }
.bk-picker { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
@media (max-width: 820px) { .bk-picker { grid-template-columns: 1fr; } }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.bk-cal-head h3 { margin: 0; font-size: 1.35rem; text-align: center; }
.bk-nav { min-height: 48px; min-width: 48px; padding: 0 14px; border: 2px solid var(--line); background: #fff; border-radius: var(--radius); font: 700 1.05rem var(--sans); color: var(--ink); cursor: pointer; }
.bk-nav:hover:not([disabled]) { border-color: var(--red); color: var(--red); }
.bk-nav[disabled] { opacity: .35; cursor: default; }
@media (max-width: 420px) { .hide-xs { display: none; } }
.bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-dow { text-align: center; font-size: .85rem; font-weight: 700; color: var(--muted); padding: 4px 0; text-transform: uppercase; letter-spacing: .05em; }
.bk-day { aspect-ratio: 1; min-height: 42px; display: grid; place-items: center; border-radius: var(--radius); font: 600 1.05rem var(--sans); border: 2px solid transparent; background: var(--paper-2); color: #9a928a; position: relative; padding: 0; }
.bk-day.blank { background: none; }
button.bk-day { cursor: pointer; color: var(--ink); }
.bk-day.free { background: #e4f2e4; border-color: #b7dfb9; }
.bk-day.part { background: #fdf2d9; border-color: #ecd49b; }
.bk-day.full { background: #f3e1e1; color: #8a6d6d; text-decoration: line-through; }
.bk-day.closed, .bk-day.soon, .bk-day.far, .bk-day.past { background: var(--paper-2); color: #a59d94; }
.bk-day.today::after { content: ""; position: absolute; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
button.bk-day:hover { border-color: var(--ink-soft); }
.bk-day.sel { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
.bk-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; font-size: .95rem; color: var(--muted); }
.bk-legend li { display: flex; align-items: center; gap: 8px; margin: 0; }
.bk-legend .sw { width: 18px; height: 18px; border-radius: 4px; border: 2px solid; }
.sw.free { background: #e4f2e4; border-color: #b7dfb9; } .sw.part { background: #fdf2d9; border-color: #ecd49b; } .sw.full { background: #f3e1e1; border-color: #f3e1e1; }
.bk-times { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.bk-times h3 { font-size: 1.25rem; }
.bk-times .form-row { grid-template-columns: 1fr 1fr; }
@media (max-width: 380px) { .bk-times .form-row { grid-template-columns: 1fr; } }
.bk-booked { font-size: .97rem; background: #fff; border-left: 4px solid #ecd49b; padding: 8px 12px; border-radius: 4px; }
.bk-chosen { background: #e4f2e4; border: 1px solid #b7dfb9; padding: 12px 16px; border-radius: var(--radius); font-size: 1.08rem; }
.bk-terms { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.bk-terms h3 { font: 700 .9rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bk-terms p { margin: 0 0 .5em; }
.bk-check { display: flex; gap: 12px; align-items: center; font-weight: 600; min-height: 48px; cursor: pointer; }
.bk-check input { width: 24px; height: 24px; flex: none; }
.bk-alert { padding: 14px 18px; border-radius: var(--radius); margin: 0 0 16px; }
.bk-alert.err { background: #fdf1f1; border: 1px solid #f0cfcf; }
.bk-alert.ok { background: #edf7ed; border: 1px solid #b7dfb9; }
.bk-alert.info { background: #eef4fc; border: 1px solid #bcd0ee; }
.bk-error:empty { display: none; }
.bk-done, .bk-manage { border-top: 5px solid var(--red); }
.bk-done:focus { outline: none; }
.bk-panel { margin-top: 24px; }
.bk-panel .bk-picker { margin-bottom: 18px; }
.bk-status { display: inline-block; font-weight: 700; padding: 4px 12px; border-radius: 99px; background: var(--paper-2); }
.bk-status.confirmed { background: #e4f2e4; color: #1e5b22; }
.bk-status.pending { background: #fdf2d9; color: #6b4e0f; }
.bk-status.declined, .bk-status.cancelled { background: #f3e1e1; color: #8a2525; }
.btn.bk-danger { color: #a3261b; }
.btn.bk-danger:hover { background: #a3261b; border-color: #a3261b; color: #fff; }
.btn.bk-danger-fill { background: #a3261b; }
.bk-cta p:last-child { margin-bottom: 0; }
.bk-loading { padding: 24px 0; }
