/* ==========================================================================
   Rooted Reclaimers — design system
   Brand kit: Night Teal, Wheat Gold, Sage Green, Clay Rose, Off-White
   Type: Cormorant Garamond (display), Poppins (labels, CTAs), Lato (body)
   Motif: ground layers. The pathway deepens like soil strata.
   ========================================================================== */

:root {
  /* Brand */
  --night: #0f1b1f;
  --night-2: #18292e;
  --night-3: #243a40;
  --gold: #d8ab69;
  --gold-soft: #ecd3a8;
  --sage: #c5cabb;
  --sage-soft: #e2e5db;
  --clay: #b97c6b;
  --paper: #f9f8f4;
  --paper-2: #f2efe7;
  --paper-3: #e9e4d8;

  /* Text-safe variants (AA on paper) */
  --ink: #0f1b1f;
  --ink-soft: #3a4749;
  --ink-muted: #56625f;
  --clay-ink: #8a4e3e;
  --gold-ink: #7a5a26;

  /* Pillars: same system, four markers */
  --p-breathe: #7f8d77;
  --p-movement: #435a5f;
  --p-nutrition: #b97c6b;
  --p-connection: #d8ab69;

  --line: rgba(15, 27, 31, 0.14);
  --line-strong: rgba(15, 27, 31, 0.28);
  --line-light: rgba(249, 248, 244, 0.18);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-label: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 28px;
  --arch: 999px 999px 18px 18px;

  --shadow-soft: 0 1px 2px rgba(15, 27, 31, 0.06), 0 8px 28px rgba(15, 27, 31, 0.08);
  --shadow-lift: 0 2px 4px rgba(15, 27, 31, 0.08), 0 18px 48px rgba(15, 27, 31, 0.14);

  --wrap: 1180px;
  --wrap-narrow: 740px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(17px, 0.35vw + 16px, 19px);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--clay-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--night);
  border-radius: 4px;
}
.band-night :focus-visible { box-shadow: 0 0 0 6px var(--paper); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--night);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-label);
  font-size: 0.9rem;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: inherit;
  text-wrap: balance;
}
h1, h2, h3, h4, .fact dd, .stratum-step, .pacer-count, .crisis-list strong, .agreement .num, .big-numeral, .ticket dd, .ladder strong, .path-line strong, .pull {
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(2.6rem, 5.4vw + 0.6rem, 5.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3vw + 0.8rem, 3.3rem); }
h3 { font-size: clamp(1.45rem, 1vw + 1.05rem, 1.9rem); line-height: 1.15; }
h4 { font-size: 1.25rem; }

h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--clay-ink); }
.band-night h1 em, .band-night h2 em { color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-ink);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}
.band-night .eyebrow { color: var(--gold); }

.lead {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.38rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38em;
}
.band-night .lead { color: rgba(249, 248, 244, 0.84); }

.label {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
}

.small { font-size: 0.9rem; color: var(--ink-muted); }
.band-night .small { color: rgba(249, 248, 244, 0.7); }

/* ---------- Layout ---------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * 0.6); }

.band-paper2 { background: var(--paper-2); }
.band-sage { background: var(--sage-soft); }
.band-night { background: var(--night); color: var(--paper); }
.band-night a:not(.btn) { color: var(--gold-soft); }
.band-night a:not(.btn):hover { color: var(--paper); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.grid-2 { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.stack > * + * { margin-top: 1rem; }

/* Soil edge between bands */
.soil-edge { position: relative; }
.soil-edge::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 22px;
  background: var(--edge-color, var(--paper));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C 90 6 160 18 260 11 S 420 3 520 12 S 700 20 820 10 S 1010 4 1100 13 S 1180 9 1200 12 V22 H0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C 90 6 160 18 260 11 S 420 3 520 12 S 700 20 820 10 S 1010 4 1100 13 S 1180 9 1200 12 V22 H0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 248, 244, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
}
.brand:hover { color: var(--ink); }
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.22rem; white-space: nowrap; }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li + li { margin-top: 0; }
.nav-list a {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-label);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-list a:hover { color: var(--ink); background: var(--paper-2); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta { margin-left: 10px; }
.nav-list a.btn { color: var(--btn-fg); padding: 0.55em 1.2em; border-radius: 999px; }
.nav-list a.btn:hover { background: var(--night-3); color: var(--paper); }
.nav-list a.btn[aria-current="page"]::after { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-label);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle-bars { width: 16px; height: 10px; position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle-bars::before { top: 1px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 12px var(--gutter) 24px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  html:not(.js) .site-nav { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 16px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { left: 8px; right: auto; width: 32px; bottom: 8px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--night);
  --btn-fg: var(--paper);
  --btn-border: var(--night);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--night); --btn-border: var(--gold); }
.btn-gold:hover { --btn-bg: var(--gold-soft); --btn-border: var(--gold-soft); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn-outline:hover { --btn-bg: var(--paper-2); }
.band-night .btn-outline { --btn-fg: var(--paper); --btn-border: rgba(249, 248, 244, 0.45); }
.band-night .btn-outline:hover { --btn-bg: var(--night-3); }
.btn-sm { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.86rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--clay-ink); border-color: var(--clay); }
.band-night .text-link { color: var(--paper); }

/* ---------- Home hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 2rem; }
.hero-note { margin-top: 1.4rem; }

.hero-visual { position: relative; }
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage);
  box-shadow: var(--shadow-lift);
}
.arch img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.02); }
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--arch);
  background: linear-gradient(180deg, rgba(216, 171, 105, 0.1), rgba(15, 27, 31, 0.08));
  pointer-events: none;
}

.pause-card {
  position: absolute;
  left: clamp(-40px, -3vw, -12px);
  bottom: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-lift);
  max-width: 250px;
}
.pause-card .label { color: var(--clay-ink); display: block; margin-bottom: 6px; }
.pause-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pause-card li { margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: 0.95rem; }
.pause-card li span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-ink);
  width: 1em;
}

.root-line {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  color: var(--gold);
  opacity: 0.55;
}
.hero .root-line { right: -6%; top: 58%; width: min(62vw, 760px); }
.root-line path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s var(--ease) 0.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .pause-card { left: 12px; bottom: 16px; }
}

/* ---------- Inner page hero ---------- */

.page-hero {
  padding-block: clamp(48px, 7vw, 100px) clamp(48px, 6vw, 84px);
  background: var(--paper-2);
  --edge-color: var(--paper);
  overflow: hidden;
}
.page-hero.on-night { background: var(--night); color: var(--paper); --edge-color: var(--paper); }
.page-hero h1 { font-size: clamp(2.5rem, 4.6vw + 0.6rem, 4.6rem); max-width: 16ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

.breadcrumb { font-family: var(--font-label); font-size: 0.82rem; margin-bottom: 1rem; color: var(--ink-muted); }
.breadcrumb a { color: inherit; }
.on-night .breadcrumb { color: rgba(249, 248, 244, 0.7); }

/* ---------- Facts row ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-top: 2.4rem;
}
.fact { padding: 18px 20px 18px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact dt { font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.fact dd { margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.15; }
.on-night .facts, .band-night .facts { border-color: var(--line-light); }
.on-night .fact + .fact, .band-night .fact + .fact { border-color: var(--line-light); }
.on-night .fact dt, .band-night .fact dt { color: rgba(249, 248, 244, 0.68); }
@media (max-width: 560px) {
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .on-night .fact + .fact { border-color: var(--line-light); }
}

/* ---------- Pillars ---------- */

.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.pillar {
  --pillar: var(--p-breathe);
  padding: 28px 24px 30px 0;
  position: relative;
}
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--line); }
.pillar::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 4px;
  background: var(--pillar);
}
.pillar + .pillar::before { left: 24px; }
.pillar[data-pillar="movement"] { --pillar: var(--p-movement); }
.pillar[data-pillar="nutrition"] { --pillar: var(--p-nutrition); }
.pillar[data-pillar="connection"] { --pillar: var(--p-connection); }
.pillar h3 { margin: 14px 0 8px; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(3)::before { left: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillar + .pillar::before { left: 0; }
}

.pillar-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.pillar-mark svg { width: 30px; height: 30px; color: var(--pillar, var(--ink)); stroke-width: 1.6; }
.pillar-mark .numeral { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0; color: var(--ink); }

/* Pillar detail sections (Four Pillars page) */
.pillar-section { --pillar: var(--p-breathe); scroll-margin-top: 90px; }
.pillar-section[data-pillar="movement"] { --pillar: var(--p-movement); }
.pillar-section[data-pillar="nutrition"] { --pillar: var(--p-nutrition); }
.pillar-section[data-pillar="connection"] { --pillar: var(--p-connection); }
.pillar-section + .pillar-section { border-top: 1px solid var(--line); }
.pillar-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .pillar-layout { grid-template-columns: 1fr; } }
.pillar-title { display: flex; flex-direction: column; gap: 14px; }
.pillar-title h2 { margin: 0; }
.pillar-title .big-numeral {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.8;
  font-weight: 500;
  color: var(--pillar);
}

