/* =========================================================
   MĀDA Reformer Studio — styles
   Palette from logo: cream #F2E6D7 · ink #0E0908 · gold #A97E1E
   ========================================================= */

:root {
  --cream: #f2e6d7;
  --cream-2: #eadbc7;
  --sand: #d8c4ab;
  --paper: #f8f1e8;
  --ink: #0e0908;
  --ink-2: #1b1513;
  --ink-3: #2a221e;
  --muted: #6e6158;
  --gold: #a97e1e;
  --gold-2: #c9a24e;
  --gold-3: #e3c98e;

  --serif: "Noto Serif Display", "Times New Roman", serif;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--cream); }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
.h2 em { color: var(--gold); font-weight: 300; }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.eyebrow .line { width: 40px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow--gold { color: var(--gold-2); }

/* Line-mask split helpers (built by JS) */
.sl-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.sl-inner { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 2; display: inline-block; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--cream); }
.btn--gold::before { background: var(--ink); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark::before { background: var(--gold); }

.btn--glass {
  background: rgba(242, 230, 215, .12);
  border-color: rgba(242, 230, 215, .45);
  color: var(--cream);
}
.btn--glass::before { background: var(--cream); }
.btn--glass:hover { color: var(--ink); }

.btn--line { background: transparent; border-color: rgba(242,230,215,.35); color: var(--cream); }
.btn--line::before { background: var(--cream); }
.btn--line:hover { color: var(--ink); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none;
}
html:not(.js) .loader { display: none; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--cream); z-index: 0; }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.loader__figure { width: clamp(150px, 22vw, 260px); opacity: 0; clip-path: inset(0 100% 0 0); }
.loader__word {
  display: flex; gap: .06em; overflow: hidden;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: .12em;
  margin-top: 18px;
}
.loader__word span { display: inline-block; transform: translateY(110%); }
.loader__wave { width: clamp(160px, 22vw, 260px); height: 26px; margin-top: -4px; }
.loader__wave path { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 460; stroke-dashoffset: 460; }
.loader__count {
  margin-top: 26px;
  font-size: .72rem; letter-spacing: .3em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot { display: block; }
}
.cursor {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s var(--ease), border-color .45s;
  mix-blend-mode: normal;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.cursor__label {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--cream); opacity: 0; transition: opacity .3s;
}
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(169,126,30,.12); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden, .cursor-dot.is-hidden, .cursor.is-idle, .cursor-dot.is-idle { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .5s, padding .5s var(--ease), box-shadow .5s;
  color: var(--cream);
}
.nav.is-scrolled {
  background: rgba(242, 230, 215, .96);
  padding-top: 12px; padding-bottom: 12px;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(14,9,8,.06);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { height: 34px; width: auto; transition: filter .5s; filter: invert(92%) sepia(12%) saturate(300%) hue-rotate(340deg) brightness(102%); }
.nav.is-scrolled .nav__mark { filter: none; }
.nav__word { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .14em; font-weight: 400; }
.nav__links { display: flex; gap: 38px; }
.nav__link { position: relative; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; overflow: hidden; display: inline-block; height: 1.6em; }
.nav__link span { display: inline-block; transition: transform .55s var(--ease); }
.nav__link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--gold-2); }
.nav.is-scrolled .nav__link span::after { color: var(--gold); }
.nav__link:hover span { transform: translateY(-100%); }
.nav__cta { height: 46px; padding: 0 24px; font-size: .7rem; }
.nav:not(.is-scrolled) .nav__cta { background: var(--cream); color: var(--ink); }
.nav:not(.is-scrolled) .nav__cta:hover { color: var(--cream); }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; position: relative; z-index: 120; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 46px) 40px);
  transition: clip-path .9s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; }
