/* =========================================================================
   Tikkun Ha'Nefesh — shared design system
   Owned by the design-system builder. Page builders: do NOT edit this file;
   put anything page-specific in a small <style> block in that page's <head>.
   Reference for every class: brief/COMPONENTS.md
   -------------------------------------------------------------------------
   WCAG contrast — measured (WCAG 2.x relative-luminance formula), 2026-09-10.
   AA = 4.5:1 body text, 3:1 large text (>= 24px, or bold >= 18.66px).

     ink       #1E2320 on parchment #FAF6F0 ......... 14.82  (body)
     ink       #1E2320 on parchment-deep #F1E9DC .... 13.24  (body on cards / alt)
     forest    #234F33 on parchment .................  8.72  (headings)
     forest    #234F33 on parchment-deep ............  7.79
     leaf      #2F6B43 on parchment .................  5.90  (links)
     leaf      #2F6B43 on parchment-deep ............  5.27
     ink-soft  #565E58 on parchment .................  6.22  (secondary text)  <- chosen by measurement
     ink-soft  #565E58 on parchment-deep ............  5.55
     clay-ink  #9A4F2E on parchment .................  5.52  (eyebrows, small accent) <- chosen by measurement
     clay-ink  #9A4F2E on parchment-deep ............  4.93
     clay      #C87A56 on parchment .................  3.06  LARGE TEXT ONLY (hero accent line is >= 24px)
     gold-ink  #7A5F1E on parchment .................  5.60
     gold-ink  #7A5F1E on parchment-deep ............  5.00
     cream     #FBF8F3 on leaf   (.btn) .............  6.00
     cream     #FBF8F3 on forest (.section--forest) .  8.86
     cream @82% on forest (soft text) ..............  6.59
     sage      #A7CF8F on forest (labels) ...........  5.35
     cream     #FBF8F3 on navy #1C2333 .............. 14.82
     cream @82% on navy (soft text) ................ 10.39
     cream     #FBF8F3 on navy-deep #111C2E ......... 16.12
     gold      #C9A227 on navy ......................  6.49  (passes even as small text)
     gold      #C9A227 on navy-deep .................  7.06
     navy-deep #111C2E on gold (.btn--gold) .........  7.06
     forest    #234F33 on white (form fields) .......  9.38
     ink       #1E2320 on white .................... 15.95
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --parchment: #FAF6F0;
  --parchment-deep: #F1E9DC;
  --forest: #234F33;
  --leaf: #2F6B43;
  --sage: #A7CF8F;
  --clay: #C87A56;
  --clay-ink: #9A4F2E;
  --ink: #1E2320;
  --ink-soft: #565E58;
  --navy: #1C2333;
  --navy-deep: #111C2E;
  --gold: #C9A227;
  --gold-ink: #7A5F1E;
  --cream: #FBF8F3;

  /* derived */
  --line: rgba(30, 35, 32, 0.14);          /* hairlines on light grounds */
  --line-dark: rgba(251, 248, 243, 0.16);  /* hairlines on dark grounds */
  --field-bg: #FFFDFA;
  --shadow-soft: 0 24px 48px -28px rgba(30, 35, 32, 0.35);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --fs-h1: clamp(3rem, 7vw, 5.6rem);
  --fs-h2: clamp(2.25rem, 1rem + 3.9vw, 4rem);
  --fs-h3: clamp(1.5rem, 1.1rem + 1.1vw, 1.875rem);
  --fs-pull: clamp(1.6rem, 1rem + 2.2vw, 2.5rem);
  --fs-lead: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  --fs-body: 1.125rem;

  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space-section: clamp(4.5rem, 10vw, 8rem);
  --header-h: 88px;
  --bar-offset: 108px; /* 20px strip + 88px floating bar; heroes run up under it */
  --measure: 68ch;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.625;
  color: var(--ink);
  background: var(--parchment);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

