/* ═══════════════════════════════════════════════════════════════
   Soma Dance Method — cream / forest / gold / blush
   ═══════════════════════════════════════════════════════════════ */

:root {
  --cream:        #f4eee1;
  --cream-deep:   #ece3d0;
  --forest:       #1d2b21;
  --forest-deep:  #16211a;
  --ink:          #2a3527;
  --ink-soft:     #4d5a49;
  --gold:         #b28a4c;
  --gold-soft:    #cfb280;
  --gold-pale:    #e7d7b2;
  --blush:        #ecd9cd;
  --blush-deep:   #e3c9ba;
  --rose:         #c08d7c;
  --rose-ink:     #5f4237;
  --sage:         #7e8d6e;
  --pale:         #efe7d4;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Avenir Next", sans-serif;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything, barely there */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

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

/* ───────────────────────────── botanicals: shared strokes */
.st-green  { stroke: #57684d; }
.st-sage   { stroke: #8a976f; }
.st-gold   { stroke: var(--gold); }
.st-rose   { stroke: var(--rose); }
.st-pale   { stroke: var(--gold-pale); }
.st-gold-f { fill: var(--gold); stroke: none; opacity: .55; }
.st-sage-f { fill: #8a976f; stroke: none; opacity: .5; }
.st-rose-f { fill: var(--rose); stroke: none; opacity: .22; }

/* ───────────────────────────── nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 5vw, 64px);
  transition: background .5s var(--ease-out), padding .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(42, 53, 39, .08);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
}
.wordmark-soma {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  letter-spacing: .01em;
}
.wordmark-rest {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transform: translateY(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 44px);
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color .3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 11px 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--forest);
  transition: background .35s, color .35s;
}
.nav-links a.nav-cta:hover { background: var(--gold); color: var(--cream); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .wordmark-rest { display: none; }
}

/* ───────────────────────────── buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 19px 46px;
  border-radius: 999px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.btn-gold {
  background: var(--gold);
  color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(178, 138, 76, .55);
}
.btn-gold:hover { background: #a37c40; box-shadow: 0 16px 36px -12px rgba(178, 138, 76, .65); }

.btn-forest {
  background: var(--forest);
  color: var(--pale);
  box-shadow: 0 10px 30px -12px rgba(29, 43, 33, .5);
}
.btn-forest:hover { background: var(--forest-deep); }

/* ───────────────────────────── hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 120px;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: -12% -6%;
  z-index: -1;
  background:
    radial-gradient(52% 44% at 78% 16%, rgba(227, 201, 186, .55), transparent 70%),
    radial-gradient(46% 40% at 12% 82%, rgba(138, 151, 111, .28), transparent 70%),
    radial-gradient(40% 36% at 88% 88%, rgba(207, 178, 128, .30), transparent 72%),
    var(--cream);
}

.hero-inner { max-width: 980px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--forest);
  text-wrap: balance;
  margin-bottom: 30px;
}

.hero .lede {
  font-size: clamp(16px, 1.9vw, 19.5px);
  font-weight: 300;
  letter-spacing: .015em;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 44px;
  text-wrap: balance;
}

/* load-in */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .btn {
    opacity: 0;
    transform: translateY(22px);
    animation: rise 1.2s var(--ease-out) forwards;
  }
  .hero .lede { animation-delay: .25s; }
  .hero .btn  { animation-delay: .5s; }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.grass {
  position: absolute;
  bottom: -12px;
  width: clamp(150px, 20vw, 250px);
  z-index: 1;
  pointer-events: none;
}
.grass-left  { left: clamp(-30px, 2vw, 70px); }
.grass-right { right: clamp(-40px, 1vw, 50px); transform: scaleX(-1); }

@media (prefers-reduced-motion: no-preference) {
  .sway { animation: sway 9s ease-in-out infinite alternate; transform-origin: 50% 100%; }
  .sway-late { animation-duration: 11s; animation-delay: -4s; }
}
@keyframes sway {
  from { rotate: -1.4deg; }
  to   { rotate: 1.8deg; }
}

/* floating petals */
.petal {
  position: absolute;
  width: 26px;
  pointer-events: none;
  z-index: 0;
}
.petal path { fill: var(--rose); opacity: .3; }
.petal-1 { top: 24%; left: 14%; rotate: -24deg; }
.petal-2 { top: 16%; right: 17%; width: 20px; rotate: 38deg; }
.petal-2 path { fill: var(--gold-soft); opacity: .42; }
.petal-3 { bottom: 26%; right: 30%; width: 17px; rotate: -58deg; }
.petal-4 { top: 20%; left: 12%; rotate: 30deg; }
.petal-4 path { fill: var(--rose); opacity: .38; }
.petal-5 { bottom: 24%; right: 12%; width: 19px; rotate: -40deg; }
.petal-5 path { fill: var(--gold); opacity: .3; }

@media (prefers-reduced-motion: no-preference) {
  .petal { animation: float 12s ease-in-out infinite alternate; }
  .petal-2 { animation-duration: 15s; animation-delay: -6s; }
  .petal-3 { animation-duration: 10s; animation-delay: -3s; }
  .petal-5 { animation-duration: 14s; animation-delay: -5s; }
}
@keyframes float {
  from { translate: 0 -14px; }
  to   { translate: 12px 16px; }
}

/* ───────────────────────────── bands */
.band { position: relative; padding: clamp(96px, 13vw, 170px) clamp(24px, 6vw, 64px); }
.band-cream  { background: var(--cream); }
.band-forest { background: var(--forest); color: var(--pale); }
.band-blush  { background: linear-gradient(180deg, var(--blush), var(--blush-deep)); color: var(--rose-ink); }

.measure      { max-width: 660px; margin: 0 auto; }
.measure-wide { max-width: 860px; margin: 0 auto; text-align: center; }

/* ───────────────────────────── problem band */
.leaf-mark {
  width: 44px;
  margin: 0 auto 38px;
  display: block;
}
.leaf-mark path { stroke: var(--gold-soft); }

.problem-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.35;
  color: var(--gold-pale);
  opacity: .92;
  text-wrap: balance;
}
.problem-turn {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.15;
  color: var(--pale);
  margin-top: 34px;
}

/* ───────────────────────────── practice */
.practice-grid {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.practice h2, .story h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -.01em;
  line-height: 1.12;
  margin-bottom: 26px;
}
.practice h2 { color: var(--forest); }
.practice-text p {
  font-size: clamp(18px, 2.1vw, 21px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 540px;
}
.practice-art { display: flex; justify-content: center; }
.bloom { width: clamp(150px, 17vw, 230px); }

@media (max-width: 760px) {
  .practice-grid { grid-template-columns: 1fr; gap: 48px; }
  .practice-art { order: -1; }
  .bloom { width: 120px; }
}

/* ───────────────────────────── vine divider */
.vine-divider {
  background: var(--cream);
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
.vine-divider svg { width: 240px; opacity: .8; }

/* ───────────────────────────── for / not for */
.fit { padding-top: clamp(70px, 9vw, 120px); }
.fit-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}
.panel {
  border-radius: 30px;
  padding: clamp(38px, 4.5vw, 58px) clamp(30px, 4vw, 54px);
}
.panel-blush { background: linear-gradient(165deg, var(--blush), #e7cfc0); color: var(--rose-ink); }
.panel-forest { background: var(--forest); color: var(--pale); }

.panel-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.panel ul { list-style: none; }
.panel li {
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.65;
  padding: 16px 0;
  letter-spacing: .01em;
}
.panel-blush li { border-top: 1px solid rgba(95, 66, 55, .16); }
.panel-forest li { border-top: 1px solid rgba(239, 231, 212, .14); }
.panel-forest li { color: #ddd6c4; }
.panel-blush li { color: #5f4237; }

@media (max-width: 820px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* stagger the list reveal */
.panel li { transition-delay: calc(var(--i, 0) * 60ms); }

/* ───────────────────────────── founder */
.founder { padding-top: clamp(60px, 8vw, 110px); text-align: center; }
.founder-figure { margin: 0 auto; max-width: 460px; }
.founder-frame {
  position: relative;
  border-radius: 999px 999px 30px 30px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(42, 53, 39, .45);
}
.founder-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 238, 225, .55);
  border-radius: 999px 999px 22px 22px;
  pointer-events: none;
}
.founder-frame img {
  width: 100%;
  aspect-ratio: 4 / 5.1;
  object-fit: cover;
}
.founder figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2.3vw, 24px);
  color: var(--ink);
  margin-top: 34px;
  line-height: 1.5;
}

/* ───────────────────────────── story */
.story { overflow: hidden; }
.story h2 { color: var(--pale); text-align: center; margin-bottom: 54px; }
.story .measure p {
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.95;
  color: #d9d2c0;
  margin-bottom: 28px;
  letter-spacing: .012em;
}
.story .pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.45;
  color: var(--gold-soft);
  text-align: center;
  padding: 26px 0 30px;
  margin: 10px 0 14px;
}
.story-grass {
  position: absolute;
  bottom: -10px;
  left: clamp(-50px, -1vw, 20px);
  width: clamp(140px, 16vw, 220px);
  opacity: .3;
  pointer-events: none;
}

/* ───────────────────────────── final cta */
.begin { text-align: center; overflow: hidden; }
.begin-line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.3;
  color: var(--rose-ink);
  text-wrap: balance;
  max-width: 780px;
  margin: 0 auto 46px;
}

/* ───────────────────────────── footer */
.footer {
  background: var(--forest-deep);
  color: #b9b29e;
  text-align: center;
  padding: 76px 24px 54px;
}
.wordmark-footer {
  justify-content: center;
  color: var(--pale);
  margin-bottom: 30px;
}
.wordmark-footer .wordmark-rest { color: #a49d88; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}
.footer-social a {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-soft);
  transition: color .3s;
}
.footer-social a:hover { color: var(--gold-pale); }
.footer-social .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #6d6753;
}
.footer-note {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .02em;
  color: #8f8974;
  max-width: 420px;
  margin: 0 auto 10px;
  line-height: 1.6;
}
.footer-copy { font-size: 12px; color: #6d6753; letter-spacing: .06em; }

/* ───────────────────────────── reveal on scroll */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  .panel li { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal.in li { opacity: 1; transform: translateY(0); }

  [data-depth] { will-change: transform; }
}
