/* Flow Design site — lifted from landing-flowdesign-work.html, extended for multi-page nav */

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

:root {
  --bg-cream: #FDFBF7;
  --bg-warm: #F5F2EC;
  --bg-paper: linear-gradient(1.5deg, #FDFBF7 0%, #F8F4EB 100%);

  /* Brand anchor — unchanged for compat with 240+ references */
  --brand-forest: #529B44;
  --brand-forest-deep: #3f7d34;
  --brand-forest-08: rgba(82,155,68,0.08);

  /* Emotional-weather palette tuned to the 10-stage journey */
  --ink-clay: #B85C3B;        /* Stages 1–4: Moment → Surface Fix */
  --ink-clay-deep: #93472D;
  --ink-clay-08: rgba(184,92,59,0.08);
  --ink-forest: #529B44;       /* Stages 5–6: Realization → HD (alias of brand-forest) */
  --ink-mist: #5B7C99;         /* Stages 7–9: Reflection → Workflow → Experiment */
  --ink-mist-deep: #44617B;
  --ink-mist-08: rgba(91,124,153,0.08);
  --ink-gold: #C9A04A;         /* Stage 0: Return / Become — spiral marker */
  --ink-gold-deep: #A68232;
  --ink-gold-08: rgba(201,160,74,0.10);

  --text-primary: #1a1a1a;
  --text-muted: #4a4a4a;
  --text-light: #767676;
  --border-subtle: rgba(0,0,0,0.06);    /* softened from 0.08 */
  --border-rule: rgba(82,155,68,0.4);
  --radius-sm: 8px;             /* keep — used by 60+ rules */
  --radius-card: 14px;          /* new — emotional surfaces */
  --radius-btn: 6px;            /* new — functional surfaces */
  --radius-pill: 999px;
  --shadow-paper: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -16px rgba(82,92,68,0.18);

  /* Editorial serif stack for long-form prose (article body) */
  --font-editorial: 'Lora', 'Source Serif 4', Georgia, serif;
  /* Display serif for hero H1 + chapter numerals — hand-drawn warmth */
  --font-display: 'Fraunces', 'Source Serif 4', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-cream);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.003em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 920px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 680px; margin: 0 auto; padding: 0 28px; }

a { color: var(--brand-forest); }
a:hover { color: var(--brand-forest-deep); }

/* ── Nav ── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,251,247,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-forest);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;
  margin-right: 8px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-forest);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--brand-forest); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--brand-forest); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-block;
  padding: 9px 18px;
  background: var(--brand-forest);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-forest-deep); color: #fff !important; }

.nav-cta-outline {
  display: inline-block;
  padding: 9px 18px;
  background: transparent;
  color: var(--brand-forest) !important;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: color 0.2s;
  margin-right: 8px;
}
.nav-cta-outline:hover { color: var(--brand-forest-deep) !important; text-decoration: underline; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: flex;
  background: var(--bg-warm);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.lang-btn {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-radius: 18px;
  white-space: nowrap;
  text-align: center;
  min-width: 32px;
  line-height: 1.2;
}
.lang-btn.is-active {
  background: var(--brand-forest);
  color: #fff !important;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta         { padding: 8px 14px; font-size: 0.8rem; }
  .nav-cta-outline { padding: 8px 14px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .nav-cta         { padding: 7px 12px; font-size: 0.75rem; }
  .nav-cta-outline { display: none; }
  .nav-right { gap: 8px; }
  .lang-btn        { padding: 6px 10px; font-size: 0.7rem; min-width: 30px; }
}

/* ── Hero ── */
.hero {
  background: var(--bg-cream);
  padding: 72px 0 56px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 96, "SOFT" 70;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 22px;
  animation: fd-fade-up 600ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes fd-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 18px;
  line-height: 1.7;
}
.hero-sub + .hero-sub { margin-top: 6px; }
.hero-sub:last-of-type { margin-bottom: 32px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--brand-forest);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--brand-forest-deep); color: #fff; }

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--brand-forest);
  border: 1px solid var(--brand-forest);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Section base ── */
section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-forest);
  margin-bottom: 14px;
}
/* Tinted section labels — use to mark which arc movement a section belongs to. */
.section-label.is-clay   { color: var(--ink-clay); }
.section-label.is-mist   { color: var(--ink-mist); }
.section-label.is-gold   { color: var(--ink-gold-deep); }

.section-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.008em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-warm { background: var(--bg-warm); }
.section-cream { background: var(--bg-cream); }

/* ── 5 Moments ── */
.moments-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-top: 4px;
}
.moments-intro + .moments-intro { margin-top: 16px; }

.moments-list {
  border-left: 2px solid var(--border-rule);
  padding-left: 32px;
  margin: 52px 0 40px;
  max-width: 680px;
}

.moment-line {
  font-size: 1.12rem;
  color: var(--text-muted);
  padding: 18px 0;
  line-height: 1.55;
}
.moment-line + .moment-line { border-top: 1px solid var(--border-subtle); }

.moments-closing {
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}

/* ── Workflows ── */
.workflow-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}

.workflow-item {
  padding: 28px 32px 28px 0;
  border-top: 1px solid var(--border-subtle);
}

.workflow-item:nth-child(3n) { padding-right: 0; }

.workflow-item h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.workflow-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-item { padding-right: 24px; }
  .workflow-item:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 480px) {
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-item { padding-right: 0; }
}

/* ── Workflow tag ── */
.workflow-tag {
  margin-top: 10px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--brand-forest);
  letter-spacing: 0.01em;
}

/* ── Journey (5-stage condensed loop) ── */
.journey-list {
  list-style: none;
  padding: 0;
  margin: 48px 0 32px;
  max-width: 720px;
  border-top: 1px solid var(--border-subtle);
}
.journey-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.journey-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--brand-forest);
  line-height: 1;
}
.journey-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}
.journey-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.journey-closing {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}
.journey-cta { margin-top: 32px; }

/* ── Experiments grid (mirrors workflow-grid) ── */
.experiments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}
.experiment-card {
  padding: 28px 32px 28px 0;
  border-top: 1px solid var(--border-subtle);
}
.experiment-card:nth-child(3n) { padding-right: 0; }
.experiment-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.experiment-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.experiments-closing {
  margin-top: 36px;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .experiments-grid { grid-template-columns: repeat(2, 1fr); }
  .experiment-card { padding-right: 24px; }
  .experiment-card:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 480px) {
  .experiments-grid { grid-template-columns: 1fr; }
  .experiment-card { padding-right: 0; }
}

/* ── Offerings preview (home) ── */
.offers-band { margin: 36px 0 0; }

.offer-row {
  display: grid;
  grid-template-columns: 200px 72px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.offer-row:first-child { border-top: 1px solid var(--border-subtle); }

.offer-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.4;
}
.offer-price { color: var(--brand-forest); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.offer-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.offer-cta a {
  font-size: 0.87rem;
  color: var(--brand-forest);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.offer-cta a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .offer-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
}

/* ── Readable prose for embedded copy blocks (home, solutions intros, etc.) ── */
.bigger-body {
  max-width: 65ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.bigger-body p { margin-bottom: 1.05em; }
.bigger-body p:last-child { margin-bottom: 0; }
.bigger-body strong { color: var(--text-primary); }
.bigger-body em { color: var(--brand-forest-deep); font-style: italic; }
.bigger-body ul, .bigger-body ol {
  padding-left: 26px;
  margin: 0 0 1.05em;
}
.bigger-body li { margin-bottom: 8px; line-height: 1.75; }
.bigger-body a { color: var(--brand-forest); text-decoration: underline; text-underline-offset: 3px; }

/* ── Editorial / page body ── */
.page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 28px 96px;
}

.page-body h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.page-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 56px 0 16px;
  color: var(--text-primary);
}

.page-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 36px 0 12px;
}

.page-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 65ch;
}

.page-body blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-primary);
  border-left: 2px solid var(--border-rule);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
  line-height: 1.5;
}

.page-body ul, .page-body ol {
  padding-left: 28px;
  margin-bottom: 20px;
  color: var(--text-muted);
  max-width: 65ch;
  font-size: 1.02rem;
}

.page-body li { margin-bottom: 10px; line-height: 1.75; }

.page-body hr {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 48px 0;
}

.page-body a { color: var(--brand-forest); text-decoration: underline; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-card {
  padding: 32px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
}
.contact-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.contact-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 16px; }
.contact-card a.btn-primary { margin-top: 8px; }

/* ── Articles index ── */
.articles-header {
  background: var(--bg-warm);
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.articles-h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
}

.articles-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.articles-closing-line {
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 18px;
}

.categories-nav { display: flex; flex-wrap: wrap; gap: 8px; }

.cat-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  background: #fff;
  transition: all 0.2s;
}
.cat-pill:hover { border-color: var(--brand-forest); color: var(--brand-forest); }
.cat-pill.is-active { background: var(--brand-forest); color: #fff; border-color: var(--brand-forest); }

.articles-section { padding: 56px 0 96px; background: var(--bg-cream); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
@media (max-width: 720px) { .articles-grid { grid-template-columns: 1fr; gap: 28px; } }

.article-card {
  display: block;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover { border-color: var(--brand-forest); transform: translateY(-2px); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.article-cat { color: var(--brand-forest); font-weight: 600; }

.article-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.article-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.page-link {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
}
.page-link:hover { border-color: var(--brand-forest); color: var(--brand-forest); }
.page-link.is-active { background: var(--brand-forest); color: #fff; border-color: var(--brand-forest); }

/* ── Single article ── */
.article-page { background: var(--bg-cream); }

.article-header {
  padding: 80px 0 40px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-subtle);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.article-cat-link { color: var(--brand-forest); text-decoration: none; font-weight: 600; }
.article-cat-link:hover { text-decoration: underline; }
.article-dot { color: var(--border-subtle); }

.article-h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.article-lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.article-body { padding: 56px 28px 80px; }

.article-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.55rem;
  margin: 56px 0 16px;
  color: var(--text-primary);
}
.article-body h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 36px 0 12px;
}
.article-body p {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 65ch;
}
.article-body blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-primary);
  border-left: 2px solid var(--border-rule);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
  line-height: 1.5;
}
.article-body ul, .article-body ol {
  padding-left: 28px;
  margin-bottom: 22px;
  color: var(--text-muted);
  max-width: 65ch;
}
.article-body li { margin-bottom: 10px; line-height: 1.8; font-size: 1.04rem; }
.article-body hr {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 48px 0;
}
.article-body a {
  color: var(--brand-forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body strong { color: var(--text-primary); }
.article-body em { font-style: italic; }
.article-body code {
  background: var(--bg-warm);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
}

.article-footer {
  padding: 64px 0 96px;
  text-align: center;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-subtle);
}
.article-cta-line {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.related { padding: 80px 0; background: var(--bg-cream); }
.related-h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.related-list { display: grid; gap: 16px; }
.related-item {
  display: block;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s;
}
.related-item:hover { border-color: var(--brand-forest); }
.related-cat {
  display: block;
  font-size: 0.75rem;
  color: var(--brand-forest);
  font-weight: 600;
  margin-bottom: 6px;
}
.related-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* ── Footer ── */
footer.site-footer {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 48px;
  text-align: center;
}

.footer-inner { max-width: 920px; margin: 0 auto; padding: 0 28px; }

.footer-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-forest);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-forest); }

.footer-email { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }
.footer-copy { font-size: 0.78rem; color: var(--text-light); }
.footer-copy a { color: var(--text-light); }

/* ──────────────────────────────────────────────────────────────────
   Life Game landing — card-rich layout (cards + icons inspired by
   lifegame.huyhungstory.com, retuned to the flowdesign.work palette).
   ────────────────────────────────────────────────────────────────── */

/* Readable prose for long passages on the Life Game landing.
   Constrains line length to ~62ch, opens up line-height + paragraph spacing. */
.lg-prose {
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-primary);
}
.lg-prose p { margin-bottom: 1.05em; }
.lg-prose p:last-child { margin-bottom: 0; }
.lg-prose strong { color: var(--text-primary); }
.lg-prose em { color: var(--brand-forest-deep); font-style: italic; }
.lg-prose-center { margin-left: auto; margin-right: auto; }

/* Subtle "lede" treatment for hero subheading */
.lg-hero-sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
  max-width: 56ch;
  margin-top: 14px;
}

/* Hero badge + stats */
.lg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-forest-08);
  color: var(--brand-forest-deep);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.lg-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  max-width: 460px;
}
.lg-hero-stat-value {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--brand-forest);
  line-height: 1;
}
.lg-hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Generic gradient icon ring (used by stages + quadrants) */
.lg-icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #c9e8c0 0%, #529b44 100%);
  box-shadow: 0 4px 14px rgba(82,155,68,0.18);
  flex-shrink: 0;
}

/* ── Stages (3 evolution cards) ── */
.lg-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.lg-stage-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lg-stage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-color: var(--border-rule);
}
.lg-stage-card.is-active {
  background: linear-gradient(180deg, #fff 0%, #f0f7ec 100%);
  border-color: var(--brand-forest);
  box-shadow: 0 8px 24px rgba(82,155,68,0.12);
}
.lg-stage-level {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-forest);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.lg-stage-card .lg-icon-ring { margin-bottom: 14px; }
.lg-stage-card:nth-child(1) .lg-icon-ring { background: linear-gradient(135deg, #d8d8e8 0%, #8888a0 100%); }
.lg-stage-card:nth-child(2) .lg-icon-ring { background: linear-gradient(135deg, #fde7a3 0%, #e89c4a 100%); }
.lg-stage-card:nth-child(3) .lg-icon-ring { background: linear-gradient(135deg, #c9e8c0 0%, #529b44 100%); }
.lg-stage-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.lg-stage-title {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin: 4px 0 14px;
}
.lg-stage-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.lg-stage-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--brand-forest);
  background: var(--bg-cream);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ── Chapter tab cards (2x2) ── */
.lg-tabs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.lg-tab-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lg-tab-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-color: var(--border-rule);
}
.lg-tab-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.lg-tab-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}
.lg-tab-card:nth-child(1) .lg-tab-icon { background: linear-gradient(135deg, #d8e6ff 0%, #667eea 100%); }
.lg-tab-card:nth-child(2) .lg-tab-icon { background: linear-gradient(135deg, #ffe1cc 0%, #f5576c 100%); }
.lg-tab-card:nth-child(3) .lg-tab-icon { background: linear-gradient(135deg, #ddf3e8 0%, #38b87b 100%); }
.lg-tab-card:nth-child(4) .lg-tab-icon { background: linear-gradient(135deg, #f5e8d3 0%, #b08c5b 100%); }
.lg-tab-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}
.lg-tab-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lg-tab-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lg-tab-features li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 6px 0 6px 22px;
  position: relative;
  border-top: 1px dashed var(--border-subtle);
}
.lg-tab-features li:first-child { border-top: 1px solid var(--border-subtle); padding-top: 10px; margin-top: 4px; }
.lg-tab-features li::before {
  content: '◆';
  position: absolute;
  left: 4px;
  top: 6px;
  color: var(--brand-forest);
  font-size: 0.7rem;
}

/* ── Feature cards (3-col, 6 features) ── */
.lg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.lg-feature-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lg-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-color: var(--border-rule);
}
.lg-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 14px;
  background: var(--brand-forest-08);
}
.lg-feature-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.lg-feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Quadrant cards (2x2) ── */
.lg-gnh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-forest-08);
  color: var(--brand-forest-deep);
  font-size: 0.8rem;
  font-weight: 500;
  margin: 12px 0 4px;
}
.lg-quadrants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.lg-quadrant-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lg-quadrant-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-color: var(--border-rule);
}
.lg-quadrant-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.lg-quadrant-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.lg-quadrant-card:nth-child(1) .lg-quadrant-icon { background: linear-gradient(135deg, #e0d8ff 0%, #764ba2 100%); }
.lg-quadrant-card:nth-child(2) .lg-quadrant-icon { background: linear-gradient(135deg, #ffd6e0 0%, #f5576c 100%); }
.lg-quadrant-card:nth-child(3) .lg-quadrant-icon { background: linear-gradient(135deg, #d3edff 0%, #4facfe 100%); }
.lg-quadrant-card:nth-child(4) .lg-quadrant-icon { background: linear-gradient(135deg, #d6f5e0 0%, #43e97b 100%); }
.lg-quadrant-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.lg-quadrant-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2px;
}
.lg-quadrant-domains {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lg-domain-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: baseline;
}
.lg-domain-icon {
  font-size: 1rem;
  text-align: center;
}
.lg-domain-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.lg-domain-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .lg-stages-grid { grid-template-columns: 1fr; }
  .lg-stage-arrow { display: none; }
  .lg-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lg-tabs-grid,
  .lg-quadrants-grid,
  .lg-features-grid { grid-template-columns: 1fr; }
  .lg-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lg-hero-stat-value { font-size: 1.4rem; }
}

/* ── Hero split (home) ── */
.hero-split-section { padding: 64px 0 56px; }
.hero-split {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-split-copy .hero-h1 { margin-bottom: 18px; }
.hero-split-copy .hero-sub { margin: 0 0 28px; max-width: 560px; }
.hero-split-media { display: flex; justify-content: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--brand-forest-deep);
  background: var(--brand-forest-08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-preview-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(20,40,20,0.12), 0 4px 12px rgba(20,40,20,0.06);
  border: 1px solid var(--border-subtle);
  background: #fff;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}
.btn-text {
  display: inline-block;
  color: var(--brand-forest);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-text:hover {
  color: var(--brand-forest-deep);
  border-bottom-color: var(--brand-forest-deep);
}
@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-split-copy .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
}

/* ── Resource cards (resources page) ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-color: var(--border-rule);
}
a.resource-card:hover { color: inherit; }
.resource-card .resource-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ddf3e8 0%, #38b87b 100%);
  margin-bottom: 14px;
}
.resource-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.resource-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}
.resource-card .resource-cta {
  color: var(--brand-forest);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.resource-card .resource-cta:hover { color: var(--brand-forest-deep); }
.resource-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; }
.resource-card ul li { margin: 4px 0; }

/* ── Leak cards (home page seven leaks) ── */
.leaks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 36px 0 28px;
}
.leak-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.leak-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-color: var(--border-rule);
}
.leak-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ddf3e8 0%, #38b87b 100%);
}
.leak-card:nth-child(2) .leak-icon { background: linear-gradient(135deg, #d8e6ff 0%, #667eea 100%); }
.leak-card:nth-child(3) .leak-icon { background: linear-gradient(135deg, #ffe1cc 0%, #f5576c 100%); }
.leak-card:nth-child(4) .leak-icon { background: linear-gradient(135deg, #f5e8d3 0%, #b08c5b 100%); }
.leak-card:nth-child(5) .leak-icon { background: linear-gradient(135deg, #fff3c4 0%, #f5a623 100%); }
.leak-card:nth-child(6) .leak-icon { background: linear-gradient(135deg, #e8d8ff 0%, #8e6dd0 100%); }
.leak-card:nth-child(7) .leak-icon { background: linear-gradient(135deg, #d3f0ee 0%, #2da89a 100%); }
.leak-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.35;
}
.leak-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Journey step number badge (solutions page) ── */
.journey-step-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-forest);
  margin-bottom: 2px;
}

/* Articles index — featured row */
.featured-articles { padding: 48px 0 24px; }
.featured-articles .section-label { display: block; margin-bottom: 18px; }

/* Centered section header — used inside the wider .container so the heading
   block doesn't sit visibly to the left while the grid below stays full-width. */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
}
.section-header .moments-intro {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Homepage — door cards (the six daily-leak entry points, 3×2 grid) */
.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
@media (max-width: 820px) { .doors-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 520px) { .doors-grid { grid-template-columns: 1fr; gap: 16px; } }

.door-card {
  display: block;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.door-card:hover {
  border-color: var(--brand-forest);
  transform: translateY(-1px);
}
.door-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 12px;
  filter: saturate(0.85);
}
.door-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.door-desc {
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Homepage — chapter narration (4 flow-journey steps in a 2x2 grid) */
.chapter-narration {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
@media (max-width: 600px) { .chapter-narration { grid-template-columns: 1fr; gap: 20px; } }
.chapter-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  overflow: hidden;
}
.chapter-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-feature-settings: "onum";
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--brand-forest);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.chapter-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.32;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.chapter-felt {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}
.chapter-felt + .chapter-felt { margin-top: 14px; }
.chapter-felt em { color: var(--text-primary); font-style: normal; font-weight: 500; }
.chapter-deeper {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-forest);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-forest);
  padding-bottom: 1px;
  position: relative;
  z-index: 1;
}
.chapter-deeper:hover { border-bottom-width: 2px; }

/* Solutions — felt-moment lead */
.solutions-felt-lead {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  max-width: 640px;
  margin: 0 auto 16px;
  text-align: center;
}

details.expand-block {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  background: #fff;
}
details.expand-block summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  list-style: none;
}
details.expand-block summary::-webkit-details-marker { display: none; }
details.expand-block summary::after {
  content: ' ▾';
  color: var(--text-light);
  font-weight: 400;
}
details.expand-block[open] summary::after { content: ' ▴'; }
details.expand-block > *:not(summary) { margin-top: 14px; }

/* ──────────────────────────────────────────────────────────────────
   Flow Journey motifs (2026-05-14)
   Stage 0 spiral marker · current-line · drop cap · arc-mode helpers
   ────────────────────────────────────────────────────────────────── */

/* Inline spiral glyph for Stage 0 / Return / Become moments. Use:
   <span class="stage-spiral" aria-hidden="true"></span> before the heading or CTA. */
.stage-spiral {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  vertical-align: -0.32em;
  margin-right: 0.35em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C9A04A' stroke-width='1.4' stroke-linecap='round'><path d='M16 16 m0 -7 a7 7 0 1 1 -6.06 10.5 a5 5 0 1 1 8.66 -3.5 a3 3 0 1 1 -4.5 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}

/* The "current line" — a thin vertical rule that visually carries the journey
   alongside chapter narration. Pure CSS; sits inside the chapter-narration
   container as a pseudo-element on a wrapping .arc-rail. */
.arc-rail {
  position: relative;
}
.arc-rail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--ink-clay-08) 0%,
    var(--ink-clay) 18%,
    var(--brand-forest) 48%,
    var(--ink-mist) 78%,
    var(--ink-gold) 100%
  );
  opacity: 0.55;
  pointer-events: none;
  transform: translateX(-0.5px);
}
@media (max-width: 760px) {
  .arc-rail::before { left: 18px; }
}

/* Article body — Stage spine: each h2 that begins "Stage" gets a ghosted numeral
   in the left margin. Apply by adding the .stage-spine class to the article body wrapper. */
.stage-spine h2[data-stage] {
  position: relative;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.005em;
  padding-left: 0;
  margin-top: 64px;
}
.stage-spine h2[data-stage]::before {
  content: attr(data-stage);
  position: absolute;
  left: -1.7em;
  top: -0.25em;
  font-family: var(--font-display);
  font-weight: 200;
  font-feature-settings: "onum";
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--ink-clay-08);
  pointer-events: none;
}
.stage-spine h2[data-stage^="5"]::before,
.stage-spine h2[data-stage^="6"]::before { color: var(--brand-forest-08); }
.stage-spine h2[data-stage^="7"]::before,
.stage-spine h2[data-stage^="8"]::before,
.stage-spine h2[data-stage^="9"]::before { color: var(--ink-mist-08); }
.stage-spine h2[data-stage="0"]::before { color: var(--ink-gold-08); }
@media (max-width: 760px) {
  .stage-spine h2[data-stage]::before {
    position: static;
    display: block;
    font-size: 2.2rem;
    margin-bottom: -0.4em;
  }
}

/* Drop cap for article body's opening paragraph. Apply .has-drop-cap on the
   first p inside the article body to opt in. */
.has-drop-cap::first-letter {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 4.5rem;
  line-height: 0.82;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--ink-clay);
}

/* Editorial body — opt-in long-form reading rhythm for article prose. */
.editorial-body {
  font-family: var(--font-editorial);
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--text-primary);
}
.editorial-body p { margin-bottom: 1.1em; }
.editorial-body em { color: var(--text-muted); }
.editorial-body blockquote {
  border-left: 2px solid var(--ink-clay);
  padding-left: 1em;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Pull-quote (Richard Rudd, etc.) — refined display block. */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 96, "SOFT" 80;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.pull-quote::before {
  content: '“';
  position: absolute;
  left: -0.5em;
  top: -0.1em;
  font-size: 2.2em;
  line-height: 1;
  color: var(--ink-clay);
  opacity: 0.35;
}

/* Soft section divider — replaces hard borders. Use between adjacent sections
   that share a background. */
.section-divider {
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink-mist);
  opacity: 0.35;
}

/* ─────────────────────────────────────────────────────────────────────────
   Guided-entry picker (/start/, /vi/bat-dau/)
   Q1 → Q3 → output card. Visually rhymes with .door-card but uses <button>
   so it's keyboard-navigable and supports aria-current selection.
   ───────────────────────────────────────────────────────────────────────── */

.hero-compact .hero-inner {
  padding-top: 56px;
  padding-bottom: 24px;
}
.hero-compact .hero-h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}
.hero-compact .hero-sub {
  font-size: 1rem;
  max-width: 580px;
}

.picker-section .section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.picker-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
@media (max-width: 820px) { .picker-options { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 520px) { .picker-options { grid-template-columns: 1fr; gap: 16px; } }

.picker-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.picker-option:hover {
  border-color: var(--brand-forest);
  transform: translateY(-1px);
  box-shadow: var(--shadow-paper);
}
.picker-option:focus-visible {
  outline: 2px solid var(--brand-forest);
  outline-offset: 2px;
}
.picker-option[aria-current="true"] {
  border-color: var(--brand-forest);
  background: var(--brand-forest-08);
}

.picker-option-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 12px;
  filter: saturate(0.85);
}
.picker-option-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.picker-option-desc {
  font-family: var(--font-editorial);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* "All of it" sits below the main grid as a single, smaller card. */
.picker-option-small {
  display: block;
  max-width: 560px;
  margin: 28px auto 0;
  padding: 18px 22px;
  background: transparent;
  border: 1px dashed var(--border-subtle);
}
.picker-option-small .picker-option-icon { font-size: 1.3rem; margin-bottom: 6px; }
.picker-option-small .picker-option-label { font-size: 1rem; margin-bottom: 4px; }
.picker-option-small .picker-option-desc { font-size: 0.88rem; }
.picker-option-small:hover { border-style: solid; }

/* When the user clicks "All of it", we flash the existing options so they
   know we're asking them to pick the loudest one. */
@keyframes picker-flash {
  0%, 100% { background: transparent; }
  35%      { background: rgba(82,155,68,0.06); }
}
.picker-options-flash {
  animation: picker-flash 1.2s ease-out 1;
  border-radius: var(--radius-card);
  padding: 6px;
  margin-left: -6px;
  margin-right: -6px;
}

/* Back / Start-over button — pill-shape so the affordance reads as a button,
   not faint link text. Top placement on scene + mode steps; bottom on output. */
.picker-back-line {
  text-align: center;
  margin: 0 0 28px;
}
.picker-back-line-top {
  margin: 0 0 22px;
}
.picker-step-output .picker-back-line {
  margin-top: 32px;
  margin-bottom: 0;
}
.picker-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--brand-forest);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-forest);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.picker-back:hover,
.picker-back:focus-visible {
  background: var(--brand-forest);
  color: #fff;
  outline: none;
}

/* ─── Output card ────────────────────────────────────────────────────── */

.picker-step-output { max-width: 720px; margin: 24px auto 0; }

.output-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-paper);
}
@media (max-width: 520px) {
  .output-card { padding: 28px 22px; }
}

.output-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.output-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 28px;
  color: var(--text-primary);
}

.output-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.output-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.output-block p {
  font-family: var(--font-editorial);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.output-block-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.output-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.output-block-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-forest);
  text-decoration: none;
}
.output-block-link:hover { color: var(--brand-forest-deep); text-decoration: underline; }

.output-hd-signal {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.output-hd-preview {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.output-energetic-signal {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.output-energetic-hint {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

.output-workflow-name,
.output-experiment-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 8px;
}

/* Q2 emphasis: scale the matching block so the reader's eye lands on what
   they asked for. One variant per Q2 mode (experiment/workflow/understand/hd). */
.output-card-emphasis-experiment .output-block-experiment {
  background: var(--brand-forest-08);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  margin-top: 22px;
  border-top: 0;
}
.output-card-emphasis-experiment .output-block-experiment .output-experiment-name {
  font-size: 1.25rem;
}
.output-card-emphasis-workflow .output-block-workflow {
  background: var(--brand-forest-08);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  margin-top: 22px;
  border-top: 0;
}
.output-card-emphasis-workflow .output-block-workflow .output-workflow-name {
  font-size: 1.25rem;
}
.output-card-emphasis-understand .output-block-why {
  background: var(--brand-forest-08);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  margin-top: 0;
  border-top: 0;
}
.output-card-emphasis-understand .output-block-why p {
  font-size: 1.05rem;
}
.output-card-emphasis-hd .output-block-hd {
  background: var(--brand-forest-08);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  margin-top: 22px;
  border-top: 0;
}

/* ─── By-HD-signal index sections ───────────────────────────────────────── */
.by-hd-signal-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.by-hd-signal-section:last-child { border-bottom: 0; }
.by-hd-signal-h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--brand-forest);
}
.by-hd-signal-desc {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 22px;
  max-width: 60ch;
}

/* Alt-style category pill for the "By HD signal →" link */
.cat-pill-alt {
  background: var(--brand-forest-04, rgba(40, 60, 50, 0.04));
  color: var(--brand-forest);
  border-color: var(--brand-forest-08, rgba(40, 60, 50, 0.12)) !important;
}
.cat-pill-alt:hover {
  background: var(--brand-forest-08, rgba(40, 60, 50, 0.08));
}

/* ─── Article card · Candidate tag chip ─────────────────────────────────── */
.candidate-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--brand-forest-08, rgba(40, 60, 50, 0.08));
  border-radius: 999px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* ─── Article go-deeper collapsible ─────────────────────────────────────── */
.article-go-deeper {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--brand-cream, #faf6ee);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
}
.article-go-deeper summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-forest);
  padding: 4px 0;
  list-style: none;
}
.article-go-deeper summary::-webkit-details-marker { display: none; }
.article-go-deeper summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.18s;
}
.article-go-deeper[open] summary::before {
  transform: rotate(90deg);
}
.article-go-deeper[open] summary {
  margin-bottom: 14px;
}
.article-go-deeper h3 {
  margin-top: 26px;
  font-size: 1.15rem;
}

/* ─── Output card · Moment quote (verbatim anchor under the title) ─────── */
.output-moment-quote {
  margin: 16px 0 6px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-forest);
  background: var(--brand-forest-04, rgba(40, 60, 50, 0.04));
  color: var(--text-default);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  border-radius: 0 8px 8px 0;
}

/* ─── Output card · First-move / Day-1 micro-steps ─────────────────────── */
.output-first-move,
.output-day-1 {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--brand-cream, #faf6ee);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-default);
}
.output-first-move-label,
.output-day-1-label {
  font-weight: 600;
  color: var(--brand-forest);
  margin-right: 4px;
}

/* ─── Output card · Stage 0 "A season later" preview ───────────────────── */
.output-stage-0 {
  margin-top: 28px;
  padding: 18px 22px;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
  text-align: center;
}
.output-stage-0-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.output-stage-0-text {
  margin: 0;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-default);
}

/* ─── Output card · Neighbor block (richer than a single link) ─────────── */
.output-neighbor {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--brand-cream, #faf6ee);
  border-radius: var(--radius-card);
}
.output-neighbor-question {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-default);
}
.output-neighbor-blurb {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-default);
}
.output-neighbor-link {
  font-size: 0.95rem;
  color: var(--brand-forest);
  text-decoration: none;
  border-bottom: 1px solid var(--brand-forest);
}
.output-neighbor-link:hover {
  color: var(--brand-forest-deep);
}

.output-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.output-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.output-cta-primary {
  background: var(--brand-forest);
  color: #fff;
}
.output-cta-primary:hover { background: var(--brand-forest-deep); color: #fff; }
.output-cta-secondary {
  background: transparent;
  color: var(--brand-forest);
  border: 1px solid var(--brand-forest);
}
.output-cta-secondary:hover { background: var(--brand-forest-08); }

@media (max-width: 520px) {
  .output-ctas { flex-direction: column; }
  .output-cta { width: 100%; justify-content: center; }
}

/* ─── Output card · Explore more rail ───────────────────────────────────
   Cross-category zoom-out below the primary/secondary CTAs. Lets the
   visitor leave the picker laterally — by category, by sibling pain, or
   to the full pain archetypes index. */

.output-explore-more {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.output-explore-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.output-explore-link {
  font-family: var(--font-editorial);
  font-size: 0.98rem;
  color: var(--brand-forest);
  text-decoration: none;
  line-height: 1.5;
}
.output-explore-link:hover {
  color: var(--brand-forest-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Destinations rail — top of /start/, shortcuts for returning visitors.
   Smaller + denser than .picker-option so Q1 stays the heavier element. */
.destinations-rail { padding: 24px 0 8px; }
.destinations-rail .destinations-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 18px;
}
.destinations-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 6px 0 0;
}
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 820px) { .destinations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .destinations-grid { grid-template-columns: 1fr; } }

.destination-card {
  display: block;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.destination-card:hover {
  border-color: var(--brand-forest);
  transform: translateY(-1px);
  box-shadow: var(--shadow-paper);
}
.destination-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 8px;
  filter: saturate(0.85);
}
.destination-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.destination-desc {
  font-family: var(--font-editorial);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
