/* ------------------------------------------------------------------
   Amanda Joy · Joyful Radiance
   Ethereal, airy, editorial. Plum canvas, bone type, lilac accent.
   Dark only — deep plum canvas, cream line art, lilac accents.
------------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* canvas */
  --bg: #1C1420;
  --bg-2: #231A28;
  --bg-rgb: 28, 20, 32;

  /* type */
  --ink: #F3ECE6;
  --ink-rgb: 243, 236, 230;
  --ink-soft: rgba(var(--ink-rgb), 0.74);
  --ink-mute: rgba(var(--ink-rgb), 0.5);
  --line: rgba(var(--ink-rgb), 0.14);

  /* brand */
  --plum: #C9A9DA;           /* primary accent: links, italics, lines */
  --plum-deep: #A98AC0;
  --plum-rgb: 201, 169, 218;
  --mauve: #8E6B82;          /* the card's dusty mauve */
  --mauve-rgb: 142, 107, 130;
  --lilac: #CDB6D8;          /* glow */
  --lilac-rgb: 205, 182, 216;
  --wash: #2B2030;           /* tinted surface */
  --cream: #E9D7A8;          /* the card's cream-gold */
  --cream-rgb: 233, 215, 168;

  --mandala: var(--cream);
  --mandala-heart: var(--cream);
  --aurora-1: rgba(var(--mauve-rgb), 0.55);
  --aurora-2: rgba(var(--cream-rgb), 0.18);
  --aurora-3: rgba(var(--lilac-rgb), 0.25);

  --on-accent: #1C1420;
  --nav-bg: rgba(var(--bg-rgb), 0.7);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);

  /* testimonials section: a shade deeper */
  --words-bg: #120C16;
  --words-ink: #F6F0EA;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --font-hand: 'Delius', 'Jost', cursive;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: #1C1420; }

/* Grain overlay: a whisper of texture so the flat canvas never feels sterile */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: screen;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--plum);
}
.display {
  font-family: var(--font-display); font-weight: 300; line-height: 0.98;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; font-weight: 300; color: var(--plum); }
h2.display { font-size: clamp(40px, 6vw, 84px); }
.lead {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3; color: var(--ink);
}
.lead em { font-style: italic; color: var(--plum); }
p { max-width: var(--measure); color: var(--ink-soft); }
p + p { margin-top: 1.1em; }

/* ---------- Layout ---------- */
.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 10vw, 136px); position: relative; overflow-x: clip; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 104px); }
.section-head .eyebrow { display: flex; align-items: center; gap: 14px; }
.section-head .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--plum); }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  cursor: pointer; background: transparent;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn--violet { background: var(--plum); border-color: var(--plum); color: var(--on-accent); }
.btn--violet::before { background: var(--plum-deep); }
.btn--violet:hover { color: var(--on-accent); }
.btn--sm { padding: 11px 18px; font-size: 10.5px; letter-spacing: 0.18em; gap: 9px; }
.btn .arrow { transition: transform 0.5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }


/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.5s var(--ease-out), background 0.5s, backdrop-filter 0.5s;
}
.nav.is-scrolled {
  padding-block: 14px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-name { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: 0.02em; }
.brand-name em { font-style: italic; color: var(--plum); }
.brand-tag { font-family: var(--font-hand); font-size: 14px; color: var(--ink-mute); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400;
  position: relative; padding-block: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--plum); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none; background: none; border: 0; border-radius: 12px;
  cursor: pointer; width: 54px; height: 54px; margin-right: -6px;
  flex-direction: column; justify-content: center; gap: 7px; align-items: center;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background 0.3s;
}
.nav-toggle:active { background: rgba(var(--ink-rgb), 0.1); }
.nav-toggle span { width: 26px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.4s var(--ease-out), opacity 0.3s; pointer-events: none; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  --msize: clamp(480px, 64vmin, 800px);
  min-height: 100svh; display: grid; align-content: end; justify-items: center;
  padding: calc(var(--msize) * 0.96) var(--gutter) clamp(72px, 10vh, 120px);
  position: relative; overflow: hidden; text-align: center;
}
.aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: 0.9; }
.aurora span {
  position: absolute; border-radius: 50%;
  animation: drift var(--t, 26s) var(--ease-in-out) infinite alternate;
}
.aurora .a1 { width: 56vw; height: 56vw; left: 6%; top: 8%; background: radial-gradient(circle, var(--aurora-1), transparent 65%); --t: 28s; }
.aurora .a2 { width: 44vw; height: 44vw; right: 4%; top: 22%; background: radial-gradient(circle, var(--aurora-2), transparent 65%); --t: 34s; animation-delay: -12s; }
.aurora .a3 { width: 40vw; height: 40vw; left: 38%; bottom: -4%; background: radial-gradient(circle, var(--aurora-3), transparent 65%); --t: 31s; animation-delay: -20s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vw, -6vh, 0) scale(1.15); }
}

/* The mandala: hangs from the top edge like the card, half-cropped */
.mandala-wrap {
  position: absolute; z-index: 0; left: 50%; top: calc(var(--msize) * -0.28);
  width: var(--msize); aspect-ratio: 1120 / 1320; transform: translateX(-50%);
  perspective: 1400px; pointer-events: none;
}
.mandala-tilt {
  width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform;
  animation: breathe 11s var(--ease-in-out) infinite alternate;
}
@keyframes breathe { from { scale: 1; } to { scale: 1.035; } }
.mandala {
  width: 100%; height: 100%; display: block; overflow: visible;
  color: var(--mandala); opacity: 0.9;
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round;
}
.mandala .heart { fill: var(--mandala-heart); stroke: none; opacity: 0; transition: opacity 1.6s var(--ease-out) 1.2s; }
.is-ready .mandala .heart { opacity: 1; }
.mandala .draw { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset 2.4s var(--ease-out), opacity 2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .mandala .draw { stroke-dashoffset: 0; opacity: 1; }
.mandala .petal { fill: var(--bg); fill-opacity: 0; transition: stroke-dashoffset 2.4s var(--ease-out), fill-opacity 1.4s var(--ease-out), opacity 2s var(--ease-out); transition-delay: var(--d, 0s), var(--df, 0s), var(--d, 0s); }
.is-ready .mandala .petal { fill-opacity: 0.88; }
.mandala .dot { opacity: 0; transition: opacity 1s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .mandala .dot { opacity: 1; }
.mandala .sway { animation: sway var(--sway, 14s) var(--ease-in-out) infinite alternate; }
.mandala .sway.rev { animation-direction: alternate-reverse; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.mandala .ring { transform: rotate(calc(var(--mx, 0) * var(--k, 4deg))); transition: transform 0.9s var(--ease-out); }
/* Fade the mandala into the canvas so it never fights the headline */
.hero::before {
  content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--msize) * 1.02);
  background: linear-gradient(180deg, transparent 68%, var(--bg) 100%); pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; width: 100%; max-width: 1100px; min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; white-space: nowrap; gap: 10px 16px; }
.hero .eyebrow i { display: block; width: 36px; height: 1px; background: var(--plum); opacity: 0.6; }
.hero .eyebrow b { font-weight: 400; }
.hero .eyebrow span { opacity: 0.5; margin-inline: 4px; }
.hero-title { font-size: clamp(44px, 8.4vw, 124px); overflow-wrap: anywhere; }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .word > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.hero-sub { max-width: 54ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); margin-top: 6px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 12px; z-index: 2;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute);
}
.hero-scroll i { width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll i::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 50%;
  background: var(--plum); animation: scrollPulse 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollPulse { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

/* fade-up for staggered hero bits */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .fade-up { opacity: 1; transform: none; }

@media (min-width: 1024px) {
  /* Desktop: a split. Headline on the left over clean canvas, the mandala
     large on the right, cropped by the top and right edges — nothing
     overlaps, so the type stays readable and the drawing stays strong. */
  .hero { --msize: min(70vw, 1200px); min-height: 100svh; align-content: center; justify-items: start;
    padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(96px, 14vh, 160px); text-align: left; }
  .hero-inner { justify-items: start; max-width: 600px; gap: 26px; }
  .hero .eyebrow { justify-content: flex-start; }
  .hero .eyebrow i:first-child { display: none; }
  .hero-actions { justify-content: flex-start; }
  .hero-title { font-size: clamp(64px, 6.6vw, 104px); }
  .mandala-wrap { left: auto; right: calc(var(--msize) * -0.2); top: calc(var(--msize) * -0.22); transform: none; }
  .mandala { opacity: 0.8; }
  .hero::before { height: 100svh; background: linear-gradient(180deg, transparent 58%, var(--bg) 100%); }
  .hero-inner::before {
    content: ''; position: absolute; z-index: -1; left: -14%; right: -24%; top: -18%; bottom: -18%;
    background: radial-gradient(ellipse at 40% 50%, rgba(var(--bg-rgb), 0.9) 0%, rgba(var(--bg-rgb), 0.55) 45%, transparent 72%);
    pointer-events: none;
  }
  .nav { transition: padding 0.5s var(--ease-out), background 0.5s, backdrop-filter 0.5s, opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
  .nav:not(.is-scrolled) { opacity: 0; transform: translateY(-10px); pointer-events: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 22px; overflow: hidden; white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 300;
  padding-inline: 34px; display: inline-flex; align-items: center; gap: 34px; color: var(--ink-soft);
}
.marquee-track span::after { content: '✦'; font-size: 11px; color: var(--plum); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 128px); align-items: center; }
.portrait { position: relative; }
.portrait-frame {
  position: relative; border-radius: 999px 999px 24px 24px; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--wash);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.08); will-change: transform; }
.portrait-orb {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--aurora-1), transparent 70%);
  filter: blur(30px); right: -18%; top: -10%;
}
.portrait-caption {
  position: absolute; left: -8%; bottom: 10%; background: var(--bg); border: 1px solid var(--line);
  padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow);
  max-width: 220px;
}
.portrait-caption b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.2; }
.portrait-caption small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

