/* ============================================================
   Pilatee — Vaughan
   Tokens follow DESIGN.md. No pure black, no pure white.
   ============================================================ */

@font-face {
  font-family: 'Argentum';
  src: url('../assets/fonts/argentum-novus.woff2?v=995d65618f') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Argentum';
  src: url('../assets/fonts/argentum-novus-bold.woff2?v=30d462036f') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../assets/fonts/newsreader.woff2?v=01817351be') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colourway follows the live site's Wix theme: cream #F4F2EC, ink #191817,
     neutral greys, and the pearl as the only colour. No brown fields. */
  --surface:        #F4F2EC;
  --surface-raised: #FBFAF8;
  --surface-sink:   #ECEAE6;
  --ink:            #191817;
  --ink-muted:      #5E5B58;
  --clay:           #8E8A85;   /* neutral accent: hairline hovers, ghost borders */
  --clay-deep:      #191817;   /* text accents read as ink, as on the live site */
  --blush:          #F7DCE8;   /* pearl pink: badges, selection, markers */
  --sand:           #DAD6D0;   /* hairlines */
  --pearl-img: url('../assets/img/iridescent-960.webp?v=d33d50f695');
  /* deeper pearl, for type that sits on cream and still has to read */
  --pearl-ink: linear-gradient(100deg, #6E9CC8 0%, #9C86C2 45%, #C9799F 100%);

  --sans: 'Argentum', 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;

  --s1: 0.5rem;  --s2: 0.75rem; --s3: 1rem;   --s4: 1.5rem;
  --s5: 2.5rem;  --s6: 4rem;    --s7: 7rem;   --s8: 11rem;

  /* vertical rhythm: three deliberate steps, not one value everywhere */
  --pad-tight: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --pad-base:  clamp(3.5rem, 2.2rem + 5.2vw, 7rem);
  --pad-open:  clamp(5rem,   3rem   + 8vw,   10.5rem);

  /* iridescent, sampled from the pearl fill on the original Book a class button */
  --irid-1: #B8D7EF;  /* sky      */
  --irid-2: #EFE5F1;  /* lilac    */
  --irid-3: #FBB8D6;  /* pink     */
  --irid-4: #FCECF2;  /* blush    */
  --irid-5: #F4EFE6;  /* pearl cream */
  --irid-6: #D9CFF0;  /* lavender */

  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --measure: 68ch;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--blush); color: var(--ink); }

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

.skip {
  position: absolute; left: var(--s3); top: -4rem; z-index: 200;
  background: var(--ink); color: var(--surface);
  padding: var(--s2) var(--s4); border-radius: 999px;
  text-decoration: none; transition: top .25s var(--expo);
}
.skip:focus { top: var(--s3); }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- type ---------- */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 400;
}
.display {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}
.serif-head {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.9rem);
}
.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.42vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 46ch;
}
p { max-width: var(--measure); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: 54rem; margin-inline: auto; padding-inline: var(--gutter); }
.section       { padding-block: var(--pad-base); }
.section-open  { padding-block: var(--pad-open) var(--pad-base); }
.section-tight { padding-block: var(--pad-tight); }
/* a section that opens straight onto full-bleed media needs no bottom pad */
.pad-t-base    { padding-block: var(--pad-base) var(--pad-tight); }
/* a section following a full-bleed band sits closer to it */
.after-band    { padding-block: var(--pad-tight) var(--pad-base); }
.rule { height: 1px; background: var(--sand); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .45s var(--expo), border-color .45s var(--expo),
              transform .45s var(--expo);
}

/* Iridescent sweep, lifted from the pearl fill the original Book a class
   button used. Three identical tiles on a 300%-wide layer, translated by
   exactly one tile, so the loop is seamless and runs on the compositor. */
.btn::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; z-index: -1;
  width: 300%; height: 100%;
  background-image: linear-gradient(90deg,
    var(--irid-1) 0%, var(--irid-2) 17%, var(--irid-3) 34%,
    var(--irid-4) 51%, var(--irid-5) 68%, var(--irid-6) 84%, var(--irid-1) 100%);
  background-size: 33.3333% 100%;
  background-repeat: repeat-x;
  opacity: 0;
  transition: opacity .45s var(--expo);
  will-change: transform;
}
.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  animation: irid-drift 3.6s linear infinite;
}
@keyframes irid-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-33.3333%, 0, 0); }
}

.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--ink); transform: translateY(-2px); }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: transparent; color: var(--ink); transform: translateY(-2px); }

.btn-light { background: var(--surface); color: var(--ink); }

.btn-pearl, .header-cta .btn-primary {
  background: var(--pearl-img) center / cover; color: var(--ink);
  border-color: var(--ink);
}
.btn-light:hover, .btn-light:focus-visible { color: var(--ink); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.07em;
  text-transform: uppercase; text-decoration: none;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--sand);
  transition: border-color .4s var(--expo), color .4s var(--expo), gap .4s var(--expo);
}
.arrow-link:hover { border-color: var(--clay-deep); color: var(--clay-deep); gap: 0.9em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .5s var(--expo), background-color .5s var(--expo);
}
.site-header[data-stuck='true'] {
  border-bottom-color: var(--sand);
  background: color-mix(in oklch, var(--surface) 96%, transparent);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
}
/* Stacked lockup. Set inline the tagline sat in the nav's own row, and the
   wordmark had to stay small to leave space for it. Stacked, the two are flush
   at 156px (1.92rem of Argentum at 0.12em tracking measures the same as the
   tagline at 0.5rem/0.22em), the wordmark gets to be a wordmark, and the brand
   gives 116px back to the nav. The header does not grow: its height was always
   set by the Book a class button, not the brand. */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.32rem; text-decoration: none; }
.brand-mark {
  font-weight: 700; font-size: 1.32rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.site-header .brand-mark { font-size: 1.92rem; line-height: 1; }
.brand-sub {
  font-size: 0.5rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-muted);
  white-space: nowrap;
}
/* no tagline on small phones, so the wordmark goes back to its inline size
   rather than standing alone at masthead scale next to the CTA */
@media (max-width: 34rem) {
  .brand-sub { display: none; }
  .site-header .brand-mark { font-size: 1.32rem; }
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav a {
  text-decoration: none; font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-block: 0.3em;
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--expo);
}
.nav a:hover { border-bottom-color: var(--clay); }
.header-cta { display: flex; align-items: center; gap: var(--s3); }
.header-phone { font-size: 0.82rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--clay-deep); }

.nav-toggle { display: none; background: none; border: 0; padding: var(--s1); cursor: pointer; }
.nav-toggle svg { display: block; }

@media (max-width: 72rem) { .header-phone { display: none; } }

/* 68rem originally, because the inline brand lockup was 272px wide and the nav
   wrapped. The stacked lockup is 156px, which bought back enough room for the
   nav to reach 62rem and to carry a seventh item (Pricing). 62rem fits, but
   leaves only 28px either side of the nav, so it collapses at 64rem instead. */
@media (max-width: 64rem) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn { white-space: nowrap; padding: 0.8em 1.3em; font-size: 0.72rem; letter-spacing: 0.05em; }
  .header-inner { gap: var(--s2); }
  .nav[data-open='true'] {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; inset: 100% 0 auto 0;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--sand);
    padding: var(--s4) var(--gutter) var(--s5);
    gap: var(--s3);
  }
  .nav[data-open='true'] a { font-size: 1.15rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  min-height: min(88svh, 54rem);
}
.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4.5rem) clamp(3rem, 5vw, 5rem) var(--gutter);
}
.hero-eyebrow { margin-bottom: var(--s4); }
.hero-h1 {
  font-size: clamp(3.6rem, 1.4rem + 11vw, 10.5rem);
  margin-bottom: var(--s4);
}
.hero-h1 .line { display: block; }
.hero-h1 .thin {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.42em;
  line-height: 1.1;
  display: block;
  color: var(--clay-deep);
  margin-bottom: 0.1em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }

.hero-media { position: relative; }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 32%;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--surface) 0%, transparent 34%);
}

