@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap;
  src: url('/fonts/cormorantgaramond-300i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/cormorantgaramond-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/cormorantgaramond-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/jost-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/jost-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/jost-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* The 300 and 400 Cormorant files are byte-identical, and so were jost
   300/400/500: one variable subset declared three times over. A family is
   capped at the heaviest face DECLARED, so asking for 600 silently handed
   back 400 and no rule could make a heading bolder. These are separate,
   genuinely heavier files. */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/cormorantgaramond-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/cormorantgaramond-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap;
  src: url('/fonts/cormorantgaramond-500i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/jost-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------------------
   Metric-matched fallback for the display serif.

   The headings paint in Georgia, then swap to Cormorant Garamond. Cormorant is
   measurably narrower: the same string is 2277px against Georgia's 2593px at
   100px, i.e. 87.83%. On a phone that re-wrapped "The room that fills up." from
   two lines to one the moment the webfont arrived, the h1 lost 46px of height,
   and everything beneath it jumped up. 0.138 CLS, from a single heading.

   size-adjust shrinks the fallback's advance widths to Cormorant's, so the line
   count is the same before and after the swap and there is nothing to reflow.
   The line box itself is unaffected because every heading sets line-height
   explicitly. Measured, not guessed; re-measure if the display face changes.
   --------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  size-adjust: 87.83%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* Total Therapy Lab. Her own palette is the cream and a pretty dark black,
   which is what her Instagram and Facebook avatar is: #ede3e2 on #000000.
   her hand-drawn script mark, and two visual registers: a sunlit treatment side
   and the neon Pilates room. Nothing here is shared with another client's site. */

:root {
  /* Her brand is black and cream, not white and cream. The page is dark by
     default and the cream is the accent, which is the inverse of how this was
     built. Token NAMES are unchanged so every existing rule keeps working;
     what they point at is what flipped.
     --paper used to be near-white and is now the lifted dark used for
     alternating sections, and --mute/--line swapped which surface they are for. */
  /* Not a brand colour any more, only the tone behind an empty frame so an
     unloaded photograph is not a white hole. Her palette is the cream and
     the black; nothing on this site should read brown. */
  --sand: #ded7cf;
  --sand-deep: #ded7cf;
  --cream: #f7f2ec;
  --ink: #221E1B;           /* the near-black, for type ON cream */
  --deep: #141110;          /* the page */
  --paper: #1C1816;         /* alternating sections, a lift off the page */
  --mute: rgba(247, 242, 236, .76);     /* muted type on the dark page: 9.4:1 */
  --mute-dark: rgba(34, 30, 27, .74);   /* muted type on cream/sand: 7.1:1 */
  --line: rgba(247, 242, 236, .17);
  --line-dark: rgba(34, 30, 27, .17);
  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
  /* .6rem padding + a 3rem button + .6rem padding. The footer reserves
     this same value, so the two can never disagree. */
  --bookbar-h: 4.2rem;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E");
  --max: 1240px;
  --header-h: 80px;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--deep); color: var(--cream);
  font-family: var(--sans); font-weight: 400; font-size: 1.06rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* Focus ring, two-tone.
   The old one was a single cream outline held 3px off the element. On a
   cream button against the dark page that produced cream, a dark gap, then
   cream again, and the gap read as a thin line drawn around the button
   rather than as a focus ring. It is most obvious on the 404, where the
   button is the only thing on screen.
   Two rings instead: dark hugging the element, cream outside it. One of the
   two always contrasts, whichever colour sits behind, and it reads as a ring
   rather than a seam. The transparent outline stays so Windows
   forced-colors mode still draws something. */
:focus-visible {
  outline: 2px solid transparent; outline-offset: 3px; border-radius: 2px;
  /* Cream FIRST, dark outside it. The other way round puts a dark ring
     against the cream button, which is the line Josh kept seeing on the
     404. This way the cream ring simply extends the button, which reads as
     the button growing, and the dark ring behind it only shows on the pale
     sections where it is the half that contrasts. Still a visible indicator
     on both backgrounds, no seam on either. */
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--deep);
}
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.0; letter-spacing: -.022em; }
h1 { font-size: clamp(3.3rem, 8.4vw, 6.4rem); }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 700; line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: rgba(247,242,236,.72); }
.eyebrow {
  display: inline-block; font-size: clamp(.82rem, .52vw + .68rem, .92rem); font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mute);
}
.section--dark .eyebrow { color: var(--mute); }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.18rem); color: var(--mute); max-width: 44ch; margin-top: 1.15rem; }
.section--dark .lede { color: var(--mute-dark); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.3rem; padding: 0 1.9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform .4s var(--ease); }
.btn--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--sand { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  /* No transform here. The header used to slide out of view on the way down
     and back on the way up; it now stays put and only the background fades
     in, so there is nothing left to move. */
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-solid { background: rgba(247, 242, 236, .93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 40px; width: auto; }
.brand b { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.1rem; }
/* The hit area was 30px tall. The type stays where it is; the padding grows
   to a comfortable 44px target, and the hover rule is lifted back up to the
   text so it still reads as an underline rather than a floating line. */
.nav a:not(.btn) { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; position: relative; padding-block: .78rem; padding-inline: .55rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .62rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; }
.menu-btn i { display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: background .3s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  display: flex; flex-direction: column; gap: .4rem;
  /* `center` on a column taller than its box pushes the first item out of the
     TOP, where it cannot be scrolled back: on an SE the first link sat 15px
     above the viewport and the last button 59px below it, unreachable. `safe
     center` centres only while it fits and falls back to the top otherwise,
     and the overflow makes whatever is left reachable either way. */
  justify-content: flex-start;
  justify-content: safe center;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: calc(var(--header-h) + 1rem) var(--pad) calc(2.5rem + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}

.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-weight: 600; font-size: clamp(1.55rem, min(11vw, 5.2vh), 3.6rem); line-height: 1.1; padding: .5rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .mobile-menu a:not(.btn) { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .00s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .10s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .20s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(7) { transition-delay: .30s; }
/* Anything beyond the seven we ship arrives with the last one rather than
   with the first, which is what an unset delay would have done. */
.menu-open .mobile-menu a:nth-child(n+8) { transition-delay: .30s; }
.mobile-menu .btn { margin-top: 1.8rem; align-self: flex-start;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .mobile-menu .btn { opacity: 1; transform: none; }
/* Shorter phones also want the furniture tighter, not just the type. */
@media (max-height: 740px) {
  .mobile-menu a:not(.btn) { padding: .26rem 0; }
  .mobile-menu .btn { margin-top: .9rem; min-height: 2.9rem; }
  .mobile-menu { gap: .2rem; }
}
.menu-open { overflow: hidden; }
.menu-leaving .mobile-menu a:not(.btn) { opacity: .3; }
.menu-leaving .mobile-menu a.is-going { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 2.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { max-width: 34rem; }
.hero h1 { margin: 1.4rem 0 0; }
.hero .lede { margin-top: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__note { margin-top: 1.5rem; font-size: .85rem; color: var(--mute); }
.hero__note a { border-bottom: 1px solid var(--line); }
.media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sand); aspect-ratio: 5 / 7; isolation: isolate;
}
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); border-radius: inherit; }
.hero__media { box-shadow: 0 40px 90px -50px rgba(42, 37, 33, .6); aspect-ratio: auto; height: min(74vh, 700px); }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--deep); color: var(--cream); }
/* Where two sections of the same tone meet there is no colour change to do
   the work, so both lots of padding land on top of each other: 254px of
   empty cream, which reads as a gap in the page rather than a boundary
   between two blocks. The second one gives up most of its top padding. */
.section--paper + .section--paper,
.section--paper + .section--dark,
.section--dark + .section--paper { padding-top: clamp(1.4rem, 3vw, 2.6rem); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
/* The rule named h2 only. On /pilates and /privacy the page title is an h1 in
   this same block, so it got no top margin at all and the eyebrow sat flush on
   top of it, while every h2 on the site had a rem of air. */
.section__head h1, .section__head h2 { margin-top: 1rem; }
.section__head .lede { margin-top: 1.2rem; }

/* two doors: massage and pilates, each to its own booking system */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.2rem); }
.door { position: relative; display: flex; flex-direction: column; }
.door__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.door__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door__body { padding: 1.6rem .4rem 0; }
.door h3 { margin-bottom: .6rem; }
.door p { color: var(--mute); font-size: .97rem; }
.door .btn { margin-top: 1.4rem; }