.practice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pillar, var(--gold));
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}
.practice-card h3 { font-size: 1.5rem; }
.practice-card h4 { font-family: var(--font-label); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin: 1.4rem 0 0.4rem; color: var(--ink-muted); }
.practice-card ol, .practice-card ul { margin-bottom: 0; }
.practice-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip-gold { background: var(--gold); border-color: var(--gold); color: var(--night); font-weight: 600; }
.chip-night { background: var(--night); border-color: var(--night); color: var(--paper); }
.chip-outline { background: transparent; }
.band-night .chip { background: var(--night-2); border-color: var(--line-light); color: rgba(249, 248, 244, 0.85); }
.band-night .chip-gold { background: var(--gold); color: var(--night); }

/* ---------- Breath pacer ---------- */

.pacer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 640px) { .pacer { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.pacer-orb {
  --size: clamp(190px, 26vw, 250px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.pacer-orb::before, .pacer-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.pacer-orb::before { border: 1px dashed var(--line-strong); }
.pacer-orb::after {
  inset: 18%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 60%, #c79553);
  transform: scale(0.72);
  transition: transform var(--pacer-dur, 4s) cubic-bezier(0.45, 0.05, 0.35, 1);
  box-shadow: 0 0 0 14px rgba(216, 171, 105, 0.14), 0 0 0 30px rgba(216, 171, 105, 0.07);
}
.pacer[data-phase="in"] .pacer-orb::after, .pacer[data-phase="hold"] .pacer-orb::after { transform: scale(1.18); }
.pacer[data-phase="out"] .pacer-orb::after { transform: scale(0.72); }
.band-night .pacer-orb::before { border-color: var(--line-light); }

.pacer-count {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--night);
  text-align: center;
  line-height: 1;
}
.pacer-count small { display: block; font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; font-weight: 600; }

.pacer-phase { font-family: var(--font-display); font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin: 0 0 0.3em; min-height: 1.2em; }
.pacer-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.pacer-steps li { margin: 0; }
@media (max-width: 640px) { .pacer-steps, .pacer .btn-row { justify-content: center; } }

/* ---------- Route selector (Find your starting ground) ---------- */

.route-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .route-picker { grid-template-columns: 1fr; } }
.route-options { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.route-options legend { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 14px; padding: 0; }
.route-option { position: relative; }
.route-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.route-option label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  font-size: 1.02rem;
}
.route-option label::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.route-option input:checked + label { border-color: var(--night); background: var(--paper-2); }
.route-option input:checked + label::before { border-color: var(--night); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 12px var(--night); }
.route-option input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }
.route-option label:hover { border-color: var(--night); }

.route-result {
  background: var(--night);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.route-result::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(216, 171, 105, 0.3);
  box-shadow: 0 0 0 28px rgba(216, 171, 105, 0.05), 0 0 0 60px rgba(216, 171, 105, 0.03);
}
.route-result h3 { color: var(--paper); }
.route-result p { color: rgba(249, 248, 244, 0.84); }
.route-panel[hidden] { display: none; }
.route-panel { animation: rise 0.45s var(--ease); position: relative; z-index: 1; }

/* ---------- Strata (the pathway) ---------- */

.strata { list-style: none; margin: 0; padding: 0; position: relative; }
.strata > li { margin: 0; }
.stratum {
  --depth-bg: var(--paper);
  --depth-fg: var(--ink);
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 40px);
  background: var(--depth-bg);
  color: var(--depth-fg);
  border-top: 1px solid var(--line);
}
.strata > li:first-child .stratum { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-top: 0; }
.strata > li:last-child .stratum { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.stratum[data-depth="1"] { --depth-bg: #f4f1ea; }
.stratum[data-depth="2"] { --depth-bg: #e9e4d8; }
.stratum[data-depth="3"] { --depth-bg: #d9d9cc; }
.stratum[data-depth="4"] { --depth-bg: #c5cabb; }
.stratum[data-depth="5"] { --depth-bg: #2c4146; --depth-fg: var(--paper); }
.stratum[data-depth="6"] { --depth-bg: var(--night); --depth-fg: var(--paper); }
.stratum[data-depth="5"], .stratum[data-depth="6"] { border-color: var(--line-light); }

.stratum-step {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  opacity: 0.55;
}
.stratum h3 { margin: 0 0 6px; }
.stratum p { margin: 0; font-size: 0.98rem; opacity: 0.88; }
.stratum .stratum-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.stratum[data-depth="5"] .chip, .stratum[data-depth="6"] .chip { background: rgba(249, 248, 244, 0.08); border-color: var(--line-light); color: rgba(249, 248, 244, 0.9); }
.stratum[data-depth="5"] .chip-gold, .stratum[data-depth="6"] .chip-gold { background: var(--gold); color: var(--night); }
.stratum[data-depth="5"] a:not(.btn), .stratum[data-depth="6"] a:not(.btn) { color: var(--gold-soft); }
.stratum[data-depth="5"] .text-link, .stratum[data-depth="6"] .text-link { color: var(--paper); }
.stratum.is-recommended { box-shadow: inset 6px 0 0 var(--gold); }

@media (max-width: 900px) {
  .stratum { grid-template-columns: 56px minmax(0, 1fr); }
  .stratum > :nth-child(3), .stratum > :nth-child(4) { grid-column: 2; }
}

.split-stratum { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); }
.split-stratum > div { background: var(--night); padding: 4px 0; }

/* Mini pathway (home) */
.path-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  position: relative;
}
.path-line::before {
  content: "";
  position: absolute;
  left: 8px; right: 8px; top: 9px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold) 45%, var(--clay) 75%, var(--night));
}
.path-line li { margin: 0; padding: 36px 16px 0 0; position: relative; }
.path-line li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--night);
}
.path-line li.is-first::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(216, 171, 105, 0.25); }
.path-line .label { display: block; color: var(--ink-muted); margin-bottom: 6px; font-size: 0.72rem; }
.path-line strong { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.path-line p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) {
  .path-line { grid-template-columns: 1fr; gap: 0; }
  .path-line::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--sage), var(--gold) 45%, var(--clay) 75%, var(--night)); }
  .path-line li { padding: 0 0 28px 44px; }
}

/* ---------- Offer band / timeline ---------- */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

.ticket {
  background: var(--night-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--night);
  transform: translateY(-50%);
}
.ticket::before { left: -14px; }
.ticket::after { right: -14px; }
.ticket dl { margin: 0; display: grid; gap: 0; }
.ticket dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-light); }
.ticket dt { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(249, 248, 244, 0.72); }
.ticket dd { margin: 0; text-align: right; font-weight: 700; }
.ticket .btn { width: 100%; margin-top: 22px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.timeline li { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 20px; position: relative; }
.timeline .days { font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-ink); }
.timeline h3 { font-size: 1.45rem; margin: 6px 0 6px; }
.timeline p { font-size: 0.93rem; margin: 0; color: var(--ink-soft); }
.timeline li::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
  opacity: calc(0.35 + var(--i, 0) * 0.13);
}
@media (max-width: 1080px) { .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .timeline { grid-template-columns: 1fr; } }

.weeks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.weeks li { margin: 0; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.weeks .label { color: var(--clay-ink); font-size: 0.72rem; }
.weeks h3 { font-size: 1.3rem; margin: 6px 0; }
.weeks p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 960px) { .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .weeks { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */

.check-list, .dash-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .dash-list li { position: relative; padding-left: 32px; }
.check-list li + li, .dash-list li + li { margin-top: 0.6em; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.42em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--gold-ink);
  border-bottom: 2px solid var(--gold-ink);
  transform: rotate(-45deg);
}
.band-night .check-list li::before { border-color: var(--gold); }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.8em;
  width: 16px; height: 2px;
  background: var(--clay);
}

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-card { border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); background: var(--paper); }
.fit-card.is-muted { background: var(--paper-2); }
.fit-card h3 { font-size: 1.55rem; }

