/* =========================================================
   La Salle Educational Center, Homestead
   Site styles. You should rarely need to edit this file.
   ========================================================= */

:root {
  --navy: #1B2C65;
  --midnight: #0E1840;
  --ink: #1A2140;
  --red: #CD163F;
  --red-deep: #A50F31;
  --mist: #EEF2FA;
  --sky: #DDE5F5;
  --line: #D6DCEB;
  --muted: #545C78;
  --faint: #B9C1D8;
  --white: #FFFFFF;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: normal; font-display: swap; src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: italic; font-display: swap; src: url("fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.wrap { width: min(100% - 2.75rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.mist { background: var(--mist); }
.dark { background: var(--midnight); color: #D5DCEE; }
.dark h2, .dark h3 { color: var(--white); }
.dark .lede { color: #B9C3DE; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.center.head, .head.center { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: #fff; padding: .7rem 1rem; }
.skip:focus { left: 1rem; }
[hidden] { display: none !important; }

/* small star used as a bullet/ornament */
.star-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.1em; }
.star-ico polygon { fill: none; stroke: var(--red); stroke-width: 14; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-weight: 600; font-size: 1rem; line-height: 1; padding: 1.05rem 1.7rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(205,22,63,.8); }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--midnight); color: #fff; }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.dark .btn-line, .on-dark .btn-line { color: #fff; }
.dark .btn-line:hover, .on-dark .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; border-bottom: 2px solid var(--red); padding-bottom: .2rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .35s, box-shadow .35s, transform .35s var(--ease); }
.site-header .bar { display: flex; align-items: center; gap: 1.5rem; height: 86px; }
.site-header .brand { margin-right: auto; display: block; }
.site-header .brand img { width: 150px; transition: width .3s; }
.site-header .brand .logo-white { display: none; }
.site-header nav { display: flex; align-items: center; gap: .4rem; }
.site-header nav a.nl { color: var(--ink); text-decoration: none; font-weight: 500; padding: .55rem .85rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.site-header nav a.nl:hover { background: var(--mist); color: var(--navy); }
.site-header nav a.nl[aria-current="page"] { color: var(--red); }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; margin: 0 .25rem 0 .5rem; }
.lang button { border: 0; background: none; padding: .35rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--muted); cursor: pointer; letter-spacing: .02em; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