/* ambient iridescence, the one piece of continuous motion on the page */
.hero-glow {
  position: absolute;
  z-index: 0;
  inset: -35% auto auto -22%;
  width: 72%; aspect-ratio: 1.6;
  background-image: url('../assets/img/iridescent-960.webp?v=d33d50f695');
  background-size: cover;
  filter: blur(42px) saturate(1.25);
  opacity: 0.62;
  pointer-events: none;
  animation: drift 34s var(--expo) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(5%, 5%, 0) scale(1.14); }
}

.hero-monogram {
  position: absolute; z-index: 3;
  right: 38%; bottom: 7%;
  width: clamp(7rem, 13.5vw, 15rem);
  pointer-events: none;
  filter: drop-shadow(0 22px 48px oklch(44% 0.052 45 / 0.28));
}

@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { height: 62svh; order: -1; }
  .hero-media::after { background: linear-gradient(to bottom, transparent 45%, var(--surface) 99%); }
  .hero-monogram { right: 6%; bottom: auto; top: 46svh; width: 7.5rem; }
  .hero-copy { padding-top: var(--s4); }
}

/* ---------- fact strip ---------- */
.facts {
  background: var(--surface-raised);
  color: var(--ink);
  border-block: 1px solid var(--sand);
  padding-block: var(--s5);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--s4) var(--s5);
}
.fact dt {
  font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: var(--s1);
}
.fact dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem);
  line-height: 1.25;
}

/* ---------- intro offer ---------- */
.offer { background: var(--surface-raised); }
.offer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s5);
  align-items: end;
}
@media (max-width: 54rem) { .offer-inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- rooms ---------- */
/* Held to the page measure rather than run full bleed. At full bleed each photo
   rendered near 900css px; the reformer source is only 1080 wide, so it was being
   blown up on any retina screen. Contained, both photos sit at or past 2x. */
.rooms {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5);
  width: 100%; max-width: 78rem; margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 60rem) { .rooms { grid-template-columns: 1fr; gap: var(--s6); } }
.room { position: relative; display: flex; flex-direction: column; }
/* sources are portrait (reformer 1080x1616, mat 2250x2680), so the frame is too */
.room-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: 18px 18px 0 0; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--expo); }
.room:hover .room-media img { transform: scale(1.045); }
.room-body { flex: 1; padding: var(--s5) clamp(1.25rem, 3vw, 2.5rem) var(--s6); border-radius: 0 0 18px 18px; }
.room:first-child .room-body { background: var(--surface-raised); }
.room:last-child  .room-body { background: var(--surface-sink); }
.room h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1.1; margin-block: var(--s2) var(--s3);
}
.room-spec {
  display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4);
  margin-top: var(--s4); padding-top: var(--s3);
  border-top: 1px solid var(--sand);
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-muted);
}

/* ---------- pillars (editorial bands, not cards) ---------- */
.pillar { display: grid; grid-template-columns: 6rem 1fr 1.1fr; gap: var(--s4) var(--s5); align-items: start; padding-block: var(--s6); }
.pillar + .pillar { border-top: 1px solid var(--sand); }
.pillar-num {
  font-family: var(--serif); font-size: 2.2rem; line-height: 1;
  font-weight: 300; background: var(--pearl-ink); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pillar h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.5rem); line-height: 1.08; }
.pillar .eyebrow { display: block; margin-bottom: var(--s2); }
@media (max-width: 60rem) {
  .pillar { grid-template-columns: 1fr; gap: var(--s3); padding-block: var(--s5); }
  .pillar-num { font-size: 1.6rem; }
}

/* ---------- formats (the one legitimate card use) ---------- */
.group-label {
  display: flex; align-items: baseline; gap: var(--s3);
  max-width: none;
  font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase;
  font-weight: 400; color: var(--clay-deep);
  margin-bottom: var(--s3);
}
.group-label::after { content: ''; flex: 1; height: 1px; background: var(--sand); }
.group-count { order: 3; color: var(--ink-muted); font-weight: 400; letter-spacing: 0.1em; }