img, video { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
strong { font-weight: 600; }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 3px; }
.section--forest :focus-visible, .site-footer :focus-visible { outline-color: var(--sage); }
.section--navy :focus-visible, .card--ascend :focus-visible, .door--ascend :focus-visible { outline-color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 0.5em;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.25rem; line-height: 1.25; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--forest); color: var(--cream); padding: 0.7rem 1rem;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.container--mid { max-width: 920px; }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * 0.6); }
.section--alt { background: var(--parchment-deep); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy-deep { background: var(--navy-deep); color: var(--cream); }
.section--line { border-top: 1px solid var(--line); }

.section--forest :is(h1, h2, h3, h4, .pull, .closing, .stat__num) { color: var(--cream); }
.section--forest .label { color: var(--sage); }
.section--forest p, .section--forest li { color: rgba(251, 248, 243, 0.82); }
.section--forest a:not(.btn) { color: var(--sage); }
.section--forest a:not(.btn):hover { color: var(--cream); }

.section--navy :is(h1, h2, h3, h4, .pull, .closing, .stat__num),
.section--navy-deep :is(h1, h2, h3, h4, .pull, .closing, .stat__num) { color: var(--cream); }
.section--navy .label, .section--navy-deep .label { color: var(--gold); }
.section--navy p, .section--navy li, .section--navy-deep p, .section--navy-deep li { color: rgba(251, 248, 243, 0.82); }
.section--navy a:not(.btn), .section--navy-deep a:not(.btn) { color: var(--gold); }
.section--navy a:not(.btn):hover, .section--navy-deep a:not(.btn):hover { color: var(--cream); }
.section--navy .stat__num, .section--navy-deep .stat__num { color: var(--gold); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center p { margin-inline: auto; }
.section-head > :last-child { margin-bottom: 0; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px)  { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 4. Typography helpers ---------- */
.label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-ink);
  margin: 0 0 1rem;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.pull {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-pull);
  line-height: 1.22;
  color: var(--forest);
  max-width: 30ch;
  margin: 0;
  text-wrap: balance;
}
.pull--italic { font-style: italic; }
.closing {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem);
  line-height: 1.3;
  color: var(--forest);
  text-align: center;
  max-width: 44rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-wrap: balance;
}
.closing strong { font-weight: 600; }
.accent-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem); /* never below 24px: plain --clay is large-text only */
  line-height: 1.3;
  color: var(--clay);
}
.link-arrow {
  display: inline-block;
  font-weight: 500;
  color: var(--leaf);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1em;
  transition: color 0.2s ease;
}
.link-arrow:hover { color: var(--forest); }
.ext::after { content: " \2197"; font-size: 0.85em; }