/* The three things people ring up to ask before they book. A strip under the
   hero rather than an FAQ entry, because a folded question is one nobody
   opens. Three columns on a desk, stacked on a phone. */
/* A CREAM surface, like .section--paper. --paper is re-pointed to var(--cream)
   further down the file, so anything painted with it needs the dark-on-light
   tokens: --ink, --mute-dark, --line-dark. Written with --mute/--cream first,
   which put cream type on a cream band at a contrast ratio of 1.00, three
   invisible lines that looked perfectly fine in the markup. contrast.cjs is
   what found it. Those three tokens are dark in BOTH :root blocks, so this
   rule is correct whichever one wins. */
/* The third thing to buy, under the two hero buttons. A text link, not a
   third button: the hero carries two decisions and a gift card is not one of
   them, it is a thing you arrive already wanting. It sits over the film, so
   the underline comes from currentColor rather than a line token. */
.hero__gift { margin-top: .95rem; text-align: center;
  font-size: clamp(.86rem, .3vw + .79rem, .95rem); }
.hero__gift a { display: inline-flex; align-items: center; gap: .4rem; color: var(--cream);
  border-bottom: 1px solid color-mix(in srgb, currentColor 42%, transparent); padding-bottom: 2px; }
.hero__gift a:hover { border-bottom-color: currentColor; }
.hero__gift svg { width: .85rem; height: .85rem; }

/* Left on a desktop, centred on a phone, and the reason is an alignment line
   that already exists. At 1440 the eyebrow, the headline, the lede and "Book
   a massage" all start at 158px, so left puts the gift link on that same
   edge and it reads as the last item in the stack. Centred sat at 312px and
   right at 467px, neither of which lines up with anything else in the hero.
   On a phone the buttons stretch full width, so the centre IS the axis and
   centred is correct there. fit-content stays because it is what makes the
   phone centring land on the buttons rather than on the column. */
@media (min-width: 861px) {
  .hero__actions { width: fit-content; }
  .hero__gift { text-align: left; }
}

.claims { border-block: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); }
/* Two claims, two columns, at every width. They stay side by side on a phone
   rather than stacking, which is why the copy is kept to a short bold line
   and one clause: each column is about 160px at 390px wide. */
.claims ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem clamp(1.1rem, 4vw, 3.4rem);
  max-width: 54rem; margin-inline: auto;
  padding-block: clamp(1.25rem, 2.4vw, 1.9rem); list-style: none; }
.claims li { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: start;
  font-size: clamp(.78rem, .5vw + .66rem, .95rem); color: var(--mute-dark); text-wrap: pretty; }
.claims svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .1rem; opacity: .75; }
.claims b { display: block; color: var(--ink); font-weight: 500; margin-bottom: .1rem; }
/* On a phone both claims centre under their tick, so the two columns read as
   a matched pair rather than two left-hung paragraphs. The tick moves above
   the text because at ~160px a column cannot spare 24px to the side of it. */
@media (max-width: 640px) {
  .claims li { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: .3rem; }
  .claims svg { display: block; margin-top: 0; }
}

/* price list */
.rates { border-top: 1px solid var(--line); }
.rate { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.rate__name { font-size: 1.05rem; }
.rate__sub { display: block; font-size: .88rem; color: var(--mute); margin-top: .25rem; }
.rate__price { font-family: var(--serif); font-weight: 600; font-size: 1.58rem; white-space: nowrap; }
.rate__price small { font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-left: .4rem; }
.rates__note { margin-top: 1.5rem; font-size: clamp(.95rem, .4vw + .85rem, 1.02rem); color: var(--mute); }
/* Splits a long class list into "On the reformer" and "On the mat". A class
   rather than a heading level, so changing h3 to h4 here cannot silently
   kill the styling the way .fact h4 nearly did. */
.rates__group { font-size: clamp(.86rem, .55vw + .71rem, .97rem); font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mute); margin: 2.6rem 0 .9rem; }
.rates__group:first-of-type { margin-top: 1.8rem; }

/* A row that books something IS the link. Putting a row of loose buttons under
   a list of rows made the visitor match one to the other; now each row goes
   where its own name says. The arrow is a grid cell of its own so it lines up
   down the column whether the row carries a price or a label. */
a.rate {
  color: inherit; text-decoration: none;
  padding-inline: .4rem; margin-inline: -.4rem; border-radius: var(--r);
  transition: background .35s var(--ease);
}
/* The arrow lives INSIDE the price or label rather than in a column of its
   own, so it sits on their baseline automatically instead of being nudged
   there with a number that only holds at one font size. */
a.rate .rate__price::after, a.rate .rate__go::after {
  content: ""; display: inline-block; vertical-align: baseline;
  width: .8rem; height: .8rem; margin-left: .7rem; background: currentColor; opacity: .5;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  -webkit-mask: var(--arrow) center / contain no-repeat;
          mask: var(--arrow) center / contain no-repeat;
}
.rate__go { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
@media (hover: hover) and (pointer: fine) {
  a.rate:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
  a.rate:hover .rate__price::after, a.rate:hover .rate__go::after { transform: translateX(.3rem); opacity: .95; }
}
a.rate:focus-visible { background: color-mix(in srgb, currentColor 9%, transparent); }

/* Same again for the intro offers: the card is the claim. */
a.offer { text-decoration: none; display: block; transition: transform .35s var(--ease), border-color .35s var(--ease); }
.offer__go {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.offer__go::after {
  content: ""; width: .85rem; height: .85rem; background: currentColor;
  transition: transform .35s var(--ease);
  -webkit-mask: var(--arrow) center / contain no-repeat;
          mask: var(--arrow) center / contain no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  a.offer:hover { transform: translateY(-3px); border-color: currentColor; }
  a.offer:hover .offer__go::after { transform: translateX(.3rem); }
}

/* credentials */

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 2.4rem; color: rgba(247,242,236,.72); display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--mute); font-size: .95rem; }
.section--dark .step p { color: var(--mute-dark); }

/* the space: a loose gallery, arches and rectangles mixed */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.gallery figure { overflow: hidden; background: var(--sand); border-radius: 14px; }
.gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-row: span 2; border-radius: var(--r-lg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1.2s var(--ease); }
.gallery figure:nth-child(1) img, .gallery figure:nth-child(6) img { aspect-ratio: 1 / 2.06; }

/* facts / location */
/* The FAQ inside the collapsible. Plain and tight: it is reference text
   people scan, and the schema in the head is doing the heavy lifting. */
.faq { margin-top: 1.4rem; max-width: 60ch; }
.faq h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; line-height: 1.4; margin-top: 1.6rem; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin-top: .4rem; }

/* ---------- the map ----------
   A plain Google embed, no API key: the ?q=&output=embed form needs none,
   so there is no key to leak or expire. The radius sits on the FIGURE with
   overflow hidden, because an iframe ignores a radius set on itself in
   Safari and the corners come back square. Wide on a desktop, closer to
   square on a phone, where a wide strip shows the road and not the building.
   --------------------------------------------------------------------- */
.mapwrap { margin: clamp(2rem,4vw,3rem) 0 0; border-radius: var(--r); overflow: hidden;
  background: var(--sand); aspect-ratio: 16 / 7; border: 1px solid var(--line); }
.mapwrap iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .mapwrap { aspect-ratio: 4 / 3; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 3rem; }
.fact :is(h3,h4) { font-size: clamp(.86rem, .55vw + .71rem, .97rem); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); margin-bottom: .5rem; }
.section--dark .fact :is(h3,h4) { color: var(--mute); }
.fact p, .fact a { font-size: 1.02rem; }
.fact a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* footer */
.footer { background: var(--deep); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
/* The booking bar is fixed to the bottom, so at the end of the page it sat
   on top of the last line of the footer. The footer reserves the bar's own
   height plus the safe area, and only where the bar actually exists. */
@media (max-width: 860px) {
  .footer { padding-bottom: calc(3rem + var(--bookbar-h) + env(safe-area-inset-bottom)); }
}
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer img { height: 54px; width: auto; }
.footer :is(h3,h4) { font-size: clamp(.86rem, .5vw + .72rem, .95rem); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.footer li { list-style: none; margin-bottom: .6rem; font-size: .95rem; color: var(--mute-dark); }
.footer li a:hover { color: var(--cream); }
.footer__bar { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--mute-dark); }
.footer__bar a { border-bottom: 1px solid var(--line-dark); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  /* the film leads on a phone: it sits straight under the header, then the words */
  .hero__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero__copy { order: 2; }
  .hero__media { order: 1; max-width: 32rem; margin-inline: auto; height: min(64vh, 560px); }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-row: span 1; border-radius: 14px; }
  .gallery figure:nth-child(1) img, .gallery figure:nth-child(6) img { aspect-ratio: 1; }
}
@media (max-width: 640px) {
  .doors { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .rate { grid-template-columns: 1fr; gap: .3rem; }
  .rate__price { font-size: 1.3rem; }
  /* A price under the name reads fine. A short action label under the name
     reads as a third line of description, so those rows keep the action on
     the right where the thumb expects it. */
  .rate:has(.rate__go) { grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center; }
}


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

/* ---------- line breaks ----------
   Applied across every client site. The recurring flaw in our builds was a
   heading stranding its last word on a line of its own: "Strength has no age /
   limit." The browser fills each line to the edge by default and dumps the
   remainder onto the last one, which at some widths is a single word.
   balance evens the line lengths on short display text; pretty forbids a
   one-word last line in running prose. Both degrade silently on older engines,
   which wrap exactly as they do today, so there is nothing to fall back to. */
h1,h2,h3,h4,blockquote,figcaption,legend,.caps,.eyebrow,.h1,.h2,.h3 {
  text-wrap: balance;
}
p,li,dd,.lede,summary {
  text-wrap: pretty;
}

/* ============================================================================
   ONE STUDIO, TWO ROOMS
   The central UX problem is that massage and Pilates run on two unrelated
   booking systems. The visitor must never have to know that. Everything below
   exists to make one studio with two paths feel deliberate rather than
   stitched together, and to make leaving for Noterro or Mindbody feel like a
   continuation rather than a dead end.
   ========================================================================= */

/* ---- the path pair: the two rooms, stated once, high up ---- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.9rem, 2vw, 1.4rem); margin-top: 2.2rem; }
.path {
  position: relative; display: flex; flex-direction: column; gap: .35rem;
  padding: 1.15rem 1.3rem; border: 1px solid var(--line); border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  transition: border-color .4s var(--ease), transform .3s var(--ease), background .4s var(--ease);
}
.path__k { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.path__n { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.1; }
.path__m { font-size: .84rem; color: var(--mute); }
.path::after {
  content: ""; position: absolute; right: 1.1rem; top: 1.15rem; width: .9rem; height: .9rem;
  background: currentColor; opacity: .45;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E");
          mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E");
  transition: transform .4s var(--ease);
}
@media (max-width: 420px) { .paths { grid-template-columns: 1fr; } }

/* ---- the handoff: say where the button goes BEFORE it is pressed ---- */
.handoff {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-top: 1.1rem; font-size: .82rem; line-height: 1.5; color: var(--mute);
}
.handoff svg { width: 1rem; height: 1rem; flex: none; margin-top: .18rem; opacity: .7; }
.section--dark .handoff { color: var(--mute-dark); }

/* ---- intro offers: the first real reason to try Pilates ---- */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); margin-top: 2rem; }
.offer { position: relative; padding: 1.7rem 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
/* The right of the card beside the price is empty, which is where the thing
   you are buying belongs: a rolled mat for the mat promo, a reformer in side
   elevation for the reformer week. Outlines at the same stroke weight as the
   arrows, so they read as part of the set. */
.offer__icon {
  /* Centred in the empty half of the card rather than pinned to its right
     edge: the text column is capped, so the icon takes the middle of what is
     left instead of hugging the border. */
  /* Inset by the card's own padding rather than flush to its edge. The home
     card is 257px wide against 550px on /pilates, so a box pinned to right:0
     left 8px of air on one page and 49px on the other. */
  position: absolute; right: 1.5rem; top: 50%; width: 40%;
  display: grid; place-items: center; transform: translateY(-50%);
  background: none; opacity: .4; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
/* Her own line art, shipped as coverage rather than as a picture: the white
   page became transparent and the ink became alpha, so currentColor paints it
   and one file is correct on the black card and the cream one. */
.offer__icon::before {
  content: ""; display: block; background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.offer__icon--mat::before {
  width: min(84%, 8.4rem); aspect-ratio: 320 / 323;
  -webkit-mask-image: url('/img/mat-mask.png'); mask-image: url('/img/mat-mask.png');
}
.offer__icon--ref::before {
  width: min(94%, 11rem); aspect-ratio: 320 / 184;
  -webkit-mask-image: url('/img/reformer-mask.png'); mask-image: url('/img/reformer-mask.png');
}
.offer__p, .offer__k, .offer__n, .offer__s, .offer__go { position: relative; }
.offer__k, .offer__n, .offer__s { max-width: 58%; }
@media (hover: hover) and (pointer: fine) {
  a.offer:hover .offer__icon { opacity: .58; transform: translateY(-50%) scale(1.04); }
}
/* "Mat promo . new clients" wraps to two lines and "Reformer intro" does not,
   so side by side the two prices sat at different heights. Both overlines
   reserve two lines, which costs nothing and keeps the prices on one line. */
.offer__k { min-height: 2lh; }
.offer__k { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.offer__p { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 3.4rem); line-height: 1; margin: .5rem 0 .3rem; }
.offer__n { font-size: .95rem; }
.offer__s { font-size: .86rem; color: var(--mute); margin-top: .4rem; }

/* ---- the team: must scale from 2 named people to 11 without a redesign ---- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: clamp(1.1rem, 2.6vw, 1.8rem); margin-top: 2.4rem; }
.member { display: flex; flex-direction: column; }
.member__ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--sand); display: grid; place-items: center;
}
.member__ph img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder state: the monogram, never a stock face or an invented portrait. */
.member__ph--empty::after {
  content: attr(data-initials); font-family: var(--serif); font-size: 2.1rem;
  color: color-mix(in srgb, var(--ink) 38%, transparent); letter-spacing: .04em;
}
.member__n { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; line-height: 1.15; margin-top: .9rem; }
.member__r { font-size: clamp(.84rem, .55vw + .69rem, .95rem); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: .3rem; }
.member__b { font-size: .92rem; color: var(--mute); margin-top: .55rem; }
.team--lead { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.section--dark .member__r, .section--dark .member__b { color: var(--mute-dark); }

/* A visible, honest marker on anything still awaiting Tarah's confirmation.
   Deliberately obvious in the preview so nothing unverified can ship by
   accident, and removable with one class. */
.tbc { display: inline-block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sand-deep); border: 1px dashed currentColor; border-radius: 999px; padding: .2rem .55rem; margin-top: .5rem; }

/* ---- sticky booking bar, phones only, aware of which room you are in ---- */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: none;
  gap: .5rem; padding: .6rem var(--pad) calc(.6rem + env(safe-area-inset-bottom));
  min-height: var(--bookbar-h); box-sizing: content-box;
  background: rgba(247, 242, 236, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.bookbar.is-up { transform: none; }
.bookbar .btn { flex: 1; min-height: 3rem; padding-inline: 1rem; font-size: .78rem; letter-spacing: .1em; }
@media (max-width: 860px) { .bookbar { display: flex; } body { padding-bottom: 0; } }
.menu-open .bookbar { transform: translateY(110%); }

@media (hover: hover) and (pointer: fine) {
  .path:hover { border-color: var(--ink); transform: translateY(-2px); background: var(--paper); }
  .path:hover::after { transform: translateX(.25rem); }
}

.team__h { font-size: clamp(.86rem, .55vw + .71rem, .97rem); font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute); font-family: var(--sans); margin-top: 2.6rem; }
.team__h:first-of-type { margin-top: 0; }

/* The hidden ATTRIBUTE only sets display:none from the user-agent stylesheet,
   which any class selector outranks. .btn sets display:inline-flex, so every
   button in the bar stayed visible and the bar overflowed the screen. Scoped
   rather than !important: (0,2,1) beats .btn's (0,1,0). */
.bookbar .btn[hidden], .bookbar [data-room][hidden] { display: none; }

/* Two people should not sit in a five-column grid. The lead pair is capped so
   it reads as a pair; the instructor bench below stays free-flowing. */
.team--lead { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); max-width: 15rem; }

/* ============================================================================
   BOOK CHOOSER
   One "Book" button is ambiguous when the studio runs two booking systems, and
   wiring it straight to massage quietly tells every Pilates visitor they came
   to the wrong place. The button now asks the only question the visitor has:
   which room. Noterro and Mindbody are never named.
   ========================================================================= */
.bookwrap { position: relative; display: inline-flex; }
/* A bridge across the gap, so moving the pointer from the button to the menu
   does not pass over dead space and close it. This is what made it feel glitchy. */
.bookwrap::after { content: ""; position: absolute; top: 100%; right: 0; width: 100%; height: .9rem; }
.bookmenu {
  position: absolute; top: calc(100% + .7rem); right: 0; z-index: 70; min-width: 15rem;
  padding: .45rem; border-radius: 16px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(42,37,33,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transform-origin: top right;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.bookmenu a {
  display: flex; flex-direction: column; gap: .1rem; padding: .75rem .9rem; border-radius: 11px;
  transition: background .25s var(--ease);
}
.bookmenu b { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.1; }
.bookmenu span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.bookmenu a:hover, .bookmenu a:focus-visible { background: rgba(42,37,33,.07); }
.bookwrap .btn svg { transition: transform .3s var(--ease); }

/* OPEN STATE. On a pointer device it is hover, with focus-within so the
   keyboard behaves identically. .is-open is only used by touch, where there is
   no hover to speak of. */
@media (hover: hover) and (pointer: fine) {
  .bookwrap:hover .bookmenu,
  .bookwrap:focus-within .bookmenu { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
  .bookwrap:hover .btn svg, .bookwrap:focus-within .btn svg { transform: rotate(180deg); }
  .bookwrap:hover .btn, .bookwrap:focus-within .btn { background: transparent; color: var(--cream); border-color: var(--cream); }
}
.bookwrap.is-open .bookmenu { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
.bookwrap.is-open .btn svg { transform: rotate(180deg); }

/* Touch: the same choice as a bottom sheet, which is easier to hit than a
   popover anchored to a small button. */
@media (max-width: 860px) {
  .bookwrap::after { display: none; }
  .bookmenu {
    position: fixed; inset: auto 0 0 0; min-width: 0; border-radius: 20px 20px 0 0;
    padding: .6rem .6rem calc(.6rem + env(safe-area-inset-bottom)); transform: translateY(100%);
    border-bottom: 0;
  }
  .bookwrap.is-open .bookmenu { transform: none; }
  .bookmenu a { padding: .95rem 1rem; }
}
.bookveil { position: fixed; inset: 0; z-index: 69; background: rgba(26,23,20,.28); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
body.book-open .bookveil { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
@media (min-width: 861px) { .bookveil { display: none; } }

/* ============================================================================
   SERVICE PORTALS — the signature moment
   One studio, two rooms. Two oversized panels rather than two cards, each with
   its own imagery and its own register, held together by the same type and the
   same arch. On a pointer device, hovering one recedes the other, so the choice
   feels like walking toward a door rather than reading a menu.
   ========================================================================= */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.9rem, 2vw, 1.5rem); }
.portal {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(26rem, 46vw, 34rem); padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--cream);
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}
.portal__img { position: absolute; inset: 0; z-index: -2; }
.portal__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
/* Two stops, not a flat scrim: the top stays open so the room reads, the base
   goes dark enough to carry type at AA without a box behind it. */
/* The treatment photo is pale where the eyebrow sits, so a bottom-weighted
   scrim alone left it unreadable. This carries real density through the whole
   lower half, where all the type lives, and still lets the room show at top. */
.portal::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Measured, not eyeballed: the eyebrow sits about 65% up from the base of the
     panel, where the old scrim left it at 1.69:1 against a warm photo. Density
     is carried through that band so small text clears AA on any image. */
  background:
    linear-gradient(to top, rgba(16,13,11,.94) 0%, rgba(16,13,11,.86) 40%, rgba(16,13,11,.58) 70%, rgba(16,13,11,.24) 85%, rgba(16,13,11,.06) 100%);
}
.portal__k {
  font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 10px rgba(16,13,11,.85), 0 0 22px rgba(16,13,11,.5);
}
.portal h3 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); color: var(--cream); margin: .5rem 0 .6rem; line-height: 1.02; }
.portal p { font-size: .97rem; color: rgba(247,242,236,.84); max-width: 32ch; }
/* The two cards bottom-align their content, so a paragraph one line longer
   than its neighbour lifted that card's overline 26px and the pair read as
   misaligned. Reserving the same four lines in both makes them agree. A
   browser without the lh unit simply gets what it has today. */
@media (min-width: 861px) { .portal p { min-height: 4lh; } }
.portal__go {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: .4rem; border-bottom: 1px solid rgba(247,242,236,.45);
  transition: gap .4s var(--ease), border-color .4s var(--ease);
}
.portal__go svg { width: .95rem; height: .95rem; }

@media (hover: hover) and (pointer: fine) {
  .portals:hover .portal { opacity: .62; }
  .portals .portal:hover { opacity: 1; transform: translateY(-4px); }
  .portal:hover .portal__img img { transform: scale(1.06); }
  .portal:hover .portal__go { gap: 1rem; border-color: var(--cream); }
}
@media (max-width: 760px) {
  .portals { grid-template-columns: 1fr; }
  .portal { min-height: 24rem; }
}

/* A two-column editorial split: statement on the left, the facts on the right.
   Replaces stacking a full-width heading above a full-width list, which is what
   made every section look the same. */
.twocol { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .twocol { grid-template-columns: 1fr; gap: 2.2rem; } }

/* Featured profile: one person given real weight, so the roster beneath reads
   as a team rather than a wall of equal tiles. */
.lead { display: grid; grid-template-columns: minmax(0, 17rem) 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; margin-bottom: 1rem; }
.lead__ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5;
  display: grid; place-items: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--sand) 72%, var(--cream)), var(--sand));
}
.lead__ph::before {
  content: ""; position: absolute; inset: .7rem; border-radius: calc(var(--r-lg) - .5rem);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.lead__ph::after {
  content: attr(data-initials); font-family: var(--serif); font-size: 4.2rem;
  letter-spacing: .06em; line-height: 1; color: color-mix(in srgb, var(--ink) 60%, transparent);
}
.lead__n { font-size: clamp(2rem, 4vw, 2.9rem); margin: .3rem 0 .9rem; }
.lead__b { color: var(--mute); max-width: 52ch; margin-top: .85rem; }
/* ---------------------------------------------------------------------------
   HER REEL
   A 9:16 film sits where the monogram placeholder was. It is a frame, not a
   phone mock-up: the page is already being viewed on a device and a drawn
   phone inside it reads as a stock image. Controls appear only once it is
   playing, so at rest it is a photograph with one thing to press.
   --------------------------------------------------------------------------- */
.reel {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 9 / 16; background: var(--sand); isolation: isolate;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.65);
}
/* She is close to camera and her face sits in the top third, so a centred
   crop cut the top of her head. The crop holds her whole head; the play
   button is moved out of the middle rather than the crop being bent around
   it, which only ever traded her chin for her mouth. On a wide screen the
   frame is already 9:16, so there is no overflow and this does nothing. */
.reel__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 10%; display: block; }
.reel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,8,7,.55) 0%, rgba(10,8,7,0) 38%);
  opacity: 1; transition: opacity .4s var(--ease);
}
.reel.is-playing::after { opacity: 0; }

/* On a phone the film at its true 9:16 is 350x622 of a 664px screen: 94% of
   it, so scrolling past showed a big video and nothing about whose it is. At
   rest it is cropped to a height that leaves her name and role on the same
   screen, and pressing play expands it to the whole film. The crop is only a
   crop: object-fit keeps the framing, nothing is scaled. */
@media (max-width: 860px) {
  /* height, with the ratio RELEASED. Capping height while 9/16 still applies
     makes the browser shrink the WIDTH to keep the ratio: the film went from
     350px wide to 194. Releasing the ratio lets it keep the full column and
     object-fit does the cropping, which is the whole point. */
  /* 46svh, set by the SHORTEST iPhone. At 50 the role line landed 5px
     under the booking bar on an SE, which is the one phone where the
     bar and the text are fighting for the same strip. */
  .reel { aspect-ratio: auto; height: 46svh; transition: height .6s var(--ease); }
  .reel.is-playing { height: 86svh; }
}

.reel__play {
  position: absolute; inset: 0; z-index: 2; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .85rem;
  padding-bottom: clamp(1.4rem, 7%, 2.6rem); border: 0; color: var(--cream);
  /* The label sits in the middle of the frame, where the bottom scrim does
     nothing. It carries its own, so it reads over whatever the poster happens
     to show and over any frame if the poster is ever changed. */
  background: linear-gradient(to top, rgba(10,8,7,.8) 0%, rgba(10,8,7,.45) 30%, rgba(10,8,7,0) 58%);
  text-shadow: 0 1px 14px rgba(10,8,7,.9), 0 0 30px rgba(10,8,7,.7);
  font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: opacity .35s var(--ease);
}
.reel__play svg {
  width: 3.9rem; height: 3.9rem; fill: currentColor; border-radius: 50%;
  background: rgba(15,13,12,.42); padding: 1.05rem;
  box-shadow: 0 0 0 1px rgba(247,242,236,.5);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .reel__play:hover svg { transform: scale(1.07); background: rgba(15,13,12,.62); }
}

.reel__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; gap: .7rem; padding: .85rem .9rem;
  background: linear-gradient(to top, rgba(10,8,7,.82), rgba(10,8,7,0));
  opacity: 0; transition: opacity .35s var(--ease);
}
.reel.is-playing .reel__bar, .reel:focus-within .reel__bar { opacity: 1; }
.reel__bar[hidden] { display: none; }
.reel__t {
  flex: none; width: 2rem; height: 2rem; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--cream); padding: 0;
}
.reel__t svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.reel__track { flex: 1; height: 3px; border-radius: 999px; background: rgba(247,242,236,.3); overflow: hidden; }
.reel__track i { display: block; height: 100%; width: 0; background: var(--cream); }
/* one icon each, swapped by state, so the control always shows what pressing
   it will DO rather than what is currently happening */
.reel__t .i-play { display: none; }
.reel.is-paused .reel__t .i-play { display: inline; }
.reel.is-paused .reel__t .i-pause { display: none; }
.reel .s-on { display: none; }
.reel.is-loud .s-on { display: inline; }
.reel.is-loud .s-off { display: none; }

.lead__cred { font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-top: .45rem; color: var(--mute); }

/* A disclosure, not a wall. Eight names under a heading under another heading
   is a lot to scroll past when most people only want the two therapists. */
.more { margin-top: 2.2rem; }
.more > summary {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .85rem 1.35rem; cursor: pointer; list-style: none;
  font-size: .84rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary i {
  width: .8rem; height: .8rem; flex: none; background: currentColor;
  transition: transform .35s var(--ease);
  -webkit-mask: var(--chev) center / contain no-repeat;
          mask: var(--chev) center / contain no-repeat;
}
.more[open] > summary i { transform: rotate(180deg); }
/* A closed <details> hides its children through the UA stylesheet, and an
   author rule beats that: .roster sets display:grid, so the eight names
   stayed on screen with the summary claiming to be closed. Say it here. */
.more:not([open]) > :not(summary) { display: none; }
.more .roster { margin-top: 1.6rem; }
@media (hover: hover) and (pointer: fine) {
  .more > summary:hover { background: currentColor; }
  .more > summary:hover span, .more > summary:hover i { color: var(--paper); background: var(--paper); }
  .more > summary:hover span { background: none; }
}
.more > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.trained { margin-top: 1.4rem; max-width: 52ch; font-size: clamp(.95rem, .4vw + .85rem, 1.02rem); line-height: 1.65; }
.trained span {
  display: block; margin-bottom: .25rem; font-size: clamp(.82rem, .52vw + .68rem, .92rem); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
}

@media (max-width: 760px) {
  .lead { grid-template-columns: 1fr; gap: 1.4rem; }
  .lead__ph { max-width: 13rem; }
}
/* The hero eyebrow now carries both services and the town, so it needs to wrap
   gracefully rather than force the hero wider on a small phone. */
.hero .eyebrow { line-height: 1.6; max-width: 30ch; }

/* ---------------------------------------------------------------------------
   MOBILE HERO
   The film was taking 63% of a 390x844 screen, so the first thing anyone saw
   was a video and the headline was cut off below the fold. The media is still
   first, because it is the warmest thing we have, but it is now capped so the
   eyebrow and the first line of the headline are always visible with it.
   --------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__media { height: min(46vh, 380px); max-width: 26rem; }
}
@media (max-width: 420px) {
  .hero__media { height: min(42vh, 330px); }
  .hero h1 { font-size: clamp(2.8rem, 11.8vw, 3.8rem); }
}

/* ---------------------------------------------------------------------------
   MOSAIC
   The old gallery was a four-column grid with two row-spanning tiles and eight
   images, which left a hole in the bottom right and an orphan bottom left: it
   read as broken rather than composed. Every photograph we have is the same
   4:3 crop, so the honest layout is an even one. Six images, not eight: the two
   dropped were near-duplicates, and a tighter set reads as a choice.
   --------------------------------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.4vw, 1rem); }
.mosaic figure { overflow: hidden; border-radius: 14px; background: var(--sand); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
/* One tile carries the arch, so the motif appears as an accent rather than on
   everything at once. */
.mosaic figure:first-child { border-radius: var(--r-lg); }
@media (hover: hover) and (pointer: fine) { .mosaic figure:hover img { transform: scale(1.05); } }

/* Four images: one clean row on a wide screen, two-up on a phone. The old rule
   gave the first tile a two-row span, which with four images left the entire
   second row empty. */
.mosaic--4 { grid-template-columns: repeat(4, 1fr); }
.mosaic--4 figure:first-child { border-radius: var(--r-lg); }

/* On a phone the grid put every photograph at 170x128. That is a contact
   sheet, not photography: at that size the reformer, the treatment room and a
   shoulder are indistinguishable, which defeats the point of showing them. The
   row becomes a swipeable strip instead, each frame wide enough to read, run
   out to both edges so the thumb can see there is more to the right. */
@media (max-width: 760px) {
  .mosaic, .mosaic--4 {
    display: flex; grid-template-columns: none; gap: .7rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
    margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic figure { flex: 0 0 76%; scroll-snap-align: start; border-radius: var(--r); }
  .mosaic figure:first-child { border-radius: var(--r); }

  /* Once the script has duplicated the set, the strip drifts on its own and
     stops being something to swipe. The shift is measured in JS, because
     translating by 50% is out by half a gap and the loop visibly jumps. */
  .mosaic.is-drifting {
    overflow: hidden; scroll-snap-type: none;
    padding-inline: 0; margin-inline: calc(var(--pad) * -1);
    -webkit-mask: linear-gradient(to right, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
            mask: linear-gradient(to right, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
  }
  .mosaic.is-drifting .mosaic__track {
    display: flex; gap: .7rem; padding-left: var(--pad); will-change: transform;
    animation: drift var(--dur, 34s) linear infinite;
  }
  .mosaic.is-drifting.is-held .mosaic__track,
  .mosaic.is-drifting.is-paused .mosaic__track { animation-play-state: paused; }
}
/* The script wraps the figures in a track at every width, so above the phone
   breakpoint that track has to disappear from layout or it becomes the grid's
   single item and the six photographs stack into one 3,278px column. Its
   children become the grid items again, and the duplicated set is dropped
   because only the drifting strip needs two of everything. */
@media (min-width: 761px) {
  .mosaic__track { display: contents; }
  .mosaic__track > figure[aria-hidden="true"] { display: none; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(var(--shift) * -1), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .mosaic.is-drifting .mosaic__track { animation: none; }
}

/* A wide frame is not an arch. Stretching the arch radius across a 4:3 photo
   flattens it into a shallow dome; the motif only reads on tall shapes, so it
   is kept for those and wide images get a plain soft corner instead. */
.shot-wide { position: relative; border-radius: 16px; overflow: hidden; background: var(--sand); isolation: isolate; }
.shot-wide img { width: 100%; height: 100%; object-fit: cover; }
.shot-wide::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }

/* ---------------------------------------------------------------------------
   TEAM ON A PHONE
   minmax(168px) needed 2x168 + a 17px gap = 353px against the 350px available
   at 390 wide, so it silently fell to ONE column and eight instructors became
   a 5,782px section, about seven screens. Two columns fit comfortably at 360
   with a smaller floor, and the roster tiles do not need to be as tall as the
   featured profile.
   --------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; }
  .team .member__ph { aspect-ratio: 1 / 1.15; }
  .team .member__ph--empty::after { font-size: 1.6rem; }
  .member__n { font-size: 1.05rem; margin-top: .7rem; }
  .member__r { font-size: .78rem; letter-spacing: .12em; }
  /* The treatment-room pair is a pair, not a grid, so it keeps its own width. */
  .team--lead { grid-template-columns: minmax(0, 1fr); max-width: 17rem; }
}

/* A roster, not a grid of empty portrait tiles: on a page about classes the
   useful fact is who teaches and what they teach, not nine placeholder frames. */
.roster { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 1.6rem; border-top: 1px solid var(--line); }
/* Each row is avatar + name + discipline. The picture spans both text rows
   rather than sitting in a flex column, so the name and the discipline stay
   locked to each other no matter how long a name wraps. Mindbody only serves
   the 128px mobile crop of these (everything larger is a 403), which is
   exactly a 56px avatar at 2x and no more, so the size is capped there. */
.roster li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto;
  column-gap: .95rem; align-items: center; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
.roster .pic { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; display: block; background: var(--sand); }
/* No photo on Mindbody: her initials rather than a stock silhouette, so the
   row still reads as a person. */
/* var(--line) is tuned for the dark sections and all but vanishes on the
   cream ones, which is where this list actually sits: the ring disappeared
   and the initials read as text floating in a gap. color-mix off
   currentColor keeps it visible on either background without a second rule
   per section. */
.roster .pic--none { display: grid; place-items: center; font-family: var(--sans);
  font-size: .8rem; font-weight: 500; letter-spacing: .06em;
  color: color-mix(in srgb, currentColor 62%, transparent);
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.roster b { grid-column: 2; align-self: end; }
.roster span:not(.pic) { grid-column: 2; align-self: start; }
/* The row rules are drawn by each item's bottom border, so a last row that
   is not full stopped its rule short and the list looked unfinished. The
   last row's items give their border up and the list draws that one itself,
   which is full width whatever the row holds. The column count changes at
   two breakpoints, so the last-row selector does too. */
.roster { border-bottom: 1px solid var(--line); }
/* Each range gets its OWN bounds. A max-width-only query still applies at
   every width below it, and the two-column selector outranks the
   one-column one on specificity, so on a phone the last row stayed two
   items wide and the rule went missing from the wrong one. */
@media (min-width: 861px) {
  .roster li:nth-child(3n+1):nth-last-child(-n+3),
  .roster li:nth-child(3n+1):nth-last-child(-n+3) ~ li { border-bottom: 0; }
}
@media (min-width: 421px) and (max-width: 860px) {
  .roster li:nth-child(2n+1):nth-last-child(-n+2),
  .roster li:nth-child(2n+1):nth-last-child(-n+2) ~ li { border-bottom: 0; }
}
@media (max-width: 420px) {
  .roster li:last-child { border-bottom: 0; }
}
.roster b { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; line-height: 1.2; }
.roster span { font-size: clamp(.8rem, .45vw + .68rem, .88rem); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 1000px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .roster { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   HERO, SEAMLESS
   The media used to float as a shape inside the page. It now runs off the right
   edge on a wide screen, so the hero reads as one continuous spread rather than
   a picture sitting in a box. Nothing is cropped differently; only the frame
   changed. On a phone it returns to a contained panel, where bleeding off the
   edge would just look like an overflow bug.
   --------------------------------------------------------------------------- */
@media (min-width: 1001px) {
  /* The bleed is done on the CONTAINER, not with a negative margin on the
     media. A negative margin computed from 100vw overflows by the width of the
     scrollbar; using 100% of the full-width section avoids that entirely, and
     the left padding is matched to .wrap so the copy still lines up with every
     other section on the page. */
  .hero--film > .wrap {
    max-width: none; padding-right: 0;
    padding-left: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
  }
  .hero--bleed .hero__grid { grid-template-columns: 1fr 1.08fr; align-items: stretch; gap: clamp(2.5rem, 5vw, 5rem); }
  /* The COPY sets the height and the media stretches to meet it. Driving the
     height from the media pushed the headline below the fold on a 900px
     screen, which is the one thing the first viewport must not do. */
  .hero__copy { align-self: center; padding-block: clamp(1.5rem, 3vw, 2.75rem); }
  /* .media carries aspect-ratio 5/7 for the in-page frames. In the hero the
     height comes from the copy beside it, so the ratio has to be released or
     a 740px-wide panel becomes 1036px tall and pushes the CTAs off screen. */
  .hero__media { aspect-ratio: auto; height: auto; min-height: 0; width: auto; border-radius: var(--r-lg); }
}
.hero__media { box-shadow: none; }

/* ---------------------------------------------------------------------------
   HERO MEDIA HEIGHT
   The video is 1080x1920. With the panel's height set to auto, height:100% on
   the video resolves to auto too, so its own ratio drove the panel: 628px wide
   became 1117px tall and pushed the CTAs off a 900px screen. Taking the video
   out of flow leaves the panel with no content height, so it stretches to the
   row height that the copy beside it sets, which is what we actually want.
   --------------------------------------------------------------------------- */
@media (min-width: 1001px) {
  .hero__media { position: relative; overflow: hidden; }
  .hero__media > video, .hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  /* the whole first screen has to fit, so the section padding comes down */
  .hero--film { padding-top: 0; padding-bottom: 0; }
}

/* The reel, where it belongs: the studio section is the one place about the
   wider life of the place, which is what this footage actually shows. */
.filmstrip { position: relative; margin: 0 0 clamp(.6rem,1.4vw,1rem); border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 16 / 7; }
.filmstrip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.filmstrip figcaption { position: absolute; left: 1.2rem; bottom: 1rem; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
@media (max-width: 760px) { .filmstrip { aspect-ratio: 4 / 3; } }

/* ---------------------------------------------------------------------------
   HERO FIT
   The display type is capped so the whole first screen fits the shortest
   common desktop viewport, 1280x800, with the CTAs still above the fold.
   --------------------------------------------------------------------------- */
@media (min-width: 1001px) {
  .hero h1 { font-size: clamp(3.2rem, 5.2vw, 5rem); margin-top: 1.1rem; }
  .hero .lede { margin-top: 1.2rem; }
  .hero__cta { margin-top: 1.7rem; }
  .hero__note { margin-top: 1.1rem; }
}

/* ---------------------------------------------------------------------------
   NOTHING ABOVE THE FOLD FADES IN
   [data-reveal] starts at opacity:0 and waits for an observer, which means the
   largest element in the first screen cannot paint until JS runs. That made a
   paragraph the LCP element on /pilates at 2.1 to 3.7 seconds on a throttled
   phone. The first section of every page is now visible immediately; the
   reveal still applies to everything the visitor scrolls to.
   --------------------------------------------------------------------------- */
main > section:first-child [data-reveal],
.hero [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ===========================================================================
   BLACK AND CREAM
   The page is dark; cream and sand are the accents. Everything below re-points
   the components that were written for a light page. Contrast was measured
   after, not assumed: the old muted tone sat at 4.26 against a 4.5 requirement
   on every page, and the hero pane captions at 1.09.
   ========================================================================= */

/* a section that was the dark accent is now the CREAM accent */
.section--dark { background: var(--cream); color: var(--ink); }
.section--dark .eyebrow { color: var(--mute-dark); }
.section--dark .lede, .section--dark .step p, .section--dark .fact p,
.section--dark .handoff { color: var(--mute-dark); }
.section--dark .fact :is(h3,h4) { color: var(--mute-dark); }
.section--dark .step::before { color: rgba(15,13,12,.5); }

/* type and rules on the dark page */
h1 em, h2 em { color: rgba(247,242,236,.70); }
.lede { color: var(--mute); }
.eyebrow { color: var(--mute); }
.rates { border-top-color: var(--line); }
.rate { border-bottom-color: var(--line); }
.rate__sub, .rates__note, .method, .footer li { color: var(--mute); }
.roster { border-top-color: var(--line); }
.roster li { border-bottom-color: var(--line); }
.roster span, .member__r, .member__b, .lead__b, .door p, .step p, .handoff { color: var(--mute); }
.offer { background: var(--paper); border-color: var(--line); }
.offer__s { color: var(--mute); }
.hero__note, .hero__note a { color: var(--mute); }
.hero__note a { border-bottom-color: var(--line); }
.fact a, .rates__note a { border-bottom-color: currentColor; }

/* buttons invert: cream outline on black, cream fill for the primary */
.btn { border-color: var(--cream); color: var(--cream); }
.btn--solid { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light { border-color: var(--ink); color: var(--ink); }
.btn--sand { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.section--dark .btn { border-color: var(--ink); color: var(--ink); }
.section--dark .btn--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* chrome */
.site-header.is-solid { background: rgba(20, 17, 16, .92); box-shadow: 0 1px 0 var(--line); }
.mobile-menu { background: var(--deep); }
.mobile-menu a:not(.btn) { border-bottom-color: var(--line); }
.bookmenu { background: var(--cream); border-color: var(--line-dark); color: var(--ink); }
.bookmenu a, .bookmenu b { color: var(--ink); }
.bookmenu span { color: var(--mute-dark); }
.bookmenu a:hover, .bookmenu a:focus-visible { background: rgba(42,37,33,.07); }
.bookbar { background: rgba(20, 17, 16, .94); border-top-color: var(--line); }
.footer { background: var(--paper); color: var(--cream); }
.footer :is(h3,h4) { color: var(--mute); }
.footer__bar, .footer__bar a { color: var(--mute); border-top-color: var(--line); }
/* Was re-colouring the focus outline cream for the dark sections. The
   ring is a two-tone box-shadow now, which already works on both
   backgrounds, and re-colouring the outline put a visible line back at
   the 3px offset, which is the line on the 404. The outline stays
   transparent and exists only for forced-colors mode. */
:focus-visible { outline-color: transparent; }

/* media placeholders keep the sand so the monogram still reads */
.member__ph--empty::after, .lead__ph::after { color: rgba(15, 13, 12, .62); }


/* ===========================================================================
   HERO: FILM BEHIND THE TYPE
   Full bleed, edge to edge, with the copy sitting on it. The scrim is weighted
   to the left and the base, which is where the type is, so the film still
   reads on the right while the words clear AA over it regardless of the frame
   showing. Replaces the arch and the diptych.
   ========================================================================= */
.hero--film { position: relative; padding: 0; overflow: hidden; background: var(--black); isolation: isolate; }
.hero__film { position: absolute; inset: 0; z-index: -2; }
.hero__film video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .hero__film video { transform: none; } }
.hero--film::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    /* The header floats on the film, so whatever frame is playing decides
       whether the nav is readable. A band across the top means it never
       depends on the footage. */
    linear-gradient(to bottom, rgba(12,10,9,.84) 0%, rgba(12,10,9,.5) 60%, rgba(12,10,9,0) 100%) top / 100% calc(var(--header-h) * 1.5) no-repeat,
    linear-gradient(to right, rgba(12,10,9,.92) 0%, rgba(12,10,9,.78) 38%, rgba(12,10,9,.48) 68%, rgba(12,10,9,.38) 100%),
    linear-gradient(to top, rgba(12,10,9,.55) 0%, rgba(12,10,9,0) 45%);
}
.hero__inner {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(86vh, 800px);
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem));
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.hero__copy { max-width: 36rem; }
.hero--film .eyebrow { color: var(--mute); }
.hero--film h1 { color: var(--cream); margin-top: 1.1rem; font-size: clamp(3.1rem, 6.2vw, 5.4rem); }
.hero--film h1 em { color: rgba(247,242,236,.74); }
.hero--film .lede { color: rgba(247,242,236,.88); margin-top: 1.3rem; }
.hero__cta { margin-top: 2rem; }
.hero--film .hero__note, .hero--film .hero__note a { color: rgba(247,242,236,.78); }
.btn--light-on-film { border-color: rgba(247,242,236,.72); color: var(--cream); }

@media (max-width: 860px) {
  /* A tall film with text on it is the one hero pattern that works as well on
     a phone as on a desktop, so the structure is unchanged; only the height
     and the scrim weighting move. */
  .hero__inner { min-height: 100svh; padding-top: calc(var(--header-h) + 2rem); }
  .hero--film::after {
    background:
      linear-gradient(to top, rgba(12,10,9,.94) 0%, rgba(12,10,9,.76) 42%, rgba(12,10,9,.34) 72%, rgba(12,10,9,.26) 100%);
  }
  .hero__cta { flex-direction: column; align-items: stretch; }
}
@media (hover: hover) and (pointer: fine) {
  .btn--light-on-film:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
}

/* ---------------------------------------------------------------------------
   ACCENT TONES ON LIGHT SURFACES
   --sand-deep is a highlight for the dark page; on cream it measures 2.26:1
   and on sand 1.29:1, both far under AA for the 11px caps it was being used
   for. Light surfaces get their own accent, measured: 5.58:1 on cream and
   5.40:1 on sand.
   --------------------------------------------------------------------------- */
.section--dark .eyebrow, .section--dark .fact :is(h3,h4), .section--dark .step::before { color: var(--mute-dark); }
/* The first-massage block moved from a dark section to a cream one, and its
   numerals kept the cream they had: 01, 02 and 03 were there the whole time
   at 1:1, which is why those blocks looked like they had a hole above them.
   No gate saw it, because a pseudo-element is not in the document. */
.section--paper .step::before { color: rgba(15, 13, 12, .52); }
.section--dark h1 em, .section--dark h2 em,

/* The footer tagline carried an inline --mute-dark, which after the inversion
   is the tone for LIGHT surfaces: dark type on a dark footer, 1.05:1. */
.footer p { color: var(--mute) !important; }

/* On a black page the portal images are the light in the section, so the scrim
   that was tuned against a cream background now just makes them muddy. It is
   pulled back to the band where the type actually sits and the rest of the
   photograph is left alone. */
.portal::after {
  background:
    linear-gradient(to top, rgba(10,8,7,.93) 0%, rgba(10,8,7,.80) 26%, rgba(10,8,7,.38) 48%, rgba(10,8,7,.08) 72%, rgba(10,8,7,0) 100%);
}
.portal { box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }

/* ===========================================================================
   ONE BLACK, ONE CREAM
   The palette had drifted to four tones: #141110 page, #1C1816 alternating,
   #221E1B type, plus #fff in places. Collapsed to the two that are actually
   hers. The black is sampled from her own logo mark, where every ink pixel is
   a single value, #2a2521. The cream is the one that was already here.
   Sand stays as the only accent, because it is her own booking theme colour.
   Section rhythm now comes from alternating black and cream, not from two
   blacks a few percent apart that read as a mistake.
   ========================================================================= */
:root {
  --black: #0f0d0c;        /* her IG/FB avatar is #000000; this keeps a trace of warmth */
  --deep: var(--black);     /* the page */
  --ink: var(--black);      /* type on cream and sand */
  --paper: var(--cream);    /* alternating sections are cream, not a 2nd black */
  --mute: rgba(247, 242, 236, .78);
  --mute-dark: rgba(15, 13, 12, .74);
  --line: rgba(247, 242, 236, .18);
  --line-dark: rgba(15, 13, 12, .20);
}

/* an alternating section is cream, so it needs the light-surface treatment */
.section--paper { background: var(--cream); color: var(--ink); }
.section--paper .eyebrow, .section--paper .fact :is(h3,h4),
.section--paper .rates__group { color: var(--mute-dark); }
.section--paper h1 em, .section--paper h2 em { color: rgba(15,13,12,.58); }
.section--paper .lede, .section--paper p, .section--paper .rate__sub,
.section--paper .rates__note, .section--paper .method,
.section--paper .roster span, .section--paper .member__r,
.section--paper .member__b, .section--paper .lead__b,
.section--paper .offer__s, .section--paper .handoff { color: var(--mute-dark); }
.section--paper .rates, .section--paper .rate, .section--paper .roster,
.section--paper .roster li,
.section--paper .offer { border-color: var(--line-dark); }
.section--paper .offer { background: rgba(42,37,33,.04); }
.section--paper .offer__k { color: var(--mute-dark); }
.section--paper .btn { border-color: var(--ink); color: var(--ink); }
.section--paper .btn--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.section--paper .lead__ph, .section--paper .member__ph { background: var(--sand); }
.section--paper .mosaic figure { background: var(--sand); }

/* footer is the black, so it reads as the page closing rather than a 4th tone */
.footer { background: var(--black); }

/* minimal white: the headline only, and only its first clause */
.hero--film h1 { color: #fff; }
.hero--film h1 em { color: var(--cream); font-style: italic; }

/* ---------------------------------------------------------------------------
   HERO LEGIBILITY
   Cormorant at weight 300 over moving footage is thin, and on a phone it was
   genuinely hard to read. The hero headline goes to 400, the lede to the
   heavier sans weight, and the scrim beneath the copy is deepened. Type over
   video has to survive whichever frame happens to be showing.
   --------------------------------------------------------------------------- */
.hero--film h1 { font-weight: 700; letter-spacing: -.024em; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero--film .lede { font-weight: 400; color: rgba(255,255,255,.94); text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.hero--film .eyebrow { color: var(--cream); font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero--film .hero__note, .hero--film .hero__note a { color: rgba(255,255,255,.88); }

@media (max-width: 860px) {
  .hero--film h1 { font-size: clamp(2.9rem, 11.4vw, 4rem); line-height: 1.0; }
  .hero--film .lede { font-size: 1.04rem; line-height: 1.6; }
  /* a phone shows the copy over the centre of the frame, not the edge of it,
     so the scrim has to carry more weight through the middle */
  .hero--film::after {
    background:
      linear-gradient(to top, rgba(10,8,7,.96) 0%, rgba(10,8,7,.88) 38%, rgba(10,8,7,.62) 62%, rgba(10,8,7,.34) 84%, rgba(10,8,7,.26) 100%);
  }
}

/* Body copy follows its surface. These replace the inline colours that used to
   hard-code a dark background into the markup. */
.section p, .section li, .section dd { color: var(--mute); }
.section--paper p, .section--paper li, .section--dark p, .section--dark li { color: var(--mute-dark); }
.section h1, .section h2, .section h3, .section h4 { color: var(--cream); }
.section--paper h1, .section--paper h2, .section--paper h3, .section--paper h4,
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink); }
.section--paper a, .section--dark a { color: var(--ink); }

/* Anything sitting on its own dark media keeps cream regardless of the section
   it happens to be inside: the portals and the hero panes own their background. */
.portal, .portal h3, .portal p, .portal .portal__go { color: var(--cream) !important; }
.portal .portal__k { color: #fff !important; }
.footer p, .footer li, .footer a { color: var(--mute) !important; }
.footer :is(h3,h4) { color: var(--mute) !important; }
.team__h { color: inherit; opacity: .62; }

/* Remaining light-surface fixes: these sit inside cream sections and were
   still inheriting the dark-page tones. */
.section--paper .rate__price small,
.section--paper .offer__n, .section--paper .offer__p,
.section--paper .rate__name, .section--paper .roster b,
.section--paper .member__n, .section--paper .lead__n,
.section--paper .offer__s, .section--paper .offer__k { color: var(--mute-dark); }
.section--paper .offer__k { color: var(--mute-dark); }

/* The offer card is cream wherever it sits, so its contents are always dark.
   Scoped to the card, not the section, because it was a cream card inside a
   black section and the section rules could not reach it. */
.offer { background: var(--cream); border-color: transparent; }
.offer, .offer__n, .offer__p, .offer__s, .offer__go { color: var(--ink); }
.offer__s { color: var(--mute-dark); }
.offer__k { color: var(--mute-dark); }

/* `.section p` is (0,1,1) and outranks `.offer__n` at (0,1,0), so the card's
   own colours never applied and it rendered cream on cream. Matching the
   section in the selector restores the order. */
.section .offer p, .section .offer .offer__n, .section .offer .offer__p,
.section .offer .offer__go { color: var(--ink); }
.section .offer .offer__s { color: var(--mute-dark); }
.section .offer .offer__k { color: var(--mute-dark); }

/* A cream card on a cream section does not read. On cream it becomes the black
   card instead, which keeps the palette to two tones and makes the offer the
   thing your eye lands on. */
.section--paper .offer { background: var(--black); border-color: transparent; }
.section--paper .offer p,
.section--paper .offer .offer__n,
.section--paper .offer .offer__p,
.section--paper .offer .offer__go { color: var(--cream); }
.section--paper .offer .offer__s { color: var(--mute); }
.section--paper .offer .offer__k { color: var(--mute); }

/* The sticky header and booking bar were still translucent over the old
   #141110. Same black as everything else, so there is no fourth tone. */
.site-header.is-solid { background: rgba(42, 37, 33, .94); }
.bookbar { background: rgba(42, 37, 33, .96); }
.mobile-menu { background: var(--black); }

/* White is reserved for the hero headline's first clause. The sound button and
   the pane caption were also using it; cream keeps the palette honest. */

/* ---------------------------------------------------------------------------
   HOVER, LAST
   These must come after the palette rules above. Those set .btn and
   .section--paper .btn colours at the same specificity as a :hover rule, so
   wherever they appeared later in the file they won, and a hovered button
   kept its RESTING text colour on top of its hover background: ink on ink.
   Nothing here changes layout, only the pointer states.
   --------------------------------------------------------------------------- */
/* hover only where a pointer can actually hover, so a tap never sticks */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  /* This rule predates the palette inversion. .btn--solid used to be dark ink
     on a light page, so clearing the fill and setting ink was a sane outline
     state. It is now cream on dark, so the same rule painted the label in its
     own background colour and the button went blank on hover. The outline
     state takes whichever foreground its surface actually uses. */
  .btn--solid:hover { background: transparent; color: var(--cream); border-color: var(--cream); }
  /* Only surfaces that are actually CREAM belong here. The booking bar and the
     mobile menu are both dark panels, and grouping them with the cream ones is
     what made "Book a massage" vanish on hover: ink text on a dark bar. */
  .section--paper .btn--solid:hover,
  .section--dark .btn--solid:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn--light:hover { background: var(--cream); color: var(--ink); }
  .btn--sand:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .btn:hover svg { transform: translateX(.3rem); }
  .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  .door:hover .door__img img, .gallery figure:hover img { transform: scale(1.05); }
  /* Third time this exact fault has been written into this file, and the two
     comments above are the other two. The rule used to be color:var(--cream),
     which on the Find us section, a CREAM surface, painted "Open in maps",
     her phone number and her email in their own background: gone on hover.
     It was also a no-op on the dark page, where these links are already cream.

     color-mix off currentColor cannot repeat the mistake, because it is
     always a step from whatever colour the link already is on whatever
     surface it is on. Measured 7.4:1 on cream and 9.2:1 on the dark page. */
  /* Third time this exact fault has been written into this file, and the two
     comments above are the other two. The rule used to be color:var(--cream),
     which on the Find us section, a CREAM surface, painted "Open in maps",
     her phone number and her email in their own background: gone on hover.

     It does not change colour at all now. A colour step was tried first and
     measured 3.95:1, under the 4.5 it needs, because .fact a inherits an
     already-muted 74% ink and mixing against currentColor compounds the two.
     Thickening the rule underneath cannot fail a contrast check, and the
     padding drops by the pixel the border gains so nothing shifts. */
  .fact a:hover { border-bottom-width: 2px; padding-bottom: 0; }
}
