/* ==========================================================================
   The Pilates Workshop — design system
   Warm editorial palette drawn from the studio photography:
   espresso ink, bone paper, plant-wall sage, and a teal accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ink / paper */
  --ink:        #14120E;
  --ink-2:      #1E1B15;
  --ink-3:      #2A251D;
  --bone:       #F8F4ED;
  --bone-2:     #F1EBE0;

  /* accents */
  --sage:       #6E7F62;
  --sage-2:     #8B9C7E;
  --sage-soft:  #C9D2C0;
  --teal:       #03989E;
  --teal-deep:  #034E5B;
  --teal-lt:    #42B2B6;

  /* text */
  --tx-on-dark:      #F5F1EA;
  --tx-on-dark-mut:  #ADA69A;
  --tx-on-light:     #221E17;
  --tx-on-light-mut: #6E675B;

  --line-dark:  rgba(245,241,234,.14);
  --line-light: rgba(34,30,23,.13);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --wrap-narrow: 820px;
  --gutter: clamp(20px, 5vw, 56px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --header-h: 84px;
}

:root { --topbar-h: 42px; }

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--tx-on-light);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* JS pins the body (and restores scrollY on close) — `overflow:hidden` alone
   is not enough to stop iOS rubber-banding the page under the drawer. */
body.nav-open {
  position: fixed;
  left: 0; right: 0;
  width: 100%;
  overflow: hidden;
}

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

/* Icons carry only a viewBox, so without an explicit size they stretch to fill
   their container. This is the floor every icon falls back to. */
.ic { width: 18px; height: 18px; flex: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  font-optical-sizing: auto;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal-lt);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 10vw, 140px); }
.section-sm { padding-block: clamp(52px, 7vw, 92px); }

.dark { background: var(--ink); color: var(--tx-on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--tx-on-dark); }
.ink-2 { background: var(--ink-2); color: var(--tx-on-dark); }
.paper-2 { background: var(--bone-2); }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.center .eyebrow { justify-content: center; }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
  flex: none;
}
.center .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
  flex: none;
}
.dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--teal-lt); }

.h-display { font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.05rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.01em; }
.h4 { font-size: 1.16rem; letter-spacing: -.005em; }

.italic-accent { font-style: italic; color: var(--teal); }
.dark .italic-accent { color: var(--teal-lt); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  color: var(--tx-on-light-mut);
  max-width: 62ch;
}
.dark .lede,
.cta-band .lede { color: var(--tx-on-dark-mut); }

.prose p { max-width: 68ch; }
.prose h3 { margin: 2.2em 0 .6em; }
.prose h3:first-child { margin-top: 0; }

.small { font-size: .85rem; }
.mut { color: var(--tx-on-light-mut); }
.dark .mut { color: var(--tx-on-dark-mut); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: var(--tx-on-dark); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-2px); }

.btn-light { background: var(--bone); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-outline { border-color: var(--line-light); color: var(--tx-on-light); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--tx-on-dark); }

/* every dark surface, not just .dark sections */
.dark .btn-outline,
.hero .btn-outline,
.page-hero .btn-outline,
.cta-band .btn-outline,
.studio-card .btn-outline,
.marquee .btn-outline,
.drawer .btn-outline {
  border-color: rgba(245,241,234,.34);
  color: var(--tx-on-dark);
}
.dark .btn-outline:hover,
.hero .btn-outline:hover,
.page-hero .btn-outline:hover,
.cta-band .btn-outline:hover,
.studio-card .btn-outline:hover,
.marquee .btn-outline:hover,
.drawer .btn-outline:hover {
  background: var(--bone); color: var(--ink); border-color: var(--bone);
}