.menu-open .nav { color: var(--cream); background: transparent; box-shadow: none; }
.menu-open .nav .nav__mark { filter: invert(92%) sepia(12%) saturate(300%) hue-rotate(340deg) brightness(102%); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu__links a:hover { color: var(--gold-2); font-style: italic; }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; letter-spacing: .1em; color: var(--sand); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; background: url("assets/img/studio.jpg") center/cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,9,8,.5) 0%, rgba(14,9,8,.08) 28%, rgba(14,9,8,.3) 55%, rgba(14,9,8,.85) 100%),
    linear-gradient(90deg, rgba(14,9,8,.35) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(169,126,30,.18), transparent 60%);
}
.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(40px, 7vh, 80px);
  max-width: 1500px; margin: 0 auto;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-3);
  margin: 0 0 24px;
}
.hero__eyebrow .line { width: 40px; height: 1px; background: currentColor; }
.hero__title {
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(3rem, 9.2vw, 9.4rem);
  line-height: .98; letter-spacing: -.03em;
  margin: 0 0 clamp(28px, 5vh, 48px);
}
.hero__title em { color: var(--gold-3); font-weight: 200; }
.hero__row { display: block; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero__lead { max-width: 440px; margin: 0; font-size: 1.02rem; color: rgba(242,230,215,.86); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; z-index: 3; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  writing-mode: vertical-rl; color: rgba(242,230,215,.7);
}
.hero__scroll i { width: 1px; height: 70px; background: rgba(242,230,215,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold-2); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Statement ---------- */
.statement { position: relative; padding: clamp(110px, 18vh, 200px) 0; overflow: hidden; }
.statement .container { position: relative; }
.statement__wave { position: absolute; left: 0; top: 12%; width: 100%; height: 200px; pointer-events: none; }
.statement__wave path { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .55; }
.statement__text {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  line-height: 1.18; letter-spacing: -.015em;
  max-width: 1150px; margin: 0;
}
.statement__text .w { color: rgba(14,9,8,.14); transition: color .3s; }
.statement__text .w.is-on { color: var(--ink); }
.statement__text .w.gold.is-on { color: var(--gold); font-style: italic; }
.statement__float { position: absolute; margin: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; z-index: 1; box-shadow: 0 30px 60px -30px rgba(14,9,8,.35); }
.statement__float img { width: 100%; height: 100%; object-fit: cover; }
.statement__float--a { width: clamp(110px, 13vw, 190px); aspect-ratio: 3/4; right: 4%; top: -60px; }
.statement__float--b { width: clamp(90px, 10vw, 150px); aspect-ratio: 3/4; right: 12%; bottom: -230px; border-radius: 18px 18px 999px 999px; }

/* ---------- Image reveal ---------- */
.reveal-img { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius); background: var(--cream-2); }
.reveal-img img { width: 100%; height: 118%; object-fit: cover; }

/* ---------- Pillars ---------- */
.pillars { padding: 0 0 clamp(90px, 14vh, 160px); }
.pillars__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.pillars__img--tall { aspect-ratio: 4/5; border-radius: 999px 999px var(--radius) var(--radius); }
.pillars__img--small { aspect-ratio: 4/3; margin-top: 50px; width: 78%; margin-left: auto; }
.pillars__list { padding-top: clamp(20px, 8vw, 120px); }
.pillar {
  display: grid; grid-template-columns: 70px 1fr; gap: 20px;
  padding: 30px 0; border-top: 1px solid rgba(14,9,8,.14);
  transition: padding .5s var(--ease);
}
.pillar:last-of-type { border-bottom: 1px solid rgba(14,9,8,.14); }
.pillar:hover { padding-left: 14px; }
.pillar__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; padding-top: 8px; }
.pillar h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 4px; line-height: 1.1; }
.pillar p { margin: 0; color: var(--muted); max-width: 380px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); padding: 30px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 48px; will-change: transform; }
.marquee span { font-family: var(--serif); font-weight: 200; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1; }
.marquee em { color: var(--gold-2); }
.marquee b { color: var(--gold); font-weight: 400; font-size: 1.4rem; }

/* ---------- Services ---------- */
.services { background: var(--paper); padding: clamp(100px, 16vh, 170px) 0; }
.services__head { margin-bottom: clamp(40px, 7vh, 70px); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.svc--alt { margin-top: clamp(0px, 12vw, 160px); }
.svc__img { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--cream-2); border-radius: 999px 999px var(--radius) var(--radius); }
.svc--alt .svc__img { border-radius: var(--radius) var(--radius) 999px 999px; }
.svc__img img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; }
.svc__img { transition: transform 1s var(--ease); }
.svc:hover .svc__img { transform: scale(.985); }
.svc__body { padding: 30px 4px 0; }
.svc__meta { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding-bottom: 14px; border-bottom: 1px solid rgba(14,9,8,.14); }
.svc h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; margin: 22px 0 14px; }
.svc h3 em { color: var(--gold); }
.svc p { margin: 0 0 22px; color: var(--muted); max-width: 520px; }
.svc__list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__list li { font-size: .78rem; letter-spacing: .04em; padding: 8px 14px; border: 1px solid rgba(169,126,30,.4); border-radius: 999px; color: var(--ink); }

/* ---------- Instructor ---------- */
.instructor { padding: clamp(100px, 16vh, 180px) 0; }
.instructor__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.instructor__visual { position: relative; }
.instructor__img { aspect-ratio: 4/5; border-radius: var(--radius) var(--radius) 999px 999px; }
.instructor__badge { position: absolute; right: -40px; top: 40px; width: 150px; height: 150px; display: grid; place-items: center; background: var(--cream); border-radius: 50%; box-shadow: 0 20px 50px -20px rgba(14,9,8,.3); }
.instructor__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.instructor__badge text { font-size: 13.4px; letter-spacing: 3.2px; fill: var(--ink); font-family: var(--sans); font-weight: 500; }
.instructor__badge img { width: 58px; }
@keyframes spin { to { transform: rotate(360deg); } }
.instructor__text p { color: var(--muted); max-width: 520px; font-size: 1.04rem; }
.quote {
  margin: 36px 0 40px; padding: 4px 0 4px 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.35;
}
.quote em { color: var(--gold); }

