/* ==========================================================================
   SFBC Harbor — single compiled stylesheet (R2)
   Confident coastal-premium. Editorial, photographic, generous whitespace.
   Layout system: one container scale, 8px-base spacing rhythm, section
   pattern library (band / chapter / process / spec-sheet / conversion).
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --sfbc-navy:  #0B2545;
  --sfbc-navy-800: #0E2C52;   /* footer cards / layered navy */
  --sfbc-navy-900: #081B33;   /* deepest ground */
  --sfbc-ocean: #13497B;
  --sfbc-foam:  #F7F5F0;
  --sfbc-white: #FFFFFF;
  --sfbc-brass: #C9A227;
  --sfbc-bronze: #85691A;     /* brass tuned for AA on light grounds */
  --sfbc-coral: #C74A26;      /* THE CTA color — used for nothing else; ≥4.5:1 with white */
  --sfbc-ink:   #10151C;
  --sfbc-mist:  #8FA6BC;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.0625rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.4vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.26rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.3vw, 2.4rem);
  --step-4:  clamp(2.2rem, 1.8rem + 2.1vw, 3.3rem);
  --step-5:  clamp(2.75rem, 2.1rem + 3.4vw, 4.5rem);

  /* 8px-base rhythm */
  --sp-1: .5rem;  --sp-2: 1rem;  --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-6: 3rem;   --sp-8: 4rem;  --sp-12: 6rem;   --sp-16: 8rem;
  --space-xs: var(--sp-1); --space-s: var(--sp-2); --space-m: var(--sp-3);
  --space-l: clamp(2rem, 1.6rem + 2vw, 3rem);
  --space-xl: clamp(3.5rem, 2.6rem + 4vw, 6rem);
  --space-2xl: clamp(5rem, 3.6rem + 6.5vw, 8rem);

  --measure: 68ch;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-1: 0 1px 2px rgba(11, 37, 69, .07), 0 4px 16px rgba(11, 37, 69, .06);
  --shadow-2: 0 2px 6px rgba(11, 37, 69, .1), 0 14px 40px rgba(11, 37, 69, .14);
  --container: 76rem;
  --container-wide: 88rem;
  --caps-track: .14em;

  /* on-dark tokens: every value >=4.5:1 on --sfbc-navy AND on photo scrims */
  --ondark-text: #EAF0F7;
  --ondark-muted: #C9D6E4;
  --ondark-link: #D8E4F0;
  --ondark-link-hover: #FFFFFF;
  --ondark-icon: #E4B94C;
  --ondark-border: rgba(255,255,255,.22);
}

/* Any component rendered on a dark/photo surface consumes on-dark tokens —
   no body colors ever inherit onto dark grounds (R3 class-1 fix). */
.hero, .section--navy, .section--deep, .conversion, .interlude, .site-footer, .action-bar {
  color: var(--ondark-text);
}
.hero a:not(.btn), .section--navy a:not(.btn), .section--deep a:not(.btn),
.conversion a:not(.btn):not(.phone-block), .interlude a:not(.btn) {
  color: var(--ondark-link); text-decoration: underline; text-underline-offset: 3px;
}
.hero a:not(.btn):hover, .section--navy a:not(.btn):hover, .section--deep a:not(.btn):hover,
.conversion a:not(.btn):not(.phone-block):hover, .interlude a:not(.btn):hover {
  color: var(--ondark-link-hover);
}
.hero .btn--phone, .section--navy .btn--phone, .section--deep .btn--phone,
.conversion .btn--phone, .interlude .btn--phone {
  color: #fff; background: rgba(255,255,255,.12); border-radius: var(--radius);
}
.hero .btn--phone:hover, .section--navy .btn--phone:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero .btn--phone svg { color: var(--ondark-icon); }

/* R4 leak fix: light-background islands NEVER inherit on-dark colors, even
   nested inside a dark section. Specificity (0,0,3,x) beats the dark rules. */
.section--navy .card, .section--deep .card, .hero .card, .conversion .card, .interlude .card,
.section--navy .plan, .section--deep .plan,
.section--navy .form, .section--deep .form, .conversion .form, .hero .form, .interlude .form,
.section--navy .spec-sheet, .section--deep .spec-sheet,
.section--navy .resource-cards li, .section--navy .quote, .section--navy .pull-quote,
.section--navy .calc__result, .section--navy .member-wall li {
  color: var(--sfbc-ink);
}
.section--navy .card a:not(.btn), .section--deep .card a:not(.btn), .hero .card a:not(.btn),
.conversion .card a:not(.btn), .interlude .card a:not(.btn),
.section--navy .plan a:not(.btn), .section--deep .plan a:not(.btn),
.section--navy .form a:not(.btn), .conversion .form a:not(.btn), .section--deep .form a:not(.btn),
.section--navy .spec-sheet a:not(.btn), .section--navy .resource-cards a:not(.btn),
.section--navy .quote a:not(.btn) {
  color: var(--sfbc-ocean); text-decoration: underline;
}
.section--navy .card a.stretch, .section--deep .card a.stretch, .hero .card a.stretch,
.conversion .card a.stretch, .interlude .card a.stretch,
.section--navy .card__body h3 a, .section--deep .card__body h3 a, .hero .card__body h3 a {
  color: var(--sfbc-navy); text-decoration: none;
}

/* ---- Fonts ------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-ui); font-size: var(--step-0); line-height: 1.65;
  color: var(--sfbc-ink); background: var(--sfbc-foam);
  -webkit-font-smoothing: antialiased;
}
img, picture, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; color: var(--sfbc-navy); font-weight: 600; text-wrap: balance; font-variation-settings: "opsz" 72; }
h1 { font-size: var(--step-4); letter-spacing: -0.015em; font-weight: 650; }
h2 { font-size: var(--step-3); letter-spacing: -0.008em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-ui); font-weight: 600; color: var(--sfbc-navy); }
p, ul, ol { max-width: var(--measure); }
a { color: var(--sfbc-ocean); text-underline-offset: 3px; }
a:hover { color: var(--sfbc-navy); }
:focus-visible { outline: 3px solid var(--sfbc-brass); outline-offset: 2px; border-radius: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--sfbc-navy); color: #fff; padding: .75rem 1.25rem; }
.skip-link:focus { left: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }

/* ---- Section system ------------------------------------------------------
   One rhythm: every band uses .section (or --tight). Section openers use
   .section-head so no bare H2 ever floats over content. */
.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-l); }
.section--navy { background: var(--sfbc-navy); color: #E8EDF4; }
.section--navy h2, .section--navy h3 { color: var(--sfbc-white); }
.section--navy a { color: #BFD3E6; }
.section--white { background: var(--sfbc-white); }
.section--deep { background: linear-gradient(175deg, var(--sfbc-navy) 0%, var(--sfbc-navy-900) 100%); color: #E8EDF4; }
.section--deep h2, .section--deep h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: var(--space-l); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: var(--sp-2); }

.kicker {
  font-family: var(--font-ui); font-size: var(--step--1); font-weight: 650;
  letter-spacing: var(--caps-track); text-transform: uppercase; color: var(--sfbc-bronze);
  display: block; margin-bottom: var(--sp-1);
}
.section--navy .kicker, .section--deep .kicker, .conversion .kicker { color: var(--sfbc-brass); }
.lede { font-size: var(--step-1); line-height: 1.55; color: #33404f; max-width: 56ch; }
.section--navy .lede, .section--deep .lede { color: #C9D6E4; }
.mono { font-family: var(--font-mono); font-size: .85em; letter-spacing: .02em; }

/* brass rule accent */
.rule-brass { border: 0; height: 2px; width: 64px; background: var(--sfbc-brass); margin: var(--sp-3) 0; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.6rem; border-radius: var(--radius);
  font-weight: 600; font-size: var(--step-0); text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: translateY(1px); }
/* Quiet premium (R4 §5): solid fills, neutral navy shadows, no gradients/glows. */
.btn { transition: background .18s ease-out, color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out; }
.btn--cta { background: var(--sfbc-coral); color: #fff; box-shadow: 0 1px 2px rgba(8,27,51,.14); }
.btn--cta:hover { background: #B03E1D; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8,27,51,.16); }
.btn--ghost { border: 2px solid var(--sfbc-navy); color: var(--sfbc-navy); background: transparent; }
.btn--ghost:hover { background: var(--sfbc-navy); border-color: var(--sfbc-navy); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8,27,51,.16); }
.section--navy .btn--ghost, .section--deep .btn--ghost, .hero .btn--ghost, .interlude .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.section--navy .btn--ghost:hover, .section--deep .btn--ghost:hover, .hero .btn--ghost:hover, .interlude .btn--ghost:hover { background: #fff; border-color: #fff; color: var(--sfbc-navy); }
.btn--phone { background: transparent; color: var(--sfbc-navy); font-variant-numeric: tabular-nums; }
.btn--phone svg { width: 1.1em; height: 1.1em; flex: none; }
.section--navy .btn--phone, .section--deep .btn--phone { color: #fff; }
.btn--arrow::after { content: "→"; transition: transform .18s ease; }
.btn--arrow:hover::after { transform: translateX(3px); }

/* Big tappable phone block (conversion band, contact) */
.phone-block {
  display: inline-flex; align-items: center; gap: .9rem;
  background: var(--sfbc-white); color: var(--sfbc-navy);
  border-radius: var(--radius-lg); padding: .9rem 1.5rem; text-decoration: none;
  box-shadow: var(--shadow-1); min-height: 64px;
}
.phone-block:hover { box-shadow: var(--shadow-2); color: var(--sfbc-navy); transform: translateY(-1px); }
.phone-block svg { width: 28px; height: 28px; flex: none; color: var(--sfbc-coral); }
.phone-block .phone-block__num { font-family: var(--font-display); font-size: var(--step-2); font-weight: 650; line-height: 1; white-space: nowrap; }
.phone-block .phone-block__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: var(--caps-track); text-transform: uppercase; color: #55677a; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 240, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 37, 69, .08);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-3); min-height: 76px; width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }
.site-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--sfbc-navy); }
.site-logo svg { width: 52px; height: 52px; flex: none; }
.site-logo__text { font-family: var(--font-display); font-weight: 700; color: var(--sfbc-navy); font-size: 1.05rem; line-height: 1.12; }
/* Two block words (was <br>) so the accessible text reads "South Florida Boat Club"
   with a space — keeps WCAG 2.5.3 Label-in-Name matching the aria-label. */
.site-logo__l { display: block; }
.site-logo__text small { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sfbc-bronze); margin-top: .15rem; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 1.2rem; padding: 0; margin: 0; align-items: center; }
.nav-item { position: relative; }
.nav-link { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--sfbc-ink); padding-block: .4rem; border-bottom: 2px solid transparent; display: inline-block; }
.nav-link:hover, .nav-link[aria-current] { color: var(--sfbc-ocean); border-bottom-color: var(--sfbc-brass); }
/* Disclosure toggle (chevron) beside a hub link */
.nav-item--panel { display: inline-flex; align-items: center; gap: .1rem; }
.nav-toggle-panel { background: none; border: 0; padding: .3rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--sfbc-ink); border-radius: 4px; min-width: 24px; min-height: 24px; box-sizing: border-box; }
.nav-toggle-panel svg { width: 16px; height: 16px; transition: transform .18s ease; }
.nav-toggle-panel[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Panel: navy card, brass hover rule */
.nav-panel {
  list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 15rem;
  background: var(--sfbc-navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  border-top: 3px solid var(--sfbc-brass); z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item--panel.is-open .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-panel a { display: block; padding: .55rem .7rem; border-radius: var(--radius); text-decoration: none; color: #EAF0F7; font-size: .95rem; font-weight: 500; border-left: 2px solid transparent; }
.nav-panel a small { display: block; font-size: .78rem; font-weight: 400; color: #A9BDD2; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--sfbc-navy-800); color: #fff; border-left-color: var(--sfbc-brass); outline: none; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--sfbc-navy); }

@media (max-width: 60em) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sfbc-foam); border-bottom: 1px solid rgba(11,37,69,.1); padding: var(--sp-3); box-shadow: var(--shadow-2); max-height: 80vh; overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: .2rem; align-items: stretch; }
  .nav-item { position: static; }
  .nav-link { display: block; padding: .65rem .25rem; font-size: 1.05rem; }
  /* Mobile accordion: panel flows inline, toggled by button */
  .nav-item--panel { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav-toggle-panel { justify-self: end; padding: .65rem; min-height: 44px; min-width: 44px; justify-content: center; }
  .nav-panel { position: static; opacity: 1; visibility: visible; transform: none; display: none; grid-column: 1 / -1; margin: .2rem 0 .4rem; box-shadow: none; }
  .nav-item--panel:hover .nav-panel { opacity: 1; visibility: visible; } /* hover no-op on touch */
  .nav-item--panel.is-open .nav-panel { display: block; }
  .nav-panel a { min-height: 48px; display: flex; flex-direction: column; justify-content: center; }
  .nav-toggle { display: block; order: 4; margin-left: 0; }
  .header-cta { margin-left: auto; }
  .header-cta .btn--phone span { display: none; }
}
@media (max-width: 30em) {
  .site-header__inner { gap: .6rem; min-height: 62px; }
  .site-logo svg { width: 40px; height: 40px; }
  .site-logo__text { font-size: .82rem; }
  .site-logo__text small { display: none; }
  .header-cta { gap: .3rem; }
  .header-cta .btn--cta { padding: .45rem .8rem; font-size: .88rem; min-height: 44px; white-space: nowrap; }
  .header-cta .btn--phone { display: none; }
}

/* Mobile bottom action bar */
.action-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: var(--sfbc-navy); padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); gap: .6rem; }
.action-bar .btn { flex: 1; min-height: 50px; }
.action-bar .btn--phone { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 48em) {
  .action-bar { display: flex; }
  .action-bar .btn { padding: .5rem .6rem; font-size: .92rem; white-space: nowrap; }
  body { padding-bottom: 76px; }
  .cky-btn-revisit-wrapper { bottom: 92px !important; }
}

/* ---- Breadcrumbs ----------------------------------------------------------
   Navy chip panel: AA on any background, photographic heroes included. */
.breadcrumbs { margin-bottom: var(--sp-3); }
.breadcrumbs ol {
  list-style: none; padding: .45rem .9rem; margin: 0; display: inline-flex; gap: .55rem; flex-wrap: wrap;
  background: rgba(8, 27, 51, .78); border-radius: 99px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em;
  max-width: 100%;
}
.breadcrumbs a { color: #D8E4F0; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs li { color: #FFFFFF; white-space: nowrap; }
.breadcrumbs li[aria-current] { color: #F3E9C9; }
.breadcrumbs .sep { color: var(--sfbc-brass); }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; background: var(--sfbc-navy); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* R9 §1: crossfade rotation. Frames stack; only .is-active is visible. Frame 1 (the hero
   image) is preloaded/LCP; frames 2–n are injected after load. Opacity only → CLS 0. */
.hero__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero__frame.is-active { opacity: 1; }
/* Caption + pause/play chip (R9.1). The chip is revealed only once JS arms the rotation
   (.hero__caption--on); the location text collapses in/out per frame; the toggle is always
   present while rotating (WCAG 2.2.2 pause mechanism). */
.hero__caption { position: absolute; right: clamp(1rem, 4vw, 2.5rem); bottom: 6.25rem; z-index: 1; margin: 0;
  display: inline-flex; align-items: center; gap: .1rem; max-width: min(80vw, 26rem);
  background: rgba(8,27,51,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22); color: #EAF0F7; border-radius: 99px;
  padding: .25rem .35rem .25rem .55rem; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.hero__caption--on { opacity: 1; pointer-events: auto; }
.hero__caption-text { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .4s ease, opacity .4s ease, margin .4s ease; }
.hero__caption--has-text .hero__caption-text { max-width: 20rem; opacity: 1; margin-right: .15rem; }
.hero__caption-text::before { content: ""; width: 12px; height: 12px; flex: 0 0 auto; background: currentColor;
  -webkit-mask: no-repeat center/contain; mask: no-repeat center/contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.hero__caption-toggle { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #EAF0F7; cursor: pointer;
  transition: background .15s ease; }
.hero__caption-toggle:hover { background: rgba(255,255,255,.28); }
.hero__caption-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero__caption-toggle svg { width: 14px; height: 14px; fill: currentColor; }
@media (max-width: 700px) { .hero__caption { top: 1rem; bottom: auto; } .hero__caption--has-text .hero__caption-text { max-width: 0; opacity: 0; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__frame { transition: none; } .hero__caption, .hero__caption-text { transition: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,37,69,.38) 0%, rgba(11,37,69,.58) 55%, rgba(8,27,51,.86) 100%); }
.hero__inner { padding-block: var(--space-2xl); max-width: 46rem; }
.hero h1 { color: #fff; font-size: var(--step-5); font-weight: 700; font-variation-settings: "opsz" 110; }
.hero .lede { color: #DCE6F0; margin-top: var(--sp-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); align-items: center; }
.hero--interior .hero__inner { padding-block: var(--space-xl); }
.hero--plain { background: linear-gradient(160deg, var(--sfbc-navy) 0%, var(--sfbc-navy-900) 78%); }
.hero--plain::after { background: none; }
.hero--plain .hero__rule { border: 0; width: 72px; height: 3px; background: var(--sfbc-brass); margin: 0 0 var(--sp-3); }
.hero__watermark { position: absolute; right: -6%; bottom: -18%; width: min(46vw, 520px); opacity: .07; z-index: -1; pointer-events: none; }
.hero__watermark svg { width: 100%; height: auto; }

/* Trust bar */
.trust-bar { background: rgba(8,27,51,.55); border-top: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.trust-bar ul { list-style: none; margin: 0; padding: 1.1rem 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; }
.trust-bar li { text-align: center; color: #DCE6F0; font-size: .92rem; font-weight: 500; }
.trust-bar strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--sfbc-brass); font-weight: 650; }

/* ---- Benefits grid (R9 §4 — "Benefits of Boat Club Membership") ------------ */
.benefit-grid { display: grid; gap: var(--sp-4) var(--sp-5); list-style: none; padding: 0; max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.benefit { display: flex; flex-direction: column; gap: .35rem; }
.benefit svg { width: 30px; height: 30px; color: var(--sfbc-brass); }
.benefit h3 { margin: .1rem 0 0; font-size: var(--step-0); color: var(--sfbc-navy); font-family: var(--font-display); }
.benefit p { margin: 0; font-size: var(--step--1); color: #55677a; line-height: 1.5; }

/* ---- Cards ---------------------------------------------------------------- */
.card-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); padding: 0; list-style: none; max-width: none; }
.card { background: var(--sfbc-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: box-shadow .22s ease, transform .22s ease; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-4px); }
.card__media { position: relative; overflow: hidden; }
.card__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .card:hover .card__media img { transform: none; } }
.card__body { padding: var(--sp-3) var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__body h3 { font-size: var(--step-1); }
.card__body h3 a { text-decoration: none; color: var(--sfbc-navy); }
.card__body h3 a::after { content: " →"; opacity: 0; display: inline-block; transform: translateX(-4px); transition: opacity .18s ease-out, transform .18s ease-out; }
.card:hover .card__body h3 a::after { opacity: 1; transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .card__body h3 a::after { transition: opacity .18s ease-out; transform: none; } }
.card__meta { font-size: var(--step--1); color: #55677a; }
.card__cta { margin-top: auto; padding-top: var(--sp-2); }
.badge { display: inline-block; background: var(--sfbc-navy); color: #fff; border-radius: 99px; font-size: .78rem; font-weight: 600; padding: .22rem .75rem; letter-spacing: .04em; }
.badge--brass { background: var(--sfbc-brass); color: var(--sfbc-navy-900); }
.badge--outline { background: transparent; border: 1.5px solid var(--sfbc-mist); color: #3d4f61; }

/* Typographic media tile — crisp fallback until a compliant asset lands */
.media-tile { aspect-ratio: 3 / 2; background: linear-gradient(150deg, var(--sfbc-navy) 0%, var(--sfbc-ocean) 115%); display: grid; place-items: center; position: relative; overflow: hidden; }
.media-tile svg { width: 42%; height: auto; color: rgba(255,255,255,.16); position: absolute; right: -8%; bottom: -12%; }
.media-tile span { position: relative; color: var(--sfbc-brass); font-family: var(--font-ui); font-size: .8rem; font-weight: 650; letter-spacing: var(--caps-track); text-transform: uppercase; text-align: center; padding: 0 1rem; }

/* ---- Media band (alternating photo/content composition) ------------------- */
.band { display: grid; gap: var(--space-l); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 56em) {
  .band { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  /* flip = media to the LEFT (order below the body's default 0) */
  .band--flip > .band__media { order: -1; }
}
.band__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.band__media--wide img { aspect-ratio: 16 / 10; }
.band__body > * + * { margin-top: var(--sp-2); }

/* Full-bleed photo interlude */
.interlude { position: relative; isolation: isolate; min-height: clamp(320px, 46vh, 560px); display: grid; place-items: center; color: #fff; overflow: hidden; }
.interlude img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.interlude::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,27,51,.5), rgba(8,27,51,.72)); }
.interlude__inner { text-align: center; padding: var(--space-xl) var(--sp-3); max-width: 44rem; }
.interlude h2 { color: #fff; }
.interlude .lede { color: #D8E4F0; margin-inline: auto; }

/* ---- Chapters (About) ------------------------------------------------------ */
.chapter { display: grid; gap: var(--space-l); align-items: start; grid-template-columns: 1fr; margin-block: var(--space-xl); }
@media (min-width: 56em) {
  .chapter { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .chapter:nth-of-type(even) .chapter__media { order: 2; }
}
.chapter__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.chapter__num { font-family: var(--font-display); font-size: var(--step-4); color: var(--sfbc-brass); font-weight: 700; line-height: 1; }

/* ---- Process steps (Training / How it works) ------------------------------- */
.process { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--sp-4); max-width: none; }
.process li { counter-increment: step; display: grid; gap: var(--sp-3); background: var(--sfbc-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); }
@media (min-width: 48em) { .process li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .process li:nth-child(even) .process__media { order: 2; } }
.process__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.process__body { padding: var(--sp-4); }
.process__body::before { content: "Step " counter(step); font-family: var(--font-ui); font-size: var(--step--1); font-weight: 650; letter-spacing: var(--caps-track); text-transform: uppercase; color: var(--sfbc-bronze); display: block; margin-bottom: .4rem; }
.process__body h3 { margin-bottom: .5rem; }

/* Steps (compact numeric, no imagery) */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); max-width: none; }
.steps li { counter-increment: step; background: var(--sfbc-white); padding: var(--sp-4); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); border-top: 3px solid var(--sfbc-brass); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: var(--step-3); color: var(--sfbc-brass); display: block; font-weight: 700; line-height: 1; margin-bottom: .5rem; }
.steps h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.steps p { font-size: var(--step--1); color: #435363; }

/* Stretched-link: whole card is the click target */
.card--stretch { position: relative; cursor: pointer; }
.card--stretch .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card--stretch:focus-within { outline: 3px solid var(--sfbc-brass); outline-offset: 2px; }
.card--stretch .stretch:focus-visible { outline: none; }
/* Every interactive child inside a stretched-link card must sit ABOVE the .stretch
   overlay (z-index:1) so it receives its OWN clicks — not just .card__cta/.btn (R7.1 #2:
   a static/z-auto "via Google" pill was letting the overlay swallow clicks to the card). */
.card--stretch a:not(.stretch), .card--stretch button, .card--stretch .card__cta, .card--stretch .btn { position: relative; z-index: 2; }
/* R8 §1: source pills are now NON-interactive spans everywhere, so the R7.1
   review-anchor z-index workaround is gone — no anchors remain in review cards. */
.resource-cards li { position: relative; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.resource-cards li:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.resource-cards li:focus-within { outline: 3px solid var(--sfbc-brass); outline-offset: 2px; }
.resource-cards a.stretch::after { content: ""; position: absolute; inset: 0; }
.resource-cards a.stretch { text-decoration: none; }
.resource-cards a.stretch:focus-visible { outline: none; }
.resource-cards a.stretch::before { content: "→ "; color: var(--sfbc-bronze); }

/* ---- Plans ------------------------------------------------------------------ */
.plan-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); max-width: 64rem; margin-inline: auto; }
.plan { background: var(--sfbc-white); border-radius: var(--radius-lg); padding: var(--space-l); box-shadow: var(--shadow-1); border-top: 4px solid var(--sfbc-brass); display: flex; flex-direction: column; gap: var(--sp-2); }
.plan__price { font-family: var(--font-display); font-size: var(--step-4); color: var(--sfbc-navy); font-weight: 700; line-height: 1; }
.plan__price small { font-family: var(--font-ui); font-size: var(--step-0); font-weight: 500; color: #55677a; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--sfbc-bronze); font-weight: 700; }
.plan .btn { align-self: start; }

/* ---- Spec sheet (designed, not a bare table) ------------------------------- */
.spec-sheet { background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.spec-sheet__head { background: var(--sfbc-navy); color: #fff; padding: var(--sp-3) var(--sp-4); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.spec-sheet__head h3 { color: #fff; font-size: var(--step-1); }
.spec-sheet__head .mono { color: var(--sfbc-brass); }
.spec-sheet dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0; margin: 0; max-width: none; }
.spec-sheet .spec-cell { padding: var(--sp-3) var(--sp-4); border-top: 1px solid #EDE9E0; border-right: 1px solid #EDE9E0; }
.spec-sheet dt { font-size: .74rem; font-weight: 650; letter-spacing: var(--caps-track); text-transform: uppercase; color: #55677a; margin-bottom: .3rem; }
.spec-sheet dd { margin: 0; font-family: var(--font-mono); font-size: 1.02rem; color: var(--sfbc-navy); font-weight: 500; }

/* Legacy simple table kept for contact/office directories */
.spec-table { width: 100%; border-collapse: collapse; background: var(--sfbc-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.spec-table th, .spec-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid #EDE9E0; vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--sfbc-navy); width: 40%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---- Testimonials / pull quotes --------------------------------------------- */
.quote-rail { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); max-width: none; padding: 0; list-style: none; }
.quote { background: var(--sfbc-white); border-radius: var(--radius-lg); padding: var(--sp-4); box-shadow: var(--shadow-1); border-left: 3px solid var(--sfbc-brass); }
.quote footer { margin-top: var(--sp-2); font-weight: 600; color: var(--sfbc-navy); }
.quote footer::before { content: "— "; }
.pull-quote { border: 0; border-left: 3px solid var(--sfbc-brass); background: var(--sfbc-white); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow-1); padding: var(--sp-4) var(--sp-4); margin-block: var(--space-l); font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--sfbc-navy); }
.pull-quote footer { font-family: var(--font-ui); font-size: var(--step--1); font-weight: 600; color: #55677a; margin-top: var(--sp-2); }

/* ---- Conversion band (R2 redesign — most legible section on the page) ------- */
.conversion { position: relative; isolation: isolate; background: var(--sfbc-navy-900); color: #EAF0F7; padding-block: var(--space-xl); border-top: 3px solid var(--sfbc-brass); }
.conversion__media, .conversion__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.conversion__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,27,51,.94) 30%, rgba(8,27,51,.78) 100%); }
.conversion h2 { color: #fff; font-size: var(--step-3); }
.conversion .lede { color: #D8E4F0; }
.conversion__grid { display: grid; gap: var(--space-l); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 56em) { .conversion__grid { grid-template-columns: 1fr 1.05fr; } }
.conversion .phone-block { margin-top: var(--sp-4); }
.conversion__points { list-style: none; padding: 0; margin-top: var(--sp-3); display: grid; gap: .55rem; color: #D8E4F0; font-size: var(--step--1); }
.conversion__points li { padding-left: 1.4rem; position: relative; }
.conversion__points li::before { content: "✓"; position: absolute; left: 0; color: var(--sfbc-brass); font-weight: 700; }

/* Forms: white card, navy labels — max legibility on any band */
.form { display: grid; gap: var(--sp-2); background: var(--sfbc-white); padding: var(--sp-4); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); color: var(--sfbc-ink); }
.form h3 { color: var(--sfbc-navy); }
.form label { font-weight: 600; font-size: var(--step--1); display: block; margin-bottom: .3rem; color: var(--sfbc-navy); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: .6rem .85rem; border-radius: var(--radius); border: 1.5px solid #B9C6D4; background: var(--sfbc-white); color: var(--sfbc-ink); }
.form input::placeholder, .form textarea::placeholder { color: #55677a; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sfbc-ocean); }
.form textarea { min-height: 7rem; }
.form .hp-field { position: absolute !important; left: -9999px !important; }
.form__note { font-size: var(--step--1); color: #435363; max-width: none; }
.form__note a { color: var(--sfbc-ocean); }
.form-msg { padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 500; }
.form-msg--ok { background: #E5F2E5; color: #1C5E20; }
.form-msg--err { background: #FBE9E4; color: #8C2E12; }

/* ---- Video facade ------------------------------------------------------------ */
.video-facade { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); cursor: pointer; border: 0; padding: 0; background: var(--sfbc-navy); display: block; width: 100%; }
.video-facade img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,51,.1), rgba(8,27,51,.45)); }
.video-facade__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--sfbc-coral); display: grid; place-items: center; z-index: 1; box-shadow: var(--shadow-2); transition: transform .18s ease; }
.video-facade:hover .video-facade__play { transform: scale(1.06); }
.video-facade__play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-facade__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; color: #fff; font-weight: 600; padding: var(--sp-3); text-align: left; text-shadow: 0 1px 8px rgba(8,27,51,.8); }
.video-embed { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); border: 0; }

/* ---- FAQ page (R6 redesign) ---------------------------------------------------- */
.faq-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-3); list-style: none; padding: 0; max-width: none; }
.faq-chips a { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; background: rgba(255,255,255,.08); color: #fff; border-radius: 99px; padding: .5rem 1rem; font-size: .9rem; border: 1px solid rgba(255,255,255,.2); }
/* Keep the brass number ≥4.5:1 (AA) in both states: base .08 → 5.07:1, hover .11 → 4.58:1. */
.faq-chips a:hover { background: rgba(255,255,255,.11); color: #fff; border-color: rgba(255,255,255,.32); }
.faq-chips strong { font-family: var(--font-display); color: var(--sfbc-brass); font-size: 1.05rem; }
.faq-layout { display: grid; gap: var(--space-l); grid-template-columns: 1fr; }
@media (min-width: 60em) { .faq-layout { grid-template-columns: 15rem 1fr; align-items: start; } }
.faq-jump { position: sticky; top: 96px; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .3rem; }
.faq-jump.pills { position: static; flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-3); }
@media (min-width: 60em) { .faq-jump.pills { display: none; } }
@media (max-width: 60em) { .faq-jump.side { display: none; } }
.faq-jump a { text-decoration: none; color: var(--sfbc-navy); font-weight: 600; padding: .5rem .7rem; border-radius: var(--radius); border-left: 2px solid transparent; display: block; }
.faq-jump.pills a { border: 1.5px solid var(--sfbc-mist); border-radius: 99px; font-size: .9rem; }
.faq-jump a:hover, .faq-jump a[aria-current] { background: #fff; border-left-color: var(--sfbc-brass); color: var(--sfbc-ocean); }
.faq-group { margin-bottom: var(--space-l); scroll-margin-top: 90px; }
.faq-group__head { display: flex; align-items: center; gap: .8rem; margin-bottom: var(--sp-3); }
.faq-group__head svg { width: 34px; height: 34px; color: var(--sfbc-bronze); flex: none; }
.faq-group__head h2 { font-size: var(--step-2); }
.faq-group__cta { margin-top: var(--sp-3); }
.faq-expand { background: none; border: 1.5px solid var(--sfbc-mist); border-radius: 99px; padding: .35rem .9rem; font-size: .85rem; font-weight: 600; cursor: pointer; margin-left: auto; }
.faq-expand:hover { border-color: var(--sfbc-ocean); }

/* ---- FAQ ----------------------------------------------------------------------- */
.faq-group { margin-bottom: var(--space-l); }
.faq-group__head { display: flex; align-items: center; gap: .8rem; margin-bottom: var(--sp-3); }
.faq-group__head svg { width: 34px; height: 34px; color: var(--sfbc-bronze); flex: none; }
.faq-group__head h2 { font-size: var(--step-2); }
.faq-item { background: var(--sfbc-white); border-radius: var(--radius); box-shadow: var(--shadow-1); margin-bottom: var(--sp-2); }
.faq-item summary { cursor: pointer; padding: var(--sp-3); font-weight: 600; color: var(--sfbc-navy); font-size: var(--step-1); font-family: var(--font-display); list-style: none; position: relative; padding-right: 3rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: var(--sp-3); top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--sfbc-brass); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 var(--sp-3) var(--sp-3); }

/* ---- Resource cards ---------------------------------------------------------- */
.resource-cards { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); padding: 0; list-style: none; max-width: none; }
.resource-cards li { background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: var(--sp-3); border-top: 3px solid var(--sfbc-brass); }
.resource-cards a { font-weight: 600; text-decoration: none; }
.resource-cards .card__meta { margin-top: .3rem; }

/* Map embed */
.map-embed { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); filter: saturate(.85); }

/* Fleet filter */
.fleet-filter, .review-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: var(--space-l); }
.fleet-filter button, .review-filter button { border: 1.5px solid var(--sfbc-mist); background: var(--sfbc-white); border-radius: 99px; padding: .45rem 1.1rem; font-weight: 500; cursor: pointer; min-height: 44px; transition: background .15s ease; }
.fleet-filter button:hover, .review-filter button:hover { border-color: var(--sfbc-ocean); }
.fleet-filter button[aria-pressed="true"], .review-filter button[aria-pressed="true"] { background: var(--sfbc-navy); color: #fff; border-color: var(--sfbc-navy); }

/* Calculator */
.calc { display: grid; gap: var(--space-l); grid-template-columns: 1fr; }
@media (min-width: 56em) { .calc { grid-template-columns: 1fr 1fr; } }
.calc__result { background: var(--sfbc-white); border-radius: var(--radius-lg); padding: var(--space-l); box-shadow: var(--shadow-1); border-top: 4px solid var(--sfbc-brass); }
.calc output { font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; color: var(--sfbc-navy); display: block; }
.calc small { color: #55677a; }

/* ---- Footer (R2 premium multi-zone) ------------------------------------------- */
.site-footer { background: linear-gradient(180deg, var(--sfbc-navy-900) 0%, #060F1D 100%); color: #B9C6D4; font-size: .95rem; border-top: 3px solid var(--sfbc-brass); }
.site-footer a { color: #D5DEE8; text-decoration: none; }
.site-footer a.btn--cta, .site-footer a.btn--cta:hover { color: #fff; text-decoration: none; }
/* Member Reservations is the #1 action for existing members — make it a real secondary
   CTA on the navy footer: 2px white border + white text (both >4.5:1 / >3:1 vs footer
   navy #060F1D), subtle white fill on hover. (R6.5 §6.) */
.site-footer a.btn--ghost { color: #fff; text-decoration: none; border: 2px solid #fff; background: transparent; opacity: 1; }
.site-footer a.btn--ghost:hover { color: #fff; text-decoration: none; border-color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p a { text-decoration: underline; }

.footer-brand { display: flex; gap: var(--sp-3); align-items: center; padding-block: var(--space-l) var(--sp-4); border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer-brand svg { width: 72px; height: 72px; color: var(--sfbc-brass); flex: none; }
.footer-brand__name { font-family: var(--font-display); font-size: var(--step-2); color: #fff; font-weight: 650; line-height: 1.15; }
.footer-brand__tag { font-size: .85rem; letter-spacing: var(--caps-track); text-transform: uppercase; color: var(--sfbc-brass); font-weight: 600; margin-top: .3rem; }
.footer-brand__cta { margin-left: auto; display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }

.footer-locations { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); padding-block: var(--sp-6); list-style: none; max-width: none; }
.footer-locations li { background: var(--sfbc-navy-800); border-radius: var(--radius-lg); padding: var(--sp-3); border-top: 2px solid var(--sfbc-brass); }
.footer-locations strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .35rem; }
.footer-locations address { font-style: normal; line-height: 1.55; font-size: .9rem; }
.footer-locations .tel { display: inline-block; margin-top: .5rem; font-weight: 600; color: #EAF0F7; }

.site-footer__grid { display: grid; gap: var(--space-l); padding-block: 0 var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: var(--caps-track); text-transform: uppercase; margin-bottom: var(--sp-2); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; max-width: none; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--sp-3); display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: space-between; align-items: center; font-size: .85rem; }
.social-links, .site-footer ul.social-links { display: flex; gap: .8rem; padding: 0; list-style: none; flex-wrap: wrap; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .18s ease; }
.social-links a:hover { background: var(--sfbc-ocean); }
.social-links svg { width: 18px; height: 18px; fill: #D5DEE8; }

/* ---- Checklist (cost guide "questions to ask") ---------------------------------- */
.prose ul.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; max-width: none; }
.prose ul.check-list li { padding-left: 2rem; position: relative; }
.prose ul.check-list li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--sfbc-bronze); -webkit-mask: no-repeat center/0.8rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E"); mask: no-repeat center/0.8rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E"); }

/* ---- Locations map (R6) --------------------------------------------------------- */
.locations-map-wrap { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 56em) { .locations-map-wrap { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.locations-map { height: 460px; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); background: #e8ecf0; overflow: hidden; z-index: 0; }
@media (max-width: 56em) { .locations-map { height: 340px; } }
.locations-map__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; max-width: none; }
.locations-map__list li { background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: .8rem 1rem; display: flex; align-items: center; gap: .75rem; justify-content: space-between; flex-wrap: wrap; }
.loc-pin-btn { display: flex; align-items: center; gap: .7rem; background: none; border: 0; cursor: pointer; text-align: left; padding: 0; flex: 1; min-width: 12rem; }
.loc-pin-btn__num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sfbc-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.loc-pin-btn[aria-current] .loc-pin-btn__num { background: var(--sfbc-coral); }
.loc-pin-btn strong { display: block; color: var(--sfbc-navy); font-family: var(--font-display); }
.loc-pin-btn small { display: block; color: #55677a; font-size: .82rem; }
.loc-dir { font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sfbc-pin { background: none; border: 0; }
.sfbc-pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--sfbc-coral); color: #fff; font-weight: 700; font-size: .85rem; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(8,27,51,.4); border: 2px solid #fff; }
.sfbc-pin span b { transform: rotate(45deg); font-weight: 700; }
.leaflet-popup-content { font-family: var(--font-ui); }
.leaflet-popup-content strong { font-family: var(--font-display); color: var(--sfbc-navy); }

/* ---- Reviews (R6) --------------------------------------------------------------- */
.review-wall { columns: 3 22rem; column-gap: var(--sp-4); padding: 0; list-style: none; max-width: none; }
@media (max-width: 60em) { .review-wall { columns: 2 18rem; } }
@media (max-width: 40em) { .review-wall { columns: 1; } }
.review-wall .review { break-inside: avoid; margin: 0 0 var(--sp-4); }
.review-strip { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(18rem,100%),1fr)); padding: 0; list-style: none; max-width: none; }
/* Strips show the full verbatim text (curated to the short pool) — NO clamp anywhere
   (R6.5 §5). Cards align tops; taller-than-neighbour cards are fine. */
.review-strip .review { align-self: start; }
.review-strip .review__text p { margin: 0 0 .5rem; }
.review-strip .review__text p:last-child { margin-bottom: 0; }
.review { background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); border-left: 3px solid var(--sfbc-brass); }

/* ---- Shared review-card body (.revx) — UNIFORM light card for wall, strip, carousel.
   R8.1 reverted R8's two-tone Google/navy split, per-card G marks, quote glyphs, and the
   "Verified Google Reviews" header. Kept: gold stars, initials avatar, name, honest label,
   and the (accurate, additive) month-year date. */
.revx { position: relative; margin: 0; padding: var(--sp-4); display: flex; flex-direction: column; gap: .55rem; }
.revx-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.revx p { margin: 0; font-size: var(--step-0); color: var(--sfbc-ink); max-width: none; }
.review__text p { margin: 0 0 .5rem; } .review__text p:last-child { margin-bottom: 0; }
.revx-foot { display: flex; align-items: center; gap: .6rem; margin-top: .35rem; }
.revx-avatar { flex: 0 0 auto; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; letter-spacing: .02em; background: var(--sfbc-navy); color: #fff; }
.revx-id { display: flex; flex-direction: column; gap: .05rem; min-width: 0; text-align: left; }
.revx cite { font-style: normal; font-weight: 650; color: var(--sfbc-navy); font-family: var(--font-display); }
.revx .rev-meta { font-size: .8rem; color: #55677a; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.revx-date { color: #55677a; }
.rev-source { display: inline-block; font-size: .68rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: .14rem .5rem; border-radius: 99px; }
.rev-source--site-legacy { background: #EEF1E9; color: #4a5a2a; }
.rev-source--google { background: #EAF1FB; color: #1a56b0; }
.rev-source--provided { background: #F3EEDF; color: #7a5c12; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; }
.stars svg.on { fill: var(--sfbc-brass); }
.stars svg.off { fill: #D9DEE4; }
.section--navy .review, .section--deep .review, .conversion .review { color: var(--sfbc-ink); }

/* ---- Homepage "Member's Experience" carousel (Freedom Boat Club AU pattern) ------
   Light, centred, sleek. A transform-based track keeps the ACTIVE card pinned to the
   page centre axis at every position/breakpoint (no scroll-snap drift). Cards are
   plain white + soft shadow (no brass bar/border), everything centre-aligned, uniform
   height, text vertically centred. Elevation is transform/opacity only → CLS 0.
   Curation (short reviews only) keeps it sleek — the card text is never truncated. */
.rc-wrap { --rc-w: 30%; --rc-gap: 1.25rem; margin-top: var(--sp-3); }
/* .rc reserves 6rem OUTER gutters (≥1024) so the arrows sit fully clear of the cards,
   which are clipped inside the inset viewport. Below 1024 the gutters collapse and the
   arrows hide (swipe + dots). */
.rc { position: relative; padding-inline: 6rem; }
.rc-viewport { overflow: hidden; }
.rc-track { display: flex; gap: var(--rc-gap); align-items: stretch; touch-action: pan-y;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
/* No fade — all cards fully readable (§3). Depth comes from scale + shadow only. */
.rc-wrap.rc-init .rc-track { opacity: 0; }             /* hide the pre-position frame */
.rc-wrap.rc-ready .rc-track { opacity: 1; transition: opacity .3s ease, transform .45s cubic-bezier(.4,0,.2,1); }
.rc-card {
  flex: 0 0 var(--rc-w); min-height: 13rem; box-sizing: border-box;
  background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: 0 6px 22px rgba(11,37,69,.07);
  display: flex; text-align: center; opacity: 1;
  transform: scale(.94); transition: transform .4s ease, box-shadow .4s ease;
}
.rc-card.is-active { transform: scale(1); box-shadow: 0 16px 42px rgba(11,37,69,.15); }
.rc-card blockquote { margin: 0; padding: var(--sp-3) var(--sp-3); width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; }
.rc-card .stars { justify-content: center; }
.rc-card__text { color: var(--sfbc-ink); }
.rc-card__text p { margin: 0 0 .5rem; font-size: .94rem; line-height: 1.58; }
.rc-card__text p:last-child { margin-bottom: 0; }
.rc-card footer { display: flex; flex-direction: column; align-items: center; gap: .15rem; margin-top: .2rem; }
.rc-card cite { font-style: normal; font-weight: 650; color: var(--sfbc-navy); font-family: var(--font-display); }
.rc-card .rev-meta { font-size: .78rem; color: #55677a; }
/* Centred carousel: stack avatar over the name, centre the label/date row. */
.rc-card .revx-head { justify-content: center; }
.rc-card .revx-foot { flex-direction: column; gap: .3rem; }
.rc-card .revx-id { text-align: center; align-items: center; }
.rc-card .rev-meta { justify-content: center; }
.rc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--sfbc-mist);
  background: var(--sfbc-white); color: var(--sfbc-navy); box-shadow: 0 4px 14px rgba(11,37,69,.10);
  display: grid; place-items: center; cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.rc-arrow:hover { border-color: var(--sfbc-ocean); color: var(--sfbc-ocean); }
.rc-arrow[disabled] { opacity: .3; cursor: default; }
.rc-arrow svg { width: 20px; height: 20px; }
/* Arrows sit centred in the 6rem outer gutters — the cards are clipped inside the inset
   viewport, so an arrow never geometrically intersects a card (≥40px clear, ≥1024). */
.rc-arrow--prev { left: 0.75rem; }
.rc-arrow--next { right: 0.75rem; }
.rc-arrow--next svg { transform: scaleX(-1); }
.rc-dots { display: flex; gap: .3rem; justify-content: center; margin-top: var(--sp-3); }
/* 24×24 tap target (WCAG 2.5.8) with a 9px visual dot centred inside. */
.rc-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.rc-dots button::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: #C7D0DA; }
.rc-dots button[aria-selected="true"]::before { background: var(--sfbc-brass); }
.rc-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; align-items: center; margin-top: var(--sp-4); }
/* Below 1024: no arrow gutters, arrows hidden, one card with peeking neighbours. */
@media (max-width: 1023px) {
  .rc { padding-inline: 0; }
  .rc-wrap { --rc-w: 58%; }
  .rc-arrow { display: none; }
}
@media (max-width: 640px) { .rc-wrap { --rc-w: 82%; } }
@media (prefers-reduced-motion: reduce) { .rc-track, .rc-card { transition: none; } }

/* ---- Members masonry: interleaved photo cards + featured (heavier) reviews ----- */
.review-wall--masonry .review-photo { break-inside: avoid; margin: 0 0 var(--sp-4); background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.review-photo figure { margin: 0; }
.review-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.review-photo figcaption { font-size: .8rem; color: #55677a; padding: .6rem .85rem .85rem; }
.review--featured { border-left-width: 5px; }
.review--featured blockquote { padding: var(--sp-5) var(--sp-4); }
.review--featured p { font-size: var(--step-1); color: var(--sfbc-navy); font-family: var(--font-display); line-height: 1.5; }

/* Members collage hero: 2×2 outing photos behind the header (scrim keeps text AA) */
.hero--collage .hero__collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 0; }
.hero--collage .hero__collage img { position: static; inset: auto; width: 100%; height: 100%; object-fit: cover; }

/* ---- Member photo gallery (polaroid/editorial, real legacy photos) ------------- */
.member-wall { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); list-style: none; padding: 0; max-width: none; align-items: start; }
.member-wall li { background: var(--sfbc-white); padding: .75rem .75rem 1.1rem; border-radius: 4px; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
.member-wall li:nth-child(odd) { transform: rotate(-1.1deg); }
.member-wall li:nth-child(even) { transform: rotate(1deg); }
.member-wall li:hover { transform: rotate(0) translateY(-3px); box-shadow: var(--shadow-2); }
.member-wall img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.member-wall figcaption { font-size: .82rem; color: #55677a; margin-top: .6rem; text-align: center; }

/* ---- Inclusion strip (home plans) ----------------------------------------------- */
.inclusion-strip { list-style: none; padding: var(--sp-3) 0 0; margin-inline: auto; max-width: 56rem; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); text-align: center; }
.inclusion-strip li { font-size: var(--step--1); color: #435363; font-weight: 550; }
.inclusion-strip svg { width: 30px; height: 30px; margin: 0 auto .45rem; color: var(--sfbc-bronze); display: block; }

/* ---- Prose --------------------------------------------------------------------- */
.prose > * + * { margin-top: var(--sp-2); }
.prose h2 { margin-top: var(--space-l); }
.prose h3 { margin-top: var(--sp-4); }
.prose ul { padding-left: 1.2rem; }
.prose img, .prose figure { border-radius: var(--radius-lg); margin-block: var(--sp-4); }
.prose figure img { margin: 0; box-shadow: var(--shadow-2); }
.prose figcaption { font-size: var(--step--1); color: #55677a; margin-top: .6rem; }

/* Destination feature list */
.dest-grid { list-style: none; padding: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); max-width: none; }
.dest-grid li { background: var(--sfbc-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; }
.dest-grid img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.dest-grid .dest-body { padding: var(--sp-3); }
.dest-grid strong { color: var(--sfbc-navy); font-size: var(--step-1); font-family: var(--font-display); display: block; margin-bottom: .3rem; }

/* ---- Reveal on scroll (JS adds .in) --------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Utility */
.center { text-align: center; }
.mt-l { margin-top: var(--space-l); }
.mt-m { margin-top: var(--sp-3); }
.grid-2 { display: grid; gap: var(--space-l); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 56em) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
