/* ════════════════════════════════════════════════════════════
   BURKBURNETT LODGE No. 1027, A.F. & A.M.
   Shares the "Heritage Editorial" type system with the 88th
   District site; distinct palette (oxblood accent) and layout.
   ════════════════════════════════════════════════════════════ */

:root {
  --navy: #16233d;
  --navy-deep: #0d1728;
  --navy-light: #26375c;
  --oxblood: #7b2231;
  --oxblood-bright: #a03444;
  --gold: #b8964b;
  --gold-bright: #d4af6a;
  --gold-deep: #8a7038;
  --cream: #f8f5ee;
  --cream-deep: #f0ebdf;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4f4f4f;
  --ink-faint: #666666;
  --rule: #d9d3c3;
  --shadow: 0 1px 3px rgba(22, 35, 61, 0.08), 0 8px 24px rgba(22, 35, 61, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--oxblood); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}

/* ───── UTILITY BAR ───── */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 9px 0;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-bar a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s;
}
.utility-bar a:hover { color: var(--paper); }

/* ───── HEADER ───── */
.site-header {
  background: var(--navy);
  color: var(--paper);
  padding: 0;
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-deep);
}

.site-header > .container {
  padding-top: 30px;
  padding-bottom: 30px;
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.header-emblem {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-emblem img { width: 100%; height: 100%; object-fit: contain; }

.header-text { text-align: center; }
.header-text .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 5px;
}
.header-text h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1.08;
}
.header-text h1 a { color: inherit; text-decoration: none; }
.header-text .subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
}

.header-meta {
  text-align: right;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ───── NAV ───── */
.primary-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(22, 35, 61, 0.05);
}
.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 15px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-list a:hover { color: var(--oxblood); }
.nav-list a.active {
  color: var(--oxblood);
  border-bottom-color: var(--oxblood);
  font-weight: 600;
}

/* The drawer chrome only exists below the nav breakpoint, and only when
   js/nav.js has run. See the drawer block in RESPONSIVE. */
.nav-bar,
.nav-panel-head,
.nav-scrim { display: none; }

/* ───── ORNAMENT ───── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0;
}
.ornament .line {
  height: 1px;
  width: 64px;
  background: var(--gold);
  opacity: 0.75;
}
.ornament .diamond {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ───── HERO ───── */
.hero {
  background:
    linear-gradient(rgba(13, 23, 40, 0.86), rgba(13, 23, 40, 0.92)),
    url('images/lodge-building.jpg') center/cover no-repeat;
  color: var(--paper);
  padding: 96px 0 88px;
  text-align: center;
}
/* The Lodge crest. Sized well below its 560px source so the fine work in the
   banner and derrick survives on a 2x screen. */
.hero-crest {
  width: 210px;
  height: auto;
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5));
}
.hero .eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hero h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  line-height: 1.08;
  margin-top: 14px;
}
.hero .lodge-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  margin-top: 10px;
}
.hero .lede {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ───── PAGE HERO (interior) ───── */
.page-hero {
  background: var(--navy);
  color: var(--paper);
  padding: 62px 0 56px;
  text-align: center;
}
.page-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.page-hero h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin-top: 12px;
}
.page-hero .lede {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

/* ───── BUTTONS ───── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }

.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--oxblood);
  color: var(--paper);
  border-color: var(--oxblood);
}
.btn-dark:hover { background: var(--oxblood-bright); border-color: var(--oxblood-bright); }

/* ───── BLOCKS ───── */
.block { padding: 72px 0; }
.block.alt { background: var(--paper); }
.block.deep { background: var(--cream-deep); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 10px;
}
.section-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}
.section-head p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--ink-soft);
}

.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}
.page-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 44px 0 16px;
}
.page-content h3 .eyebrow {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 8px;
}
.page-content h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 30px 0 10px;
}
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 18px 22px; }
.page-content li { margin-bottom: 8px; }
.page-content > *:first-child { margin-top: 0; }
.page-content p.spaced { margin-top: 28px; }

.lede-para {
  font-size: 1.13rem;
  color: var(--ink-soft);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}

/* ───── CARDS ───── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.block.alt .card { background: var(--cream); }
.card .card-icon {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.card p { color: var(--ink-soft); margin-bottom: 14px; }
.card .card-link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; }

/* ───── INFO CARD (meeting details) ───── */
.info-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 30px 0;
}
.info-item {
  background: var(--paper);
  padding: 24px 22px;
}
.block.alt .info-item { background: var(--cream); }
.info-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 8px;
}
.info-item .value {
  font-size: 1rem;
  line-height: 1.5;
}
.info-item .value strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
}
.info-item .value a { word-break: break-word; }

