/* =========================================================
   All Here Lounge — clean rebuild (matched to original look)
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Grotzec';
  src: url('assets/fonts/GrotzecCondensedTrial.woff2') format('woff2'),
       url('assets/fonts/GrotzecCondensed_Trial.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'StabilGrotesk';
  src: url('assets/fonts/StabilGrotesk-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DINCondensed';
  src: url('assets/fonts/DINCondensed-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens (matched to staging) ---------- */
:root {
  --bg: #00102e;
  --bg-card: #0d1526;
  --bg-input: #1f2842;
  --bg-input-active: #1e3352;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.25);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-dim: #94a3b8;
  --accent: #9E3694;
  --accent-soft: rgba(172, 35, 151, 0.27);
  --accent-blue: #4da3ff;
  --accent-blue-list: #4075D6;
  --logo-blue: #4075d6;     /* lighter blue from the All Here logo (Ellipse_5) — reads cleanly on dark navy */
  --logo-blue-deep: #1b498c; /* deeper blue (Ellipse_6) — reserved if needed for contrast */

  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-display: 'Grotzec', 'Montserrat', sans-serif;

  --radius-card: 20px;
  --radius-pill: 50px;
  --radius-input: 8px;

  --container: 1200px;
  --container-wide: 1320px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; position: relative; }
.section--tight { padding: 60px 0; }
.center { text-align: center; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;             /* lighter aesthetic */
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--text);
}
/* Page hero h1 uses Montserrat (matching original) */
h1 { font-family: var(--font-body); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: 0.02em; line-height: 1.1; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.5vw, 2.2rem); letter-spacing: 0.13em; text-transform: uppercase; }
h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.3rem); letter-spacing: 0.11em; text-transform: uppercase; }
h4 { font-size: 1rem; }

p {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;            /* avoid orphan/widow words on the last line */
}
h1, h2, h3, h4 { text-wrap: balance; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 14px;
}

/* Major section headers (DISCOVER OUR MEDITATION LOUNGE, WHAT WE OFFER, ABOUT, INDIVIDUAL EXPERIENCES) */
.section-title {
  font-family: var(--font-body);   /* Montserrat */
  font-weight: 400;                /* lighter — matches the slim aesthetic of the original */
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 28px;
  color: #fff;
}

/* "Display" variant — Grotzec, used for hero-like section titles inside cards */
.section-title--display {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

/* Wide horizontal divider line UNDER the section title (matches original Elementor divider widget) */
.section-divider {
  display: block;
  width: clamp(280px, 70%, 1100px);
  height: 1px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 0 auto 40px;
}
.section-divider--dotted { border-top-style: dotted; }

/* Section title with pink lines on left + right (matches original "view-line_text" Elementor divider) */
.section-title--with-sides {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 1100px;
  /* Override base section-title font: original uses Grotzec 500 35px ls 4px */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 35px;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;                /* keep title on one line so side lines stay on the sides */
}
/* Allow wrapping again on narrow screens (handled in mobile media query below if needed) */
@media (max-width: 760px) {
  .section-title--with-sides { white-space: normal; }
}
.section-title--with-sides::before,
.section-title--with-sides::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
/* Blue variant — title text stays WHITE; only the side lines are blue */
.section-title--blue::before,
.section-title--blue::after { background: var(--logo-blue); }

/* Backwards-compat: with-rules now mirrors plain section-title + divider */
.section-title.with-rules::before,
.section-title.with-rules::after { content: none; }

.lede { color: #fff; max-width: 70ch; margin: 0 auto 24px; line-height: 1.55; font-size: 18px; text-wrap: pretty; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

/* tiny purple separator */
.bar-sep {
  display: block;
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 28px auto;
}

/* ---------- Buttons (rounded pill, violet outline / fill) — matched to original ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 40px;          /* lower vertical padding — buttons less tall */
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 18px;
  border: 3px solid var(--accent);
  background: transparent;
  color: #fff;
  transition: background-color .6s ease, color .6s ease, border-color .6s ease;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background-color: var(--accent-soft); color: #fff; }
.btn-primary { background-color: var(--accent); color: #fff; font-weight: 600; }
.btn-primary:hover { background-color: var(--accent-soft); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background-color: var(--accent-soft); }

/* ---------- Header (none — original has no nav bar) ---------- */
.site-header,
.site-header__inner,
.site-header__logo,
.menu-toggle,
.site-nav { display: none !important; }

.skip-link { z-index: 100; }

/* ---------- Snap-scroll on the home page — limited to the hero so the carousel keeps working ---------- */
.page-home { scroll-snap-type: y proximity; }
.page-home .hero { scroll-snap-align: start; scroll-snap-stop: always; }
.page-home .section--photo-bg { scroll-snap-align: start; }

/* ---------- HERO (full-bleed photo) — used only on home ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;       /* push content to the bottom — video fills top */
  justify-content: center;
  text-align: center;
  padding: 0 24px 60px;
  overflow: hidden;
  background: var(--bg);
}
/* Full-bleed local video with object-fit: cover — guarantees full viewport coverage. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  pointer-events: none;
  z-index: 1;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,16,46,0.0) 40%, rgba(0,16,46,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; max-width: 900px; }
.hero__brand-frame img { width: 300px; height: auto; margin: 0 auto 32px; display: block; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: #fff;
}
.hero__cta {
  display: flex;
  flex-direction: column;       /* stacked vertically */
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.hero__cta .btn { min-width: 320px; }

/* ---------- Inner-page hero (title first, banner below) ---------- */
.page-hero {
  padding: 80px 0 24px;
  text-align: center;
  position: relative;
}
.page-hero__brand { margin: 0 auto 28px; }
.page-hero__brand img,
.page-hero__brand a img { width: 300px; height: auto; display: block; margin: 0 auto; transition: transform .3s ease; }
.page-hero__brand a:hover img { transform: scale(1.03); }
.page-hero h1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 24px;
}
/* Dotted divider under H1 (matches original) */
.page-hero__divider {
  display: block;
  width: min(80%, 1100px);
  height: 1px;
  border: 0;
  border-top: 1px dotted rgba(255, 255, 255, 0.55);
  margin: 0 auto 28px;
}
.page-hero__lede { max-width: 60ch; margin: 0 auto 20px; color: var(--text-muted); font-size: 20px; line-height: 1.6; text-wrap: pretty; }
.page-hero__lede strong { color: #fff; font-weight: 600; }
.page-hero__banner {
  margin: 40px auto 0;
  max-width: 1100px;
  max-height: 560px;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.page-hero__banner--square { border-radius: 0; }
.page-hero__banner--tall { max-width: 1134px; max-height: none; aspect-ratio: 1 / 1; }
.page-hero__banner--tall img { max-height: 100%; height: 100%; object-fit: cover; }
.page-hero__banner img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }

/* Tiny white dot separator */
.page-hero__dot,
.dot-sep {
  display: block;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  margin: 14px auto 24px;
}
.dot-sep { margin: 20px auto 28px; }
.page-hero__icon {
  width: 96px;
  height: 96px;
  margin: 24px auto 0;
}
.page-hero__cta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Part pill (used on Silent Mind for PART 1/2/3) ---------- */
.part-pill {
  display: inline-block;
  background: #1a2238;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
  margin: 0 0 18px;
}
.part-pill--filled {
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 500;
  letter-spacing: 1.5px;
  font-size: 15px;
  padding: 8px 18px;
}

/* ---------- Inner-page violet-bordered content frame (recurring element) ---------- */
.content-frame {
  border: 3px solid var(--accent);
  border-radius: 0 0 20px 20px;   /* top corners square, bottom rounded — matches original */
  background: #1f2842;
  max-width: 1140px;
  margin: 0 auto 60px;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.content-frame > .content-frame__banner {
  display: block;
  width: 100%;
  margin: 0;
}
.content-frame > .content-frame__banner img {
  width: 100%;
  height: auto;
  display: block;
}
.content-frame > .section { padding: 56px 28px; }
.content-frame > .section:first-of-type { padding-top: 56px; }

/* ---------- Silent Mind shared violet-bordered wrapper (pricing + app) ---------- */
.silent-wrap {
  border: 3px solid var(--accent);
  border-radius: 24px;
  background: #1f2842;
  overflow: hidden;
  margin-top: 36px;
}
.silent-pricing {
  background: #1a2238;
  padding: 56px 32px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}
.silent-pricing h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin: 4px 0 4px;
}
.silent-pricing p { color: var(--text-muted); margin: 0; max-width: 56ch; }
.silent-pricing .amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 18px 0 4px;
  color: #fff;
}
.silent-pricing .btn { margin-top: 14px; }

.silent-app { padding: 56px 56px 64px; }
.silent-app h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 32px;
  text-align: center;
  margin: 0 0 36px;
  color: #fff;
}
.silent-app__grid {
  display: grid;
  /* media (left, narrower) | copy (right, wider) */
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 48px;
  align-items: center;
}
.silent-app__copy p { font-size: 17px; line-height: 1.7; color: #fff; }
.silent-app__copy strong { font-weight: 700; color: #fff; }
.silent-app__list {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0 18px;
}
.silent-app__list li {
  color: #fff;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.silent-app__list li::marker { color: var(--logo-blue); }
.silent-app__stores { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.silent-app__stores img { height: 52px; width: auto; }
.silent-app__media img { max-height: 360px; width: auto; margin: 0 auto; display: block; }

/* ---------- Minimal footer (inner pages) — matches original sizing ---------- */
.site-footer--minimal { border-top: 1px solid var(--border); padding: 40px 0 32px; margin-top: 60px; }
/* 2-row × 2-column grid: row 1 = logo / socials, row 2 = tagline / copyright (aligned baselines) */
.site-footer__minimal-inner {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 18px 24px;
}
.site-footer__minimal-left { display: contents; }
.site-footer__minimal-right { display: contents; }
.site-footer__logo {
  grid-column: 1; grid-row: 1;
  height: 55px; width: auto; opacity: 1; display: block;
  justify-self: start;
}
.site-footer__tagline {
  grid-column: 1; grid-row: 2;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: normal;
  justify-self: start;
}
.site-footer__copy {
  grid-column: 2; grid-row: 2;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;          /* slightly smaller */
  color: rgba(255, 255, 255, 0.55);   /* slightly greyer */
  justify-self: end;
}
.site-footer--minimal .socials {
  grid-column: 2; grid-row: 1;
  gap: 12px;
  justify-self: end;
}
.site-footer--minimal .socials img { width: 18px; height: 18px; }

/* ---------- Three-part journey (Silent Mind) ---------- */
.journey-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* subgrid rows so circle, pill, h3, paragraph all align across the 3 cards */
  grid-template-rows: auto auto auto 1fr;
  gap: 36px;
  margin-top: 56px;
  text-align: center;
  position: relative;             /* anchor for the continuous flow arrow */
}
/* Single continuous violet arrow that runs through Part 1 → Part 2 → Part 3.
   Positioned at the part-pill vertical level so it visually crosses each pill. */
/* Continuous violet line — passes through the part-pill row at its vertical centre */
.journey-flow {
  position: absolute;
  left: 0;
  right: 0;
  /* Circle row (200px) + circle margin-bottom (20px) + pill mid (≈18px). */
  top: calc(200px + 20px + 18px);
  height: 2px;
  background: var(--accent);
  pointer-events: none;
  z-index: 0;
}
.journey-flow__tip {
  position: absolute;
  right: -8px;
  top: -10px;
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.journey-card {
  padding: 0 12px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 0;
  align-items: start;             /* content tops align to row tops */
  justify-items: center;
  position: relative;
  z-index: 1;                     /* sit above the flow line */
}
/* part-pill sits above the flow line so it appears to be threaded by the arrow */
.journey-card .part-pill { position: relative; z-index: 2; }
.journey-line {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 280px;
  margin: 22px 0 22px;
  color: var(--accent);
  line-height: 0;
}
.journey-line::before {
  content: "";
  flex: 1;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.journey-line svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: currentColor;
  margin-left: -3px;
}
/* Only ONE arrow visible — hide the per-card arrows on the 2nd and 3rd cards */
.journey-card:not(:first-child) .journey-line { display: none; }
.journey-card__circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
}
.journey-card__circle img { width: 100%; height: 100%; object-fit: cover; }
.journey-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  font-size: 20px;
  text-transform: none;
  margin: 4px 0 12px;
  color: var(--accent);
}
.journey-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

.journey-rows { display: grid; gap: 60px; margin-top: 40px; }
.journey-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: center;
}
.journey-row--reverse { grid-template-columns: 1fr 240px; }
.journey-row--reverse .journey-row__circle { order: 2; }
.journey-row__circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 0 auto;
}
.journey-row__circle img { width: 100%; height: 100%; object-fit: cover; }
.journey-row__body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  font-size: 20px;
  text-transform: none;
  margin: 4px 0 14px;
  color: var(--accent);
}
.journey-row__body p { font-size: 16px; line-height: 1.7; }

/* ---------- Section with full-width photo — height follows image's natural aspect ---------- */
.section--photo-bg {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
.section--photo-bg__img {
  display: block;
  width: 100%;
  height: auto;
  /* image dictates the section height when content is shorter than image */
}
.section--photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,16,46,0.30) 0%, rgba(0,16,46,0.30) 100%);
  z-index: 1;
  pointer-events: none;
}
.section--photo-bg > .container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;          /* anchor content to lower portion of the photo */
  padding: 24px 24px 8%;              /* breathing room from the bottom edge */
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.section--photo-bg h2 {
  font-family: var(--font-display);   /* Grotzec — matches original */
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.5rem);  /* 40px target */
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section--photo-bg .lede {
  font-weight: 400;
  margin-bottom: 4px;                 /* tighten so the list sits flush under the intro */
}
.section--photo-bg .audience { margin-top: 0 !important; }

/* ---------- Lounge cards (3-up photo cards w/ overlay title) ---------- */
.lounge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.lounge-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  isolation: isolate;
  width: 100%;
  display: block;
  -webkit-tap-highlight-color: transparent;   /* kill the default blue tap flash on mobile */
}
.lounge-card:focus,
.lounge-card:focus-visible,
.lounge-card *:focus,
.lounge-card *:focus-visible {
  outline: none;
}
.lounge-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lounge-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);   /* base darken so the title stays readable */
  z-index: 1;
  transition: background .4s ease;
}
.lounge-card:hover::after { background: rgba(0, 0, 0, 0.5); }
/* Title — anchored to the bottom, always visible. Body slides up ABOVE it on hover. */
.lounge-card__title {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 28px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  padding: 0 18px 22px;
}
/* Body sits above the title (visually higher in the column) and slides up on hover.
   Uses max-height + opacity so it animates from bottom upward. */
.lounge-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;                       /* sits just above the bottom-anchored title */
  z-index: 2;
  padding: 0 22px;
  text-align: center;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s ease, opacity .5s ease, margin-bottom .5s ease;
  background: transparent;
}
.lounge-card:hover .lounge-card__body {
  max-height: 220px;
  opacity: 1;
  margin-bottom: 8px;
}
.lounge-card__body p {
  color: rgba(255,255,255,0.95);
  text-align: center;
  width: 100%;
  max-width: 32ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
}
.lounge-card:hover img { transform: scale(1.05); }

/* ---------- Featured Card (6-Week Foundation) ---------- */
.featured-card {
  border: 3px solid var(--accent);
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(to right, #2d2552, #1d314e);
  text-align: center;
  margin: 36px auto 0;
  max-width: 1140px;
}
.featured-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #fff;
}
.featured-card .lede { max-width: 60ch; margin: 0 auto 12px; }
.featured-card .pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 28px 0 12px;
}
.feat-pillar { padding: 12px 8px; }
.feat-pillar img { width: 100px; height: 100px; margin: 0 auto 14px; opacity: 0.92; }
.feat-pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 20px;
  color: #fff;
  margin: 0 0 10px;
}
.feat-pillar p { font-size: 17px; max-width: 280px; margin: 0 auto; line-height: 1.6; text-align: center; color: #fff; }
.featured-card .cta-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.featured-card .cta-row .btn { min-width: 290px; }

/* ---------- Individual experience cards (3-up) ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.exp-card { display: flex; flex-direction: column; text-align: center; }
.exp-card__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border: 1px solid var(--border);
}
.exp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.exp-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
}
.exp-card p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 22px;
  text-align: center;
  max-width: 314px;
  color: #fff;
}
.exp-card .btn { align-self: center; margin-top: auto; }

/* ---------- About pillars (Science / Tech / Practice) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 48px; }
.pillar { text-align: center; padding: 20px 16px; }
.pillar img {
  width: 100px;
  height: 100px;
  margin: 0 auto 22px;
  opacity: 0.92;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 25px;
  color: #fff;
}
.pillar p { font-size: 17px; line-height: 1.6; max-width: 314px; margin: 0 auto; text-align: center; color: #fff; }

/* ---------- Audience list (stacked, centered) ---------- */
.audience {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.audience li {
  background: transparent;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text);
  padding: 0;
}

/* ---------- Updates / news (horizontal scroll-snap carousel) ---------- */
.updates-carousel {
  position: relative;
  margin-top: 44px;
}
.updates-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  /* scroll-behavior left as default (auto) so JS can animate manually */
  padding: 4px 4px 24px;
  scrollbar-width: none;
  --updates-gap: 22px;
  --updates-visible: 4;
}
.updates-track::-webkit-scrollbar { display: none; }
.updates-track > .update-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - (var(--updates-visible) - 1) * var(--updates-gap)) / var(--updates-visible));
  min-width: 0;
}
.updates-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.updates-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  color: #fff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease;
}
.updates-nav button:hover { background: var(--accent-soft); }
.updates-nav button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Backward-compat */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.update-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease;
}
.update-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.update-card__media { aspect-ratio: 16/10; background: #0a1428; }
.update-card__media img { width: 100%; height: 100%; object-fit: cover; }
.update-card__body { padding: 18px 20px; }
.update-card .date { font-size: 12px; color: var(--text-dim); display: block; margin-bottom: 8px; letter-spacing: 0.06em; }
.update-card .title { font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1.4; color: #fff; }

/* ---------- Form (program inquiry) ---------- */
.form { display: grid; gap: 28px; max-width: 820px; margin: 0 auto; }
.form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.form legend {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
  padding: 0;
  margin-bottom: 24px;
  width: 100%;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.form .row { display: grid; gap: 18px; }
.form .row.two { grid-template-columns: 1fr 1fr; }

.form label { display: block; font-size: 16px; color: #fff; margin-bottom: 10px; font-weight: 400; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid #ccc;
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color .2s ease, background .2s ease;
}
.form input::placeholder, .form textarea::placeholder { color: #718096; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: var(--bg-input-active);
}
.form textarea { min-height: 120px; resize: vertical; }

/* radio cards (offering choice) */
.radio-cards { display: grid; gap: 14px; }
.radio-cards label {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-input);
  border: 1px solid #ccc;
  padding: 14px 18px;
  border-radius: var(--radius-input);
  cursor: pointer;
  margin: 0;
  transition: background .2s ease, border-color .2s ease;
}
.radio-cards label:hover { border-color: rgba(77,163,255,0.5); }
.radio-cards input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
  background: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.radio-cards input[type="radio"]:checked { border-color: var(--accent-blue); }
.radio-cards input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
}
.radio-cards label:has(input:checked) {
  background: var(--bg-input-active);
  border-color: var(--accent-blue);
}
.form .submit { display: flex; justify-content: center; }
.form .note { text-align: center; color: var(--text-dim); font-size: 14px; }
.form .note strong { color: #fff; }

/* ---------- Pricing — subgrid keeps both cards' rows aligned ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto 1fr;   /* h3, lede, amount, list (fills) */
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
.pricing--solo { grid-template-columns: minmax(0, 480px); justify-content: center; }
.price-card {
  position: relative;
  background: #1a2238;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 56px 32px 32px;
  text-align: center;
  /* subgrid: each card's rows align with sibling card's rows */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 14px;
}
.price-card > * { justify-self: center; }
.price-card .lede,
.price-card p { text-align: center; }
.price-card ul {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  align-self: start;
}
.price-card.is-recommended { border: 2px solid var(--accent); box-shadow: 0 0 36px rgba(158,54,148,0.18); }
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);   /* Grotzec — matches original */
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 18px;
  padding: 4px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.price-card .lede { color: var(--text-muted); margin-bottom: 18px; max-width: none; }
.price-card .amount {
  font-family: var(--font-body);    /* Montserrat — matches original */
  font-weight: 400;
  font-size: 50px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #fff;
}
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card ul li { padding: 6px 0 6px 28px; position: relative; color: var(--text-muted); }
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  background-image: url("assets/images/check-icon-1.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.price-card.is-recommended ul li::before { background-image: url("assets/images/check-icon-2.png"); }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Week timeline (program page) ---------- */
.weeks {
  background: #1a2238;          /* sub-frame around all weeks */
  padding: 40px;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Arrow-line separator between weeks (blue line cut by a downward arrow) */
.weeks > .week + .week::before {
  content: "";
  display: block;
  width: 100%;
  height: 22px;
  background: url('assets/images/arrow-line.png') center center no-repeat;
  background-size: contain;
  margin: 28px 0;
  opacity: 0.45;        /* dim the blue lines */
}
/* Each week is a <details> drawer */
.week {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.week[open] .week__chevron { transform: rotate(225deg); }
.week__summary {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;   /* pill | title | spacer (1fr) | icons | chevron */
  align-items: center;
  gap: 22px;
  padding: 14px 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-radius: 12px;
  transition: background-color .2s ease;
}
.week__summary > .week__pill   { grid-column: 1; }
.week__summary > .week__title  { grid-column: 2; min-width: 0; }
.week__summary > .week__icons  { grid-column: 4; }
.week__summary > .week__chevron { grid-column: 5; }
.week__summary::-webkit-details-marker { display: none; }
.week__summary:hover { background-color: rgba(255,255,255,0.04); }
.week__summary > .week__pill { margin: 0; }
.week__summary > .week__title { margin: 0; flex: 1; }
.week__chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .25s ease;
  margin-right: 12px;
  margin-top: -6px;             /* visual centering of the rotated chevron */
}
/* Body: animated container (height is animated by JS). Padding inside .week__content keeps the close animation jump-free. */
.week__body {
  overflow: hidden;
}
.week:not([open]) .week__body { height: 0; }    /* closed = collapsed */
.week__body > .week__content { padding: 8px 12px 28px; }
.week__body > .week__content,
.week__body-wrap > .week__content { min-width: 0; }

/* Icons strip with tooltip overlays — sits in the summary so they're always visible */
.week__icons {
  position: relative;
  width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  align-self: center;
  margin-right: 20px;             /* a bit more breathing room before the chevron */
}
.week__iconset {
  width: 100%;
  height: auto;
  opacity: 0.95;
  display: block;
}
.week__icon-tip {
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  cursor: default;          /* no '?' question-mark cursor */
  text-indent: -9999px;
  overflow: hidden;
  outline-offset: 2px;
}
.week__icon-tip:focus-visible { outline: 2px solid var(--accent-blue); border-radius: 4px; }

.week__pill {
  display: table;
  background: #1a2238;
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 6px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 25px;             /* matches original 25px */
  line-height: 1;
  color: #fff;
  margin: 0 auto 18px;
}
.week__head {
  margin-bottom: 14px;
}
.week__title {
  font-family: var(--font-body);   /* Montserrat — matches original */
  font-weight: 600;
  font-size: 25px;
  margin: 0;
  letter-spacing: normal;
  color: #fff;
  flex: 1 1 auto;
  text-transform: none;            /* mixed case (e.g. "Begin the Journey") */
  line-height: 1.25;
}
.week__list { list-style: disc; padding-left: 24px; margin: 12px 0 0; }
.week__list li {
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 4px;
}
.week__list li::marker { color: var(--accent); }

/* (optional) labels in violet — match the chevron / arrow color */
.optional { color: var(--accent); font-weight: 500; }

/* Sub-frame around "What you can expect" content (matches weeks sub-frame).
   Left column gravitates right, right column gravitates left → content visually centered */
.expect-frame {
  background: #1a2238;
  padding: 40px 56px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  max-width: 980px;
}
.expect-frame > ul:first-child {
  justify-self: end;          /* push right toward center */
  text-align: left;           /* keep bullets readable, but block aligns right */
}
.expect-frame > ul:last-child {
  justify-self: start;        /* push left toward center */
  text-align: left;
}

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--text-muted);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 18px; height: 18px;
  background-image: url("assets/images/check-icon-1.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- Generic three-up icon row ---------- */
/* 3-row subgrid so icon, title and paragraph line up across all cards in the row */
.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 36px;
  margin-top: 48px;
  align-items: stretch;
}
.icon-card {
  text-align: center;
  padding: 18px 8px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0;
}
.icon-card img { width: 100px; height: 100px; margin: 0 auto 18px; opacity: 0.92; }
.icon-card h3 {
  font-family: var(--font-display);   /* Grotzec — matches original */
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 16px;
}
.icon-card p { font-size: 17px; line-height: 1.65; max-width: 32ch; margin: 0 auto; text-wrap: pretty; }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }

.split__media img { border-radius: var(--radius-card); }

/* ---------- Challenge your friends (centered icon + text) ---------- */
.challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.challenge__icon { width: 100px; height: 100px; object-fit: contain; opacity: 0.92; margin-bottom: 12px; }
.challenge h2 { margin: 0 0 8px; }
.challenge p { max-width: 60ch; margin: 0; }
.challenge .btn { margin-top: 18px; }

/* ---------- What we measure ----------
   Layout:
     [CMI label  ➝  ↓arrow]                                  (top-left, text-align right, arrow on right)
                       [LAPTOP]
     [Alpha  ➝  ↑arrow]                  [↕double  ➝  QM³]   (bottoms)
*/
.measure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "topleft     ."
    "stage       stage"
    "botleft     botright";
  gap: 16px 32px;
  margin-top: 48px;
  align-items: start;
}
.measure__stage              { grid-area: stage;   display: flex; justify-content: center; align-items: center; padding: 4px 0; }
.measure__laptop             { max-width: 620px; width: 90%; height: auto; display: block; }

.measure__label              { display: flex; align-items: center; gap: 14px; max-width: 520px; }
.measure__label--top-left    { grid-area: topleft;  justify-self: start; }
.measure__label--bottom-left { grid-area: botleft;  justify-self: start; }
.measure__label--bottom-right{ grid-area: botright; justify-self: end; }

/* CMI + Alpha texts justified to the RIGHT (arrow on their right side) */
.measure__label--top-left .measure__text,
.measure__label--bottom-left .measure__text { text-align: right; }
.measure__label--top-left h3,
.measure__label--bottom-left h3 { text-align: right; }
/* QM³: text default left aligned (arrow on its left) */
.measure__label--bottom-right .measure__text { text-align: left; }

.measure__text { flex: 1 1 auto; }

.measure__label h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: #fff;                 /* white — was violet */
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 8px;
}
.measure__label p {
  font-size: 16px;
  color: #fff;
  margin: 0;
  line-height: 1.55;
}

/* The arrow's BASE (small circle end) sits next to its text; the rest extends visually toward the laptop.
   Implementation: absolute positioning anchored to the text edge, no layout shift — only the visual extends.
   The arrow's natural aspect (≈20×536 / 70×981) is preserved (auto width). */
.measure__label { position: relative; }
.measure__arrow {
  position: absolute;
  display: block;
  width: auto;
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
}
/* CMI (top-left, text justified right) — arrow descends; raised (base at top of text) */
.measure__label--top-left .measure__arrow--down {
  right: -14px;
  top: 0;           /* base now sits at the TOP of the text → arrow rises higher */
  height: 280px;
}
/* Alpha (bottom-left) — tiny downward shift to meet QM³ vertically */
.measure__label--bottom-left { transform: translateY(8px); }
.measure__label--bottom-left .measure__arrow--up {
  right: -14px;
  bottom: 0;        /* base sits at the BOTTOM of the text → arrow descends lower */
  height: 280px;
}
/* QM³ (bottom-right) — block pushed right + lower, text nudged up-left within block.
   Block Y reduced (was 50px) so QM³ rises to meet the slightly-lowered Alpha. */
.measure__label--bottom-right {
  justify-self: start;          /* anchor to LEFT of cell, so the cut comes from the right */
  transform: translate(110px, 30px);
  max-width: 370px;
}
.measure__label--bottom-right .measure__text {
  max-width: 370px;
  transform: translate(-14px, -22px); /* shift text left + up within block (line stays put) */
}
.measure__label--bottom-right .measure__arrow--double {
  left: -36px;
  bottom: 22px;             /* anchor near label bottom so the arrow tip aligns with paragraph end */
  height: 414px;            /* taller line: top moves 10px down, bottom drops to paragraph end */
}
.measure { overflow: visible; }
.measure__stage { overflow: visible; }

@media (max-width: 760px) {
  .measure { grid-template-columns: 1fr; grid-template-areas: "topleft" "stage" "botleft" "botright"; }
  .measure__label--bottom-right { justify-self: start; }
  .measure__label--top-left .measure__text,
  .measure__label--bottom-left .measure__text { text-align: left; }
  .measure__label--top-left h3,
  .measure__label--bottom-left h3 { text-align: left; }
  .measure__arrow { height: 60px; }
}

/* ---------- Old measure-figure (kept as alias for compat) ---------- */
.measure-figure {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 64px;
}
.measure-figure__col { display: flex; flex-direction: column; gap: 64px; }
.measure-figure__col--right { gap: 0; justify-content: center; }
.measure-figure__center {
  position: relative;
  width: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.measure-figure__laptop { width: 100%; max-width: 460px; height: auto; display: block; }
.measure-figure__line {
  position: absolute;
  background: var(--accent);
  border-radius: 999px;
}
.measure-figure__line--top-left { left: -48px; top: 28%; width: 60px; height: 2px; }
.measure-figure__line--bottom-left { left: -48px; bottom: 28%; width: 60px; height: 2px; }
.measure-figure__line--right { right: -48px; top: 50%; width: 60px; height: 2px; }

.measure-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 10px;
}
.measure-item p { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; }
.measure-figure__col--right .measure-item { text-align: left; }

/* ---------- Booking widget (Mindbody Healcode embed) ----------
   The widget injects its own DOM (no shadow root) and loads modern.css from
   brandedweb-assets.mindbodyonline.com. We override here to match the site theme. */
.booking-widget-wrap {
  /* No background/border/shadow — the widget brings its own framing */
  max-width: 980px;
  margin: 24px auto 0;
}
.booking-widget-wrap .mindbody-widget,
.booking-widget-wrap healcode-widget { display: block; min-height: 400px; }

/* Hide MB's own logo/promo line (we already have our own page hero) */
.booking-widget-wrap .healcode-registration-logo { display: none !important; }

/* Promo headline */
.booking-widget-wrap .healcode-registration-promo-text {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 28px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-align: center !important;
  margin: 0 0 28px !important;
  line-height: 1.2 !important;
}

/* Section labels ("Personal Information", etc.) */
.booking-widget-wrap .hc-label {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--accent) !important;
  margin: 24px 0 12px !important;
  border-bottom: 1px solid rgba(158,54,148,0.4) !important;
  padding-bottom: 6px !important;
}

/* Field rows */
.booking-widget-wrap .hc-registration-field,
.booking-widget-wrap .hc-prospect-field {
  margin-bottom: 14px !important;
}

/* Field labels (small floating label inside each input) */
.booking-widget-wrap label,
.booking-widget-wrap .field__label {
  color: rgba(255,255,255,0.78) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
}

/* Inputs / selects / textarea — lighter than the page bg for readable contrast */
.booking-widget-wrap input[type="text"],
.booking-widget-wrap input[type="email"],
.booking-widget-wrap input[type="tel"],
.booking-widget-wrap input[type="password"],
.booking-widget-wrap select,
.booking-widget-wrap textarea {
  background: #2e3a59 !important;             /* lighter sub-tone (was #0d1526) */
  border: 1px solid rgba(255,255,255,0.28) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease;
}
.booking-widget-wrap input:focus,
.booking-widget-wrap select:focus,
.booking-widget-wrap textarea:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(158,54,148,0.25) !important;
}
.booking-widget-wrap input::placeholder,
.booking-widget-wrap textarea::placeholder {
  color: rgba(255,255,255,0.55) !important;
}
.booking-widget-wrap select option { background: #2e3a59; color: #fff; }

/* Communication / opt-in section — lighter panel for visibility */
.booking-widget-wrap .communication-wrapper,
.booking-widget-wrap .communication-settings {
  background: rgba(255,255,255,0.06) !important;     /* lighter than before */
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 10px;
  padding: 14px 16px !important;
  margin-top: 12px !important;
}
.booking-widget-wrap .communication-text {
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
}
.booking-widget-wrap .checkbox-wrapper,
.booking-widget-wrap .checkbox-wrapper * { color: #fff !important; }
/* Checkboxes — restore native rendering with violet accent.
   The widget's modern.css uses `appearance: none` and draws the checkmark with ::before
   sized in rem units (which renders weirdly because we forced 18px on the box).
   Re-enable native and let `accent-color` tint it violet — this is the modern, reliable approach. */
body .booking-widget-wrap input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  accent-color: var(--accent) !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  background: none !important;
  background-color: initial !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
}
/* Defeat the widget's ::before checkmark drawing (it's sized in rem and looks distorted) */
body .booking-widget-wrap input[type="checkbox"]::before,
body .booking-widget-wrap input[type="checkbox"]::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
}

/* Submit button — match site .btn-primary */
.booking-widget-wrap .hc-button,
.booking-widget-wrap input.hc-button,
.booking-widget-wrap input[type="submit"] {
  background: var(--accent) !important;
  border: 3px solid var(--accent) !important;
  border-radius: 30px !important;
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 10px 40px !important;
  height: auto !important;
  width: auto !important;
  cursor: pointer;
  transition: background 0.4s ease;
  margin-top: 12px !important;
}
.booking-widget-wrap .hc-button:hover,
.booking-widget-wrap input.hc-button:hover,
.booking-widget-wrap input[type="submit"]:hover {
  background: var(--accent-soft) !important;
}
.booking-widget-wrap .hc-actions { text-align: center !important; margin-top: 24px !important; }

/* Footer / privacy link */
.booking-widget-wrap .hc-privacy-footer,
.booking-widget-wrap .hc_footer {
  margin-top: 24px !important;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding-top: 14px !important;
}
.booking-widget-wrap .privacy-policy-link,
.booking-widget-wrap .hc-privacy-footer a { color: var(--accent-blue) !important; }

/* Generic: any inline text color from the widget defaults to white */
.booking-widget-wrap .healcode,
.booking-widget-wrap .hc_registration,
.booking-widget-wrap .hc_registration > * { color: #fff; }

/* ---------- What to expect (text-only) ---------- */
.expect {
  display: grid;
  gap: 36px;
  max-width: 880px;
  margin: 56px auto 0;
}
.expect-item h3 {
  font-family: var(--font-display);   /* Grotzec — matches original */
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--logo-blue);            /* deep blue from logo (matches the bullets) */
  margin-bottom: 12px;
}
.expect-item p { color: #fff; font-size: 18px; line-height: 1.6; }
.expect-item__list {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0 0;
}
.expect-item__list li {
  color: #fff;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 6px;
}
.expect-item__list li::marker { color: var(--logo-blue); }

/* ---------- Metric cards ---------- */
.metric {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  background: var(--bg-card);
  height: 100%;
}
.metric h3 {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.metric__icon {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
  object-fit: contain;
  opacity: 0.92;
}

/* ---------- Silent Mind page-specific ---------- */
/* XR Platform Components icon-card titles — blue Montserrat (mixed-case) */
.page-silent .section--xr .icon-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 22px;
  color: var(--logo-blue);
  line-height: 1.25;
}
/* "Free download of the Silent Mind app" — bare layout (no violet frame) */
.silent-app--bare {
  background: transparent;
  border: 0;
  padding: 0;
}
.silent-app--bare h2 {
  /* Use the standard section-title--with-sides typography (Grotzec 35px ls 4px uppercase) */
  margin: 0 auto 32px;
}
.silent-app--bare .silent-app__grid {
  margin-top: 24px;
}
/* "Also included in our 6-Week Foundation Program" — outside frame, centered.
   Body text white, only the link in blue, no underline, larger. */
.silent-app__footnote {
  text-align: center;
  margin: 36px auto 0;
  color: #fff;
  font-size: 18px;
}
.silent-app__footnote a {
  color: var(--logo-blue);
  text-decoration: none;
  font-weight: 600;
}
.silent-app__footnote a:hover { color: var(--accent); }

/* ---------- Track & Train page-specific ---------- */
/* Icon-card titles in "Why experience live tracking" — violet Montserrat (mixed-case) */
.page-track .icon-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 22px;
  color: var(--accent);
  line-height: 1.25;
}
/* "What to expect" sub-titles — Montserrat 600 mixed-case (was Grotzec uppercase) */
.page-track .expect-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--logo-blue);
  line-height: 1.3;
}
/* "Watch neuroscience..." subtitle — blue (matches original inline color) */
.page-track .challenge__lede {
  color: var(--logo-blue);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 16px;
}
/* Sub-frame wrapper for sections (separates each block visually) */
.page-track .section--frame > .container {
  background: #1a2238;
  border-radius: 20px;
  padding: 48px 40px;
}
/* Tighter spacing between consecutive frames */
.page-track .section--frame { padding: 24px 0; }

/* ---------- EEG Report page-specific ---------- */
/* Brain icon above "Why record your brain?" */
.page-eeg .section-icon {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  opacity: 0.95;
}
/* Violet titles for the "Why record" icon-cards (See the Invisible / Move Beyond / Track Real) */
.page-eeg .icon-card h3 {
  font-family: var(--font-body);          /* Montserrat (was Grotzec) */
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;                   /* mixed-case */
  font-size: 22px;
  color: var(--accent);                   /* violet (was white) */
  line-height: 1.25;
}
/* Core metric cards — frame-less, centered (only inside "The Science Behind" section).
   Outside this section (e.g. "Your EEG Recording" included items) keep the standard frame. */
.page-eeg .section--science .metric {
  border: 0;                              /* no rounded frame */
  background: transparent;                /* no card bg */
  text-align: center;
  padding: 16px 12px;
}
.page-eeg .section--science .metric h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--logo-blue);                /* deep blue (was violet) */
  line-height: 1.3;
  margin: 0 0 14px;
  text-wrap: balance;                     /* avoid orphan words on h3 */
}
.page-eeg .section--science .metric p {
  color: rgba(255,255,255,0.92);
  margin: 8px 0;
  line-height: 1.6;
  font-size: 17px;                        /* bumped from 15px to match original */
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;                      /* avoid orphan words */
}
/* QM3's middle paragraph — same look as siblings (no italic, no smaller size) */
.page-eeg .section--science .metric__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  font-style: normal;
}

/* Solo pricing card (single card, no siblings to align with via subgrid) — use flat flex.
   The default .price-card uses `display:grid; grid-template-rows: subgrid; grid-row: span 4`
   which only makes sense when there are 2+ cards in the row. */
.pricing--solo .price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-row: auto;
  padding: 56px 32px 40px;
  row-gap: 0;
}
.pricing--solo .price-card > * { width: auto; }
.pricing--solo .price-card p { max-width: 46ch; text-wrap: pretty; }
.pricing--solo .price-card .btn { margin-top: 18px; align-self: center; }

/* "Your Complete Session Includes" — bullet list inside the EEG Recording section */
.page-eeg .eeg-includes-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  margin: 0 0 18px;
  line-height: 1.3;
}
.page-eeg .eeg-includes {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  color: rgba(255,255,255,0.92);
}
.page-eeg .eeg-includes li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.page-eeg .eeg-includes li::marker { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: 80px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;       /* matches original 560px / 560px */
  gap: 24px;
  align-items: stretch;
}
.site-footer__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;       /* fallback 2×2 */
  gap: 20px;
  align-content: start;
}
/* 4 cards aligned side-by-side in a single row (newsletter removed) */
.site-footer__cards--row {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
.site-footer__col { padding: 0; min-width: 0; }
.site-footer__col:not(.site-footer__col--newsletter) {
  background: #111c34;
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.site-footer__col p { font-size: 15px; line-height: 1.55; }
.site-footer h2,
.site-footer__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer p, .site-footer a { color: #fff; font-size: 15px; line-height: 1.6; }
.site-footer a:hover { color: var(--accent); }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.newsletter .full { grid-column: 1 / -1; }
.newsletter input {
  padding: 10px 14px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
}
.newsletter input::placeholder { color: #718096; }
.newsletter button {
  grid-column: 1 / -1;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  border: 3px solid var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  width: max-content;
  margin: 8px auto 0;
  transition: background .25s ease;
}
.newsletter button:hover { background: var(--accent-soft); }
.socials { display: flex; gap: 14px; align-items: center; }
.socials img { width: 28px; height: 28px; opacity: 0.85; transition: opacity .2s ease; }
.socials a:hover img { opacity: 1; }
.site-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__privacy {
  font-size: 13px;
  color: var(--text-dim) !important;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-footer__privacy:hover { color: var(--accent) !important; }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  z-index: 100;
}
.skip-link:focus { top: 16px; }

/* ==========================================================
   Responsive — consolidated media queries (auto-generated)
   ========================================================== */

@media (max-width: 1100px) {
  .updates-track { --updates-visible: 2; }
  .updates-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .content-frame > .section { padding: 40px 18px; }
  .measure-figure { grid-template-columns: 1fr; gap: 32px; }
    .measure-figure__center { width: 100%; max-width: 420px; margin: 0 auto; }
    .measure-figure__line { display: none; }
    .measure-figure__col { gap: 32px; }
}

@media (max-width: 880px) {
  /* Mobile section padding — moderate (was 90px, kept readable here) */
  .section { padding: 48px 0; }
  .section--tight { padding: 36px 0; }
  .container { padding: 0 16px; }
  .content-frame { border-width: 2px; border-radius: 0 0 14px 14px; }

  /* Targeted internal-spacing trims on a few sections that felt airy on mobile */
  /* About — tighter gap between pillars, smaller pillar art */
  .pillars { gap: 24px; margin-top: 28px; }
  .pillar { padding: 10px 0; }
  .pillar img { margin-bottom: 14px; }
  .pillar h3 { margin-bottom: 8px; }

  /* 6-Week Foundation card — internal trims */
  .featured-card { padding: 24px 16px; margin-top: 16px; }
  .featured-card .pillars-3 { gap: 22px; margin-top: 22px; }
  .featured-card h2 { margin-bottom: 8px; }
  .feat-pillar { padding: 4px 0; }
  .feat-pillar img { margin-bottom: 12px; }
  .cta-row { margin-top: 22px; gap: 10px; flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; max-width: 360px; margin: 0 auto; }

  .silent-app { padding: 28px 16px 36px; }
    .silent-app__grid { grid-template-columns: 1fr; gap: 24px; }
  /* Silent Mind journey: stack vertically, no decorative arrow on mobile */
  .journey-overview { grid-template-columns: 1fr; grid-template-rows: none; gap: 24px; }
  .journey-card { grid-template-rows: none; grid-row: auto; }
  .journey-card__circle { width: 160px; height: 160px; margin-bottom: 12px; }
  .journey-flow { display: none !important; }   /* mobile: drop the violet flow line */
  /* Lounge cards: square on mobile (matches original) — tap-to-reveal */
  .lounge-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
    .lounge-card { aspect-ratio: 1 / 1; }
    .lounge-card__body { padding: 0 16px; }
    .lounge-card.is-revealed .lounge-card__body {
      max-height: 220px;
      opacity: 1;
      margin-bottom: 8px;
    }
    .lounge-card.is-revealed::after { background: rgba(0, 0, 0, 0.5); }
    .lounge-card__title { z-index: 4; cursor: pointer; font-size: 24px; padding: 0 12px 20px; letter-spacing: 2px; }
    .lounge-card__body p { font-size: 16px; line-height: 1.55; }
    /* No image zoom on tap (sticky :hover on touch screens triggered the desktop zoom) */
    .lounge-card:hover img,
    .lounge-card.is-revealed img { transform: none !important; }
  .featured-card { padding: 24px 16px; }
    .featured-card .pillars-3 { grid-template-columns: 1fr; gap: 22px; }
  .exp-grid { grid-template-columns: 1fr; gap: 24px; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .pricing { grid-template-columns: 1fr; gap: 24px; }
  .icon-row { grid-template-columns: 1fr; grid-template-rows: none; gap: 28px; margin-top: 28px; }
    .icon-card { grid-template-rows: none; grid-row: auto; padding: 8px 4px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
    .split--reverse > :first-child { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__cards { grid-template-columns: 1fr 1fr; gap: 14px; }
    .site-footer__cards--row { grid-template-columns: 1fr 1fr; }
  .site-footer { padding: 36px 0 24px; }
    .site-footer__col:not(.site-footer__col--newsletter) { padding: 16px 14px; }

  /* Hero spacing tighter on mobile */
  .page-hero { padding: 28px 0 36px; }
  .page-hero__brand a img { width: 220px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero__lede { font-size: 17px; line-height: 1.5; }

  /* Section titles a bit smaller on mobile */
  .section-title { font-size: clamp(1.4rem, 5.5vw, 1.9rem); margin-bottom: 18px; }
  .section-title--with-sides { font-size: 22px; letter-spacing: 2px; gap: 14px; margin-bottom: 24px; }

  /* Front-page 2nd photo section — fill viewport height on mobile,
     and bias the crop to the LEFT so the subject stays in frame on a narrow viewport. */
  .section--photo-bg { min-height: 100vh; }
    .section--photo-bg__img {
      width: 100%;
      height: 100vh;
      object-fit: cover;
      object-position: 10% center;      /* a bit off the very left edge */
    }
    .section--photo-bg h2 { font-size: 30px; letter-spacing: 2px; }

  /* Track & Train "What we measure": hide the connector arrows on mobile;
     stack the three labels vertically below the laptop image. */
  .measure {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "topleft" "botleft" "botright";
  }
  .measure__arrow { display: none !important; }
  .measure__label,
  .measure__label--top-left,
  .measure__label--bottom-left,
  .measure__label--bottom-right {
    transform: none !important;
    justify-self: center !important;
    max-width: 540px !important;
    margin: 18px auto 0 !important;
    text-align: left !important;
  }
  .measure__label .measure__text,
  .measure__label--top-left .measure__text,
  .measure__label--bottom-left .measure__text,
  .measure__label--bottom-right .measure__text {
    text-align: left !important;
    transform: none !important;
    max-width: none !important;
  }
  .measure__label h3 { text-align: left !important; }
  .measure__stage { padding: 8px 0 24px; }

  /* Program page — Week pill ABOVE the title on mobile, full row width for the title */
  .week__summary {
    grid-template-columns: 1fr auto;     /* row 1: pill (+ chevron); row 2: title spans full */
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 6px;
    padding: 12px 4px;
    align-items: center;
  }
  .week__summary > .week__pill   { grid-column: 1; grid-row: 1; justify-self: start; }
  .week__summary > .week__chevron { grid-column: 2; grid-row: 1; }
  .week__summary > .week__title  {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
    font-size: 21px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .week__pill { font-size: 18px; padding: 4px 14px; letter-spacing: 2px; }
  .week__body > .week__content { padding: 8px 4px 24px; overflow-wrap: anywhere; }
  .week__list li, .week__content p { overflow-wrap: anywhere; word-break: normal; }
}

@media (max-width: 760px) {
  .journey-row, .journey-row--reverse { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .journey-row--reverse .journey-row__circle { order: 0; }
  .week__icons { display: none; }      /* hide on small screens to keep header tidy */
    /* .week__summary layout for mobile is defined above (max-width: 880px) */
  .expect-frame { grid-template-columns: 1fr; padding: 28px 24px; }
    .expect-frame > ul { justify-self: start; }
  .week__iconset { display: none; }
}

@media (max-width: 700px) {
  .form .row.two { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .updates-track { --updates-visible: 1; }
  .updates-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .site-footer__minimal-inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; }
    .site-footer__logo { grid-row: 1; }
    .site-footer__tagline { grid-row: 2; }
    .site-footer--minimal .socials { grid-column: 1; grid-row: 3; justify-self: start; }
    .site-footer__copy { grid-column: 1; grid-row: 4; justify-self: start; }
  .site-footer__cards { grid-template-columns: 1fr; }
}
