/* About + Program group (about-*.js pages). Builds on main.css tokens. */

/* sticky jump list */
.jump { position: sticky; top: 84px; z-index: 30; padding: 12px 0; background: rgba(247, 249, 249, .9);   border-bottom: 1px solid var(--line); }
.jump .pill-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.jump .pill-nav::-webkit-scrollbar { display: none; }
.jump .pill-nav { gap: 8px; }
.jump .pill-nav a { padding: 8px 13px; font-size: .84rem; flex: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; scroll-snap-align: start; }
.jump .pill-nav a svg { width: 18px; height: 18px; color: var(--coral); }
.jump .pill-nav b { font: 600 .74rem/1 var(--f-body); color: var(--ink-soft); }
.pill-nav a.is-active { background: var(--coral-deep); color: #fff; }
.pill-nav a.is-active svg, .pill-nav a.is-active b, .pill-nav a:hover svg, .pill-nav a:hover b { color: #fff; }
@media (min-width: 1240px) { .jump .pill-nav { flex-wrap: wrap; justify-content: center; overflow: visible; } }

/* why-choose-us chapters */
.chapter { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: 170px; }
.chapter + .chapter { margin-top: clamp(72px, 10vw, 140px); }
.chapter--rev .chapter-media { order: -1; }
.chapter-body { position: relative; }
.chapter-num { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.chapter-num .n { font: 500 clamp(3.2rem, 6vw, 4.6rem)/.9 var(--f-head); color: var(--blush); }
.chapter-num .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-2); color: var(--coral); transition: transform .6s var(--spring); }
.chapter:nth-child(even) .chapter-num .ico { background: var(--mist); color: var(--ink); }
.chapter-num .ico svg { width: 28px; height: 28px; }
.chapter:hover .chapter-num .ico { transform: rotate(-12deg) scale(1.08); }
.chapter h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.chapter .checklist { margin-top: 18px; }

/* polaroid duo */
.duo { position: relative; min-height: clamp(320px, 38vw, 480px); }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 14px; border-radius: 6px; box-shadow: var(--shadow-lg); transition: transform .6s var(--spring), z-index 0s; }
.polaroid img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font: 600 1.25rem/1.1 var(--f-hand); color: var(--ink); text-align: center; padding-top: 8px; }
.duo .polaroid:first-child { width: 64%; left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
.duo .polaroid:nth-child(2) { width: 56%; right: 0; bottom: 0; transform: rotate(5deg); z-index: 2; }
.duo .polaroid:first-child figcaption { text-align: left; padding-left: 6px; }
.duo--single .polaroid:first-child figcaption { text-align: center; }
.duo .polaroid:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.duo--single .polaroid:first-child { width: 82%; left: 8%; position: relative; }
.tape-strip { position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: rgba(235, 178, 171, .85); transform: rotate(-3deg); border-radius: 2px; }
@media (max-width: 860px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter--rev .chapter-media { order: 0; }
  .duo { min-height: 0; aspect-ratio: 1 / .86; max-width: 520px; }
  .duo--single { aspect-ratio: auto; }
}

/* fee chips finale */
.fee-chips { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fee-chips li { background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); }
.fee-stamp { position: absolute; right: -6px; top: -26px; z-index: 4; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--coral-deep); color: #fff; font: 700 1.45rem/.95 var(--f-hand); transform: rotate(12deg); box-shadow: var(--shadow-lg); animation: wobble 3.2s ease-in-out infinite; }
@media (max-width: 600px) { .fee-stamp { width: 88px; height: 88px; font-size: 1.15rem; right: 0; top: -18px; } }

/* quote band */
.quote-big { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.quote-big blockquote { margin: 0; font: 400 clamp(1.5rem, 3vw, 2.3rem)/1.3 var(--f-head); color: var(--ink); font-style: italic; }
.quote-big cite { display: block; margin-top: 18px; font: 700 1.6rem/1 var(--f-hand); color: var(--coral-deep); font-style: normal; }
.quote-big .qmark { display: block; font: 500 7rem/.6 var(--f-head); color: var(--blush); margin-bottom: 10px; }

/* storybook timeline */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 72px); }
.timeline::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; margin-left: -1.5px; background: repeating-linear-gradient(to bottom, var(--blush) 0 10px, transparent 10px 20px); }
.timeline > li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.timeline > li::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px var(--blush-2); }
.timeline > li:nth-child(even) .tl-media { order: 2; }
.tl-media .photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.tl-media img { width: 100%; height: 100%; object-fit: cover; }
.tl-when { display: inline-block; font: 700 1.6rem/1 var(--f-hand); color: var(--coral-deep); margin-bottom: 8px; }
.tl-body h2, .tl-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 860px) {
  .timeline::before { left: 11px; }
  .timeline > li { grid-template-columns: 1fr; padding-left: 40px; gap: 18px; }
  .timeline > li::after { left: 11px; top: 14px; }
  .timeline > li:nth-child(even) .tl-media { order: 0; }
}

