/* =========================================================
   Never Better Now: shared styles for every page
   Deep purple #520441, bright pink #FF00C8, pill buttons.
   Built for phones first; wider screens are added below.
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spinnaker";
  src: url("../fonts/spinnaker-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #520441;
  --purple-bar: #5a0446;
  --pink: #FF00C8;
  --pink-text: #C4009A;   /* darker pink, readable as small text on white */
  --pale-pink: #FBE3F5;
  --white: #ffffff;
  --grey: #6b6b6b;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --title: "Spinnaker", "Montserrat", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(30, 0, 25, 0.28);
  --gutter: 16px;

  /* ---------- Type tuning: change these to adjust size, weight and color ----------
     Reference: the original neverbetteryoga.com (a fixed 980px-wide Wix layout). */
  --nav-size: clamp(.95rem, 1.45vw, 1.125rem);   /* 18px on screens 1240px+ (shrinks on small laptops so it
                                                     doesn't hit the icons). Original: 18px. Was .98rem (15.7px) */
  --nav-weight: 700;               /* bold. Original: Proxima Nova Semibold */
  --nav-color: #520441;            /* deep purple, same as original */
  --nav-current-color: #616161;    /* gray, original's current-page color. Was #6b6b6b */
  --nav-hover-color: var(--pink-text);

  --page-title-size: clamp(1.55rem, 4.4vw, 2.75rem);   /* 44px on computers. Original: 41px */
  --page-title-weight: 700;
  --lead-size: clamp(1.15rem, 3vw, 1.6875rem);          /* 27px on computers. Original: 27px. Was 20.8px */
  --lead-weight: 500;

  --hero-title-size: clamp(1.9rem, 2.7vw, 2.9rem);      /* 34.6px at 1280px (unchanged). Original: 40px, but 40px
                                                           runs under the logo circle in this layout */
  --hero-title-weight: 700;        /* original: bold. Was 600 */
  --hero-box-size: clamp(1.4rem, 1.95vw, 1.9rem);       /* 25px at 1280px. Original: 25px (unchanged) */

  --btn-size: 1.1875rem;           /* 19px, all pill buttons */
  --btn-weight: 700;
  --hero-btn-size: 1.25rem;        /* 20px. Original: 20px. Was 19px */
  --hero-btn-weight: 700;          /* Was 600 */

  --plan-title-size: clamp(1.7rem, 3.4vw, 2.1rem);      /* price card titles (unchanged) */
  --plan-text-size: 1rem;          /* price card bullets, 16px (unchanged). Original: 25px Light */

  --membership-shade: 0;           /* dark plum layer over the membership watercolor, 0 to 1.
                                      Original: none. Was .42 */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--purple);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.2; }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--purple);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Social icons ---------- */
.social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: block;
  border-radius: 50%;
  transition: transform .15s ease;
}
.social a:hover { transform: scale(1.1); }
.social svg { display: block; width: 30px; height: 30px; }
.icon-bg { fill: var(--ic-bg, #000); }
.icon-fg { fill: var(--ic-fg, #fff); }
.icon-line { fill: none; stroke: var(--ic-fg, #fff); }
.icon-cut { fill: none; stroke: var(--ic-bg, #000); stroke-linecap: round; }
.social--light { --ic-bg: #fff; --ic-fg: var(--purple); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 6px solid var(--pink);
  border-image: linear-gradient(90deg, #a1058a, var(--pink) 50%, #a1058a) 1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px var(--gutter);
  min-height: 64px;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font: 700 0.95rem var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--white);
  border: 2px solid var(--purple);
  border-radius: 999px;
  cursor: pointer;
}
.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  position: relative;
}
.menu-toggle .bars::before { position: absolute; top: -6px; }
.menu-toggle .bars::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.main-nav { display: none; }
.main-nav.is-open {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  margin-top: 6px;
  background: var(--white);
  box-shadow: 0 12px 24px rgba(30, 0, 25, .18);
}
.main-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.main-nav a {
  display: block;
  padding: 14px var(--gutter);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nav-color);
}
.main-nav a:hover { color: var(--nav-hover-color); }
.main-nav a[aria-current="page"] { color: var(--nav-current-color); }
.main-nav .lower { text-transform: none; }   /* keeps the small "s" in FAQs */

/* Membership: pink pill button, the main action in the menu.
   Bold and at least 19px so white on pink stays easy to read, like the site's other pink buttons. */
.main-nav .nav-cta a {
  display: block;
  margin: 10px var(--gutter) 6px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: 1.1875rem;
  font-weight: 700;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.main-nav .nav-cta a:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(30, 0, 25, .25); }
.main-nav .nav-cta a[aria-current="page"] { color: var(--white); box-shadow: inset 0 0 0 3px var(--purple); }

/* Drop-down menus (Live Classes, About) */
.sub-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px var(--gutter);
  font: 700 1.05rem var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--nav-color);
  background: none;
  border: 0;
  cursor: pointer;
}
.sub-toggle::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .15s ease;
}
.sub-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.sub-toggle:hover { color: var(--nav-hover-color); }
.has-sub.is-current > .sub-toggle { color: var(--nav-current-color); }
.main-nav .sub-menu { display: none; padding: 0 0 6px; }
.main-nav .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.main-nav .sub-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px var(--gutter) 11px calc(var(--gutter) + 20px);
  font-size: 1rem;
  letter-spacing: .03em;
  text-transform: none;
}
.sub-icon { flex: none; width: 22px; height: 22px; --ic-bg: var(--purple); --ic-fg: #fff; }

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .header-inner { padding: 18px 40px; min-height: 84px; }
  .main-nav, .main-nav.is-open {
    display: block;
    position: static;
    margin: 0 auto;
    box-shadow: none;
  }
  .main-nav > ul { display: flex; align-items: center; gap: clamp(22px, 4vw, 64px); padding: 0; }
  .main-nav > ul > li > a,
  .sub-toggle { padding: 6px 0; font-size: var(--nav-size); font-weight: var(--nav-weight); white-space: nowrap; }
  .has-sub { position: relative; }
  .main-nav .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    min-width: 220px;
    padding: 10px 0;
    background: var(--white);
    border-top: 4px solid var(--pink);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 14px 30px rgba(30, 0, 25, .22);
  }
  .main-nav .sub-menu a { padding: 11px 24px; white-space: nowrap; }
  .main-nav .nav-cta a { margin: 0; padding: 9px 22px; font-size: max(var(--nav-size), 1.1875rem); white-space: nowrap; }
  .main-nav .sub-menu a:hover { background: var(--pale-pink); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font: var(--btn-weight) var(--btn-size)/1.2 var(--sans);   /* large enough to read on pink */
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30, 0, 25, .3); }
.btn--white { background: var(--white); color: var(--purple); }
.btn--purple { background: var(--purple); color: var(--white); }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn--outline:hover { background: var(--pale-pink); box-shadow: none; }
.btn--block { display: block; width: 100%; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* Copy Email Address: small pill beside an address */
.copy-btn--small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-left: 8px;
  padding: 3px 12px;
  font: 700 .8rem/1.2 var(--sans);
  letter-spacing: .04em;
  color: inherit;
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  vertical-align: middle;
  text-shadow: none;
  cursor: pointer;
}
.copy-btn--small:hover { background: rgba(255, 0, 200, .12); }

/* ---------- Logo circle ---------- */
.logo-circle {
  display: grid;
  place-items: center;
  width: var(--size, 160px);
  height: var(--size, 160px);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 22px rgba(30, 0, 25, .3);
}
.logo-circle img { width: 57%; height: auto; }   /* approved logo: leaves comfortable space around the curl and TM. Was 68% for the old logo */

/* ---------- Purple social bar ---------- */
.social-bar {
  background: var(--purple-bar);
  padding: 14px var(--gutter);
}
.social-bar .social { justify-content: center; flex-wrap: wrap; gap: 8px; }
.social-bar .social a { padding: 5px; }
.social-bar .social svg { width: 34px; height: 34px; }

/* =========================================================
   HOME
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #2c3a22;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 22px;   /* phones: trimmed so the purple icon bar shows on a 390x750 screen. Was 36px 0 32px */
}
.hero-band {
  width: 100%;
  padding: 18px var(--gutter);
  background: rgba(82, 4, 65, .78);
}
.hero-band h1 {
  color: var(--white);
  font-weight: var(--hero-title-weight);
  font-size: clamp(1.6rem, 6.4vw, 3rem);
  letter-spacing: -.01em;
  text-align: center;
}
.hero .logo-circle { --size: 150px; margin: 16px 0 18px; }   /* Was 22px 0 26px */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100% - 2 * var(--gutter), 360px);
}
.hero-buttons .btn { font-size: var(--hero-btn-size); font-weight: var(--hero-btn-weight); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.hero-box {
  position: relative;
  background: var(--white);
  color: var(--purple);
  padding: 18px var(--gutter);   /* Was 24px */
  font-size: 1.35rem;
  line-height: 1.3;
}
.hero-box p { margin: 0; max-width: 18em; }
.hero-box strong { font-weight: 700; }

/* Phones and tablets: photo first with nothing over Susan, then a purple panel
   with the headline and both buttons, then the white text box. */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; background: var(--purple); }
  .hero-stage { display: contents; }
  .hero-photo {
    order: 1;
    position: relative;
    inset: auto;
    display: block;
    aspect-ratio: 900 / 591;   /* 390 x 256 on a phone: room above her hips and below her hands */
  }
  .hero-photo img { object-position: 50% 56%; }
  .hero .logo-circle {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    --size: 92px;
    margin: 0;
  }
  .hero-band { order: 2; background: var(--purple); padding: 6px var(--gutter) 2px; }
  .hero-buttons {
    order: 3;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 6px var(--gutter) 10px;
  }
  .hero-buttons .btn { width: min(100%, 420px); }
  .hero-box { order: 4; padding: 14px var(--gutter); }
}

@media (min-width: 900px) {
  .hero-photo img { object-position: 50% 30%; }
  .hero-stage {
    display: block;
    /* Fits the window height so the purple icon bar shows without scrolling:
       window height minus the menu (90px) and the icon bar (72px), plus a little room.
       Never shorter than 460px; never taller than before (46% of the width, up to 760px). */
    min-height: clamp(460px, calc(100vh - 166px), min(46vw, 760px));
    padding: 0;
  }
  .hero-band {
    position: absolute;
    top: 14%;
    left: 0;
    width: 70%;
    padding: 22px calc(clamp(190px, 15vw, 240px) * .7) 22px 14%;
  }
  .hero-band h1 { text-align: left; white-space: nowrap; font-size: var(--hero-title-size); }
  .hero .logo-circle {
    --size: clamp(190px, 15vw, 240px);
    position: absolute;
    top: calc(14% + 50px - var(--size) / 2);
    left: calc(70% - var(--size) * .35);
    margin: 0;
  }
  .hero-buttons {
    position: absolute;
    top: 43%;
    left: 14%;
    width: 360px;
    gap: 30px;
  }
  .hero-box {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 33%;
    padding: 26px 28px 30px;
    font-size: var(--hero-box-size);
  }
}
/* Small laptops: the one-line headline would run under the logo, so let it wrap to two even lines */
@media (min-width: 900px) and (max-width: 1099px) {
  .hero-band h1 { white-space: normal; text-wrap: balance; }
}
/* Shorter laptop screens: headline band sits a little higher and slimmer so Susan's feet show below it */
@media (min-width: 900px) and (max-height: 760px) {
  .hero-band { top: 7%; padding-top: 16px; padding-bottom: 16px; }
  .hero .logo-circle { top: max(10px, calc(7% + 41px - var(--size) / 2)); }
  .hero-buttons { top: 40%; }
}

/* ---------- About ---------- */
.watercolor {
  position: relative;
  background: #8a0a6c url("../images/pink-watercolor.jpg") center / cover no-repeat;
  color: var(--white);
}
.watercolor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(82, 4, 65, var(--shade, .3));
  pointer-events: none;
}
.watercolor > * { position: relative; }

.about { padding: 56px var(--gutter) 64px; }
.about-inner {
  display: grid;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
}
.about h2 {
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.about-text p {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.75;
  letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(40, 0, 30, .45);
}
.about-text .cred-link {
  display: inline-block;
  margin-top: .3em;
  font-weight: 700;
  color: var(--white);
}
.about-text .cred-link:hover { color: var(--pale-pink); }

.photo-frame {
  background: var(--white);
  padding: 12px;
  box-shadow: var(--shadow);
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-photos img { width: 100%; height: 100%; object-fit: cover; }
.about-photos .p-seated { aspect-ratio: 1 / 1.1; object-position: 50% 30%; }
.about-photos .p-together { aspect-ratio: 1 / 1.1; object-position: 50% 30%; }
.about-photos .p-dog { aspect-ratio: 1 / 1; object-position: 50% 60%; }
.about-photos .p-stretch { aspect-ratio: 1 / 1; object-position: 45% 30%; }

@media (min-width: 900px) {
  .about { padding: 80px 40px 90px; }
  .about-inner {
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: start;
  }
  .about-text { text-align: right; padding-top: 4px; }
  .photo-frame { padding: 20px; }
  .about-photos {
    grid-template-columns: 1.62fr 1fr;
    grid-template-rows: 340px 60px 250px;
    gap: 16px;
  }
  .about-photos img { aspect-ratio: auto !important; }
  .about-photos .p-seated { grid-column: 1; grid-row: 1 / 3; }
  .about-photos .p-dog { grid-column: 1; grid-row: 3; }
  .about-photos .p-together { grid-column: 2; grid-row: 1; }
  .about-photos .p-stretch { grid-column: 2; grid-row: 2 / 4; }
}

/* ---------- News (sign-up) ---------- */
.news {
  background: #e46fdc url("../images/news-pink-shadow.jpg") left center / cover no-repeat;
  padding: 72px var(--gutter) 64px;
}
.news-box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 8px solid var(--white);
  padding: 96px 20px 44px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(80, 0, 70, .15);
}
.news .logo-circle {
  --size: 170px;
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -55%);
}
.news h2 {
  font-weight: 500;
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  letter-spacing: .12em;
  color: var(--purple);
  margin-bottom: 10px;
}
.news-intro {
  max-width: 34em;
  margin: 0 auto 26px;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--purple);
}
.news-form {
  display: grid;
  gap: 10px;
  max-width: 770px;
  margin: 0 auto;
}
.news-form input {
  width: 100%;
  padding: 16px 18px;
  font: 500 1rem var(--sans);
  color: var(--purple);
  background: rgba(255, 255, 255, .7);
  border: 0;
  border-radius: 0;
}
.news-form input::placeholder { color: #6d4a66; }
.news-form button {
  padding: 16px;
  font: 600 1.1875rem var(--sans);
  letter-spacing: .04em;
  color: var(--white);
  background: var(--pink);
  border: 0;
  cursor: pointer;
}
.news-form[hidden] { display: none; }   /* after a successful sign-up, only the message shows */
.news-form button:disabled { opacity: .7; cursor: wait; }
.news-form input[aria-invalid="true"] { outline: 3px solid var(--purple); outline-offset: -3px; }
/* Sign-up messages: plum text on white so they're easy to read on the pink */
.news-message {
  max-width: 770px;
  margin: 18px auto 0;
  padding: 14px 18px;
  background: var(--white);
  color: var(--purple);
  font-size: 1.08rem;
  font-weight: 600;
  border-left: 6px solid var(--pink);
}
.news-message--error { border-left-color: var(--purple); }
.news-message:focus { outline: none; }
@media (min-width: 700px) {
  .news { padding: 120px 40px 80px; }
  .news-box { padding: 120px 50px 56px; }
  .news .logo-circle { --size: 230px; }
  .news-form { grid-template-columns: 1fr 1fr; }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--purple-bar) url("../images/contact-texture.jpg") repeat;
  background-size: 300px 300px;
  color: var(--white);
  padding: 64px var(--gutter) 48px;
}
.contact-inner {
  display: grid;
  justify-items: center;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  color: var(--pink);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 2.5rem);
  letter-spacing: .12em;
}
.contact-action { display: grid; justify-items: center; gap: 14px; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-action .btn { min-width: 280px; }
.contact-email { color: var(--white); font-weight: 600; font-size: 1.05rem; }
.contact-dog { width: 170px; }

@media (min-width: 800px) {
  .contact { padding: 70px 40px 60px; }
  .contact-inner {
    grid-template-columns: 1fr 260px;
    grid-template-areas: "title title" "action dog";
    align-items: center;
    gap: 10px 40px;
  }
  .contact h2 { grid-area: title; }
  .contact-action { grid-area: action; margin-top: 40px; }
  .contact-dog { grid-area: dog; width: 220px; }
}

/* =========================================================
   LIVE CLASSES and MEMBERSHIP
   ========================================================= */
.leaf-page {
  background: #0e1a10 url("../images/leaf-background.jpg") center top / cover no-repeat;
  color: var(--white);
}
@media (min-width: 900px) {
  .leaf-page { background-attachment: fixed; }
}
.page-section { padding: 48px var(--gutter) 64px; }
.page-inner { max-width: 1240px; margin: 0 auto; }

.page-intro { text-align: center; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.page-intro h1 {
  font-weight: var(--page-title-weight);
  font-size: var(--page-title-size);
  letter-spacing: -.01em;
}
.page-intro h1.balance { text-wrap: balance; }   /* wraps long titles into even lines on phones */
.class-time { margin: 18px 0 0; }
.class-time .day {
  display: block;
  font-weight: 700;
  font-size: clamp(2.6rem, 8.5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.class-time .clock {
  display: block;
  font-weight: 700;
  font-size: clamp(1.85rem, 6vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.nowrap { white-space: nowrap; }
.class-time .meta {
  display: block;
  margin-top: 14px;
  font-weight: 500;
  font-size: clamp(1.2rem, 3.2vw, 1.8rem);
}

/* Price boxes */
.plans {
  display: grid;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 820px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 36px; align-items: stretch; }
}
/* Membership: three boxes side by side on computers, stacked in order on phones and tablets */
.plans--three { max-width: 1240px; }
@media (min-width: 820px) {
  .plans--three { grid-template-columns: 1fr; max-width: 560px; }
}
@media (min-width: 1080px) {
  .plans--three { grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1240px; }
  .plans--three .plan { padding-left: 30px; padding-right: 30px; }
  /* Room for two-line titles so all three prices line up */
  .plans--three .plan h2 { min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
}
.plan {
  position: relative;
  overflow: hidden;            /* clips the color bar to the rounded corners */
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--purple);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 38px 22px 32px;
  text-align: center;
  text-shadow: none;
}
/* Thin color bar across the top, drawn inside the box so the corners stay smooth */
.plan::before,
.privacy-card::before,
.text-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--bar, var(--purple));
}
.plan--pink {
  --bar: var(--pink);
  border: 3px solid var(--pink);
}
/* Pink top bar only (Live Classes Drop In): matches the membership box's top, which is
   its 3px pink border plus the 8px bar = 11px of pink. The 3px clear border on all sides keeps
   the titles and box edges level with the membership box. No pink border on the sides. */
.plan--pinkbar {
  border: 3px solid transparent;
  background: linear-gradient(var(--pink), var(--pink)) top / 100% 11px no-repeat border-box, var(--white);
}
.plan--pinkbar::before { display: none; }
/* Quiet box: plain white, no pink border, pale top bar */
.plan--quiet { --bar: var(--pale-pink); }
@media (min-width: 820px) {
  .plan { padding: 44px 42px 36px; }
}
.plan h2 {
  font-family: var(--title);
  font-weight: 400;
  font-size: var(--plan-title-size);
  margin-bottom: 8px;
}
.plan-sub { margin: 0 0 6px; font-size: 1rem; }
.plan-line { margin: 0 0 18px; font-weight: 600; }
.price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 0;
}
.price strong {
  font-weight: 700;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.price span { font-size: 1rem; }
.divider {
  width: 54px;
  height: 3px;
  margin: 16px auto 22px;
  background: var(--pink);
  border: 0;
}
.plan-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
}
.plan-list li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: var(--plan-text-size);
  line-height: 1.5;
}
.plan-list li::before {
  position: absolute;
  left: 0; top: -1px;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pale-pink);
  color: var(--purple);
  font-size: .82rem;
  font-weight: 700;
}
.plan-list--numbers { counter-reset: step; }
.plan-list--numbers li { counter-increment: step; }
.plan-list--numbers li::before { content: counter(step); }
.plan-list--checks li::before { content: "\2713"; }
.plan-action { margin-top: auto; }
/* Live Classes: the two boxes share rows on computers, so titles, short lines, prices,
   check marks and buttons sit level and both boxes are the same height. */
@media (min-width: 820px) {
  .plans--matched { grid-template-rows: repeat(6, auto); row-gap: 0; }
  .plans--matched .plan {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    align-content: start;
  }
  .plans--matched .plan-action { align-self: end; }
}

.plan-note { margin: 14px 0 0; font-size: .9rem; }
.plan-note--above { margin: 0 0 12px; }

/* Bottom: playlists */
.playlists {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 64px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.playlists .logo-circle { --size: 140px; margin-bottom: 22px; }
.playlists h2 { font-weight: 700; font-size: 1.75rem; }
.playlists p { font-weight: 600; font-size: 1.35rem; margin-bottom: 18px; }
.playlists .btn { text-shadow: none; }

/* Membership */
.membership-page { --shade: var(--membership-shade); }
.membership-photo {
  width: min(100%, 260px);   /* half-size so the price boxes show without scrolling. Was 500px */
  margin: 0 auto 48px;
}
.membership-photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: 45% 30%; }
.page-intro .lead { font-size: var(--lead-size); font-weight: var(--lead-weight); margin: 12px 0 0; }
.more-links {
  margin-top: 44px;
  text-align: center;
  font-size: 1.1rem;
  text-shadow: 0 1px 6px rgba(40, 0, 30, .6);
}
.more-links p { margin-bottom: .7em; }
.more-links a { font-weight: 700; text-underline-offset: 3px; }

/* =========================================================
   PRIVACY
   ========================================================= */
.privacy-page { --shade: .45; }
.privacy-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  color: var(--purple);
  position: relative;
  overflow: hidden;
  --bar: var(--pink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 40px 22px 36px;
}
@media (min-width: 700px) { .privacy-card { padding: 52px 56px 48px; } }
.privacy-card h2 {
  font-family: var(--title);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 28px 0 8px;
}
.draft-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--pale-pink);
  color: var(--purple);
  font-weight: 700;
  font-size: .9rem;
}
.updated { color: var(--grey); font-size: .95rem; }

/* =========================================================
   CREDENTIALS, REVIEWS, FAQS, SUPPORT US
   White cards on the watercolor, like the privacy page
   ========================================================= */
.text-page { --shade: .45; }
.text-card {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 40px 22px 34px;
  background: var(--white);
  color: var(--purple);
  border-radius: 18px;
  box-shadow: var(--shadow);
  --bar: var(--pink);
}
@media (min-width: 700px) { .text-card { padding: 48px 56px 44px; } }
.text-card h2 {
  font-family: var(--title);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 16px;
}
.text-card h2 + h3 { margin-top: 0; }
.text-card h3 { font-size: 1.08rem; font-weight: 700; margin: 24px 0 6px; }
.text-card p:last-child { margin-bottom: 0; }
.text-card a { font-weight: 700; color: var(--pink-text); text-underline-offset: 3px; }
.text-card a.btn { color: var(--white); }

.cred-list { list-style: none; margin: 0; padding: 0; }
.cred-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--pale-pink);
  font-weight: 600;
}
.cred-list li:last-child { border-bottom: 0; }
.cred-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 1.05em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.review { margin: 0; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.7; }
.review figcaption {
  margin-top: 16px;
  font-weight: 700;
  color: var(--pink-text);
  letter-spacing: .03em;
}

.page-foot {
  margin: 36px 0 0;
  text-align: center;
  font-size: 1.1rem;
  text-shadow: 0 1px 6px rgba(40, 0, 30, .6);
}
.page-foot a { font-weight: 700; color: var(--white); text-underline-offset: 3px; }

/* Support Us */
.support-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 26px; }
.venmo-row { display: flex; align-items: center; gap: 28px; margin: 6px 0 26px; }
.venmo-row .btn { flex: none; }
.venmo-qr { display: none; margin: 0; text-align: center; font-weight: 600; font-size: .95rem; }
.venmo-qr img { width: 150px; height: 150px; margin: 0 auto 6px; border: 1px solid var(--pale-pink); }
.small-note { font-size: .92rem; color: var(--grey); }
@media (min-width: 900px) {
  .venmo-qr { display: block; }   /* QR code on computers only */
}
@media (max-width: 520px) {
  .text-card .btn { display: block; width: 100%; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--white);
  padding: 26px var(--gutter) 30px;
  text-align: center;
  color: var(--purple);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.footer-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-line > li { display: flex; align-items: center; }
.footer-line > li + li::before {
  content: "|";
  margin-right: 14px;
  color: var(--purple);
}
.footer-line a { color: var(--purple); text-underline-offset: 3px; }
.footer-line a:hover { color: var(--pink-text); }
.site-footer .social { justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.site-footer .social a { padding: 5px; }
.site-footer .social svg { width: 34px; height: 34px; }
@media (max-width: 640px) {
  .footer-line { flex-direction: column; gap: 12px; }
  .footer-line > li + li::before { content: none; }
}
