/* ==========================================================================
   Sarasota County LEO — FOP Lodge #45
   Identity: Gulf navy + Gulf teal + sand.  Type: Archivo + Karla.
   Deliberately distinct from siblings: Lodge 4 is navy+gold/serif, Lodge 109
   is bronze+parchment/Fraunces.  Do not "harmonize" this file with theirs.
   ========================================================================== */

:root {
  /* Ink / navy */
  --navy-950: #06182B;
  --navy-900: #0B2239;
  --navy-800: #123453;
  --navy-700: #1C4A6E;
  --navy-600: #2A648C;
  --navy-50:  #EAF2F7;

  /* Gulf teal — the signature accent */
  --teal-700: #0A5F68;
  --teal-600: #0E7C86;
  --teal-500: #159AA6;
  --teal-200: #A8DCE1;
  --teal-100: #D8EFF1;
  --teal-50:  #EEF8F9;

  /* Badge gold + sunset */
  --gold-600: #B8862C;
  --gold-500: #D9A441;
  --gold-300: #E9CB86;
  --sun-600:  #C7642C;
  --sun-500:  #E07A3F;
  --sun-100:  #FBE7D8;

  /* Sand / paper */
  --sand-50:  #FBF7F0;
  --sand-100: #F4EDE1;
  --sand-200: #E9DFCC;
  --paper:    #FFFFFF;

  --ink:       #17242F;
  --ink-muted: #55636F;
  --ink-faint: #8A96A1;
  --border:    #E4DACA;
  --border-2:  #F0E8DA;
  --danger:    #B23A32;
  --ok:        #1F7A5C;

  --shadow-sm: 0 1px 2px rgba(11,34,57,.05), 0 2px 6px rgba(11,34,57,.06);
  --shadow-md: 0 6px 14px -6px rgba(11,34,57,.14), 0 16px 34px -18px rgba(11,34,57,.20);
  --shadow-lg: 0 28px 60px -22px rgba(11,34,57,.35);

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --max-w:    1180px;
  --max-w-nr: 760px;
  --header-h: 78px;

  --t-fast: .16s ease;
  --t:      .28s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: Karla, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4, h5 {
  font-family: Archivo, 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy-900);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  font-weight: 800;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p  { margin: 0 0 1.15em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--teal-700); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--teal-500); }
a:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

::selection { background: var(--teal-200); color: var(--navy-900); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 18px;
  border-radius: var(--r-sm); font-weight: 700;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ============================== LAYOUT ================================= */

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--max-w-nr); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.section-sand  { background: var(--sand-100); }
.section-navy  { background: var(--navy-900); color: var(--sand-100); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: var(--teal-200); }
.section-navy a:hover { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-muted); font-size: 1.08rem; margin-bottom: 0; }
.section-navy .section-head p { color: rgba(244,237,225,.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: Archivo, sans-serif;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px;
}
.section-head.center .eyebrow::before { display: none; }
.section-navy .eyebrow { color: var(--gold-300); }

.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-muted); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ============================== BUTTONS ================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: Archivo, sans-serif;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-md); }

.btn-sun { background: var(--sun-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn-sun:hover { background: var(--sun-600); color: #fff; box-shadow: var(--shadow-md); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }

.btn-ghost { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-ghost:hover { background: var(--navy-900); color: #fff; }

.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ============================== HEADER ================================= */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,34,57,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 3px solid var(--gold-500);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}

.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.brand:hover { color: inherit; }
.brand img { width: 54px; height: 54px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-name {
  font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.02rem;
  color: #fff; letter-spacing: -.01em; white-space: nowrap;
}
.brand-sub {
  font-family: Archivo, sans-serif; font-size: .64rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300);
  white-space: nowrap;
}

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; color: #fff; border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform var(--t), opacity var(--t-fast);
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav ul {
  list-style: none; display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-family: Archivo, sans-serif; font-size: .87rem; font-weight: 600;
  color: rgba(255,255,255,.86); white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.site-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.site-nav a[aria-current='page'] { color: var(--gold-300); background: rgba(255,255,255,.07); }
.site-nav .nav-cta { margin-left: .5rem; }
.site-nav .nav-cta a {
  background: var(--sun-500); color: #fff; padding: .6rem 1.15rem;
  border-radius: var(--r-pill); font-weight: 700;
}
.site-nav .nav-cta a:hover { background: var(--sun-600); }

/* Dropdown (Members) */
.has-sub { position: relative; }
.has-sub > button {
  display: flex; align-items: center; gap: .35em;
  background: none; border: 0; cursor: pointer;
  padding: .55rem .8rem; border-radius: var(--r-sm);
  font-family: Archivo, sans-serif; font-size: .87rem; font-weight: 600;
  color: rgba(255,255,255,.86);
}
.has-sub > button:hover { background: rgba(255,255,255,.1); color: #fff; }
.has-sub > button::after {
  content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t-fast);
}
.has-sub > button[aria-expanded='true']::after { transform: translateY(1px) rotate(-135deg); }
.subnav {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-2); padding: .45rem;
  display: none; flex-direction: column; gap: 2px;
}
.has-sub > button[aria-expanded='true'] + .subnav { display: flex; }
.subnav a {
  color: var(--navy-900); padding: .6rem .8rem; border-radius: var(--r-sm);
  font-size: .88rem;
}
.subnav a:hover { background: var(--teal-50); color: var(--teal-700); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy-900);
    border-bottom: 3px solid var(--gold-500);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
    padding: .75rem 24px 1.5rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a, .has-sub > button { padding: .85rem .9rem; font-size: 1rem; width: 100%; }
  .has-sub > button { justify-content: space-between; }
  .subnav {
    position: static; display: none; box-shadow: none; border: 0;
    background: rgba(255,255,255,.06); border-radius: var(--r-sm); margin: 2px 0 6px;
  }
  .subnav a { color: rgba(255,255,255,.86); }
  .subnav a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .site-nav .nav-cta { margin: .75rem 0 0; }
  .site-nav .nav-cta a { text-align: center; }
}

/* =============================== HERO ================================== */

.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--sand-100);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /* Wave texture over the colour wash. Both live on ::before so that ::after
     stays free for the .waterline divider — the hero carries both classes and
     they would otherwise collide on the same pseudo-element. */
  background-size: 420px 194px, auto, auto, auto;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='120' viewBox='0 0 260 120'%3E%3Cg fill='none' stroke='%23A8DCE1' stroke-opacity='.10' stroke-width='1.1'%3E%3Cpath d='M-10 20q32-16 64 0t64 0 64 0 64 0'/%3E%3Cpath d='M-10 50q32-16 64 0t64 0 64 0 64 0'/%3E%3Cpath d='M-10 80q32-16 64 0t64 0 64 0 64 0'/%3E%3Cpath d='M-10 110q32-16 64 0t64 0 64 0 64 0'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(90% 120% at 78% 8%, rgba(21,154,166,.34) 0%, transparent 58%),
    radial-gradient(70% 90% at 12% 100%, rgba(224,122,63,.24) 0%, transparent 60%),
    linear-gradient(165deg, #0B2239 0%, #06182B 100%);
}

.hero-inner {
  position: relative;
  /* padding-block, not the shorthand: this element is also .wrap, whose
     inline padding is what keeps content off the viewport edge. */
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(5rem, 9vw, 7.5rem);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .5em; text-wrap: balance; }
.hero h1 em {
  font-style: normal; color: var(--gold-300);
  display: block;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  color: rgba(244,237,225,.88);
  max-width: 46ch; margin-bottom: 2rem;
}
.hero .eyebrow { color: var(--teal-200); }
.hero .eyebrow::before { background: var(--gold-500); }

.hero-crest { justify-self: center; max-width: 340px; width: 100%; }
.hero-crest img {
  width: 100%;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,.45));
  animation: crest-in .9s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes crest-in {
  from { opacity: 0; transform: translateY(18px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-crest img { animation: none; }
  html { scroll-behavior: auto; }
}

/* The waterline: an angled divider that closes every navy band. */
.waterline { position: relative; }
.waterline::after {
  content: ''; position: absolute;
  top: auto; left: 0; right: 0; bottom: -1px;
  height: 64px; z-index: 1; pointer-events: none;
  background: var(--sand-50);
  clip-path: polygon(0 100%, 100% 26%, 100% 100%);
}
.waterline-sand::after { background: var(--sand-100); }
.waterline-paper::after { background: var(--paper); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow::before { display: none; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-crest { max-width: 250px; order: -1; margin-bottom: 1rem; }
}

/* Compact page banner for interior pages */
.page-banner {
  position: relative; background: var(--navy-900); color: var(--sand-100);
  overflow: hidden; isolation: isolate;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 140% at 88% 0%, rgba(21,154,166,.3) 0%, transparent 60%),
    linear-gradient(160deg, #0B2239 0%, #06182B 100%);
}
.page-banner-inner { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5rem); }
.page-banner-inner > * { max-width: 800px; }
.page-banner h1 { color: #fff; margin-bottom: .35em; }
.page-banner p { color: rgba(244,237,225,.85); font-size: 1.1rem; margin-bottom: 0; }
.page-banner .eyebrow { color: var(--teal-200); }

.crumbs {
  font-family: Archivo, sans-serif; font-size: .78rem; letter-spacing: .06em;
  color: rgba(244,237,225,.6); margin-bottom: 1rem; text-transform: uppercase;
}
.crumbs a { color: rgba(244,237,225,.78); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 .5em; }

/* =============================== CARDS ================================= */

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-200); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-muted); margin-bottom: 0; }

/* teal top rule — the recurring card signature */
.card-rule { border-top: 4px solid var(--teal-600); border-radius: var(--r); padding-top: 1.6rem; }
.card-rule-gold { border-top-color: var(--gold-500); }
.card-rule-sun  { border-top-color: var(--sun-500); }

.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--teal-50); color: var(--teal-700);
  border: 1px solid var(--teal-100);
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon.gold { background: #FCF4E3; color: var(--gold-600); border-color: #F2E2BE; }
.card-icon.sun  { background: var(--sun-100); color: var(--sun-600); border-color: #F6D6BE; }

/* Charity / program list items */
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: .5rem 1.1rem;
  font-family: Archivo, sans-serif; font-size: .88rem; font-weight: 600;
  color: var(--navy-800);
}
.section-navy .pill-list li {
  background: rgba(255,255,255,.07); border-color: rgba(168,220,225,.28); color: #fff;
}

.checklist { list-style: none; margin: 0 0 1.15em; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-50); border: 1.5px solid var(--teal-500);
}
.checklist li::after {
  content: ''; position: absolute; left: 5.5px; top: .72em;
  width: 7px; height: 4px; border-left: 2px solid var(--teal-700);
  border-bottom: 2px solid var(--teal-700); transform: rotate(-45deg);
}
.section-navy .checklist li::before { background: rgba(168,220,225,.14); border-color: var(--teal-200); }
.section-navy .checklist li::after  { border-color: var(--teal-200); }

/* ============================ STAT STRIP =============================== */

.stat-strip {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(168,220,225,.2);
  border: 1px solid rgba(168,220,225,.2); border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--navy-900); padding: 2rem 1.5rem; text-align: center;
}
.stat-num {
  font-family: Archivo, sans-serif; font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 2.9rem); line-height: 1;
  color: var(--gold-300); letter-spacing: -.03em;
}
.stat-label {
  font-family: Archivo, sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(244,237,225,.72); margin-top: .65rem;
}

/* ============================== SPLIT ================================== */

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.split-media {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--sand-200);
}
.split-media img { width: 100%; }

.figure-note {
  font-size: .84rem; color: var(--ink-faint); margin-top: .7rem; font-style: italic;
}

/* ============================= ANNOUNCEMENT ============================ */

.announce {
  background: linear-gradient(135deg, var(--sun-500), #D06A2F);
  color: #fff; border-radius: var(--r-lg); padding: 1.9rem 2rem;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
}
.announce h3 { color: #fff; margin-bottom: .35rem; }
.announce p { margin: 0; color: rgba(255,255,255,.94); }
.announce .eyebrow { color: rgba(255,255,255,.9); }
.announce .eyebrow::before { background: rgba(255,255,255,.7); }
.announce-photos { display: flex; gap: .6rem; }
.announce-photos img {
  width: 90px; height: 90px; object-fit: cover; border-radius: var(--r);
  border: 2px solid rgba(255,255,255,.6);
}
@media (max-width: 720px) { .announce { grid-template-columns: 1fr; } }

/* ============================== EVENTS ================================= */

.event-card {
  display: grid; grid-template-columns: 92px 1fr; gap: 1.4rem;
  background: var(--paper); border: 1px solid var(--border-2);
  border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.date-chip {
  background: var(--navy-900); color: #fff; border-radius: var(--r);
  padding: .8rem .5rem; text-align: center; align-self: start;
}
.date-chip .m {
  font-family: Archivo, sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300);
}
.date-chip .d {
  font-family: Archivo, sans-serif; font-size: 1.85rem; font-weight: 800;
  line-height: 1.05; margin-top: .1rem;
}
.date-chip .y { font-size: .72rem; color: rgba(255,255,255,.65); letter-spacing: .08em; }
.event-card h3 { margin-bottom: .35rem; }
.event-meta {
  font-family: Archivo, sans-serif; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: .6rem;
}
.event-card p { color: var(--ink-muted); margin-bottom: 0; }
.event-flyer { margin-top: 1rem; }
.event-flyer img { border-radius: var(--r-sm); border: 1px solid var(--border); max-width: 320px; }
@media (max-width: 560px) {
  .event-card { grid-template-columns: 1fr; }
  .date-chip { justify-self: start; min-width: 92px; }
}

/* ============================== GALLERY ================================ */

.gallery-group + .gallery-group { margin-top: 3.5rem; }
.gallery-group h3 { margin-bottom: .25rem; }
.gallery-group .event-meta { margin-bottom: 1.25rem; }
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem;
}
.photo-grid figure { margin: 0; }
.photo-grid button {
  padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%;
  border-radius: var(--r); overflow: hidden; display: block;
  box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
}
.photo-grid button:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--sand-200); }
.photo-grid figcaption { font-size: .85rem; color: var(--ink-muted); margin-top: .5rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(6,24,43,.94);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--r); }
.lightbox-cap { color: rgba(255,255,255,.82); text-align: center; margin-top: 1rem; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 20px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.5rem;
  cursor: pointer; line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.18); }

