/* ==========================================================================
   Lisa Cutshaw Somatics: Sage & Cream
   ========================================================================== */

:root {
  --bg: #f6f1e7;
  --bg-alt: #ebe6d6;
  --surface: #fffdf8;
  --ink: #2b3a33;
  --ink-soft: #5b6b62;
  --primary: #4f7461;
  --primary-hover: #3f5f4f;
  --on-primary: #ffffff;
  --accent: #8aa58f;
  --accent-soft: #d6e2d3;
  --warm: #c9a87c;
  --line: #dcd5c3;
  --band-bg: #2f4a3e;
  --band-ink: #f1ece0;
  --hero-grad: radial-gradient(1200px 600px at 85% 20%, #dfe8d8 0%, transparent 60%);
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  }

h1, h2, h3, .brand-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { color: var(--primary); font-style: italic; }
p { margin: 0 0 1em; }
a { color: var(--primary); }
img { max-width: 100%; display: block; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .9rem;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.todo { color: #b5563a; font-size: .8em; font-weight: 600; }

.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; background: var(--surface); padding: .5rem 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--primary); }
.brand-text { font-size: 1.45rem; margin: 0; }
.brand-text em { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
.site-nav a:hover { color: var(--primary); }
.site-nav .nav-cta { background: var(--primary); color: var(--on-primary); padding: .5rem 1.1rem; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--primary-hover); color: var(--on-primary); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; border: 0; }
}

/* ---------- Placeholders (for photos) ---------- */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--accent) 12%, transparent) 14px 15px),
    var(--accent-soft);
  overflow: hidden;
}
.placeholder:empty::after,
.placeholder:not(:has(img))::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}
.placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { background: var(--hero-grad), var(--bg); padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.hero-copy .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.ripples { position: absolute; inset: -12%; width: 124%; height: 124%; }
.ripples circle { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .35; transform-origin: center; animation: breathe 9s ease-in-out infinite; }
.ripples circle:nth-child(2) { animation-delay: -2.2s; opacity: .28; }
.ripples circle:nth-child(3) { animation-delay: -4.4s; opacity: .2; }
.ripples circle:nth-child(4) { animation-delay: -6.6s; opacity: .14; }
@keyframes breathe { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .ripples circle { animation: none; } }
.hero-photo { position: absolute; inset: 12%; border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 320px; order: -1; }
}

/* ---------- About ---------- */
.about { background: var(--surface); }
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.headshot { margin: 0; position: relative; }
.headshot::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1.5px solid var(--accent); border-radius: 220px 220px 24px 24px; opacity: .6;
}
.headshot-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px 24px 24px; }
.creds { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .55rem; }
.creds li { padding-left: 1.6rem; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: .7em; width: .8rem; height: 1.5px; background: var(--accent); }
@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; }
  .headshot { max-width: 340px; margin-inline: auto 2rem; }
}

/* ---------- Quote band ---------- */
.quote-band { background: var(--band-bg); color: var(--band-ink); padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; }
.quote-band p { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; margin-bottom: 1.2rem; }
.quote-band cite { font-style: normal; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; opacity: .85; }
.quote-band cite span { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }

/* ---------- Somatics ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.75rem; }
.pillar p { color: var(--ink-soft); margin: 0; }
.pillar-icon { width: 52px; height: 52px; margin-bottom: 1.1rem; }
.pillar-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; }
.pillar-icon .fill { fill: var(--primary); }
.helps { margin-top: 3.5rem; }
.helps h3 { font-size: 1.35rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--accent-soft); color: var(--ink); padding: .45rem 1rem; border-radius: 999px; font-size: .93rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Classes ---------- */
.classes { background: var(--bg-alt); }
.class-types { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
.class-type { background: var(--surface); border-radius: 16px; padding: 1.25rem 1.5rem; border: 1px solid var(--line); }
.class-type p { margin: .6rem 0 0; color: var(--ink-soft); font-size: .97rem; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .75rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); }
.badge-alt { background: var(--warm); color: #2a2a2a; }
.calendar-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-height: 420px; }
.calendar-wrap iframe { display: block; width: 100%; min-height: 480px; border: 0; }
.calendar-wrap:has(iframe) .calendar-placeholder { display: none; }
.calendar-placeholder { display: grid; place-content: center; text-align: center; min-height: 420px; padding: 2rem; color: var(--ink-soft); }
.calendar-placeholder code { background: var(--accent-soft); padding: .1rem .4rem; border-radius: 4px; }
.calendar-note { margin-top: 1.25rem; color: var(--ink-soft); }
@media (max-width: 680px) {
  .class-types { grid-template-columns: 1fr; }
}

/* ---------- Quotes ---------- */
.quote-grid { columns: 3 280px; column-gap: 1.5rem; }
.quote-card {
  break-inside: avoid; margin: 0 0 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 2rem 1.75rem 1.5rem; position: relative;
}
.quote-card::before {
  content: "“"; position: absolute; top: -.2rem; left: 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--accent); opacity: .5;
}
.quote-card blockquote { margin: 0 0 1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; line-height: 1.35; font-style: italic; }
.quote-card figcaption { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--primary); }

/* ---------- CTA ---------- */
.cta { background: var(--surface); }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cta-copy p { color: var(--ink-soft); max-width: 52ch; }
.cta-copy .btn { margin-top: .75rem; }
.cta-small { margin-top: 1.25rem; font-size: .93rem; }
.cta-photo { aspect-ratio: 5 / 4; border-radius: 24px 180px 24px 24px; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } .cta-photo { order: -1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--band-bg); color: var(--band-ink); padding: 3rem 0; }
.site-footer .brand-text em { color: inherit; opacity: .75; }
.footer-inner { text-align: center; }
.footer-small { font-size: .85rem; opacity: .75; max-width: 60ch; margin: .5rem auto 0; }

/* ---------- 1:1 enquiry modal ---------- */
html:has(dialog[open]) { overflow: hidden; }
.modal {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: min(560px, 100% - 2rem); max-height: calc(100dvh - 2rem);
}
.modal::backdrop { background: rgba(31, 45, 38, .5); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .3s ease-out; }
.modal[open]::backdrop { animation: fade-in .3s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .modal[open], .modal[open]::backdrop { animation: none; } }

.modal-card {
  position: relative; background: var(--surface); border-radius: 24px;
  padding: clamp(1.75rem, 5vw, 2.5rem); max-height: calc(100dvh - 2rem); overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35);
}
.modal-card h2 { font-size: clamp(1.9rem, 5vw, 2.4rem); }
.modal-intro { color: var(--ink-soft); margin-bottom: 1.5rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft); cursor: pointer;
}
.modal-close:hover { background: var(--accent-soft); color: var(--ink); }
.modal-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }

.field { display: grid; gap: .35rem; margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: .9rem; font-weight: 600; padding: 0; margin-bottom: .35rem; }
.field em { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label {
  display: flex; align-items: center; gap: .45rem; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem;
}
.choices label:has(input:checked) { border-color: var(--primary); background: var(--accent-soft); }
.choices input { accent-color: var(--primary); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: .93rem; color: var(--ink-soft); margin: 0 0 1rem; }
.form-status:empty { display: none; }
.form-status.error { color: #a4452c; }
.modal-card form .btn { width: 100%; }
