@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;
}

/* Total Therapy Lab — warm, arched, unhurried. The brand's own beige (#c9b7a6),
   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 {
  --sand: #c9b7a6;          /* her colour, straight off her own booking theme */
  --sand-deep: #ad957f;
  --cream: #f7f2ec;
  --paper: #fffdfa;
  --ink: #2a2521;
  --deep: #1a1714;
  --mute: #7d7168;
  --mute-dark: rgba(247, 242, 236, .68);
  --line: rgba(42, 37, 33, .14);
  --line-dark: rgba(247, 242, 236, .18);
  --serif: "Cormorant Garamond", 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);
  --max: 1240px;
  --header-h: 80px;
  --arch: 999px 999px 0 0 / 46% 46% 0 0;   /* the shape the whole site is built on */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 1.02rem; line-height: 1.65;
  -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-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.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: 300; line-height: 1.04; letter-spacing: -.012em; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--sand-deep); }
.eyebrow {
  display: inline-block; font-size: .7rem; font-weight: 400; letter-spacing: .3em;
  text-transform: uppercase; color: var(--mute);
}
.section--dark .eyebrow { color: var(--sand); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--mute); max-width: 46ch; }
.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;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .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.is-hidden { transform: translateY(-100%); }
.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: .72rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; position: relative; padding-block: .3rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; 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; justify-content: center; gap: .4rem;
  padding: calc(var(--header-h) + 1rem) var(--pad) 2.5rem;
  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-size: clamp(2.4rem, 11vw, 3.6rem); 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(2) { transition-delay: .06s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .18s; }
.mobile-menu .btn { margin-top: 1.8rem; align-self: flex-start; }
.menu-open { overflow: hidden; }
.menu-leaving .mobile-menu a:not(.btn) { opacity: .3; }
.menu-leaving .mobile-menu a.is-going { opacity: 1; }

/* ---------- hero: an arched window onto the studio ---------- */
.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); }
.arch {
  position: relative; border-radius: var(--arch); overflow: hidden;
  background: var(--sand); aspect-ratio: 5 / 7; isolation: isolate;
}
.arch video, .arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::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__arch { box-shadow: 0 40px 90px -50px rgba(42, 37, 33, .6); aspect-ratio: auto; height: min(74vh, 700px); }
.sound {
  position: absolute; z-index: 3; right: 1rem; bottom: 1rem;
  width: 2.9rem; height: 2.9rem; border-radius: 999px; display: grid; place-items: center;
  background: rgba(26, 23, 20, .5); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35); transition: background .3s, transform .25s var(--ease);
}
.sound svg { width: 1.15rem; height: 1.15rem; }
.sound .s-on { display: none; }
.sound.is-on { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.sound.is-on .s-on { display: inline; } .sound.is-on .s-off { display: none; }
.sound:active { transform: scale(.93); }

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--deep); color: var(--cream); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.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(--arch); 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; }

/* 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: .84rem; color: var(--mute); margin-top: .2rem; }
.rate__price { font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; }
.rate__price small { font-family: var(--sans); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-left: .35rem; }
.rates__note { margin-top: 1.5rem; font-size: .88rem; color: var(--mute); }

/* credentials */
.creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.creds li { list-style: none; font-size: .78rem; letter-spacing: .08em; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
.section--dark .creds li { border-color: var(--line-dark); }

/* 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: var(--sand-deep); 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(--arch); }
.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 */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 3rem; }
.fact h4 { font-size: .72rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); margin-bottom: .5rem; }
.section--dark .fact h4 { color: var(--sand); }
.fact p, .fact a { font-size: 1.02rem; }
.fact a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.amenities { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.amenities span { font-size: .75rem; color: var(--mute-dark); border: 1px solid var(--line-dark); border-radius: 999px; padding: .35rem .8rem; }

/* footer */
.footer { background: var(--deep); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer img { height: 54px; width: auto; }
.footer h4 { font-size: .72rem; font-weight: 400; letter-spacing: .24em; 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__arch { 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; }
}

/* 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); }
  .btn--solid:hover { background: transparent; 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); }
  .sound:hover { background: var(--cream); color: var(--ink); }
  .fact a:hover { color: var(--sand-deep); }
}

@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; }
}