/* ───── OFFICER TABLE ───── */
.officer-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.officer-table th {
  background: var(--navy);
  color: var(--paper);
  text-align: left;
  padding: 14px 20px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.officer-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--rule);
}
.officer-table tbody tr:last-child td { border-bottom: none; }
.officer-table tbody tr:nth-child(even) { background: var(--cream); }
.officer-table td:first-child {
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.officer-table td:last-child {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ───── PHOTOS ───── */
.photo-frame {
  border: 1px solid var(--rule);
  padding: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: auto; }

.lodge-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.gallery-item figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 10px;
}

figure figcaption {
  text-align: center;
  font-style: italic;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ───── NEWS / EVENTS ───── */
.event-list { display: grid; gap: 20px; }
.event {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  align-items: start;
}
.block.alt .event { background: var(--cream); }
.event-date {
  text-align: center;
  border-right: 1px solid var(--rule);
  padding-right: 18px;
}
.event-date .month {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 600;
}
.event-date .day {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.05;
}
.event-date .year {
  font-size: 0.74rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.event-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.event-body .event-meta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.event-body p { color: var(--ink-soft); margin: 0; }

/* ───── EVENT RECAPS ─────
   A recap is a past event with a story and photographs, on news.html.
   Stacked newest first; the rule between them is the separator, so the
   first one carries none. */
.recap {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding-top: 34px;
}
.recap:first-of-type { border-top: 0; margin-top: 26px; padding-top: 0; }

.recap-date {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 600;
  margin-bottom: 8px;
}
.recap h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 14px;
}
.recap p { margin-bottom: 16px; }

.recap-lead { margin: 26px 0 16px; }

.recap-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.recap-gallery .photo-frame { padding: 6px; }

/* js/lightbox.js wraps each recap photograph in this button at runtime, so
   the control only exists where it does something. */
.photo-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: zoom-in;
}

/* ───── LIGHTBOX ─────
   Built by js/lightbox.js and appended to <body>. No inline styles anywhere:
   style-src carries no 'unsafe-inline'. */
.lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(13, 23, 40, 0.93);
  z-index: 200;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }

.lightbox-figure {
  margin: 0;
  max-width: 1100px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border: 3px solid var(--gold);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  max-width: 720px;
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}
.lightbox-count {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

/* Previous / next. Chevrons are drawn from borders rather than set in a
   glyph, so they do not depend on a webfont having loaded. */
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 23, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lightbox-nav:hover {
  background: rgba(13, 23, 40, 0.85);
  border-color: var(--gold);
  color: var(--gold-bright);
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-chevron {
  width: 15px;
  height: 15px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.lightbox-prev .lightbox-chevron { transform: rotate(45deg); margin-left: 5px; }
.lightbox-next .lightbox-chevron { transform: rotate(-135deg); margin-right: 5px; }
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 2.3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.lightbox-close:hover { color: var(--paper); }

body.lightbox-open { overflow: hidden; }

@media (max-width: 760px) {
  /* Room down the sides for the arrows, which sit inside the padding. */
  .lightbox { padding: 16px 12px 20px; }
  .lightbox-img { max-height: 64vh; }
  .lightbox-nav {
    width: 46px;
    height: 46px;
    margin-top: -23px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-figure { max-width: calc(100% - 8px); }
}

/* ───── PULL QUOTE ───── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 26px;
  margin: 32px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--navy);
}
.pull-quote cite {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 12px;
}

/* ───── STEPS ───── */
.step-list { counter-reset: step; list-style: none; margin: 30px 0 0; padding: 0; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 62px;
  margin-bottom: 30px;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
}
.step-list h4 { margin: 6px 0 6px; }
.step-list p { color: var(--ink-soft); margin: 0; }

/* ───── CTA BAND ───── */
.cta-band {
  background: var(--navy-deep);
  color: var(--paper);
  padding: 68px 0;
  text-align: center;
}
.cta-band h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}
.cta-band p {
  max-width: 600px;
  margin: 14px auto 28px;
  color: rgba(255, 255, 255, 0.82);
}

/* ───── FORM ───── */
.form-wrap {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 34px;
  box-shadow: var(--shadow);
  margin-top: 10px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--rule);
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  outline: none;
  background: var(--paper);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-note {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-top: 14px;
}
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 0.94rem;
  display: none;
}
.form-status.ok { display: block; background: #edf6ed; border-left: 3px solid #2f7a3d; }
.form-status.err { display: block; background: #fbeced; border-left: 3px solid var(--oxblood); }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ───── SPLIT ───── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.split h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.split .eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 10px;
}
.split p { color: var(--ink-soft); margin-bottom: 16px; }

/* ───── MAP ───── */
.map-frame {
  border: 1px solid var(--rule);
  padding: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* ───── FOOTER ───── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--paper);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 24px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin-bottom: 5px; }
.credit-link { color: var(--gold-bright); text-decoration: underline; }
.credit-link:hover { color: var(--paper); }

/* ───── RESPONSIVE ───── */

/* ── Mobile nav drawer ──
   Below 980px the eight-item bar no longer fits on one line, so it becomes a
   slide-out panel. Everything here is scoped to html.js: with JavaScript off
   the toggle stays hidden and the fallback further down turns the list back
   into a scrolling strip, so the links are never unreachable. */
@media (max-width: 980px) {
  .js .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 0 32px;
  }
  .js .nav-bar-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.01em;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 13px 4px 13px 14px;
    min-height: 48px;
    background: none;
    border: 0;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
  }
  .js .nav-toggle:hover { color: var(--oxblood); }

  .js .nav-toggle-icon {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: background-color 0.2s;
  }
  .js .nav-toggle-icon::before,
  .js .nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease;
  }
  .js .nav-toggle-icon::before { top: -7px; }
  .js .nav-toggle-icon::after { top: 7px; }

  .js .primary-nav.is-open .nav-toggle-icon { background: transparent; }
  .js .primary-nav.is-open .nav-toggle-icon::before { transform: translateY(7px) rotate(45deg); }
  .js .primary-nav.is-open .nav-toggle-icon::after { transform: translateY(-7px) rotate(-45deg); }

  .js .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(13, 23, 40, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
    z-index: 110;
  }
  .js .primary-nav.is-open .nav-scrim {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.28s ease;
  }

  .js .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(330px, 84vw);
    display: flex;
    flex-direction: column;
    background: var(--navy-deep);
    border-left: 3px solid var(--gold);
    box-shadow: -14px 0 44px rgba(13, 23, 40, 0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(103%);
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.28s;
    z-index: 120;
  }
  .js .primary-nav.is-open .nav-panel {
    transform: none;
    visibility: visible;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .js .nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 8px 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }
  .js .nav-panel-head span {
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-bright);
  }
  .js .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
  }
  .js .nav-close:hover { color: var(--paper); }

  .js .nav-list {
    display: block;
    padding: 8px 0 32px;
  }
  .js .nav-list a {
    padding: 15px 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid transparent;
  }
  .js .nav-list li:last-child a { border-bottom: 0; }
  .js .nav-list a:hover { color: var(--gold-bright); background: rgba(255, 255, 255, 0.05); }
  .js .nav-list a.active {
    color: var(--gold-bright);
    border-left-color: var(--gold);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 60px; }

  .container { padding: 0 20px; }
  .page-content { padding: 0 20px; }

  .header-grid { grid-template-columns: auto 1fr; gap: 16px; }
  .header-text { text-align: left; }
  .header-meta { display: none; }
  .header-emblem { width: 48px; height: 48px; }
  .header-text h1 { font-size: 1.45rem; }

  .utility-bar { font-size: 0.68rem; }
  .utility-bar .container { justify-content: center; text-align: center; }

  .js .nav-bar { padding: 0 12px 0 20px; }

  /* No-JS fallback: the full bar as a horizontally scrolling strip. */
  .nav-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .nav-list a { padding: 13px 15px; white-space: nowrap; }
  .js .nav-list { overflow-x: visible; }
  .js .nav-list a { white-space: normal; }

  .hero { padding: 46px 0 56px; }
  .hero-crest { width: 152px; margin-bottom: 18px; }
  .hero .lede { font-size: 1.02rem; }
  .block { padding: 52px 0; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .event { grid-template-columns: 68px 1fr; gap: 16px; padding: 20px; }
  .event-date { padding-right: 12px; }
  .event-date .day { font-size: 1.8rem; }

  .form-wrap { padding: 26px 20px; }

  .map-frame iframe { height: 280px; }
  .pull-quote { padding-left: 18px; font-size: 1.2rem; }
  .card { padding: 26px 22px; }
  .step-list li { padding-left: 54px; }
  .step-list li::before { width: 38px; height: 38px; font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .header-text h1 { font-size: 1.25rem; }
  .header-text .eyebrow { font-size: 0.63rem; letter-spacing: 0.18em; }

  .officer-table th { padding: 12px 14px; font-size: 0.68rem; }
  .officer-table td { padding: 11px 14px; }
  .officer-table td:first-child { font-size: 0.86rem; }
  .officer-table td:last-child { font-size: 1.05rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .event { grid-template-columns: 1fr; gap: 12px; }
  .event-date {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 0 0 10px;
  }
  .event-date .day { font-size: 1.5rem; }
}

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

@media print {
  .utility-bar, .primary-nav, .hero-actions, .cta-band, .form-wrap { display: none; }
  body { background: #fff; }
}
