/* =====================================================================
   The Dry Dock Recovery Center: site styles
   Palette from the 2026 brochure ("bold" theme). Display: Barlow Condensed.
   Body: Barlow. Designed by Will Faitel.
   ===================================================================== */

:root {
  --navy: #0F2A43;
  --navy-2: #1B4D6B;
  --navy-3: #0A1E31;
  --teal: #2C8C8C;
  --teal-dk: #206E6E;
  --cream: #F7F2E6;
  --cream-2: #FBF7EC;
  --sand: #EDE4CF;
  --coral: #E2603B;
  --coral-dk: #C24A2A;
  --gold: #E3A638;
  --ink: #22323D;
  --ink-soft: #4A5C68;
  --line: rgba(15, 42, 67, .14);

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-dk); text-underline-offset: 3px; }
a:hover { color: var(--coral-dk); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 7.6vw, 6.2rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.15; letter-spacing: .01em; }
h4 { font-size: 1.2rem; line-height: 1.25; letter-spacing: .01em; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 1.1em; }
em.accent, .accent { font-style: normal; color: var(--coral); font-weight: inherit; }
.on-dark em.accent, .on-dark .accent { color: var(--gold); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 800; border-radius: 6px;
}
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-dk); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.on-dark { color: #DCE6EE; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lede { color: #C9D7E2; }
.on-dark a:not(.btn) { color: var(--gold); }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--coral); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .85em 1.6em;
  font: 800 1rem/1 var(--f-body); letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(194, 74, 42, .7); }
.btn:active { transform: translateY(0); }
.btn::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--gold { --bg: var(--gold); --fg: var(--navy); }
.btn--gold:hover { box-shadow: 0 10px 24px -10px rgba(227, 166, 56, .8); }
.btn--navy { --bg: var(--navy); --fg: #fff; }
.btn--navy:hover { box-shadow: 0 10px 24px -10px rgba(15, 42, 67, .6); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; box-shadow: none; }
.on-dark .btn--ghost { --fg: #fff; border-color: rgba(255,255,255,.55); }
.on-dark .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--sm { min-height: 44px; padding: .6em 1.2em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* The frosted background lives on ::before, not the header itself: backdrop-filter on the
   header would make it the containing block for the fixed full-screen mobile menu, trapping
   the menu inside the 76px bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(15, 42, 67, .94);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-solid, body:not(.has-hero) .site-header { box-shadow: 0 6px 30px -12px rgba(0,0,0,.45); }
.site-header.is-solid::before, body:not(.has-hero) .site-header::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 74px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.brand small { display: block; font-family: var(--f-body); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.brand:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; color: #E6EEF4; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 10px 12px; border-radius: 8px;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 10px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative;
  transition: transform .3s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  transform-origin: left; transform: scaleX(var(--p, 0));
}

@media (max-width: 1020px) {
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .nav {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 6px;
    background: radial-gradient(120% 80% at 80% 0%, var(--navy-2), var(--navy-3));
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-family: var(--f-display); font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 6px 18px; }
  .nav a:not(.btn)::after { bottom: 2px; }
  .nav .btn { margin: 16px 0 0; font-family: var(--f-body); font-size: 1.05rem; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- hero (home) */
.hero {
  position: relative; min-height: max(680px, 100svh); overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 180px;
  background:
    radial-gradient(90% 70% at 78% 18%, rgba(227,166,56,.20), transparent 60%),
    linear-gradient(180deg, #08192A 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: #DCE6EE;
}
.hero__art { position: absolute; inset: 0; pointer-events: none; }
.hero__content { position: relative; z-index: 2; max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--gold); font-weight: 600; }
.hero .lede { color: #C9D7E2; }

.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(2deg); animation: wordIn .9s var(--ease) forwards; }
@keyframes wordIn { from { opacity: .08; } to { opacity: 1; transform: none; } }

.status-chip {
  display: inline-grid; justify-items: center; gap: 4px; max-width: 100%;
  padding: 12px 22px; margin-bottom: 1.6rem; text-align: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.45;
}
.status-chip .st-main, .status-chip .st-next { text-wrap: balance; }
.status-chip .nw { white-space: nowrap; }
.status-chip .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #8B98A3; margin-right: 9px; vertical-align: 1px; }
.status-chip .st-sub { color: #B7C6D2; font-weight: 600; }
.status-chip .st-next { color: #B7C6D2; font-weight: 600; font-size: .86rem; }
.status-chip .st-next strong { color: #fff; font-weight: 700; }
@media (max-width: 600px) { .status-chip { display: grid; width: 100%; } }
.status-chip.is-open .dot { background: #47D18C; box-shadow: 0 0 0 0 rgba(71,209,140,.7); animation: ping 2s infinite; }
.status-chip .sep { opacity: .4; }
.status-chip .muted { color: #B7C6D2; font-weight: 600; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(71,209,140,0); } 100% { box-shadow: 0 0 0 0 rgba(71,209,140,0); } }
.status-chip.is-live { border-color: rgba(226,96,59,.55); background: rgba(226,96,59,.14); }
.status-chip.is-live .dot { background: var(--coral); animation: pingLive 1.6s infinite; }
@keyframes pingLive { 0% { box-shadow: 0 0 0 0 rgba(226,96,59,.8); } 70% { box-shadow: 0 0 0 10px rgba(226,96,59,0); } 100% { box-shadow: 0 0 0 0 rgba(226,96,59,0); } }

/* lighthouse beam + stars + waves */
.lamp { animation: lamp 2.2s ease-in-out infinite; }
@keyframes lamp { 50% { opacity: .55; } }
.star { animation: twinkle 3.6s ease-in-out infinite; }
.star:nth-child(3n) { animation-delay: -1.2s; animation-duration: 4.4s; }
.star:nth-child(4n) { animation-delay: -2.1s; }
@keyframes twinkle { 50% { opacity: .2; } }

.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: 170px; z-index: 1; pointer-events: none; }
.waves svg { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; }
.waves .w1 { animation: drift 22s linear infinite; opacity: .35; }
.waves .w2 { animation: drift 15s linear infinite reverse; opacity: .55; bottom: -14px; }
.waves .w3 { animation: drift 30s linear infinite; bottom: -30px; }
@keyframes drift { to { transform: translateX(-50%); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 110px; z-index: 3; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
}
.scroll-cue::after { content: ""; width: 2px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 860px) {
  .hero { padding-bottom: 300px; align-items: flex-start; }
    .scroll-cue { display: none; }
}

/* ---------------------------------------------------------------- page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(110px, 12vw, 160px);
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(44,140,140,.35), transparent 60%),
    linear-gradient(170deg, var(--navy-3), var(--navy) 55%, var(--navy-2));
  color: #DCE6EE;
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero .lede { color: #C9D7E2; }
.page-hero__mark { position: absolute; right: -40px; top: 50%; width: min(46vw, 560px); opacity: .07; transform: translateY(-46%) rotate(-8deg); pointer-events: none; }
.page-hero .waves { height: 110px; }
.crumbs { font-size: .82rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 1.4rem; color: #9FB4C4; }
.crumbs a { color: #C9D7E2; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--cream2 { background: var(--cream-2); }
.section--sand { background: var(--sand); }
.section--navy { background: linear-gradient(170deg, var(--navy), var(--navy-3)); color: #DCE6EE; }
.section--teal { background: linear-gradient(160deg, var(--teal-dk), #164F57); color: #E2F1F0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* rope divider: draws itself as it scrolls into view */
.rope { display: block; width: min(420px, 70%); height: 22px; margin: 0 auto; color: var(--gold); overflow: visible; }
.rope path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.rope.is-in path { stroke-dashoffset: 0; }
.rope.left { margin: 0 0 1.6rem; width: 220px; }

/* wave seam between sections */
.seam { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; z-index: 2; }

/* ---------------------------------------------------------------- photo stack + seal */
.photo-stack { position: relative; aspect-ratio: 1 / 1.02; }
.photo-stack figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(10, 30, 49, .55); }
.photo-stack figure img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .p1 { inset: 0 18% 22% 0; border: 8px solid #fff; }
.photo-stack .p2 { inset: 46% 0 0 34%; border: 8px solid #fff; transform: rotate(2.5deg); }
.photo-stack figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px;
  background: rgba(15,42,67,.82); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.seal {
  position: absolute; z-index: 3; right: 4%; top: -4%;
  width: clamp(120px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--coral); color: #fff; box-shadow: 0 16px 34px -14px rgba(194,74,42,.8);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal b { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.02; font-weight: 800; }
.seal b small { display: block; font-family: var(--f-body); font-size: .62rem; letter-spacing: .14em; margin-top: 4px; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- expect list (numbered) */
.expect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.expect li { list-style: none; padding: 30px 26px 10px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.expect li:last-child { border-right: 0; margin-right: 0; }
.expect .num { font-family: var(--f-display); font-size: 3.2rem; font-weight: 700; color: var(--coral); line-height: 1; display: block; margin-bottom: 14px; }
.expect h3 { font-size: 1.25rem; }
.expect p { color: var(--ink-soft); font-size: .98rem; }
ul.expect { padding: 0; margin: 0; }
@media (max-width: 900px) {
  .expect { grid-template-columns: 1fr 1fr; }
  .expect li { border-right: 0; margin-right: 0; padding-right: 16px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) { .expect { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- marquee (flag line) */
.marquee { background: var(--coral-dk); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: -12px -20px; position: relative; z-index: 3; box-shadow: 0 14px 30px -18px rgba(0,0,0,.4); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; gap: 44px; }
.marquee__track span::after { content: "⚓"; font-style: normal; font-size: .7em; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap { overflow: hidden; padding: 28px 0; }

/* ---------------------------------------------------------------- schedule */
.days { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.day-tab {
  min-height: 46px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); background: #fff; color: var(--navy);
  font: 800 .92rem/1 var(--f-body); transition: all .2s var(--ease); position: relative;
}
.day-tab:hover { border-color: var(--navy); }
.day-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.day-tab .today-pip { position: absolute; top: -6px; right: -4px; background: var(--coral); color: #fff; font-size: .6rem; letter-spacing: .08em; padding: 3px 6px; border-radius: 6px; text-transform: uppercase; }
.on-dark .day-tab { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.on-dark .day-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.meet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.meet {
  display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 20px;
  padding: 20px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  border-left: 5px solid var(--teal); transition: transform .25s var(--ease), box-shadow .25s;
  animation: rise .5s var(--ease) both;
}
.meet:nth-child(2) { animation-delay: .06s; } .meet:nth-child(3) { animation-delay: .12s; } .meet:nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.meet:hover { transform: translateX(6px); box-shadow: 0 14px 30px -20px rgba(15,42,67,.5); }
.meet time { font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.meet h3 { font-size: 1.15rem; margin: 0 0 2px; font-family: var(--f-body); font-weight: 800; letter-spacing: 0; }
.meet p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--cream); color: var(--navy); white-space: nowrap; }
.meet[data-fellowship="AA"] { border-left-color: var(--navy-2); }
.meet[data-fellowship="NA"] { border-left-color: var(--teal); }
.meet[data-fellowship="CoDA"] { border-left-color: var(--gold); }
.meet[data-fellowship="DAA"] { border-left-color: var(--coral); }
.meet[data-fellowship="Faith"] { border-left-color: #8A6FB0; }
.meet[data-fellowship="Support"] { border-left-color: #5C9E6E; }
.meet.is-next { box-shadow: 0 0 0 3px var(--gold), 0 14px 30px -20px rgba(15,42,67,.5); }
.meet .now-badge { display: none; }
.meet.is-next .now-badge { display: inline-block; background: var(--gold); color: var(--navy); margin-left: 8px; }
.meet.is-live { box-shadow: 0 0 0 3px var(--coral), 0 14px 30px -20px rgba(15,42,67,.5); }
.meet.is-live .now-badge { display: inline-block; background: var(--coral); color: #fff; margin-left: 8px; }
.meet-empty { padding: 30px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--ink-soft); }
@media (max-width: 620px) {
  .meet { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .meet .tag { justify-self: start; }
}

/* full-week grid on meetings page */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.week-day { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 22px 14px; position: relative; overflow: hidden; }
.week-day h3 { font-size: 1.5rem; display: flex; justify-content: space-between; align-items: baseline; }
.week-day.is-today { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.week-day.is-today h3::after { content: "Today"; font: 800 .7rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; background: var(--coral); color: #fff; padding: 5px 8px; border-radius: 6px; }
.week-day ul { list-style: none; padding: 0; margin: 0; }
.week-day li { padding: 12px 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: .95rem; }
.week-day li b { color: var(--navy); font-weight: 800; }
.week-day li small { display: block; color: var(--ink-soft); font-size: .82rem; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 28px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
/* fellowship colors (match the legend): chip + left accent on the weekly schedule */
[data-fellowship="AA"] { --fc: var(--navy-2); } [data-fellowship="NA"] { --fc: var(--teal); }
[data-fellowship="CoDA"] { --fc: var(--gold); } [data-fellowship="DAA"] { --fc: var(--coral); }
[data-fellowship="Faith"] { --fc: #8A6FB0; } [data-fellowship="Support"] { --fc: #5C9E6E; }
.week-day li[data-fellowship] { box-shadow: inset 4px 0 0 var(--fc, var(--line)); padding-left: 12px; }
.week-day li[data-fellowship] .tag { background: var(--fc, var(--cream)); color: #fff; }
.week-day li[data-fellowship="CoDA"] .tag { color: var(--navy); }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 700; line-height: 1; color: var(--gold); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; font-weight: 700; font-size: .95rem; color: #C9D7E2; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 34px 14px; } }

/* ---------------------------------------------------------------- gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; transition: transform .8s var(--ease), filter .5s; }
.gallery figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; font-size: .92rem;
  background: linear-gradient(transparent, rgba(10,30,49,.85));
}
@media (hover: hover) {
  .gallery figcaption { transform: translateY(100%); transition: transform .4s var(--ease); }
  .gallery figure:hover figcaption { transform: none; }
  .gallery figure:hover img { transform: scale(1.06); }
}

/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden;
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(227,166,56,.16), transparent 60%);
}
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(15,42,67,.55); } .card:hover::before { opacity: 1; } }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .card-link { font-weight: 800; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card .card-link::after { content: "→"; transition: transform .2s; }
.card .card-link:hover::after { transform: translateX(4px); }
.card .kicker { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; display: block; }
.card--navy { background: var(--navy); color: #DCE6EE; border-color: transparent; }
.card--navy h3 { color: #fff; }
.card--navy p { color: #C9D7E2; }
.on-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.on-dark .card p { color: #C9D7E2; }

/* ---------------------------------------------------------------- donate */
.donate-band { position: relative; overflow: hidden; }
.donate-band .beam-bg {
  position: absolute; top: -30%; right: 8%; width: 1400px; height: 1400px; pointer-events: none;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, rgba(227,166,56,.18) 14deg, transparent 30deg);
  animation: beamspin 14s ease-in-out infinite alternate; transform-origin: 50% 50%;
}
@keyframes beamspin { from { transform: rotate(-20deg); } to { transform: rotate(40deg); } }
.donate-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 80px); align-items: center; position: relative; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
.qr-card {
  background: var(--cream-2); color: var(--ink); border-radius: 16px; padding: 28px; text-align: center;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); transform: rotate(2deg); transition: transform .4s var(--ease);
  max-width: 340px; margin-inline: auto; position: relative;
}
.qr-card:hover { transform: rotate(0) scale(1.02); }
.qr-card img { width: 210px; margin: 6px auto 14px; border-radius: 8px; image-rendering: pixelated; }
.qr-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .2em; }
.qr-card p { font-size: .9rem; color: var(--ink-soft); margin: 0 0 14px; }
.qr-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(227,166,56,.75); border-radius: 3px; }
.gift-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 10px; }
.gift-list li { display: flex; gap: 14px; align-items: baseline; }
.gift-list b { font-family: var(--f-display); color: var(--gold); font-size: 1.3rem; min-width: 70px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: #fff; border-radius: 14px; padding: 34px 30px; border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(15,42,67,.5); }
.tier::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--metal); }
.tier--bronze { --metal: linear-gradient(90deg, #A0643A, #D69A6A); }
.tier--silver { --metal: linear-gradient(90deg, #8E9AA4, #D4DCE2); }
.tier--gold { --metal: linear-gradient(90deg, #C98A1E, var(--gold)); background: var(--navy); color: #DCE6EE; border-color: transparent; }
.tier.tier--gold h3, .tier.tier--gold .price { color: #fff; }
.tier.tier--gold li { color: #DCE6EE; }
.tier.tier--gold a:not(.btn) { color: var(--gold); }
.tier .price { font-family: var(--f-display); font-size: 3.4rem; font-weight: 700; color: var(--navy); line-height: 1; margin: 6px 0 18px; }
.tier .price small { font-size: 1rem; font-family: var(--f-body); font-weight: 700; opacity: .6; }
.tier ul { padding-left: 1.1em; margin: 0 0 24px; flex: 1; }
.tier li { margin-bottom: .5em; color: var(--ink-soft); font-size: .96rem; }
.tier .btn { align-self: flex-start; }

.zeffy-frame { width: 100%; min-height: 760px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -36px rgba(15,42,67,.5); }

.wish { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 1.2rem 0 0; }
.wish li { background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--navy); }

/* ---------------------------------------------------------------- 12 steps timeline */
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 3px; }
.steps .spine { position: absolute; left: 23px; top: 8px; width: 3px; height: calc(100% - 16px); background: linear-gradient(var(--gold), var(--coral)); transform-origin: top; transform: scaleY(var(--fill, 0)); border-radius: 3px; }
.steps li { position: relative; padding: 0 0 34px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: -64px; top: -4px; width: 49px; height: 49px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); border: 3px solid var(--line);
  font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--navy);
  transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease);
}
.steps li.is-in::before { background: var(--navy); border-color: var(--gold); color: #fff; transform: scale(1.06); }
.steps h3 { font-size: 1.3rem; margin-bottom: .25em; }
.steps p { color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------------- board */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(15,42,67,.5); }
.member .mono { width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: #fff; background: var(--navy-2); }
.member.officer .mono { background: var(--coral); }
.member.staff .mono { background: var(--teal); }
.member b { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.member span { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

/* ---------------------------------------------------------------- partners */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.partner { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.partner:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -28px rgba(15,42,67,.5); color: var(--ink); }
.partner img { height: 90px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(.2); transition: filter .3s; }
.partner:hover img { filter: none; }
.partner b { color: var(--navy); }
.partner small { color: var(--ink-soft); font-size: .86rem; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 24px; font-weight: 800; color: var(--navy); font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 14px; border-right: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ---------------------------------------------------------------- visit / map */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 70px -40px rgba(10,30,49,.7); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }
.visit__info { padding: clamp(30px, 5vw, 56px); color: #DCE6EE; }
.visit__info h2 { color: #fff; }
.visit__map { min-height: 420px; background: var(--navy-2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.8) contrast(1.05); }
.hours { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.hours li.is-today { color: var(--gold); font-weight: 800; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-lines a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.contact-lines a:hover { color: var(--gold); }
.contact-lines svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ---------------------------------------------------------------- crisis strip */
.crisis { background: var(--gold); color: var(--navy); padding: 18px 0; font-weight: 700; }
.crisis .wrap { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: center; text-align: center; }
.crisis a { color: var(--navy); font-weight: 800; }
.crisis strong { font-family: var(--f-display); font-size: 1.1rem; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; background: #fff; padding: clamp(24px, 4vw, 38px); border-radius: 14px; border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 800; font-size: .88rem; color: var(--navy); }
.form input, .form textarea, .form select {
  font: 500 16px/1.4 var(--f-body); color: var(--ink); background: var(--cream-2);
  border: 2px solid #D9D1BE; border-radius: 8px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status { font-weight: 700; color: var(--teal-dk); margin: 0; min-height: 1.4em; }

/* ---------------------------------------------------------------- events */
.event-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.event-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.event-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -30px rgba(15,42,67,.55); }
.event-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.event-card div { padding: 18px 22px 22px; }
.event-card h3 { font-size: 1.2rem; margin-bottom: .2em; }
.event-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.ribbon { display: inline-block; background: var(--navy); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- program list */
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.program { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; border-top: 5px solid var(--c, var(--teal)); transition: transform .3s var(--ease), box-shadow .3s; }
.program:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -30px rgba(15,42,67,.5); }
.program .abbr { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; color: var(--c, var(--teal)); line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.program h3 { font-size: 1.15rem; font-family: var(--f-body); font-weight: 800; letter-spacing: 0; }
.program p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.program .when { font-size: .85rem; font-weight: 700; color: var(--navy); background: var(--cream); padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: var(--navy-3); color: #AFC0CD; padding: 110px 0 0; overflow: hidden; }
.site-footer .waves { top: -2px; bottom: auto; height: 80px; transform: scaleY(-1); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .footer-h { color: #fff; font-family: var(--f-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #DCE6EE; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo { width: 220px; margin-bottom: 16px; }
.footer-tag { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--gold); font-size: 1.15rem; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 30px; font-size: .86rem; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.legal p { margin: 0; max-width: 70ch; }
.credit {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid rgba(227,166,56,.4);
  color: #DCE6EE !important; font-weight: 600; transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.credit b { color: var(--gold); font-weight: 800; }
.credit .spark { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--coral)); display: grid; place-items: center; color: var(--navy); font-weight: 900; font-size: .8rem; font-family: var(--f-display); }
.credit:hover { background: rgba(227,166,56,.12); border-color: var(--gold); transform: translateY(-2px); }
.credit .hire { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 3px 8px; border-radius: 6px; font-weight: 800; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round 12px); transition: clip-path 1.2s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0 round 0); }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .reveal-img { clip-path: none; }

/* ---------------------------------------------------------------- misc */
.pill-note { display: block; width: fit-content; max-width: 100%; background: rgba(44,140,140,.12); color: var(--teal-dk); border-radius: 14px; padding: 12px 18px; font-weight: 700; font-size: .95rem; line-height: 1.55; }
.quote { font-family: var(--f-body); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; font-style: italic; font-weight: 500; color: var(--navy); border-left: 4px solid var(--gold); padding: 6px 0 6px 28px; margin: 0; }
.on-dark .quote { color: #fff; }
.callout { background: #fff; border-radius: 14px; padding: 28px 30px; border: 1px solid var(--line); border-left: 6px solid var(--coral); }
.callout h3 { margin-bottom: .3em; }
.callout p:last-child { margin: 0; }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .mv { grid-template-columns: 1fr; } }
[hidden] { display: none !important; } /* keep the hidden attribute working on elements given a display value */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
  .hero h1 .word { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .rope path { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .waves, .marquee, .site-footer .waves, .scroll-cue { display: none !important; }
  .hero, .page-hero, .section--navy { background: #fff !important; color: #000 !important; }
}

/* ---------------------------------------------------------------- privacy policy */
.policy-toc { position: sticky; top: 110px; }
.policy-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-weight: 700; font-size: .95rem; }
.policy-toc a { text-decoration: none; }
.policy-block { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.policy-block:last-child { border-bottom: 0; }
.policy-block h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.policy-block p { color: var(--ink-soft); }
.policy-block strong { color: var(--ink); }
@media (max-width: 900px) { .policy-toc { position: static; } .policy-toc + .policy { margin-top: 10px; } }

/* ---------------------------------------------------------------- calendar links, upcoming events, area meetings */
.cal-link { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 800; color: var(--teal-dk); text-decoration: none; }
.cal-link:hover { color: var(--coral-dk); text-decoration: underline; }
.up-events { display: grid; gap: 16px; }
.up-event { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.up-event:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(15,42,67,.5); }
.up-date { background: var(--navy); color: #fff; border-radius: 12px; text-align: center; padding: 12px 6px; line-height: 1.1; }
.up-date span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.up-date b { display: block; font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; margin: 2px 0; }
.up-event h3 { margin: 4px 0 6px; }
.up-meta { font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: .5em; }
.up-event p { color: var(--ink-soft); margin-bottom: .5em; }
.up-links { font-weight: 800; font-size: .9rem; margin: 0 !important; }
.up-empty { background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 26px; text-align: center; color: var(--ink-soft); }
.ribbon--teal { background: var(--teal-dk); }
@media (max-width: 560px) { .up-event { grid-template-columns: 1fr; } .up-date { display: flex; gap: 10px; align-items: baseline; justify-content: center; } .up-date b { font-size: 1.6rem; } }
.area-panel { display: grid; gap: 10px; }
.area-day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.area-day summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 800; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.area-day summary::-webkit-details-marker { display: none; }
.area-day summary span { font-size: .82rem; color: var(--ink-soft); font-weight: 700; }
.area-day summary::after { content: "+"; font-size: 1.3rem; color: var(--coral); margin-left: 12px; }
.area-day[open] summary::after { content: "−"; }
.area-day.is-today { border-color: var(--coral); }
.area-day ul { list-style: none; margin: 0; padding: 0 20px 12px; }
.area-day li { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line); font-size: .94rem; }
.area-day li b { color: var(--navy); }
.area-day li small { display: block; color: var(--ink-soft); font-size: .84rem; }
@media (max-width: 620px) { .area-day li { grid-template-columns: 70px 1fr; } .area-day li .tag { grid-column: 2; justify-self: start; } }
.access-note { display: flex; gap: 10px; align-items: baseline; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 10px 14px; color: #fff; }
.access-note span { color: var(--gold); font-size: 1.2rem; }

/* ---------------------------------------------------------------- painted hero (FLUX art) */
.hero__art--painted .hero__raster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; transform-origin: 72% 40%; animation: heroDrift 38s ease-in-out infinite alternate; }
.hero__art--painted::after { /* keeps the headline readable over the painting */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,25,42,.94) 0%, rgba(8,25,42,.78) 34%, rgba(8,25,42,.25) 62%, rgba(8,25,42,0) 80%),
              linear-gradient(180deg, rgba(8,25,42,.35) 0%, transparent 30%);
}
.hero__stars { position: absolute; inset: 0 0 45% 0; width: 100%; height: 55%; z-index: 1; }
.hero__glow { /* soft pulse near the lighthouse lamp */
  position: absolute; z-index: 1; left: 72.5%; top: 32%; width: 220px; height: 220px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,231,168,.45), rgba(255,231,168,0) 65%); animation: lamp 2.6s ease-in-out infinite; pointer-events: none;
}
@keyframes heroDrift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1%); } }
@media (max-width: 860px) {
  .hero__art--painted .hero__raster { object-position: 74% 50%; }
  .hero__art--painted::after { background: linear-gradient(180deg, rgba(8,25,42,.9) 0%, rgba(8,25,42,.72) 45%, rgba(8,25,42,.35) 75%, rgba(8,25,42,.55) 100%); }
  .hero__glow { display: none; }
}
.faq-anchor { width: min(260px, 70%); margin-top: 28px; border-radius: 50%; mix-blend-mode: multiply; }
@media (max-width: 900px) { .faq-anchor { display: none; } }
/* side column that stays put while a long list scrolls, only when the columns sit side by side */
@media (min-width: 901px) { .sticky-col { position: sticky; top: 110px; } }

/* ---------------------------------------------------------------- text layout standard
   Headlines balance their lines; paragraphs avoid a lone last word; short centered labels
   balance; buttons and tags never wrap; paragraphs cap at a comfortable reading width. */
p, li, dd, figcaption, .lede, .faq summary, .form-note, .callout p { text-wrap: pretty; }
.stat span, .eyebrow, .kicker, .tag, .ribbon, .seal b, .crisis span, .center p, .section-head.center p { text-wrap: balance; }
.btn, .tag, .ribbon, .day-tab, .cal-link, .credit { white-space: nowrap; }
.section p, .section li { max-width: 68ch; }
.center p, .section-head.center p, .stat span { margin-inline: auto; }
.up-host { font-size: .88rem; font-weight: 700; color: var(--teal-dk) !important; margin-top: -.2em !important; }
@media (min-width: 901px) { .split--toc { grid-template-columns: .32fr 1fr; } }
@media (max-width: 420px) { .btn { padding-inline: 1.25em; } .btn-row .btn { flex: 1 1 auto; } }

/* ---------------------------------------------------------------- gold sponsors (homepage, only when GOLD_SPONSORS has entries) */
.gold-sponsors { background: var(--cream-2); border-top: 4px solid var(--gold); }
.gold-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gold-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.gold-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -30px rgba(15,42,67,.5); color: var(--ink); }
.gold-card img { height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.gold-card b { color: var(--navy); font-size: 1.1rem; }
.gold-card span { color: var(--ink-soft); font-size: .95rem; }

/* ---------------------------------------------------------------- "Today at the Dock" (homepage banner) */
.today-card {
  margin-top: 28px; max-width: 540px; padding: 18px 20px 14px;
  background: rgba(8,25,42,.62); border: 1px solid rgba(255,255,255,.16); border-radius: 16px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff;
}
.today-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.today-head h2 { font-size: 1.35rem; color: var(--gold); letter-spacing: .05em; margin: 0; }
.today-date { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9FB4C4; }
.today-status { display: block; font-weight: 700; font-size: .95rem; line-height: 1.4; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); text-wrap: balance; }
.today-status .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #8B98A3; flex: none; transform: translateY(-1px); }
.today-status.is-open .dot { background: #47D18C; animation: ping 2s infinite; }
.today-status.is-live .dot { background: var(--coral); animation: pingLive 1.6s infinite; }
.today-status .dot { margin-right: 9px; vertical-align: 1px; }
.today-status .st-main { display: block; }
.today-status .st-sub { color: #B7C6D2; font-weight: 600; }
.today-list { list-style: none; margin: 4px 0 6px; padding: 0; }
.today-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center; padding: 10px 0 10px 10px; border-bottom: 1px dashed rgba(255,255,255,.10); border-left: 3px solid transparent; }
.today-item time { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.today-item b { display: block; font-weight: 700; line-height: 1.25; }
.today-item small { display: block; color: #9FB4C4; font-size: .82rem; }
.today-tag { white-space: nowrap; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.today-item.is-live { border-left-color: var(--coral); background: rgba(226,96,59,.12); }
.today-item.is-live .today-tag { background: var(--coral); color: #fff; }
.today-item.is-next { border-left-color: var(--gold); }
.today-item.is-next .today-tag { background: var(--gold); color: var(--navy); }
.today-item.is-done { opacity: .5; }
.today-item.is-done .today-tag { background: rgba(255,255,255,.12); color: #C9D7E2; }
.today-none { padding: 10px 0; color: #C9D7E2; font-size: .95rem; }
.today-none strong { color: #fff; }
.today-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; color: var(--gold) !important; text-decoration: none; padding: 6px 0; }
.today-link svg { width: 1em; height: 1em; transition: transform .2s; }
.today-link:hover svg { transform: translateX(4px); }
@media (max-width: 600px) { .today-card { padding: 16px 14px 12px; } .today-item { grid-template-columns: 62px 1fr; } .today-item .today-tag { grid-column: 2; justify-self: start; } }

/* ---------- county meetings */
.county-card { display: grid; gap: 10px; justify-items: start; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: linear-gradient(135deg, var(--cream) 0%, #fff 70%); border: 1px solid var(--line); border-left: 6px solid var(--coral); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.county-card h2 { margin: 0; }
.county-card p { margin: 0 0 6px; max-width: 62ch; color: var(--ink-soft); }
@media (hover: hover) { .county-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 77, 107, .12); } }
.county-filters { display: grid; gap: 14px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: .5em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--navy); }
.chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.town-pick { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.town-pick select { min-height: 44px; font: inherit; font-size: 16px; padding: .4em 2em .4em .8em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.county-count { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.county-day li { grid-template-columns: 78px 1fr; }
.county-day li .tag { margin-left: 6px; background: color-mix(in srgb, var(--c, var(--navy)) 14%, #fff); color: var(--c, var(--navy)); vertical-align: 2px; }
.county-none { padding: 24px; text-align: center; background: var(--cream); border-radius: var(--radius); font-weight: 700; }
.fel-legend { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.fel-legend b { color: var(--navy); }
.area-day summary span { margin-left: auto; }
.county-day li { max-width: none; }