.about-copy { display: grid; gap: 28px; }
.about-copy .lead { margin-bottom: 8px; }
.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pillars li {
  list-style: none; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.pillars li:hover { border-color: var(--plum); color: var(--plum); background: var(--wash); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); }
.stat { padding: 36px 28px 36px 0; border-bottom: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; color: var(--ink); }
.stat b em { font-style: italic; color: var(--plum); }
.stat span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Photo treatment: one voice for very different photos ----------
   Saturation pulled down and the card's mauve laid over with the `color`
   blend, so every image sits in the same plum family. Hover (or the frame
   nearest centre on a phone) lets the real colour bloom back in. */
.tint { position: relative; overflow: hidden; border-radius: 16px; background: var(--wash); isolation: isolate; }
.tint img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.55) contrast(1.04) brightness(0.9);
  transform: scale(1.03); transition: filter 1.2s var(--ease-out), transform 1.8s var(--ease-out); }
.tint::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgb(var(--mauve-rgb)); mix-blend-mode: color; opacity: 0.52; transition: opacity 1.2s var(--ease-out); }
.tint::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(28,20,32,0.05) 50%, rgba(28,20,32,0.72) 100%); }
.tint figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; display: grid; gap: 2px; color: var(--ink); }
.tint figcaption b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.1; }
.tint figcaption span { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(var(--ink-rgb), 0.6); }
.tint figcaption:not(:has(b)) { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--ink-rgb), 0.75); }
.tint:hover img, .tint.live img, .tint:focus-within img { filter: none; transform: scale(1.0); }
.tint:hover::before, .tint.live::before, .tint:focus-within::before { opacity: 0; }

/* ---------- Practice filmstrip ---------- */
.practice { padding-bottom: clamp(72px, 10vw, 140px); }
.practice .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.strip { cursor: grab;
  --h: clamp(340px, 58vh, 560px);
  display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; padding: 4px var(--gutter) 12px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; outline: none;
}
.strip::-webkit-scrollbar { display: none; }
.frame { flex: 0 0 auto; height: var(--h); scroll-snap-align: center; margin: 0; }
.frame.reveal { transform: none; }
.frame.wide { width: calc(var(--h) * 1.35); }
.frame.tall { width: calc(var(--h) * 0.72); }
.frame.square { width: calc(var(--h) * 1.05); }
@media (max-width: 840px) {
  .strip { --h: clamp(300px, 52vh, 460px); gap: 10px; }
  .frame.wide { width: min(calc(var(--h) * 1.35), 86vw); }
}

