/* ============================================
   Lụa — Design System
   Inspired by: Clinique La Prairie, SHA Wellness,
   Aman, Bulgari Spa. Editorial dark luxury.
   ============================================ */

:root {
  /* Palette */
  --bg:        #0A0807;
  --bg-2:      #141010;
  --bg-3:      #1B1613;
  --surface:   #241E1A;
  --surface-hi:#2E2722;

  --gold:      #C9A66B;
  --gold-hi:   #E3C690;
  --gold-dim:  #8B7448;
  --gold-soft: rgba(201, 166, 107, 0.14);
  --gold-line: rgba(201, 166, 107, 0.22);

  --oxblood:   #4A0E0E;

  --bone:      #F5F1EA;
  --bone-dim:  #C9C4BC;
  --bone-mute: #8C8780;
  --bone-faint:#5A554F;

  --rule:      rgba(201, 166, 107, 0.18);
  --rule-soft: rgba(245, 241, 234, 0.08);

  /* Type */
  --serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --display:'Italiana', 'Cormorant Garamond', serif;
  --sans:   'Inter', -apple-system, system-ui, sans-serif;

  /* Rhythm */
  --pad-x: clamp(20px, 5vw, 72px);
  --section-y: clamp(80px, 12vw, 180px);

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: none; }

::selection { background: var(--gold); color: var(--bg); }

/* ============ GRAIN OVERLAY ============ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* ============ CURSOR ============ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.2s, border-color 0.2s;
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 48px; height: 48px;
  background: var(--gold-soft);
}
@media (max-width: 900px), (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a { cursor: pointer; }
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px var(--pad-x);
  transition: background 0.6s var(--ease), padding 0.6s var(--ease), border-color 0.6s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 8, 7, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  padding: 14px var(--pad-x);
  border-bottom-color: var(--rule-soft);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
}

.brand-lockup {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-mark {
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.brand-word {
  font-family: var(--display);
  font-size: 22px;
  color: var(--bone);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.brand-lockup.lg .brand-mark { font-size: 44px; }
.brand-lockup.lg .brand-word { font-size: 30px; }
.brand-mark.sm { font-size: 20px; }
.brand-word.sm { font-size: 15px; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.site-nav a:hover { color: var(--bone); }
.site-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--bone-mute);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--bone-mute);
  padding: 4px 2px;
  letter-spacing: inherit;
  transition: color 0.3s var(--ease);
  font-size: inherit;
}
.lang-btn[aria-pressed="true"] {
  color: var(--gold);
}
.lang-sep { color: var(--bone-faint); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  background: none;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
}

.btn-outline-light {
  border-color: var(--rule);
  color: var(--bone-dim);
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  color: var(--bone-dim);
}
.btn-ghost:hover { color: var(--gold); }

.header-cta {
  padding: 10px 22px;
  font-size: 11px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('./images/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
  transform: scale(1.08);
  will-change: transform;
}
/* Fallback gradient in case photo fails */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, #2a1810 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, #3a1a0a 0%, transparent 50%),
    linear-gradient(135deg, #0A0807 0%, #1B1008 100%);
  z-index: 0;
}
.hero-image { z-index: 1; }
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.2) 30%, rgba(10,8,7,0.5) 70%, rgba(10,8,7,0.95) 100%),
    linear-gradient(90deg, rgba(10,8,7,0.6) 0%, rgba(10,8,7,0) 40%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  color: var(--bone);
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-hi);
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--bone-dim);
  margin: 0 0 48px;
  max-width: 560px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-y) var(--pad-x);
  position: relative;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.container.narrow {
  max-width: 820px;
}

.section-head {
  margin-bottom: clamp(60px, 8vw, 120px);
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.display {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 36px;
  color: var(--bone);
}

.section-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--bone-dim);
  font-weight: 300;
  margin: 0;
}

/* ============ MANIFESTO ============ */
.manifesto {
  background: var(--bg);
}
.manifesto-body p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.7;
  color: var(--bone-dim);
  font-weight: 300;
  margin: 0 0 30px;
}
.manifesto-body p:first-child::first-letter {
  font-family: var(--display);
  font-size: 3.6em;
  float: left;
  line-height: 0.9;
  padding: 6px 14px 0 0;
  color: var(--gold);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px solid var(--rule);
}
.pillar-num {
  font-family: var(--display);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--bone);
  margin: 0 0 12px;
}
.pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-mute);
  margin: 0;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ RITUALS ============ */
.rituals {
  background: var(--bg-2);
  position: relative;
}
.rituals::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
}

.ritual-list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 120px);
}

