/* ==========================================================================
   Be Happy Abroad: shared styles for BHA templates
   Source: Brand/design-system (README.md + tokens.json, v1.3).
   Loaded only on pages set to "BHA Landing" or "BHA Page".

   Every rule sits under .bha-template or .bha, so nothing here reaches the
   rest of the site, and the extra class outranks GeneratePress's plain
   h1 / button / a rules, so its Customizer settings can't leak in.
   ========================================================================== */

/* ---------- Tokens ---------- */
.bha-template{
  /* the six official colours */
  --navy:#002040; --white:#ffffff; --teal:#4d9ea6; --teal-light:#9fcece;
  --gold:#e5a82d; --gold-light:#ffba33;
  /* supporting shades */
  --tint-regulate:#c5e2e2; --tint-reconnect:#7ab6bc; --tint-rebuild:#ffe0a3;
  --teal-ink:#2f666c; --sand:#fdf8ef; --mist:#f2f8f8;
  --navy-80:rgba(0,32,64,.8); --line:rgba(0,32,64,.12);

  --display:"Playfair Display SC", Georgia, serif;
  --serif:"Playfair Display", Georgia, serif;
  --body:"Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:32px;
  --space-6:48px; --space-8:64px; --space-12:96px;
  --radius-sm:8px; --radius-button:10px; --radius-card:18px;
  --shadow-card:0 18px 50px -20px rgba(0,32,64,.28);
  --ease:cubic-bezier(.4,0,.2,1);

  --wrap:1080px;   /* page width */
  --col:700px;     /* the one reading column */
}

/* ---------- Base ---------- */
body.bha-landing{margin:0;background:var(--white)}
.bha{
  display:block;width:100%;background:var(--white);color:var(--navy);
  font-family:var(--body);font-size:18px;line-height:1.65;font-weight:400;
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}
.bha *,.bha *::before,.bha *::after{box-sizing:border-box}
.bha img{max-width:100%;display:block;height:auto}
.bha a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.bha a:hover{color:var(--teal-ink)}
.bha a:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* ---------- Layout: one left edge, one reading column ---------- */
.bha .wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--space-3)}
.bha .col{max-width:var(--col);margin-inline:auto}
.bha section{padding-block:clamp(64px,9vw,var(--space-12))}
/* Section rhythm: white and a tint take turns, never two tints in a row. */
.bha .band{background:var(--teal-light)}
.bha .band-sand{background:var(--sand)}
.bha .center{text-align:center}

/* ---------- Type ---------- */
.bha h1,.bha h2,.bha h3,.bha h4{
  margin:0 0 .55em;padding:0;color:var(--navy);
  text-transform:none;text-wrap:balance;letter-spacing:normal;
}
/* title-xl: page title, program and workshop names (small caps) */
.bha h1{font-family:var(--display);font-weight:700;font-size:clamp(2.6rem,6vw,4rem);line-height:1.05;letter-spacing:.02em}
/* headline: sentence-case lines that speak to her */
.bha h2{font-family:var(--serif);font-weight:700;font-size:clamp(1.75rem,3.4vw,2.25rem);line-height:1.2}
/* title-l: short names and section headings, up to about five words */
.bha .title{font-family:var(--display);font-weight:700;font-size:clamp(2rem,4.2vw,2.75rem);line-height:1.1;letter-spacing:.01em}
/* subhead: h3 and card titles */
.bha h3{font-family:var(--serif);font-weight:600;font-size:clamp(1.25rem,2vw,1.5rem);line-height:1.3}
.bha h4{font-family:var(--body);font-weight:600;font-size:1.0625rem;line-height:1.4}
.bha p{margin:0 0 1.1em}
.bha p:last-child{margin-bottom:0}
.bha strong,.bha b{font-weight:600}
.bha .lead{font-size:clamp(1.125rem,1.6vw,1.25rem);line-height:1.6;text-wrap:pretty}
.bha .muted{color:var(--navy-80)}
.bha .small{font-size:15px;line-height:1.6}
/* kicker: at most once per page, only when it carries real information */
.bha .kicker{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--teal-ink);margin:0 0 var(--space-2)}
/* quote: testimonials and short emotional sublines */
.bha .quote{font-family:var(--serif);font-style:italic;font-weight:400;font-size:clamp(1.125rem,1.9vw,1.375rem);line-height:1.5}
/* aside: her bracketed jokes and the inner voice, at body size */
.bha .aside{font-family:var(--serif);font-style:italic;font-weight:400}
.bha .head{max-width:var(--col);margin:0 auto var(--space-6);text-align:center}
.bha .head h2{margin-bottom:.4em}
/* gold hairline under a heading */
.bha .rule{display:block;width:64px;height:3px;margin:var(--space-3) 0;background:var(--gold);border:0;border-radius:3px}
.bha .center .rule,.bha .head .rule{margin-inline:auto}