.btn-sm { padding: 11px 20px; font-size: 11.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow .ic { width: 16px; height: 16px; }
.link-arrow:hover { border-color: currentColor; gap: 13px; }
.dark .link-arrow { color: var(--teal-lt); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Header + mega menu
   -------------------------------------------------------------------------- */

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 400;
  transform: translateY(-160%);
  background: var(--bone);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 13px;
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* --------------------------------------------------------------------------
   Announcement banner -- the very top of every page.
   One line, the whole bar is the link. It slides away with the first scroll
   (as the header goes solid) and the header takes its place; every offset
   below is keyed on body:has(.topbar) so the layout falls back to normal the
   moment the event expires and the bar stops rendering.
   -------------------------------------------------------------------------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 220;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 26px);
  padding-inline: var(--gutter);
  background: var(--teal-deep);
  color: rgba(245,241,234,.88);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .4s var(--ease), background .35s var(--ease);
}
.topbar:hover { background: #04424d; }
.topbar b { font-weight: 600; color: #fff; }
.topbar .topbar-x { color: rgba(245,241,234,.6); }
.topbar-go {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal-lt);
  border-bottom: 1px solid transparent;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.topbar-go .ic { width: 14px; height: 14px; }
.topbar:hover .topbar-go { gap: 11px; border-color: currentColor; }

body:has(.site-header.is-solid) .topbar { transform: translateY(-100%); }
body:has(.topbar) .site-header { top: var(--topbar-h); }
body:has(.topbar) .site-header.is-solid { top: 0; }
body:has(.topbar) .site-header:not(.is-solid) ~ .mega-layer .mega {
  top: calc(var(--header-h) + var(--topbar-h));
  max-height: calc(100vh - var(--header-h) - var(--topbar-h));
}
body:has(.topbar) .site-header:not(.is-solid) ~ .drawer {
  top: calc(var(--header-h) + var(--topbar-h));
}
body:has(.topbar) .page-hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 88px); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              height .4s var(--ease), border-color .4s var(--ease),
              top .4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* transparent over a hero, solid once scrolled or when a panel is open */
.site-header.is-solid,
.site-header.is-open,
body.nav-open .site-header,
body:not(.has-hero) .site-header {
  background: rgba(20,18,14,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom-color: var(--line-dark);
}
.site-header.is-solid { height: 70px; }

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { flex: none; display: block; }
.brand img {
  height: 40px;
  width: auto;
  transition: height .4s var(--ease);
}
.site-header.is-solid .brand img { height: 34px; }

/* primary nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tx-on-dark);
  border-radius: 100px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-link .ic { width: 13px; height: 13px; opacity: .55; transition: transform .35s var(--ease); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-item.is-active .nav-link { background: rgba(255,255,255,.09); color: #fff; }
.nav-item.is-active .nav-link .ic { transform: rotate(180deg); }
.nav-link.is-current { color: var(--teal-lt); }

.header-cta { margin-left: 10px; flex: none; }

/* --- the mega panel --- */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 190;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--tx-on-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .34s var(--ease), transform .34s var(--ease),
              visibility 0s linear .34s, top .4s var(--ease);
  box-shadow: 0 32px 60px -28px rgba(0,0,0,.75);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-header.is-solid ~ .mega-layer .mega { top: 70px; max-height: calc(100vh - 70px); }

.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .34s var(--ease), transform .34s var(--ease), visibility 0s;
}

.mega-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 44px var(--gutter) 48px;
  display: grid;
  gap: 44px;
}
.mega-inner.cols-2 { grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); }
.mega-inner.cols-2-even { grid-template-columns: repeat(2, minmax(0,1fr)); }

.mega-head { margin-bottom: 22px; }
.mega-head .eyebrow { margin-bottom: 10px; }
.mega-head p { color: var(--tx-on-dark-mut); font-size: .93rem; max-width: 46ch; margin: 0; }

/* icon + text grid used for classes / studio links */
.mega-grid { display: grid; gap: 4px; }
.mega-grid.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mega-grid.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
/* an odd tile count would otherwise leave a half-width orphan on the last row */
.mega-grid.g2 > :last-child:nth-child(odd) { grid-column: span 2; }

.mega-tile {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  transition: background .28s var(--ease), transform .28s var(--ease);
  align-items: flex-start;
}
.mega-tile:hover { background: rgba(255,255,255,.055); }

.mega-tile .tile-ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(139,156,126,.14);
  color: var(--sage-2);
  border: 1px solid rgba(139,156,126,.2);
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.mega-tile .tile-ic .ic { width: 19px; height: 19px; }
.mega-tile:hover .tile-ic {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.mega-tile .tile-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}
.mega-tile .tile-tag {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-lt);
  border: 1px solid rgba(66,178,182,.34);
  border-radius: 100px;
  padding: 2px 7px;
  line-height: 1.5;
}
.mega-tile .tile-desc {
  font-size: .845rem;
  line-height: 1.5;
  color: var(--tx-on-dark-mut);
  margin: 4px 0 0;
}

/* feature card inside a panel */
.mega-feature {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  isolation: isolate;
}
.mega-feature img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .9s var(--ease-out);
}
.mega-feature::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(15,13,10,.95) 12%, rgba(15,13,10,.62) 48%,
                                      rgba(15,13,10,.34) 72%, rgba(15,13,10,.18));
}
.mega-feature:hover img { transform: scale(1.045); }
.mega-feature .feat-kicker {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-lt); margin-bottom: 9px;
}
.mega-feature h4 { font-size: 1.5rem; margin-bottom: 8px; }
.mega-feature p { font-size: .87rem; color: rgba(245,241,234,.78); margin-bottom: 16px; }

.mega-side { display: grid; gap: 16px; align-content: start; }

/* studio cards in the mega panel */
.mega-studio {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: 210px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mega-studio img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  transition: transform .9s var(--ease-out);
}
.mega-studio::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(15,13,10,.95) 14%, rgba(15,13,10,.6) 52%,
                                      rgba(15,13,10,.32) 76%, rgba(15,13,10,.16));
}
.mega-studio:hover img { transform: scale(1.05); }
.mega-studio h4 { font-size: 1.45rem; }
.mega-studio .st-addr {
  font-size: .83rem; color: rgba(245,241,234,.74);
  display: flex; align-items: center; gap: 7px; margin-top: 6px;
}
.mega-studio .st-addr .ic { width: 15px; height: 15px; flex: none; color: var(--teal-lt); }
.mega-studio .st-note { font-size: .8rem; color: rgba(245,241,234,.6); margin-top: 8px; }

/* price rows inside the memberships panel */
.mega-price {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 15px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line-dark);
  transition: border-color .28s var(--ease), background .28s var(--ease);
}
.mega-price:hover { background: rgba(255,255,255,.05); border-color: rgba(66,178,182,.4); }
.mega-price .mp-name { font-family: var(--font-display); font-size: 1.02rem; }
.mega-price .mp-sub { font-size: .78rem; color: var(--tx-on-dark-mut); margin-top: 2px; }
.mega-price .mp-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--teal-lt); white-space: nowrap; }
.mega-price .mp-price span { font-family: var(--font-sans); font-size: .68rem; color: var(--tx-on-dark-mut); letter-spacing: .06em; display: block; text-align: right; }

.mega-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  font-size: .84rem;
  color: var(--tx-on-dark-mut);
}
.mega-foot .ic { width: 16px; height: 16px; color: var(--teal-lt); }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s var(--ease); }
.mega-foot a:hover { color: #fff; }
.mega-foot .spacer { margin-left: auto; }

/* scrim behind an open panel */
.mega-scrim {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(10,9,7,.5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .34s var(--ease), visibility 0s linear .34s;
}
.mega-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .34s var(--ease), visibility 0s; }

/* --------------------------------------------------------------------------
   Mobile header controls
   -------------------------------------------------------------------------- */

/* Compact CTA that replaces the full header button on phones */
.header-cta-m {
  display: none;
  margin-left: auto;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: .12em;
}

/* The toggle's tap target is 48px, but it is pulled right by exactly half the
   icon's slack so the glyph itself lands flush on the layout gutter — level
   with the left edge of the logo. */
.nav-toggle {
  --tap: 48px;
  --glyph: 21px;
  display: none;
  width: var(--tap); height: var(--tap);
  margin-left: 4px;
  margin-right: calc((var(--tap) - var(--glyph)) / -2);
  align-items: center;
  justify-content: center;
  color: var(--tx-on-dark);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-box {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .25s var(--ease);
}
.nav-toggle:active .nav-toggle-box { background: rgba(255,255,255,.09); }
.nav-toggle .ic { width: var(--glyph); height: var(--glyph); }
.nav-toggle .ic-close { display: none; }
body.nav-open .nav-toggle .ic-close { display: block; }
body.nav-open .nav-toggle .ic-menu { display: none; }

/* --------------------------------------------------------------------------
   Mobile mega menu — the drawer mirrors the desktop panels rather than
   degrading to a link list: photography, icons, level tags and pricing.
   -------------------------------------------------------------------------- */

/* the drawer starts at --header-h, so the header must not be mid-shrink
   underneath it or a sliver of the page shows through the seam */
body.nav-open .site-header,
body.nav-open .site-header.is-solid { height: var(--header-h); }

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 185;
  background: var(--ink);
  color: var(--tx-on-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.drawer::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 420px;
  background:
    radial-gradient(110% 78% at 82% 0%, rgba(3,152,158,.20), transparent 62%),
    radial-gradient(90% 62% at 4% 4%, rgba(110,127,98,.16), transparent 60%);
  pointer-events: none;
}
body.nav-open .drawer {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}

.drawer-scroll {
  position: relative;
  padding: 18px var(--gutter) calc(56px + env(safe-area-inset-bottom));
}

/* -- entrance stagger ------------------------------------------------------ */
.drawer-scroll > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
body.nav-open .drawer-scroll > * { opacity: 1; transform: none; }
body.nav-open .drawer-scroll > :nth-child(1) { transition-delay: .06s; }
body.nav-open .drawer-scroll > :nth-child(2) { transition-delay: .12s; }
body.nav-open .drawer-scroll > :nth-child(3) { transition-delay: .18s; }

/* -- quick actions --------------------------------------------------------- */
.mm-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 26px;
}
.mm-q {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 16px 17px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.035);
  -webkit-tap-highlight-color: transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.mm-q:active { transform: scale(.98); }
.mm-q-ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(139,156,126,.16);
  color: var(--sage-2);
  margin-bottom: 10px;
}
.mm-q-ic .ic { width: 17px; height: 17px; }
.mm-q-t { font-family: var(--font-display); font-size: 1.06rem; line-height: 1.2; }
.mm-q-s { font-size: .76rem; color: var(--tx-on-dark-mut); line-height: 1.4; }

.mm-q-lead {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.mm-q-lead .mm-q-ic {
  margin-bottom: 0; flex: none;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.18);
  color: #fff;
}
.mm-q-lead .mm-q-tx { display: grid; gap: 1px; min-width: 0; }
.mm-q-lead .mm-q-t { font-size: 1.18rem; }
.mm-q-lead .mm-q-s { color: rgba(255,255,255,.82); }
.mm-q-lead .mm-q-go { margin-left: auto; flex: none; display: grid; place-items: center; }
.mm-q-lead .mm-q-go .ic { width: 20px; height: 20px; }

.mm-q-accent .mm-q-ic { background: rgba(66,178,182,.18); color: var(--teal-lt); }
.mm-q-accent .mm-q-s { color: var(--teal-lt); }

/* -- collapsible sections -------------------------------------------------- */
.mm-secs { display: block; }

.mm-sec { border-top: 1px solid var(--line-dark); }
.mm-sec:last-child { border-bottom: 1px solid var(--line-dark); }
.mm-sec-h { margin: 0; font-family: var(--font-sans); font-weight: 400; }

.mm-sec-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 2px;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.mm-sec-ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(139,156,126,.13);
  border: 1px solid rgba(139,156,126,.2);
  color: var(--sage-2);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.mm-sec-ic .ic { width: 20px; height: 20px; }
.mm-sec.is-open .mm-sec-ic {
  background: var(--teal); border-color: var(--teal); color: #fff;
}
.mm-sec-tx { display: grid; gap: 2px; min-width: 0; }
.mm-sec-t { font-family: var(--font-display); font-size: 1.42rem; line-height: 1.15; }
.mm-sec-s {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx-on-dark-mut);
}
.mm-sec-ch { margin-left: auto; flex: none; display: grid; place-items: center; }
.mm-sec-ch .ic {
  width: 20px; height: 20px; color: var(--teal-lt);
  transition: transform .35s var(--ease);
}
.mm-sec.is-open .mm-sec-ch .ic { transform: rotate(180deg); }

.mm-sec-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease);
}
.mm-sec.is-open .mm-sec-body { grid-template-rows: 1fr; }
.mm-sec-inner { overflow: hidden; }
.mm-sec-inner > * { margin-bottom: 14px; }
.mm-sec-inner > :first-child { margin-top: 2px; }
.mm-sec-inner > :last-child { margin-bottom: 24px; }

/* contents fade up once the row has room */
.mm-sec-inner > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.mm-sec.is-open .mm-sec-inner > * { opacity: 1; transform: none; }
.mm-sec.is-open .mm-sec-inner > :nth-child(1) { transition-delay: .10s; }
.mm-sec.is-open .mm-sec-inner > :nth-child(2) { transition-delay: .16s; }
.mm-sec.is-open .mm-sec-inner > :nth-child(3) { transition-delay: .22s; }
.mm-sec.is-open .mm-sec-inner > :nth-child(n+4) { transition-delay: .28s; }

/* flat row (Timetable) — same furniture, no panel */
.mm-sec-flat .mm-sec-btn { display: flex; }
.mm-sec-flat .mm-sec-ch .ic { color: var(--tx-on-dark-mut); }

/* -- feature card ---------------------------------------------------------- */
.mm-feature {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: 216px;
  -webkit-tap-highlight-color: transparent;
}
/* direct child only — the team thumbnails further down are also <img> */
.mm-feature > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* studio photography is bright and busy; the copy has to win */
.mm-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,9,7,.97) 18%, rgba(11,9,7,.78) 48%,
                            rgba(11,9,7,.5) 72%, rgba(11,9,7,.34));
}
.mm-feat-tx {
  display: flex; flex-direction: column;
  justify-content: flex-end;
  min-height: 216px;
  padding: 20px 20px 22px;
  gap: 6px;
}
.mm-feature.is-tall, .mm-feature.is-tall .mm-feat-tx { min-height: 268px; }
.mm-kicker {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-lt);
}
.mm-feat-h { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.12; }
.mm-feat-p { font-size: .85rem; line-height: 1.5; color: rgba(245,241,234,.78); }
.mm-feature .link-arrow { margin-top: 6px; }

.mm-faces { display: flex; gap: 6px; margin-top: 10px; }
.mm-faces img {
  width: 42px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(245,241,234,.18);
}

/* -- icon + text tiles ----------------------------------------------------- */
.mm-tiles {
  display: grid;
  gap: 2px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.032);
  padding: 4px;
}
.mm-tile {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 10px;
  border-radius: 10px;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  transition: background .22s var(--ease);
}
.mm-tile:active { background: rgba(255,255,255,.07); }
.mm-tile-ic {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(139,156,126,.14);
  border: 1px solid rgba(139,156,126,.18);
  color: var(--sage-2);
}
.mm-tile-ic .ic { width: 18px; height: 18px; }
.mm-tile-tx { display: grid; gap: 2px; min-width: 0; }
.mm-tile-n {
  font-family: var(--font-display);
  font-size: 1rem; line-height: 1.2;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.mm-tag {
  font-family: var(--font-sans);
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-lt);
  border: 1px solid rgba(66,178,182,.32);
  border-radius: 100px;
  padding: 2px 7px;
  line-height: 1.5;
  white-space: nowrap;
}
.mm-tile-d {
  font-size: .79rem; line-height: 1.45;
  color: var(--tx-on-dark-mut);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mm-tile-go { margin-left: auto; flex: none; display: grid; place-items: center; }
.mm-tile-go .ic { width: 17px; height: 17px; color: rgba(245,241,234,.32); }

/* -- studio photo cards ---------------------------------------------------- */
.mm-photos { display: grid; gap: 12px; }
.mm-photo {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.mm-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.mm-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,9,7,.97) 20%, rgba(11,9,7,.8) 52%,
                            rgba(11,9,7,.5) 76%, rgba(11,9,7,.32));
}
.mm-photo-tx {
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 5px;
  min-height: 200px;
  padding: 18px;
}
.mm-photo-h { font-family: var(--font-display); font-size: 1.42rem; line-height: 1.1; }
.mm-photo-a {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: .8rem; color: rgba(245,241,234,.78);
}
.mm-photo-a .ic { width: 15px; height: 15px; flex: none; color: var(--teal-lt); margin-top: 2px; }
.mm-photo-n { font-size: .76rem; color: rgba(245,241,234,.55); }
.mm-photo .link-arrow { margin-top: 8px; }

/* -- price rows ------------------------------------------------------------ */
.mm-prices { display: grid; gap: 8px; }
.mm-price {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.028);
  min-height: 62px;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.mm-price:active { background: rgba(255,255,255,.07); border-color: rgba(66,178,182,.4); }
.mm-price-tx { display: grid; gap: 2px; min-width: 0; }
.mm-price-n { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; }
.mm-price-s { font-size: .75rem; color: var(--tx-on-dark-mut); line-height: 1.4; }
.mm-price-v {
  font-family: var(--font-display); font-size: 1.35rem;
  color: var(--teal-lt); white-space: nowrap; text-align: right; line-height: 1.1;
}
.mm-price-v span {
  display: block;
  font-family: var(--font-sans); font-size: .62rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--tx-on-dark-mut);
}

/* -- small print + section footers ----------------------------------------- */
.mm-lbl {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-lt);
  margin: 20px 0 10px;
}
.mm-note {
  font-size: .78rem; line-height: 1.55;
  color: var(--tx-on-dark-mut);
  padding-left: 13px;
  border-left: 2px solid rgba(66,178,182,.3);
}
.mm-more { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-more .btn { flex: 1 1 auto; justify-content: center; }

/* -- drawer footer --------------------------------------------------------- */
.mm-foot { margin-top: 30px; }
.mm-foot .mm-lbl { margin-top: 0; }
.mm-foot-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-dark);
  -webkit-tap-highlight-color: transparent;
}
.mm-foot-ic {
  flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05);
  color: var(--teal-lt);
}
.mm-foot-ic .ic { width: 18px; height: 18px; }
.mm-foot-k {
  display: block;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tx-on-dark-mut);
}
.mm-foot-v { display: block; font-size: .93rem; margin-top: 2px; }

.mm-social { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.mm-social a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.mm-social .ic { width: 18px; height: 18px; }
.mm-social-note {
  margin-left: auto;
  font-family: var(--font-display); font-style: italic;
  font-size: .95rem; color: var(--tx-on-dark-mut);
}

/* the drawer is phone-only — keep its imagery off the desktop critical path */
@media (min-width: 961px) { .drawer { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .drawer-scroll > *,
  .mm-sec-inner > * { opacity: 1; transform: none; }
  .mm-sec-body { transition: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  color: var(--tx-on-dark);
  isolation: isolate;
  padding-block: 140px 84px;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media picture, .page-hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(14,12,9,.94) 2%, rgba(14,12,9,.55) 42%, rgba(14,12,9,.32) 72%, rgba(14,12,9,.5)),
    linear-gradient(to right, rgba(14,12,9,.6), transparent 62%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 15ch; }
.hero .lede { color: rgba(245,241,234,.82); margin-top: 22px; max-width: 52ch; }
.hero .btn-row { margin-top: 34px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(245,241,234,.22);
  border-radius: 100px;
  padding: 8px 16px 8px 10px;
  font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(245,241,234,.9);
  margin-bottom: 26px;
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-badge b {
  background: var(--teal); color: #fff; font-weight: 500;
  border-radius: 100px; padding: 4px 11px; font-size: 10.5px;
}

/* small stat strip under the hero */
.hero-strip {
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--tx-on-dark);
}
.hero-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.hs-item { padding: 30px 8px 32px; }
.hs-item + .hs-item { border-left: 1px solid var(--line-dark); padding-left: 28px; }
.hs-k { font-family: var(--font-display); font-size: clamp(1.6rem,2.6vw,2.1rem); color: var(--bone); }
.hs-v { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-on-dark-mut); margin-top: 6px; }

/* page hero for interior pages */
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--tx-on-dark);
  padding-block: calc(var(--header-h) + 88px) 88px;
  background: var(--ink);
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14,12,9,.92), rgba(14,12,9,.62) 55%, rgba(14,12,9,.55));
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { color: rgba(245,241,234,.8); margin-top: 18px; }

.crumbs {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(245,241,234,.55); margin-bottom: 20px;
}
.crumbs a:hover { color: var(--teal-lt); }
.crumbs .sep { opacity: .45; }

/* --------------------------------------------------------------------------
   Cards / grids
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split-media img { border-radius: var(--r-lg); width: 100%; }

/* class card */
.class-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  height: 100%;
}
.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -30px rgba(30,25,18,.44);
  border-color: rgba(3,152,158,.4);
}
.class-card .cc-ic {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bone-2);
  color: var(--sage);
  margin-bottom: 20px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.class-card .cc-ic .ic { width: 23px; height: 23px; }
.class-card:hover .cc-ic { background: var(--teal); color: #fff; }
.class-card h3 { margin-bottom: 6px; }
.class-card .cc-pace {
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.class-card p { font-size: .93rem; color: var(--tx-on-light-mut); }
.class-card .cc-foot {
  margin-top: auto; padding-top: 18px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tx-on-light-mut);
  display: flex; align-items: center; gap: 8px;
}
.class-card .cc-foot .ic { width: 15px; height: 15px; color: var(--sage); }

.dark .class-card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .class-card p { color: var(--tx-on-dark-mut); }
.dark .class-card .cc-ic { background: rgba(139,156,126,.14); color: var(--sage-2); }

/* studio card */
.studio-card {
  position: relative; isolation: isolate;
  border-radius: var(--r-xl); overflow: hidden;
  min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px;
  color: var(--tx-on-dark);
}
.studio-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.studio-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14,12,9,.94) 6%, rgba(14,12,9,.35) 58%, rgba(14,12,9,.15));
}
.studio-card:hover img { transform: scale(1.05); }
.studio-card h3 { font-size: clamp(1.8rem,3vw,2.3rem); }
.studio-card .sc-addr { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; color: rgba(245,241,234,.8); font-size: .95rem; }
.studio-card .sc-addr .ic { width: 18px; height: 18px; color: var(--teal-lt); flex: none; margin-top: 3px; }
.studio-card .sc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* pricing */
.price-card {
  display: flex; flex-direction: column;
  padding: 34px 30px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: #fff;
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 28px 54px -32px rgba(30,25,18,.4); }
.price-card.is-featured {
  background: var(--ink); color: var(--tx-on-dark); border-color: var(--ink);
}
.price-card .pc-name { font-family: var(--font-display); font-size: 1.55rem; }
.price-card .pc-sub { font-size: .88rem; color: var(--tx-on-light-mut); margin-top: 5px; }
.price-card.is-featured .pc-sub { color: var(--tx-on-dark-mut); }
.price-card .pc-price {
  font-family: var(--font-display); font-size: 3.1rem; line-height: 1;
  margin: 24px 0 4px; letter-spacing: -.03em;
}
.price-card .pc-unit { font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--tx-on-light-mut); }
.price-card.is-featured .pc-unit { color: var(--teal-lt); }
.price-card ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; }
.price-card li .ic { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: 4px; }
.price-card.is-featured li .ic { color: var(--sage-2); }
.price-card .pc-cta { margin-top: 28px; }
.price-card .pc-cta .btn { width: 100%; justify-content: center; }
.pc-badge {
  align-self: flex-start;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--teal); color: #fff;
  border-radius: 100px; padding: 5px 12px; margin-bottom: 16px;
}

/* tick list used beside the trial pitch */
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.check-list li .ic { width: 18px; height: 18px; color: var(--sage); margin-top: 4px; }
.dark .check-list li .ic { color: var(--sage-2); }

/* team */
.team-card { display: block; }
.team-photo {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4/5; background: var(--bone-2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h3 { margin-top: 18px; font-size: 1.35rem; }
.team-card .tc-role {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-top: 6px;
}
.team-card .tc-bio { margin-top: 14px; font-size: .93rem; color: var(--tx-on-light-mut); }
.dark .team-card .tc-bio { color: var(--tx-on-dark-mut); }

/* events -- the split layout the classes page uses, plus a date plate */
.ev-shot { position: relative; }
.ev-shot img { border-radius: var(--r-lg); width: 100%; }

/* dated events get a plate on the photo, in the studio-card idiom */
.ev-shot.has-stamp::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 62%;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: linear-gradient(to top, rgba(14,12,9,.94) 4%, rgba(14,12,9,.6) 42%, rgba(14,12,9,0));
  pointer-events: none;
}
.ev-stamp {
  position: absolute; left: 30px; bottom: 28px; z-index: 1;
  display: grid; justify-items: start; gap: 2px;
  color: var(--tx-on-dark);
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.ev-stamp b {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: .92; letter-spacing: -.04em;
}
.ev-stamp-d, .ev-stamp-m {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.ev-stamp-d { color: var(--teal-lt); }
.ev-stamp-m { color: rgba(245,241,234,.82); }

/* the thin meta line under an event heading -- same voice as .cc-pace */
.ev-meta {
  margin-top: 14px;
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal);
}
.dark .ev-meta { color: var(--teal-lt); }

/* the "still to be confirmed" line -- quiet, but not hidden */
.ev-note {
  margin-top: 22px; padding-left: 16px;
  border-left: 2px solid var(--sage-soft);
  font-size: .88rem; line-height: 1.6;
  color: var(--tx-on-light-mut);
  max-width: 52ch;
}
.dark .ev-note { border-left-color: rgba(139,156,126,.45); color: var(--tx-on-dark-mut); }

/* events -- the headline event as a full-bleed photo band */
.event-band {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--tx-on-dark); background: var(--ink);
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(84px, 10vw, 140px);
}
.event-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.event-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(14,12,9,.96) 32%, rgba(14,12,9,.58));
}
.event-band .eyebrow, .event-band .italic-accent, .event-band .ev-meta { color: var(--teal-lt); }
.event-band .lede { color: var(--tx-on-dark-mut); }
.event-band .check-list li .ic { color: var(--sage-2); }
.event-band .ev-note { border-left-color: rgba(139,156,126,.45); color: var(--tx-on-dark-mut); }
.event-band .btn-outline { border-color: rgba(245,241,234,.34); color: var(--tx-on-dark); }
.event-band .btn-outline:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.eb-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

/* tear-off calendar plate */
.eb-date { justify-self: end; width: min(300px, 100%); text-align: center; color: var(--bone); }
.eb-date span {
  display: block; padding: 15px 0;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--teal-lt);
}
.eb-date span:first-child { border-bottom: 1px solid rgba(245,241,234,.22); }
.eb-date span:last-child { border-top: 1px solid rgba(245,241,234,.22); color: rgba(245,241,234,.75); }
.eb-date b {
  display: block; padding: 4px 0 10px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(7.5rem, 10.5vw, 11rem); line-height: 1; letter-spacing: -.04em;
}

/* amenity */
.amenity {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: start;
}
.dark .amenity { border-color: var(--line-dark); }
.amenity:last-child { border-bottom: 0; }
.amenity .am-ic {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--bone-2); color: var(--sage);
}
.dark .amenity .am-ic { background: rgba(139,156,126,.14); color: var(--sage-2); }
.amenity .am-ic .ic { width: 25px; height: 25px; }
.amenity h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.amenity .am-where {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(3,152,158,.35); border-radius: 100px; padding: 3px 9px;
}
.amenity p { margin-top: 10px; color: var(--tx-on-light-mut); font-size: .95rem; }
.dark .amenity p { color: var(--tx-on-dark-mut); }

/* faq accordion */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h3 { margin-bottom: 6px; }
.faq {
  border-bottom: 1px solid var(--line-light);
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display); font-size: 1.16rem; line-height: 1.35;
}
.faq-q .ic { width: 19px; height: 19px; flex: none; color: var(--teal); transition: transform .34s var(--ease); }
.faq.is-open .faq-q .ic { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.faq.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 26px; color: var(--tx-on-light-mut); max-width: 72ch; }

/* testimonial video rail */
.vid-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.vid-rail::-webkit-scrollbar { height: 6px; }
.vid-rail::-webkit-scrollbar-thumb { background: rgba(245,241,234,.2); border-radius: 10px; }
.vid-card {
  position: relative; scroll-snap-align: start;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 9/16; background: var(--ink-2);
  isolation: isolate; cursor: pointer;
  border: 1px solid var(--line-dark);
}
.vid-card video, .vid-card img { width: 100%; height: 100%; object-fit: cover; }
.vid-card .vid-play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgba(14,12,9,.6), rgba(14,12,9,.05) 55%);
  transition: opacity .3s var(--ease);
}
.vid-card .vid-play span {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.vid-card .vid-play .ic { width: 24px; height: 24px; }
.vid-card:hover .vid-play span { transform: scale(1.08); background: #fff; }
.vid-card.is-playing .vid-play { opacity: 0; pointer-events: none; }

/* pull quote */
.quote { max-width: 26ch; }
.quote-mark {
  font-family: var(--font-display); font-size: 5rem; line-height: .6;
  color: var(--teal); display: block; margin-bottom: 18px;
}
.quote-text { font-family: var(--font-display); font-size: clamp(1.4rem,2.3vw,1.85rem); line-height: 1.35; max-width: 24ch; }
.quote-name { font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--tx-on-dark-mut); margin-top: 22px; }

/* marquee strip */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-dark);
  background: var(--ink-2); color: var(--tx-on-dark);
  padding-block: 20px;
}
.marquee-track {
  display: flex; gap: 52px; width: max-content;
  animation: slide 42s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: 1.35rem;
  display: flex; align-items: center; gap: 52px; white-space: nowrap;
  color: rgba(245,241,234,.55);
}
.marquee-track span::after { content: "◦"; color: var(--teal); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); transition: transform .7s var(--ease-out), filter .5s var(--ease); filter: grayscale(.2); }
.mosaic a:hover img { transform: scale(1.04); filter: grayscale(0); }

/* booking widget shell */
.booking-shell {
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: #fff;
  padding: clamp(14px, 2.4vw, 26px);
  min-height: 420px;
}
.booking-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.booking-tab {
  padding: 12px 22px; border-radius: 100px;
  border: 1px solid var(--line-light);
  font-size: 12px; letter-spacing: .11em; text-transform: uppercase; font-weight: 500;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.booking-tab.is-active { background: var(--ink); color: var(--tx-on-dark); border-color: var(--ink); }
.booking-pane { display: none; }
.booking-pane.is-active { display: block; }

/* contact form */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-on-light-mut); }
.field input, .field textarea {
  font: inherit; font-size: .97rem;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--tx-on-light);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3,152,158,.14);
}
.form-note { font-size: .84rem; color: var(--tx-on-light-mut); margin-top: 16px; }

.contact-line {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line-light);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line .cl-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--bone-2); color: var(--sage);
}
.contact-line .cl-ic .ic { width: 19px; height: 19px; }
.contact-line .cl-k { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-on-light-mut); }
.contact-line .cl-v { font-size: 1.02rem; margin-top: 2px; }

/* cta band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--tx-on-dark); background: var(--ink);
  padding-block: clamp(80px, 10vw, 132px);
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(14,12,9,.95), rgba(14,12,9,.72));
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--tx-on-dark); padding-block: 78px 0; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr));
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 46px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: .92rem; color: var(--tx-on-dark-mut); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-sans); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-lt); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .93rem; color: var(--tx-on-dark-mut); transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--bone); }
.footer-studio { font-size: .9rem; color: var(--tx-on-dark-mut); }
.footer-studio strong { display: block; color: var(--bone); font-weight: 500; margin-bottom: 4px; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-studio + .footer-studio { margin-top: 20px; }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.footer-social .ic { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.acknowledge {
  padding-block: 34px;
  border-bottom: 1px solid var(--line-dark);
  font-size: .86rem; color: var(--tx-on-dark-mut);
  max-width: 78ch; line-height: 1.7;
}

.footer-bottom {
  padding-block: 26px 34px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
  font-size: .8rem; color: rgba(173,166,154,.75);
}
.footer-bottom .spacer { margin-left: auto; }
.footer-bottom a:hover { color: var(--bone); }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .mega-inner.cols-2 { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 38px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  :root { --topbar-h: 38px; }
  .topbar { font-size: 10.5px; }
  .eb-grid { grid-template-columns: 1fr; }
  .eb-date { display: none; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-cta-m { display: inline-flex; }
  .mega-layer, .mega, .mega-scrim { display: none; }
  .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .hs-item + .hs-item { border-left: 0; padding-left: 8px; }
  .hs-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .mosaic a:nth-child(n+4) { display: none; }
  .header-inner { gap: 12px; }
  .site-header.is-solid { height: 64px; }
  /* the shrink-on-scroll dance is jitter on a phone — keep the logo steady */
  .brand img, .site-header.is-solid .brand img { height: 36px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar .topbar-x { display: none; }
  .ev-stamp { left: 22px; bottom: 22px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .studio-card { min-height: 400px; padding: 26px; }
  .amenity { grid-template-columns: 1fr; gap: 16px; }
  .vid-rail { grid-auto-columns: 74%; }
  .footer-bottom .spacer { margin-left: 0; width: 100%; }

  /* dvh keeps the hero honest while mobile browser chrome slides in and out */
  .hero { min-height: 86vh; min-height: 86dvh; padding-block: 120px 56px; }
  .page-hero { padding-block: calc(var(--header-h) + 60px) 60px; }
  body:has(.topbar) .page-hero { padding-top: calc(var(--header-h) + var(--topbar-h) + 60px); }
  .page-hero h1, .hero h1 { max-width: none; }

  /* buttons share the row evenly instead of staggering at ragged widths;
     a pair that cannot fit wraps and each takes the full width */
  .btn-row > .btn { flex: 1 1 auto; justify-content: center; }

  /* iOS zooms any focused field under 16px */
  .field input, .field textarea { font-size: 16px; }
  .field textarea { min-height: 128px; }

  /* the Momence widget is a third-party embed — box it in so it cannot
     push the page sideways */
  .booking-shell { padding: 10px; min-height: 340px; overflow-x: auto; }
  .booking-shell > * { max-width: 100%; }
  .booking-tab { padding: 11px 18px; }

  .section { padding-block: clamp(60px, 9vw, 140px); }
  .quote, .quote-text { max-width: none; }
  .acknowledge { padding-block: 26px; }
  .footer-social a, .contact-line .cl-ic { min-width: 44px; min-height: 44px; }
}

@media (max-width: 480px) {
  .topbar { letter-spacing: .09em; gap: 12px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic a:nth-child(n+3) { display: none; }
  .btn { padding: 14px 22px; }
  .btn-sm { padding: 11px 17px; }
  .header-cta-m { padding: 10px 15px; letter-spacing: .1em; }
  .hero-badge { font-size: 10.5px; padding: 7px 13px 7px 8px; }
  .hero-badge b { padding: 4px 9px; font-size: 10px; }
  .studio-card { min-height: 360px; padding: 22px; }
  .studio-card .sc-links { gap: 8px; }
  .studio-card .sc-links .btn { flex: 1 1 auto; justify-content: center; }
  .hs-item { padding: 24px 6px 26px; }
  .vid-rail { grid-auto-columns: 80%; }
  .mm-quick { gap: 8px; }
  .mm-q { padding: 14px 13px 15px; }
  .mm-q-t { font-size: 1rem; }
}

/* very narrow phones — the header must never let the toggle wrap */
@media (max-width: 360px) {
  .header-cta-m { display: none; }
  .nav-toggle { margin-left: auto; }
  .mm-tile-d { -webkit-line-clamp: 1; }
}