.ritual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  position: relative;
}
.ritual.reverse .ritual-image { order: 2; }
.ritual.reverse .ritual-copy { order: 1; }

.ritual-num {
  position: absolute;
  top: -30px;
  right: 0;
  font-family: var(--display);
  font-size: clamp(80px, 12vw, 180px);
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  letter-spacing: 0.02em;
}
.ritual.reverse .ritual-num { right: auto; left: 0; }

.ritual-image {
  aspect-ratio: 4 / 5;
  background-color: var(--surface);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  position: relative;
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.8s var(--ease), transform 0.8s var(--ease-out);
}
.ritual-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,8,7,0.1) 0%, rgba(10,8,7,0.5) 100%);
  transition: opacity 0.6s var(--ease);
}
.ritual:hover .ritual-image {
  filter: brightness(1) saturate(1);
  transform: scale(1.01);
}

.ritual-copy {
  padding: 20px 0;
}
.ritual-kicker {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.ritual-name {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--bone);
}
.ritual-name em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.55em;
  color: var(--gold);
  font-weight: 300;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.ritual-copy p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
  color: var(--bone-dim);
  font-weight: 300;
  margin: 0;
  max-width: 460px;
}

.rituals-cta {
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: 60px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.rituals-cta-text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 24px);
  font-style: italic;
  color: var(--bone-dim);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ritual { grid-template-columns: 1fr; }
  .ritual.reverse .ritual-image { order: unset; }
  .ritual.reverse .ritual-copy { order: unset; }
}

/* ============ THERAPISTS ============ */
.therapists {
  background: var(--bg);
}
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 1100px) { .therapist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .therapist-grid { grid-template-columns: 1fr; } }

.therapist-card {
  background: var(--bg-3);
  border: 1px solid var(--rule-soft);
  padding: 0;
  text-align: left;
  transition: all 0.6s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: none;
}
.therapist-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
  z-index: 3;
}
.therapist-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-6px);
}
.therapist-card:hover::before { transform: scaleX(1); }

.therapist-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-hi);
}
.therapist-portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 120px;
  color: var(--gold);
  opacity: 0.35;
  background:
    radial-gradient(circle at 35% 30%, rgba(201,166,107,0.25) 0%, transparent 60%),
    linear-gradient(135deg, #1B1613 0%, #2E2722 100%);
  z-index: 0;
}
.therapist-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  filter: brightness(0.78) saturate(0.88) contrast(1.02);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease-out), filter 0.8s var(--ease);
}
.therapist-portrait img.loaded { opacity: 1; }
.therapist-card:hover .therapist-portrait img {
  filter: brightness(0.9) saturate(1) contrast(1.02);
  transform: scale(1.05);
}

.therapist-portrait-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(10,8,7,0.35) 65%, rgba(10,8,7,0.95) 100%);
}

.therapist-portrait-name {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 3;
}
.therapist-portrait-name h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  color: var(--bone);
  margin: 0 0 6px;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.therapist-portrait-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.therapist-portrait-meta .dot { opacity: 0.4; }
.therapist-portrait-meta .flags {
  letter-spacing: normal;
  font-size: 14px;
}

.therapist-meta {
  padding: 22px 28px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.therapist-specs {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--bone-mute);
  line-height: 1.5;
  margin: 0 0 18px;
  flex: 1;
}
.therapist-more {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  transition: color 0.3s;
}
.therapist-card:hover .therapist-more { color: var(--gold); }

/* ============ SETTING ============ */
.setting {
  background: var(--bg-2);
}
.setting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .setting-grid { grid-template-columns: 1fr; } }

.setting-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  cursor: none;
}
.setting-image {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.02);
  transition: filter 1s var(--ease), transform 1.2s var(--ease-out);
}
.setting-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,8,7,0.95) 100%);
}
.setting-card:hover .setting-image {
  filter: brightness(0.75) contrast(1.02);
  transform: scale(1.05);
}
.setting-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 40px 36px 36px;
}
.setting-caption h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--bone);
}
.setting-caption p {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--bone-dim);
  margin: 0;
  line-height: 1.5;
  max-width: 360px;
}

/* ============ DISCRETION ============ */
.discretion {
  background: var(--bg);
  text-align: center;
}
.discretion .section-eyebrow { text-align: center; }
.discretion .display { text-align: center; }
.discretion p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.65;
  color: var(--bone-dim);
  font-weight: 300;
  margin: 0 auto 24px;
  max-width: 680px;
}
.discretion .quiet {
  font-style: italic;
  color: var(--gold);
  margin-top: 40px;
}

/* ============ CONTACT ============ */
.contact {
  background: var(--bg-2);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 24px;
  margin-top: 50px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--bone);
  font-weight: 300;
  transition: border-color 0.4s var(--ease);
  outline: none;
  font-style: italic;
}
.field select { font-style: normal; font-family: var(--sans); font-size: 15px; }
.field input::placeholder,
.field textarea::placeholder {
  color: var(--bone-faint);
  font-style: italic;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
@media (max-width: 700px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg);
  padding: 100px var(--pad-x) 40px;
  border-top: 1px solid var(--rule-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule-soft);
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--bone-mute);
  margin: 20px 0 0;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
  font-weight: 500;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: var(--bone-dim);
  margin-bottom: 12px;
  transition: color 0.3s;
  font-family: var(--serif);
}
.footer-col a:hover { color: var(--gold); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-legal { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ INTAKE MODAL ============ */
.intake-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.intake-shell.open {
  opacity: 1;
  pointer-events: auto;
}
.intake-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,7,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.intake-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  transition: transform 0.7s var(--ease-out);
}
.intake-shell.open .intake-panel { transform: translateY(0); }

.intake-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad-x);
  border-bottom: 1px solid var(--rule-soft);
}
.intake-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.intake-divider {
  width: 1px;
  height: 14px;
  background: var(--rule);
  display: inline-block;
}
.intake-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.intake-close {
  background: none;
  border: 1px solid var(--rule);
  color: var(--bone-dim);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.intake-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.intake-progress {
  height: 1px;
  background: var(--rule-soft);
}
.intake-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 12.5%;
  transition: width 0.8s var(--ease-out);
}

.intake-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(40px, 8vh, 100px) var(--pad-x);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.intake-step {
  width: 100%;
  max-width: 860px;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out);
}
.intake-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.intake-step-kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.intake-step-title {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--bone);
  margin: 0 0 16px;
  font-weight: 400;
}
.intake-step-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--bone-mute);
  margin: 0 0 40px;
  max-width: 600px;
}

/* Step 1 - option cards */
.opt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.opt-card {
  background: var(--bg-3);
  border: 1px solid var(--rule);
  padding: 30px 24px;
  cursor: none;
  transition: all 0.4s var(--ease);
  text-align: left;
  color: var(--bone);
  font-family: var(--serif);
}
.opt-card:hover {
  background: var(--surface);
  border-color: var(--gold-line);
}
.opt-card.selected {
  background: var(--gold-soft);
  border-color: var(--gold);
}
.opt-card-icon {
  font-family: var(--display);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 16px;
}
.opt-card-title {
  font-size: 20px;
  color: var(--bone);
  margin: 0 0 6px;
  font-family: var(--display);
}
.opt-card-desc {
  font-size: 13px;
  color: var(--bone-mute);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* Step 2 - body silhouette */
.body-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.body-svg-wrap {
  background: var(--bg-3);
  border: 1px solid var(--rule);
  padding: 30px;
  text-align: center;
}
.body-svg-wrap h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  margin: 0 0 20px;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.body-svg {
  max-width: 220px;
  margin: 0 auto;
  display: block;
}
.body-zone {
  fill: rgba(201,166,107,0.08);
  stroke: var(--gold-line);
  stroke-width: 0.5;
  transition: all 0.3s var(--ease);
  cursor: none;
}
.body-zone:hover {
  fill: rgba(201,166,107,0.35);
}
.body-zone.selected {
  fill: var(--gold);
  stroke: var(--gold-hi);
}
.body-outline {
  fill: none;
  stroke: var(--bone-faint);
  stroke-width: 0.7;
}
.body-selected-list {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12px;
  color: var(--bone-mute);
  font-style: italic;
  min-height: 30px;
}
@media (max-width: 800px) {
  .body-map { grid-template-columns: 1fr; }
}

/* Step 3 - pressure slider */
.pressure-wrap {
  max-width: 600px;
  margin: 20px 0;
}
.pressure-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--rule-soft);
  height: 2px;
  outline: none;
  margin: 40px 0 20px;
}
.pressure-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold);
  border-radius: 50%;
  cursor: none;
}
.pressure-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold);
  border-radius: 50%;
}
.pressure-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.pressure-current {
  font-family: var(--display);
  font-size: 48px;
  color: var(--gold);
  margin: 24px 0 8px;
  text-align: center;
}
.pressure-desc {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  color: var(--bone-mute);
  max-width: 480px;
  margin: 0 auto;
}

/* Step 4, 5 - checkboxes + textarea */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  cursor: none;
  transition: all 0.3s var(--ease);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--bone-dim);
}
.check-item:hover { border-color: var(--gold-line); color: var(--bone); }
.check-item.selected {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--bone);
}
.check-box {
  width: 16px; height: 16px;
  border: 1px solid var(--gold-line);
  position: relative;
  flex-shrink: 0;
}
.check-item.selected .check-box {
  background: var(--gold);
  border-color: var(--gold);
}
.check-item.selected .check-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
}

.intake-textarea,
.intake-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  padding: 16px 20px;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.intake-textarea:focus,
.intake-input:focus {
  border-color: var(--gold);
}
.intake-textarea::placeholder,
.intake-input::placeholder {
  color: var(--bone-faint);
  font-style: italic;
}

/* Step 6 - settings grid */
.setting-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: center;
}
.setting-row:last-child { border-bottom: none; }
.setting-row-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.setting-row-opts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  padding: 10px 18px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  color: var(--bone-dim);
  font-family: var(--serif);
  font-size: 14px;
  cursor: none;
  transition: all 0.3s var(--ease);
}
.pill:hover { border-color: var(--gold-line); color: var(--bone); }
.pill.selected {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--bone);
}
@media (max-width: 700px) {
  .setting-row { grid-template-columns: 1fr; gap: 12px; }
}

/* Step 7 + 8 fields */
.intake-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.intake-field { display: flex; flex-direction: column; gap: 10px; }
.intake-field.full { grid-column: 1 / -1; }
.intake-field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 700px) {
  .intake-fields { grid-template-columns: 1fr; }
}

/* Confirmation */
.intake-confirm {
  text-align: center;
  padding: 60px 20px;
}
.intake-confirm-mark {
  width: 88px; height: 88px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
  font-family: var(--display);
  font-size: 40px;
  color: var(--gold);
}
.intake-confirm h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--bone);
  margin: 0 0 18px;
  font-weight: 400;
}
.intake-confirm p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--bone-dim);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.intake-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  border-top: 1px solid var(--rule-soft);
  background: rgba(10,8,7,0.9);
}
.intake-step-indicator {
  font-family: var(--display);
  font-size: 18px;
  color: var(--bone-mute);
  letter-spacing: 0.15em;
}

/* ============ THERAPIST MODAL ============ */
.therapist-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.therapist-shell.open {
  opacity: 1;
  pointer-events: auto;
}
.therapist-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,7,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.therapist-panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 60px var(--pad-x);
  transform: translateY(30px);
  transition: transform 0.6s var(--ease-out);
}
.therapist-shell.open .therapist-panel { transform: translateY(0); }
.therapist-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  color: var(--bone-dim);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.therapist-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.therapist-detail {
  max-width: 900px;
  margin: 0 auto;
}
.therapist-detail-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--rule);
}
.therapist-detail-portrait {
  position: relative;
  width: 200px;
  height: 260px;
  overflow: hidden;
  background: var(--surface-hi);
  border: 1px solid var(--gold-line);
}
.therapist-detail-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 120px;
  color: var(--gold);
  opacity: 0.35;
  background: radial-gradient(circle at 35% 30%, rgba(201,166,107,0.3) 0%, transparent 60%), var(--surface-hi);
  z-index: 0;
}
.therapist-detail-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  filter: brightness(0.85) saturate(0.92) contrast(1.02);
}
.therapist-detail-portrait img.loaded { opacity: 1; }
.therapist-detail-name {
  font-family: var(--display);
  font-size: 54px;
  color: var(--bone);
  margin: 0 0 10px;
  font-weight: 400;
}
.therapist-detail-meta {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.therapist-detail-langs {
  font-size: 22px;
  display: flex;
  gap: 8px;
}
.therapist-detail-bio {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.65;
  color: var(--bone-dim);
  font-style: italic;
  font-weight: 300;
  margin: 0 0 40px;
}
.therapist-detail-list {
  margin: 30px 0;
}
.therapist-detail-list h4 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.therapist-detail-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.cert-chip {
  padding: 8px 16px;
  background: var(--bg-3);
  border: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 14px;
  color: var(--bone-dim);
}
.therapist-detail-actions {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 700px) {
  .therapist-detail-head { grid-template-columns: 1fr; text-align: center; }
  .therapist-detail-portrait { margin: 0 auto; }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--gold);
  padding: 16px 28px;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ REVEAL ANIMATIONS ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-letters] {
  opacity: 1;
}
[data-reveal-letters] .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease-out);
}
[data-reveal-letters].in .letter {
  opacity: 1;
  transform: translateY(0);
}

/* ============ BODY LOCK ============ */
body.modal-open { overflow: hidden; }

/* Responsive nav */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .header-actions { gap: 16px; }
}