/* ---------- Booking ---------- */
.booking { position: relative; background: var(--ink); color: var(--cream); padding: clamp(100px, 16vh, 170px) 0; overflow: hidden; border-radius: 40px 40px 0 0; }
.booking__bg { position: absolute; right: -6%; top: 6%; width: min(70vw, 900px); opacity: .05; pointer-events: none; }
.booking__head { margin-bottom: 56px; }
.booker {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px);
  padding: clamp(22px, 3.5vw, 50px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(242,230,215,.07), rgba(242,230,215,.02));
  border: 1px solid rgba(242,230,215,.1);
}
.booker__block + .booker__block { margin-top: 36px; }
.booker__step {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 300; font-size: 1.6rem;
  margin: 0 0 18px;
}
.booker__step span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--gold-2); border: 1px solid rgba(201,162,78,.5); border-radius: 999px; padding: 4px 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid rgba(242,230,215,.22); background: transparent;
  border-radius: 999px; padding: 11px 18px;
  font-size: .82rem; letter-spacing: .04em; color: var(--cream);
  transition: background .35s, border-color .35s, color .35s, transform .35s var(--ease);
}
.chip:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--cream); }

.cal { border: 1px solid rgba(242,230,215,.1); border-radius: 20px; padding: 18px; background: rgba(0,0,0,.18); }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal__head strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; text-transform: capitalize; }
.cal__nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(242,230,215,.2); background: transparent; font-size: 1.2rem; line-height: 1; transition: background .3s, border-color .3s; }
.cal__nav:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,230,215,.45); padding: 6px 0; }
.cal__day {
  aspect-ratio: 1; border-radius: 50%; border: 1px solid transparent; background: transparent;
  font-size: .9rem; color: var(--cream);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.cal__day:hover:not(:disabled) { border-color: var(--gold-2); transform: scale(1.06); }
.cal__day:disabled { color: rgba(242,230,215,.2); cursor: default; }
.cal__day.is-today { border-color: rgba(242,230,215,.3); }
.cal__day.is-active { background: var(--gold); border-color: var(--gold); color: var(--cream); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; min-height: 60px; }
.slots__empty { grid-column: 1 / -1; margin: 0; color: rgba(242,230,215,.5); font-size: .92rem; }
.slot {
  border: 1px solid rgba(242,230,215,.18); background: transparent; color: var(--cream);
  border-radius: 12px; padding: 12px 0; font-size: .88rem; font-variant-numeric: tabular-nums;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.slot:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.slot.is-active { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.form { margin-top: 34px; }
.summary { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 16px; background: rgba(169,126,30,.12); border: 1px solid rgba(169,126,30,.35); margin-bottom: 22px; }
.summary__label { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.summary strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid rgba(242,230,215,.25);
  padding: 22px 0 10px; font: inherit; font-size: 1rem; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field span { position: absolute; left: 0; top: 20px; font-size: .95rem; color: rgba(242,230,215,.55); pointer-events: none; transition: transform .35s var(--ease), font-size .35s var(--ease), color .35s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--gold-2); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.form__error { min-height: 1.3em; color: #e8a27c; font-size: .88rem; margin: 4px 0 10px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__note { font-size: .82rem; color: rgba(242,230,215,.5); margin: 16px 0 0; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--cream); padding: 40px 0 clamp(90px, 14vh, 150px); }
.contact .eyebrow { color: var(--gold-2); }
.contact .h2 em { color: var(--gold-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; border-top: 1px solid rgba(242,230,215,.1); padding-top: clamp(70px, 10vh, 110px); }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { padding: 18px 0; border-bottom: 1px solid rgba(242,230,215,.1); display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.contact__list span { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(242,230,215,.5); }
.contact__list a, .contact__list p { margin: 0; font-size: 1.05rem; word-break: break-word; }
.u-link { background: linear-gradient(var(--gold-2), var(--gold-2)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; padding-bottom: 2px; }
.u-link:hover { background-size: 100% 1px; color: var(--gold-3); }
.contact__map { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--ink-2); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.35) contrast(.95) brightness(.85); transition: filter .6s; }
.contact__map:hover iframe { filter: grayscale(.2) sepia(.1); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); overflow: hidden; }
.footer__cta { padding: 40px var(--gutter) 60px; border-top: 1px solid rgba(242,230,215,.1); padding-top: clamp(80px, 12vh, 130px); }
.footer__big {
  display: inline-flex; align-items: baseline; gap: .25em; flex-wrap: wrap;
  font-family: var(--serif); font-weight: 200; font-size: clamp(3.2rem, 11vw, 11rem); line-height: 1; letter-spacing: -.03em;
}
.footer__big em { color: var(--gold-2); }
.footer__big i { font-style: normal; font-size: .5em; display: inline-block; transition: transform .7s var(--ease); color: var(--gold-2); }
.footer__big:hover i { transform: translate(20px, -10px) rotate(-30deg); }
.footer__word { padding: 0 var(--gutter); display: flex; justify-content: center; opacity: .95; }
.footer__word img { width: min(560px, 80vw); }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 40px; padding-bottom: 36px; font-size: .8rem; color: rgba(242,230,215,.55); letter-spacing: .06em; }
.footer__bar p { margin: 0; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--gold-2); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  display: none; text-align: center;
  background: var(--gold); color: var(--cream);
  padding: 17px; border-radius: 999px;
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 16px 40px -10px rgba(14,9,8,.45);
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300;
  transform: translate(-50%, 160%);
  background: var(--cream); color: var(--ink);
  padding: 16px 26px; border-radius: 999px;
  font-size: .92rem; box-shadow: 0 20px 50px -15px rgba(0,0,0,.4);
  transition: transform .6s var(--ease);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 500; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 860px) { .grain { display: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__scroll { display: none; }
  .instructor__badge { right: 10px; top: -30px; width: 120px; height: 120px; }
  .instructor__badge img { width: 46px; }
}

@media (max-width: 860px) {
  body { font-size: 15px; }
  .pillars__grid, .instructor__grid, .contact__grid, .booker { grid-template-columns: 1fr; }
  .pillars__list { padding-top: 0; }
  .pillars__img--small { width: 100%; margin-top: 30px; }
  .services__grid { grid-template-columns: 1fr; gap: 70px; }
  .svc--alt { margin-top: 0; }
  .statement__float--a { top: -90px; right: 6%; }
  .statement__float--b { display: none; }
  .booking { border-radius: 28px 28px 0 0; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .sticky-cta { display: block; }
  .footer__bar { padding-bottom: 100px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 520px) {
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 4rem); }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .btn { height: 52px; padding: 0 24px; font-size: .72rem; }
  .form__actions .btn { width: 100%; }
  .booker { padding: 18px; border-radius: 22px; }
  .cal { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}

/* ---------- Live booking ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.2; }
.slot small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
.slot.is-active small { color: var(--gold); }
.slot.is-taken { opacity: .38; cursor: not-allowed; border-style: dashed; }
.slot.is-taken span { text-decoration: line-through; }
.slot.is-taken small { color: rgba(242,230,215,.7); }
.slot.is-taken:hover { transform: none; border-color: rgba(242,230,215,.18); }

.btn.is-busy { pointer-events: none; }
.btn.is-busy span { opacity: 0; }
.btn.is-busy::after {
  content: ""; position: absolute; z-index: 3; left: 50%; top: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2px solid rgba(242,230,215,.35); border-top-color: var(--cream); border-radius: 50%;
  animation: spin .8s linear infinite;
}

.booker__done {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px 20px; border-radius: inherit;
  background: radial-gradient(ellipse at 50% 30%, #2a201a 0%, var(--ink) 70%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.booker__done[hidden] { display: none; }
.booker__done.is-on { opacity: 1; }
.booker__done .eyebrow { margin: 22px 0 10px; }
.done__check { width: 96px; height: 96px; }
.done__check circle, .done__check path { fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle { stroke-dasharray: 340; stroke-dashoffset: 340; opacity: .5; }
.done__check path { stroke-dasharray: 80; stroke-dashoffset: 80; stroke-width: 4; }
.booker__done.is-on circle { animation: draw 1s var(--ease) .1s forwards; }
.booker__done.is-on path { animation: draw .6s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin: 0 0 12px; }
.done__title em { color: var(--gold-2); }
.done__when { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 10px; color: var(--cream); }
.done__text { color: rgba(242,230,215,.6); max-width: 420px; margin: 0 0 26px; }
.done__text a { color: var(--gold-2); }
.done__actions { justify-content: center; }
.booker__done > * { opacity: 0; transform: translateY(16px); }
.booker__done.is-on > * { animation: rise .8s var(--ease) forwards; }
.booker__done.is-on > *:nth-child(2) { animation-delay: .5s; }
.booker__done.is-on > *:nth-child(3) { animation-delay: .6s; }
.booker__done.is-on > *:nth-child(4) { animation-delay: .7s; }
.booker__done.is-on > *:nth-child(5) { animation-delay: .8s; }
.booker__done.is-on > *:nth-child(6) { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }
