/* ==========================================================================
   Tiny Trellis — design system
   Little Roots. Limitless Growth.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License) — no third-party requests */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/fraunces-latin-standard-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../fonts/fraunces-latin-standard-italic.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(../fonts/dm-sans-latin-opsz-normal.woff2) format('woff2'); }

:root {
  /* Brand palette */
  --ivory: #F8F5EE;
  --ivory-2: #F1ECE1;
  --sand: #EADFCF;
  --sage: #A8B7A0;
  --sage-soft: #DCE3D6;
  --green: #344B3D;
  --green-2: #2A3D31;
  --terracotta: #C9856B;
  --terracotta-ink: #9A563D; /* AA on ivory for small accent text */
  --sky: #DCE8E8;
  --charcoal: #30352F;
  --muted: #5C6459;
  --line: rgba(52, 75, 61, .16);
  --line-strong: rgba(52, 75, 61, .32);
  --white: #FFFDF8;

  /* Type */
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.8rem + 4vw, 5.25rem);

  /* Space & shape */
  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1240px;
  --shadow: 0 1px 2px rgba(48, 53, 47, .04), 0 12px 32px -12px rgba(48, 53, 47, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font: 400 var(--fs-base)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--terracotta-ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--green); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); font-weight: 500; }
p { margin: 0 0 1em; }
em { font-style: italic; }
h1 em, h2 em { font-style: italic; color: var(--terracotta-ink); font-weight: 400; }
ul, ol { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--sage-soft); color: var(--green-2); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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: 100; background: var(--green); color: var(--ivory); padding: .75rem 1.1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; color: var(--ivory); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.eyebrow {
  font: 600 var(--fs-xs)/1.4 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta-ink);
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: var(--fs-lg); line-height: 1.6; color: var(--muted); max-width: 38em; }

/* Placeholders: visibly "to be confirmed" — never disguised as real info */
.tbc {
  display: inline; color: var(--terracotta-ink);
  background: repeating-linear-gradient(135deg, rgba(201,133,107,.12) 0 6px, rgba(201,133,107,.04) 6px 12px);
  border: 1px dashed rgba(201,133,107,.55); border-radius: 6px;
  padding: .05em .45em; font-size: .92em; font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.site-footer .tbc { color: #F3C6B3; border-color: rgba(243,198,179,.45); background: rgba(243,198,179,.08); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--green); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.5em;
  font: 600 var(--fs-sm)/1.2 var(--sans); letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--green-2); color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-secondary { --bg: transparent; --fg: var(--green); border-color: var(--line-strong); }
.btn-secondary:hover { --bg: var(--white); border-color: var(--green); }
.btn-ivory { --bg: var(--ivory); --fg: var(--green); }
.btn-ivory:hover { --bg: var(--white); --fg: var(--green-2); }
.btn-sm { min-height: 44px; padding: .6em 1.2em; font-size: var(--fs-xs); letter-spacing: .03em; }
.btn-lg { min-height: 56px; padding: 1em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; color: var(--green); }
.link-arrow .ico { width: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--terracotta-ink); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.announce { background: var(--green); color: var(--ivory); font-size: var(--fs-xs); }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 40px; padding-block: .45rem; }
.announce p { margin: 0; text-align: center; line-height: 1.45; }
.announce a { color: var(--ivory); font-weight: 600; }
.announce a:hover { color: #F3C6B3; }
.announce-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; background: none; border: 0; color: inherit; border-radius: 50%; cursor: pointer; opacity: .75; }
.announce-close:hover { opacity: 1; background: rgba(255,255,255,.08); }
.announce-close .ico { width: 16px; height: 16px; }
.announce[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,245,238,.0); transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; border-bottom: 1px solid transparent; }
.site-header:not(.is-home) { background: var(--ivory); }
.site-header.is-scrolled { background: rgba(248,245,238,.94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { text-decoration: none; color: var(--green); display: inline-flex; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--green); }
.logo-mark { width: 34px; height: 34px; }
.logo-word { font: 500 1.5rem/1 var(--serif); letter-spacing: -.035em; font-variation-settings: 'SOFT' 100, 'WONK' 0; }
.logo-light { color: var(--ivory); }
.nav { margin-left: auto; }
.nav-links { display: flex; gap: clamp(.9rem, .2rem + 1.4vw, 2rem); }
.nav-links a { color: var(--charcoal); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; padding: .4rem 0; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ivory); color: var(--green); cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close, .nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--ivory); padding: 1rem var(--gutter) 1.75rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-menu ul { margin-bottom: 1.25rem; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu nav a { display: block; padding: 1rem 0; font: 400 1.5rem/1.2 var(--serif); color: var(--green); text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--terracotta-ink); }
.mobile-menu-note { margin: 1.25rem 0 0; text-align: center; font: italic 400 1rem var(--serif); color: var(--muted); }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
}
@media (min-width: 1081px) { .mobile-menu { display: none !important; } }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-alt { background: var(--ivory-2); }
.section-sky { background: var(--sky); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; }
.section-head.is-center .lede { margin-inline: auto; }
.section-foot { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.section-head.is-center + * + .section-foot, .section-foot.is-center { justify-content: center; }

.sprig { display: flex; justify-content: center; color: var(--sage); padding-block: .5rem; }
.sprig svg { width: 160px; height: 24px; }

/* ---------- Photography frames ---------- */
.photo { margin: 0; position: relative; overflow: hidden; background: var(--sky); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-pending { display: grid; place-items: center; color: var(--green); }
.photo.tone-sky { background: var(--sky); }
.photo.tone-sage { background: var(--sage-soft); }
.photo.tone-sand { background: var(--sand); }
.photo-texture { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--green); z-index: -1; }
.photo-illus { width: 34%; height: auto; aspect-ratio: 1; max-width: 180px; opacity: .85; stroke-width: 1px; }
.photo-note { position: absolute; left: 14px; bottom: 14px; right: 14px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--green); opacity: .7; display: flex; align-items: center; gap: .5em; }
.photo-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); flex: none; }
.shape-soft { border-radius: var(--radius-lg); }
.shape-card { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 3; }
.shape-arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; }
.shape-organic { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(4rem, 3rem + 5vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero h1 .line-2 { padding-left: clamp(1.5rem, .5rem + 4vw, 5rem); font-style: italic; color: var(--terracotta-ink); }
.hero .lede { margin-bottom: 2.25rem; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-art { position: relative; }
.hero-art .photo { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.hero-art .photo-illus { width: 40%; }
.hero-ring { position: absolute; inset: -6% -10% auto auto; width: 62%; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 50%; z-index: -1; }
.hero-blob { position: absolute; left: -14%; bottom: -8%; width: 48%; aspect-ratio: 1; background: var(--sage-soft); border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; z-index: -1; }
.hero-badge { position: absolute; left: -8%; top: 14%; background: var(--white); border-radius: 999px; padding: .8rem 1.1rem .8rem .8rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow); font-size: var(--fs-xs); line-height: 1.3; max-width: 230px; }
.hero-badge .ico { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: var(--sky); color: var(--green); }
.hero-badge strong { display: block; font: 500 .95rem/1.2 var(--serif); color: var(--green); }
.hero-vine { position: absolute; right: -20px; bottom: -40px; width: 260px; color: var(--sage); opacity: .9; z-index: -1; }
.hero-scroll { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); display: flex; align-items: center; gap: .75rem; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.hero-scroll::before { content: ''; width: 46px; height: 1px; background: var(--line-strong); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-art .photo { aspect-ratio: 5 / 4; border-radius: 999px 999px var(--radius-lg) var(--radius-lg) / 70% 70% var(--radius-lg) var(--radius-lg); }
  .hero-badge { left: auto; right: 4%; top: auto; bottom: -22px; }
  .hero-ring, .hero-vine { display: none; }
  .hero h1 .line-2 { padding-left: 0; }
  .hero-scroll { display: none; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: relative; right: auto; bottom: auto; margin: -28px auto 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 2rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem); }
.page-hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 300px; justify-self: end; width: 100%; }
.page-hero-art .blob { position: absolute; inset: 6%; border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }
.blob.tone-sage { background: var(--sage-soft); } .blob.tone-sky { background: var(--sky); } .blob.tone-sand { background: var(--sand); }
.page-hero-illus { position: relative; width: 48%; height: auto; aspect-ratio: 1; color: var(--green); }
@media (max-width: 720px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art { display: none; }
}

/* ---------- Philosophy pillars ---------- */
.philosophy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.philosophy-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
.pillars { display: grid; gap: 1.25rem; }
.pillar { position: relative; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); display: grid; grid-template-columns: auto 1fr; column-gap: 1.5rem; align-items: start; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pillar-2 { margin-left: clamp(0rem, -1rem + 4vw, 3rem); border-radius: var(--radius-lg) 80px var(--radius-lg) var(--radius-lg); }
.pillar-3 { border-radius: 80px var(--radius-lg) var(--radius-lg) var(--radius-lg); }
.pillar-n { position: absolute; top: 1.2rem; right: 1.5rem; font: italic 400 .95rem var(--serif); color: var(--terracotta-ink); }
.pillar-illus { grid-row: span 2; width: 64px; height: 64px; padding: 10px; border-radius: 50%; background: var(--sky); color: var(--green); }
.pillar-2 .pillar-illus { background: var(--sage-soft); }
.pillar-3 .pillar-illus { background: var(--sand); }
.pillar h3 { margin-bottom: .35em; padding-right: 2rem; }
.pillar p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-grid .section-head { position: static; margin-bottom: 1rem; }
  .pillar-2 { margin-left: 0; }
}
@media (max-width: 480px) { .pillar { grid-template-columns: 1fr; } .pillar-illus { margin-bottom: 1rem; grid-row: auto; } }

/* ---------- Learning cards ---------- */
.learn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.learn-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.learn-card:nth-child(3n+2) { transform: translateY(2.5rem); }
.learn-card:hover { box-shadow: var(--shadow); }
.learn-card .photo-illus { width: 30%; }
.learn-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.learn-body p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.learn-body h3 { margin-bottom: .4em; }
@media (max-width: 960px) { .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .learn-card:nth-child(3n+2) { transform: none; } .learn-card:nth-child(even) { transform: translateY(1.75rem); } }
@media (max-width: 600px) { .learn-grid { grid-template-columns: 1fr; } .learn-card:nth-child(even) { transform: none; } .learn-card .shape-card { aspect-ratio: 16 / 9; } }

/* ---------- Explorer: What grows here? ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.explorer-art { background: var(--sky); border-radius: 999px 999px var(--radius) var(--radius); padding: 2rem 1rem 1rem; }
.explorer-plant { width: 100%; max-width: 320px; margin-inline: auto; overflow: visible; }
.explorer-plant path, .explorer-plant circle { fill: none; stroke: var(--sage); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s var(--ease), fill .5s var(--ease), opacity .5s; }
.explorer-plant .soil { stroke: var(--line-strong); }
.explorer-plant .part { opacity: .5; transition: opacity .5s var(--ease); }
.explorer-plant .part.is-active { opacity: 1; }
.explorer-plant .part.is-active path, .explorer-plant .part.is-active circle { stroke: var(--green); }
.explorer-plant .part-leaves.is-active path:not(.vein), .explorer-plant .part-bloom.is-active path { fill: rgba(201,133,107,.18); stroke: var(--terracotta-ink); }
.explorer-plant .part-bloom.is-active circle { fill: var(--terracotta); stroke: var(--terracotta); }
.explorer-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1.75rem; }
.explorer-tabs [role="tab"] { text-align: left; font: 500 var(--fs-sm)/1.25 var(--sans); color: var(--charcoal); background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; cursor: pointer; min-height: 64px; transition: background .25s, border-color .25s, color .25s; }
.explorer-tabs [role="tab"]:hover { border-color: var(--line-strong); background: var(--ivory); }
.explorer-tabs [role="tab"][aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--ivory); }
.tab-part { display: block; font: italic 400 .8rem var(--serif); opacity: .8; margin-bottom: .2rem; }
.explorer-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.explorer-panel p { color: var(--muted); max-width: 34em; }
.explorer-panel:focus-visible { outline-offset: 8px; }
.explorer-panel:not([hidden]) { animation: fadeUp .5s var(--ease); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips li { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; padding: .4rem .85rem; border-radius: 999px; background: var(--sage-soft); color: var(--green); }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } .explorer-art { max-width: 340px; margin-inline: auto; width: 100%; } }
@media (max-width: 560px) { .explorer-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Daily rhythm ---------- */
.rhythm-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 6rem); }
.rhythm-wrap .section-head { margin-bottom: 0; }
.example-label { display: inline-flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-xs); font-weight: 500; color: var(--terracotta-ink); background: rgba(201,133,107,.1); border: 1px dashed rgba(201,133,107,.5); padding: .6rem .9rem; border-radius: 12px; margin-bottom: 2rem; line-height: 1.45; }
.example-label .ico { width: 18px; height: 18px; margin-top: 1px; }
.rhythm-list { position: relative; }
.rhythm-list::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: repeating-linear-gradient(to bottom, var(--sage) 0 6px, transparent 6px 12px); }
.rhythm-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.rhythm-item:last-child { padding-bottom: 0; }
.rhythm-node { width: 56px; height: 56px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--green); position: relative; z-index: 1; transition: background .4s, color .4s; }
.rhythm-node .ico { width: 30px; height: 30px; }
.rhythm-item:hover .rhythm-node { background: var(--green); color: var(--ivory); }
.rhythm-step { font: italic 400 .9rem var(--serif); color: var(--terracotta-ink); margin: .2rem 0 .1rem; }
.rhythm-body h3 { margin-bottom: .3em; }
.rhythm-body p:last-child { color: var(--muted); margin: 0; }
.rhythm-item:nth-child(even) .rhythm-body { padding-left: clamp(0rem, -2rem + 5vw, 3rem); }
@media (max-width: 900px) { .rhythm-wrap { grid-template-columns: 1fr; } .rhythm-item:nth-child(even) .rhythm-body { padding-left: 0; } }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.program-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card:nth-child(1) .program-top { background: var(--sky); }
.program-card:nth-child(2) .program-top { background: var(--sage-soft); }
.program-card:nth-child(3) .program-top { background: var(--sand); }
.program-top { margin: calc(-1 * clamp(.75rem, .6rem + .5vw, 1.25rem)); margin-bottom: 1.5rem; padding: 1.5rem 1.5rem 1.25rem; border-radius: calc(var(--radius-lg) - 6px) calc(var(--radius-lg) - 6px) 70px var(--radius); }
.program-illus { width: 64px; height: 64px; color: var(--green); margin-bottom: .75rem; }
.program-stage { font: italic 400 .95rem var(--serif); color: var(--muted); margin: 0 0 .1rem; }
.program-top h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 0; }
.program-facts { margin: 0 0 1.25rem; display: grid; gap: .1rem; }
.program-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.program-facts dt { color: var(--muted); }
.program-facts dd { margin: 0; text-align: right; font-weight: 500; }
.program-focus { font-size: var(--fs-sm); color: var(--muted); }
.program-focus strong { color: var(--charcoal); font-weight: 600; }
.program-card > p { font-size: var(--fs-sm); }
.program-actions { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.program-grid.is-detailed { grid-template-columns: 1fr; gap: 1.5rem; }
.program-grid.is-detailed .program-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); column-gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.program-grid.is-detailed .program-top { grid-row: span 5; margin: 0; border-radius: var(--radius) var(--radius) 90px var(--radius); align-self: stretch; padding: 2rem; }
.program-grid.is-detailed .program-actions { padding-top: .5rem; }
@media (max-width: 960px) { .program-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .program-grid.is-detailed { max-width: none; } }
@media (max-width: 760px) { .program-grid.is-detailed .program-card { grid-template-columns: 1fr; } .program-grid.is-detailed .program-top { grid-row: auto; margin-bottom: 1.5rem; } }

/* ---------- Educators ---------- */
.educators-empty { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.educators-empty p { color: var(--muted); }
.educators-empty h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.educator-placeholders { display: flex; justify-content: center; }
.ph-portrait { width: 44%; aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; display: grid; place-items: center; color: var(--green); border: 4px solid var(--ivory-2); }
.ph-portrait + .ph-portrait { margin-left: -12%; }
.ph-portrait:nth-child(2) { transform: translateY(18%); }
.ph-portrait.tone-sky { background: var(--sky); } .ph-portrait.tone-sage { background: var(--sage-soft); } .ph-portrait.tone-sand { background: var(--sand); }
.ph-portrait .ico { width: 34%; height: auto; aspect-ratio: 1; opacity: .5; }
.educator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.educator { display: grid; gap: 1.25rem; }
.educator blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 2px solid var(--terracotta); font: italic 400 1.1rem/1.5 var(--serif); color: var(--green); }
@media (max-width: 760px) { .educators-empty { grid-template-columns: 1fr; } .educator-placeholders { max-width: 340px; margin: 0 auto 2rem; } }

/* ---------- Difference ---------- */
.diff-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.diff-wrap .section-head { margin-bottom: 0; }
.diff-art { margin-top: 2.5rem; max-width: 380px; }
.diff-art .photo { aspect-ratio: 1; }
.diff-list { border-top: 1px solid var(--line-strong); }
.diff { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-strong); }
.diff-n { font: italic 400 1.1rem/1.6 var(--serif); color: var(--terracotta-ink); }
.diff h3 { margin-bottom: .3em; }
.diff p { margin: 0; color: var(--muted); }
.diff-note { margin-top: 1.5rem; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 900px) { .diff-wrap { grid-template-columns: 1fr; } .diff-art { display: none; } }

/* ---------- Testimonials ---------- */
.testimonial-empty { max-width: 52rem; margin-inline: auto; text-align: center; }
.testimonial-empty h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); }
.testimonial-empty p { font-size: var(--fs-lg); color: var(--charcoal); }
.testimonial-empty p.muted { font-size: var(--fs-sm); color: var(--muted); }
.quote-mark { width: 48px; margin: 0 auto 1.5rem; color: var(--terracotta); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial { margin: 0; background: var(--white); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.testimonial blockquote { margin: 0 0 1.25rem; font: 400 1.2rem/1.55 var(--serif); color: var(--green); }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; font-size: var(--fs-sm); font-weight: 600; }
.testimonial img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; padding: 1.4rem 0; font: 400 clamp(1.15rem, 1.05rem + .4vw, 1.35rem)/1.35 var(--serif); color: var(--green); border-radius: 4px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terracotta-ink); }
.faq-ico { width: 36px; height: 36px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .35s var(--ease), background .3s, color .3s; flex: none; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--green); color: var(--ivory); border-color: var(--green); }
.faq-a { padding: 0 3.5rem 1.5rem 0; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-item[open] .faq-a { animation: fadeUp .4s var(--ease); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-a { padding-right: 0; } }

/* ---------- Tour ---------- */
.tour { background: var(--green); color: var(--ivory); position: relative; overflow: hidden; }
.tour::before { content: ''; position: absolute; width: 640px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(248,245,238,.12); right: -220px; top: -260px; }
.tour::after { content: ''; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; background: rgba(168,183,160,.12); left: -160px; bottom: -180px; }
.tour-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); align-items: start; }
.tour h2 { color: var(--ivory); }
.tour h2 em { color: #F0BCA6; }
.tour .eyebrow { color: #F0BCA6; }
.tour .lede { color: rgba(248,245,238,.82); }
.tour-points { margin-top: 2rem; display: grid; gap: .9rem; }
.tour-points li { display: flex; gap: .75rem; align-items: flex-start; color: rgba(248,245,238,.9); }
.tour-points .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(248,245,238,.12); margin-top: 3px; }
.tour-card { background: var(--ivory); color: var(--charcoal); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
@media (max-width: 900px) { .tour-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.tour-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--charcoal); }
.req { color: var(--terracotta-ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--charcoal);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: .8rem .95rem; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23344B3D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(52,75,61,.18); }
.field [aria-invalid="true"] { border-color: #A63D2A; box-shadow: 0 0 0 3px rgba(166,61,42,.12); }
.field-error { margin: 0; font-size: var(--fs-xs); color: #A63D2A; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.field-check { grid-template-columns: auto 1fr; column-gap: .75rem; align-items: start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--green); padding: 0; }
.field-check label { font-weight: 400; font-size: var(--fs-sm); line-height: 1.5; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.form-actions .btn { position: relative; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(248,245,238,.35); border-top-color: var(--ivory); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: .7; }
.form-status:empty { display: none; }
.form-alert { display: flex; gap: .75rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: 14px; font-size: var(--fs-sm); line-height: 1.5; }
.form-alert .ico { width: 22px; height: 22px; margin-top: 1px; }
.form-alert.is-warning { background: rgba(201,133,107,.12); border: 1px dashed rgba(154,86,61,.5); color: #6E3D2B; }
.form-alert.is-error { background: rgba(166,61,42,.08); border: 1px solid rgba(166,61,42,.35); color: #7E2E1F; }
.form-alert.is-success { background: var(--sage-soft); border: 1px solid var(--sage); color: var(--green-2); }
.form-alert a { color: inherit; font-weight: 600; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .ico { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--green); color: var(--ivory); margin: 0 auto 1.25rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: var(--ivory); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.cta-band h2 { color: var(--ivory); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(248,245,238,.82); max-width: 36em; }
.cta-illus { width: 88px; height: 88px; color: var(--sage); }
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; } .cta-illus { width: 64px; height: 64px; } .cta-band .btn { justify-self: start; } }

/* ---------- Prose (inner pages) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--charcoal); }
.prose ul { list-style: none; margin: 0 0 1.25rem; }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50% 0 50% 0; background: var(--sage); transform: rotate(-10deg); }
.prose .callout { background: var(--sky); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.prose .callout p:last-child { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.split.is-flip > :first-child { order: 2; }
.split .photo { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.is-flip > :first-child { order: 0; } .split .photo { aspect-ratio: 4 / 3; max-width: 560px; } }
.quote-block { font: italic 400 clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem)/1.3 var(--serif); color: var(--green); max-width: 32em; margin: 0 auto; text-align: center; }
.quote-block cite { display: block; margin-top: 1.25rem; font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--terracotta-ink); }

.area-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); }
.area-detail:nth-of-type(even) > .photo { order: 2; }
.area-detail .photo { aspect-ratio: 5 / 4; }
.area-detail p { color: var(--muted); }
@media (max-width: 800px) { .area-detail { grid-template-columns: 1fr; } .area-detail:nth-of-type(even) > .photo { order: 0; } .area-detail .photo { aspect-ratio: 16 / 9; } }

.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.resource { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; }
.resource .ico { width: 56px; height: 56px; padding: 10px; border-radius: 50%; background: var(--sky); color: var(--green); margin-bottom: 1.25rem; }
.resource:nth-child(3n+2) .ico { background: var(--sage-soft); }
.resource:nth-child(3n) .ico { background: var(--sand); }
.resource p { color: var(--muted); font-size: var(--fs-sm); }
.resource ul { margin: 0 0 1rem; font-size: var(--fs-sm); }
.resource ul li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.resource .link-arrow { margin-top: auto; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.steps li::before { content: counter(step, decimal-leading-zero); font: italic 400 1rem var(--serif); color: var(--terracotta-ink); display: block; margin-bottom: .75rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-aside .card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-aside h2 { font-size: 1.35rem; }
.contact-aside dl { margin: 0; display: grid; gap: .75rem; font-size: var(--fs-sm); }
.contact-aside dt { color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-aside dd { margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.notfound { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 9rem); }
.notfound .ico { width: 120px; height: 120px; margin: 0 auto 1.5rem; color: var(--sage); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-2); color: rgba(248,245,238,.82); position: relative; padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); font-size: var(--fs-sm); }
.footer-vine { position: absolute; top: 18px; left: 0; width: 100%; height: 60px; color: rgba(168,183,160,.28); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: 3rem; }
.footer-brand p { max-width: 24em; margin: 1.25rem 0 1.5rem; }
.footer-h { font: 600 var(--fs-xs)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #F0BCA6; margin-bottom: 1.25rem; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: #F0BCA6; text-decoration: underline; }
.site-footer address p { margin-bottom: .55rem; }
.site-footer .link-arrow { color: var(--ivory); }
.muted-light { color: rgba(248,245,238,.6); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(248,245,238,.12); font-size: var(--fs-xs); }
.footer-base p { margin: 0; }
.footer-base ul { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-base li { margin: 0 !important; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- The Growing Journey (signature vine) ---------- */
.journey { position: relative; }
.journey-vine { position: absolute; top: 0; left: max(8px, calc((100vw - var(--maxw)) / 2 - 64px)); width: 64px; height: 100%; pointer-events: none; z-index: 2; color: var(--sage); display: none; overflow: visible; }
.journey-vine .vine-path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.journey-vine .vine-leaf { fill: var(--sage); opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: var(--ox, left) center; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.journey-vine .vine-leaf.is-grown { opacity: .9; transform: scale(1); }
.journey-vine .vine-bud { fill: var(--terracotta); opacity: 0; transition: opacity .8s var(--ease) .2s; }
.journey-vine .vine-bud.is-grown { opacity: 1; }
@media (min-width: 1400px) { .journey-vine.is-ready { display: block; } }

/* ---------- Motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .learn-card.reveal.is-in:nth-child(3n+2) { transform: translateY(2.5rem); }
@media (max-width: 960px) { .js .learn-card.reveal.is-in:nth-child(3n+2) { transform: none; } .js .learn-card.reveal.is-in:nth-child(even) { transform: translateY(1.75rem); } }
@media (max-width: 600px) { .js .learn-card.reveal.is-in:nth-child(even) { transform: none; } }
.sprig-draw { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.reveal.is-in .sprig-draw, .no-js .sprig-draw { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .sprig-draw { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .announce, .site-footer, .journey-vine, .cta-band { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Refinements ---------- */
.site-footer a.btn-ivory, .site-footer a.btn-ivory:hover { color: var(--green); text-decoration: none; }
.program-facts dd .tbc { white-space: nowrap; }
.shape-organic .photo-note { left: 20%; right: 20%; bottom: 14%; justify-content: center; text-align: center; }
.rhythm-node .ico { width: 40px; height: 40px; }
@media (max-width: 860px) { .hero-art .photo-note { display: none; } }
.announce.is-terracotta { background: var(--terracotta-ink); }
.announce.is-sage { background: var(--sage-soft); color: var(--green-2); }
.announce.is-sage a, .announce.is-sage .announce-close { color: var(--green-2); }

/* ---------- CMS blocks ---------- */
.pillars-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pillars-grid .pillar { margin-left: 0; }
.prose.is-center { margin-inline: auto; text-align: center; }
.gallery { display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--sky); }
.gallery-item figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: .5rem; }
@media (max-width: 760px) { .gallery-3, .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }
.program-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: .9rem; }
.resource-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 1.25rem; }
.page-hero-photo { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }
