:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --tint: #ece6da;
  --ink: #1f2b28;
  --muted: #5b6a65;
  --brand: #2f4a43;
  --brand-soft: #6f9488;
  --accent: #c98b5f;
  --line: rgba(31, 43, 40, 0.12);
  --urgent: #9a3f2e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 43, 40, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141b19;
    --surface: #1b2421;
    --tint: #18211e;
    --ink: #e7ece9;
    --muted: #a3b2ad;
    --brand: #9cc3b6;
    --brand-soft: #6f9488;
    --accent: #e0a77d;
    --line: rgba(231, 236, 233, 0.12);
    --urgent: #e48a76;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--tint); }
@media (max-width: 640px) {
  .nav li:nth-child(n+3) { display: none; }
  .nav a { padding: 8px 10px; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font: 600 1rem var(--sans);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--tint); }

/* Hero */
.hero { position: relative; padding: clamp(72px, 12vw, 140px) 0 clamp(110px, 14vw, 170px); overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--brand-soft) 30%, transparent), transparent 70%),
    radial-gradient(50% 60% at 5% 90%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--brand-soft); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--surface); height: 90px; }
.hero-waves svg { width: 100%; height: 100%; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--tint); }
#approach { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-lead { color: var(--muted); font-size: 1.1rem; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { padding: 8px 4px; }
.pillar-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--brand); margin-bottom: 18px; }
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform 0.2s ease; }
.card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--brand); background: var(--tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

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

/* Breathe */
.breathe { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.breathe-copy p { color: var(--muted); }
.hint { font-size: 0.92rem; }
.breathe-count { color: var(--muted); font-size: 0.95rem; }
.breathe-stage { display: grid; place-items: center; min-height: 360px; }
.orb {
  --size: 170px;
  width: var(--size); height: var(--size); border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--brand-soft) 55%, #fff), var(--brand));
  box-shadow: 0 0 0 18px color-mix(in srgb, var(--brand-soft) 18%, transparent), 0 0 0 40px color-mix(in srgb, var(--brand-soft) 9%, transparent);
  transition: width 4s ease-in-out, height 4s ease-in-out;
}
.orb[data-phase="in"], .orb[data-phase="hold"] { --size: 280px; }
.orb[data-phase="out"] { transition-duration: 6s; }
.orb-label { color: #fff; font-family: var(--serif); font-size: 1.2rem; padding: 0 18px; text-shadow: 0 1px 8px rgba(0,0,0,0.25); }
@media (prefers-reduced-motion: reduce) {
  .orb { transition: none; }
}
@media (max-width: 800px) {
  .breathe { grid-template-columns: 1fr; }
  .breathe-stage { min-height: 320px; }
  .orb[data-phase="in"], .orb[data-phase="hold"] { --size: 240px; }
}

/* Quote */
.section-quote { background: var(--brand); color: var(--bg); text-align: center; }
.section-quote blockquote { margin: 0 auto; max-width: 820px; }
.section-quote p { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.35; margin: 0; }

/* Support */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.support-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.support-card p { color: var(--muted); margin: 0; }
.support-card.urgent { border-color: color-mix(in srgb, var(--urgent) 45%, transparent); background: color-mix(in srgb, var(--urgent) 7%, var(--surface)); }
.support-card.urgent h3 { color: var(--urgent); }
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand-footer { font-size: 1.2rem; }
.footer-note { color: var(--muted); font-size: 0.9rem; margin: 0; max-width: 560px; }