/* people */
.bio { position: relative; padding: clamp(26px, 4vw, 48px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.bio .role { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 16px; }
.bio .role svg { width: 22px; height: 22px; }
.bio p:last-child { margin-bottom: 0; }
.bio .lead-q { font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--f-head); color: var(--ink); font-style: italic; }
.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: clamp(24px, 4vw, 56px); }
.faces .polaroid { position: relative; }
.faces .polaroid:first-child { transform: rotate(-3deg); }
.faces .polaroid:last-child { transform: rotate(3deg); margin-top: 36px; }
.faces .polaroid:hover { transform: rotate(0) scale(1.04); }
.faces .polaroid img { aspect-ratio: 600 / 715; }
@media (max-width: 520px) { .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .faces .polaroid { padding: 6px 6px 10px; } }

/* financial */
.money { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.money .card { padding: clamp(24px, 3vw, 36px); position: relative; }
.money .amt { display: block; font: 500 clamp(2.8rem, 6vw, 4.2rem)/1 var(--f-head); color: var(--coral); margin-bottom: 10px; }
.money .card:nth-child(2) .amt { color: var(--ink); }
.money .who { font-weight: 600; color: var(--ink); }
@media (max-width: 700px) { .money { grid-template-columns: 1fr; } }
.big-figure { display: flex; gap: clamp(16px, 3vw, 36px); flex-wrap: wrap; justify-content: center; margin: 28px 0 8px; }
.big-figure div { background: #fff; border-radius: var(--r-md); padding: 18px 20px; text-align: center; box-shadow: var(--shadow); min-width: 130px; }
.big-figure b { display: block; font: 500 clamp(2.4rem, 5vw, 3.4rem)/1 var(--f-head); color: var(--coral); }
.big-figure span { font-weight: 700; color: var(--ink); font-size: .92rem; }
.doc-links { display: grid; gap: 12px; margin-top: 20px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .4s var(--spring); }
.doc-link:hover { transform: translateX(6px); color: var(--coral-deep); }
.doc-link svg { width: 26px; height: 26px; color: var(--coral); flex: none; }
.doc-link small { display: block; font-weight: 600; color: var(--ink-soft); }
.centre-chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.centre-chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--ink); font-weight: 600; text-decoration: none; transition: background .3s, color .3s; }
.centre-chips a:hover { background: var(--coral-deep); color: #fff; }

/* giving back */
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 18px 0; }
.impact li { background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow); }
.impact b { display: block; color: var(--ink); margin-bottom: 4px; }
.impact--3 { grid-template-columns: repeat(3, 1fr); }
.impact .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-2); color: var(--coral); margin-bottom: 10px; }
.impact .ico svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .impact, .impact--3 { grid-template-columns: 1fr; } }
.globe-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--mint-2); color: #4f6259; font-weight: 600; font-size: .85rem; margin-bottom: 14px; }
.globe-tag svg { width: 18px; height: 18px; }

