@charset "UTF-8";
/* ==========================================================================
   ASA Alpiners Association — shared stylesheet
   Modern, centered, responsive and print-friendly.
   Palette: archival navy + steel + warm parchment + muted gold
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Masthead & navigation
   6.  Breadcrumbs
   7.  Hero (home) & page heads (inner pages)
   8.  Article / long-form content
   9.  Components (cards, chips, timeline, tables, FAQ, notes, audio…)
   10. Photo & gallery grids
   11. Footer
   12. Utilities & states
   13. Responsive
   14. Print
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --ink: #17222e;
  --ink-soft: #46586c;
  --ink-muted: #6b7a8a;
  --paper: #f5f3ee;
  --paper-deep: #ece8df;
  --card: #ffffff;
  --line: #e2ded4;
  --line-strong: #c9c3b5;

  --navy: #14365c;
  --navy-deep: #0c2340;
  --steel: #2f6f9f;
  --steel-soft: #e7eff7;
  --gold: #a8802f;
  --gold-soft: #f6efdc;
  --ok: #2c6b4a;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --shadow-1: 0 1px 2px rgba(20, 32, 46, .06), 0 6px 18px rgba(20, 32, 46, .06);
  --shadow-2: 0 2px 6px rgba(20, 32, 46, .09), 0 18px 40px rgba(20, 32, 46, .13);

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Charter", "Palatino Linotype", "Times New Roman", serif;

  --wrap: 1120px;
  --wrap-narrow: 780px;
  --gutter: clamp(16px, 4vw, 32px);
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(180deg, #f7f5f0 0%, var(--paper) 220px);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video,
iframe { max-width: 100%; }

img { height: auto; border: 0; display: block; }

:target { scroll-margin-top: 100px; }

::selection { background: #cfe1f3; color: var(--navy-deep); }

/* 3. Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -.005em;
}

h1 { font-size: clamp(1.75rem, 1.6vw + 1.15rem, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1vw + 1rem, 1.85rem); margin-top: 1.9em; }
h3 { font-size: clamp(1.12rem, .5vw + .95rem, 1.34rem); margin-top: 1.6em; }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; margin-top: 1.4em; }
h5 { font-size: .95rem; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

p { margin: 0 0 1.05em; }

a {
  color: #1c5a91;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color .15s ease, background-color .15s ease;
}
a:hover { color: var(--navy-deep); }
a:focus-visible {
  outline: 3px solid #7fb0dd;
  outline-offset: 2px;
  border-radius: 3px;
}

strong, b { font-weight: 700; color: var(--ink); }
em, i { font-style: italic; }

small { font-size: .86em; }
sup { font-size: .68em; line-height: 0; vertical-align: super; }
sub { font-size: .68em; line-height: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .4em; }
li > ul, li > ol { margin-top: .4em; margin-bottom: .2em; }

blockquote {
  margin: 1.4em 0;
  padding: .9em 1.3em;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.02em;
  color: #4a4234;
}
blockquote p:last-child { margin-bottom: 0; }

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
  margin: 2.2em 0;
}

code, kbd, samp, pre {
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

abbr[title] { text-decoration: underline dotted; cursor: help; }

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


/* 5. Masthead & navigation ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  background-image: linear-gradient(150deg, #0b2036 0%, #14365c 62%, #1b4a78 100%);
  color: #eaf1f8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px rgba(10, 24, 40, .22);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #d0ac62 50%, var(--gold) 100%);
}

.masthead {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  padding-block: 14px 12px;
  min-height: 76px;
}

.masthead__mark {
  flex: 0 0 auto;
  width: 46px;
  height: 56px;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.masthead__mark img { width: 100%; height: 100%; object-fit: contain; }

.masthead__text { min-width: 0; flex: 1 1 auto; }

.masthead__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, .5vw + .95rem, 1.45rem);
  line-height: 1.2;
  letter-spacing: .01em;
  color: #fff;
}
.masthead__title a { color: inherit; text-decoration: none; }
.masthead__title a:hover { color: #fff; text-decoration: none; }

.masthead__tagline {
  margin: 3px 0 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a8c2dd;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 9px 15px;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: #eaf1f8;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .16); }
.nav-toggle__bars { display: inline-block; width: 16px; height: 2px; margin-right: 8px; background: currentColor; position: relative; vertical-align: middle; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.site-nav { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 11px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: #c6d8ea;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border-bottom-color: rgba(208, 172, 98, .6);
}
.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}
.site-nav a[aria-current="page"]:hover { background: transparent; }

/* 6. Breadcrumbs --------------------------------------------------------- */
.breadcrumb {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  color: var(--ink-muted);
}
.breadcrumb li { margin: 0; display: flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin: 0 9px;
  color: var(--line-strong);
}
.breadcrumb a { color: #2a5f8f; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); }

/* 7. Hero (home) & page heads ------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #eef4fa;
  background: #0c2340;
  background-image:
    radial-gradient(1100px 460px at 88% -12%, rgba(255, 255, 255, .14), transparent 62%),
    radial-gradient(700px 420px at 4% 110%, rgba(168, 128, 47, .18), transparent 60%),
    linear-gradient(152deg, #0b2036 0%, #14365c 55%, #1d5486 100%);
  padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 68px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 18px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero__eyebrow {
  margin: 0 0 16px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e8c987;
}

.hero h1 {
  color: #fff;
  margin-bottom: .45em;
  max-width: 22ch;
  text-wrap: balance;
}

.hero__lede {
  margin: 0 0 28px;
  max-width: 56ch;
  font-size: clamp(1rem, .45vw + .93rem, 1.12rem);
  line-height: 1.75;
  color: #cfdeee;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__figure {
  margin: 0;
  justify-self: center;
  max-width: 300px;
  width: 100%;
}
.hero__figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .45);
  border: 4px solid rgba(255, 255, 255, .16);
}
.hero__figure figcaption {
  margin-top: 12px;
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
  color: #a9c2da;
}

.page-head {
  background: linear-gradient(180deg, #eef3f9 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(30px, 4.4vw, 52px) clamp(24px, 3.4vw, 40px);
}
.page-head h1 { margin-bottom: .35em; max-width: 34ch; }
.page-head__lede {
  margin: 0;
  max-width: 68ch;
  font-size: 1.04rem;
  color: var(--ink-soft);
}
.page-head__meta {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  color: var(--ink-muted);
}
.page-head__meta li {
  margin: 0;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* 8. Article / long-form content ---------------------------------------- */
.site-main { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); min-height: 48vh; }
.site-main--flush { padding-block: 0; }

.home-body { padding-block: clamp(34px, 4.6vw, 60px) clamp(40px, 5vw, 68px); }
.home-body > * + * { margin-top: clamp(32px, 4.2vw, 54px); }

.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(22px, 4vw, 52px);
}

.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.prose h2 { padding-bottom: .3em; border-bottom: 1px solid var(--line); }
.prose h3 { color: var(--navy); }
.prose > h1 { display: none; } /* page-level h1 lives in .page-head */

.prose img { border-radius: var(--radius-sm); margin: 1.4em auto; }
.prose figure { margin: 1.8em 0; text-align: center; }
.prose figcaption {
  margin-top: .7em;
  font-size: .85rem;
  color: var(--ink-muted);
  font-style: italic;
}

.prose pre {
  margin: 1.4em 0;
  padding: 16px 18px;
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.62;
  color: #253340;
}
.prose code {
  padding: .12em .38em;
  font-size: .88em;
  background: #f0f2f5;
  border: 1px solid #e2e6ea;
  border-radius: 4px;
}
.prose pre code { padding: 0; border: 0; background: none; font-size: 1em; }

.prose blockquote { margin: 1.6em 0; }

.prose .lede {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.article-foot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--ink-muted);
}

/* 9. Components ---------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--steel);
  border: 2px solid var(--steel);
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { color: #fff; background: #24608c; border-color: #24608c; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #21180a; }
.btn--gold:hover { background: #8f6c25; border-color: #8f6c25; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .62); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.btn--outline { background: transparent; color: #1c5a91; border-color: #b9cfe2; }
.btn--outline:hover { background: var(--steel-soft); color: var(--navy); border-color: var(--steel); }

.section { margin-top: clamp(32px, 4vw, 52px); }
.section__head { max-width: 70ch; margin-bottom: 20px; }
.section__head h2 { margin: 0 0 .3em; }
.section__head p { margin: 0; color: var(--ink-soft); }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover,
a.card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: #c3d5e6;
  text-decoration: none;
}
.card__tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 9px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1c5a91;
  background: var(--steel-soft);
  border-radius: 4px;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.35;
}
.card p { margin: 0; font-size: .92rem; line-height: 1.62; color: var(--ink-soft); }
.card__more { margin-top: 14px; font-size: .85rem; font-weight: 700; color: #1c5a91; }

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  margin: 0;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
}
.chips b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--navy);
}
.chips span { font-size: .82rem; line-height: 1.5; color: var(--ink-muted); }

.band {
  margin-top: clamp(32px, 4vw, 52px);
  padding: clamp(24px, 3.6vw, 42px);
  border-radius: var(--radius-lg);
}
.band--navy {
  color: #dce8f5;
  background: linear-gradient(150deg, #0e2843, #17456f 70%, #1d5486);
  box-shadow: var(--shadow-2);
}
.band--navy h2, .band--navy h3 { color: #fff; }
.band--navy a:not(.btn) { color: #d9c48d; }
.band--navy .section__head p { color: #bfd3e6; }
.band--paper {
  background: var(--gold-soft);
  border: 1px solid #e8dcbc;
}

.note {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: var(--gold-soft);
  border: 1px solid #e8dcbc;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: #4a4234;
}
.note h2, .note h3, .note h4 { color: #6d5318; margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

.table-wrap { margin: 1.6em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
table.data caption {
  caption-side: top;
  padding-bottom: .6em;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: left;
}
table.data th, table.data td {
  padding: 9px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
table.data thead th {
  background: #eef3f8;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
table.data tbody tr:nth-child(even) { background: #fafbfc; }

.timeline { margin: 1.8em 0; padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-strong);
}
.timeline > li { position: relative; margin: 0; padding: 0 0 22px 34px; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--steel);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--steel);
}
.band--navy .timeline > li::before { border-color: #14365c; }
.timeline time,
.timeline .t-year {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: .98rem;
}
.timeline p { margin: .15em 0 0; font-size: .94rem; color: var(--ink-soft); line-height: 1.62; }

.faq { margin: 1.6em 0; }
.faq details {
  margin-bottom: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  position: relative;
  padding: 15px 48px 15px 20px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  background: #f7f9fb;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  color: var(--steel);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { background: #eef3f8; }
.faq summary:focus-visible { outline: 3px solid #7fb0dd; outline-offset: -3px; }
.faq__body { padding: 16px 20px 4px; font-size: .95rem; color: var(--ink-soft); }
.faq__body > :last-child { margin-bottom: 1em; }

.audio-block {
  margin: 1.8em 0;
  padding: 20px 22px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.audio-block h2, .audio-block h3 { margin-top: 0; }
.audio-block audio { width: 100%; margin-top: 6px; }
.audio-block__file {
  margin: .8em 0 0;
  font-size: .82rem;
  color: var(--ink-muted);
}

.schedule { margin: 1.8em 0; padding: 0; list-style: none; }
.schedule > li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 6px 22px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.schedule > li:last-child { border-bottom: 0; }
.schedule .s-date {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
}
.schedule .s-body { color: var(--ink-soft); font-size: .95rem; }
.schedule .s-body strong { color: var(--ink); }
.schedule .s-body p:last-child { margin-bottom: 0; }

.contact-list { margin: 1.6em 0; padding: 0; list-style: none; }
.contact-list > li {
  margin: 0 0 14px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-list b { display: block; font-size: .95rem; }
.contact-list span { font-size: .9rem; color: var(--ink-soft); }

/* 10. Photo & gallery grids --------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.8em 0;
  padding: 0;
  list-style: none;
}
.photo-grid li { margin: 0; }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; text-decoration: none; }
.photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  background: #e9edf1;
  transition: transform .2s ease, box-shadow .2s ease;
}
.photo-grid a:hover img { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.photo-grid figcaption {
  margin-top: 8px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 12px;
  margin: 1.8em 0 0;
  padding: 0;
  list-style: none;
}
.gallery-grid li { margin: 0; }
.gallery-grid a { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; line-height: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e6ebf0;
  transition: transform .22s ease, filter .22s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery-grid .tall img { aspect-ratio: 3 / 4; }

.figure--photo { margin: 2em 0; }
.figure--photo img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  background: #eef1f4;
}

.viewer { margin: 0; }
.viewer__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 14px;
  background: #0f1c2b;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}
.viewer__frame img {
  width: auto;
  max-width: 100%;
  max-height: 74vh;
  border-radius: 4px;
  background: #f2f4f6;
}
.viewer figcaption {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--ink-soft);
  text-align: center;
}
.viewer__nav {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.viewer__nav .btn { padding: 10px 20px; font-size: .88rem; }

/* 11. Footer ------------------------------------------------------------ */
.site-footer {
  margin-top: 24px;
  padding-block: clamp(34px, 4.4vw, 52px) 24px;
  background: #0a1a2b;
  background-image: linear-gradient(180deg, #0d2035 0%, #0a1a2b 100%);
  color: #a9bccf;
  font-size: .9rem;
}
.site-footer h2, .site-footer h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffff;
}
.site-footer a { color: #b6cde4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(22px, 3vw, 40px);
}
.footer-about p { margin: 0 0 12px; color: #93a9bf; font-size: .87rem; line-height: 1.65; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #fff;
}
.footer-badge img { width: 28px; height: 34px; padding: 2px; background: #fff; border-radius: 4px; }
.footer-bar {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: .8rem;
  color: #7e93a8;
}

/* 12. Utilities & states ------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1em; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.tag-row li {
  margin: 0;
  padding: 4px 11px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: #2a5f8f;
  background: var(--steel-soft);
  border-radius: 999px;
}
.pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2em; }
.pager a, .pager span {
  padding: 9px 16px;
  font-size: .86rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
}
.pager span { color: var(--ink-muted); }

/* 12b. Rosters, forms and article details ------------------------------ */
.roster {
  columns: 2;
  column-gap: 30px;
  margin: 1.8em 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
}
.roster li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dotted var(--line-strong);
  line-height: 1.45;
}
.roster strong { font-weight: 700; color: var(--ink); }
.roster span { display: block; font-size: .82rem; color: var(--ink-muted); }

.form-block {
  margin: 1.8em 0;
  padding: 22px 24px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel);
  border-radius: var(--radius-sm);
}
.form-block h3 { margin-top: 0; font-size: 1rem; }
.form-block pre {
  margin: .8em 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .84rem;
  overflow-x: auto;
}
.form-fields {
  display: grid;
  grid-template-columns: minmax(170px, 230px) 1fr;
  gap: 10px 20px;
  margin: 1em 0 0;
  font-size: .9rem;
}
.form-fields dt { font-weight: 700; }
.form-fields dd { margin: 0; color: var(--ink-soft); }
.form-note { font-size: .8rem; color: var(--ink-muted); }

.source, .byline, .url { font-size: .88rem; color: var(--ink-muted); font-style: italic; }
.byline { margin-top: -.6em; }

.gallery-grid .missing {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 10px;
  font-size: .72rem;
  line-height: 1.35;
  text-align: center;
  color: var(--ink-muted);
  background: #eef1f4;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* 13. Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { justify-self: start; max-width: 240px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 8px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .masthead { min-height: 68px; padding-block: 12px; }
  .article { padding: 22px 18px 26px; }
  .schedule > li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
  .page-head__meta { font-size: .74rem; }
  .chips { grid-template-columns: 1fr 1fr; }
  .viewer__frame { min-height: 180px; padding: 8px; }
  .roster { columns: 1; }
  .form-fields { grid-template-columns: 1fr; gap: 4px 0; }
  .form-fields dd { margin-bottom: 10px; }
}

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

/* 14. Print ------------------------------------------------------------- */
@media print {
  @page { margin: 16mm; }
  body {
    background: #fff !important;
    color: #000;
    font-size: 11.5pt;
    line-height: 1.5;
  }
  .site-header, .site-nav, .site-footer, .breadcrumb,
  .hero__actions, .skip-link, .pager, .article-foot { display: none !important; }
  .hero, .band--navy {
    background: none !important;
    color: #000 !important;
    padding: 0 0 12pt;
  }
  .hero h1, .band--navy h2, .band--navy h3 { color: #000 !important; }
  .hero__figure { display: none; }
  .article {
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .card, .chips li, .note, .audio-block { box-shadow: none; border: 1px solid #999; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  h1, h2, h3 { page-break-after: avoid; }
  img { page-break-inside: avoid; max-width: 100% !important; }
}

/* 15. Accessibility: skip link (kept last, after print rules) -------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 22px;
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius];
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }
