/* Alison Dolby Fitness & Dance Studio — 2026 redesign demo */
:root {
  --ink: #0d0d0d;
  --ink-2: #171717;
  --ink-3: #242424;
  --paper: #f5f1eb;
  --paper-2: #ebe5dc;
  --white: #ffffff;
  --orange: #e9510e;   /* matches the logo artwork */
  --orange-deep: #c4430b;
  --muted-dark: #a8a29b;   /* body text on ink */
  --muted-light: #5d5852;  /* body text on paper */
  --line-dark: rgba(255,255,255,.12);
  --line-light: rgba(13,13,13,.12);
  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.2vw, 6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.accent { color: var(--orange); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 .92rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-solid, .site-header.is-open { background: rgba(13,13,13,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* At the top of the page the header logo is shown larger, then settles to its normal size once you scroll */
.site-header .header-inner { transition: height .3s ease; }
.site-header .brand { transform-origin: left center; transition: transform .3s ease; }
.site-header:not(.is-solid):not(.is-open) .header-inner { height: 104px; }
.site-header:not(.is-solid):not(.is-open) .brand { transform: scale(1.3); }
@media (max-width: 1100px) { .site-header:not(.is-solid):not(.is-open) .brand { transform: scale(1.18); } }
@media (max-width: 380px) { .site-header:not(.is-solid):not(.is-open) .brand { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .site-header .header-inner, .site-header .brand { transition: none; } }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-text { line-height: 1.05; white-space: nowrap; }
.brand-text strong { display: block; font-stretch: 120%; font-weight: 800; letter-spacing: .14em; font-size: .95rem; }
.brand-text span { display: block; font-size: .66rem; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap;
  padding: 10px 14px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; text-decoration: none; letter-spacing: .02em;
  color: rgba(255,255,255,.82);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0 1.2em; font-size: .8rem; color: var(--white); }
.nav .btn:hover { background: var(--orange-deep); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 0; color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px var(--gutter) 28px;
    border-top: 1px solid var(--line-dark);
    max-height: calc(100vh - 76px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; border-radius: 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .nav .btn { margin: 20px 0 0; min-height: 52px; font-size: .9rem; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink);
  padding: 140px 0 clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.15) 35%, rgba(13,13,13,.85) 100%),
    linear-gradient(90deg, rgba(13,13,13,.7) 0%, rgba(13,13,13,0) 70%);
}
.hero-eyebrow { flex-wrap: wrap; max-width: 100%; column-gap: 0; }
.hero-eyebrow::before { margin-right: .6em; }
.hero-eyebrow span { white-space: pre; }
/* The logo above already says "Fitness & Dance Studio", so phones get the short version on one line */
@media (max-width: 560px) { .hero-eyebrow-studio { display: none; } }
.hero h1 { max-width: 12ch; }
.hero .lede { max-width: 46ch; color: rgba(255,255,255,.86); margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 6vw, 72px);
  padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-size: .86rem; color: rgba(255,255,255,.75);
}
.hero-meta b { color: var(--white); font-weight: 700; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); column-gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-grid .hero-meta { grid-column: 1 / -1; }
.hero-map { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.hero-map svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.hero-map-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; margin-left: 4px; }
.hero-map-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.hero-map:hover b, .hero-map:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.hero-map:hover .hero-map-cta svg { transform: translateX(3px); }

/* Members' reviews, fading in and out over the video */
.hero-reviews {
  position: relative; padding: 26px 26px 20px; border-radius: var(--radius);
  background: rgba(13,13,13,.55); border: 1px solid var(--line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-reviews::before { content: "\201C"; position: absolute; top: 14px; left: 22px; font: 4.2rem/1 Georgia, serif; color: var(--orange); opacity: .9; pointer-events: none; }
.hero-reviews-stack { display: grid; padding-top: 34px; }
.hero-review {
  grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(8px); visibility: hidden;
  transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s;
}
.hero-review.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.hero-review blockquote { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.5; font-weight: 500; color: var(--white); }
.hero-review p { margin: 0; }
.hero-review figcaption { font-size: .82rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; }
.hero-review figcaption::before { content: ""; width: 18px; height: 2px; background: var(--orange); }
.hero-review figcaption b { color: var(--white); }
.hero-review-dots { display: flex; gap: 2px; margin: 14px -8px 0; }
.hero-review-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-review-dots button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background .3s, width .3s; }
.hero-review-dots button[aria-current="true"]::after { background: var(--orange); width: 18px; border-radius: 4px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-reviews { margin-top: 32px; padding: 22px 20px 16px; }
  .hero-reviews::before { top: 10px; left: 16px; font-size: 3.4rem; }
  .hero-reviews-stack { padding-top: 26px; }
  .hero-review blockquote { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-review { transform: none; transition: opacity .2s, visibility 0s linear .2s; } }
.video-toggle {
  position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: rgba(13,13,13,.5); color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.video-toggle svg { width: 16px; height: 16px; }

.page-hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--ink);
  padding: 170px 0 clamp(56px, 8vw, 100px); overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 16ch; }
.page-hero .lede { color: var(--muted-dark); max-width: 56ch; margin: 1.3rem 0 0; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 15%, rgba(13,13,13,.4)); }
.page-hero .ring {
  position: absolute; right: -120px; top: 50%; translate: 0 -50%; z-index: -1;
  width: 520px; height: 520px; border-radius: 50%;
  border: 2px solid var(--orange); border-bottom-color: rgba(255,255,255,.7); border-left-color: rgba(255,255,255,.7);
  opacity: .5; rotate: -30deg;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--orange); color: var(--white);
  overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(0,0,0,.1);
}
.marquee-track { display: inline-flex; animation: marquee 45s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.35rem); padding: 18px 0; letter-spacing: .02em;
}
.marquee-track span::after { content: "✦"; margin: 0 1.2em; font-size: .7em; vertical-align: .15em; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .muted, .section-dark p { color: var(--muted-dark); }
.section-dark h2, .section-dark h3, .section-dark strong { color: var(--white); }
.section-tint { background: var(--paper-2); }
.muted { color: var(--muted-light); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { max-width: 16ch; }
.section-head p { max-width: 44ch; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split-media .badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--orange); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius);
  font-family: var(--display); font-stretch: 115%; font-weight: 800; line-height: 1;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.split-media .badge small { display: block; font: 600 .7rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .9; margin-bottom: 6px; }
.split-media .badge b { font-size: 2.6rem; }
.split-copy h2 { margin-bottom: 1.4rem; }
.signature { font-weight: 700; margin-top: 1.6rem; display: flex; align-items: center; gap: 12px; }
.signature img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.signature span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted-light); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media img { aspect-ratio: 4/3; }
  .split-media .badge { left: 14px; bottom: 14px; }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--ink); padding: clamp(28px, 4vw, 44px); }
.pillar-num { font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: .9rem; color: var(--orange); letter-spacing: .1em; }
.pillar h3 { margin: 18px 0 12px; font-size: 1.45rem; }
.pillar p { margin: 0; font-size: .98rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Class cards */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.class-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 26px 26px 24px; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.class-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.07); }
.class-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.class-card h3 { margin: 10px 0 10px; font-size: 1.3rem; }
.class-card p { font-size: .95rem; color: var(--muted-light); margin: 0; }
.class-card .arrow { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

.class-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.class-list .class-card p { font-size: .96rem; }
.class-list .class-card.wide { grid-column: span 2; }
@media (max-width: 760px) { .class-list { grid-template-columns: 1fr; } .class-list .class-card.wide { grid-column: auto; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--white); font-size: .9rem; font-weight: 600; }
.section-dark .chip { background: transparent; border-color: var(--line-dark); color: var(--white); }

/* Quotes */
.quote-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 420px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
}
.quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px; margin: 0;
}
.quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4.2rem; line-height: .6; color: var(--orange); height: 30px; }
.quote blockquote { margin: 14px 0 22px; font-size: 1rem; color: rgba(255,255,255,.86); }
.quote figcaption { margin-top: auto; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 10px; }
.quote figcaption::before { content: ""; width: 18px; height: 2px; background: var(--orange); }
.row-controls { display: flex; gap: 8px; }
.row-controls button {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-dark); background: transparent; color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
}
.row-controls button:hover { background: var(--orange); border-color: var(--orange); }
.row-controls svg { width: 18px; height: 18px; }

/* Feature band (car park / CTA) */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: calc(var(--radius) * 1.5);
  color: var(--white); background: var(--ink);
  padding: clamp(40px, 7vw, 88px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end;
}
.band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13,13,13,.92) 30%, rgba(240,90,34,.55)); }
.band p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 1rem 0 0; }
.band .hero-actions { justify-content: flex-end; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band .hero-actions { justify-content: flex-start; } }

/* Opening hours: a dropdown in the hero's info strip (opens upwards, over the video) */
.hero-hours { position: relative; }
.hero-hours summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; }
.hero-hours summary::-webkit-details-marker { display: none; }
.hero-hours summary .hero-map-cta::after { content: ""; width: 6px; height: 6px; margin-left: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-135deg) translate(-1px, -1px); transition: transform .2s; }
.hero-hours[open] summary .hero-map-cta::after { transform: rotate(45deg) translate(-2px, -2px); }
.hero-hours summary:hover .hero-map-cta, .hero-hours summary:focus-visible .hero-map-cta { text-decoration: underline; text-underline-offset: 3px; }
.hero-hours-panel {
  position: absolute; left: 0; bottom: calc(100% + 14px); z-index: 5;
  width: min(340px, calc(100vw - 32px)); padding: 6px 22px; border-radius: var(--radius);
  background: var(--white); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.4);
}
.hero-hours-panel .hours { font-size: .92rem; }
.hero-hours-panel .hours th, .hero-hours-panel .hours td { padding: 10px 0; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.hours th { font-weight: 700; width: 38%; }
.hours td { color: var(--muted-light); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--orange); }
.hours tr.is-today th::after { content: "Today"; margin-left: 8px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; background: var(--orange); color: var(--white); padding: 2px 7px; border-radius: 99px; vertical-align: .15em; }

/* Timetable */
.timetable-shell {
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 24px;
}
.timetable-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  background: var(--ink); color: var(--white); padding: clamp(18px, 3vw, 28px);
}
.timetable-bar h3 { margin-bottom: 6px; }
.timetable-bar p { margin: 0; color: var(--muted-dark); }
.timetable-bar a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--white); }
.timetable-bar a svg { width: 18px; height: 18px; color: var(--orange); }
/* Glofox is cross-origin, so the frame can't report its height. These are its measured page heights
   (Nov 2026) plus a margin, so the whole page scrolls rather than the frame. On narrow screens Glofox
   swaps the week timetable for the memberships list, so those sizes use the memberships height for both. */
.timetable-shell iframe { display: block; width: 100%; height: 1480px; border: 0; background: var(--white); }
.timetable-shell[data-view="memberships"] iframe { height: 1620px; }
@media (max-width: 960px) { .timetable-shell iframe, .timetable-shell[data-view="memberships"] iframe { height: 1980px; } }
/* Phones: no frame (a hidden lazy iframe never loads), just buttons that open Glofox in its own tab,
   where login and payment work. Keep the 767px in step with PHONE in site.js. */
.glofox-mobile { display: none; }
@media (max-width: 767px) {
  .timetable-shell iframe, .timetable-shell .timetable-bar .glofox-tabs, .timetable-shell .timetable-bar .glofox-newtab { display: none; }
  .timetable-shell { border: 0; }
  .glofox-mobile { display: flex; flex-direction: column; gap: 10px; flex-basis: 100%; }
  .timetable-bar .glofox-mobile .btn { justify-content: center; width: 100%; font-size: 1rem; }
  .timetable-bar .glofox-mobile .btn-light { color: var(--ink); }
  .timetable-bar .glofox-mobile .btn svg { color: currentColor; }
}

/* Stories */
.story { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line-light); }
.story:first-of-type { border-top: 0; padding-top: 0; }
.story:nth-of-type(even) { grid-template-columns: 1fr 340px; }
.story:nth-of-type(even) .story-media { order: 2; }
.story-media img { width: 100%; height: auto; border-radius: var(--radius); background: var(--paper-2); }
.story-name { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.story-name h3 { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; }
.story-name span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.story-body p { color: var(--muted-light); }
.story-body p:first-child { color: var(--ink); font-size: 1.12rem; }
@media (max-width: 860px) {
  .story, .story:nth-of-type(even) { grid-template-columns: 1fr; }
  .story:nth-of-type(even) .story-media { order: 0; }
  .story-media img { max-width: 360px; }
}

.quote-grid { columns: 2 340px; column-gap: 18px; }
.quote-grid .quote { break-inside: avoid; margin-bottom: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { border-top: 2px solid var(--orange); padding-top: 22px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-stretch: 120%; font-weight: 800; color: var(--orange); font-size: .9rem; letter-spacing: .1em; }
.step h3 { margin: 12px 0 10px; }
.step p { margin: 0; font-size: .98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.member { margin: 0; }
.member-photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); margin-bottom: 18px;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-photo .monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 5rem; color: var(--orange);
  background: radial-gradient(circle at 30% 20%, var(--ink-3), var(--ink));
}
.member-role { position: absolute; left: 12px; top: 12px; background: var(--orange); color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; }
.member h3 { font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; }
.member h3 small { font: 600 .85rem var(--body); text-transform: none; color: var(--muted-light); margin-left: 6px; }
.member p { margin: 8px 0 0; font-size: .96rem; color: var(--muted-light); }
.member.lead { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 20px; }
.member.lead .member-photo { margin: 0; }
.member.lead h3 { font-size: 2.2rem; }
.member.lead p { color: var(--muted-dark); font-size: 1.05rem; }
@media (max-width: 620px) { .member.lead { grid-column: auto; grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.footer-cta h2 { color: var(--white); font-size: clamp(2.2rem, 6vw, 4.6rem); max-width: 12ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 36px; padding: clamp(40px, 5vw, 56px) 0; }
.footer-grid h4 { color: var(--white); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--white); }
.brand-lg { color: var(--white); margin-bottom: 18px; }
.brand-lg img { width: 72px; height: 72px; }
.brand-lg .brand-text strong { font-size: 1.15rem; }
.brand-lg .brand-text span { font-size: .72rem; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.signup { display: flex; gap: 8px; margin-top: 4px; }
.signup input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 18px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 999px;
  color: var(--white); font: inherit; font-size: .95rem;
}
.signup input::placeholder { color: #8a847d; }
.signup input:focus { outline: none; border-color: var(--orange); }
.signup .btn { min-height: 50px; padding: 0 1.3em; }
.signup-msg { font-size: .88rem; margin-top: 10px; min-height: 1.4em; }
.signup-msg.ok { color: var(--white); }
.signup-msg.err { color: #ff9a7a; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.footer-base .credit a { color: var(--white); text-decoration: none; transition: opacity .2s; }
.footer-base .credit a:hover { opacity: .75; text-decoration: underline; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .signup { flex-direction: column; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.class-card:hover { transform: none; }
}

/* ---------- Round 2 additions ---------- */

/* Skip link: hidden until keyboard-focused */
.sr-only:focus { position: fixed; left: 16px; top: 16px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--orange); color: var(--white); border-radius: 999px; font-weight: 700; text-decoration: none; }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }

/* Opening-hours table: one time range per line, never split mid-range */
.hours .range { display: block; white-space: nowrap; }

/* Live open/closed status in the hero */
.open-status { display: inline-flex; align-items: center; gap: 6px; }
.open-status.is-open::before, .open-status.is-closed::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9a948d; }
.open-status.is-open::before { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }

/* Phone-only sticky Book / Call bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13,13,13,.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .action-bar.is-shown { transform: none; }
  .action-bar .btn { min-height: 48px; padding: 0 1em; }
  .site-footer { padding-bottom: 96px; }
  .video-toggle { bottom: 16px; }
}

/* Information page: quick jump to any class */
.jump-nav {
  position: sticky; top: 76px; z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 28px; padding: 12px var(--gutter);
  background: var(--paper-2);
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav a {
  flex: none; padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-light);
  font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.jump-nav a:hover, .jump-nav a.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.class-list .class-card { scroll-margin-top: 150px; }
.class-card:target { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,90,34,.18); }

/* Team: founder card photo fills its half instead of floating at the bottom */
.member.lead { align-items: stretch; }
.member.lead .member-photo { aspect-ratio: auto; height: 100%; min-height: 340px; }
.member.lead figcaption { align-self: end; padding: 8px 8px 8px 0; }
@media (max-width: 620px) { .member.lead .member-photo { aspect-ratio: 1; height: auto; min-height: 0; } .member.lead figcaption { padding: 0 4px 4px; } }

/* ---------- Facebook feed (home) ---------- */
.fb-section { position: relative; overflow: hidden; }
.fb-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.fb-copy h2 { margin-bottom: 1.4rem; max-width: 12ch; }
.fb-copy .lede { color: rgba(255,255,255,.82); max-width: 44ch; }
.fb-topics { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-topics li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .88rem; font-weight: 600; color: var(--white); }
.fb-topics li::before { content: "#"; color: var(--orange); margin-right: 2px; }

.fb-phone-wrap { position: relative; display: grid; justify-items: center; }
.fb-phone-wrap::before { /* orange glow behind the phone */
  content: ""; position: absolute; z-index: 0; width: 120%; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(233,81,14,.38), rgba(233,81,14,0) 62%);
  pointer-events: none;
}
.fb-phone {
  position: relative; z-index: 1;
  width: min(100%, 370px); height: 680px;
  padding: 12px; border-radius: 48px;
  background: linear-gradient(145deg, #2c2c2c, #0a0a0a);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14), 0 40px 80px rgba(0,0,0,.55);
  rotate: 3deg; transition: rotate .5s ease;
}
.fb-phone:hover, .fb-phone:focus-within { rotate: 0deg; }
.fb-phone-notch { position: absolute; z-index: 3; top: 22px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 99px; background: #000; }
.fb-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #f0f2f5; color: var(--ink); display: flex; flex-direction: column; }
.section-dark .fb-screen strong { color: var(--ink); }
.section-dark .fb-screen p { color: var(--ink); }

.fb-appbar { flex: none; display: flex; align-items: center; gap: 10px; padding: 52px 16px 12px; background: var(--white); border-bottom: 1px solid var(--line-light); }
.fb-appbar img { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); padding: 4px; flex: none; }
.fb-appbar strong { display: block; font-size: .88rem; line-height: 1.2; }
.fb-appbar span { display: flex; align-items: center; gap: 3px; font-size: .74rem; font-weight: 600; color: #1877f2; }
.fb-appbar svg { width: 12px; height: 12px; }
.fb-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.fb-body::-webkit-scrollbar { display: none; }

/* Fallback (feed not set up / unavailable) */
.fb-facade { height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 34px; }
.fb-facade-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1.3fr) minmax(0, 1fr); gap: 6px; overflow: hidden; }
.fb-facade-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.fb-facade-grid img:first-child { grid-column: span 2; }
.fb-facade .btn { flex: none; width: 100%; }

/* Posts */
.fb-posts { list-style: none; margin: 0; padding: 8px 0 40px; display: grid; gap: 8px; }
.fb-post { background: var(--white); }
.fb-post a { display: block; text-decoration: none; color: inherit; }
.fb-post-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 0; font-size: .74rem; color: var(--muted-light); }
.fb-post-head b { color: var(--ink); font-size: .8rem; }
.fb-post-head img { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); padding: 3px; }
.fb-post-text {
  margin: 10px 14px 12px; font-size: .88rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.fb-post-img { width: 100%; max-height: 360px; object-fit: cover; background: var(--paper-2); }
.fb-post-more { display: flex; justify-content: space-between; padding: 10px 14px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #1877f2; border-top: 1px solid var(--line-light); }
.fb-post a:hover .fb-post-more span:last-child { text-decoration: underline; }
.fb-post-end { display: grid; place-items: center; padding: 22px 14px; }

.fb-live {
  position: relative; z-index: 2; margin-top: -22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 99px; background: var(--white); color: var(--ink);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.fb-live i { width: 8px; height: 8px; border-radius: 50%; background: #1877f2; }
.fb-phone-wrap.is-live .fb-live i { background: #e0245e; animation: fb-pulse 1.8s infinite; }
@keyframes fb-pulse { from { box-shadow: 0 0 0 0 rgba(224,36,94,.6); } to { box-shadow: 0 0 0 8px rgba(224,36,94,0); } }

@media (max-width: 860px) {
  .fb-split { grid-template-columns: 1fr; }
  .fb-phone { height: 620px; rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-phone { rotate: 0deg; transition: none; }
  .fb-phone-wrap.is-live .fb-live i { animation: none; }
}

/* One-page layout: sections the nav jumps to clear the fixed header */
section[id] { scroll-margin-top: 64px; }

/* Classes: timetable call-out, and cards that expand to the full description */
.timetable-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); margin-bottom: 24px;
}
.timetable-cta h3 { margin-bottom: 6px; }
.timetable-cta p { margin: 0; color: var(--muted-dark); }
.class-card { scroll-margin-top: 90px; }
.class-card details { margin-top: 14px; }
.class-card summary {
  cursor: pointer; list-style: none; width: max-content;
  font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-deep);
}
.class-card summary::-webkit-details-marker { display: none; }
.class-card summary::after { content: " +"; }
.class-card details[open] summary::after { content: " −"; }
.class-card summary .less, .class-card details[open] summary .more { display: none; }
.class-card details[open] summary .less { display: inline; }
.class-card details p { margin-top: 10px; }

/* Team strip on the home page */
.team-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.team-strip .member h3 { font-size: 1.25rem; }
.team-strip .member p { font-size: .92rem; }
@media (max-width: 900px) { .team-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team-strip { gap: 22px 14px; } .team-strip .member p { font-size: .88rem; } }

/* Class finder: goal chips that filter the class cards */
.finder { margin: clamp(36px, 5vw, 56px) 0 22px; }
.finder[hidden] { display: none; }
.finder-q { margin: 0 0 12px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.finder-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-chips button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-light); background: var(--white); color: var(--ink);
  font: inherit; font-size: .92rem; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.finder-chips button:hover { border-color: var(--ink); }
.finder-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.finder-result { margin: 14px 0 0; min-height: 1.65em; font-size: .95rem; color: var(--muted-light); }
.finder-result b { color: var(--ink); }
.class-card.is-hidden { display: none; }
.class-card.is-match { animation: card-in .35s ease both; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .class-card.is-match { animation: none; } }
@media (max-width: 760px) {
  /* One scrolling line of chips on phones, bleeding to the screen edges */
  .finder-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .finder-chips::-webkit-scrollbar { display: none; }
  .finder-chips button { flex: none; }
  .finder + .swipe-head { margin-top: 4px; }
}

/* Intensity meter at the foot of each class card */
#classes .class-grid { align-items: stretch; }
.intensity {
  display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light);
}
.intensity-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.intensity-bars i { width: 6px; border-radius: 2px; background: var(--paper-2); }
.intensity-bars i:nth-child(1) { height: 30%; }
.intensity-bars i:nth-child(2) { height: 47%; }
.intensity-bars i:nth-child(3) { height: 65%; }
.intensity-bars i:nth-child(4) { height: 82%; }
.intensity-bars i:nth-child(5) { height: 100%; }
.intensity[data-level="1"] i:nth-child(-n+1),
.intensity[data-level="2"] i:nth-child(-n+2),
.intensity[data-level="3"] i:nth-child(-n+3),
.intensity[data-level="4"] i:nth-child(-n+4),
.intensity[data-level="5"] i:nth-child(-n+5) { background: var(--orange); }

/* "Also on the timetable" / "For kids & families" chip lists under the class cards */
.chip-groups { display: grid; grid-template-columns: 2fr 1fr; gap: 28px 40px; margin-top: 40px; }
.chip-groups h3 { margin-bottom: 14px; font-size: 1.1rem; }
@media (max-width: 760px) { .chip-groups { grid-template-columns: 1fr; } }
/* The footer no longer opens with a call-to-action block */
.site-footer { padding-top: clamp(24px, 4vw, 40px); }

/* Team intro photo: the width/height attributes otherwise pin it at 768px tall */
.split-media img { height: auto; }

/* Phones: class cards and instructors become swipeable rows instead of long stacks */
.swipe-head, .swipe-only { display: none; }
.section:not(.section-dark) .row-controls button { border-color: var(--line-light); color: var(--ink); }
.section:not(.section-dark) .row-controls button:hover { color: var(--white); }
@media (max-width: 760px) {
  .swipe-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 14px; }
  .swipe-head p { margin: 0; font-size: .9rem; }
  .swipe-only { display: flex; }
  .swipe-row {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 4px var(--gutter) 16px; margin: 0 calc(var(--gutter) * -1);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
  }
  .swipe-row > * { scroll-snap-align: start; }
  .swipe-row .reveal { opacity: 1; transform: none; }
  #classes .swipe-row { grid-auto-columns: 82%; gap: 14px; align-items: stretch; }
  .team-strip.swipe-row { grid-auto-columns: 44%; gap: 14px; }
}

/* Booking embed: Timetable / Memberships switch (both are Glofox portal pages) */
.timetable-bar .glofox-tabs { flex-basis: 100%; display: flex; gap: 8px; }
.glofox-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 2px solid var(--line-dark); background: transparent; color: var(--white);
  font: 700 .85rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.glofox-tabs button svg { width: 16px; height: 16px; }
.glofox-tabs button:hover { border-color: var(--white); }
.glofox-tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); }
.timetable-shell { scroll-margin-top: 80px; }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 28px 26px 26px;
}
.price-card.is-featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.price-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.price-card h3 { margin: 0; font-size: 1.35rem; }
.price-card p { margin: 0; font-size: .95rem; color: var(--muted-light); }
.price-card.is-featured p { color: var(--muted-dark); }
.price-card .price { color: inherit; }
.price-card .price strong { font-family: var(--display); font-stretch: 110%; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.price-card .price span { font-size: .95rem; color: var(--muted-light); }
.price-card.is-featured .price span { color: var(--muted-dark); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list li span:last-child { text-align: right; color: var(--muted-light); }
.price-list strong { color: var(--ink); font-size: 1.05rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card .price strong { color: var(--ink); }
.price-card.is-featured .price strong { color: var(--white); }
.price-list li span:last-child { white-space: nowrap; }

/* Prices sit under the "New here?" steps in the same section */
.anchor-alias { display: block; position: relative; top: -64px; }
.price-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 40px; margin: clamp(48px, 6vw, 72px) 0 24px; scroll-margin-top: 80px; }
.price-head h3 { margin: 0; font-size: 1.5rem; }
.price-head p { margin: 0; max-width: 52ch; }