/* ---------- Proof collage (testimonials) ---------- */
.proof { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 12px; margin-bottom: clamp(48px, 7vw, 96px); }
.proof figure { height: clamp(240px, 34vw, 420px); }
.words .tint figcaption { color: var(--words-ink); }
@media (max-width: 840px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof .proof-wide { grid-column: 1 / 3; height: 56vw; }
  .proof figure { height: 58vw; }
}

/* ---------- Offerings ---------- */
.offerings { background: var(--bg-2); }
.offer-list { list-style: none; border-top: 1px solid var(--line); }
.offer {
  display: grid; grid-template-columns: 80px 1.1fr 1fr auto; gap: clamp(20px, 4vw, 64px);
  align-items: start; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line);
  position: relative; cursor: default;
}
.offer::before {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--plum); transition: width 0.8s var(--ease-out);
}
.offer:hover::before { width: 100%; }
.offer-num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--plum); padding-top: 0.5em; }
.offer-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; transition: transform 0.6s var(--ease-out); }
.offer:hover .offer-title { transform: translateX(10px); }
.offer-title small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); margin-top: 14px; }
.offer-body p { font-size: 15px; }
.offer-body ul { list-style: none; margin-top: 18px; display: grid; gap: 6px; }
.offer-body li { font-size: 13px; color: var(--ink-mute); display: flex; gap: 10px; align-items: baseline; }
.offer-body li::before { content: '—'; color: var(--plum); }
.offer-link { align-self: start; margin-top: 0.4em; white-space: nowrap; }

/* ---------- Weekly classes ---------- */
.inline-link { color: var(--plum); border-bottom: 1px solid rgba(var(--plum-rgb), 0.4); transition: border-color 0.3s; }
.inline-link:hover { border-color: var(--plum); }
.offer-links { display: flex; flex-wrap: wrap; gap: 10px; white-space: normal; }
@media (min-width: 1024px) { .offer-links { flex-direction: column; align-items: flex-start; } }
/* The week: mobile-first. Day is the section, time is the anchor,
   class name beside it, studio muted underneath. */
.week { display: grid; gap: 8px; max-width: 980px; }
.day { border-top: 1px solid var(--line); padding: 22px 0 10px; }
.day-name {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--plum);
  margin-bottom: 6px;
}
.day-name::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.day-classes { list-style: none; }
.class {
  display: grid; grid-template-columns: 96px 1fr; gap: 0 16px; align-items: baseline;
  padding: 14px 0;
}
.class + .class { border-top: 1px dashed var(--line); }
.class-time { font-family: var(--font-display); font-size: 30px; font-weight: 300; line-height: 1; color: var(--ink); white-space: nowrap; }
.class-time span { font-size: 13px; font-family: var(--font-body); letter-spacing: 0.1em; color: var(--ink-mute); margin-left: 4px; }
.class-info { display: grid; gap: 4px; min-width: 0; }
.class-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; line-height: 1.15; }
.class-where { font-size: 13px; color: var(--ink-mute); max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.flame { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: var(--cream); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; overflow: visible; }
.flame .flame-inner { fill: var(--cream); stroke: none; transform-origin: 12px 19px; animation: flicker 1.7s var(--ease-in-out) infinite; }
.flame .flame-outer { animation: flicker-outer 2.3s var(--ease-in-out) infinite; transform-origin: 12px 20px; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0deg); } 35% { transform: scale(1.12, 1.18) rotate(-3deg); } 70% { transform: scale(0.96, 1.05) rotate(3deg); } }
@keyframes flicker-outer { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.03); } }
/* Heated rows: the row itself runs warm — ember glow from the left,
   cream shimmer on the time, flame tucked beside it. */
.class.is-heated { position: relative; isolation: isolate; }
.class.is-heated::before {
  content: ''; position: absolute; inset: 2px -14px; z-index: -1; border-radius: 14px; pointer-events: none;
  background:
    radial-gradient(70% 140% at 0% 50%, rgba(var(--cream-rgb), 0.13), transparent 70%),
    linear-gradient(90deg, rgba(var(--cream-rgb), 0.05), transparent 60%);
  animation: ember 5s var(--ease-in-out) infinite alternate;
}
.class.is-heated::after {
  content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--cream), transparent); opacity: 0.7;
  animation: ember 3.6s var(--ease-in-out) infinite alternate-reverse;
}
@keyframes ember { from { opacity: 0.55; } to { opacity: 1; } }
.class.is-heated .class-time {
  background: linear-gradient(90deg, var(--cream) 0%, #FFF4CF 45%, var(--cream) 60%, #D9C28C 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
.class.is-heated .class-time span { -webkit-text-fill-color: var(--ink-mute); color: var(--ink-mute); }
@keyframes shimmer { to { background-position: -250% 0; } }
.ember {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream); vertical-align: -6px; margin-right: 6px;
  box-shadow: 0 0 0 1px rgba(var(--cream-rgb), 0.25), 0 0 14px rgba(var(--cream-rgb), 0.25);
}
.ember .flame { width: 14px; height: 14px; stroke: none; }
.ember .flame-outer { fill: var(--bg); animation: none; }
.ember .flame-inner { fill: var(--cream); }
.class.is-heated .ember { animation: emberGlow 3.2s var(--ease-in-out) infinite alternate; }
@keyframes emberGlow { from { box-shadow: 0 0 0 1px rgba(var(--cream-rgb), 0.25), 0 0 8px rgba(var(--cream-rgb), 0.15); } to { box-shadow: 0 0 0 1px rgba(var(--cream-rgb), 0.35), 0 0 18px rgba(var(--cream-rgb), 0.45); } }
.heat-word { white-space: nowrap; color: var(--cream); opacity: 0.85; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10.5px; font-weight: 500; }
.heat-word { display: inline-flex; align-items: center; margin-left: auto; }
.heat-word .ember { margin-right: 7px; }

@media (min-width: 840px) {
  .week { gap: 0; }
  .day { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 28px 0; }
  .day-name { font-family: var(--font-display); font-size: 28px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0; padding-top: 2px; }
  .day-name::after { display: none; }
  .class { grid-template-columns: 120px 1fr; gap: 0 28px; padding: 10px 0; }
  .class:first-child { padding-top: 0; }
  .class-time { font-size: 32px; }
}


/* ---------- Retreats ---------- */
.retreat-card.feature { grid-column: 1 / 13; }
.diptych { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(10px, 1.5vw, 20px); }
.diptych .retreat-media { aspect-ratio: 3 / 2; }
.diptych .retreat-media + .retreat-media { aspect-ratio: auto; }
@media (max-width: 840px) {
  .diptych { grid-template-columns: 1fr; }
  .diptych .retreat-media + .retreat-media { aspect-ratio: 4 / 3; }
}
.retreat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 40px); }
.retreat-card { position: relative; display: grid; gap: 20px; }
.retreat-media { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 11; background: var(--wash); }
.retreat-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); will-change: transform; }
.retreat-card:hover .retreat-media img { transform: scale(1.1); }
.retreat-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,22,32,0) 55%, rgba(29,22,32,0.45));
}
.retreat-badge {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px;
  background: rgba(var(--bg-rgb), 0.85); backdrop-filter: blur(8px); color: var(--ink);
}
.retreat-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.retreat-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.retreat-name em { font-style: italic; color: var(--plum); }
.retreat-when { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.retreat-card p { font-size: 15px; }
.retreat-next {
  grid-column: 3 / 11; margin-top: clamp(24px, 4vw, 64px);
  border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: linear-gradient(135deg, var(--wash), transparent 60%);
}
.retreat-next .retreat-name { font-size: clamp(30px, 3.4vw, 48px); }

/* ---------- Words / testimonials (always dark) ---------- */
.words { background: var(--words-bg); color: var(--words-ink); overflow: hidden; }
.words .eyebrow { color: var(--lilac); }
.words .section-head .eyebrow::before { background: var(--lilac); }
.words .display em { color: var(--lilac); }
.words p { color: rgba(246,240,234,0.72); }
.words-glow {
  position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--mauve-rgb),0.6), transparent 65%); filter: blur(60px);
  right: -20%; top: -20%; pointer-events: none;
}
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); position: relative; }
.quote { display: grid; gap: 24px; padding-top: 36px; border-top: 1px solid rgba(246,240,234,0.14); }
.quote-mark { font-family: var(--font-display); font-size: 96px; line-height: 0.5; color: var(--lilac); opacity: 0.8; }
.quote-lead { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.25; color: var(--words-ink); }
.quote-body { font-size: 15px; }
.quote-who { display: grid; gap: 4px; margin-top: 8px; }
.quote-who b { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.quote-who span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lilac); opacity: 0.8; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; padding-block: clamp(140px, 20vw, 300px); }
.manifesto .eyebrow { margin-bottom: clamp(36px, 5vw, 64px); }
.manifesto .lead {
  font-style: italic; font-weight: 300; font-size: clamp(40px, 7vw, 108px);
  line-height: 1.18; letter-spacing: -0.01em; word-spacing: 0.08em;
  max-width: 30ch; margin-inline: auto; text-wrap: balance;
}
.manifesto .lead .w {
  display: inline-block; opacity: 0.14; transform: translateY(0.12em);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out), color 0.7s var(--ease-out);
}
.manifesto .lead .w.on { opacity: 1; transform: none; }
/* the verbs step out of the italic: upright, a touch heavier, lilac */
.manifesto .lead .w-em { font-style: normal; font-weight: 400; color: var(--ink); }
.manifesto .lead .w-em.on { color: var(--plum); }

