/* ==========================================================================
   SafeBAE Club Hub — shared stylesheet
   Brand kit:
     Logo Teal        #1d5a66   headings, anchors
     SafeBAE Teal     #13848f   primary
     Deep Slate       #1d414e   text, dark backgrounds
     Midnight Indigo  #210658   secondary dark (used sparingly)
     Electric Mint    #15ffc8   accent, CTAs
     Pale Aqua        #d1feff   light backgrounds, tints
     Coral            #fe7171   warm accent (used sparingly)
     Soft Gray        #e1e1e1   neutral backgrounds, dividers
   ========================================================================== */

:root{
  --logo-teal:#1d5a66;
  --safebae-teal:#13848f;
  --deep-slate:#1d414e;
  --midnight:#210658;
  --mint:#15ffc8;
  --pale-aqua:#d1feff;
  --coral:#fe7171;
  --soft-gray:#e1e1e1;

  --ink:#1d414e;
  --ink-soft:#5b7480;
  --page:#ffffff;
  --page-alt:#f6fbfc;
  --radius:12px;
  --maxw:1080px;
  --shadow:0 1px 3px rgba(29,65,78,.08), 0 8px 24px rgba(29,65,78,.06);
}

/* ==========================================================================
   Montserrat — bundled, not fetched
   The widgets each shipped with an @import of Montserrat from Google Fonts,
   which meant the type silently fell back to Helvetica offline and the site
   made a network request on every page. The faces are bundled in
   assets/fonts/ instead: latin subset, weights 400-900, roman and italic,
   woff2 only. Those @import lines have been removed from the page CSS.
   ========================================================================== */
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/montserrat-latin-400-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url('fonts/montserrat-latin-400-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('fonts/montserrat-latin-500-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:500;
  font-display:swap;
  src:url('fonts/montserrat-latin-500-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/montserrat-latin-600-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:600;
  font-display:swap;
  src:url('fonts/montserrat-latin-600-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/montserrat-latin-700-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:700;
  font-display:swap;
  src:url('fonts/montserrat-latin-700-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url('fonts/montserrat-latin-800-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:800;
  font-display:swap;
  src:url('fonts/montserrat-latin-800-italic.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:900;
  font-display:swap;
  src:url('fonts/montserrat-latin-900-normal.woff2') format('woff2');
}
@font-face{
  font-family:'Montserrat';
  font-style:italic;
  font-weight:900;
  font-display:swap;
  src:url('fonts/montserrat-latin-900-italic.woff2') format('woff2');
}

*,*::before,*::after{box-sizing:border-box}

/* Root size drives every rem in the site, including the widgets' own
   stylesheets — nudging it here lifts the whole type scale together. Setting
   only body{font-size} would move inherited copy and leave every rem-sized
   component behind. */
html{scroll-behavior:smooth;font-size:17px}

body{
  margin:0;
  font-family:'Montserrat',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size:1.06rem;
  line-height:1.62;
  color:var(--ink);
  background:var(--page);
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
/* Form controls don't inherit type by default — without this the mobile menu
   button and the mini-player arrows fall back to the UA font. */
button,input,select,textarea{font-family:inherit}

a{color:var(--logo-teal)}
a:hover{color:var(--safebae-teal)}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- Skip link ---------- */
.skip{
  position:absolute;left:-9999px;top:0;
  background:var(--mint);color:var(--deep-slate);
  padding:10px 18px;font-weight:700;z-index:200;border-radius:0 0 8px 0;
}
.skip:focus{left:0}

/* ---------- Header / nav ---------- */
.site-header{
  background:var(--logo-teal);
  color:#fff;
  position:sticky;top:0;z-index:100;
  box-shadow:0 2px 12px rgba(29,65,78,.18);
}
.header-inner{
  max-width:1320px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;
  min-height:66px;gap:16px;
}
/* .brand is a container, not a link: the logo goes to safebae.org and the
   "Club Hub" label goes to this site's home, so they can't be one anchor. */
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:800;font-size:1.05rem;letter-spacing:-.01em;white-space:nowrap;
}
.brand a{color:#fff;text-decoration:none}
.brand-logo{display:flex;align-items:center;gap:10px}
.brand a:hover{color:var(--mint)}
.brand-logo:hover .logo{opacity:.85}
.brand .logo{transition:opacity .15s ease}
.brand .mark{
  width:30px;height:30px;border-radius:8px;
  background:var(--mint);color:var(--deep-slate);
  display:grid;place-items:center;font-size:.78rem;font-weight:900;
}
.brand .sub{
  font-weight:700;color:var(--pale-aqua);font-size:.95rem;
  border-left:1px solid rgba(209,254,255,.35);padding-left:10px;
}
.brand a.sub:hover{color:var(--mint)}

.nav-toggle{
  display:none;background:none;border:1px solid rgba(255,255,255,.35);
  color:#fff;border-radius:8px;padding:7px 12px;font-size:.85rem;
  cursor:pointer;font-weight:600;
}

.nav{display:flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:auto}
.brand{flex-shrink:0}
.nav > li{position:relative;list-style:none}
.nav ul{list-style:none;margin:0;padding:0}
.nav{margin:0;padding:0;list-style:none}

.nav > li > a{
  display:block;padding:10px 11px;color:#fff;text-decoration:none;
  font-size:.845rem;font-weight:600;border-radius:8px;white-space:nowrap;
}
.submenu{right:auto}
.nav > li:last-child .submenu,
.nav > li:nth-last-child(2) .submenu{left:auto;right:0}
.nav > li > a:hover,
.nav > li:focus-within > a{background:rgba(255,255,255,.12);color:#fff}
.nav > li > a[aria-current="page"],
.nav > li.active > a{background:var(--safebae-teal);color:#fff}

.has-children > a::after{
  content:"";display:inline-block;margin-left:6px;
  border:4px solid transparent;border-top-color:currentColor;
  transform:translateY(2px);
}

.submenu{
  position:absolute;left:0;top:100%;min-width:250px;
  background:#fff;border-radius:10px;padding:6px;
  box-shadow:var(--shadow);border:1px solid var(--soft-gray);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav > li:hover > .submenu,
.nav > li:focus-within > .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{
  display:block;padding:9px 14px;border-radius:7px;
  color:var(--deep-slate);text-decoration:none;font-size:.88rem;font-weight:500;
}
.submenu a:hover{background:var(--pale-aqua);color:var(--logo-teal)}
.submenu a[aria-current="page"]{background:var(--pale-aqua);color:var(--logo-teal);font-weight:700}

@media (max-width:1120px){
  .nav-toggle{display:block}
  .nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    background:var(--deep-slate);flex-direction:column;align-items:stretch;
    padding:8px;gap:0;max-height:75vh;overflow-y:auto;
  }
  .nav.open{display:flex}
  .nav > li > a{padding:12px 14px;font-size:.95rem}
  .has-children > a::after{float:right;margin-top:9px}
  .submenu{
    position:static;opacity:1;visibility:visible;transform:none;
    background:transparent;border:none;box-shadow:none;padding:0 0 6px 14px;
  }
  .submenu a{color:var(--pale-aqua);font-size:.88rem;padding:8px 12px}
  .submenu a:hover{background:rgba(255,255,255,.1);color:#fff}
  .submenu a[aria-current="page"]{background:rgba(21,255,200,.15);color:var(--mint)}
  .brand .sub{display:none}
}

/* ---------- Hero ---------- */
.hero{
  /* Flat, not a gradient — the gradient read as a glow across the bar. */
  background:var(--deep-slate);
  color:#fff;padding:64px 0 56px;
}
.hero.compact{padding:44px 0 38px}
.hero .wrap{max-width:var(--maxw)}
.eyebrow{
  display:inline-block;font-size:.72rem;font-weight:800;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--deep-slate);background:var(--mint);
  padding:4px 12px;border-radius:999px;margin-bottom:16px;
}
.hero h1{
  margin:0 0 14px;font-size:clamp(1.9rem,4.4vw,3rem);
  line-height:1.12;letter-spacing:-.02em;font-weight:800;
}
.hero p.lede{
  margin:0;font-size:clamp(1rem,1.7vw,1.18rem);
  color:var(--pale-aqua);max-width:88ch;
}
.hero .btn-row{margin-top:26px}

/* ==========================================================================
   Hero daisy
   A faint line-art daisy set behind the header text, for visual interest.
   Placement varies by page so it never reads as a fixed template element:
   build.py stamps data-daisy="1".."5" onto <body> for the pages that carry
   one, and the variants below move, scale and rotate it.

   The art is assets/img/daisy.png. If that file is absent the pseudo-element
   simply paints nothing — no gap, no broken-image mark — so the heroes look
   exactly as they did before.
   ========================================================================== */
.hero{position:relative;overflow:hidden}
.hero > .wrap{position:relative;z-index:1}

body[data-daisy] .hero::after{
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:0;
  background-image:url('img/daisy.png');
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  opacity:.10;
}

/* upper right, tucked past the corner */
body[data-daisy="1"] .hero::after{
  width:560px;height:440px;right:-90px;top:-110px;transform:rotate(-8deg);
}
/* lower left, half off the band */
body[data-daisy="2"] .hero::after{
  width:520px;height:410px;left:-110px;bottom:-140px;transform:rotate(14deg);opacity:.085;
}
/* lower right, rotated further round */
body[data-daisy="3"] .hero::after{
  width:620px;height:490px;right:4%;bottom:-190px;transform:rotate(22deg);opacity:.09;
}
/* top centre-right, small and steep */
body[data-daisy="4"] .hero::after{
  width:470px;height:370px;left:56%;top:-150px;transform:rotate(-19deg);opacity:.11;
}
/* far right, large, vertically centred */
body[data-daisy="5"] .hero::after{
  width:680px;height:535px;right:-150px;top:50%;margin-top:-268px;transform:rotate(6deg);opacity:.075;
}

/* On a phone the band is short and the text nearly fills it — a large mark
   behind it just muddies the copy. */
@media (max-width:760px){
  body[data-daisy] .hero::after{width:320px;height:250px;opacity:.07}
  body[data-daisy="4"] .hero::after{left:auto;right:-70px}
}
@media print{body[data-daisy] .hero::after{display:none}}

/* ---------- Breadcrumb ---------- */
.crumbs{
  background:var(--page-alt);border-bottom:1px solid var(--soft-gray);
  font-size:.82rem;padding:11px 0;color:var(--ink-soft);
}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.crumbs li::after{content:"›";margin-left:8px;color:var(--soft-gray)}
.crumbs li:last-child::after{content:""}
.crumbs a{color:var(--safebae-teal);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs [aria-current="page"]{color:var(--ink);font-weight:600}

/* ---------- Main content ---------- */
main{display:block}
.content{padding:52px 0}
.content > .wrap > *:first-child{margin-top:0}

.content h2,.section-alt h2{
  font-size:clamp(1.35rem,2.6vw,1.85rem);color:var(--logo-teal);
  margin:44px 0 14px;letter-spacing:-.01em;line-height:1.25;font-weight:750;
}
.content h3,.section-alt h3{
  font-size:1.12rem;color:var(--deep-slate);
  margin:30px 0 10px;font-weight:700;
}
.content h4,.section-alt h4{font-size:.98rem;color:var(--safebae-teal);margin:22px 0 8px;font-weight:700}
.content p,.section-alt p{margin:0 0 16px;max-width:75ch}
p{margin:0 0 16px}
.content ul,.content ol,.section-alt ul,.section-alt ol{margin:0 0 18px;padding-left:22px;max-width:75ch}
.content li,.section-alt li{margin-bottom:7px}
.content li::marker,.section-alt li::marker{color:var(--safebae-teal)}
/* layout lists must never inherit the reading-measure cap */
.nav,.submenu,.crumbs ol,.site-footer ul,.checklist,.steps,.tags,.cards,.child-nav{max-width:none}
.content strong,.section-alt strong{color:var(--deep-slate);font-weight:700}
.content hr,.section-alt hr{border:none;border-top:1px solid var(--soft-gray);margin:44px 0}

.content blockquote,.section-alt blockquote{
  margin:26px 0;padding:18px 24px;
  background:var(--pale-aqua);border-left:5px solid var(--safebae-teal);
  border-radius:0 10px 10px 0;
}
.content blockquote p:last-child{margin-bottom:0}
.content blockquote cite{
  display:block;margin-top:10px;font-size:.85rem;
  font-style:normal;font-weight:700;color:var(--logo-teal);
}

/* ---------- Section rhythm ----------
   Stacked <section class="content"> blocks used to compound .content's own
   padding with .section-alt's margin, opening 150-200px of dead space between
   bands. The colour change already reads as a section break, so the two
   sections either side of a band pull in and let the band's padding do the
   spacing work. */
.content:has(+ .section-alt){padding-bottom:28px}
.section-alt + .content{padding-top:28px}
/* One gap before the footer, not .content's padding plus the footer's margin. */
main > :last-child{padding-bottom:72px}

/* ---------- Dark section band ----------
   A full-bleed Deep Slate band used to break up long white pages and to give
   a section real weight. The band paints past the column with box-shadow +
   clip-path rather than 100vw, so it reaches both viewport edges without ever
   introducing a horizontal scrollbar. Inner content stays on .wrap. */
.section-dark{
  position:relative;
  background:var(--deep-slate);
  color:var(--pale-aqua);
  padding:64px 0 68px;
  margin:0;
  box-shadow:0 0 0 100vmax var(--deep-slate);
  clip-path:inset(0 -100vmax);
}
.section-dark h2,
.content.section-dark h2{color:var(--mint);margin-top:0}
.section-dark h3,
.content.section-dark h3{color:#fff}
.section-dark h4,
.content.section-dark h4{color:var(--mint)}
.section-dark p,
.content.section-dark p,
.section-dark li,
.content.section-dark li{color:var(--pale-aqua)}
.section-dark strong,
.content.section-dark strong{color:#fff}
.section-dark a:not(.btn),
.content.section-dark a:not(.btn){color:var(--mint)}
/* Buttons keep their own fill and label colour on a dark band — without this
   exclusion .btn-primary renders mint-on-mint and the label disappears. */
.section-dark .btn-primary{background:var(--mint);color:var(--deep-slate)}
.section-dark .btn-secondary{background:var(--safebae-teal);color:#fff}
.section-dark .btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.65)}
.section-dark .btn-outline:hover{background:rgba(255,255,255,.16);color:#fff;border-color:#fff}
/* Captions sit on the band, not on a light strip cut out of it. */
.section-dark .figure{background:rgba(255,255,255,.06)}
.section-dark .figure figcaption{
  background:rgba(0,0,0,.22);color:var(--pale-aqua);
  border-top:1px solid rgba(209,254,255,.18);
}
.section-dark li::marker,
.content.section-dark li::marker{color:var(--mint)}
.section-dark hr{border-top-color:rgba(209,254,255,.22)}
.content:has(+ .section-dark){padding-bottom:28px}
.section-dark + .content{padding-top:28px}

/* ---------- Numbered module grid ----------
   Big mint numeral over a short label, four across — the treatment the live
   site uses for the Peer Educator curriculum. Reusable for any numbered list
   of short items. */
.content .module-grid,
.section-alt .module-grid,
.module-grid{
  list-style:none;margin:40px 0 0;padding:0;max-width:none;
  display:grid;gap:44px 26px;
  grid-template-columns:repeat(4,1fr);
  counter-reset:mod;
}
.module-grid li{
  counter-increment:mod;margin:0;text-align:center;
  color:var(--pale-aqua);font-size:1.04rem;line-height:1.5;
  max-width:26ch;justify-self:center;
}
.module-grid li::before{
  content:counter(mod);display:block;
  color:var(--mint);font-weight:800;
  font-size:3.1rem;line-height:1;letter-spacing:-.03em;
  margin-bottom:16px;
}
.module-grid li::marker{content:none}
.module-grid em{font-style:italic}
/* Same selector weight as the base rule above, or the base rule's extra
   .content specificity would beat these and the grid would stay four-across. */
@media (max-width:1000px){
  .content .module-grid,.section-alt .module-grid,.module-grid{grid-template-columns:repeat(3,1fr);gap:40px 26px}}
@media (max-width:760px){
  .content .module-grid,.section-alt .module-grid,.module-grid{grid-template-columns:repeat(2,1fr);gap:34px 22px}
  .module-grid li::before{font-size:2.5rem}}
@media (max-width:420px){
  .content .module-grid,.section-alt .module-grid,.module-grid{grid-template-columns:1fr}}

/* Centred heading treatment for a dark band that leads with a title. */
.section-dark.center-head > .wrap > h2{
  text-align:center;font-size:clamp(1.7rem,3.4vw,2.5rem);
  letter-spacing:-.02em;margin-bottom:0;
}
.section-dark.center-head > .wrap > p{text-align:center;margin-left:auto;margin-right:auto}

/* ---------- Pale aqua band ----------
   The light counterpart to .section-dark, for a section that should lift off
   the page without going dark. */
.section-aqua{
  position:relative;background:var(--pale-aqua);
  padding:56px 0 60px;margin:0;
  box-shadow:0 0 0 100vmax var(--pale-aqua);
  clip-path:inset(0 -100vmax);
}
.section-aqua h2,.content.section-aqua h2{color:var(--logo-teal);margin-top:0}
.section-aqua .figure{background:rgba(29,65,78,.08)}
.section-aqua .figure figcaption{background:rgba(29,65,78,.07);border-top-color:rgba(29,65,78,.14)}
.content:has(+ .section-aqua){padding-bottom:28px}
.section-aqua + .content{padding-top:28px}

/* ---------- Two-column split ----------
   Editorial pairing: prose or media on the left, a supporting rail on the
   right. Collapses to one column when the rail would be squeezed. */
.split-2{
  display:grid;gap:40px;align-items:start;
  grid-template-columns:1.35fr 1fr;
}
.split-2 > * > *:first-child{margin-top:0}
@media (max-width:820px){.split-2{grid-template-columns:1fr;gap:32px}}

/* Stacked, full-width action buttons — the Helpful Links treatment. */
.btn-stack{display:grid;gap:16px;margin:22px 0 0}
.btn-stack .btn{
  width:100%;border-radius:8px;padding:15px 20px;
  display:flex;align-items:center;justify-content:center;
  font-size:.98rem;
}
.center-col{text-align:center}
.center-col .btn-stack .btn{justify-content:center}

/* Home hero centres its own column. */
.hero.home-hero .wrap{text-align:center}
.hero.home-hero p.lede{margin-left:auto;margin-right:auto}
.hero-contact{
  margin:22px 0 0;color:var(--mint);font-size:1rem;
}
.hero-contact a{color:var(--mint);text-decoration:underline}
.hero-contact a:hover{color:#fff}

/* Centred content section — heading, button row and following copy all centre
   on the column. */
.center-block > .wrap{text-align:center}
.center-block > .wrap h2,
.center-block > .wrap h3,
.center-block > .wrap p{margin-left:auto;margin-right:auto}
.center-block .btn-row{justify-content:center}

/* A photo that shouldn't dominate its column. */
.figure.figure-sm{max-width:420px}

/* The dark band's own padding is enough; the last child inside it shouldn't
   add a second gap underneath. */
.section-dark > .wrap > *:last-child{margin-bottom:0}
.content.section-dark{padding-bottom:52px}

/* Home: the Helpful Links rail is shorter than the Announcements column, so it
   centres against it rather than leaving a well of empty space underneath. */
.split-2{align-items:center}
.figure.figure-sm{margin-left:auto;margin-right:auto}

/* The centred social block closes the page; it doesn't need the full
   end-of-document gap underneath. */
.content.center-block{padding-bottom:34px}
main > .content.center-block:last-child{padding-bottom:34px}
.center-block .btn .icon{width:1.3em;height:1.3em;margin-right:.55em}
.center-block .btn{padding:13px 26px;font-size:.97rem}

/* Hero: lede on the left, the action buttons stacked alongside it. */
.hero-split{
  display:grid;gap:32px;align-items:center;
  grid-template-columns:1.7fr 1fr;margin-top:6px;
}
.hero-split .lede{margin:0}
.btn-row.btn-col{display:grid;gap:12px;margin:0}
.btn-row.btn-col .btn{width:100%;justify-content:center;display:flex;align-items:center}
@media (max-width:860px){.hero-split{grid-template-columns:1fr;gap:22px}
  .btn-row.btn-col{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}

/* How It Works: the poster sits beside the numbered steps. */
.steps-split{display:grid;gap:40px;align-items:center;grid-template-columns:1fr 1.28fr;margin-top:8px}
.steps-split .steps{margin:0}
.steps-split .figure{margin:0}
@media (max-width:860px){.steps-split{grid-template-columns:1fr;gap:26px}}

/* The in-memory line sits under the photo it belongs with. */
.memo{margin:14px 0 0;font-size:.92rem;color:var(--ink-soft)}

/* ---------- Footer brand row ----------
   Logo and the social marks share one row under the link columns, the icons
   spread evenly across the space beside the wordmark. */
.footer-brandrow{
  display:flex;align-items:center;justify-content:space-between;
  gap:28px;flex-wrap:wrap;margin:30px 0 4px;
}
.footer-brandrow .footer-logo{margin:0}
.footer-logo-link{display:inline-block;line-height:0;transition:opacity .15s ease}
.footer-logo-link:hover{opacity:.8}
.footer-brandrow .social{
  margin:0;flex:1 1 340px;max-width:520px;
  display:flex;justify-content:space-between;gap:14px;
}
.footer-brandrow .social a{width:46px;height:46px;border-radius:12px}
.footer-brandrow .social a .icon{width:1.5rem;height:1.5rem}
@media (max-width:600px){
  .footer-brandrow{justify-content:center;gap:20px}
  .footer-brandrow .social{flex:1 1 100%;justify-content:space-around;max-width:none}
}

/* ---------- Quote band ----------
   A full-bleed SafeBAE Teal band for a single pull quote, sized to run the
   width of the column and butt straight up against whatever follows. */
.quote-band{
  position:relative;background:var(--safebae-teal);color:#fff;
  padding:56px 0 60px;margin:0;
  box-shadow:0 0 0 100vmax var(--safebae-teal);
  clip-path:inset(0 -100vmax);
}
.quote-band blockquote{
  margin:0;padding:0;background:none;border:none;border-radius:0;max-width:none;
}
.quote-band blockquote p{
  color:#fff;max-width:none;
  font-size:clamp(1.1rem,2vw,1.42rem);line-height:1.5;font-weight:600;
  letter-spacing:-.01em;margin:0;
}
.quote-band blockquote p + p{
  margin-top:20px;font-size:.86rem;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;color:#fff;
}
.content:has(+ .quote-band){padding-bottom:34px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;padding:12px 24px;border-radius:999px;
  font-weight:700;font-size:.92rem;text-decoration:none;
  border:2px solid transparent;cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(29,65,78,.18)}
.btn-primary{background:var(--mint);color:var(--deep-slate)}
.btn-primary:hover{background:#0fe6b4;color:var(--deep-slate)}
.btn-secondary{background:var(--safebae-teal);color:#fff}
.btn-secondary:hover{background:var(--logo-teal);color:#fff}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.btn-ghost:hover{background:rgba(255,255,255,.14);color:#fff}
.btn-outline{background:transparent;color:var(--logo-teal);border-color:var(--logo-teal)}
.btn-outline:hover{background:var(--logo-teal);color:#fff}
/* On the dark hero gradient, outline/ghost buttons need light treatment */
.hero .btn-outline,
.callout.dark .btn-outline{color:#fff;border-color:rgba(255,255,255,.65)}
.hero .btn-outline:hover,
.callout.dark .btn-outline:hover{background:rgba(255,255,255,.16);color:#fff;border-color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}

/* ---------- Cards ---------- */
.cards{
  display:grid;gap:20px;margin:28px 0;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.cards.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.card{
  background:#fff;border:1px solid var(--soft-gray);border-radius:var(--radius);
  padding:24px;display:flex;flex-direction:column;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--safebae-teal)}
.card h3{margin:0 0 8px;color:var(--logo-teal);font-size:1.08rem}
.card p{font-size:.92rem;color:var(--ink-soft);margin-bottom:16px;flex:1}
.card .card-link{
  font-weight:700;font-size:.87rem;color:var(--safebae-teal);
  text-decoration:none;margin-top:auto;
}
.card .card-link:hover{text-decoration:underline}
.card .card-link::after{content:" →"}
.card .num{
  width:34px;height:34px;border-radius:9px;background:var(--pale-aqua);
  color:var(--logo-teal);display:grid;place-items:center;
  font-weight:800;font-size:.95rem;margin-bottom:14px;
}

/* ---------- Callouts ---------- */
.callout{
  background:var(--pale-aqua);border-radius:var(--radius);
  padding:24px 26px;margin:28px 0;border-left:5px solid var(--safebae-teal);
}
.callout h3{margin-top:0;color:var(--logo-teal)}
.callout p:last-child,.callout ul:last-child{margin-bottom:0}
.callout.accent{background:#e8fff9;border-left-color:var(--mint)}
.callout.warm{background:#fff1f1;border-left-color:var(--coral)}
.callout.dark{background:var(--deep-slate);border-left-color:var(--mint);color:var(--pale-aqua)}
.callout.dark h3{color:var(--mint)}
.callout.dark a{color:var(--mint)}

/* ---------- Steps ---------- */
.steps{list-style:none;padding:0;margin:28px 0;counter-reset:step;max-width:none}
.steps li{
  position:relative;padding:0 0 26px 56px;counter-increment:step;margin:0;
  border-left:2px solid var(--soft-gray);margin-left:17px;
}
.steps li:last-child{border-left-color:transparent;padding-bottom:0}
.steps li::before{
  content:counter(step);position:absolute;left:-18px;top:-4px;
  width:36px;height:36px;border-radius:50%;
  background:var(--safebae-teal);color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:.92rem;
}
.steps li h3{margin:0 0 6px}
.steps li p:last-child{margin-bottom:0}

/* ---------- Checklist ---------- */
.checklist{list-style:none;padding:0;margin:24px 0}
.checklist li{
  position:relative;padding:10px 0 10px 34px;
  border-bottom:1px solid var(--soft-gray);margin:0;
}
.checklist li:last-child{border-bottom:none}
.checklist li::before{
  content:"✓";position:absolute;left:0;top:10px;
  width:22px;height:22px;border-radius:6px;
  background:var(--mint);color:var(--deep-slate);
  display:grid;place-items:center;font-size:.78rem;font-weight:900;
}

/* ---------- Table ---------- */
.table-wrap{overflow-x:auto;margin:26px 0}
table{border-collapse:collapse;width:100%;font-size:.92rem;min-width:520px}
th,td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--soft-gray)}
th{background:var(--deep-slate);color:#fff;font-weight:700;font-size:.82rem;
   text-transform:uppercase;letter-spacing:.05em}
tbody tr:nth-child(even){background:var(--page-alt)}

/* ---------- Tags ---------- */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.tag{
  background:var(--soft-gray);color:var(--deep-slate);
  padding:4px 12px;border-radius:999px;font-size:.76rem;font-weight:700;
}
.tag.mint{background:var(--mint)}
.tag.aqua{background:var(--pale-aqua);color:var(--logo-teal)}
.tag.coral{background:var(--coral);color:#fff}

/* ---------- Child page index ---------- */
.child-nav{
  display:grid;gap:14px;margin:30px 0;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.child-nav a{
  display:block;padding:18px 20px;background:var(--page-alt);
  border:1px solid var(--soft-gray);border-left:4px solid var(--safebae-teal);
  border-radius:8px;text-decoration:none;color:var(--logo-teal);
  font-weight:700;font-size:.95rem;transition:background .12s ease, transform .12s ease;
}
.child-nav a:hover{background:var(--pale-aqua);transform:translateX(3px)}
.child-nav a span{
  display:block;font-weight:400;font-size:.85rem;
  color:var(--ink-soft);margin-top:4px;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--deep-slate);color:var(--pale-aqua);
  padding:52px 0 28px;margin-top:0;font-size:.9rem;
}
.footer-grid{
  display:grid;gap:32px;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  padding-bottom:32px;border-bottom:1px solid rgba(209,254,255,.18);
}
.site-footer h4{
  color:var(--mint);font-size:.74rem;text-transform:uppercase;
  letter-spacing:.13em;margin:0 0 14px;font-weight:800;
}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:9px}
.site-footer a{color:var(--pale-aqua);text-decoration:none}
.site-footer a:hover{color:var(--mint);text-decoration:underline}
.site-footer p{color:rgba(209,254,255,.75);max-width:34ch;font-size:.87rem}
.social{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.social a{
  display:grid;place-items:center;min-width:38px;height:38px;padding:0 12px;
  border:1px solid rgba(209,254,255,.28);border-radius:9px;
  font-size:.75rem;font-weight:700;
}
.social a:hover{background:var(--mint);color:var(--deep-slate);border-color:var(--mint);text-decoration:none}
/* ---------- Footer link columns: pre-uplift size ----------
   The site-wide type scale moved from a 16px root to 17px. The four footer
   columns are meant to stay at the old size, so they're pinned in px rather
   than rem — these are the previous rem values resolved against 16px
   (.9rem = 14.4, .74rem = 11.84, .87rem = 13.92, 1rem = 16). The copyright
   line, the social row and everything else in the footer still follow the
   root, so changing the root again won't disturb this block. */
.footer-grid{font-size:14.4px}
.footer-grid h4{font-size:11.84px}
.footer-grid p{font-size:13.92px}
.footer-grid li a{font-size:14.4px}
/* Needs to outrank .site-footer li a .icon, which is declared later. */
.site-footer .footer-grid li a .icon{width:16px;height:16px}

.footer-bottom{
  padding-top:22px;display:flex;flex-wrap:wrap;gap:14px;
  justify-content:space-between;font-size:.8rem;color:rgba(209,254,255,.6);
}

/* ---------- Utility ---------- */
.center{text-align:center}
.muted{color:var(--ink-soft);font-size:.9rem}
.mt-0{margin-top:0}
.section-alt{background:var(--page-alt);padding:52px 0;margin:0}
.section-alt > .wrap > *:first-child{margin-top:0}

@media print{
  .site-header,.site-footer,.crumbs,.btn-row{display:none}
  body{font-size:12pt}
}


/* ==========================================================================
   Embed host
   The interactive widgets (event finder, calendar planner, poster builder,
   library filters, checklists) ship with their own complete CSS. They are
   mounted here, OUTSIDE `.content`, so none of the site's typography rules
   above can reach into them. Keep this block minimal on purpose.
   ========================================================================== */
.embed-host{
  padding:40px 24px 56px;
  max-width:1240px;
  margin:0 auto;
}
.embed-host img{max-width:100%;height:auto}

/* Widgets manage their own list styling; neutralize the UA defaults only. */
.embed-host ul,.embed-host ol{margin:0;padding:0}

@media (max-width:640px){
  .embed-host{padding:26px 14px 40px}
}

@media print{
  .embed-host{padding:0}
}


/* ---------- Icons ----------
   Phosphor (MIT, no attribution required) inlined as <svg>, so they need no
   network and inherit colour from whatever they sit in. */
.icon{
  width:1em;height:1em;flex:0 0 auto;
  display:inline-block;vertical-align:-.135em;
  fill:currentColor;
}
.icon-lg{width:1.35em;height:1.35em;vertical-align:-.28em}
.btn .icon{margin-right:.5em}

/* Links that carry an icon lay out inline, not stacked. .social a ships as a
   grid (it was centring a bare label), which would put the icon on its own row
   the moment a second child appeared. */
/* Icon-only social row: one line of marks, no button chrome. The label stays
   in the DOM (visually hidden) so each link keeps an accessible name. */
.social{gap:9px;margin-top:14px}
.social a{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;padding:0;border-radius:9px;
}
.social a .icon{width:1.14rem;height:1.14rem}
.vh{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}
.site-footer li a{display:inline-flex;align-items:center;gap:.5em}
.site-footer li a .icon{width:1rem;height:1rem;opacity:.85}
.card-icon{
  width:42px;height:42px;border-radius:11px;
  background:var(--pale-aqua);color:var(--logo-teal);
  display:grid;place-items:center;margin-bottom:14px;
}
.card-icon .icon{width:22px;height:22px}

/* ---------- Brand logo ---------- */
.brand .logo{height:34px;width:auto;display:block}
.footer-logo{height:54px;width:auto;margin:30px 0 4px;display:block}

/* ---------- Editorial images ----------
   Photos sit in .figure so a missing file collapses to a tinted block rather
   than a broken-image icon in the middle of the layout. */
.figure{margin:28px 0;border-radius:var(--radius);overflow:hidden;background:var(--pale-aqua)}
.figure img{width:100%;height:auto;display:block}
.figure figcaption{
  padding:10px 16px;font-size:.82rem;color:var(--ink-soft);
  background:var(--page-alt);border-top:1px solid var(--soft-gray);
}
.figure.wide{margin-left:0;margin-right:0}
.media-split{
  display:grid;gap:28px;align-items:center;margin:32px 0;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.media-split .figure{margin:0}

/* A real logo file, when present, replaces the "SB" placeholder square.
   Until assets/img/safebae-logo.svg exists the <img> removes itself and the
   mark stays — so the header is correct either way. */
.brand.has-logo .mark,
.brand.has-logo .wordmark{display:none}

/* ---------- Brand bands ----------
   Two thin solid rules directly above the footer: Electric Mint over SafeBAE
   Teal. Purely decorative, so they're aria-hidden in the markup. */
.footer-bands{display:block;line-height:0;font-size:0}
.footer-bands span{display:block;height:7px;width:100%}
.footer-bands span:first-child{background:var(--mint)}
.footer-bands span:last-child{background:var(--safebae-teal)}
@media print{.footer-bands{display:none}}

/* Outbound mark on nav items that leave the Club Hub. */
.icon-ext{
  width:.72em;height:.72em;margin-left:.4em;
  vertical-align:.02em;opacity:.85;
}
.nav > li > a .icon-ext{opacity:.8}
.submenu a .icon-ext{opacity:.7}