/* ============================ BOARD ROSTER ============================= */

.roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.officer {
  background: var(--paper); border: 1px solid var(--border-2); border-radius: var(--r);
  padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.officer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.officer-badge {
  width: 58px; height: 58px; margin: 0 auto .95rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-300);
  font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.1rem;
  letter-spacing: .02em;
}
.officer-name {
  font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.06rem;
  color: var(--navy-900); margin-bottom: .2rem;
}
.officer-title {
  font-family: Archivo, sans-serif; font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700);
}
.officer-note { font-size: .9rem; color: var(--ink-muted); margin-top: .7rem; }
.officer a { font-size: .88rem; display: inline-block; margin-top: .5rem; word-break: break-all; }

.roster-group-title {
  font-family: Archivo, sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink-faint);
  margin: 3rem 0 1.25rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.roster-group-title:first-child { margin-top: 0; }

/* ============================== TIMELINE =============================== */

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 17px; top: 10px; bottom: 10px;
  width: 2px; background: var(--teal-100);
}
.timeline li { position: relative; padding: 0 0 2rem 3.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal-600); color: #fff;
  display: grid; place-items: center;
  font-family: Archivo, sans-serif; font-weight: 800; font-size: .95rem;
}
.timeline h4 { margin-bottom: .3rem; }
.timeline p { color: var(--ink-muted); margin-bottom: 0; }

/* ================================ FORMS ================================ */

