/* ============================================================
   BRIA METHOD — Brand System (neon on dark)
   Paste target: GHL → Sites → Website → Settings → Custom CSS
   Everything is namespaced under .bm-* so it cannot collide
   with GHL builder classes.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- 1. Tokens ---------- */
:root {
  --bm-base:        #0A0A0A;
  --bm-surface:     #141414;
  --bm-surface-2:   #1C1C1C;
  --bm-text:        #FFFFFF;
  --bm-muted:       #B5B5B5;
  --bm-line:        rgba(255, 255, 255, 0.10);

  --bm-blue:        #00E5FF;
  --bm-magenta:     #FF2E9A;
  --bm-lime:        #B6FF00;
  --bm-violet:      #7B2FF7;

  --bm-display:     'Bebas Neue', 'Oswald', 'Anton', Impact, sans-serif;
  --bm-body:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bm-gap:         clamp(1rem, 3vw, 2rem);
  --bm-section-y:   clamp(4rem, 9vw, 7.5rem);
  --bm-max:         1200px;
  --bm-radius:      14px;

  --bm-ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
.bm-scope,
.bm-scope * { box-sizing: border-box; }

.bm-scope {
  background: var(--bm-base);
  color: var(--bm-text);
  font-family: var(--bm-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bm-scope img { max-width: 100%; display: block; object-fit: cover; }

.bm-wrap {
  width: 100%;
  max-width: var(--bm-max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.bm-section { padding-block: var(--bm-section-y); position: relative; }

/* ---------- 3. Typography ---------- */
.bm-scope h1, .bm-scope h2, .bm-scope h3,
.bm-h1, .bm-h2, .bm-h3 {
  font-family: var(--bm-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}

.bm-h1 { font-size: clamp(2.5rem, 7.5vw, 5.75rem); }
.bm-h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.bm-h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.bm-eyebrow {
  font-family: var(--bm-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bm-blue);
  margin: 0 0 1.15rem;
}

.bm-lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--bm-muted); max-width: 58ch; }
.bm-body { color: var(--bm-muted); }
.bm-micro { font-size: 0.95rem; color: var(--bm-muted); letter-spacing: 0.01em; }

/* Gradient headline: blue → magenta */
.bm-grad {
  background: linear-gradient(100deg, var(--bm-blue) 0%, var(--bm-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 4. Neon treatment ---------- */
/* Usage: <div class="bm-neon" style="--a: var(--bm-blue)"> */
.bm-neon {
  --a: var(--bm-blue);
  border: 1px solid color-mix(in srgb, var(--a) 55%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--a) 33%, transparent);
  background: var(--bm-surface);
  border-radius: var(--bm-radius);
  transition: box-shadow 0.4s var(--bm-ease), transform 0.4s var(--bm-ease),
              border-color 0.4s var(--bm-ease);
}
.bm-neon:hover {
  border-color: var(--a);
  box-shadow: 0 0 30px color-mix(in srgb, var(--a) 48%, transparent);
  transform: translateY(-4px);
}

/* Fallback for browsers without color-mix() */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .bm-neon { border-color: rgba(255,255,255,0.22); box-shadow: 0 0 18px rgba(255,255,255,0.14); }
}

.bm-accent-blue    { --a: var(--bm-blue); }
.bm-accent-magenta { --a: var(--bm-magenta); }
.bm-accent-lime    { --a: var(--bm-lime); }
.bm-accent-violet  { --a: var(--bm-violet); }

/* ---------- 5. Atmosphere: glow field + grain ---------- */
.bm-atmos { position: relative; isolation: isolate; }
.bm-atmos::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(48rem 32rem at 12% -8%,  rgba(0, 229, 255, 0.16), transparent 62%),
    radial-gradient(42rem 30rem at 92% 12%,  rgba(255, 46, 154, 0.14), transparent 62%),
    radial-gradient(38rem 26rem at 60% 105%, rgba(123, 47, 247, 0.16), transparent 65%);
  pointer-events: none;
}
/* Fine grain overlay — kills gradient banding, adds texture */
.bm-atmos::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hairline grid, used behind CTA bands */
.bm-gridlines::before {
  content: '';
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--bm-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bm-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
}

/* ---------- 6. Buttons ---------- */
.bm-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.55rem;
  min-height: 52px;              /* ≥44px tap target */
  padding: 0.9rem 1.9rem;
  font-family: var(--bm-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--bm-ease), box-shadow 0.3s var(--bm-ease),
              background 0.3s var(--bm-ease), color 0.3s var(--bm-ease);
}

/* Primary — solid magenta→violet gradient */
.bm-btn--primary {
  color: #fff;
  background: linear-gradient(100deg, var(--bm-magenta) 0%, var(--bm-violet) 100%);
  box-shadow: 0 0 22px rgba(255, 46, 154, 0.38);
}
.bm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(255, 46, 154, 0.58);
}

/* Secondary — ghost / blue outline */
.bm-btn--ghost {
  color: var(--bm-blue);
  background: transparent;
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.16);
}
.bm-btn--ghost:hover {
  transform: translateY(-2px);
  color: #06131A;
  background: var(--bm-blue);
  border-color: var(--bm-blue);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.bm-btn:focus-visible {
  outline: 2px solid var(--bm-lime);
  outline-offset: 3px;
}

.bm-cta-pair { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* ---------- 7. Header ---------- */
.bm-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bm-line);
}
.bm-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}
.bm-logo {
  font-family: var(--bm-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  white-space: nowrap;
}
.bm-logo svg { width: 22px; height: 22px; flex: none; }

/* Brand marks. The <img> is the real logo file; the text lockup next to it is
   what shows until that file exists, or if it fails to load. site.js swaps
   them, so a missing logo degrades to the wordmark instead of a broken icon. */
.bm-brandmark__img { display: none; width: auto; }
.bm-brandmark.has-logo .bm-brandmark__img { display: block; }
.bm-brandmark.has-logo .bm-brandmark__text { display: none; }
.bm-brandmark__text { display: inline-flex; align-items: center; gap: 0.5rem; }
.bm-header .bm-brandmark__img { height: 42px; }
.bm-footer .bm-brandmark__img { height: 84px; margin-bottom: 1rem; }

.bm-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.bm-nav a {
  position: relative;
  color: var(--bm-muted);
  text-decoration: none;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center;
  min-height: 44px;                 /* tap-target gate */
  transition: color 0.3s var(--bm-ease);
}
.bm-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; transform: scaleX(0); transform-origin: left;
  background: var(--bm-blue);
  box-shadow: 0 0 10px var(--bm-blue);
  transition: transform 0.35s var(--bm-ease);
}
.bm-nav a:hover, .bm-nav a[aria-current="page"] { color: #fff; }
.bm-nav a:hover::after, .bm-nav a[aria-current="page"]::after { transform: scaleX(1); }

.bm-header__cta { display: flex; gap: 0.6rem; margin-left: 1.25rem; }
.bm-header__cta .bm-btn { min-height: 44px; padding: 0.6rem 1.25rem; font-size: 0.72rem; }

.bm-burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--bm-line);
  border-radius: 10px; cursor: pointer;
}
.bm-burger span {
  display: block; width: 20px; height: 2px; background: #fff; position: relative;
  transition: background 0.2s var(--bm-ease);
}
.bm-burger span::before, .bm-burger span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
  transition: transform 0.3s var(--bm-ease);
}
.bm-burger span::before { top: -6px; }
.bm-burger span::after  { top: 6px; }
.bm-burger[aria-expanded="true"] span { background: transparent; }
.bm-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.bm-burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.bm-hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex; align-items: center;
  overflow: hidden;
}
.bm-hero__media { position: absolute; inset: 0; z-index: -3; }
/* Prototype label pinned out of the headline's way */
.bm-hero__media .bm-imgslot { place-items: end; justify-items: end; padding: 1.5rem; }
.bm-hero__media .bm-imgslot span { max-width: 22ch; text-align: right; opacity: 0.55; }
.bm-hero__media img { width: 100%; height: 100%; }
.bm-hero__media::after {
  content: ''; position: absolute; inset: 0;
  /* Tuned against the real studio photo: dark enough on the left for the
     headline to hold contrast, light enough on the right for the room to read. */
  background:
    linear-gradient(180deg, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.62) 62%, var(--bm-base) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.55) 42%, rgba(10,10,10,0.12) 78%);
}
.bm-hero__inner { position: relative; max-width: 72ch; }
.bm-hero__inner .bm-h1 { max-width: 24ch; }
.bm-hero .bm-lede { margin-top: 1.5rem; }

/* Page heroes (interior, shorter) */
.bm-hero--interior { min-height: clamp(360px, 52vh, 520px); }

/* ---------- 9. Card grids ---------- */
.bm-grid { display: grid; gap: var(--bm-gap); }
.bm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bm-grid--2 { grid-template-columns: repeat(2, 1fr); }
/* Auto-fit variant for item counts that don't divide evenly (e.g. the
   LIT Room's five classes), so nothing is left orphaned on its own row. */
.bm-grid--auto { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.bm-card { padding: clamp(1.5rem, 2.6vw, 2.1rem); height: 100%; }
.bm-card__rule {
  width: 40px; height: 3px; border-radius: 2px; margin-bottom: 1.15rem;
  background: var(--a);
  box-shadow: 0 0 12px var(--a);
}
.bm-card h3 { margin-bottom: 0.7rem; }
.bm-card p { margin: 0; color: var(--bm-muted); font-size: 0.97rem; }

/* Numbered index on cards */
.bm-card__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--bm-body);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--a);
}
/* Outcome headlines run longer than a feature label, so they get a step down
   the type scale to keep the four-up grid even. */
.bm-card--outcome h3, .bm-tile--outcome h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }

/* The class type carries real information on the outcome cards, so it is set
   larger than a standard tag rather than as fine print. */
.bm-card--outcome .bm-card__tag {
  font-size: clamp(0.76rem, 1.05vw, 0.9rem);
  letter-spacing: 0.13em;
  margin-bottom: 0.85rem;
}

.bm-card__num {
  font-family: var(--bm-display);
  font-size: 2.6rem; line-height: 1;
  color: var(--a);
  text-shadow: 0 0 18px color-mix(in srgb, var(--a) 55%, transparent);
  margin-bottom: 0.9rem;
}

/* ---------- 10. Split (text + image) ---------- */
.bm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.bm-split__media {
  position: relative;
  border-radius: var(--bm-radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.14);
}
.bm-split__media img { width: 100%; height: 100%; }
.bm-split--flip .bm-split__media { order: -1; }
/* Softens a hot edge in the source photo (the studio's red step-and-repeat
   panel) into the dark ground, so it reads as depth rather than brand red. */
.bm-split__media--fade::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bm-base) 0%, rgba(10,10,10,0.55) 18%, transparent 46%);
}

/* ---------- 11. Check list ---------- */
.bm-checks { list-style: none; padding: 0; margin: 1.9rem 0 0; display: grid; gap: 0.85rem; }
.bm-checks li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: #fff; font-weight: 500; font-size: 1rem;
}
.bm-checks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--bm-lime); }

/* ---------- 11b. Recognition list ---------- */
.bm-recog {
  --a: var(--bm-blue);          /* default lives on the list so a per-item
                                   .bm-accent-* class can still win */
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--bm-gap);
}
.bm-recog li {
  padding: 1.4rem 1.6rem;
  background: var(--bm-surface);
  border-left: 3px solid var(--a);
  border-radius: 0 var(--bm-radius) var(--bm-radius) 0;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.5;
  box-shadow: inset 0 0 44px color-mix(in srgb, var(--a) 8%, transparent);
  transition: transform 0.4s var(--bm-ease), box-shadow 0.4s var(--bm-ease);
}
.bm-recog li:hover {
  transform: translateX(4px);
  box-shadow: inset 0 0 44px color-mix(in srgb, var(--a) 14%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .bm-recog li { box-shadow: inset 0 0 44px rgba(255,255,255,0.05); }
}

/* ---------- 12. Testimonials ---------- */
.bm-quote {
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  position: relative; height: 100%;
  /* In the carousel these sit alongside taller image cards. Anchoring the
     attribution to the bottom makes the extra height read as composition
     rather than as a gap left over. */
  display: flex; flex-direction: column;
}
.bm-quote__mark {
  font-family: var(--bm-display);
  font-size: 4rem; line-height: 0.7;
  color: var(--a);
  text-shadow: 0 0 22px color-mix(in srgb, var(--a) 60%, transparent);
  margin-bottom: 0.6rem; display: block;
}
.bm-quote p { color: #fff; font-size: 1.02rem; line-height: 1.6; margin: 0 0 1.4rem; }
.bm-quote figcaption { margin-top: auto; padding-top: 1.25rem; }
.bm-quote cite {
  font-style: normal; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bm-muted);
}

/* ---------- Google review attribution ----------
   The G is Google's trademark and is reproduced in its official four colours.
   It is the one place red appears by design; recolouring a trademark is not
   an option, and at 22px it reads as provenance rather than as an accent. */
.bm-google { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.15rem; }
.bm-google__g { width: 22px; height: 22px; flex: none; }
.bm-google__stars { display: flex; gap: 2px; }
.bm-google__stars svg { width: 15px; height: 15px; fill: #FBBC04; }
.bm-quote--google .bm-quote__mark { display: none; }
.bm-google__src {
  display: block; margin-top: 0.3rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: #7A7A7A;
}
.bm-quote--google cite { display: block; color: #fff; letter-spacing: 0.1em; }

/* Visible placeholder state — must be replaced with a real review before launch */
.bm-quote--placeholder { border-style: dashed; opacity: 0.72; }
.bm-quote--placeholder p { color: var(--bm-muted); font-style: italic; }
.bm-placeholder-tag {
  display: inline-block; margin-bottom: 0.9rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #0A0A0A; background: var(--bm-lime); padding: 0.28rem 0.6rem; border-radius: 4px;
}

/* ---------- 12b. Testimonial carousel ----------
   Scroll-snap rather than a JS slider: it works with no JS at all, keeps
   native touch/trackpad momentum, and stays keyboard-scrollable. The arrows
   are an enhancement on top. */
.bm-carousel { position: relative; }
.bm-carousel__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.bm-carousel__nav { display: flex; gap: 0.6rem; flex: none; }
.bm-carousel__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; cursor: pointer;
  border: 1px solid rgba(0, 229, 255, 0.45);
  color: var(--bm-blue);
  transition: background 0.25s var(--bm-ease), color 0.25s var(--bm-ease),
              box-shadow 0.25s var(--bm-ease), opacity 0.25s var(--bm-ease);
}
.bm-carousel__btn:hover:not(:disabled) {
  background: var(--bm-blue); color: #06131A;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
}
.bm-carousel__btn:disabled { opacity: 0.3; cursor: default; }
.bm-carousel__btn svg { width: 18px; height: 18px; }

.bm-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--bm-gap)) / 3);
  gap: var(--bm-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,229,255,0.35) transparent;
}
.bm-carousel__track > * { scroll-snap-align: start; height: 100%; margin: 0; }
.bm-carousel__track::-webkit-scrollbar { height: 6px; }
.bm-carousel__track::-webkit-scrollbar-track { background: transparent; }
.bm-carousel__track::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.35); border-radius: 3px;
}
.bm-carousel__track:focus-visible { outline: 2px solid var(--bm-lime); outline-offset: 6px; }

/* Transformation card - before/after shots are kept whole rather than
   cropped, so the media box letterboxes instead of using cover. */
.bm-transform { display: flex; flex-direction: column; overflow: hidden; }
.bm-transform__media {
  aspect-ratio: 1 / 1;
  background: #0D0D0D;
  border-bottom: 1px solid var(--bm-line);
}
.bm-transform__media img { width: 100%; height: 100%; object-fit: contain; }
.bm-transform figcaption { padding: 1.25rem 1.4rem 1.5rem; }
.bm-transform figcaption p { margin: 0; color: var(--bm-muted); font-size: 0.95rem; }

@media (max-width: 1000px) {
  .bm-carousel__track { grid-auto-columns: calc((100% - var(--bm-gap)) / 2); }
}
@media (max-width: 680px) {
  .bm-carousel__track { grid-auto-columns: 85%; }   /* peek the next card */
  .bm-carousel__head { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. Icon tiles ---------- */
.bm-tile { padding: clamp(1.4rem, 2.4vw, 1.9rem); text-align: left; height: 100%; }
.bm-tile__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--a);
  border: 1px solid color-mix(in srgb, var(--a) 45%, transparent);
  box-shadow: inset 0 0 16px color-mix(in srgb, var(--a) 18%, transparent);
}
.bm-tile__icon svg { width: 22px; height: 22px; }

/* ---------- 14. CTA band ---------- */
.bm-band {
  position: relative;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-block: 1px solid var(--bm-line);
  overflow: hidden;
}
.bm-band .bm-cta-pair { justify-content: center; }
.bm-band .bm-lede { margin-inline: auto; }

/* ---------- 15. FAQ accordion ---------- */
.bm-faq { display: grid; gap: 0.85rem; max-width: 860px; margin-inline: auto; }
.bm-faq details {
  background: var(--bm-surface);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  overflow: hidden;
  transition: border-color 0.35s var(--bm-ease), box-shadow 0.35s var(--bm-ease);
}
.bm-faq details[open] {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.14);
}
.bm-faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 3.25rem 1.25rem 1.5rem;
  position: relative;
  font-weight: 600; font-size: 1.03rem; color: #fff;
  min-height: 44px; display: flex; align-items: center;
}
.bm-faq summary::-webkit-details-marker { display: none; }
.bm-faq summary::after {
  content: ''; position: absolute; right: 1.5rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--bm-blue); border-bottom: 2px solid var(--bm-blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--bm-ease);
}
.bm-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.bm-faq__body { padding: 0 1.5rem 1.4rem; color: var(--bm-muted); }
.bm-faq__body p { margin: 0; }

/* ---------- 15b. Two booking paths ---------- */
.bm-paths {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--bm-gap); margin-bottom: clamp(2rem, 4vw, 3rem);
}
.bm-path { padding: clamp(1.5rem, 2.6vw, 2rem); }
.bm-path p { margin: 0; color: var(--bm-muted); }
.bm-path h2 { margin-bottom: 0.7rem; }
@media (max-width: 760px) { .bm-paths { grid-template-columns: 1fr; } }

/* ---------- 16. Mindbody embed container ---------- */
.bm-embed {
  background: var(--bm-surface);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
  border-radius: var(--bm-radius);
  padding: clamp(0.7rem, 1.5vw, 1.1rem);
  overflow-x: auto;                 /* backstop; the frame itself fits */
  -webkit-overflow-scrolling: touch;
}

/* Mindbody injects ONE cross-origin iframe
   (go.mindbodyonline.com/book/widgets/schedules/...) and reports its own
   height to the parent, so it already reflows: measured 927x793 at desktop
   and 410x1028 at 500px wide, with no page-level overflow either way.
   We can style the frame and nothing inside it - the widget's light theme
   and its red Book buttons are set in Mindbody's Branded Web settings. */
.bm-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 0;
  border-radius: 10px;
  background: #fff;                 /* matches the widget's own ground so
                                       there is no flash of dark behind it */
  min-height: 480px;
}

.bm-embed__placeholder,
.bm-embed__fallback {
  display: grid; place-items: center; text-align: center;
  min-height: 460px; gap: 0.75rem;
  border: 1px dashed rgba(255,255,255,0.22); border-radius: 10px;
  color: var(--bm-muted); padding: 2rem;
}
.bm-embed__fallback strong { color: #fff; letter-spacing: 0.1em; font-size: 0.85rem; text-transform: uppercase; }
.bm-embed__fallback a { color: var(--bm-blue); }
.bm-embed.is-loaded .bm-embed__fallback { display: none; }

/* ---------- 16b. Actions under the booking widget ---------- */
.bm-embed-actions {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(1.1rem, 3vw, 2.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.bm-appstore { display: grid; gap: 0.75rem; justify-items: center; }
.bm-appstore__label {
  font-family: var(--bm-body);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bm-muted);
}
.bm-appstore__links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.bm-store {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 52px; padding: 0.5rem 1.2rem;
  border-radius: 10px; text-decoration: none;
  background: var(--bm-surface-2);
  border: 1px solid var(--bm-line);
  color: #fff;
  transition: border-color 0.25s var(--bm-ease), box-shadow 0.25s var(--bm-ease),
              transform 0.25s var(--bm-ease);
}
.bm-store:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}
.bm-store:focus-visible { outline: 2px solid var(--bm-lime); outline-offset: 3px; }
.bm-store svg { width: 22px; height: 22px; flex: none; }
.bm-store span { display: grid; line-height: 1.2; font-size: 0.95rem; font-weight: 600; }
.bm-store small {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bm-muted);
}
@media (max-width: 620px) {
  .bm-embed-actions { flex-direction: column; align-items: stretch; }
  .bm-embed-actions > .bm-btn { width: 100%; }
  .bm-appstore__links .bm-store { flex: 1 1 auto; justify-content: center; }
}

/* ---------- 16c. Contact page ---------- */
.bm-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.bm-contact-card { padding: clamp(1.6rem, 3vw, 2.25rem); }
.bm-contact-card > h2 { margin-bottom: 0.6rem; }

.bm-contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.4rem; }
.bm-contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.bm-contact-list .bm-contact-ico {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center; color: var(--a);
  border: 1px solid color-mix(in srgb, var(--a) 45%, transparent);
  box-shadow: inset 0 0 16px color-mix(in srgb, var(--a) 18%, transparent);
}
.bm-contact-list .bm-contact-ico svg { width: 19px; height: 19px; }
.bm-contact-label {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bm-muted); margin-bottom: 0.25rem;
}
.bm-contact-list a, .bm-contact-list span {
  color: #fff; text-decoration: none; font-size: 1.05rem; line-height: 1.45;
}
.bm-contact-list a:hover { color: var(--bm-blue); }
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .bm-contact-list .bm-contact-ico { border-color: rgba(255,255,255,0.22); }
}

/* Opening hours. Rendered from the same source as the schema (seo.py), so
   what a visitor reads and what Google parses are guaranteed identical. */
.bm-hours {
  list-style: none; padding: 1.25rem 0 0; margin: 1.5rem 0 0;
  border-top: 1px solid var(--bm-line);
  display: grid; gap: 0.6rem;
}
.bm-hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.97rem; color: #fff;
}
.bm-hours dt, .bm-hours .bm-hours__day {
  color: var(--bm-muted); font-weight: 600; white-space: nowrap;
}
.bm-hours .bm-hours__time { text-align: right; }
.bm-hours__label {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bm-muted); margin-bottom: 0.9rem;
}
@media (max-width: 480px) {
  .bm-hours li { flex-direction: column; gap: 0.15rem; }
  .bm-hours .bm-hours__time { text-align: left; }
}

/* Google's embed is a cross-origin iframe and renders light. Rather than
   CSS-inverting it - which would also invert Google's logo, and their terms
   do not allow altering it - it is framed as a deliberate light panel, the
   same treatment the Mindbody widget gets. */
.bm-map {
  background: var(--bm-surface);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
  border-radius: var(--bm-radius);
  padding: clamp(0.7rem, 1.5vw, 1.1rem);
  overflow: hidden;
}
.bm-map iframe {
  display: block; width: 100%; border: 0;
  border-radius: 10px;
  height: clamp(320px, 45vh, 480px);
  background: #e8e8e8;
}

@media (max-width: 880px) {
  .bm-contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 17. Popup ---------- */
.bm-popup[hidden] { display: none !important; }
.bm-popup {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 1.25rem;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: bm-fade 0.28s var(--bm-ease);
}
.bm-popup__card {
  --a: var(--bm-magenta);
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh; overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bm-surface);
  border: 1px solid rgba(255, 46, 154, 0.5);
  box-shadow: 0 0 46px rgba(255, 46, 154, 0.26);
  border-radius: var(--bm-radius);
  animation: bm-rise 0.36s var(--bm-ease);
}
.bm-popup__close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid var(--bm-line);
  color: var(--bm-muted); font-size: 1.25rem; cursor: pointer; line-height: 1;
  transition: color 0.25s, border-color 0.25s;
}
.bm-popup__close:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bm-rise { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- 18. Form ---------- */
.bm-form { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.bm-field { display: grid; gap: 0.4rem; }
.bm-field label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--bm-muted);
}
.bm-field input, .bm-field textarea, .bm-field select {
  width: 100%; min-height: 48px;
  padding: 0.8rem 1rem;
  font-family: var(--bm-body); font-size: 0.98rem;
  color: #fff; background: var(--bm-surface-2);
  border: 1px solid var(--bm-line); border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.bm-field textarea { min-height: 110px; resize: vertical; }
.bm-field input:focus, .bm-field textarea:focus, .bm-field select:focus {
  outline: none;
  border-color: var(--bm-blue);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.16);
}
.bm-field input::placeholder, .bm-field textarea::placeholder { color: #6A6A6A; }

/* Submission feedback for the webhook fallback form (ghl-export/). Empty
   until the script writes to it, so it takes no space in the normal state. */
/* Honeypot: off-canvas rather than display:none, because some bots skip
   hidden fields but happily fill positioned ones. */
.bm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bm-form__status { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--bm-muted); }
.bm-form__status[data-state="error"] { color: #FF6B8A; }
.bm-form__status[data-state="ok"] { color: var(--bm-lime); }
.bm-form__status:empty { display: none; }

/* ---------- 19. Footer ---------- */
.bm-footer {
  background: #070707;
  border-top: 1px solid var(--bm-line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.bm-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.bm-footer h4 {
  font-family: var(--bm-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff; margin: 0 0 1.15rem;
}
.bm-footer p, .bm-footer a { color: var(--bm-muted); font-size: 0.94rem; }
.bm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.bm-footer a { text-decoration: none; transition: color 0.25s var(--bm-ease), text-shadow 0.25s var(--bm-ease); }
.bm-footer a:hover { color: var(--bm-blue); text-shadow: 0 0 10px rgba(0, 229, 255, 0.6); }
.bm-footer__blurb { max-width: 34ch; }
.bm-footer__brand {
  font-family: var(--bm-display); font-size: 1.5rem;
  letter-spacing: 0.06em; color: #fff; margin-bottom: 0.9rem;
}
.bm-social { display: flex; gap: 0.6rem; margin-top: 1.35rem; }
.bm-social a {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--bm-line); color: var(--bm-muted);
}
.bm-social a:hover { color: var(--bm-blue); border-color: rgba(0,229,255,0.5); box-shadow: 0 0 16px rgba(0,229,255,0.28); }
.bm-social svg { width: 18px; height: 18px; }
.bm-footer__bar {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--bm-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.85rem; color: #7A7A7A;
}

/* ---------- 20. Entrance animation ---------- */
/* Progressive enhancement: content is visible by default. Only once JS
   has confirmed it is running (html.js) do we hide it to animate it in.
   Without this, a JS failure renders the whole page blank. */
.js .bm-reveal { opacity: 0; transform: translateY(22px); }
.js .bm-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--bm-ease), transform 0.7s var(--bm-ease);
}
.js .bm-reveal:nth-child(2) { transition-delay: 0.08s; }
.js .bm-reveal:nth-child(3) { transition-delay: 0.16s; }
.js .bm-reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .bm-scope *, .bm-scope *::before, .bm-scope *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .bm-reveal { opacity: 1; transform: none; }
}

/* ============================================================
   21. RESPONSIVE — 4 → 2 → 1
   ============================================================ */
@media (max-width: 1080px) {
  .bm-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* Header collapses below 992px, per spec */
@media (max-width: 991px) {
  .bm-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--bm-line);
    padding: 0.5rem 1.25rem 1.25rem;
  }
  .bm-nav.is-open { display: flex; }
  .bm-nav a { padding-block: 0.95rem; border-bottom: 1px solid var(--bm-line); }
  .bm-burger { display: flex; order: 3; }
  .bm-header__inner { position: relative; flex-wrap: wrap; }
  /* CTA pair stays visible at all times */
  .bm-header__cta { margin-left: auto; order: 2; }
  .bm-header__cta .bm-btn { padding: 0.55rem 1rem; font-size: 0.68rem; }
}

@media (max-width: 860px) {
  .bm-grid--3 { grid-template-columns: 1fr; }
  .bm-recog { grid-template-columns: 1fr; }
  .bm-split { grid-template-columns: 1fr; }
  .bm-split--flip .bm-split__media { order: 0; }
  .bm-split__media { aspect-ratio: 16 / 10; }
  .bm-footer__grid { grid-template-columns: 1fr 1fr; }
  .bm-footer__blurb-col { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  /* Hero H1 capped at 40px on mobile, no orphan wraps */
  .bm-h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .bm-h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .bm-grid--4, .bm-grid--2 { grid-template-columns: 1fr; }
  .bm-footer__grid { grid-template-columns: 1fr; }

  /* Buttons stack full-width */
  .bm-cta-pair { flex-direction: column; }
  .bm-cta-pair .bm-btn { width: 100%; }

  /* Spec: the CTA pair stays visible below 992px. Rather than dropping the
     ghost button on narrow screens, give the pair its own full-width row. */
  .bm-header__inner { flex-wrap: wrap; row-gap: 0.65rem; padding-block: 0.7rem; min-height: 0; }
  .bm-logo { order: 1; font-size: 1.35rem; }
  .bm-header .bm-brandmark__img { height: 32px; }
  .bm-burger { order: 2; margin-left: auto; }
  .bm-header__cta { order: 3; width: 100%; margin-left: 0; gap: 0.5rem; }
  .bm-header__cta .bm-btn { flex: 1 1 0; min-height: 44px; padding: 0.55rem 0.5rem; font-size: 0.68rem; letter-spacing: 0.08em; }
  .bm-hero { min-height: 78vh; }
}

/* ---------- 22. Image slots (prototype only) ----------
   Placeholder for real studio/member photography. Replace each
   .bm-imgslot with a real <img> before launch — no stock imagery. */
.bm-imgslot {
  position: relative;
  width: 100%; height: 100%;
  min-height: 240px;
  display: grid; place-items: center;
  text-align: center; padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(0,229,255,0.10), rgba(255,46,154,0.10) 50%, rgba(123,47,247,0.12)),
    var(--bm-surface-2);
}
.bm-imgslot::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.028) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.bm-imgslot span {
  position: relative; z-index: 1;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); line-height: 1.7;
  max-width: 26ch;
}

/* ---------- 23. Legal pages ---------- */
.bm-legal { color: var(--bm-muted); font-size: 1rem; line-height: 1.75; }
.bm-legal h2 { margin: 2.25rem 0 0.85rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.bm-legal p { margin: 0 0 1.1rem; }
.bm-legal a { color: var(--bm-blue); }
.bm-legal ul, .bm-legal ol { margin: 0 0 1.1rem 1.25rem; }
.bm-legal li { margin-bottom: 0.5rem; }
