:root {
  --ink: #1b2822;
  --ink-soft: #3d4f46;
  --sage: #2c5c48;
  --sage-deep: #17382c;
  --leaf: #7ea48d;
  --cream: #f3eee6;
  --paper: #fbf8f4;
  --card: #fffdf9;
  --blush: #ead8cc;
  --gold: #a67c52;
  --line: rgba(23, 56, 44, 0.12);
  --shadow: 0 18px 50px rgba(23, 56, 44, 0.08);
  --radius: 22px;
  --header: 92px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(234, 216, 204, 0.7), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(126, 164, 141, 0.18), transparent 55%),
    var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 520; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.topbar {
  background: var(--sage-deep);
  color: #f4efe6;
  font-size: 0.86rem;
}
.topbar-inner, .nav-row, .footer-grid, .hero, .split, .cards, .steps, .faq, .dock {
  display: flex;
}
.topbar-inner {
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  align-items: center;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-row { align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand strong { display: block; font-size: 1rem; letter-spacing: 0.04em; }
.brand em { display: block; font-style: normal; color: var(--ink-soft); font-size: 0.78rem; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
}
#site-nav { display: flex; align-items: center; gap: 6px; }
#site-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
}
#site-nav a[aria-current="page"], #site-nav a:hover { background: rgba(44, 92, 72, 0.1); color: var(--sage-deep); }
#site-nav a.nav-cta,
#site-nav a.nav-cta:hover,
#site-nav a.nav-cta[aria-current="page"] {
  background: var(--sage);
  color: #fff;
}
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--sage);
  color: #fff !important;
}
.btn.ghost { background: transparent; color: var(--sage-deep) !important; border-color: var(--line); }
.btn:hover { transform: translateY(-1px); }
.nav-cta { background: var(--sage); color: #fff !important; }

.hero { align-items: center; gap: 48px; padding: 56px 0 28px; }
.hero-copy { flex: 1.15; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker:before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 14ch; color: var(--ink); }
.lede { margin-top: 18px; color: var(--ink-soft); font-size: 1.12rem; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fine { margin-top: 14px; color: var(--ink-soft); font-size: 0.92rem; }

.portrait-wrap { flex: 0 0 380px; position: relative; }
.portrait {
  width: min(100%, 440px);
  height: auto;
  aspect-ratio: 4 / 5;
  margin-left: auto;
  border-radius: 32px;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: var(--shadow);
  background: #2c241c;
}
.float-card {
  position: absolute;
  left: 0;
  bottom: 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  width: min(240px, 70%);
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.float-card span { color: var(--ink-soft); font-size: 0.88rem; }
.ring {
  position: absolute;
  right: -12px;
  top: 24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px dashed rgba(166, 124, 82, 0.7);
  animation: spin 28s linear infinite;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 10px 0 40px;
}
.trust article, .card, .panel, .step, .legal, .form, .breath {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust article { padding: 16px 18px; }
.trust strong { display: block; font-size: 0.98rem; }
.trust span { color: var(--ink-soft); font-size: 0.88rem; }

section { padding: 28px 0 56px; }
.section-head { max-width: 640px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 10px; color: var(--ink-soft); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }
.panel { padding: 22px; display: none; }
.panel.active { display: block; animation: rise 0.45s ease; }
.panel h3 { font-size: 1.8rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.88rem;
}

.cards { gap: 14px; flex-wrap: wrap; }
.card { flex: 1 1 240px; padding: 20px; text-decoration: none; transition: transform 0.2s ease; }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 1.45rem; margin: 8px 0; }
.card p { color: var(--ink-soft); }
.num { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.12em; }

.split { gap: 28px; align-items: center; }
.split > * { flex: 1; }
.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}
.quote cite { display: block; margin-top: 12px; font-family: var(--font); font-size: 0.95rem; font-style: normal; color: var(--ink-soft); }

.steps { gap: 12px; counter-reset: step; }
.step { flex: 1; padding: 18px; }
.step b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blush);
  margin-bottom: 10px;
}

.breath {
  padding: 22px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
}
.orb-box { display: grid; place-items: center; height: 180px; }
.orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d7ebe1, var(--sage));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.orb.inhale { animation: inhale 4s ease-in-out forwards; }
.orb.hold { animation: hold 2s linear forwards; }
.orb.exhale { animation: exhale 6s ease-in-out forwards; }
.breath p { color: var(--ink-soft); margin: 8px 0 14px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 8px; color: var(--ink-soft); }

.crisis {
  background: #1b2822;
  color: #f6f1ea;
  border-radius: var(--radius);
  padding: 22px;
}
.crisis a { color: #f0d7c4; }
.crisis p { margin-top: 8px; color: #d9e3dc; }

.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 16ch; }
.page-hero p { margin-top: 12px; color: var(--ink-soft); max-width: 40rem; }

.form { padding: 22px; display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
}
textarea { min-height: 120px; resize: vertical; }
.error { color: #8a3b32; font-size: 0.88rem; min-height: 1.2em; }
.success {
  display: none;
  background: #eef6f1;
  border: 1px solid #c9e0d4;
  border-radius: 16px;
  padding: 16px;
}
.success.show { display: block; }
.contact-side { display: grid; gap: 12px; }
.contact-side article { padding: 18px; }

.legal { padding: 22px 24px 8px; }
.legal h2 { font-size: 1.45rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin-top: 0; }

.site-footer { background: var(--sage-deep); color: #e7efe9; padding: 42px 0 96px; }
.footer-grid { gap: 28px; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p, .site-footer li { color: #c9d7cf; }
.site-footer ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.legal-line { margin-top: 28px; font-size: 0.82rem; color: #b7c7be; }

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
}
.dock a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 12px 8px;
  font-size: 0.92rem;
}
.dock a + a { border-left: 1px solid var(--line); }

.reveal { animation: rise 0.7s ease both; }
.d2 { animation-delay: 0.12s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes inhale { from { transform: scale(0.82); } to { transform: scale(1.18); } }
@keyframes hold { from, to { transform: scale(1.18); } }
@keyframes exhale { from { transform: scale(1.18); } to { transform: scale(0.82); } }

@media (max-width: 860px) {
  .topbar-inner span { display: none; }
  .nav-toggle { display: inline-flex; }
  #site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 112px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  #site-nav.open { display: flex; }
  .hero, .split, .breath, .steps, .trust { display: block; }
  .portrait-wrap { width: 100%; }
  .portrait { height: auto; width: min(100%, 440px); margin: 28px auto 0; }
  .float-card { left: 16px; }
  .trust article, .step, .card { margin-bottom: 12px; }
  .dock { display: flex; }
  .site-footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
