/* Little Smiles public website (concept) */
.site { background: var(--paper); }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3, .disp { font-family: var(--display); font-weight: 560; letter-spacing: -.012em; line-height: 1.08; margin: 0; font-variation-settings: 'SOFT' 60, 'WONK' 0; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.18; }
.eyebrow { font: 800 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; display: block; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.6; }
em.acc { font-style: italic; color: var(--red); font-variation-settings: 'SOFT' 100, 'WONK' 1; }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 100; top: var(--bar); left: 0; right: 0; transition: transform .45s cubic-bezier(.4,0,.2,1), background-color .35s ease, box-shadow .35s ease; background: rgba(251,247,242,.0); }
.hdr.scrolled { transform: translateY(calc(-1 * var(--bar))); background: rgba(255,253,249,.97); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(29,40,56,.06); }
.hdr.solid { background: rgba(255,253,249,.97); box-shadow: 0 1px 0 var(--line); }
.hdr-in { width: min(1280px, calc(100% - 32px)); margin: 0 auto; height: 72px; display: flex; align-items: center; gap: 22px; }
.logo img { height: 46px; width: auto; }
.mainnav { display: flex; gap: 4px; margin-left: 10px; }
.mainnav a { text-decoration: none; color: var(--ink); font-weight: 650; font-size: 15px; padding: 9px 12px; border-radius: 999px; transition: background-color .25s ease, color .25s ease; }
.mainnav a:hover, .mainnav a[aria-current="page"] { background: rgba(44,105,179,.1); color: var(--blue-deep); }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.plogin { font-weight: 650; font-size: 14px; color: var(--blue-deep); text-decoration: none; padding: 8px 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { position: fixed; z-index: 99; inset: 0; background: var(--cream); padding: 130px 28px 40px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.mnav[hidden] { display: none; }
.mnav a { font: 560 28px/1.3 var(--display); color: var(--ink); text-decoration: none; padding: 6px 0; }
.mnav .btn { font: 700 17px var(--body); margin-top: 18px; align-self: flex-start; }
@media (max-width: 1080px) { .mainnav { display: none; } .burger { display: block; } .plogin { display: none; } }
@media (max-width: 420px) { .logo img { height: 38px; } .hdr-cta .btn { padding: 8px 12px; } }
.ann { background: var(--red); color: #fff; font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }
.ann a { color: #fff; }
.ann .prev { background: var(--gold); color: #2b1d00; font-size: 11px; padding: 2px 7px; border-radius: 999px; margin-right: 8px; font-weight: 800; letter-spacing: .06em; }

main { display: block; outline: none; }
.page { padding-top: calc(var(--bar) + 72px); }
.has-ann .page { padding-top: calc(var(--bar) + 108px); }

/* ---------- HOME: hero (pinned) ---------- */
#hero { position: relative; height: 175vh; background: var(--cream); }
#hero .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#heroLift { position: absolute; inset: 0; will-change: transform; }
#heroPhoto { position: absolute; inset: 0; will-change: transform; transform: scale(1.06); }
#heroPhoto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,250,244,.96) 0%, rgba(255,250,244,.9) 30%, rgba(255,250,244,.35) 56%, rgba(255,250,244,0) 72%); }
#heroCopy { position: absolute; left: max(28px, calc((100vw - 1180px) / 2)); top: 50%; width: min(600px, 52vw); transform: translateY(-46%); will-change: transform, opacity; }
#heroCopy h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: .98; letter-spacing: -.025em; color: var(--ink); }
#heroCopy p { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); margin: 22px 0 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { padding: 14px 24px; font-size: 16px; }
.hero-chip { display: inline-flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 22px; box-shadow: var(--shadow); text-decoration: none; }
.hero-chip i { width: 24px; height: 24px; border-radius: 50%; background: var(--red); display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: 13px; }
#heroNext { position: absolute; right: max(28px, calc((100vw - 1180px) / 2)); bottom: 13vh; width: min(420px, 38vw); background: rgba(255,255,255,.95); border-radius: 18px; padding: 22px 24px; box-shadow: 0 24px 60px rgba(29,40,56,.18); opacity: 0; will-change: transform, opacity; }
#heroNext b { font: 600 24px/1.2 var(--display); display: block; margin-bottom: 8px; }
#heroNext p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
#cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 8px; }
#cue i { width: 2px; height: 34px; background: linear-gradient(var(--red), transparent); animation: cue 2.2s cubic-bezier(.45,0,.55,1) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  #heroPhoto img { object-position: 50% 50%; }
  .hero-wash { background: linear-gradient(180deg, rgba(255,250,244,0) 0%, rgba(255,250,244,0) 40%, rgba(255,250,244,.86) 58%, rgba(255,250,244,.98) 74%); }
  .ann { font-size: 12.5px; padding: 6px 12px; line-height: 1.35; }
  #heroCopy { left: 20px; right: 20px; width: auto; top: auto; bottom: 6vh; transform: none; }
  #heroCopy h1 { font-size: clamp(40px, 11vw, 54px); }
  #heroCopy p { margin: 14px 0 20px; font-size: 16px; }
  #heroNext { display: none; }
  #cue { display: none; }
}

/* signature: the ribbon that ties the page together */
.ribbon { position: relative; height: 120px; background: linear-gradient(180deg, var(--cream), var(--blush)); overflow: hidden; }
.ribbon .band { position: absolute; left: 0; right: 0; top: 50%; height: 30px; margin-top: -15px; background: linear-gradient(180deg, #ef3340 0%, #d9172f 45%, #a3142a 100%); transform-origin: 0 50%; will-change: transform; box-shadow: 0 6px 14px rgba(143,17,35,.18); }
.ribbon .band::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: rgba(255,255,255,.35); }
.ribbon .bow { position: absolute; left: 50%; top: 50%; width: 132px; height: 92px; margin: -46px 0 0 -66px; will-change: transform, opacity; opacity: 0; }

/* ---------- chapters ---------- */
.ch { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.ch-blush { background: var(--blush); }
.ch-sky { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); }
.ch-gold { background: linear-gradient(180deg, var(--gold-soft), #fbe5b4); }
.ch-cream { background: var(--cream); }
.ch-red { background: linear-gradient(160deg, #e2283c 0%, var(--red) 40%, #b3132a 100%); color: #fff; }
.ch-paper { background: var(--paper); }
.ghost { position: absolute; left: 0; white-space: nowrap; font: 700 clamp(120px, 21vw, 330px)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(217,23,47,.16); pointer-events: none; user-select: none; will-change: transform; }

/* mission */
#mission .ghost { top: 8%; }
.mission-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.mission-quote { font: 500 clamp(30px, 3.6vw, 50px)/1.15 var(--display); letter-spacing: -.015em; margin: 0 0 26px; }
.mission-photo { position: relative; }
.mission-photo .main { border-radius: 4px; box-shadow: 0 30px 60px rgba(143,17,35,.18); aspect-ratio: 4/5; object-fit: cover; width: 100%; outline: 1px solid rgba(255,255,255,.6); outline-offset: -10px; }
.mission-photo .over { position: absolute; width: 46%; left: -14%; bottom: -8%; border-radius: 4px; box-shadow: 0 20px 40px rgba(29,40,56,.22); border: 6px solid #fff; aspect-ratio: 1; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.stat { background: rgba(255,255,255,.75); border: 1px solid rgba(217,23,47,.12); border-radius: 14px; padding: 18px 18px 14px; }
.stat b { display: block; font: 600 clamp(32px, 3.2vw, 44px)/1 var(--display); color: var(--red-deep); }
.stat span { display: block; font-size: 14.5px; margin-top: 6px; color: var(--ink-2); }
.stat small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; } .mission-photo { max-width: 460px; margin: 30px auto 0; } .mission-photo .over { left: -4%; } }

/* how a smile travels: pinned horizontal scene */
#journey { position: relative; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); height: 400vh; }
#journey .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#hsLand, #hsLift { position: absolute; inset: 0; will-change: transform; }
#hsGhost { position: absolute; top: 14vh; left: 0; -webkit-text-stroke-color: rgba(44,105,179,.18); }
.hs-head { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); top: calc(var(--bar) + 11vh); right: 24px; display: flex; align-items: flex-end; gap: 24px; }
.hs-head h2 { max-width: 640px; }
.hs-count { margin-left: auto; font: 600 18px/1 var(--display); color: var(--blue-deep); display: flex; align-items: center; gap: 6px; }
.hs-count .win { height: 1.3em; overflow: hidden; display: inline-block; }
#hsNums { display: block; will-change: transform; }
#hsNums span { display: block; height: 1.3em; line-height: 1.3em; }
#hsTrack { position: absolute; left: 0; top: calc(var(--bar) + 34vh); display: flex; gap: 28px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); will-change: transform; }
.hs-card { flex: none; width: min(420px, 78vw); height: min(52vh, 450px); background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(29,79,140,.14); }
.hs-card .ph { flex: 1; min-height: 0; position: relative; }
.hs-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.hs-card .ph b { position: absolute; left: 18px; top: 16px; font: 600 54px/1 var(--display); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hs-card .tx { padding: 20px 22px 24px; }
.hs-card .tx h3 { margin-bottom: 8px; }
.hs-card .tx p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.hs-bar { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); right: max(24px, calc((100vw - 1180px) / 2)); bottom: 8vh; height: 3px; background: rgba(44,105,179,.15); border-radius: 3px; overflow: hidden; }
#hsBar { position: absolute; inset: 0; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }

/* programs */
#programs .ghost { bottom: 4%; -webkit-text-stroke-color: rgba(184,119,8,.2); }
.prog { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: 60px; }
.prog + .prog { margin-top: 90px; }
.prog.flip { grid-template-columns: 1fr 1.1fr; }
.prog.flip .p-img { order: 2; }
.p-img { position: relative; }
.p-img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; outline: 1px solid rgba(255,255,255,.7); outline-offset: -10px; box-shadow: 0 30px 60px rgba(120,80,0,.16); }
.p-img .tag { position: absolute; right: -12px; top: 24px; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 700; max-width: 210px; }
.p-txt h3 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 16px; }
.p-txt ul { padding: 0; margin: 18px 0 24px; list-style: none; display: grid; gap: 10px; }
.p-txt li { display: flex; gap: 10px; align-items: flex-start; }
.p-txt li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(243,168,31,.2); }
@media (max-width: 900px) { .prog, .prog.flip { grid-template-columns: 1fr; } .prog.flip .p-img { order: 0; } .p-img .tag { right: 10px; } }

/* toy drive feature (red chapter) */
#toydrive .ghost { top: 6%; -webkit-text-stroke-color: rgba(255,255,255,.16); }
.td-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.td-grid h2 { color: #fff; }
.td-grid .lead { color: rgba(255,255,255,.9); }
.td-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 30px 70px rgba(80,0,10,.3); }
.td-card .top { display: flex; gap: 18px; align-items: center; }
.td-card .ring { width: 108px; flex: none; }
.td-card h3 { font-size: 24px; }
.td-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.td-ways a { display: block; background: var(--paper); border-radius: 14px; padding: 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; transition: transform .25s ease, background-color .25s ease; }
.td-ways a:hover { transform: translateY(-2px); background: var(--gold-soft); }
.td-ways a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.td-photo { position: relative; margin-top: 28px; }
.td-photo img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; width: 100%; outline: 1px solid rgba(255,255,255,.5); outline-offset: -10px; }
@media (max-width: 900px) { .td-grid { grid-template-columns: 1fr; } .td-ways { grid-template-columns: 1fr; } }

/* ways to help: stacked sticky cards */
#help { background: var(--cream); padding: clamp(80px, 10vw, 130px) 0 60px; }
#stack { display: flex; flex-direction: column; gap: 6vh; margin-top: 40px; }
.sc { position: sticky; top: calc(var(--bar) + 11vh); height: 78vh; min-height: 520px; transform-origin: 50% 0; will-change: transform; }
.sc-in { position: relative; height: 100%; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; will-change: transform; box-shadow: 0 18px 50px rgba(29,40,56,.12); }
.sc-shade { position: absolute; inset: 0; background: #1d2838; opacity: 0; pointer-events: none; will-change: opacity; z-index: 3; }
.sc-tx { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.sc-tx .n { font: 600 15px/1 var(--display); opacity: .7; margin-bottom: 18px; }
.sc-tx h3 { font-size: clamp(34px, 4vw, 58px); line-height: 1.02; margin-bottom: 18px; }
.sc-tx p { font-size: 17px; margin: 0 0 26px; max-width: 460px; }
.sc-ph { position: relative; overflow: hidden; }
.sc-ph img { width: 100%; height: 100%; object-fit: cover; }
.sc-ph .gw { position: absolute; right: -4%; bottom: -4%; font: 700 clamp(80px, 11vw, 170px)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.sc.c1 .sc-in { background: var(--blush); } .sc.c2 .sc-in { background: var(--sky); } .sc.c3 .sc-in { background: var(--gold-soft); } .sc.c4 .sc-in { background: #e8efe6; }
@media (max-width: 860px) { .sc { height: 82vh; min-height: 0; top: calc(var(--bar) + 76px); } .sc-in { grid-template-columns: 1fr; grid-template-rows: 44% 1fr; } .sc-ph { order: -1; } .sc-tx { padding: 22px 22px 26px; justify-content: flex-start; } .sc-tx h3 { font-size: 34px; margin-bottom: 10px; } .sc-tx p { font-size: 15.5px; margin-bottom: 16px; } }

/* events + partners + news on home */
.ev-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.ev { background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.ev:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(29,40,56,.14); }
.ev .ph { aspect-ratio: 16/10; position: relative; }
.ev .ph img { width: 100%; height: 100%; object-fit: cover; }
.ev .date { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 12px; padding: 8px 11px; text-align: center; font-weight: 800; line-height: 1.05; box-shadow: var(--shadow); }
.ev .date small { display: block; font-size: 11px; color: var(--red); letter-spacing: .08em; text-transform: uppercase; }
.ev .tx { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ev .tx h3 { font-size: 23px; }
.ev .tx .meta { color: var(--muted); font-size: 14px; }
.ev .tx .tags { margin-top: auto; padding-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 900px) { .ev-list { grid-template-columns: 1fr; } }

.marq { overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(29,79,140,.12); border-bottom: 1px solid rgba(29,79,140,.12); margin-top: 34px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq-t { display: flex; gap: 46px; width: max-content; animation: marq 70s linear infinite; }
.marq-t span { font: 500 22px/1 var(--display); color: var(--blue-deep); white-space: nowrap; }
.marq-t span::after { content: '\2022'; margin-left: 46px; color: var(--gold); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* newsletter + footer */
.nl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.nl form { display: flex; gap: 10px; }
.nl input { flex: 1; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 14px 18px; font-size: 16px; background: #fff; }
@media (max-width: 760px) { .nl { grid-template-columns: 1fr; } .nl form { flex-direction: column; } }
.ftr { background: var(--blue-night); color: #dfe9f6; padding: 70px 0 30px; }
.ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.ftr h4 { font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 6px 0 14px; }
.ftr a { color: #dfe9f6; text-decoration: none; display: block; padding: 4px 0; font-size: 15px; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .logo-w { height: 52px; width: auto; margin-bottom: 16px; }
.ftr .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #b9c9de; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
@media (max-width: 860px) { .ftr .cols { grid-template-columns: 1fr 1fr; } }

/* reveals: CSS view-timeline where supported (html.sda), IntersectionObserver fallback */
.rv { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
html.sda .rv { opacity: 1; transform: none; transition: none; animation: rvIn linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
@keyframes rvIn { 0% { opacity: 0; transform: translate3d(0, 26px, 0); } 25% { opacity: .16; transform: translate3d(0, 21px, 0); } 50% { opacity: .5; transform: translate3d(0, 13px, 0); } 75% { opacity: .84; transform: translate3d(0, 4px, 0); } 100% { opacity: 1; transform: none; } }
html.still .rv, .no-motion .rv { opacity: 1; transform: none; animation: none; }

/* ---------- inner pages ---------- */
.ph-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.ph-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,63,112,.15) 0%, rgba(24,63,112,.25) 40%, rgba(24,63,112,.85) 100%); }
.ph-hero .wrap { position: relative; z-index: 2; padding: 120px 0 44px; }
.ph-hero h1 { font-size: clamp(40px, 5.5vw, 74px); color: #fff; }
.ph-hero p { font-size: 18px; max-width: 620px; margin: 14px 0 0; color: rgba(255,255,255,.92); }
.ph-hero .eyebrow { color: var(--gold); }
.sec { padding: 70px 0; }
.sec-tint { background: var(--cream); }
.sec-blush { background: var(--blush); }
.sec-sky { background: var(--sky); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.03); }
.card h3 { margin-bottom: 8px; }
.card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--gold-soft); color: var(--gold-deep); }
.card .ic svg { width: 24px; height: 24px; }
.subnav { position: sticky; top: calc(72px); z-index: 50; background: rgba(255,253,249,.96); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.subnav a:hover { border-color: var(--blue); color: var(--blue-deep); }
.formcard { background: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 20px 50px rgba(29,40,56,.1); }
.formcard h3 { margin-bottom: 6px; }
.formcard .fhead { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.notice { background: var(--gold-soft); border: 1px solid #f4d48c; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #5a3a00; margin: 0 0 18px; }
.notice.blue { background: var(--sky); border-color: var(--sky-2); color: var(--blue-night); }
.done { text-align: center; padding: 30px 10px; }
.done .big { font: 600 34px/1.1 var(--display); margin: 12px 0 10px; }
.done .code { display: inline-block; font: 700 22px/1 ui-monospace, Menlo, monospace; background: var(--paper); padding: 10px 16px; border-radius: 10px; margin: 6px 0 14px; letter-spacing: .04em; }
.bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.bands label { font-size: 13px; font-weight: 700; color: var(--ink-2); display: grid; gap: 6px; }
.bands input { width: 100%; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px; font-size: 16px; text-align: center; }
@media (max-width: 560px) { .bands { grid-template-columns: repeat(3, 1fr); } }

/* donate */
.give { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .give { grid-template-columns: 1fr; } }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.amts button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px; padding: 14px 6px; font: 700 18px var(--body); cursor: pointer; transition: all .2s ease; }
.amts button[aria-pressed="true"] { border-color: var(--red); background: var(--red-soft); color: var(--red-deep); }
@media (max-width: 480px) { .amts { grid-template-columns: repeat(2, 1fr); } }
.camp { display: flex; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; align-items: center; margin-bottom: 10px; transition: border-color .2s ease; }
.camp[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,105,179,.15); }
.camp img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.camp .meta { flex: 1; min-width: 0; }
.camp b { display: block; }
.prog-bar { height: 8px; background: var(--paper); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.prog-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); border-radius: 999px; }
.sim-pay { border: 1.5px dashed #c8bdf1; background: #f7f5ff; border-radius: 12px; padding: 14px; margin: 8px 0 16px; font-size: 14px; color: #3e3478; }
.sim-pay .fake { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.sim-pay .fake span { background: #fff; border: 1px solid #ddd6f8; border-radius: 8px; padding: 10px; color: #9b93c6; font-size: 13px; }

/* map */
.mapwrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .mapwrap { grid-template-columns: 1fr; } }
.map { position: relative; background: linear-gradient(180deg, #dcebf8, #cfe2f4); border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; max-height: 720px; box-shadow: inset 0 0 0 1px rgba(29,79,140,.1); }
.map svg { width: 100%; height: 100%; display: block; }
.map .pin { cursor: pointer; }
.map .pin circle.o { transition: r .25s ease; }
.map .pin:hover circle.o, .map .pin.on circle.o { r: 15; }
.map .lbl { position: absolute; left: 12px; bottom: 12px; font-size: 11.5px; color: var(--blue-night); background: rgba(255,255,255,.85); padding: 5px 9px; border-radius: 8px; }
.sites { display: grid; gap: 10px; max-height: 720px; overflow: auto; padding-right: 4px; }
.site-i { background: #fff; border-radius: 14px; padding: 14px 16px; border: 1.5px solid transparent; cursor: pointer; text-align: left; width: 100%; box-shadow: var(--shadow); transition: border-color .2s ease; }
.site-i.on, .site-i:hover { border-color: var(--blue); }
.site-i b { display: block; }
.site-i span { display: block; font-size: 13.5px; color: var(--muted); }
.new-pin { animation: pinIn 1.2s cubic-bezier(.2,.8,.2,1) both; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pinIn { 0% { transform: translateY(-18px) scale(.6); opacity: 0; } 60% { transform: translateY(2px) scale(1.05); opacity: 1; } 100% { transform: none; } }

/* misc */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.facts div { background: #fff; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.person { background: #fff; border-radius: 14px; padding: 16px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); }
.person .av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 16px var(--body); color: #fff; background: var(--blue); }
.person b { display: block; }
.person span { font-size: 13.5px; color: var(--muted); }
.fin { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 15px; }
.fin th, .fin td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); }
.fin th:first-child, .fin td:first-child { text-align: left; }
.fin thead th { background: var(--sky); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-night); }
.faq details { background: #fff; border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; font-size: 16.5px; }
.faq p { margin: 0 0 16px; color: var(--ink-2); }
.opp { display: grid; grid-template-columns: 220px 1fr; gap: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; text-decoration: none; color: var(--ink); transition: transform .3s ease; }
.opp:hover { transform: translateY(-3px); }
.opp img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.opp .tx { padding: 20px 22px; }
@media (max-width: 640px) { .opp { grid-template-columns: 1fr; } .opp img { height: 160px; } }
.shift { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; cursor: pointer; }
.shift input { width: 18px; height: 18px; accent-color: var(--red); }
.shift .when { font-weight: 700; flex: 1; }
.shift .left { font-size: 13px; color: var(--muted); }
.shift.full { opacity: .55; cursor: not-allowed; }
.preview-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 200; background: var(--gold); color: #2b1d00; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.2); display: flex; gap: 12px; align-items: center; }
.preview-bar a { color: #2b1d00; }

/* reduced motion: the pinned scenes become a composed still layout */
html.still #hero { height: auto; } html.still #hero .stage { position: relative; height: 100vh; }
html.still #heroNext { opacity: 1; } html.still .ribbon .band { transform: none; } html.still .ribbon .bow { opacity: 1; }
html.still #journey { height: auto !important; padding: 120px 0 80px; } html.still #journey .stage { position: relative; height: auto; overflow: visible; }
html.still .hs-head { position: relative; top: 0; left: 0; right: 0; width: min(1180px, calc(100% - 40px)); margin: 0 auto 30px; }
html.still #hsTrack { position: relative; top: 0; flex-wrap: wrap; justify-content: center; }
html.still .hs-card { height: auto; } html.still .hs-card .ph { height: 220px; flex: none; } html.still .hs-bar, html.still .hs-count, html.still #hsGhost { display: none; }
html.still .sc { position: relative; top: 0; height: auto; min-height: 460px; margin-bottom: 20px; }