.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1px; background: var(--sand); border-block: 1px solid var(--sand); }
.format { background: var(--surface); padding: var(--s5) var(--s4) var(--s6); display: flex; flex-direction: column; gap: var(--s2); transition: background-color .5s var(--expo); }
.format:hover { background: var(--surface-raised); }
.formats-warm .format { background: var(--surface-sink); }
.formats-warm .format:hover { background: var(--blush); }

/* ---------- marianatek schedule embed ---------- */
.schedule-embed {
  position: relative;
  min-height: 34rem;
  border: 1px solid var(--sand);
  border-radius: 4px;
  background: var(--surface-raised);
  overflow: hidden;
}
.schedule-embed mariana-element { display: block; width: 100%; }
.schedule-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s3); text-align: center; padding: var(--s4);
  color: var(--ink-muted); font-size: 0.9rem;
  transition: opacity .5s var(--expo);
}
.schedule-embed.is-ready .schedule-fallback { opacity: 0; pointer-events: none; }
.schedule-embed.is-failed .schedule-fallback { opacity: 1; pointer-events: auto; }
.schedule-embed.is-failed .schedule-spinner { display: none; }
/* once the widget is in, let it drive the height */
.schedule-embed.is-ready { min-height: 0; }
.schedule-spinner {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 2px solid var(--sand); border-top-color: var(--clay);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- brand band ---------- */
/* The sign photo is 1405px wide. Run full bleed it was stretched past its own
   pixels and sliced to a 4:1 strip; as a plate it renders at native and keeps
   the wall around the letters, which is most of what makes it read as a wall. */
.band { background: var(--surface-sink); padding-block: var(--pad-base); }
.band-plate {
  width: 100%; max-width: calc(44rem + 2 * var(--gutter));
  margin-inline: auto; padding-inline: var(--gutter);
}
.band img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 48%;
}
.format h3 { font-size: 1.12rem; letter-spacing: 0.02em; font-weight: 700; }
.format p { font-size: 0.95rem; color: var(--ink-muted); }
.format .arrow-link { margin-top: auto; padding-top: var(--s4); align-self: flex-start; }

/* ---------- space / founder split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 60rem) {
  .split { grid-template-columns: 1fr; gap: var(--s5); }
  .split.flip > :first-child { order: 0; }
}
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--s3) var(--s4); margin-top: var(--s5); }
.amenities li { padding-top: var(--s2); border-top: 1px solid var(--sand); font-size: 0.92rem; }

.portrait-frame { position: relative; }
.portrait-frame img { border-radius: 2px; }
.portrait-frame figcaption {
  margin-top: var(--s2); font-size: 0.75rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-muted);
}

/* ---------- faq ---------- */
.faq-item { border-top: 1px solid var(--sand); }
.faq-item:last-child { border-bottom: 1px solid var(--sand); }
.faq-q {
  width: 100%; display: flex; gap: var(--s4); align-items: baseline;
  justify-content: space-between; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding-block: var(--s4);
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.25;
}
.faq-q:hover { color: var(--clay-deep); }
.faq-sign { flex: none; width: 1rem; height: 1rem; position: relative; margin-top: 0.4em; }
.faq-sign::before, .faq-sign::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 1px; background: var(--ink);
  transition: transform .45s var(--expo);
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item[data-open='true'] .faq-sign::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--expo); }
.faq-item[data-open='true'] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: var(--s4); color: var(--ink-muted); }

/* ---------- visit ---------- */
.visit {
  background:
    linear-gradient(color-mix(in oklch, var(--surface) 38%, transparent), color-mix(in oklch, var(--surface) 38%, transparent)),
    url('../assets/img/iridescent-1920.webp?v=f665203256') center / cover;
  color: var(--ink);
}
.visit a:not(.btn) { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.visit .btn-light { background: var(--ink); color: var(--surface); }
.visit .btn-light:hover, .visit .btn-light:focus-visible { color: var(--ink); }
.visit .eyebrow { color: var(--ink); }
.visit .rule { background: color-mix(in oklch, var(--ink) 18%, transparent); }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s5); }
.visit-grid h3 { font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s2); font-weight: 400; }
.visit address { font-style: normal; font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); color: var(--ink); border-top: 1px solid var(--sand); padding-block: var(--s6) var(--s5); }
.site-footer a { color: var(--ink); text-decoration: none; opacity: 0.86; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s4) var(--s5); } }
.footer-grid h3 { font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: var(--s3); opacity: 0.72; font-weight: 400; }
.footer-grid li + li { margin-top: var(--s2); }
.footer-base {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5);
  justify-content: space-between; align-items: center;
  margin-top: var(--s6); padding-top: var(--s4);
  border-top: 1px solid var(--sand);
  font-size: 0.78rem; opacity: 0.8;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translate3d(0, 1.6rem, 0); transition: opacity .9s var(--expo), transform .9s var(--expo); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ============================================================
   Class pages
   ============================================================ */

.crumbs { padding-block: var(--s4) 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5em; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.crumbs li + li::before { content: '/'; margin-right: 0.6em; color: var(--sand); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--clay-deep); }
.crumbs [aria-current] { color: var(--ink); }

.class-hero { padding-block: var(--s5) var(--pad-base); }
.class-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 60rem) { .class-hero-grid { grid-template-columns: 1fr; gap: var(--s5); } }

.class-title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
  line-height: 0.92; letter-spacing: -0.035em; text-transform: lowercase;
  margin-block: var(--s2) var(--s3);
}
.class-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  color: var(--clay-deep); margin-bottom: var(--s4);
}
.badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.badge {
  font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 400;
  padding: 0.45em 0.9em; border-radius: 999px;
  border: 1px solid var(--sand); color: var(--ink-muted);
}
.badge-heat { background: var(--blush); border-color: var(--blush); color: var(--clay-deep); }
.badge-cool { background: var(--irid-1); border-color: var(--irid-1); color: var(--ink); }
.class-vibe { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s2); }
.class-vibe p:not(.lede) { color: var(--ink-muted); }
.class-figure { margin: 0; }
.class-figure img { border-radius: 3px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.benefits-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 54rem) { .benefits-grid { grid-template-columns: 1fr; gap: var(--s4); } }
.benefits { display: grid; gap: 0; }
.benefits li {
  padding-block: var(--s3); border-top: 1px solid var(--sand);
  font-family: var(--serif); font-size: clamp(1.05rem, 0.95rem + 0.55vw, 1.4rem); line-height: 1.3;
}
.benefits li:last-child { border-bottom: 1px solid var(--sand); }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--s4); }
.spec-grid dt { font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--clay-deep); font-weight: 400; margin-bottom: var(--s1); }
.spec-grid dd { margin: 0; font-family: var(--serif); font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); }

.counterpart {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5);
  align-items: center; justify-content: space-between;
  padding: var(--s5); border: 1px solid var(--sand); border-radius: 4px;
  background: var(--surface-raised);
}

.sibs { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1px; background: var(--sand); border-block: 1px solid var(--sand); }
.sib {
  display: flex; flex-direction: column; gap: var(--s2);
  background: var(--surface); padding: var(--s4) var(--s3) var(--s5);
  text-decoration: none; transition: background-color .45s var(--expo);
}
.sib:hover { background: var(--surface-raised); }
.sib-name { font-weight: 700; font-size: 1.05rem; }
.sib-blurb { font-size: 0.9rem; color: var(--ink-muted); }

.cls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1px; background: var(--sand); border: 1px solid var(--sand); }
.cls-card {
  display: flex; flex-direction: column; gap: var(--s2);
  background: var(--surface); padding: var(--s5) var(--s4);
  text-decoration: none; transition: background-color .45s var(--expo), transform .45s var(--expo);
}
.cls-card:hover { background: var(--surface-raised); }
.cls-name { font-weight: 700; font-size: 1.22rem; letter-spacing: -0.01em; }
.cls-tag { font-family: var(--serif); font-style: italic; color: var(--clay-deep); font-size: 0.95rem; }
.cls-blurb { font-size: 0.92rem; color: var(--ink-muted); }
.cls-meta {
  margin-top: auto; padding-top: var(--s3);
  font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted);
}

/* ============================================================
   Long-form pages (studio policies, terms)
   Set in the serif: these are read in paragraphs, not scanned,
   and it keeps the legal pages feeling like part of the brand
   rather than a bolted-on document.
   ============================================================ */
.prose { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.72; }
.prose h2 {
  font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase;
  font-weight: 400; color: var(--clay-deep);
  margin-block: var(--s6) var(--s3);
  padding-top: var(--s4); border-top: 1px solid var(--sand);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { margin-block: 0 var(--s3); max-width: none; }
.prose ul {
  list-style: disc; padding-left: 1.3em;
  margin-block: 0 var(--s3); display: block;
}
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--clay-deep); }

/* ---------- offer landers (/intro) ---------- */
.offer-terms { margin-top: var(--s4); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-muted); }
.visit .offer-terms { color: var(--ink-muted); }
.spice { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s6); }
.spice-card { background: var(--surface-raised); border: 1px solid var(--sand); border-radius: 18px; padding: var(--s5) var(--s4) var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.spice-num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); line-height: 1; background: var(--pearl-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spice-card h3 { font-size: 1.12rem; letter-spacing: 0.02em; font-weight: 700; margin-top: var(--s2); }
.spice-card p { font-size: 0.95rem; color: var(--ink-muted); }
.spice-card .spice-num { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); }
.spice-for { margin-top: auto; padding-top: var(--s4); font-size: 0.72rem !important; letter-spacing: 0.07em; text-transform: uppercase; color: var(--clay-deep) !important; font-weight: 400; }
.lander-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); align-items: end; }
.lander-pair img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; }
.lander-pair img:last-child { margin-bottom: var(--s5); }
@media (max-width: 68rem) { .spice { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .spice { grid-template-columns: 1fr; } }
.spice-meter { display: block; width: 7.3rem; height: auto; margin-bottom: var(--s3); }
.spice-meter .pill { fill: var(--surface); stroke: var(--sand); stroke-width: 1.2; }
.spice-meter .off { fill: none; stroke: #C9BFB0; stroke-width: 1.2; }

/* ---------- custom checkout (/checkout) ---------- */
.checkout { max-width: 34rem; }
.checkout-form { display: grid; gap: var(--s3); }
.checkout-form[hidden] { display: none; }
.checkout-h { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; margin: 0 0 var(--s2); }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.checkout-form label { display: grid; gap: 0.4em; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }
.checkout-form input:not([type=checkbox]) {
  font: inherit; font-weight: 400; font-size: 1rem; letter-spacing: 0;
  padding: 0.85em 0.9em; border: 1px solid var(--sand); border-radius: 2px;
  background: var(--surface-raised); color: var(--ink); width: 100%;
}
.checkout-form input:focus-visible { outline: 2px solid var(--clay); outline-offset: 1px; }
.checkout-check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7em; font-weight: 400; letter-spacing: 0; font-size: 0.9rem; }
.checkout-hint { font-weight: 400; letter-spacing: 0; font-size: 0.85rem; color: var(--ink-muted); }
.checkout-total { display: flex; justify-content: space-between; padding-block: var(--s3); border-block: 1px solid var(--sand); margin: 0; }
.checkout-status { color: var(--ink-muted); margin: 0 0 var(--s3); }
.checkout-status.is-error { color: var(--clay-deep); }
@media (max-width: 30rem) { .checkout-row { grid-template-columns: 1fr; } }

/* class page spice level */
.class-spice { margin-bottom: var(--s5); }
.class-spice ul { list-style: none; padding: 0; margin: var(--s2) 0 var(--s2); display: flex; flex-direction: column; gap: var(--s2); }
.spice-item { display: flex; align-items: center; gap: var(--s2); font-size: 0.92rem; color: var(--ink-muted); }
.spice-item b { color: var(--ink); font-weight: 700; }
.spice-item .spice-meter { width: 5.2rem; margin: 0; }
.class-spice-link { font-size: 0.82rem; color: var(--clay-deep); }