.site-header.solid { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.solid .bar { height: 72px; }
.site-header.solid .brand img { width: 128px; }

/* header over a dark hero */
.site-header.over-dark:not(.solid) { background: linear-gradient(180deg, rgba(14,24,64,.7), rgba(14,24,64,0)); }
.site-header.over-dark:not(.solid) .brand .logo-white { display: block; }
.site-header.over-dark:not(.solid) .brand .logo-color { display: none; }
.site-header.over-dark:not(.solid) nav a.nl { color: #fff; }
.site-header.over-dark:not(.solid) nav a.nl:hover { background: rgba(255,255,255,.12); }
.site-header.over-dark:not(.solid) .lang { border-color: rgba(255,255,255,.35); }
.site-header.over-dark:not(.solid) .lang button { color: rgba(255,255,255,.75); }
.site-header.over-dark:not(.solid) .lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.site-header.over-dark:not(.solid) .menu-btn { background: #fff; color: var(--navy); }

@media (max-width: 960px) {
  .site-header nav a.nl, .site-header nav .btn { display: none; }
  .menu-btn { display: grid; }
  .site-header .bar { height: 74px; }
  .site-header .brand img { width: 124px; }
}

/* full-screen menu */
.overlay { position: fixed; inset: 0; z-index: 150; background: var(--midnight); color: #fff; display: flex; flex-direction: column; padding: 1.25rem 1.5rem 2rem; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.overlay.open { visibility: visible; opacity: 1; }
.overlay .top { display: flex; justify-content: space-between; align-items: center; }
.overlay .top img { width: 124px; }
.overlay .close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.overlay ul { list-style: none; padding: 0; margin: 2.5rem 0 2rem; }
.overlay li { overflow: hidden; }
.overlay li a { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); color: #fff; text-decoration: none; padding: .35rem 0; transform: translateY(105%); transition: transform .6s var(--ease); }
.overlay.open li a { transform: none; }
.overlay.open li:nth-child(2) a { transition-delay: .05s; } .overlay.open li:nth-child(3) a { transition-delay: .1s; } .overlay.open li:nth-child(4) a { transition-delay: .15s; } .overlay.open li:nth-child(5) a { transition-delay: .2s; }
.overlay li a:hover { color: #FF9AB0; }
.overlay .foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.overlay .lang { border-color: rgba(255,255,255,.35); }
.overlay .lang button { color: rgba(255,255,255,.75); }
.overlay .lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }

/* ---------- Home hero: the star window ---------- */
.star-hero { position: relative; height: 260vh; background: var(--midnight); }
.star-hero .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.star-hero .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 50%; }
.star-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,64,.15) 0%, rgba(14,24,64,.35) 45%, rgba(14,24,64,.88) 100%); opacity: 0; }
.star-hero svg.mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.star-hero .veil { fill: var(--midnight); }
.star-hero .outline { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: drawStar 2.2s .2s var(--ease) forwards; vector-effect: non-scaling-stroke; }
@keyframes drawStar { to { stroke-dashoffset: 0; } }
.star-hero .copy { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.star-hero .copy .inner { max-width: 600px; }
.star-hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .98; margin-bottom: 1.6rem; }
.star-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.star-hero h1 .ln span { display: block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.star-hero h1 .ln:nth-child(2) span { animation-delay: .15s; }
.star-hero h1 .ln:nth-child(3) span { animation-delay: .3s; }
@keyframes rise { to { transform: none; } }
.star-hero .sub { color: #C9D2EA; font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 30ch; opacity: 0; animation: fadeIn 1s .8s forwards; }
.star-hero .btns { opacity: 0; animation: fadeIn 1s 1s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.star-hero .copy2 { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(3rem, 9vh, 6rem); opacity: 0; transform: translateY(30px); }
.star-hero .copy2 p.big { font-family: var(--serif); color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: 1.04; letter-spacing: -0.015em; max-width: 22ch; margin: 0 0 1rem; font-weight: 600; }
.star-hero .copy2 p.small { color: #DCE3F4; font-size: 1.15rem; max-width: 46ch; margin: 0; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.6rem; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; opacity: 0; animation: fadeIn 1s 1.6s forwards; }
.scroll-cue i { width: 2px; height: 38px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: cue 1.8s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .star-hero { height: 220vh; }
  .star-hero .copy { top: auto; bottom: 4.5vh; transform: none; }
  .star-hero h1 { font-size: clamp(2.5rem, 11vw, 3.3rem); margin-bottom: 1rem; }
  .star-hero .sub { font-size: 1.02rem; }
  .star-hero .btns { margin-top: 1.2rem; }
  .scroll-cue { display: none; }
}

/* ---------- Scroll-lit statement ---------- */
.lit { font-family: var(--serif); font-size: clamp(1.75rem, 3.7vw, 3.2rem); line-height: 1.22; letter-spacing: -0.01em; font-weight: 500; color: var(--navy); max-width: 26ch; }
.lit .w { color: var(--faint); transition: color .35s; }
.lit .w.on { color: var(--navy); }
.lit-wrap { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.lit-wrap .textlink { margin-bottom: .6rem; white-space: nowrap; }
@media (max-width: 860px) { .lit-wrap { grid-template-columns: 1fr; } }

/* ---------- Counters ---------- */
.counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.counts > div { padding: 2rem 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.counts .n { font-family: var(--serif); color: #fff; font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 600; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.counts .l { display: block; margin-top: .8rem; color: #B9C3DE; font-size: .98rem; max-width: 18ch; }
@media (max-width: 960px) { .counts { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } .counts > div:last-child { grid-column: span 2; } }

/* ---------- Feature: the Little School ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.stack { position: relative; aspect-ratio: 1 / 1.05; }
.stack figure { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(14,24,64,.55); background: var(--sky); }
.stack figure img { width: 100%; height: 100%; object-fit: cover; }
.stack .s1 { left: 0; top: 4%; width: 64%; height: 62%; }
.stack .s2 { right: 0; top: 0; width: 42%; height: 52%; }
.stack .s3 { right: 6%; bottom: 0; width: 56%; height: 44%; }
.stack figcaption { position: absolute; left: .8rem; bottom: .8rem; right: .8rem; background: rgba(255,255,255,.94); color: var(--ink); font-size: .82rem; line-height: 1.35; padding: .5rem .7rem; border-radius: 8px; }
.stack .badge { position: absolute; left: 6%; bottom: 6%; width: 150px; height: 150px; z-index: 2; }
.facts-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.facts-list li { display: flex; gap: .8rem; align-items: flex-start; }
.facts-list .star-ico { flex: none; margin-top: .3rem; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .stack { max-width: 560px; } }

/* ---------- Tiles with icons ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { background: #fff; border-radius: 18px; padding: 2.2rem 2rem 2.4rem; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; border: 1px solid var(--line); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(14,24,64,.45); }
.tile .ico { width: 64px; height: 64px; border-radius: 16px; background: var(--mist); display: grid; place-items: center; margin-bottom: 1.6rem; }
.tile .ico svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile .yr { position: absolute; right: 1.6rem; top: 1.6rem; font-family: var(--serif); font-size: .95rem; color: var(--red); font-weight: 600; }
.tile p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Five principles star ---------- */
.principles { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pstar { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.pstar svg { width: 100%; overflow: visible; }
.pstar .body { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-linejoin: round; }
.pstar .wedge { fill: var(--red); opacity: 0; transition: opacity .5s; }
.pstar .wedge.on { opacity: .9; }
.pstar .tip { cursor: pointer; }
.pstar .tip circle { fill: var(--midnight); stroke: #fff; stroke-width: 2; transition: fill .3s, r .3s; }
.pstar .tip text { fill: #fff; font-family: var(--sans); font-weight: 600; font-size: 19px; }
.pstar .tip.on circle { fill: var(--red); stroke: var(--red); }
.pstar .tip:focus-visible circle { stroke: #FF9AB0; stroke-width: 4; }
.pstar .center-label { fill: #fff; font-family: var(--serif); font-style: italic; font-size: 20px; text-anchor: middle; }
.ppanel { min-height: 320px; }
.ppanel .count { font-size: .9rem; color: #B9C3DE; display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.ppanel .bar { height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; width: 120px; }
.ppanel .bar i { display: block; height: 100%; width: 0; background: var(--red); }
.ppanel h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.ppanel p { color: #C9D2EA; font-size: 1.1rem; }
.ppanel blockquote { margin: 1.4rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: #fff; border-left: 3px solid var(--red); padding-left: 1rem; }
.ppanel .anim { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.p-src { display: none; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } .ppanel { min-height: 0; } }

/* ---------- Photo marquee ---------- */
.marquee { overflow: hidden; padding: .5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee .track { display: flex; gap: 1.1rem; width: max-content; animation: slide 70s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee figure { margin: 0; position: relative; height: clamp(220px, 26vw, 330px); border-radius: 14px; overflow: hidden; cursor: zoom-in; flex: none; background: var(--sky); }
.marquee figure img { height: 100%; width: auto; transition: transform .6s var(--ease); }
.marquee figure:hover img { transform: scale(1.05); }
.marquee figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; color: #fff; font-size: .9rem; line-height: 1.35; background: linear-gradient(transparent, rgba(14,24,64,.85)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.marquee figure:hover figcaption, .marquee figure:focus-visible figcaption { opacity: 1; transform: none; }
.marquee + .marquee { margin-top: 1.1rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(9,15,40,.94); display: grid; place-items: center; padding: 4rem 1rem 2rem; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #E3E8F6; margin-top: 1rem; font-size: 1.05rem; }
.lightbox button { position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .x { top: 1rem; right: 1rem; }
.lightbox .prev { left: 1rem; top: 50%; }
.lightbox .next { right: 1rem; top: 50%; }

/* ---------- Seasonal: countdown + toy drive ---------- */
.season { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; }
.countdown-card { background: var(--navy); color: #fff; border-radius: 22px; padding: clamp(2rem, 4vw, 3.2rem); position: relative; overflow: hidden; }
.countdown-card h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.countdown-card p { color: #C9D2EA; max-width: 44ch; }
.countdown-card .bgstar { position: absolute; right: -70px; bottom: -90px; width: 320px; opacity: .22; }
.countdown-card > *:not(.bgstar) { position: relative; }
.countdown-card .bgstar polygon { fill: none; stroke: var(--red); stroke-width: 6; }
.clock { display: flex; gap: .8rem; margin: 1.6rem 0 .4rem; flex-wrap: wrap; }
.clock div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: .9rem .6rem .7rem; min-width: 82px; text-align: center; }
.clock b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.clock span { font-size: .78rem; color: #B9C3DE; }
.goal { margin-top: 1rem; font-size: .95rem; color: #C9D2EA; }
.toy-card { background: linear-gradient(160deg, #B5122F, #7E0B22); color: #fff; border-radius: 22px; padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.toy-card h3 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.toy-card p { color: #FFE1E8; }
.toy-card .btns { margin-top: auto; padding-top: 1rem; }
.toy-card > *:not(svg) { position: relative; z-index: 1; }
.toy-card .toy-art { position: absolute; right: 1.5rem; bottom: 1.2rem; width: 150px; fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2.5; stroke-linejoin: round; }
.toy-card .twinkle { position: absolute; width: 22px; fill: #FFD9A0; animation: twinkle 2.8s ease-in-out infinite; }
.toy-card .twinkle polygon { stroke: none; }
.toy-card .t1 { right: 190px; bottom: 120px; } .toy-card .t2 { right: 40px; bottom: 175px; width: 16px; animation-delay: .9s; } .toy-card .t3 { right: 150px; bottom: 40px; width: 13px; animation-delay: 1.7s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@media (max-width: 900px) { .season { grid-template-columns: 1fr; } }

/* ---------- Next: full-bleed parallax band ---------- */
.next-band { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--midnight); }
.next-band img.bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; opacity: .55; will-change: transform; }
.next-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,24,64,.1), rgba(14,24,64,.92)); }
.next-band .wrap { position: relative; z-index: 2; padding: 6rem 0 clamp(4rem, 8vw, 7rem); }
.next-band h2 { color: #fff; font-size: clamp(2.5rem, 6vw, 5.4rem); max-width: 14ch; }
.next-band p { color: #D5DCEE; font-size: 1.2rem; max-width: 52ch; }

/* ---------- Visit CTA ---------- */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.visit .card { background: var(--mist); border-radius: 22px; padding: 2.4rem; display: grid; gap: 1.4rem; }
.visit .card div { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.visit .card svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: .25rem; }
.visit .card strong { display: block; color: var(--navy); }
.visit .card a { font-weight: 600; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--midnight); color: #D5DCEE; padding: clamp(9rem, 16vw, 13rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 12ch; }
.page-hero .lede { color: #C3CCE6; }
.page-hero .ph-star { position: absolute; right: -6vw; top: 50%; width: min(52vw, 640px); transform: translateY(-50%) rotate(-9deg); opacity: .95; }
.page-hero .ph-star polygon { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: drawStar 2.2s .2s var(--ease) forwards; }
.page-hero .ph-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; }
.page-hero .ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--midnight) 0%, rgba(14,24,64,.35) 45%, rgba(14,24,64,.1) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
@media (max-width: 860px) { .page-hero .ph-photo { width: 100%; opacity: .35; } .page-hero .ph-star { opacity: .35; width: 90vw; } }

/* ---------- Story page ---------- */
.mission { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
.mission .quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.2; color: var(--navy); font-weight: 500; margin: 0 0 2rem; }
.pillars { display: grid; gap: 2rem; }
.pillars div { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.pillars h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.pillars p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; } }

.timeline-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.tl-nav { display: flex; gap: .6rem; }
.tl-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.tl-nav button:hover { background: rgba(255,255,255,.12); }
.timeline { --g: calc((100vw - min(100vw - 2.75rem, var(--wrap))) / 2); scroll-padding-inline: var(--g); display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem var(--g) 2rem; scrollbar-width: none; cursor: grab; }
.timeline::-webkit-scrollbar { display: none; }
.timeline.dragging { cursor: grabbing; scroll-snap-type: none; }
.tl-item { flex: none; width: min(420px, 82vw); scroll-snap-align: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 2rem 2rem 2.2rem; user-select: none; }
.tl-item .yr { font-family: var(--serif); font-size: clamp(4rem, 8vw, 6rem); line-height: .9; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px #fff; display: block; margin-bottom: 1.4rem; }
.tl-item.now .yr { -webkit-text-stroke: 0; color: var(--red); }
.tl-item .date { font-size: .85rem; color: #B9C3DE; display: block; margin-bottom: .4rem; }
.tl-item h3 { color: #fff; font-size: 1.5rem; }
.tl-item p { color: #C9D2EA; margin: 0; }
.tl-progress { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; margin-top: .5rem; overflow: hidden; }
.tl-progress i { display: block; height: 100%; width: 0; background: var(--red); }

.saint { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.saint .portrait { width: clamp(200px, 22vw, 280px); position: relative; }
.saint .portrait img { width: 100%; border-radius: 50% 50% 14px 14px; }
@media (max-width: 760px) { .saint { grid-template-columns: 1fr; } }

.letter { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.letter .photo { position: sticky; top: 110px; }
.letter .photo img { border-radius: 18px; }
.letter .photo p { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.letter .body p { font-size: 1.12rem; }
.letter .sig { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--navy); }
@media (max-width: 860px) { .letter { grid-template-columns: 1fr; } .letter .photo { position: static; max-width: 360px; } }

.people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.2rem 1.4rem; }
.person { margin: 0; }
.person .ph { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--sky); margin-bottom: 1rem; position: relative; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.person:hover .ph img { transform: scale(1.05); }
.person .ph .ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3.4rem; color: var(--navy); background: linear-gradient(160deg, var(--sky), #fff); }
.person h3 { font-size: 1.12rem; margin-bottom: .15rem; }
.person p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.4; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; list-style: none; padding: 0; margin: 0; }
.board li { border-top: 1px solid var(--line); padding: 1.2rem 0 1.3rem; }
.board .role { display: block; color: var(--red); font-size: .85rem; font-weight: 700; margin-bottom: .2rem; }
.board strong { display: block; color: var(--navy); font-weight: 600; font-size: 1.05rem; }
.board span.aff { color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .board { grid-template-columns: 1fr; } }

/* ---------- School page ---------- */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: -3.5rem; position: relative; z-index: 3; }
.glance div { background: #fff; border-radius: 18px; padding: 1.6rem 1.5rem; box-shadow: 0 24px 50px -30px rgba(14,24,64,.5); border: 1px solid var(--line); }
.glance strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.5rem; line-height: 1.15; margin-bottom: .35rem; }
.glance span { color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .glance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .glance { grid-template-columns: 1fr; } }

.learn { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
.learn .card { grid-column: span 4; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.learn .card.wide { grid-column: span 8; flex-direction: row; }
.learn .card.wide .imgs { flex: 1.2; }
.learn .card.wide .txt { flex: 1; }
.learn .imgs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 3px; aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.learn .card.wide .imgs { aspect-ratio: auto; min-height: 340px; }
.learn .imgs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.learn .txt { padding: 1.6rem 1.7rem 1.9rem; }
.learn .txt h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.learn .txt p { color: var(--muted); margin: 0; }
.learn .txt .cap { display: block; margin-top: .9rem; font-size: .85rem; color: var(--navy); font-weight: 600; }
@media (max-width: 960px) { .learn .card, .learn .card.wide { grid-column: span 12; } .learn .card.wide { flex-direction: column; } .learn .card.wide .imgs { min-height: 0; aspect-ratio: 4 / 3; } }

.faith { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.faith figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; min-height: 420px; }
.faith figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faith figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.3rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(14,24,64,.9)); font-size: .95rem; }
.faith .txt { background: var(--navy); color: #D5DCEE; border-radius: 18px; padding: 2.4rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.faith .txt h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.6rem); }
.faith .txt blockquote { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.3rem; line-height: 1.35; }
@media (max-width: 960px) { .faith { grid-template-columns: 1fr; } .faith figure { min-height: 360px; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.steps li { counter-increment: s; background: #fff; border-radius: 20px; padding: 2rem 1.8rem 2.2rem; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--red); line-height: 1; display: block; margin-bottom: 1rem; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); margin: 0 0 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Give page ---------- */
.picker { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.amounts { display: grid; gap: .7rem; }
.amounts button { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 1.1rem 1.4rem; cursor: pointer; transition: border-color .2s, background-color .2s, transform .25s var(--ease); }
.amounts button:hover { border-color: var(--navy); transform: translateX(4px); }
.amounts button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.amounts b { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--red); }
.amounts button[aria-pressed="true"] b { color: #fff; }
.amounts span { font-weight: 600; }
.impact { background: var(--midnight); color: #fff; border-radius: 24px; padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.impact .big { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 700; line-height: .95; color: #fff; font-variant-numeric: tabular-nums; }
.impact h3 { color: #fff; margin-top: 1.2rem; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.impact p { color: #C9D2EA; font-size: 1.15rem; }
.impact .btns { margin-top: auto; padding-top: 1.5rem; }
.impact .note { font-size: .85rem; color: #9FAACB; margin: 1rem 0 0; }
.impact .bgstar { position: absolute; right: -80px; bottom: -80px; width: 340px; opacity: .3; }
.impact .bgstar polygon { fill: none; stroke: var(--red); stroke-width: 5; }
@media (max-width: 900px) { .picker { grid-template-columns: 1fr; } }
.donate-box { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.4rem); min-height: 240px; }
.race { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.race dl { margin: 0; display: grid; grid-template-columns: 6rem 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.race dt, .race dd { margin: 0; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.race dt { font-weight: 700; color: #B9C3DE; }
.race dd { color: #fff; }
@media (max-width: 860px) { .race { grid-template-columns: 1fr; } }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Visit page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: -3.5rem; position: relative; z-index: 3; }
.contact-cards > div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: 0 24px 50px -30px rgba(14,24,64,.5); }
.contact-cards svg { width: 30px; height: 30px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.contact-cards h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.contact-cards p { margin: 0; color: var(--muted); }
.contact-cards a { font-weight: 600; font-size: 1.1rem; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.map-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.map { width: 100%; height: 460px; border: 0; border-radius: 22px; background: var(--sky); }
@media (max-width: 860px) { .map-wrap { grid-template-columns: 1fr; } }

/* ---------- Prose pages ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.8rem; margin-top: 2.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: #B9C3DE; padding: clamp(5rem, 9vw, 8rem) 0 2rem; position: relative; overflow: hidden; }
.site-footer .sign { font-family: var(--serif); font-style: italic; color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.05; max-width: 16ch; margin: 0 0 4rem; font-weight: 400; }
.site-footer .sign small { display: block; font-family: var(--sans); font-style: normal; font-size: 1rem; color: #8F9BBF; margin-top: 1rem; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 3rem; }
.fgrid h2 { font-family: var(--sans); color: #fff; font-size: .95rem; font-weight: 700; letter-spacing: 0; margin-bottom: 1rem; }
.fgrid ul { list-style: none; padding: 0; margin: 0; }
.fgrid li { margin-bottom: .55rem; }
.fgrid a { color: #fff; text-decoration: none; }
.fgrid a:hover { color: #FF9AB0; }
.fgrid .logo { width: 170px; margin-bottom: 1.2rem; }
.fbottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: #8F9BBF; }
.site-footer .fstar { position: absolute; right: -120px; top: -80px; width: 520px; opacity: .14; transform: rotate(-9deg); }
.site-footer .fstar polygon { fill: none; stroke: var(--red); stroke-width: 2; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll (used sparingly) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round 16px); transition: clip-path 1.2s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0 round 16px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .star-hero { height: auto; }
  .star-hero .stage { position: relative; }
  .reveal { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
  .marquee .track { animation: none; }
  .marquee { overflow-x: auto; }
}
.stack .s1 figcaption { top: .8rem; bottom: auto; right: auto; }

@media (max-width: 600px) {
  .clock { gap: .45rem; }
  .clock div { min-width: 0; flex: 1; padding: .7rem .3rem .55rem; }
  .toy-card .toy-art, .toy-card .twinkle { display: none; }
  .pstar .tip text { font-size: 26px; }
  .pstar .tip circle { r: 20; }
}
