/* =========================================================
   HealWell | ריפוי שלם
   Mobile-first. Logical properties (inline-start/end) so the
   same rules work in RTL (Hebrew) and LTR (English).
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette: cream, sage, forest, clay */
  --cream: #F6F1E8;
  --paper: #FBF8F2;
  --sand: #EEE5D6;
  --sand-deep: #E4D8C4;
  --sage-100: #E6EBDF;
  --sage-300: #BBC9B1;
  --sage-500: #8FA587;
  --sage-700: #4D6346;
  --forest: #2F3F2C;
  --clay: #B57A55;
  --clay-ink: #9A5E3B;   /* clay dark enough for small text (AA) */
  --clay-soft: #F0DFCF;
  --ink: #2B2E28;
  --muted: #62665C;
  --line: #E2D8C7;
  --wa: #1FAF5A;
  --wa-hover: #17924A;

  /* Type */
  --font-he: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-en-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: var(--font-he);
  --font-display: var(--font-he);

  /* Modular scale (approx 1.25 mobile, opening to 1.333 desktop) */
  --fs-sm: 0.9375rem;
  --fs-base: 1.125rem;
  --fs-md: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  --fs-lg: clamp(1.3125rem, 1.15rem + 0.7vw, 1.625rem);
  --fs-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  --fs-3xl: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);

  /* Space */
  --gutter: clamp(16px, 5vw, 40px);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;

  --shadow-sm: 0 1px 2px rgba(47, 63, 44, .06), 0 4px 14px rgba(47, 63, 44, .05);
  --shadow: 0 2px 6px rgba(47, 63, 44, .05), 0 18px 40px -12px rgba(47, 63, 44, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* English uses Fraunces for display, Assistant for body */
html[lang="en"] { --font-display: var(--font-en-display); }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--forest); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--paper); padding: .6em 1em; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- 3. Typography ---------- */
.display {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: .45em;
}
.display em {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--sage-700);
}
html[lang="en"] .display { font-weight: 300; letter-spacing: -0.03em; }
html[lang="en"] .display em { font-style: italic; font-weight: 400; }

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: .55em;
}
html[lang="he"] .h2 { font-weight: 600; letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-lg); font-weight: 600; line-height: 1.3; margin-bottom: .45em; }
.h4 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink); max-width: 34ch; }
html[lang="en"] .lead { max-width: 40ch; }
.body-lg { font-size: var(--fs-md); color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .06em;
  color: var(--clay-ink); margin-bottom: 1.1rem;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8125rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow.center { display: flex; justify-content: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.5em;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.3em; height: 1.3em; flex: none; }
.btn-wa { --btn-bg: var(--wa); --btn-fg: #fff; }
.btn-wa:hover { --btn-bg: var(--wa-hover); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--forest); border-color: var(--sage-300); }
.btn-ghost:hover { --btn-bg: var(--paper); border-color: var(--sage-500); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--sage-700); border-color: var(--sage-300); }
.btn-outline:hover { --btn-bg: var(--sage-700); --btn-fg: var(--paper); border-color: var(--sage-700); }
.btn-light { --btn-bg: transparent; --btn-fg: var(--paper); border-color: rgba(251, 248, 242, .45); }
.btn-light:hover { --btn-bg: var(--paper); --btn-fg: var(--forest); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: .85em 1.75em; font-size: 1.125rem; }
.btn-xl { min-height: 64px; padding: 1em 2.1em; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); }

.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-block: 2rem 2.5rem; }
.center-row { justify-content: center; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(246, 241, 232, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--forest); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.wordmark { font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.wordmark-he { font-family: var(--font-he); font-weight: 300; }
.wordmark-he b { font-weight: 600; color: var(--sage-700); }
.wordmark-en { font-family: var(--font-en-display); font-weight: 400; letter-spacing: -.01em; }
.wordmark-en i { color: var(--sage-700); }
html[lang="he"] .wordmark-en, html[lang="en"] .wordmark-he { display: none; }

.main-nav { display: none; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: .6rem; }

.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
}
.lang-toggle button {
  min-width: 42px; min-height: 36px; padding: 0 .7em; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: 600 .875rem/1 var(--font-he); letter-spacing: .06em;
  cursor: pointer; transition: background-color .25s, color .25s;
}
.lang-toggle button[aria-pressed="true"] { background: var(--forest); color: var(--paper); }
.lang-toggle button:not([aria-pressed="true"]):hover { color: var(--forest); }

.header-wa span { display: none; }
.header-wa { padding-inline: .7em; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding-block: clamp(1.5rem, 4vw, 4rem) var(--section-y); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(187, 201, 177, .55), rgba(187, 201, 177, 0));
  pointer-events: none;
}
html[dir="rtl"] .hero-glow { inset: -20% auto auto -10%; }
.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }

.signature { padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 30rem; }
.sig-name { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--forest); line-height: 1.2; margin-bottom: .25rem; }
html[lang="he"] .sig-name { font-weight: 600; }
.sig-role { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Portrait: arched frame with a clearly labelled placeholder */
.portrait { margin: 0; position: relative; justify-self: center; width: min(100%, 420px); }
.portrait-frame {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: var(--sand); box-shadow: var(--shadow);
  outline: 1px solid rgba(255,255,255,.6); outline-offset: -10px;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem; text-align: center;
  background:
    radial-gradient(120% 70% at 50% 100%, var(--sand-deep), transparent 70%),
    linear-gradient(180deg, var(--sage-100), var(--sand));
}
.ph-mark { width: 96px; height: 96px; opacity: .55; }
.ph-label {
  display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px;
  background: rgba(251, 248, 242, .8); border: 1px dashed var(--sage-500); color: var(--sage-700);
  font-weight: 600; font-size: var(--fs-sm);
}
.ph-label .ico { width: 1.25em; height: 1.25em; }
.ph-note { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.portrait-tag {
  position: absolute; inset-inline-start: -8px; bottom: 12%;
  display: flex; align-items: center; gap: .7rem; padding: .85rem 1.15rem;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: var(--fs-sm); color: var(--muted); line-height: 1.3; max-width: 230px;
}
.portrait-tag strong { font-family: var(--font-en-display); font-weight: 400; font-size: 2rem; color: var(--clay); line-height: 1; }

/* ---------- 7. Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 34rem; }
.head-wide { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Who it is for */
.for-you { background: var(--paper); }
.split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.note-callout {
  margin-top: 1.75rem; padding-inline-start: 1.25rem; border-inline-start: 3px solid var(--clay);
  font-size: var(--fs-md); color: var(--forest); font-weight: 600; line-height: 1.55;
}
.tag-group + .tag-group { margin-top: 2.25rem; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li {
  padding: .5em 1.05em; border-radius: 999px; background: var(--sage-100); color: var(--forest);
  font-size: 1rem; line-height: 1.4; transition: transform .25s var(--ease), background-color .25s;
}
.tags li:hover { transform: translateY(-2px); background: var(--sage-300); }
.tags-soft li { background: var(--clay-soft); }
.tags-soft li:hover { background: #E6CDB6; }
.disclaimer {
  margin-block: 2.25rem 1.75rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--cream); font-size: var(--fs-sm); color: var(--muted); line-height: 1.6;
}

/* Mission */
.mission { background: var(--cream); }
.mission-mark { width: 64px; height: 64px; margin: 0 auto 1.5rem; }
.mission-statement {
  font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.4; color: var(--forest);
  text-align: center; font-weight: 300; margin-bottom: 1.5em;
}
.pull { margin: 0 auto 2.5rem; max-width: 640px; text-align: center; position: relative; padding-block: 2rem; }
.pull::before, .pull::after {
  content: ""; position: absolute; inset-inline: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
}
.pull::before { top: 0; } .pull::after { bottom: 0; }
.pull p { margin: 0; font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.2; color: var(--clay-ink); font-weight: 600; }
html[lang="en"] .pull p { font-style: italic; font-weight: 400; }
.mission .body-lg { max-width: 640px; margin-inline: auto; margin-bottom: 2.25rem; }

/* How I work */
.approach { background: var(--paper); }
.pillars { display: grid; gap: 1.25rem; counter-reset: pillar; }
.pillar {
  position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: var(--cream); border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); background: #fff; }
.pillar p { margin: 0; color: var(--muted); }
.pillar-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1.4rem;
  border-radius: 18px; background: var(--sage-100); color: var(--sage-700);
  transition: background-color .35s, color .35s, transform .35s var(--ease);
}
.pillar-icon svg { width: 32px; height: 32px; }
.pillar:hover .pillar-icon { background: var(--sage-700); color: var(--paper); transform: rotate(-4deg); }
.roots-line {
  display: flex; align-items: flex-start; gap: .75rem; max-width: 46rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  font-size: var(--fs-md); color: var(--forest); font-style: normal;
}
html[lang="en"] .roots-line { font-family: var(--font-en-display); font-style: italic; }
.roots-line .ico { width: 1.6em; height: 1.6em; flex: none; color: var(--sage-500); margin-top: .1em; }

/* Programs */
.programs { background: linear-gradient(180deg, var(--cream), var(--sand) 140%); }
.program-track { display: grid; gap: 1.5rem; counter-reset: program; }
.program {
  display: flex; flex-direction: column; padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.program:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.program-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.program-num { font-family: var(--font-en-display); font-size: 1rem; letter-spacing: .1em; color: var(--clay-ink); }
.program-icon { width: 48px; height: 48px; color: var(--sage-500); }
.program-name { font-size: var(--fs-xl); font-weight: 600; line-height: 1.2; margin-bottom: 1rem; }
.program-name small {
  display: block; margin-top: .3rem; font-family: var(--font-en-display); font-style: italic; font-weight: 400;
  font-size: 1rem; color: var(--muted);
}
html[lang="en"] .program-name { font-family: var(--font-en-display); font-weight: 400; }
html[lang="en"] .program-name small { display: none; }
.meta-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.meta-chips li {
  padding: .3em .85em; border-radius: 999px; border: 1px solid var(--sage-300);
  font-size: .875rem; font-weight: 600; color: var(--sage-700);
}
.program-lead { color: var(--ink); }
.checks { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.checks li { display: flex; gap: .65rem; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: .2em; color: var(--sage-500); }
.program-focus {
  margin-top: auto; margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: var(--sage-100); color: var(--forest); font-weight: 600; font-size: 1rem; line-height: 1.5;
}
.program .btn { align-self: flex-start; }

/* Deepest program: inverted for visual weight, not a "most popular" claim */
.program-deep { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.program-deep .program-name, .program-deep .program-lead { color: var(--paper); }
.program-deep .program-name small, .program-deep .checks li { color: rgba(251, 248, 242, .78); }
.program-deep .program-num { color: var(--clay-soft); }
.program-deep .program-icon, .program-deep .checks svg { color: var(--sage-300); }
.program-deep .meta-chips li { border-color: rgba(187, 201, 177, .5); color: var(--sage-300); }
.program-deep .program-focus { background: rgba(251, 248, 242, .08); color: var(--paper); }

.programs-note { margin: 2.25rem 0 0; text-align: center; color: var(--muted); font-size: var(--fs-sm); }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-copy p:not(.eyebrow):not(.body-lg) { color: var(--muted); }
.about-copy .btn { margin-top: 1rem; }
.facts {
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--line);
}
.facts-stat { display: flex; align-items: baseline; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.stat-num { font-family: var(--font-en-display); font-size: clamp(3.25rem, 2.5rem + 3vw, 4.75rem); font-weight: 300; line-height: 1; color: var(--clay); }
.stat-label { color: var(--forest); font-weight: 600; line-height: 1.35; }
.facts-list { display: grid; gap: 1.25rem; }
.facts-list li { display: flex; gap: 1rem; align-items: flex-start; }
.facts-list svg {
  width: 44px; height: 44px; flex: none; padding: 10px; border-radius: 14px;
  background: var(--sage-100); color: var(--sage-700);
}
.facts-list strong { display: block; color: var(--forest); font-weight: 600; line-height: 1.35; }
.facts-list span { font-size: var(--fs-sm); color: var(--muted); }

/* Final CTA */
.final-cta {
  position: relative; overflow: hidden; padding-block: var(--section-y);
  background: var(--forest); color: var(--paper);
}
.final-cta::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(closest-side, rgba(143, 165, 135, .35), transparent);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta .h2 { color: var(--paper); font-size: var(--fs-3xl); }
.final-cta .body-lg { color: rgba(251, 248, 242, .78); max-width: 36rem; margin-inline: auto; }
.cta-mark { width: 72px; height: 72px; margin: 0 auto 1.75rem; --mark-stem: #F6F1E8; --mark-leaf-a: #BBC9B1; --mark-leaf-b: #8FA587; --mark-arc: #D9A27E; }

/* ---------- 8. Footer ---------- */
.site-footer { background: var(--cream); padding-block: 4rem 6.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-name { margin: 1rem 0 .15rem; font-weight: 600; color: var(--forest); }
.footer-tag { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.footer-contact { display: grid; gap: .85rem; }
.footer-contact li { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.footer-contact svg { width: 20px; height: 20px; color: var(--sage-700); flex: none; }
.footer-contact a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.footer-contact a:hover { background-size: 100% 1px; }
.footer-notes p { margin: 0 0 .75rem; font-size: var(--fs-sm); color: var(--muted); }
.footer-ref { color: var(--forest) !important; font-weight: 600; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- 9. Floating WhatsApp (bottom-right in both directions) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px -6px rgba(31, 175, 90, .55);
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: wa-ring 2.8s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.07); background: var(--wa-hover); }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- 10. Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s; }
.js .reveal.is-in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ---------- 11. Breakpoints ---------- */
@media (min-width: 560px) {
  .header-wa span { display: inline; }
  .header-wa { padding-inline: 1.05em; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .portrait { justify-self: end; }
  .portrait-tag { inset-inline-start: -36px; }
  .split { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .split .section-head { position: sticky; top: 110px; }
  .program-track { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .about-grid { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 1040px) {
  .main-nav { display: flex; gap: 1.75rem; margin-inline-start: 2.5rem; }
  .main-nav a {
    text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9875rem;
    background: linear-gradient(var(--clay), var(--clay)) 50% 100% / 0 1.5px no-repeat;
    padding-block: .3rem; transition: color .25s, background-size .3s var(--ease);
  }
  .main-nav a:hover { color: var(--forest); background-size: 100% 1.5px; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  /* Stagger pillars for rhythm instead of a flat row */
  .pillar:nth-child(even) { margin-top: 2.5rem; }
  .roots-line { margin-top: 5rem; }
}

/* ---------- 12. Hero intro (CSS only, no JS dependency, keeps LCP fast) ---------- */
.intro { animation: intro .9s var(--ease) both; }
.hero-copy .intro:nth-child(2) { animation-delay: .08s; }
.hero-copy .intro:nth-child(3) { animation-delay: .16s; }
.hero-copy .intro:nth-child(4) { animation-delay: .24s; }
.hero-copy .intro:nth-child(5) { animation-delay: .32s; }
.portrait.intro { animation-delay: .2s; }
@keyframes intro { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: none; } }

/* ---------- 13. Consent banner ---------- */
.consent {
  position: fixed; z-index: 70; inset-inline: 16px; bottom: 16px; max-width: 460px;
  padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: var(--fs-sm); color: var(--ink);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .85rem; line-height: 1.55; }
.consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
/* Keep clear of the floating WhatsApp button on the right */
@media (max-width: 559px) { .consent { bottom: 92px; } }
@media (min-width: 560px) { .consent { inset-inline: auto; left: 16px; } }