/* ---------- Connect ---------- */
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 128px); align-items: start; }
.connect-aside { display: grid; gap: 32px; position: sticky; top: 120px; }
.connect-aside dl { display: grid; gap: 22px; }
.connect-aside dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.connect-aside dd { font-family: var(--font-display); font-size: 24px; font-weight: 300; }
.connect-aside dd a { border-bottom: 1px solid var(--line); transition: border-color 0.4s, color 0.4s; }
.connect-aside dd a:hover { border-color: var(--plum); color: var(--plum); }

.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; position: relative; }
.field label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 12px 0; font-size: 18px; font-weight: 300; border-radius: 0; outline: none;
  transition: border-color 0.4s;
  font-family: var(--font-display);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { color: var(--ink); background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); }
.field::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { font-size: 12px; color: var(--ink-mute); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-grid .brand-name { font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; justify-content: center; }
.footer-links a { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); transition: color 0.3s; }
.footer-links a:hover { color: var(--plum); }
.footer-note { text-align: right; font-family: var(--font-hand); font-size: 15px; color: var(--ink-mute); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.97); transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .offer { grid-template-columns: 56px 1fr; }
  .offer-body { grid-column: 2; }
  .offer-link { grid-column: 2; margin-top: 6px; justify-self: start; }
  .retreat-next { grid-column: 1 / 13; }
}
@media (max-width: 840px) {
  .hero { --msize: clamp(400px, 104vw, 560px); }
  .hero .eyebrow i { display: none; }
  .hero .eyebrow { letter-spacing: 0.24em; flex-wrap: wrap; white-space: normal; }
  .nav-links { position: fixed; inset: 0; background: var(--bg); display: grid; align-content: center; justify-items: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: -1; }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  /* An open menu must escape the glass bar: a backdrop-filter on the nav
     would become the containing block for the fixed full-screen panel */
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); border-bottom-color: transparent; transition: none; }
  body.menu-open { overflow: hidden; }
  .nav-links a { font-family: var(--font-display); font-size: 36px; letter-spacing: 0; text-transform: none; font-weight: 300; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand-tag { display: none; }
  .about-grid, .quote-grid, .connect-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .portrait-caption { left: 12px; bottom: 12px; }
  .connect-aside { position: static; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .retreat-next { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-note { text-align: center; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-scale, .fade-up { opacity: 1; transform: none; }
  .hero-title .word > span { transform: none; }
  .manifesto .lead .w { opacity: 1; }
  .mandala .draw { stroke-dashoffset: 0; opacity: 1; }
  .mandala .dot, .mandala .heart { opacity: 1; }
  .mandala .petal { fill-opacity: 0.88; }
  .mandala .ring { transform: none; }
  .class.is-heated .class-time { background: none; color: var(--cream); -webkit-text-fill-color: var(--cream); }
}
