/* Buteyko breathing for anxiety page. Loads after /assets/site.css and only adds what this page needs.
   Same palette and type as the coach page: cream and white surfaces, deep teal type, sea green buttons, thin teal hairlines. */

/* ---------- Hero: keyword on line one, place below it ---------- */
.ba-hero h1 { max-width: 16ch; font-size: clamp(1.9rem, 8.4vw, 2.3rem); text-wrap: balance; }
.ba-hero .h1-key, .ba-hero .h1-place { display: block; }
.ba-hero .h1-place { white-space: nowrap; font-size: 0.72em; line-height: 1.25; margin-top: 0.2em; color: var(--teal-soft); }
@media (max-width: 340px) { .ba-hero .h1-place { white-space: normal; } }
.ba-hero .lede { max-width: 36ch; text-wrap: balance; }
/* Landscape photo inside the circle: keep her face and hands in frame */
.ba-hero .circle img { object-position: 50% 35%; }
@media (min-width: 900px) {
  .ba-hero .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: 56px; }
  .ba-hero h1 { font-size: clamp(2.4rem, 3.6vw, 3.3rem); max-width: 15ch; }
}

/* ---------- Shared two-column section: heading left, content right ---------- */
.ba-split { display: grid; gap: 28px; }
.ba-split h2 { max-width: none; margin: 0; text-wrap: balance; }
@media (min-width: 900px) {
  .ba-split { grid-template-columns: 0.8fr 1.2fr; gap: 88px; align-items: start; }
  .ba-split h2 { position: sticky; top: 32px; }
}

/* ---------- Why it helps ---------- */
.ba-why { background: var(--white); color: var(--teal); padding: var(--section) 0; }
.ba-auto { background: var(--mist); }
.ba-copy p { max-width: 50ch; text-wrap: balance; }
.ba-copy p:last-child { margin-bottom: 0; }
.ba-copy a, .ba-about-copy a { text-underline-offset: 5px; text-decoration-thickness: 1px; padding-block: 6px; }

/* ---------- Who it is for: ruled list ---------- */
.ba-who { background: var(--cream); color: var(--teal); padding: var(--section) 0; }
.ba-list { list-style: none; margin: 0; padding: 0; max-width: 34rem; border-bottom: 1px solid var(--line); }
.ba-list li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; text-wrap: balance; }
.ba-list li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); }

/* ---------- How we work: photo and steps ---------- */
.ba-how { background: var(--mist); color: var(--teal); padding: var(--section) 0; }
.ba-how-grid { display: grid; gap: 36px; }
.ba-how-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; border-radius: 6px; }
.ba-how-copy h2 { max-width: 15ch; }
.ba-steps { list-style: none; counter-reset: step; margin: 24px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.ba-steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.ba-steps li::before { content: counter(step); grid-row: 1 / span 2; font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; color: var(--teal); }
.ba-steps h3 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 2px; }
.ba-steps p { margin: 0; max-width: 44ch; text-wrap: balance; }
.ba-care { margin: 24px 0 0; font-size: 16px; line-height: 1.6; color: var(--teal-soft); max-width: 52ch; text-wrap: balance; }
@media (min-width: 900px) {
  .ba-how-grid { grid-template-columns: 0.95fr 1.05fr; gap: 88px; align-items: center; }
  .ba-how-photo img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
}

/* ---------- About: portrait left on desktop ---------- */
.ba-about { background: var(--white); color: var(--teal); padding: var(--section) 0; }
.ba-about-grid { display: grid; gap: 36px; }
.ba-about-photo img { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 6px; }
.ba-about-copy p { max-width: 44ch; text-wrap: balance; }
.ba-about-copy p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .ba-about-grid { grid-template-columns: 0.75fr 1.25fr; gap: 96px; align-items: center; }
  .ba-about-photo img { max-width: 400px; }
}

/* ---------- FAQ: open-and-close answers ---------- */
.ba-faq { background: var(--cream); color: var(--teal); padding: var(--section) 0; }
.ba-faq-list { border-bottom: 1px solid var(--line); }
.ba-faq-list details { border-top: 1px solid var(--line); }
.ba-faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 60px; padding: 14px 0;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--teal);
  cursor: pointer; list-style: none; text-wrap: balance;
}
.ba-faq-list summary::-webkit-details-marker { display: none; }
.ba-faq-list summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--teal); }
.ba-faq-list details[open] summary::after { content: "\2212"; }
.ba-faq-list details p { margin: 0 0 20px; max-width: 56ch; text-wrap: pretty; }

/* ---------- Closing CTA ---------- */
.ba-cta { background: var(--white); color: var(--teal); padding: var(--section) 0; }
.ba-cta-inner { max-width: 760px; text-align: center; margin-inline: auto; }
.ba-cta-inner h2, .ba-cta-inner p { margin-inline: auto; }
.ba-cta-inner p { max-width: 40ch; text-wrap: balance; }
.ba-cta .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .ba-cta .contact-ways { display: flex; justify-content: center; gap: 32px; }
}

/* ---------- Sticky bar: one action, slides up after the hero button leaves the screen ---------- */
.bt-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 4;
  background: var(--white); color: var(--teal);
  border-top: 1px solid var(--line);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(105%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
body.show-sticky .bt-sticky { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
html.nav-open .bt-sticky { visibility: hidden; }
.bt-sticky-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bt-sticky-text { margin: 0; font-size: 16px; color: var(--teal); }
.bt-sticky .btn { flex: none; }
@media (max-width: 639px) {
  .bt-sticky-text { display: none; }
  .bt-sticky .btn { width: 100%; min-height: 48px; }
}
/* Room under the footer so the bar never covers its last line */
.site-footer { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) {
  .bt-sticky, body.show-sticky .bt-sticky { transition: none; }
}
@media (max-width: 340px) { .header-row { gap: 12px; } }