/* activities */
.acts { display: grid; gap: clamp(56px, 8vw, 110px); }
.act-icons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.act-icons a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); transition: transform .4s var(--spring); }
.act-icons a:hover { transform: translateY(-4px) rotate(-3deg); }
.act-icons svg { width: 20px; height: 20px; color: var(--coral); }
.hola { position: absolute; z-index: 3; left: -4%; top: 6%; background: #fff; border-radius: 22px 22px 22px 4px; padding: 10px 16px; font: 700 1.5rem/1 var(--f-hand); color: var(--coral-deep); box-shadow: var(--shadow-lg); transform: rotate(-6deg); }
.hola small { display: block; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 600px) { .hola { left: 2%; top: 2%; font-size: 1.25rem; } }

/* program goals */
.goals { counter-reset: g; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.goals li { counter-increment: g; background: #fff; border-radius: var(--r-md); padding: 22px 18px; box-shadow: var(--shadow); font-weight: 700; color: var(--ink); position: relative; }
.goals li::before { content: counter(g, decimal-leading-zero); display: block; font: 500 2rem/1 var(--f-head); color: var(--coral); margin-bottom: 10px; }
@media (max-width: 1000px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .goals { grid-template-columns: 1fr; } }
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: c; }
.cycle .card { padding: 26px; }
.cycle .card .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-2); color: #4f6259; margin-bottom: 12px; }
.cycle .card .ico svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .cycle { grid-template-columns: 1fr; } .cycle .card { grid-column: auto !important; } }
.eylf { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.eylf span { padding: 8px 16px; border-radius: 999px; font: 700 1.35rem/1 var(--f-hand); background: var(--blush-2); color: var(--coral-deep); }
.eylf span:nth-child(2) { background: var(--mist); color: var(--ink); }
.eylf span:nth-child(3) { background: var(--mint-2); color: #4f6259; }

/* gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 16vw, 220px); gap: 12px; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--r-md); position: relative; }
.mosaic figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic figure:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .mosaic figure:nth-child(4) { grid-column: span 2; } }

/* values ribbon (about) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values .card { padding: 26px; }
.values h3 { font-size: 1.3rem; }
.values .ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-2); color: var(--coral); margin-bottom: 12px; }
.values .card:nth-child(3n+2) .ico { background: var(--mist); color: var(--ink); }
.values .card:nth-child(3n) .ico { background: var(--mint-2); color: #4f6259; }
.values .ico svg { width: 26px; height: 26px; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .4s var(--spring); }
.related a:hover { transform: translateY(-4px); color: var(--coral-deep); }
.related a svg { width: 26px; height: 26px; color: var(--coral); flex: none; }
.related small { display: block; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* ===== Our Story. Our Legacy. (50 years) ===== */
.story-hero h1 em { font-style: italic; color: var(--coral-deep); }
.story-hero .lede { font-family: var(--f-head); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--ink); }
.story-hero .lede span { display: block; opacity: 0; transform: translateY(14px); animation: storyline .9s var(--ease) forwards; animation-delay: calc(var(--i) * 260ms + 300ms); }
@keyframes storyline { to { opacity: 1; transform: none; } }
.story-tree-wrap { position: relative; }
.story-tree { width: min(520px, 100%); height: auto; display: block; margin: 0 auto; overflow: visible; }
.story-tree image { clip-path: inset(100% 0 0 0); animation: grow 2.2s var(--ease) .3s forwards; }
@keyframes grow { to { clip-path: inset(-5% 0 0 0); } }
.story-tree .girl-on-swing, .story-tree .boy-reading { opacity: 0; animation: fadein .8s ease 2.3s forwards; }
@keyframes fadein { to { opacity: 1; } }
.story-hero .hand-note { position: absolute; right: 4%; bottom: -4px; margin: 0; font: 700 1.5rem/1 var(--f-hand); color: var(--ink-soft); transform: rotate(-5deg); }

.story-narrow { max-width: 780px; margin-inline: auto; }
.story-open { text-align: center; }
.story-open p, .story-close p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.story-lede, .story-open p.story-lede { font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.4 var(--f-head); color: var(--ink); }
.js [data-words] span { opacity: .14; transition: opacity .6s; transition-delay: calc(var(--w) * 38ms); }
.js [data-words].is-in span { opacity: 1; }
.story-fifty { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 36px 0 6px; }
.story-fifty b { font: 400 clamp(6rem, 16vw, 11rem)/.9 var(--f-head); color: var(--coral); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.story-fifty span { font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--f-hand); color: var(--ink-soft); }
.story-pair { width: 90px; margin: 30px auto 0; }
.story-pair svg { width: 100%; height: auto; overflow: visible; display: block; }

/* scrollytelling: sticky tree/logo stage + steps */
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-grid--rev .story-stage { order: 2; }
.story-stage { position: sticky; top: 96px; padding: 0 0 16px; }
.stage-art { position: relative; }
.stage-art .kids-scene { width: 100%; height: auto; overflow: visible; display: block; }
.story-stage image, .story-stage .swing, .story-stage .boy-reading { transition: opacity .7s var(--ease), filter .9s var(--ease); }
.story-stage[data-step="stands"] .swing, .story-stage[data-step="stands"] .boy-reading,
.story-stage[data-step="seasons"] .swing, .story-stage[data-step="seasons"] .boy-reading { opacity: 0; }
.story-stage[data-step="seasons"] image { animation: seasons 10s ease-in-out infinite; }
@keyframes seasons { 0%, 100% { filter: none; } 28% { filter: hue-rotate(-28deg) saturate(1.3); } 55% { filter: sepia(.5) saturate(1.1); } 80% { filter: hue-rotate(22deg) saturate(.8) brightness(1.05); } }
.stage-leaf { position: absolute; top: 6%; width: 16px; opacity: 0; transition: opacity .6s; pointer-events: none; }
.stage-leaf svg { width: 100%; height: auto; display: block; fill: currentColor; }
.story-stage[data-step="seasons"] .stage-leaf { opacity: 1; animation: stageleaf var(--t, 4s) linear var(--d, 0s) infinite; }
@keyframes stageleaf { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 85% { opacity: .95; } 100% { transform: translate(var(--sx, 10px), 72cqh) rotate(300deg); opacity: 0; } }
.stage-art { container-type: size; aspect-ratio: 330 / 296; }
.story-stage[data-step="swing"] image, .story-stage[data-step="swing"] .boy-reading,
.story-stage[data-step="book"] image, .story-stage[data-step="book"] .swing,
.story-stage[data-step="tree"] .swing, .story-stage[data-step="tree"] .boy-reading { opacity: .2; }
.story-stage[data-step="swing"] .swing, .story-stage[data-step="book"] .boy-reading { filter: drop-shadow(0 3px 5px rgba(203, 101, 106, .22)); }
.stage-caps { position: relative; height: 2.6em; margin-top: 12px; text-align: center; }
.stage-caps span { position: absolute; inset: 0; font: 700 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--f-hand); color: var(--coral-deep); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.story-stage[data-step="stands"] [data-cap="stands"], .story-stage[data-step="seasons"] [data-cap="seasons"], .story-stage[data-step="families"] [data-cap="families"],
.story-stage[data-step="photo"] [data-cap="photo"], .story-stage[data-step="photo2"] [data-cap="photo2"], .story-stage[data-step="meaning"] [data-cap="meaning"],
.story-stage[data-step="all"] [data-cap="all"], .story-stage[data-step="swing"] [data-cap="swing"], .story-stage[data-step="book"] [data-cap="book"], .story-stage[data-step="tree"] [data-cap="tree"] { opacity: 1; transform: none; }

.story-steps { display: grid; gap: 0; padding: 2vh 0 6vh; }
/* client (Nov 2026): even paragraph rhythm — steps join with the same 1.1em as paragraphs inside them */
.story-step > :last-child { margin-bottom: 1.1em; }
.story-step { display: flex; flex-direction: column; justify-content: center; }
.story-step h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.story-step h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.story-step p { font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.hand-big { font: 700 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--f-hand); color: var(--coral-deep); margin: 6px 0 14px; }
.story-refrain { font: 400 clamp(1.3rem, 2.2vw, 1.75rem)/1.35 var(--f-head); font-style: italic; color: var(--ink); border-left: 4px solid var(--coral); padding-left: 18px; margin: 22px 0 0; }
.story-step .story-refrain { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }

/* then / now polaroids (illustrated with the logo tree — no real photos) */
.story-duo { margin: 30px 0 10px; max-width: 460px; min-height: 0; aspect-ratio: 1 / .78; }
.polaroid-art { aspect-ratio: 1 / .92; background: #f6f2e8; border-radius: 3px; overflow: hidden; display: grid; place-items: end center; }
.polaroid-art .kids-scene { width: 86%; height: auto; display: block; margin-bottom: 4%; }
.polaroid--then .polaroid-art { background: #eee3cc; }
.polaroid--then .polaroid-art .kids-scene { filter: sepia(.75) contrast(.88) brightness(.96); }
.polaroid--then .polaroid-art .girl-on-swing { opacity: 0; }
.story-duo { max-width: 520px; aspect-ratio: 1 / .92; }
.story-duo .polaroid:first-child { width: 56%; left: 0; top: 0; }
.story-duo .polaroid:nth-child(2) { width: 50%; right: 0; top: 36%; bottom: auto; }
.story-duo .polaroid figcaption { font-size: 1.1rem; }

/* closing */
.story-close { text-align: center; }
.story-close h2 { font-size: clamp(2rem, 4vw, 3rem); }
.story-close .dots span { display: inline-block; animation: dotpulse 1.6s ease-in-out infinite; }
.story-close .dots span:nth-child(2) { animation-delay: .25s; }
.story-close .dots span:nth-child(3) { animation-delay: .5s; }
@keyframes dotpulse { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.story-feel { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.story-feel li { font: 400 clamp(1.1rem, 1.9vw, 1.45rem)/1.25 var(--f-head); color: var(--ink); background: #fff; border-radius: 999px; padding: 12px 22px; box-shadow: var(--shadow); }
.story-sign { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.2 var(--f-head); color: var(--ink); margin: 40px 0 4px; }
.story-legacy { font: 700 clamp(2rem, 4.5vw, 3.6rem)/1.15 var(--f-hand); color: var(--ink); margin: 0; }
.story-legacy .accent { color: var(--coral-deep); }

@media (max-width: 900px) {
  .story-grid, .story-grid--rev { grid-template-columns: 1fr; gap: 0; }
  .story-grid--rev .story-stage { order: 0; }
  /* phones: the stage sits at the top of the chapter instead of floating over the text */
  .story-stage { position: static; padding: 0 0 18px; }
  .stage-art { width: min(240px, 64vw); margin: 0 auto; }
  .stage-caps { height: 1.6em; margin-top: 4px; }
  .stage-caps span { font-size: 1rem; }
  .story-steps { padding: 2vh 0 4vh; gap: 0; }
  .story-hero .hand-note { position: static; display: block; text-align: center; margin-top: 10px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .story-tree image, .story-stage image, .stage-leaf, .story-hero .lede span, .story-close .dots span { animation: none; clip-path: none; opacity: 1; transform: none; }
  .story-tree .girl-on-swing, .story-tree .boy-reading { opacity: 1; animation: none; }
  .js [data-words] span { opacity: 1; }
}

/* Our Story: calmer (Nadir 10 Nov 2026 — "a bit distracting"). One gentle swing on the main stage; everything else still. */
.page-calm .floaties, .page-calm .leaf-fall, .page-calm .stage-leaf, .page-calm .kids-companion { display: none !important; }
.page-calm .kids-scene .swing, .page-calm .kids-scene .boy-reading { animation: none; }
.page-calm .story-stage .kids-scene .swing { animation: swing-calm 5.5s ease-in-out infinite; }
@keyframes swing-calm { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
.page-calm .story-stage[data-step="seasons"] image { animation: none; }
.page-calm .story-pair .kid-body, .page-calm .story-pair .leg, .page-calm .story-pair .arm, .page-calm .story-pair * { animation: none !important; }
.page-calm .story-close .dots span { animation: none; opacity: .6; }
.page-calm .kid-body { animation-name: none; }

/* Our People: name + photo header on each bio card (Nov 2026) */
.people-grid { gap: clamp(20px, 3vw, 32px); }
.bio-person { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.bio-photo { width: clamp(88px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: none; background: var(--mist-2); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--mist); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.bio-photo--blank { background: linear-gradient(145deg, var(--blush-2), var(--mist-2)); }
.bio-name { font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.15 var(--f-head); color: var(--ink); margin: 0 0 4px; }
.bio-title { font: 600 .95rem/1.3 var(--f-body); color: var(--coral-deep); margin: 0; }
.bio-visit { margin-top: 14px; line-height: 2; }