/* ---------- Buttons ---------- */
.bha .btn{
  display:inline-block;margin:0;font-family:var(--body);font-size:16px;font-weight:600;line-height:1.2;
  letter-spacing:normal;text-transform:none;text-align:center;
  padding:17px 28px;border-radius:var(--radius-button);border:2px solid transparent;
  text-decoration:none;cursor:pointer;transition:background .2s ease,color .2s ease;
}
/* the one call to action: light gold, once per screen */
.bha .btn-gold{background:var(--gold-light);color:var(--navy)}
.bha .btn-gold:hover{background:var(--gold);color:var(--navy)}
/* the soft invitation: outlined navy */
.bha .btn-outline{background:transparent;color:var(--navy);border-color:var(--navy)}
.bha .btn-outline:hover{background:var(--navy);color:var(--white)}
.bha .btn:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
.bha .cta-note{margin-top:var(--space-2);font-size:15px;color:var(--navy-80)}
/* read by screen readers only, e.g. "(opens in a new tab)" */
.bha .sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* the most space goes around the call to action */
.bha .cta-block{margin-block:var(--space-8);text-align:center}

/* ---------- Breathing statement: one sentence, lots of space ---------- */
.bha .statement{padding-block:clamp(80px,12vw,128px);text-align:center}
.bha .statement p{
  font-family:var(--serif);font-weight:400;font-size:clamp(1.6rem,3.6vw,2.4rem);line-height:1.3;
  max-width:22ch;margin:0 auto;text-wrap:balance;
}

/* ---------- Photo beside the text ---------- */
.bha .split{display:grid;gap:var(--space-6);align-items:start}
.bha .split-img img{border-radius:var(--radius-card);width:100%}
@media(min-width:900px){
  .bha .split{grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:var(--space-8)}
  .bha .split.rev{grid-template-columns:minmax(260px,1fr) minmax(0,1.45fr)}
}

/* ---------- Lists ---------- */
.bha ul,.bha ol{margin:0 0 1.1em;padding-left:1.4em}
.bha .ticks{list-style:none;margin:0 0 1.1em;padding:0}
.bha .ticks li{position:relative;padding-left:1.6rem;margin-bottom:var(--space-2)}
.bha .ticks li::before{content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--gold)}
.bha .ticks.teal li::before{background:var(--teal)}
/* lists that talk: bold lead phrase, plain explanation underneath */
.bha .talk{list-style:none;margin:var(--space-4) 0;padding:0}
.bha .talk li{margin-bottom:var(--space-4)}
.bha .talk li strong{display:block;font-size:clamp(1.0625rem,1.6vw,1.1875rem);margin-bottom:.2em}

/* ---------- Cards ---------- */
.bha .cards{display:grid;gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.bha .card{background:var(--white);border-radius:var(--radius-card);padding:var(--space-4);box-shadow:var(--shadow-card)}
.bha .card h3{margin-bottom:var(--space-2)}

/* ---------- Stage cards: always Regulate, Reconnect, Rebuild ---------- */
.bha .stages{display:grid;gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.bha .r-card{border-radius:var(--radius-card);padding:var(--space-4);color:var(--navy)}
.bha .r-regulate{background:var(--tint-regulate)}
.bha .r-reconnect{background:var(--tint-reconnect)}
.bha .r-rebuild{background:var(--tint-rebuild)}
.bha .r-card .r-label{font-family:var(--display);font-weight:700;font-size:1.5rem;line-height:1.2;margin:0 0 .3rem}
.bha .r-card p{font-size:16px}

/* ---------- Real proof, shown as it is ---------- */
.bha .proof{max-width:var(--col);margin-inline:auto}
.bha .proof blockquote{margin:0;padding:var(--space-4) 0;border:0;border-top:1px solid var(--line);background:none}
.bha .proof blockquote:last-child{border-bottom:1px solid var(--line)}
.bha .proof blockquote p{font-family:var(--serif);font-style:italic;font-size:clamp(1.125rem,1.9vw,1.375rem);line-height:1.5}
.bha .proof blockquote .who{font-family:var(--body);margin-top:var(--space-2);font-size:15px;font-style:normal;color:var(--navy-80)}

/* ---------- Questions people really ask ---------- */
.bha .faq{max-width:var(--col);margin-inline:auto;border-top:1px solid var(--line)}
.bha details{border-bottom:1px solid var(--line);padding:var(--space-3) 0}
.bha details summary{
  cursor:pointer;list-style:none;font-family:var(--serif);font-weight:600;
  font-size:clamp(1.0625rem,1.8vw,1.25rem);line-height:1.4;
  display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);
}
.bha details summary::-webkit-details-marker{display:none}
.bha details summary::after{content:"+";font-family:var(--body);font-size:1.5rem;line-height:1;color:var(--teal-ink);transition:transform .25s ease;flex:none}
.bha details[open] summary::after{transform:rotate(45deg)}
.bha details summary:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
.bha details .answer{padding-top:var(--space-2);color:var(--navy-80)}

/* ---------- Soft invitation: hairline, italic line, outlined button ---------- */
.bha .cta-soft{max-width:var(--col);margin:var(--space-8) auto 0;padding-top:var(--space-4);border-top:1px solid var(--line);text-align:center}
.bha .band .cta-soft{border-top-color:rgba(0,32,64,.2)}
.bha .cta-soft p{font-family:var(--serif);font-style:italic;font-size:clamp(1.125rem,1.9vw,1.375rem);line-height:1.5;margin:0 0 var(--space-3)}

/* ---------- Sign-up form ---------- */
.bha .bha-signup{max-width:460px;margin:var(--space-3) 0 0;text-align:left}
.bha .center .bha-signup,.bha .cta-block .bha-signup,.bha .final .bha-signup{margin-inline:auto}
.bha .bha-signup .field{margin:0 0 14px}
.bha .bha-signup label{display:block;font:600 14px/1.4 var(--body);color:var(--navy);margin:0 0 6px;text-transform:none;letter-spacing:normal}
.bha .bha-signup input[type=text],.bha .bha-signup input[type=email]{
  display:block;width:100%;margin:0;font:400 17px/1.4 var(--body);color:var(--navy);
  padding:14px 16px;background:var(--white);box-shadow:none;
  border:1.5px solid rgba(0,32,64,.22);border-radius:var(--radius-sm);
}
.bha .bha-signup input[type=text]:focus,.bha .bha-signup input[type=email]:focus{outline:3px solid var(--teal);outline-offset:1px;border-color:var(--teal)}
.bha .bha-signup input[aria-invalid=true]{border-color:#b3412e}
.bha .bha-signup .consent{display:flex;gap:12px;align-items:flex-start;font-weight:400;font-size:14.5px;line-height:1.5;margin:18px 0 22px;cursor:pointer}
.bha .bha-signup .consent input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--teal-ink);cursor:pointer}
.bha .bha-signup .consent a{white-space:nowrap}
/* in forms the button runs the full width of the fields */
.bha .bha-signup .btn{display:block;width:100%;font-size:17px}
.bha .bha-signup .btn[disabled]{opacity:.7;cursor:wait}
.bha .bha-signup .form-note{font-size:15px;margin:12px 0 0;text-align:center}
.bha .bha-signup .form-msg{margin:14px 0 0;padding:12px 14px;border-radius:var(--radius-sm);font-size:15px;line-height:1.55;color:var(--navy)}
.bha .bha-signup .form-msg[hidden]{display:none}
.bha .bha-signup .form-msg.ok{background:var(--tint-regulate)}
.bha .bha-signup .form-msg.err{background:#fdeee9;color:#7a2414}
/* honeypot: real people never see or fill this; bots do */
.bha .bha-signup .hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
/* on the navy final band */
.bha .final .bha-signup label,.bha .final .bha-signup .consent,.bha .final .bha-signup .form-note{color:var(--white)}
.bha .final .bha-signup .consent a{color:var(--gold-light)}
.bha .final .bha-signup input[type=text],.bha .final .bha-signup input[type=email]{border-color:transparent}
.bha .final .bha-signup .consent input{accent-color:var(--gold-light)}

/* ---------- Final band: one of the only two navy surfaces ---------- */
.bha .final{background:var(--navy);color:var(--white);text-align:center;padding-block:clamp(88px,12vw,128px)}
.bha .final h2{font-family:var(--serif);font-weight:400;font-size:clamp(2.1rem,5vw,3.25rem);line-height:1.15;color:var(--white);margin-bottom:var(--space-4)}
.bha .final h2 em{color:var(--teal-light)}
.bha .final p{max-width:54ch;margin-inline:auto}
.bha .final a:not(.btn){color:var(--gold-light)}
.bha .final .cta-note{color:rgba(255,255,255,.85)}

/* ---------- Content from the WordPress editor (when no designed file) ---------- */
.bha .bha-editor > *{max-width:100%}
.bha .bha-editor h2,.bha .bha-editor h3{margin-top:1.4em}

/* ---------- Landing footer: the quiet navy end of the page ---------- */
.bha-footer{
  background:var(--navy);color:rgba(255,255,255,.85);border-top:1px solid rgba(255,255,255,.12);
  padding:var(--space-6) var(--space-3);font-family:var(--body);font-size:15px;line-height:1.6;text-align:center;
}
.bha-footer p{margin:0}
.bha-footer .bha-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-1) var(--space-3);margin-top:var(--space-1)}
.bha-footer a{color:var(--gold);text-underline-offset:3px}
.bha-footer a:hover{color:var(--gold-light)}

@media(prefers-reduced-motion:reduce){
  .bha .btn,.bha details summary::after{transition:none}
}