.form-card {
  background: var(--paper); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-family: Archivo, sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-800); margin-bottom: .45rem;
}
.field .req { color: var(--danger); }
.field .hint { font-size: .85rem; color: var(--ink-faint); margin-top: .4rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); background: var(--sand-50);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(21,154,166,.16);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.field-check { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.25rem; }
.field-check input { width: 18px; height: 18px; margin-top: .28rem; flex: none; accent-color: var(--teal-600); }
.field-check label {
  text-transform: none; letter-spacing: 0; font-weight: 400; font-family: inherit;
  font-size: .95rem; color: var(--ink-muted); margin: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1.15rem; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok  { color: var(--ok); font-weight: 600; }
.form-status.err { color: var(--danger); font-weight: 600; }

/* ============================== NOTICES ================================ */

.notice {
  border-left: 4px solid var(--teal-600);
  background: var(--teal-50); border-radius: var(--r-sm);
  padding: 1.15rem 1.35rem; margin: 1.5rem 0;
}
.notice p { margin-bottom: 0; }
.notice-title {
  font-family: Archivo, sans-serif; font-weight: 800; color: var(--navy-900);
  margin-bottom: .3rem;
}
.notice-gold { border-left-color: var(--gold-500); background: #FCF7EA; }
.notice-sun  { border-left-color: var(--sun-500); background: var(--sun-100); }

.empty-state {
  text-align: center; padding: 3.5rem 1.5rem;
  border: 2px dashed var(--border); border-radius: var(--r-lg);
  color: var(--ink-muted); background: var(--paper);
}
.empty-state strong { display: block; color: var(--navy-900); font-family: Archivo, sans-serif; margin-bottom: .35rem; }

.loading { color: var(--ink-faint); font-style: italic; padding: 1.5rem 0; }

/* ================================ FAQ ================================== */

.faq details {
  background: var(--paper); border: 1px solid var(--border-2);
  border-radius: var(--r); margin-bottom: .85rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.4rem;
  font-family: Archivo, sans-serif; font-weight: 700; color: var(--navy-900);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 9px; height: 9px;
  border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600);
  transform: rotate(45deg) translateY(-2px); transition: transform var(--t-fast);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq-body { padding: 0 1.4rem 1.4rem; color: var(--ink-muted); }

/* ================================ CTA ================================== */

.cta-band {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600) 55%, #12707A);
  color: #fff; border-radius: var(--r-lg); padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='90' viewBox='0 0 200 90'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='1.4'%3E%3Cpath d='M-10 22q25-14 50 0t50 0 50 0 50 0'/%3E%3Cpath d='M-10 56q25-14 50 0t50 0 50 0 50 0'/%3E%3Cpath d='M-10 88q25-14 50 0t50 0 50 0 50 0'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 1.75rem; }
.cta-band .btn-row { justify-content: center; }

/* =============================== FOOTER ================================ */

.site-footer { background: var(--navy-950); color: rgba(244,237,225,.72); padding: 4rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.15rem; }
.footer-brand img { width: 58px; height: 58px; }
.footer-brand-name {
  font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.2;
}
.footer-brand-sub {
  font-family: Archivo, sans-serif; font-size: .64rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin-top: .2rem;
}
.site-footer h4 {
  color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(244,237,225,.72); font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .95rem; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  color: rgba(244,237,225,.8);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.footer-social a:hover { background: var(--teal-600); color: #fff; border-color: var(--teal-600); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .86rem;
}
.footer-bottom p { margin: 0; }

/* Exioite credit — matches the other lodge sites */
.exioite-credit {
  display: inline-flex; align-items: center; gap: .55rem;
  color: rgba(244,237,225,.5); font-size: .82rem;
}
.exioite-credit:hover { color: rgba(244,237,225,.9); }
.exioite-credit img { height: 20px; width: auto; opacity: .8; transition: opacity var(--t-fast); }
.exioite-credit:hover img { opacity: 1; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================ PROSE BLOCKS ============================= */

.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.15em; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: 2rem 0; padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--gold-500); background: var(--sand-100);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 1.1rem; color: var(--navy-800);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list li {
  display: flex; align-items: center; gap: 1rem;
  background: var(--paper); border: 1px solid var(--border-2); border-radius: var(--r);
  padding: 1.1rem 1.35rem; margin-bottom: .85rem; box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.dl-list li:hover { border-color: var(--teal-200); transform: translateX(3px); }
.dl-list .dl-icon { flex: none; color: var(--teal-600); }
.dl-list .dl-icon svg { width: 26px; height: 26px; }
.dl-list strong { display: block; font-family: Archivo, sans-serif; color: var(--navy-900); }
.dl-list span { font-size: .88rem; color: var(--ink-muted); }
.dl-list a { margin-left: auto; flex: none; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--border);
}
.info-table th {
  font-family: Archivo, sans-serif; font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 700;
}
.info-table td strong { color: var(--navy-900); }
.table-scroll { overflow-x: auto; }

/* Contact detail rows */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-list .ci {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  color: var(--teal-700); display: grid; place-items: center;
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .cl {
  display: block;
  font-family: Archivo, sans-serif; font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: .15rem;
}
.contact-list .cv { display: block; color: var(--navy-900); font-weight: 600; }

.map-embed {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* Print: keep it simple and ink-cheap */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .cta-band { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero, .page-banner { background: #fff !important; color: #000 !important; }
  .hero h1, .page-banner h1 { color: #000 !important; }
}