.feature h3 { margin-bottom: 0.45em; }
.feature p { color: var(--ink-soft); }
.section--forest .feature p, .section--navy .feature p { color: rgba(251, 248, 243, 0.82); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature-list > .feature { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feature-list > .feature:last-child { border-bottom: 1px solid var(--line); }
.feature-list > .feature p:last-child { margin-bottom: 0; }
.section--forest .feature-list > .feature, .section--navy .feature-list > .feature { border-color: var(--line-dark); }
.section--forest .lead, .section--navy .lead, .section--navy-deep .lead { color: var(--cream); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.95rem 2.25rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; line-height: 1.2;
  color: var(--cream); background: var(--leaf);
  border: 1.5px solid var(--leaf); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--forest); border-color: rgba(35, 79, 51, 0.45); }
.btn--ghost:hover { background: var(--parchment-deep); border-color: var(--forest); color: var(--forest); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #D8B33A; border-color: #D8B33A; color: var(--navy-deep); }
.btn--light { background: var(--cream); border-color: var(--cream); color: var(--forest); }
.btn--light:hover { background: var(--parchment-deep); border-color: var(--parchment-deep); color: var(--forest); }
.btn--sm { min-height: 40px; padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
.section--forest .btn--ghost, .section--navy .btn--ghost, .section--navy-deep .btn--ghost, .card--ascend .btn--ghost, .door--ascend .btn--ghost {
  color: var(--cream); border-color: rgba(251, 248, 243, 0.5);
}
.section--forest .btn--ghost:hover { background: rgba(251, 248, 243, 0.1); border-color: var(--cream); color: var(--cream); }
.section--navy .btn--ghost:hover, .section--navy-deep .btn--ghost:hover, .card--ascend .btn--ghost:hover { background: rgba(251, 248, 243, 0.08); border-color: var(--gold); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }
.btn-row--end { justify-content: flex-end; }

/* ---------- 6. Header ---------- */
/* A floating pill bar, matched to the original site (tikkun-three.vercel.app). */
html { scroll-padding-top: calc(var(--bar-offset) + 1rem); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 20px clamp(1rem, 2.5vw, 2rem) 0;
  pointer-events: none; /* the transparent strip around the bar lets clicks through */
}
.header-inner {
  pointer-events: auto;
  max-width: 1280px; margin: 0 auto;
  min-height: 88px; padding: 10px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--parchment);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(35, 79, 51, 0.1);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand img { height: 68px; width: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2rem); }
.site-nav li { position: relative; }
.site-nav a, .nav-dropdown__toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--leaf); text-decoration: none; font-weight: 400; font-size: 0.875rem; letter-spacing: 0.025em;
  padding: 0.5rem 0; background: none; border: 0; cursor: pointer;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover, .nav-dropdown__toggle:hover { color: var(--clay-ink); }
.site-nav a[aria-current="page"] { color: var(--forest); font-weight: 500; border-bottom-color: var(--clay); }
/* The original's terracotta (#C87A56) gives white text only 3.29:1; this shade is 4.61:1. */
.btn--clay { background: #B25E3A; border-color: #B25E3A; color: #fff; }
.btn--clay:hover { background: var(--clay-ink); border-color: var(--clay-ink); color: #fff; }
.header-actions .btn { min-height: 40px; padding: 0.6rem 1.5rem; font-size: 0.875rem; font-weight: 600; gap: 0; white-space: pre; }
/* The bar spans the header (old site: 1210px at a 1280 window), not the 1200px content column */
.header-inner.container { width: auto; }
.site-nav a, .nav-dropdown__toggle { white-space: nowrap; }
/* Between the phone menu (≤900px) and full width, tighten so the links never wrap */
@media (max-width: 1100px) {
  .header-inner { padding-inline: 20px; gap: 1rem; }
  .site-nav ul { gap: 1rem; }
}
.nav-dropdown__toggle::after {
  content: ""; width: 0.45em; height: 0.45em; margin-top: -0.2em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.nav-dropdown.is-open > .nav-dropdown__toggle::after { transform: rotate(225deg); margin-top: 0.2em; }
.nav-dropdown__menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 0.6rem; min-width: 16rem; z-index: 110;
}
.nav-dropdown__menu ul {
  display: block; padding: 0.5rem; margin: 0;
  background: var(--parchment); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.nav-dropdown__menu li { display: block; }
.nav-dropdown__menu a {
  display: block; width: 100%; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  border-bottom: 0; font-weight: 500;
}
.nav-dropdown__menu a:hover { background: var(--parchment-deep); }
.nav-dropdown__menu a[aria-current="page"] { background: var(--parchment-deep); color: var(--forest); }
.nav-dropdown.is-open > .nav-dropdown__menu { display: block; }
@media (hover: hover) and (min-width: 901px) {
  .nav-dropdown:hover > .nav-dropdown__menu { display: block; }
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none;
  border-radius: var(--radius-sm); cursor: pointer; position: relative; color: var(--forest);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .brand { font-size: 1.3rem; }
  .brand img { width: 40px; height: 40px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--parchment); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft); padding: 0.75rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li:last-child { border-bottom: 0; }
  .site-nav a, .nav-dropdown__toggle { display: flex; width: 100%; justify-content: space-between; padding: 0.9rem 0; font-size: 1.05rem; border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-bottom: 0; color: var(--clay-ink); }
  .nav-dropdown__menu { position: static; transform: none; padding: 0 0 0.75rem 0; min-width: 0; }
  .nav-dropdown__menu ul { background: transparent; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
  .nav-dropdown__menu a { padding: 0.65rem 0.5rem; font-size: 1rem; }
  .header-actions .btn { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
}
@media (max-width: 400px) { .brand span { font-size: 1.15rem; } }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; }
.footer-brand:hover { color: var(--cream); }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand img.footer-logo { width: 160px; height: auto; } /* the real logo, light version (logo-light.png) */
.footer-bottom a { color: rgba(251, 248, 243, 0.86); text-decoration: none; } /* Privacy · Terms — cream, like the footer's other links */
.footer-bottom a:hover { color: var(--cream); text-decoration: underline; }
.footer-col p { color: rgba(251, 248, 243, 0.82); font-size: 0.97rem; max-width: 34ch; margin-top: 1.1rem; }
.footer-heading { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.97rem; }
.footer-col a { color: rgba(251, 248, 243, 0.86); text-decoration: none; }
.footer-col a:hover { color: var(--cream); text-decoration: underline; }
.footer-col address { color: rgba(251, 248, 243, 0.86); font-size: 0.97rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.875rem; color: rgba(251, 248, 243, 0.78); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--parchment-deep); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.section--alt .card { background: var(--parchment); }
.card--ascend { background: var(--navy); color: var(--cream); border: 1px solid rgba(201, 162, 39, 0.35); }
.card--ascend :is(h2, h3, h4) { color: var(--gold); }
.card--ascend p, .card--ascend li { color: rgba(251, 248, 243, 0.86); }
.card--ascend .label { color: var(--gold); }
.card--ascend a:not(.btn) { color: var(--gold); }
.card--ascend a:not(.btn):hover { color: var(--cream); }

/* ---------- 9. Doors (home centerpiece) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2rem); align-items: stretch; }
.door {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  background: var(--parchment-deep); border-radius: 18px; overflow: hidden;
  color: var(--ink); border: 1px solid rgba(30, 35, 32, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.door:hover, .door:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.door__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--parchment-deep); }
.door__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.door:hover .door__media img { transform: scale(1.035); }
.door__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(241, 233, 220, 0) 60%, rgba(241, 233, 220, 0.9) 100%);
}
.door__body { display: flex; flex-direction: column; padding: 1.25rem clamp(1.4rem, 2.4vw, 2rem) clamp(1.6rem, 2.4vw, 2.1rem); }
.door__kicker { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin: 0 0 0.6rem; }
.door__tag { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay-ink); }
.door__name { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.05rem; color: var(--ink-soft); white-space: nowrap; } /* optional second slot in the kicker */
.door__title { font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.05; margin: 0 0 0.8rem; color: var(--forest); }
.door__text { color: var(--ink); margin-bottom: 1rem; }
.door__text strong { color: var(--forest); }
.door__note { font-size: 0.92rem; color: var(--ink-soft); font-style: italic; margin-bottom: 1rem; }
.door__cta {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 500; color: var(--leaf); text-decoration: none;
}
.door__cta::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.door__cta .arrow { transition: transform 0.3s ease; font-size: 1.2em; line-height: 1; }
.door:hover .door__cta .arrow { transform: translateX(6px); }
.door:hover .door__cta { color: var(--forest); }

.door--ascend { background: var(--navy); color: var(--cream); border-color: rgba(201, 162, 39, 0.4); }
.door--ascend .door__media { background: var(--navy-deep); }
.door--ascend .door__media img { opacity: 0.85; }
.door--ascend .door__media::after { background: linear-gradient(to bottom, rgba(28, 35, 51, 0.05) 45%, rgba(28, 35, 51, 0.96) 100%); }
.door--ascend .door__tag { color: var(--gold); }
.door--ascend .door__name { color: rgba(251, 248, 243, 0.75); }
.door--ascend .door__title { color: var(--cream); }
.door--ascend .door__text { color: rgba(251, 248, 243, 0.88); }
.door--ascend .door__text strong { color: var(--cream); }
.door--ascend .door__note { color: var(--gold); font-style: italic; }
.door--ascend .door__cta { color: var(--gold); border-top-color: rgba(201, 162, 39, 0.35); }
.door--ascend:hover .door__cta { color: var(--cream); }
.door--ascend:hover { box-shadow: 0 28px 56px -28px rgba(17, 28, 46, 0.8); }

@media (max-width: 979px) { .doors { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; } }

/* Staging V3, 2026-09-29: the ecosystem section has TWO blocks (Tikkun Path, Tikkun Sanctuary).
   Same door component; only the column count, an italic lede line, and Retreats / 14-Day
   Immersion listed inside the Sanctuary block. Existing tokens only. */
.doors--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 68rem; margin-inline: auto; }
@media (max-width: 979px) { .doors--two { grid-template-columns: 1fr; max-width: 46rem; } }
.door__lede { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.3; color: var(--ink-soft); margin: 0 0 0.9rem; }
.door__offerings { display: grid; gap: 0.9rem; margin: 0 0 1.25rem; }
.door__offerings dt { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 0.2rem; }
.door__offerings dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 640px) and (max-width: 979px) {
  .door { grid-template-rows: none; grid-template-columns: 2fr 3fr; }
  .door__media { aspect-ratio: auto; min-height: 100%; }
  .door__media::after { background: linear-gradient(to right, rgba(241, 233, 220, 0) 60%, rgba(241, 233, 220, 0.9) 100%); }
  .door--ascend .door__media::after { background: linear-gradient(to right, rgba(28, 35, 51, 0.05) 45%, rgba(28, 35, 51, 0.96) 100%); }
  .door__body { padding: 1.75rem; }
}

/* ---------- 10. Steps, stats, principles, problems ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem 1.25rem; align-items: start; }
.step__num, .step::before {
  font-family: var(--font-display); font-weight: 500; font-size: 2.1rem; line-height: 1; color: var(--clay-ink);
  padding-top: 0.15rem;
}
.step:not(:has(.step__num))::before { content: counter(step, decimal-leading-zero); }
.step h3, .step h4 { margin: 0 0 0.4em; }
.step p { color: var(--ink-soft); }
.step p:last-child { margin-bottom: 0; }
.step ul { color: var(--ink); margin-top: 0.75rem; padding-left: 1.1em; list-style: disc; }
.step li { margin-bottom: 0.35rem; }
.section--forest .step__num, .section--forest .step::before { color: var(--sage); }
.section--navy .step__num, .section--navy .step::before { color: var(--gold); }
.section--forest .step p, .section--navy .step p { color: rgba(251, 248, 243, 0.82); }
@media (max-width: 820px) { .steps--row { grid-template-columns: 1fr; } }
/* Staging V3: the short line under each Path step's name (2026-09-29). */
.step p.step__lede { color: var(--forest); font-weight: 500; margin-bottom: 0.5em; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.stat { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); line-height: 1; color: var(--forest); letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.stat__num--text { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.1; } /* for word values: "Men and women", "Ceremony" */
.stat__label { display: block; font-size: 0.95rem; color: var(--ink-soft); }
.section--forest .stat { border-top-color: var(--line-dark); }
.section--navy .stat, .section--navy-deep .stat { border-top-color: rgba(201, 162, 39, 0.35); }
.section--forest .stat__label, .section--navy .stat__label, .section--navy-deep .stat__label { color: rgba(251, 248, 243, 0.82); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 0; } }

.principle { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.principle__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.15; color: var(--forest); margin: 0 0 0.35rem; }
.principle__gloss { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.25rem; color: var(--clay-ink); margin: 0 0 0.75rem; }
.principle p { color: var(--ink-soft); }
.principle__practice { font-size: 0.97rem; color: var(--ink); padding-top: 0.85rem; margin-top: 0.85rem; border-top: 1px solid var(--line); }
.principle__practice strong { color: var(--forest); font-weight: 600; }

.problem h3 { margin-bottom: 0.6em; }
.problem p { color: var(--ink); }
.problem__answer { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.problem__answer p { color: var(--forest); font-size: 0.98rem; }
.problem__answer-label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 0.4rem; }

/* ---------- 11. People & slots ---------- */
.person { display: flex; flex-direction: column; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--parchment-deep); margin-bottom: 1.1rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
/* 2026-10-14 (Moishe: "not centered"): both portraits sit right of centre in their frame and no larger
   original exists, so each is enlarged slightly inside its box to bring the person to the middle. */
.person__photo--rabbi img { transform: scale(1.18); transform-origin: 100% 0; }
.person__photo--faith img { transform: scale(1.3); transform-origin: 71% 87%; }
.person__name { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: var(--forest); margin: 0 0 0.25rem; }
.person__title { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-ink); margin: 0 0 0.6rem; line-height: 1.5; }
.person__line { font-size: 0.97rem; color: var(--ink-soft); margin: 0; }
.person__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: var(--forest); margin: 1rem 0 0; }