/* ---------- Compare (Commons vs Practice) ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare-card { border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.compare-card.is-paid { background: var(--night); color: var(--paper); border-color: var(--night); }
.compare-card h3 { font-size: clamp(1.9rem, 2vw + 1rem, 2.5rem); margin-bottom: 0.2em; }
.compare-card .price-line { font-family: var(--font-label); font-weight: 600; margin-bottom: 1.2rem; }
.compare-card dl { margin: 1rem 0 1.4rem; display: grid; gap: 14px; }
.compare-card dt { font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.compare-card dd { margin: 2px 0 0; }
.compare-card .btn-row { margin-top: auto; }

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
}
.card h3 { font-size: 1.55rem; }
.card p:last-child { margin-bottom: 0; }
.band-paper2 .card, .band-sage .card { background: var(--paper); }
.band-night .card { background: var(--night-2); border-color: var(--line-light); }

.agreement { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.agreement .num { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.9; color: var(--gold-ink); font-weight: 600; }
.band-night .agreement .num { color: var(--gold); }
.agreement h3 { margin: 0 0 4px; font-size: 1.45rem; }
.agreement p { margin: 0; }

/* ---------- Scope note ---------- */

.scope-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--sage-soft);
  border: 1px solid rgba(15, 27, 31, 0.1);
  font-size: 0.97rem;
}
.scope-note svg { width: 26px; height: 26px; color: var(--p-movement); margin-top: 2px; }
.scope-note p:last-child { margin-bottom: 0; }
.scope-note strong { font-family: var(--font-label); font-size: 0.86rem; letter-spacing: 0.02em; }
.band-night .scope-note { background: var(--night-2); border-color: var(--line-light); }
.band-night .scope-note svg { color: var(--gold); }

.crisis-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.crisis-list li { margin: 0; }
.crisis-list a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.crisis-list a:hover { border-color: var(--night); background: var(--paper-2); }
.crisis-list strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.crisis-list span { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 0.8vw + 1rem, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 2px solid var(--clay-ink);
  border-bottom: 2px solid var(--clay-ink);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 0 22px; max-width: 44em; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.form-card h3 { margin-bottom: 0.3em; }
.form-grid { display: grid; gap: 16px; margin-top: 1.2rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-grid.two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field .field-label { font-family: var(--font-label); font-size: 0.86rem; font-weight: 600; }
.field .hint { font-size: 0.85rem; color: var(--ink-muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 4px rgba(216, 171, 105, 0.45); }
.check-field { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 0.93rem; color: var(--ink-soft); }
.check-field input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--night); }
.form-foot { font-size: 0.86rem; color: var(--ink-muted); margin: 12px 0 0; }
.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fbf1df;
  border: 1px solid #e7c98f;
  font-size: 0.93rem;
  color: var(--ink);
}
.form-status[hidden] { display: none; }
.form-embed iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); background: #fff; }

/* ---------- Ground plan ---------- */

.plan-paper {
  background:
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(15, 27, 31, 0.06) 39px 40px),
    #fdfcf8;
  border: 1px solid var(--line);
  border-radius: 10px 10px var(--radius-lg) var(--radius-lg);
  padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow-lift);
  position: relative;
}
.plan-paper::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(22px, 4vw, 48px); right: clamp(22px, 4vw, 48px);
  height: 5px;
  background: linear-gradient(90deg, var(--p-breathe) 0 25%, var(--p-movement) 25% 50%, var(--p-nutrition) 50% 75%, var(--p-connection) 75%);
  border-radius: 0 0 4px 4px;
}
.plan-section { padding-block: 1.4rem; }
.plan-section + .plan-section { border-top: 1px dashed var(--line-strong); }
.plan-section h3 { font-size: 1.6rem; margin-bottom: 0.2em; }
.plan-section > p { color: var(--ink-muted); font-size: 0.95rem; }
.plan-pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .plan-pillar-grid { grid-template-columns: 1fr; } }
.plan-pillar-grid .field label { display: flex; align-items: center; gap: 8px; }
.plan-pillar-grid .field label::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--dot, var(--gold)); }
.plan-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.save-state { font-family: var(--font-label); font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- Capacity check-in ---------- */

.capacity { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1rem 0; }
@media (max-width: 600px) { .capacity { grid-template-columns: 1fr; } }
.capacity button {
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 2px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.capacity button strong { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.capacity button span { font-size: 0.9rem; color: var(--ink-muted); }
.capacity button:hover { border-color: var(--night); }
.capacity button[aria-pressed="true"] { border-color: var(--night); background: var(--night); color: var(--paper); }
.capacity button[aria-pressed="true"] span { color: rgba(249, 248, 244, 0.78); }
.capacity-result { padding: 20px 22px; border-left: 4px solid var(--gold); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; }
.capacity-result[hidden] { display: none; }
.capacity-result h4 { font-size: 1.4rem; margin-bottom: 0.3em; }

/* ---------- Day list (Starter Ground) ---------- */

.days-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.days-list li { margin: 0; display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.days-list .day { font-family: var(--font-label); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay-ink); }
.days-list h3 { font-size: 1.4rem; margin: 0 0 2px; }
.days-list p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 600px) {
  .days-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Media blocks ---------- */

.portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-lift);
  background: var(--sage);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.book-cover {
  border-radius: 6px 14px 14px 6px;
  overflow: hidden;
  box-shadow: -10px 0 0 -4px rgba(15, 27, 31, 0.25), var(--shadow-lift);
  transform: rotate(-2deg);
  max-width: 340px;
  margin-inline: auto;
}

.photo-band { position: relative; min-height: clamp(260px, 38vw, 460px); overflow: hidden; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 31, 0.78), rgba(15, 27, 31, 0.2)); }
.photo-band .wrap { position: relative; z-index: 1; color: var(--paper); padding-block: clamp(48px, 8vw, 96px); }

.creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.creds li { margin: 0; }

.ladder { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; align-items: stretch; }
.ladder li { margin: 0; flex: 1 1 150px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); position: relative; }
.ladder li + li { border-left: 0; }
.ladder li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.ladder li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.ladder strong { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; margin-bottom: 4px; }
.ladder span { font-size: 0.9rem; color: var(--ink-soft); display: block; }
.ladder .label { color: var(--clay-ink); font-size: 0.7rem; display: block; margin-bottom: 6px; }
@media (max-width: 760px) {
  .ladder { flex-direction: column; }
  .ladder li + li { border-left: 1px solid var(--line); border-top: 0; }
  .ladder li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .ladder li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-label); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--paper-2); }
tr:last-child td { border-bottom: 0; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.toc li { margin: 0; }
.toc a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-family: var(--font-label); font-size: 0.86rem; font-weight: 500; background: var(--paper); }
.toc a:hover { border-color: var(--night); }
.toc a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--gold)); }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: rgba(249, 248, 244, 0.86); padding-block: clamp(56px, 7vw, 90px) 32px; font-size: 0.95rem; }
.site-footer a { color: rgba(249, 248, 244, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 1080px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 14px; }
.footer-brand .brand-name { color: var(--paper); font-size: 1.7rem; display: block; margin-bottom: 8px; }
.footer-signature { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-soft); line-height: 1.35; margin: 16px 0 0; }
.site-footer h2 { font-family: var(--font-label); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.footer-crisis { margin-top: clamp(36px, 5vw, 56px); padding: 18px 22px; border: 1px solid var(--line-light); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-crisis strong { font-family: var(--font-label); color: var(--paper); font-size: 0.88rem; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: 0.86rem; color: rgba(249, 248, 244, 0.66); }
.social { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ---------- Pending values (founder approval) ---------- */

.pending { font-style: italic; }
.show-pending .pending {
  font-style: normal;
  background: repeating-linear-gradient(-45deg, rgba(185, 124, 107, 0.16) 0 6px, rgba(185, 124, 107, 0.06) 6px 12px);
  outline: 1.5px dashed var(--clay);
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 4px;
}
.band-night .pending, .on-night .pending, .ticket .pending, .compare-card.is-paid .pending, .stratum[data-depth="6"] .pending { color: var(--gold-soft); }
.show-pending .pending::after { content: " ⚑"; font-size: 0.8em; }

.preview-banner {
  display: none;
  background: var(--clay);
  color: var(--night);
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  padding: 7px 16px;
}
.show-pending .preview-banner { display: block; }
.preview-banner a { color: var(--night); font-weight: 600; }

/* ---------- Motion ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise 0.8s var(--ease) both; }
.reveal-1 { animation-delay: 0.08s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.3s; }
.reveal-4 { animation-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .root-line path { stroke-dashoffset: 0; }
  .pacer-orb::after { transition: none !important; }
}

/* ---------- Print (My Ground Plan and practices) ---------- */

@media print {
  body::before, .site-header, .site-footer, .preview-banner, .no-print, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { background: #fff; padding: 0 0 12pt; }
  .soil-edge::after { display: none; }
  .plan-paper { box-shadow: none; border: 0; padding: 0; background: #fff; }
  .field input, .field textarea { border: 0; border-bottom: 1px solid #999; border-radius: 0; min-height: 0; padding: 4px 0; background: #fff; }
  .section { padding-block: 12pt; }
  a { color: #000; }
}

/* ---------- Founded ecosystem ---------- */

.eco-bar { background: var(--night); color: rgba(249, 248, 244, 0.86); font-family: var(--font-label); font-size: 0.8rem; }
.eco-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; min-height: 36px; padding-block: 6px; }
.eco-bar a { color: var(--gold-soft); text-decoration: none; }
.eco-bar a:hover { color: var(--paper); text-decoration: underline; }
.eco-bar-link { font-weight: 600; }
@media (max-width: 560px) { .eco-bar-inner > span { display: none; } .eco-bar-inner { justify-content: center; } }

.arc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: arc; }
.arc-stage { margin: 0; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.arc-stage + .arc-stage::before { content: ""; position: absolute; left: -13px; top: 34px; width: 14px; height: 2px; background: var(--gold); }
.arc-stage h3 { font-size: 1.5rem; margin: 0; }
.arc-stage p { font-size: 0.93rem; color: var(--ink-soft); margin: 0 0 6px; flex: 1; }
.arc-stage .text-link, .arc-stage .chip { align-self: flex-start; }
.arc-num { font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; color: var(--clay-ink); }
.arc-stage.is-here { background: var(--night); color: var(--paper); border-color: var(--night); box-shadow: var(--shadow-lift); }
.arc-stage.is-here p { color: rgba(249, 248, 244, 0.84); }
.arc-stage.is-here .arc-num { color: var(--gold); }
.arc-compact .arc-stage { padding: 16px 16px 18px; }
@media (max-width: 1000px) {
  .arc { grid-template-columns: 1fr; gap: 10px; }
  .arc-stage + .arc-stage::before { left: 28px; top: -11px; width: 2px; height: 10px; }
}

.arc-path { margin-top: 2.4rem; padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.arc-path .label { color: var(--clay-ink); display: block; margin-bottom: 12px; font-size: 0.74rem; }
.arc-path ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.arc-path li { margin: 0; display: flex; align-items: center; gap: 12px; flex: 1 1 200px; }
.arc-path li + li::before { content: "→"; color: var(--gold-ink); font-size: 1.4rem; }
.arc-path a { flex: 1; display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--radius); background: var(--paper-2); color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.arc-path a:hover { border-color: var(--night); }
.arc-path strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.arc-path a span { font-size: 0.9rem; color: var(--ink-muted); }
.arc-path li[aria-current] a { background: var(--night); color: var(--paper); border-color: var(--night); }
.arc-path li[aria-current] a span { color: var(--gold-soft); }

.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.doors li { margin: 0; }
.doors a { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.doors a:hover { border-color: var(--night); transform: translateY(-2px); }
.door-q { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
.door-dest { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.door-dest strong { font-family: var(--font-label); font-size: 0.92rem; }
.door-dest > span { font-size: 0.9rem; color: var(--clay-ink); }

.eco-group { font-family: var(--font-label); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin: 2.6rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.eco-group:first-of-type { margin-top: 0; }
.eco-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.eco-card .chip { align-self: flex-start; }
.eco-card h4 { font-size: 1.45rem; margin: 4px 0 0; }
.eco-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; flex: 1; }
.eco-card .text-link { align-self: flex-start; margin-top: 6px; }
.eco-card[data-live="true"] .chip { background: var(--sage-soft); border-color: rgba(15, 27, 31, 0.12); color: var(--ink); }
.eco-card[data-live="false"] { background: var(--paper-2); }

/* Four Pillar Basics downloads */
.basics-card { border-top: 4px solid var(--p-breathe); }
.basics-card[data-pillar="movement"] { border-top-color: var(--p-movement); }
.basics-card[data-pillar="nutrition"] { border-top-color: var(--p-nutrition); }
.basics-card[data-pillar="connection"] { border-top-color: var(--p-connection); }
.basics-card h3 { font-size: 1.5rem; margin: 4px 0 0; }
.basics-card .btn { align-self: flex-start; margin-top: 8px; }
