/* ==========================================================================
   Bayside Psychotherapy: therapist profile template
   Every class is prefixed bsp- and every global rule is scoped to .bsp-page,
   so this file can sit beside WordPress/Elementor styles without clashing.
   Wrap the whole profile in <div class="bsp-page">.
   Breakpoints: 1180px (compact header), 900px (one column), 767px (phone).
   Light only. Colours and widths are the custom properties on .bsp-page.
   ========================================================================== */
.bsp-page{
  --bsp-brand:#39648C; --bsp-navy:#2C4F70; --bsp-ink:#383838; --bsp-muted:#5F6B76;
  --bsp-tint:#E8EEF5; --bsp-rule:#C6D2DE; --bsp-surface:#FFFFFF; --bsp-cta:#CB4744; --bsp-cta-hover:#B23D3A;
  --bsp-font:"Montserrat",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --bsp-content:1280px; --bsp-measure:680px;
  color-scheme:light;
}

/* ===== TOKENS + BASE (scoped to .bsp-page so nothing leaks into the WordPress theme) ===== */
:where(.bsp-page),:where(.bsp-page) *,:where(.bsp-page) *::before,:where(.bsp-page) *::after{box-sizing:border-box}
.bsp-page{background:var(--bsp-surface);color:var(--bsp-ink);font-family:var(--bsp-font);font-size:18px;line-height:1.65;margin:0}
:where(.bsp-page) a{color:var(--bsp-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
:where(.bsp-page) a:hover{color:var(--bsp-cta)}
:where(.bsp-page) :focus-visible{outline:2px solid var(--bsp-brand);outline-offset:2px;border-radius:2px}
:where(.bsp-page) :is(h1,h2,h3){font-weight:500;color:var(--bsp-brand);margin:0;text-wrap:balance}
:where(.bsp-page) h2{font-size:36px;line-height:1.15;letter-spacing:-.02em}
:where(.bsp-page) h3{font-size:20px;line-height:1.3;font-weight:600}
:where(.bsp-page) p{margin:0}
.bsp-wrap{max-width:calc(var(--bsp-content) + 32px);margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.bsp-band{padding-block:72px 88px}
.bsp-band.bsp-tint{background:var(--bsp-tint)}
.bsp-ruled{border-top:1px solid var(--bsp-rule);padding-top:40px}
.bsp-grid{display:grid;grid-template-columns:minmax(0,760fr) minmax(0,440fr);column-gap:80px;align-items:start}
.bsp-grid-r{display:grid;grid-template-columns:minmax(0,440fr) minmax(0,760fr);column-gap:80px;align-items:start}
.bsp-eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--bsp-brand);line-height:1.3}
.bsp-prose{max-width:var(--bsp-measure);display:grid;gap:22px}
.bsp-prose ul{margin:0;padding:0;list-style:none;display:grid;gap:14px}
.bsp-prose li{position:relative;padding-left:26px}
.bsp-prose li::before{content:"";position:absolute;left:2px;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--bsp-brand)}
:where(.bsp-page) strong{font-weight:600}

/* ===== BUTTONS: one primary, one secondary ===== */
.bsp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 28px;border-radius:999px;font:600 16px/1.3 var(--bsp-font);text-decoration:none;cursor:pointer;border:0}
.bsp-btn-primary{background:var(--bsp-cta);color:#fff}
.bsp-btn-primary:hover{background:var(--bsp-cta-hover);color:#fff}
.bsp-btn-secondary{background:transparent;color:var(--bsp-brand);box-shadow:inset 0 0 0 1.5px var(--bsp-brand)}
.bsp-btn-secondary:hover{background:var(--bsp-brand);color:#fff}

/* ===== SITE HEADER (preview only; the live WordPress theme supplies its own header) ===== */
.bsp-site{background:linear-gradient(90deg,#3F6C96 0%,#36648F 48%,#2B5B86 100%);color:#fff}
.bsp-site .bsp-wrap{display:flex;align-items:center;gap:0;min-height:136px;padding-block:26px}
.bsp-logo{display:block;line-height:0;margin-right:88px}
.bsp-logo img{width:171px;height:84px;display:block}
.bsp-site nav{display:flex;gap:34px;font-size:19px;font-weight:500}
.bsp-site nav a,.bsp-site .bsp-tel{color:#fff;text-decoration:none}
.bsp-site nav a:hover{color:#fff;opacity:.85}
.bsp-site nav .bsp-caret{display:inline-block;width:8px;height:8px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(45deg);margin:0 0 5px 7px}
.bsp-site .bsp-right{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:19px;font-weight:500}
.bsp-site .bsp-tel{display:inline-flex;align-items:center;gap:12px;margin-right:0}
.bsp-site .bsp-tel svg{width:18px;height:22px}
.bsp-site .bsp-btn{min-height:46px;padding:8px 26px;font-size:17px;border-radius:23px}
.bsp-site .bsp-btn-secondary{padding:8px 27px}
.bsp-site .bsp-btn-secondary{color:#fff;box-shadow:inset 0 0 0 1.5px #fff}

/* ===== HERO ===== */
.bsp-hero{background:var(--bsp-tint);display:grid;grid-template-columns:max(16px,calc((100% - var(--bsp-content))/2)) minmax(0,var(--bsp-measure)) 80px minmax(340px,1fr)}
.bsp-hero-text{grid-column:2;padding-block:56px 60px;display:flex;flex-direction:column;gap:22px}
.bsp-hero h1{font-size:48px;line-height:1.1;letter-spacing:-.025em}
.bsp-modes{display:flex;flex-wrap:wrap;gap:8px 24px;margin:-8px 0 0;padding:0;list-style:none}
.bsp-modes li{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600;color:var(--bsp-brand)}
.bsp-modes svg{width:22px;height:22px;flex:none}
.bsp-pill{margin-top:-10px;font-size:16px;font-weight:500;line-height:1.4;color:var(--bsp-muted)}
.bsp-hero-text .bsp-hero-book{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:64px;align-items:center;padding-block:40px;margin-top:12px}
.bsp-book-main{display:flex;flex-direction:column;gap:24px;min-width:0}
.bsp-hero-book .bsp-modes{margin:0;flex-direction:column;gap:22px;padding-left:56px;border-left:1px solid var(--bsp-rule);align-self:stretch;justify-content:center}
.bsp-hero .bsp-lead{position:relative;margin:18px 0 8px;padding-left:64px;font-size:19px;font-weight:600;line-height:1.45;letter-spacing:-.01em}
.bsp-hero .bsp-lead::before{content:"\201C";position:absolute;left:-4px;top:-14px;font-family:Georgia,"Times New Roman",serif;font-size:96px;line-height:1;font-weight:400;color:var(--bsp-brand);opacity:.55}
.bsp-hero-book{display:flex;flex-direction:column;gap:14px;padding-block:20px;border-top:1px solid var(--bsp-rule);border-bottom:1px solid var(--bsp-rule)}
.bsp-hero-book .bsp-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.bsp-status{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
.bsp-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#3C8F5A}
.bsp-rebate{font-size:15px;line-height:1.55}
.bsp-hero-photo{grid-column:4;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:42% 30%;background:#D9D9D9}

/* ===== JUMP ROW ===== */
.bsp-jump{border-bottom:1px solid var(--bsp-rule);background:var(--bsp-surface);position:sticky;top:0;z-index:5}
.bsp-jump .bsp-wrap{display:flex;flex-wrap:wrap;gap:4px 26px;align-items:center;min-height:60px;font-size:15px;font-weight:400}
.bsp-jump span{color:var(--bsp-muted);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding-right:26px;border-right:1px solid var(--bsp-rule);line-height:28px}
.bsp-jump a:hover{color:var(--bsp-cta)}

/* ===== EXPERTISE + SLOTS ===== */
.bsp-stack{display:grid;gap:48px}
.bsp-block{display:grid;gap:18px}
.bsp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.bsp-chips li{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--bsp-brand);background:var(--bsp-tint);border-radius:999px;padding:7px 14px}
.bsp-see{columns:2;column-gap:40px;margin:0;padding:0;list-style:none;border-top:1px solid var(--bsp-rule)}
.bsp-see li{break-inside:avoid;padding:11px 0;border-bottom:1px solid var(--bsp-rule);font-size:16px}
.bsp-see li.bsp-plain{color:var(--bsp-ink)}
.bsp-see a{color:var(--bsp-brand);text-decoration:none}
.bsp-see a:hover{color:var(--bsp-cta);text-decoration:underline}
.bsp-see li[hidden]{display:none}
.bsp-linkbtn{font:600 15px/1.4 var(--bsp-font);color:var(--bsp-brand);background:none;border:0;padding:4px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;justify-self:start}
.bsp-badges{display:flex;gap:20px;flex-wrap:wrap}
.bsp-badges{align-items:center;gap:28px}
.bsp-badges a,.bsp-side-badge a{display:block;line-height:0}
.bsp-badges img{display:block;height:auto}
.bsp-badges img[src*="aasw"]{width:156px}
.bsp-badges img[src*="rcp"]{width:112px}
.bsp-slots{position:sticky;top:80px;background:var(--bsp-surface);border:1px solid var(--bsp-rule);border-radius:8px;padding:32px;display:grid;gap:22px}
.bsp-slots h2{font-size:24px;line-height:1.25}
.bsp-seg{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin:0;padding:0;min-width:0}
.bsp-seg-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bsp-checks{display:flex;flex-wrap:wrap;gap:10px 24px}
.bsp-checks label{display:flex;align-items:center;gap:8px;min-height:32px;font-size:15px;font-weight:500;cursor:pointer}
.bsp-checks input{width:20px;height:20px;margin:0;accent-color:var(--bsp-brand);cursor:pointer}
.bsp-checks svg{width:18px;height:18px;flex:none;color:var(--bsp-brand)}
.bsp-days{display:grid;gap:18px}
.bsp-day{gap:12px}
.bsp-day{display:grid;gap:10px}
.bsp-day-h{font-size:16px;font-weight:600;line-height:1.3;color:var(--bsp-ink)}
.bsp-day:not([hidden])~.bsp-day:not([hidden]){border-top:1px solid var(--bsp-rule);padding-top:18px}
.bsp-times{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bsp-times a{display:grid;justify-items:center;align-content:center;gap:4px;min-height:64px;padding:6px 4px;border:1px solid #7A8899;border-radius:8px;text-decoration:none;color:var(--bsp-ink)}
.bsp-times a:hover{border-color:var(--bsp-brand);background:var(--bsp-tint);color:var(--bsp-ink)}
.bsp-times .bsp-t{font-weight:500;font-size:16px;line-height:1.2;font-variant-numeric:tabular-nums}
.bsp-times .bsp-m{display:flex;align-items:center;gap:4px;font-size:12px;line-height:1.2;color:var(--bsp-muted)}
.bsp-times .bsp-m svg{width:14px;height:14px;flex:none;color:var(--bsp-brand)}
.bsp-times a[hidden],.bsp-day[hidden]{display:none}
.bsp-none{font-size:14px;color:var(--bsp-muted)}
.bsp-slots .bsp-btn{width:100%}
.bsp-slots .bsp-how{font-size:14px;color:var(--bsp-muted);text-align:center;margin-top:-10px}
.bsp-cost{border-top:1px solid var(--bsp-rule);padding-top:18px;font-size:14px;line-height:1.55;color:var(--bsp-muted);display:grid;gap:4px}
.bsp-cost b{font-weight:600;color:var(--bsp-ink)}

/* ===== QUALIFICATIONS ===== */
.bsp-quals{margin:0;padding:0;list-style:none;border-top:1px solid var(--bsp-rule)}
.bsp-quals li{padding:14px 0;border-bottom:1px solid var(--bsp-rule);font-size:16px;line-height:1.5}
.bsp-quals li em{font-style:normal;color:var(--bsp-muted);display:block;font-size:14px}
.bsp-side-badge img{width:220px;height:auto;display:block}

/* ===== IN THE NEWS ===== */
.bsp-logos{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 28px;margin:8px 0 12px;padding:0;list-style:none}
.bsp-logos img{display:block;width:auto;max-width:100%;opacity:.62}
.bsp-logos .bsp-l-abc{height:52px}.bsp-logos .bsp-l-sbs{height:38px}.bsp-logos .bsp-l-c7{height:42px}
.bsp-logos .bsp-l-smh{height:36px}.bsp-logos .bsp-l-9h{height:24px}.bsp-logos .bsp-l-n24{height:24px}
.bsp-news{margin:0;padding:0;list-style:none;columns:2;column-gap:40px;border-top:1px solid var(--bsp-rule)}
.bsp-news li{break-inside:avoid;padding:12px 0 12px 26px;border-bottom:1px solid var(--bsp-rule);font-size:15px;line-height:1.5;position:relative}
.bsp-news li::before{content:"";position:absolute;left:0;top:16px;width:16px;height:16px;background:var(--bsp-brand);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat}

/* ===== GETTING STARTED ===== */
.bsp-steps{margin:0;padding:0;list-style:none;display:grid;gap:20px;counter-reset:s}
.bsp-steps li{counter-increment:s;display:grid;grid-template-columns:36px 1fr;gap:16px;padding:0}
.bsp-steps li::before{content:counter(s);position:static;width:36px;height:36px;border-radius:50%;background:var(--bsp-brand);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:600;top:auto}
.bsp-small{font-size:16px;line-height:1.6}
.bsp-askline{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--bsp-rule)}
.bsp-askline p{font-size:20px;font-weight:500;color:var(--bsp-brand)}

/* ===== FAQ ===== */
.bsp-faq-l{position:sticky;top:80px}
.bsp-faq details{border-bottom:1px solid var(--bsp-rule)}
.bsp-faq details:first-child summary{padding-top:0}
.bsp-faq summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;cursor:pointer;list-style:none;font-size:18px;font-weight:500;line-height:1.45}
.bsp-faq summary::-webkit-details-marker{display:none}
.bsp-faq summary:hover{color:var(--bsp-brand)}
.bsp-faq summary i{flex:0 0 32px;width:32px;height:32px;border:1px solid var(--bsp-rule);border-radius:50%;display:grid;place-items:center;color:var(--bsp-brand);font-style:normal;font-size:18px;line-height:1}
.bsp-faq summary i::before{content:"+"}
.bsp-faq details[open] summary{color:var(--bsp-brand)}
.bsp-faq details[open] summary i{background:var(--bsp-brand);border-color:var(--bsp-brand);color:#fff}
.bsp-faq details[open] summary i::before{content:"−"}
.bsp-faq .bsp-ans{padding:0 56px 28px 0;font-size:17px;max-width:var(--bsp-measure)}

/* ===== CLOSING BAND ===== */
.bsp-close{background:var(--bsp-brand);color:#fff;padding-block:88px 96px}
.bsp-close h2{color:#fff;font-size:44px;line-height:1.1;letter-spacing:-.025em}
.bsp-close .bsp-intro{font-size:19px;line-height:1.55;color:rgba(255,255,255,.92);max-width:var(--bsp-measure);margin-top:16px}
.bsp-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:40px}
.bsp-card{display:flex;gap:16px;align-items:flex-start;padding:24px;border-radius:8px;text-decoration:none}
.bsp-card .bsp-tile{width:44px;height:44px;flex:none;border-radius:8px;display:grid;place-items:center}
.bsp-card .bsp-tile svg{width:22px;height:22px}
.bsp-card b{display:block;font-size:19px;font-weight:600;line-height:1.3}
.bsp-card span{display:block;font-size:14.5px;line-height:1.5;margin-top:6px;opacity:.92}
.bsp-card-primary{background:var(--bsp-cta);color:#fff}
.bsp-card-primary .bsp-tile{background:rgba(255,255,255,.18)}
.bsp-card-primary:hover{background:var(--bsp-cta-hover);color:#fff}
.bsp-card-secondary{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6)}
.bsp-card-secondary .bsp-tile{background:rgba(255,255,255,.12)}
.bsp-card-secondary:hover{background:rgba(255,255,255,.08);color:#fff}
.bsp-reassure{margin:0;padding:0;list-style:none;border-top:1px solid rgba(255,255,255,.3);align-self:end}
.bsp-reassure li{display:flex;gap:14px;align-items:center;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.3);font-size:16px;font-weight:500}
.bsp-reassure svg{width:20px;height:20px;flex:none}

/* ===== SITE FOOTER (preview only) ===== */
.bsp-foot{background:#3A2A2A;color:#E9DFDF;padding-block:40px;font-size:13px}
.bsp-foot a{color:#fff}

/* ===== RESPONSIVE: desktop-only helpers, then 1180px (compact header), 900px (one column), 767px (phone) ===== */
.bsp-hero-id,.bsp-hero-idtext{display:contents}
.bsp-hero-thumb,.bsp-mob-actions,.bsp-peek{display:none}

/* --- <= 1180px: compact header --- */
@media (max-width:1180px){
  .bsp-site nav,.bsp-site .bsp-right{display:none}
  .bsp-site .bsp-wrap{min-height:88px;padding-block:14px;justify-content:space-between}
  .bsp-logo{margin-right:0}
  .bsp-logo img{width:122px;height:auto}
  .bsp-mob-actions{display:flex;gap:8px;align-items:center}
  .bsp-mob-actions{gap:12px}
  .bsp-site .bsp-mob-book{min-height:44px;padding:8px 20px;font-size:16px;border-radius:22px;white-space:nowrap}
  .bsp-icon-btn{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;border:0;background:#E8EEF5;color:#383838;cursor:pointer}
  .bsp-icon-btn svg{width:22px;height:22px}
  .bsp-hero{grid-template-columns:max(16px,calc((100% - var(--bsp-content))/2)) minmax(0,1fr) 48px minmax(260px,38%)}
}

/* --- <= 900px: one column --- */
@media (max-width:900px){
  .bsp-grid,.bsp-grid-r{grid-template-columns:minmax(0,1fr);row-gap:28px}
  .bsp-slots,.bsp-faq-l{position:static}
  .bsp-band .bsp-grid{display:flex;flex-direction:column;gap:48px}
  .bsp-band .bsp-grid>.bsp-slots{order:-1}
  .bsp-close .bsp-grid{display:grid}
  .bsp-reassure{align-self:start}
  .bsp-news{columns:1}
}

/* --- <= 767px: phone --- */
@media (max-width:767px){
  .bsp-page{font-size:16px;line-height:1.6}
  :where(.bsp-page) h2{font-size:26px;line-height:1.2}
  .bsp-band{padding-block:40px 48px}
  .bsp-ruled{padding-top:28px}
  .bsp-site .bsp-wrap{min-height:88px;padding-block:14px;gap:8px}
  .bsp-logo{flex:none}
  .bsp-logo img{width:100px}
  .bsp-mob-actions{gap:8px;min-width:0}
  .bsp-site .bsp-mob-book{min-height:40px;padding:6px 14px;font-size:14px;letter-spacing:-.01em}
  .bsp-icon-btn{width:40px;height:40px}
  .bsp-icon-btn svg{width:20px;height:20px}
  
  .bsp-hero{display:block}
  .bsp-hero-photo{display:none}
  .bsp-hero-text{padding:24px max(16px,env(safe-area-inset-right,0px)) 28px max(16px,env(safe-area-inset-left,0px));gap:18px}
  .bsp-hero-id{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;align-items:center}
  .bsp-hero-idtext{display:flex;flex-direction:column;gap:6px;min-width:0}
  .bsp-hero-thumb{display:block;width:76px;height:76px;border-radius:50%;object-fit:cover;object-position:46% 28%;background:#D9D9D9}
  .bsp-hero .bsp-eyebrow{font-size:11px}
  .bsp-hero h1{font-size:30px;line-height:1.12;letter-spacing:-.02em}
  .bsp-pill{margin-top:0;font-size:14px}
  .bsp-hero .bsp-lead{margin:6px 0 0;padding-left:40px;font-size:17px;line-height:1.45;letter-spacing:0}
  .bsp-hero .bsp-lead::before{font-size:64px;top:-8px;left:-2px}
  .bsp-hero-text .bsp-hero-book{display:flex;flex-direction:column;gap:18px;padding-block:22px;margin-top:4px}
  .bsp-book-main{gap:16px}
  .bsp-hero-book .bsp-row{flex-direction:column;align-items:stretch;gap:12px}
  .bsp-hero-book .bsp-row .bsp-btn{width:100%}
  .bsp-status{justify-content:center}
  .bsp-hero-book .bsp-modes{order:-1;flex-direction:row;gap:24px;padding-left:0;border-left:0;justify-content:center}
  .bsp-rebate{font-size:14px;line-height:1.5}
  
  .bsp-jump{position:static}
  .bsp-jump .bsp-wrap{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;gap:22px;min-height:52px;font-size:14px;scrollbar-width:none}
  .bsp-jump .bsp-wrap::-webkit-scrollbar{display:none}
  .bsp-jump span{font-size:11px;padding-right:18px}
  
  .bsp-slots{padding:22px 18px;gap:18px}
  .bsp-slots h2{font-size:22px}
  .bsp-checks{gap:8px 20px}
  .bsp-times a{min-height:60px}
  .bsp-times .bsp-m{font-size:11px}
  
  .bsp-stack{gap:40px}
  .bsp-chips li{font-size:12px;padding:6px 12px}
  .bsp-see{column-gap:20px}
  .bsp-see li{font-size:15px;padding:10px 0}
  .bsp-badges img[src*="aasw"]{width:128px}
  .bsp-badges img[src*="rcp"]{width:92px}
  .bsp-side-badge img{width:180px}
  
  .bsp-prose{gap:16px}
  .bsp-quals li{font-size:15px}
  .bsp-logos{justify-content:space-around;gap:20px 24px}
  .bsp-logos .bsp-l-abc{height:42px}.bsp-logos .bsp-l-sbs{height:30px}.bsp-logos .bsp-l-c7{height:34px}
  .bsp-logos .bsp-l-smh{height:28px}.bsp-logos .bsp-l-9h{height:20px}.bsp-logos .bsp-l-n24{height:20px}
  .bsp-news li{font-size:14px}
  .bsp-steps li{grid-template-columns:30px 1fr;gap:12px}
  .bsp-steps li::before{width:30px;height:30px;font-size:14px}
  .bsp-small{font-size:15px}
  .bsp-askline{flex-direction:column;align-items:stretch;gap:14px}
  .bsp-askline p{font-size:18px}
  .bsp-askline .bsp-btn{width:100%}
  
  .bsp-faq summary{font-size:16px;line-height:1.4;padding:18px 0;gap:16px}
  .bsp-faq summary i{flex-basis:28px;width:28px;height:28px;font-size:16px}
  .bsp-faq .bsp-ans{padding:0 0 22px;font-size:15px}
  
  .bsp-close{padding-block:48px 56px}
  .bsp-close h2{font-size:30px;line-height:1.15}
  .bsp-close .bsp-intro{font-size:16px}
  .bsp-cards{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:28px}
  .bsp-card{padding:18px;gap:14px}
  .bsp-card b{font-size:17px}
  .bsp-card span{font-size:14px}
  .bsp-close .bsp-grid{row-gap:28px}
  .bsp-reassure li{font-size:15px;padding:14px 0}
  
  .bsp-peek{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:20;align-items:center;justify-content:space-between;gap:12px;
    background:var(--bsp-surface);border-top:1px solid var(--bsp-rule);box-shadow:0 -4px 16px rgba(30,50,80,.08);
    padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
    transform:translateY(110%);visibility:hidden;transition:transform .2s ease,visibility .2s}
  .bsp-peek.bsp-on{transform:none;visibility:visible}
  .bsp-peek p{font-size:13px;line-height:1.35;color:var(--bsp-muted)}
  .bsp-peek p b{color:var(--bsp-ink);font-weight:600}
  .bsp-peek .bsp-btn{min-height:46px;padding:10px 22px;font-size:15px}
  .bsp-peek--solo .bsp-btn{flex:1}
 
}
@media (max-width:389px){.bsp-logo img{width:88px}.bsp-site .bsp-mob-book{padding:6px 11px;font-size:13px}.bsp-icon-btn{width:38px;height:38px}}
@media (prefers-reduced-motion:reduce){.bsp-peek{transition:none}}

/* --- Phone: "Jump to a section" menu (script 3) --- */
.bsp-jump-m{display:none}
@media (max-width:767px){
  .bsp-jump .bsp-wrap{flex-wrap:wrap;overflow:visible;white-space:normal;padding-block:0;min-height:0}
  .bsp-jump .bsp-wrap>span,.bsp-jump .bsp-wrap>a{display:none}
  .bsp-jump-m{display:block;width:100%}
  .bsp-jump-m summary{display:flex;justify-content:space-between;align-items:center;min-height:52px;list-style:none;cursor:pointer;font-size:15px;font-weight:600;color:var(--bsp-ink)}
  .bsp-jump-m summary::-webkit-details-marker{display:none}
  .bsp-jump-m summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--bsp-brand);border-bottom:2px solid var(--bsp-brand);transform:rotate(45deg);margin:-4px 4px 0 0;transition:transform .15s}
  .bsp-jump-m[open] summary::after{transform:rotate(-135deg);margin-top:4px}
  .bsp-jump-m ul{list-style:none;margin:0;padding:0 0 8px;border-top:1px solid var(--bsp-rule)}
  .bsp-jump-m li a{display:block;padding:12px 0;font-size:15px;border-bottom:1px solid var(--bsp-rule);text-decoration:none;color:var(--bsp-ink)}
  .bsp-jump-m li:last-child a{border-bottom:0}
  .bsp-jump-m li a:hover{color:var(--bsp-cta)}
}

/* --- Phone: "Learn more about Adam" bar, pinned until first scroll (script 4) --- */
.bsp-learn{display:none}
@media (max-width:767px){
  .bsp-hero-text{min-height:min(calc(100svh - 88px),720px);justify-content:center;gap:clamp(18px,3.2svh,30px);padding-top:clamp(24px,4svh,40px);padding-bottom:84px}
  .bsp-hero-id{gap:18px}
  .bsp-hero .bsp-lead{margin-top:0}
  .bsp-hero-text .bsp-hero-book{gap:clamp(16px,2.6svh,24px);padding-block:clamp(20px,3svh,28px)}
  .bsp-learn{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:15;align-items:center;justify-content:center;gap:8px;
    padding:28px max(16px,env(safe-area-inset-right,0px)) calc(18px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
    border:0;cursor:pointer;font:600 15px/1.3 var(--bsp-font);color:var(--bsp-brand);
    background:linear-gradient(to bottom,rgba(232,238,245,0),var(--bsp-tint) 45%);
    transition:opacity .2s,visibility .2s}
  .bsp-learn svg{width:16px;height:16px}
  .bsp-learn.bsp-off{opacity:0;visibility:hidden}
}
@media (max-width:767px) and (prefers-reduced-motion:no-preference){
  .bsp-learn svg{animation:bsp-nudge 1.6s ease-in-out 1s 3}
  @keyframes bsp-nudge{50%{transform:translateY(3px)}}
}

/* --- Phone hero v2: white identity band, booking block centred, white Learn more bar --- */
@media (max-width:767px){
  .bsp-hero-text{justify-content:flex-start;padding-top:0;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));gap:clamp(20px,3svh,30px)}
  .bsp-hero-id{background:var(--bsp-surface);margin:0 calc(-1 * max(16px,env(safe-area-inset-right,0px))) 0 calc(-1 * max(16px,env(safe-area-inset-left,0px)));
    padding:clamp(22px,3.4svh,34px) max(16px,env(safe-area-inset-right,0px)) clamp(22px,3.4svh,34px) max(16px,env(safe-area-inset-left,0px));
    border-bottom:1px solid var(--bsp-rule);grid-template-columns:clamp(80px,11svh,104px) minmax(0,1fr);gap:clamp(16px,2.4svh,22px)}
  .bsp-hero-thumb{width:clamp(80px,11svh,104px);height:clamp(80px,11svh,104px)}
  .bsp-hero h1{font-size:clamp(30px,4.3svh,38px)}
  .bsp-hero .bsp-eyebrow{font-size:clamp(11px,1.5svh,12px)}
  .bsp-pill{font-size:clamp(14px,1.9svh,16px)}
  .bsp-hero .bsp-lead{margin-top:auto;font-size:clamp(17px,2.35svh,20px);padding-left:clamp(40px,5.4svh,48px)}
  .bsp-hero .bsp-lead::before{font-size:clamp(64px,8.5svh,80px)}
  .bsp-hero-text .bsp-hero-book{margin-bottom:auto}
  .bsp-learn{background:var(--bsp-surface);border-top:1px solid var(--bsp-rule);box-shadow:0 -4px 16px rgba(30,50,80,.06);padding-top:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
}

/* --- Phone: jump menu stays pinned to the top once reached --- */
@media (max-width:767px){
  .bsp-jump{position:sticky;top:0;z-index:12;box-shadow:0 2px 10px rgba(30,50,80,.06)}
  .bsp-jump-m ul{max-height:calc(100svh - 120px);overflow-y:auto;overscroll-behavior:contain}
  main [id]{scroll-margin-top:68px}
}
@media (max-width:767px){.bsp-jump + .bsp-band{padding-top:16px}}

/* ===== DESKTOP HERO UPDATE (768px and up): approved design changes =====
   Placed last so it wins over the earlier hero rules at equal specificity.
   Nothing here applies at 767px and below. */
@media (min-width:768px){
  .bsp-hero{min-height:600px}
  .bsp-hero-photo{contain:size;aspect-ratio:auto;align-self:stretch;height:auto;min-height:100%}
  .bsp-hero-text{justify-content:center;padding-block:64px;gap:0}
  .bsp-hero .bsp-eyebrow{font-size:13px;margin:0 0 14px}
  .bsp-hero h1{font-size:56px;line-height:1.05;margin:0 0 10px}
  .bsp-pill{font-size:17px;margin:0 0 40px} /* the "20+ years of experience" line */
  .bsp-hero .bsp-lead{margin:0 0 40px;font-size:21px;line-height:1.45}
  .bsp-hero .bsp-lead::before{font-size:104px;top:-16px}
  .bsp-hero-text .bsp-hero-book{background:#FFFFFF;border:1px solid #C6D2DE;border-radius:12px;padding:28px 32px;margin-top:0;column-gap:40px;box-shadow:0 2px 18px rgba(30,50,80,.07)}
  .bsp-hero-book .bsp-modes{padding-left:40px}
}
@media (min-width:768px) and (max-width:1180px){
  .bsp-hero h1{font-size:46px}
  .bsp-hero .bsp-lead{font-size:19px}
  .bsp-hero-text .bsp-hero-book{grid-template-columns:minmax(0,1fr);row-gap:20px;padding:24px}
  .bsp-hero-book .bsp-modes{flex-direction:row;padding-left:0;border-left:0;border-top:1px solid #C6D2DE;padding-top:18px;gap:24px;justify-content:flex-start}
}

/* ===== SMOOTH SCROLL for in-page links (Jump ahead, phone jump menu) =====
   Only on pages that contain the template, and not for visitors who prefer reduced motion. */
@media (prefers-reduced-motion:no-preference){
  html:has(.bsp-page){scroll-behavior:smooth}
}