.slot {
  border: 1.5px dashed var(--clay-ink); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; background: transparent; color: var(--ink-soft);
  font-style: italic; font-size: 0.97rem; line-height: 1.5;
}
.slot__tag { display: block; font-style: normal; font-variant: small-caps; letter-spacing: 0.08em; font-weight: 600; font-size: 0.95rem; color: var(--clay-ink); margin-bottom: 0.3rem; }
.slot--photo { aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-bottom: 1.1rem; }
.slot--inline { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 6px; font-size: 0.9rem; vertical-align: baseline; }
.slot--inline .slot__tag { display: inline; margin: 0 0.35rem 0 0; }
.slot--block { margin-block: 1.5rem; }
.section--forest .slot, .section--navy .slot, .section--navy-deep .slot { border-color: var(--gold); color: rgba(251, 248, 243, 0.82); }
.section--forest .slot__tag, .section--navy .slot__tag, .section--navy-deep .slot__tag { color: var(--gold); }
.section--forest .slot__tag { color: var(--sage); }

/* ---------- 12. Media ---------- */
.photo-band { height: clamp(260px, 50vh, 560px); overflow: hidden; background: var(--parchment-deep); }
.photo-band img, .photo-band video { width: 100%; height: 100%; object-fit: cover; }
.figure { margin: 0; }
.figure img, .figure video { width: 100%; border-radius: var(--radius); }
.figure__caption { font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.7rem; }
.media-rounded { border-radius: var(--radius); overflow: hidden; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-video img, .aspect-video video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 13. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero__copy { justify-self: end; text-align: right; max-width: 40rem; }
.hero__copy .label { margin-bottom: 1.25rem; }
.hero__copy h1 { margin-bottom: 0.35em; }
.hero__sub { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); margin: 0 0 0.9rem; max-width: none; }
.hero__copy .btn-row { justify-content: flex-end; margin-top: 2rem; }

/* Home hero — the original site's tree artwork on its warm parchment (#EDDEBD).
   It runs up under the floating header, so it is pulled up by the header's height
   (--bar-offset). */
.hero--home {
  margin-top: calc(-1 * var(--bar-offset));
  padding: calc(var(--bar-offset) + clamp(2.5rem, 7vw, 6rem)) 0 clamp(4rem, 9vw, 8rem);
  min-height: min(100vh, 980px);
  background: #EDDEBD url("/assets/img/hero-tree.jpg") left top / cover no-repeat;
}
.hero--home .hero__copy { max-width: 34rem; }
.hero--home .hero__sub { color: var(--forest); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem); max-width: 28rem; margin-left: auto; }
/* --clay-ink, not --clay: plain terracotta on #EDDEBD is 2.5:1 */
.hero__accent { font-weight: 600; font-size: 1.125rem; color: #8A431F; margin: 0; } /* darker than --clay-ink: the parchment behind it dips to rgb(234,211,169) → 4.94:1 (was 4.07:1) */

@media (max-width: 900px) {
  .hero__copy { justify-self: start; text-align: left; }
  .hero__copy .btn-row { justify-content: flex-start; }
  /* the header bar, smaller */
  :root { --bar-offset: 92px; } /* 16px strip + 76px bar */
  .site-header { padding-top: 16px; }
  .header-inner { min-height: 76px; padding: 8px 12px 8px 20px; }
  .brand img { height: 60px; width: auto; }
  .site-nav {
    top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    border: 1px solid var(--line); border-radius: 24px; max-height: calc(100vh - 110px);
  }
  /* the home hero: tree behind, copy on a soft cream card — as the original does on phones */
  .hero--home { margin-top: calc(-1 * var(--bar-offset)); padding-top: calc(var(--bar-offset) + 2.5rem); min-height: 0; }
  .hero--home .hero__copy {
    justify-self: stretch; text-align: right; max-width: none;
    background: rgba(250, 246, 240, 0.84);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-radius: 28px; padding: 2rem 1.5rem;
  }
  .hero--home .btn-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 1100px) { .cta-long { display: none; } }

/* inner-page hero: label / h1 / lead / buttons, left-aligned */
/* The original site's "warm flow": parchment fading to a soft peach-pink, with a slow
   pale-green blob top right. It runs up under the floating header like the home hero. */
.hero--page {
  margin-top: calc(-1 * var(--bar-offset));
  padding: calc(var(--bar-offset) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 6vw, 5rem);
  isolation: isolate;
}
/* Ascend's hero keeps its navy (.section--navy) — the warm flow is for the parent brand */
.hero--page:not(.section--navy) { background: linear-gradient(165deg, #FAF6F0 0%, #F1E7D9 55%, #E8C4AD 130%); }
.hero--page:not(.section--navy)::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 5rem; right: -8rem; width: 28rem; height: 28rem;
  background: rgba(167, 207, 143, 0.22);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  animation: blob-drift 18s ease-in-out infinite alternate;
}
@keyframes blob-drift { to { transform: translate(-28px, 22px) rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { .hero--page::before { animation: none; } }
@media (max-width: 900px) {
  .hero--page { margin-top: calc(-1 * var(--bar-offset)); padding-top: calc(var(--bar-offset) + 2.5rem); }
  .hero--page::before { width: 18rem; height: 18rem; right: -7rem; top: 4rem; }
}
.hero--page .hero__copy { justify-self: start; text-align: left; max-width: 46rem; }
.hero--page .hero__copy .btn-row { justify-content: flex-start; }
.hero--page .lead { margin-top: 1rem; }

/* ---------- 14. Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem; }
.form--stack { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .choices legend, .field__label { font-weight: 500; font-size: 0.92rem; color: var(--ink); }
.req { color: var(--clay-ink); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--field-bg); border: 1px solid rgba(30, 35, 32, 0.24); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23234F33' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47, 107, 67, 0.18); }
.field input::placeholder, .field textarea::placeholder { color: rgba(86, 94, 88, 0.7); }
.field__hint { font-size: 0.85rem; color: var(--ink-soft); }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 0.55rem; }
.choices__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.choices--stack .choices__list { flex-direction: column; gap: 0.5rem; }
.choice { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.97rem; cursor: pointer; }
.choice input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--leaf); flex: 0 0 auto; }
.form-note { font-size: 0.875rem; color: var(--ink-soft); grid-column: 1 / -1; margin: 0; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 0.25rem; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .field--full { grid-column: auto; } .form-note, .form-actions { grid-column: auto; } }

.section--forest .field label, .section--forest .choices legend, .section--forest .field__label, .section--forest .choice,
.section--navy .field label, .section--navy .choices legend, .section--navy .field__label, .section--navy .choice { color: var(--cream); }
.section--forest .form-note, .section--navy .form-note { color: rgba(251, 248, 243, 0.82); }

/* preview forms: nothing may look like it sent */
.preview-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1;
  color: var(--clay-ink); border: 1px dashed var(--clay-ink); border-radius: 999px;
  padding: 0.5rem 0.85rem; margin: 0 0 1rem;
}
.preview-tag::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--clay-ink); }
.section--forest .preview-tag { color: var(--sage); border-color: var(--sage); }
.section--forest .preview-tag::before { background: var(--sage); }
.section--navy .preview-tag, .card--ascend .preview-tag { color: var(--gold); border-color: var(--gold); }
.section--navy .preview-tag::before, .card--ascend .preview-tag::before { background: var(--gold); }
.form-status {
  display: none; grid-column: 1 / -1;
  background: var(--parchment-deep); border: 1px solid var(--clay-ink); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; color: var(--ink); font-size: 0.97rem; line-height: 1.55; margin: 0;
}
.form-status.is-visible { display: block; }
.form-status a { color: var(--clay-ink); font-weight: 500; }
.section--alt .form-status { background: var(--parchment); }
.section--forest .form-status { background: rgba(251, 248, 243, 0.08); border-color: var(--sage); color: var(--cream); }
.section--forest .form-status a { color: var(--sage); }
.section--navy .form-status, .card--ascend .form-status { background: rgba(251, 248, 243, 0.06); border-color: var(--gold); color: var(--cream); }
.section--navy .form-status a, .card--ascend .form-status a { color: var(--gold); }

/* donation amount tiles (Support page) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile__body { display: block; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--field-bg); transition: border-color 0.2s ease, background 0.2s ease; height: 100%; }
.tile__amount { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1; color: var(--forest); margin-bottom: 0.35rem; }
.tile__per { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.tile__name { display: block; font-weight: 600; font-size: 0.95rem; color: var(--forest); line-height: 1.3; margin-bottom: 0.3rem; }
.tile__desc { display: block; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }
.tile input:checked + .tile__body { border-color: var(--leaf); background: var(--parchment-deep); }
.tile input:focus-visible + .tile__body { outline: 2px solid var(--leaf); outline-offset: 2px; }
.tile:hover .tile__body { border-color: var(--leaf); }
.toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.25rem; gap: 0.25rem; background: var(--field-bg); }
.toggle label { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle span { display: inline-block; padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); min-height: 36px; }
.toggle input:checked + span { background: var(--forest); color: var(--cream); }
.toggle input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 2px; }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }

/* step indicator (Practitioners application) */
.stepper { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.stepper li { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.5rem; }
.stepper li::before { content: attr(data-step); font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.stepper li[aria-current="step"], .stepper li[aria-current="step"]::before { color: var(--clay-ink); }

/* ---------- 15. Misc ---------- */
.notice { background: var(--parchment-deep); border-radius: var(--radius); padding: 1.25rem 1.5rem; font-size: 0.97rem; color: var(--ink); }
.section--alt .notice { background: var(--parchment); }
.notice p:last-child { margin-bottom: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: 0.15rem; }
.contact-list .contact-list__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-ink); }
.contact-list a { color: var(--forest); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.divider { border: 0; border-top: 1px solid var(--line); margin: clamp(2rem, 4vw, 3rem) 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- 16. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .door, .door__media img, .door__cta .arrow, .btn, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: none !important; }
  .door:hover { transform: none; }
  .door:hover .door__media img { transform: none; }
}

/* 2026-10-13: the V2 menu (Moishe preferred it). Utility strip above the header, five items, then
   the sister site set apart by a hairline. Moved here from V2's v2.css so every page has it. */
/* 2026-10-14, Moishe: "like this" — tikkun-hanefesh-v2-staging.vercel.app. V2's band exactly (it was briefly
   removed, then tried as plain green words with no band; both reverted). */
.utility-bar { background: var(--forest); color: rgba(250, 247, 241, 0.82); font-size: 0.8125rem; letter-spacing: 0.02em; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; }
@media (max-width: 720px) { .utility-bar { display: none; } } /* V2 hides the words on phones, leaving an empty band; this hides the band */
.site-nav .nav-sister { padding-left: 1.1rem; border-left: 1px solid var(--line); }
.site-nav .nav-sister a { color: var(--ink-soft); }
.site-nav .nav-sister a:hover { color: var(--forest); }
@media (max-width: 900px) { .site-nav .nav-sister { padding-left: 0; border-left: 0; } }
@media (min-width: 901px) and (max-width: 1280px) {
  .site-nav ul { gap: 0.95rem; }
  .site-nav a { font-size: 0.9rem; }
  .brand img { height: 56px; }
  .header-inner { padding-inline: 20px; }
}
.staging-note { margin: 1.5rem 0 0; font-size: 0.75rem; opacity: 0.6; text-align: center; } /* staging only; the production build removes the note */
