/* =========================================================
   Block Therapy Bliss — static site styles
   Recreated from the BTB design system / live site screenshots.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Questrial&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: 'Sinthya';
  src: url('Sinthya/Sinthya.woff2') format('woff2'),
       url('Sinthya/Sinthya.woff') format('woff'),
       url('Sinthya/Sinthya.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --btb-gold: #e8b830;
  --btb-gold-deep: #d49a1e;
  --btb-gold-soft: #f2d58a;
  --btb-cream: #f4e4c8;
  --btb-cream-soft: #faf1de;
  --btb-paper-warm: #fbf8f3;
  --btb-card: #f7f4ee;
  --btb-slate: #3c4e54;
  --btb-slate-deep: #2c3a40;
  --btb-cedar: #c8895a;
  --btb-ink: #2e2e2e;
  --btb-charcoal: #444;
  --btb-grey: #6b6b6b;
  --btb-grey-light: #9a9a9a;
  --btb-line: #ece6da;
  --btb-white: #fff;

  --btb-font-script: 'Sinthya', cursive;
  --btb-font-display: 'Questrial', 'Century Gothic', system-ui, sans-serif;
  --btb-font-body: 'Mulish', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --btb-radius-sm: 8px;
  --btb-radius: 16px;
  --btb-radius-lg: 24px;
  --btb-radius-pill: 999px;
  --btb-shadow: 0 6px 24px rgba(60, 78, 84, 0.08);
  --btb-shadow-lg: 0 18px 48px rgba(60, 78, 84, 0.12);
  --btb-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Backwards-compatible aliases used by page-level CSS. */
  --gold: var(--btb-gold);
  --dark-text: var(--btb-charcoal);
  --body-text: var(--btb-grey);
  --btn-dark: var(--btb-slate);
  --btn-light: var(--btb-cream);
  --review-border: var(--btb-gold-soft);
  --bg: var(--btb-white);
  --max-w: 1120px;
  --radius: var(--btb-radius);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--btb-font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--btb-grey);
  background: var(--btb-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p { margin: 0 0 1rem; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--btb-ease), background 0.25s var(--btb-ease), opacity 0.25s var(--btb-ease);
}

a:hover { color: var(--btb-gold-deep); }

ul { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--btb-font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--btb-charcoal);
}

.script {
  font-family: var(--btb-font-script);
  color: var(--btb-gold);
  font-weight: 400;
  line-height: 1;
}

.container {
  width: min(100% - 40px, var(--max-w));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

section { padding-block: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 30px;
  border: 0;
  border-radius: var(--btb-radius-pill);
  font-family: var(--btb-font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.25s var(--btb-ease), background 0.25s var(--btb-ease), color 0.25s var(--btb-ease), box-shadow 0.25s var(--btb-ease);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--btb-shadow);
}

.btn-dark {
  background: var(--btb-slate);
  color: #fff;
  border-radius: var(--btb-radius-sm);
}

.btn-dark:hover {
  background: var(--btb-slate-deep);
  color: #fff;
}

.btn-light {
  background: var(--btb-cream);
  color: var(--btb-charcoal);
}

.btn-light:hover {
  background: var(--btb-gold-soft);
  color: var(--btb-charcoal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo img {
  width: auto;
  height: 58px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  font-family: var(--btb-font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--btb-charcoal);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--btb-charcoal);
  border-bottom-color: var(--btb-charcoal);
}

.nav-login {
  padding: 0 0 4px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--btb-charcoal) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--btb-charcoal);
  transition: transform 0.25s var(--btb-ease), opacity 0.25s var(--btb-ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  padding-block: 50px 24px;
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hero-text {
  max-width: 480px;
  justify-self: center;
}

.hero-text h1 {
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.08;
  margin-bottom: 26px;
}

.hero-text h1 .script {
  display: inline-block;
  font-size: 1.5em;
  transform: translateY(0.08em);
}

.hero-text p {
  max-width: 420px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--btb-grey);
}

.hero-image-wrap,
.how-image-wrap,
.instructor-image-wrap,
.programs-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrap::after,
.how-image-wrap::before,
.programs-image-wrap::after,
.faq-hero::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 260px;
  background-image: radial-gradient(circle, rgba(154,154,154,0.25) 1.5px, transparent 1.8px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.65;
}

.hero-image-wrap::after {
  right: 6%;
  top: 2%;
  z-index: 0;
}

.hero-image-wrap img,
.how-image-wrap img {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  aspect-ratio: 0.9 / 1;
  object-fit: cover;
  border-radius: 54% 46% 50% 50% / 42% 44% 56% 58%;
}

.benefits-bar {
  padding-block: 22px 34px;
  background: #fff;
  text-align: center;
  color: var(--btb-grey);
}

.benefits-bar p {
  max-width: 880px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.benefits-bar strong {
  color: var(--btb-grey);
  font-weight: 400;
}

.sloflow-transition {
  position: relative;
  background: var(--btb-paper-warm);
  overflow: hidden;
}

.sloflow-transition::before,
.sloflow-transition::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, rgba(154,154,154,0.22) 1.4px, transparent 1.8px);
  background-size: 18px 18px;
  opacity: 0.45;
}

.sloflow-transition::before { left: 3%; top: 18%; }
.sloflow-transition::after { right: 5%; bottom: 12%; }

.transition-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.transition-inner h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 46px);
}

.transition-inner h2 .script {
  font-size: 1.5em;
}

.transition-lede {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.75;
}

.transition-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.transition-point {
  padding: 22px 20px;
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius);
  background: #fff;
  text-align: left;
}

.transition-point h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.transition-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.how-it-works { background: #fff; }

.how-it-works h2,
.instructor h2,
.reviews h2,
.programs h2 {
  margin-bottom: 40px;
  text-align: center;
  font-size: clamp(34px, 4vw, 46px);
}

.how-it-works h2 .script,
.instructor h2 .script,
.reviews h2 .script,
.programs h2 .script {
  display: inline-block;
  font-size: 1.5em;
  transform: translateY(0.08em);
}

.how-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.how-image-wrap::before {
  left: 4%;
  top: 2%;
}

.how-image-wrap img {
  width: min(360px, 100%);
}

.how-text p,
.instructor-bio p,
.faq-answer p,
.about-story-text p {
  text-align: justify;
}

.how-text p {
  margin-bottom: 22px;
  font-size: 16px;
}

.instructor {
  background: #fff;
}

.instructor-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.instructor-bio {
  font-size: 15px;
  line-height: 1.72;
}

.instructor-bio p { margin-bottom: 15px; }

.instructor-signature {
  margin-top: 18px;
  font-family: var(--btb-font-script);
  font-size: 42px;
  line-height: 1;
  color: var(--btb-charcoal);
}

.instructor-image-wrap img {
  width: min(340px, 100%);
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  border-radius: 50%;
}

.instructor-image-wrap::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -20px;
  height: 48px;
  border-bottom: 10px solid rgba(232, 184, 48, 0.55);
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.reviews { background: #fff; }

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
}

.review-card {
  padding: 22px 28px;
  border: 1px solid var(--btb-gold-soft);
  border-radius: var(--btb-radius);
  background: #fff;
}

.review-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.review-card blockquote {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.72;
  text-align: justify;
}

.review-card cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--btb-grey-light);
}

.stars { display: none; }

.programs {
  background: #fff;
}

.programs-inner {
  display: block;
  max-width: 900px;
  margin-inline: auto;
}

.programs-text p {
  margin-bottom: 18px;
  font-size: 17px;
}

.programs-text ul {
  max-width: 520px;
  margin: 10px auto 28px;
  padding-left: 1.3rem;
}

.programs-text li {
  margin-bottom: 2px;
  font-size: 16px;
}

.programs-text .btn {
  display: flex;
  width: fit-content;
  margin-inline: auto;
}

.programs-image-wrap {
  margin-top: 46px;
}

.programs-image-wrap::after {
  top: -20px;
  right: 20%;
}

.programs-image-wrap img {
  width: min(380px, 100%);
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  border-radius: 54% 46% 50% 50% / 42% 44% 56% 58%;
}

/* Session images 2+1 grid */
.session-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 40px;
}

.session-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
}

.session-grid__leg {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

@media (max-width: 540px) {
  .session-grid {
    grid-template-columns: 1fr;
  }
  .session-grid__leg {
    grid-column: auto;
    max-width: 100%;
  }
}

.page-hero,
.faq-hero,
.about-hero {
  position: relative;
  padding-block: 58px 38px;
  background: #fff;
  text-align: center;
  overflow: clip;
}

.faq-hero::before {
  left: 0;
  top: 18px;
  width: 100%;
  height: 120px;
  opacity: 0.45;
}

.page-hero h1,
.faq-hero h1,
.about-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 4.8vw, 56px);
}

.page-hero h1 .script,
.about-hero h1 .script {
  font-size: 1.5em;
}

.faq-hero h1 .script {
  font-size: 1.1em;
}

.page-hero p,
.faq-hero p,
.about-hero .subheading {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 16px;
}

.faq-section {
  position: relative;
  padding-block: 30px 64px;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background-image: radial-gradient(circle, rgba(154,154,154,0.12) 1.6px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.32;
}

.faq-list {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-inline: auto;
}

.faq-section h2 {
  margin: 54px 0 24px;
  text-align: center;
  font-size: clamp(34px, 4vw, 46px);
}

details {
  margin-bottom: 18px;
  border: 1px solid var(--btb-gold-soft);
  border-radius: var(--btb-radius);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  list-style: none;
  cursor: pointer;
  font-family: var(--btb-font-display);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.15;
  color: var(--btb-charcoal);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  flex: none;
  font-family: var(--btb-font-body);
  font-size: 30px;
  line-height: 1;
  color: var(--btb-gold);
  transition: transform 0.25s var(--btb-ease);
}

details[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 28px 22px;
  font-size: 15px;
  line-height: 1.72;
}

.site-footer {
  padding-block: 40px 0;
  background: #fff;
  color: var(--btb-charcoal);
  border-top: 1px solid var(--btb-line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) auto minmax(210px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 34px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-tagline {
  margin: 0;
  font-family: var(--btb-font-display);
  font-size: 22px;
  color: var(--btb-grey);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a,
.footer-contact a svg {
  opacity: 0.7;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: var(--btb-charcoal);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-cta {
  text-align: center;
}

.footer-bottom {
  padding: 22px 0 18px;
  background: var(--btb-paper-warm);
  border-top: 1px solid var(--btb-line);
  font-size: 12px;
  color: var(--btb-grey-light);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 14px;
}

.footer-bottom-bar p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-links a { color: var(--btb-grey-light); font-weight: 600; }
.footer-links a:hover { color: var(--btb-gold-deep); }

.footer-legal {
  font-size: 11px;
  color: var(--btb-grey-light);
  opacity: 0.7;
  line-height: 1.6;
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 600px) {
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--btb-paper-warm);
  border-top: 2px solid var(--btb-gold);
  box-shadow: 0 -4px 24px rgba(60, 78, 84, 0.12);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 16px;
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--btb-charcoal);
}

.cookie-banner-text a {
  color: var(--btb-slate);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  padding: 9px 22px;
  background: var(--btb-slate);
  color: #fff;
  border: none;
  border-radius: var(--btb-radius-sm);
  font-family: var(--btb-font-body);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--btb-ease);
}

.cookie-btn-accept:hover { background: var(--btb-slate-deep); }

.cookie-btn-decline {
  padding: 9px 22px;
  background: transparent;
  color: var(--btb-grey);
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius-sm);
  font-family: var(--btb-font-body);
  font-size: 13.5px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s var(--btb-ease), color 0.2s var(--btb-ease);
}

.cookie-btn-decline:hover {
  border-color: var(--btb-grey-light);
  color: var(--btb-charcoal);
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .how-inner,
  .instructor-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text,
  .how-text,
  .instructor-bio {
    justify-self: center;
    max-width: 720px;
  }

  .hero-image-wrap { order: -1; }
  .instructor-image-wrap { order: -1; }

  .transition-points {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  section { padding-block: 42px; }

  .hamburger { display: flex; }

  .site-header { position: relative; }

  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: #fff;
    border-top: 1px solid var(--btb-line);
    box-shadow: var(--btb-shadow);
    z-index: 99;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .site-nav li {
    border-bottom: 1px solid var(--btb-line);
  }

  .site-nav a,
  .nav-login {
    display: block;
    padding: 14px 20px !important;
    border-bottom: 0 !important;
    text-align: center;
  }

  .hero {
    padding-block-start: 34px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-text h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero-image-wrap img {
    width: min(310px, 86vw);
  }

  .how-image-wrap img,
  .instructor-image-wrap img {
    width: min(280px, 86vw);
  }

  .review-card,
  summary,
  .faq-answer {
    padding-inline: 20px;
  }
}
