/* The Hope Centers */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.modal-open, html.menu-open { overflow: hidden; }

:root {
  --cream: #fbf6ee;
  --paper: #fffdf9;
  --ink: #2a2420;
  --ink-2: #5d564f;
  --grey: #6d6e71;
  --orange: #f58220;
  --orange-deep: #d9660a;
  --orange-soft: #fde6d0;
  --sage: #9db09a;
  --sage-deep: #5f7660;
  --navy: #0b1424;
  --navy-2: #13213a;
  --gold: #ffcf7a;
  --line: rgba(42, 36, 32, 0.12);
  --radius: 28px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange-deep); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(38px, 6vw, 84px); }
h2 em, h1 em { font-style: italic; color: var(--orange); font-weight: 400; }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 640px; }

/* ---------- page progress ---------- */
.page-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.page-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.solid { background: rgba(251, 246, 238, 0.82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 46px; width: auto; transition: height .4s; }
.nav.solid .brand img { height: 38px; }
.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 99px; transition: background .25s; }
.nav-links a:hover { background: rgba(245, 130, 32, 0.12); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .3s;
  will-change: transform; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(245,130,32,.7); }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-snow { background: #fff; color: var(--navy); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn .arr { transition: transform .3s; }
.btn:hover .arr { transform: translateX(4px); }
.fest-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  padding: 9px 14px; border-radius: 99px; background: var(--navy); color: #fff; text-decoration: none;
}
.fest-chip .flake { animation: spin 6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, top .3s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--cream);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s cubic-bezier(.7,0,.2,1);
  overflow-y: auto;
}
.menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu a { font-family: var(--serif); font-size: 40px; text-decoration: none; line-height: 1.25; }
.menu .btn { font-family: var(--sans); font-size: 16px; margin-top: 18px; align-self: flex-start; }

/* ---------- scrub sections ---------- */
.scrub { position: relative; }
.scrub .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub .stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.scrub-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; height: 2px; background: rgba(42,36,32,.12); border-radius: 2px; overflow: hidden; z-index: 5; }
.scrub-progress i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.scrub .copy { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.scrub .copy > * { opacity: 0; position: absolute; will-change: opacity, transform; }

#hero { height: 620vh; background: var(--cream); }
#hero .stage::after { background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(251,246,238,.55) 100%); }
.hero-title {
  left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%);
  text-align: center; pointer-events: none;
}
.hero-a { top: 50%; transform: translateY(-50%); left: var(--gutter); max-width: min(28vw, 460px); }
.hero-a h1 { font-size: clamp(44px, 4.9vw, 92px); line-height: .96; }
.hero-a p { margin-top: 20px; max-width: 420px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); }
.hero-a .row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-b { bottom: 12vh; left: 0; right: 0; text-align: center; padding: 0 var(--gutter); }
.hero-b h2 { font-size: clamp(40px, 7vw, 110px); }
.hero-side { top: 50%; transform: translateY(-50%); max-width: 360px; }
.hero-side.l { left: var(--gutter); } .hero-side.r { right: var(--gutter); text-align: right; }
.hero-side h3 { font-size: clamp(30px, 3.4vw, 52px); }
.hero-side p { color: var(--ink-2); margin-top: 12px; }
.hero-end { left: 0; right: 0; bottom: 9vh; text-align: center; padding: 0 var(--gutter); }
.hero-end h2 { font-size: clamp(36px, 6vw, 92px); }
.hero-end .row { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%); z-index: 5;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .4s;
}
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--orange), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.nav.solid ~ main .scroll-cue { opacity: 0; }

/* ---------- intro / mission ---------- */
.section { padding: clamp(90px, 14vw, 180px) 0; position: relative; }
.mission .big {
  font-family: var(--serif); font-size: clamp(30px, 4.2vw, 62px); line-height: 1.15; letter-spacing: -0.015em;
  max-width: 1100px; margin-top: 28px;
}
.mission .big .w { opacity: .14; transition: opacity .6s; }
.mission .big.in .w { opacity: 1; }
.mission .big em { color: var(--orange); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 80px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--orange); }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* ---------- programs ---------- */
.programs-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.card {
  position: relative; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 40px 80px -40px rgba(42,36,32,.35); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(245,130,32,.12), transparent 50%); opacity: 0; transition: opacity .4s; }
.card:hover::after { opacity: 1; }
.card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--orange-soft); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.card:hover .ph img { transform: scale(1.06); }
.card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.card h3 { font-size: 32px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.card li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--cream); border: 1px solid var(--line); }
.card .icon { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.25); }
.card .icon img { width: 36px; height: 36px; object-fit: contain; }

/* ---------- classroom scrub ---------- */
#classroom { height: 460vh; background: #efe7da; }
#classroom .stage::after { background: linear-gradient(90deg, rgba(251,246,238,.92) 0%, rgba(251,246,238,.6) 34%, transparent 60%); }
.cl-copy { left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 520px; }
.cl-copy h2 { font-size: clamp(38px, 5vw, 76px); }
.cl-copy p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.cl-copy .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cl-copy .pills span { background: #fff; border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.svc { background: var(--paper); padding: 34px 30px 38px; position: relative; transition: background .35s; }
.svc:hover { background: #fff; }
.svc .n { font-family: var(--serif); font-style: italic; color: var(--orange); font-size: 18px; }
.svc h3 { font-size: 26px; margin: 10px 0 10px; }
.svc p { color: var(--ink-2); font-size: 15.5px; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.aud { border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.aud.schools { background: var(--ink); color: var(--cream); }
.aud.families { background: var(--orange); color: #fff; }
.aud h3 { font-size: clamp(30px, 3vw, 44px); }
.aud p { margin: 14px 0 22px; opacity: .85; max-width: 460px; }
.aud .btn { background: rgba(255,255,255,.14); color: inherit; border: 1px solid rgba(255,255,255,.3); }
.aud .btn:hover { background: #fff; color: var(--ink); }
.aud .puzzle-bg { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .12; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 4vw, 54px); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); }
.marquee span:nth-child(even) { font-style: italic; color: var(--grey); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- testimonials ---------- */
.quotes { position: relative; margin-top: 50px; min-height: 340px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; pointer-events: none; }
.quote.on { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote { font-family: var(--serif); font-size: clamp(24px, 3vw, 42px); line-height: 1.25; max-width: 1050px; }
.quote blockquote::before { content: "\201C"; color: var(--orange); }
.quote blockquote::after { content: "\201D"; color: var(--orange); }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-weight: 700; color: var(--ink-2); }
.qdots { display: flex; gap: 10px; margin-top: 20px; position: relative; z-index: 2; }
.qdot { width: 40px; height: 6px; border-radius: 6px; background: var(--line); transition: background .3s, width .3s; }
.qdot[aria-current="true"] { background: var(--orange); width: 64px; }

/* ---------- locations ---------- */
.locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 56px; }
.loc { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .4s, box-shadow .4s; }
.loc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.4); }
.loc .ph { aspect-ratio: 16/10; background: var(--orange-soft); overflow: hidden; }
.loc .ph img { width: 100%; height: 100%; object-fit: cover; }
.loc .b { padding: 20px 22px 24px; }
.loc h3 { font-size: 22px; }
.loc .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.loc p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* ---------- winter ---------- */
.winter-intro { background: var(--navy); color: #eef2fb; padding-bottom: 40px; overflow: hidden; }
.winter-intro .eyebrow { color: var(--gold); }
.winter-intro .lede { color: rgba(238,242,251,.75); }
#globe { height: 420vh; background: var(--navy); color: #fff; }
#globe .stage::after { background: radial-gradient(ellipse at 50% 55%, transparent 40%, rgba(11,20,36,.75) 100%); }
#globe .scrub-progress { background: rgba(255,255,255,.15); }
#globe .scrub-progress i { background: var(--gold); }
.gl-a { left: var(--gutter); top: 16vh; max-width: 460px; }
.gl-b { right: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 420px; text-align: right; }
.gl-c { left: 0; right: 0; bottom: 10vh; text-align: center; padding: 0 var(--gutter); }
#globe h2 { font-size: clamp(40px, 6vw, 96px); color: #fff; }
#globe h2 em { color: var(--gold); }
#globe p { color: rgba(238,242,251,.82); margin-top: 14px; font-size: 18px; }
.fest-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; margin-top: 30px; text-align: left; max-width: 820px; margin-inline: auto; }
.fest-facts div { background: rgba(11,20,36,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 18px 20px; }
.fest-facts small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.fest-facts strong { display: block; font-size: 17px; margin-top: 4px; color: #fff; }
.winter-after { background: var(--navy); color: #eef2fb; padding: 40px 0 clamp(90px, 12vw, 150px); }
.countdown { display: flex; gap: 14px; justify-content: center; margin-top: 10px; }
.countdown div { min-width: 96px; text-align: center; padding: 16px 10px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.countdown b { display: block; font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; color: #fff; }
.countdown small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(238,242,251,.6); }
.fest-gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 56px; align-items: center; }
.fest-gallery img { border-radius: 22px; width: 100%; }
.fest-gallery ul { list-style: none; display: grid; gap: 12px; }
.fest-gallery li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.fest-gallery li b { color: var(--gold); font-family: var(--serif); font-size: 22px; line-height: 1; }

/* ---------- press ---------- */
.press-list { margin-top: 50px; border-top: 1px solid var(--line); }
.press-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s, background .4s; }
.press-item:hover { padding-left: 16px; padding-right: 16px; background: var(--paper); }
.press-item .src { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.press-item .src small { display: block; color: var(--grey); font-weight: 600; letter-spacing: .06em; margin-top: 4px; }
.press-item h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.press-item p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.press-item .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.press-item:hover .go { background: var(--orange); color: #fff; transform: rotate(-45deg); }

/* ---------- foundation / careers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.panel.found { background: linear-gradient(160deg, #fff4e8, var(--orange-soft)); }
.panel.careers { background: var(--sage-deep); color: #f3f6f1; }
.panel h3 { font-size: clamp(32px, 3.6vw, 54px); }
.panel p { margin: 14px 0 24px; max-width: 480px; opacity: .9; }
.panel .art { position: absolute; top: -30px; right: -30px; width: 46%; max-width: 260px; opacity: .95; transform: rotate(12deg); }
.panel.careers .btn { background: #fff; color: var(--sage-deep); }

/* ---------- hill scrub ---------- */
#hill { height: 420vh; background: #2b1a10; }
#hill .stage::after { background: linear-gradient(0deg, rgba(20,12,6,.55), transparent 45%); }
#hill .scrub-progress { background: rgba(255,255,255,.2); }
.hl-a { left: 0; right: 0; top: 14vh; text-align: center; padding: 0 var(--gutter); }
.hl-b { left: 0; right: 0; bottom: 12vh; text-align: center; padding: 0 var(--gutter); }
#hill h2 { color: #fff; font-size: clamp(42px, 7vw, 112px); text-shadow: 0 4px 40px rgba(0,0,0,.35); }
#hill h2 em { color: #ffd9a8; }
#hill p { color: rgba(255,255,255,.9); font-size: 19px; margin-top: 14px; }
#hill .row { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; margin-top: 50px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-card h3 { font-size: 26px; margin-bottom: 14px; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contact-card dt { font-weight: 700; }
.contact-card dd { color: var(--ink-2); }
.big-link { font-family: var(--serif); font-size: clamp(30px, 4vw, 56px); text-decoration: none; display: inline-block; border-bottom: 2px solid var(--orange); line-height: 1.15; }
.big-link:hover { color: var(--orange); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: rgba(251,246,238,.75); padding: 80px 0 40px; }
footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer img.logo { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
footer h4 { color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--orange); }
footer .bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .3s; }
.social a:hover { background: var(--orange); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- festival popup ---------- */
.fest-pop { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.fest-pop[hidden] { display: none; }
.fest-pop .scrim { position: absolute; inset: 0; background: rgba(6, 10, 20, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s; }
.fest-pop.open .scrim { opacity: 1; }
.fest-card {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 30px; background: var(--navy); color: #eef2fb;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
}
.fest-pop.open .fest-card { opacity: 1; transform: none; }
.fest-media { position: relative; min-height: 360px; overflow: hidden; }
.fest-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fest-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--navy)); }
.fest-snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.fest-snow i { position: absolute; top: -10px; border-radius: 50%; background: #fff; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(30px, 110vh, 0); } }
.fest-body { padding: 44px 40px 36px; position: relative; z-index: 2; }
.fest-body .eyebrow { color: var(--gold); }
.fest-body h2 { font-size: clamp(32px, 3.6vw, 48px); color: #fff; margin: 12px 0 10px; }
.fest-body h2 em { color: var(--gold); }
.fest-body p { color: rgba(238,242,251,.8); font-size: 16px; }
.fest-body ul { list-style: none; margin: 20px 0 22px; display: grid; gap: 10px; }
.fest-body li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.fest-body li svg { width: 20px; height: 20px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.fest-body .row { display: flex; gap: 10px; flex-wrap: wrap; }
.fest-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.fest-close:hover { background: rgba(255,255,255,.22); }
.fest-badge { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: var(--gold); color: var(--navy); font-weight: 800; border-radius: 16px; padding: 10px 14px; line-height: 1.1; font-size: 13px; text-align: center; }
.fest-badge b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; }
.fest-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 99px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 20px 40px -16px rgba(11,20,36,.7); text-decoration: none;
}
.fest-fab .flake { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); animation: spin 8s linear infinite; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-a { max-width: 36vw; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .cards { grid-template-columns: 1fr; max-width: 640px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand img { height: 38px; }
  .nav-cta .btn-primary, .nav-cta .fest-chip { display: none; }
  #hero { height: 520vh; }
  .hero-a { top: 11vh; transform: none; left: var(--gutter); right: var(--gutter); max-width: none; text-align: center; }
  .hero-a h1 { font-size: clamp(42px, 12vw, 64px); }
  .hero-a p { margin-inline: auto; font-size: 15px; }
  .hero-a .row { display: none; }
  .hero-side { left: var(--gutter) !important; right: var(--gutter) !important; top: auto; bottom: 12vh; transform: none; text-align: center !important; max-width: none; }
  #classroom .stage::after { background: linear-gradient(0deg, rgba(251,246,238,.97) 0%, rgba(251,246,238,.93) 52%, rgba(251,246,238,.4) 68%, transparent 80%) !important; }
  .cl-copy { top: auto; bottom: 8vh; transform: none; right: var(--gutter); }
  .cl-copy p { font-size: 16px; }
  .gl-a { top: 12vh; right: var(--gutter); }
  .gl-b { right: var(--gutter); left: var(--gutter); top: auto; bottom: 12vh; transform: none; text-align: left; }
  .fest-facts { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 50px; }
  .stat { padding: 20px 18px; }
  .svc-grid, .audience, .split, .contact-grid, .fest-gallery { grid-template-columns: 1fr; }
  .press-item { grid-template-columns: 1fr; gap: 10px; }
  .press-item .go { display: none; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown b { font-size: 34px; }
  .fest-card { grid-template-columns: 1fr; }
  .fest-media { min-height: 200px; }
  .fest-media::after { background: linear-gradient(180deg, transparent 50%, var(--navy)); }
  .fest-body { padding: 26px 22px 26px; }
  .fest-fab { right: 12px; bottom: 12px; }
  .fest-fab .lbl { display: none; }
  .fest-fab { padding: 10px; }
  footer .top { grid-template-columns: 1fr; }
  .quotes { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track, .fest-chip .flake, .fest-fab .flake, .scroll-cue::after { animation: none; }
}

/* legibility plates for copy over busy frames */
.hero-b, .hero-end { padding-top: 40px !important; padding-bottom: 30px !important; }
.hero-b::before, .hero-end::before {
  content: ""; position: absolute; inset: -40px -10vw -14vh; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 50% 60%, rgba(251,246,238,.94) 0%, rgba(251,246,238,.75) 45%, transparent 75%);
}
.hero-side::before {
  content: ""; position: absolute; inset: -60px -80px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(251,246,238,.9), transparent 70%);
}
#classroom .stage::after { background: linear-gradient(90deg, rgba(251,246,238,.96) 0%, rgba(251,246,238,.82) 36%, rgba(251,246,238,.2) 58%, transparent 70%); }
.panel > *:not(.art) { position: relative; z-index: 1; }
.panel .art { width: 36%; max-width: 230px; top: 24px; right: 24px; border-radius: 32px; transform: rotate(8deg); }
.panel.found .art { mix-blend-mode: multiply; }
.panel h3, .panel p { max-width: 62%; }
@media (max-width: 760px) {
  .panel { min-height: 0; padding-top: 170px; }
  .panel .art { width: 140px; }
  .panel h3, .panel p { max-width: none; }
}

.scrub .stage { background: var(--cream); }
#globe .stage { background: var(--navy); }
#hill .stage { background: #2b1a10; }

/* ---------- v6: sunrise sequence opens the page, emblem spin closes it ---------- */
#hero, #hero .stage { background: #2b1a10; }
#hero .stage::after {
  background:
    linear-gradient(180deg, rgba(20,12,6,.45) 0%, transparent 18%),
    linear-gradient(90deg, rgba(20,12,6,.6) 0%, rgba(20,12,6,.28) 34%, transparent 56%),
    linear-gradient(0deg, rgba(20,12,6,.55), transparent 42%);
}
#hero h1, #hero h2, #hero h3 { color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
#hero h1 em, #hero h2 em, #hero h3 em { color: #ffd9a8; }
#hero p { color: rgba(255,255,255,.9); }
#hero .eyebrow { color: #ffd9a8; }
#hero .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); color: #fff; }
#hero .btn-ghost:hover { background: #fff; color: var(--ink); }
#hero .scroll-cue { color: rgba(255,255,255,.85); }
#hero .scrub-progress { background: rgba(255,255,255,.2); }
.hero-b::before, .hero-end::before { background: radial-gradient(ellipse 50% 60% at 50% 60%, rgba(20,12,6,.55) 0%, rgba(20,12,6,.3) 45%, transparent 75%); }
.hero-side::before { background: radial-gradient(ellipse at center, rgba(20,12,6,.5), transparent 70%); }
.nav:not(.solid) .nav-links a { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.nav:not(.solid) .nav-links a:hover { background: rgba(255,255,255,.16); }

#hill, #hill .stage { background: var(--cream); }
#hill .stage::after { background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(251,246,238,.55) 100%); }
#hill h2 { color: var(--ink); text-shadow: none; }
#hill h2 em { color: var(--orange); }
#hill .scrub-progress { background: rgba(42,36,32,.12); }
#hill .btn-snow { background: var(--navy); color: #fff; }
.hl-a, .hl-b { padding-top: 40px; padding-bottom: 30px; }
.hl-a::before, .hl-b::before {
  content: ""; position: absolute; inset: -40px -10vw -10vh; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 50% 55%, rgba(251,246,238,.94) 0%, rgba(251,246,238,.75) 45%, transparent 75%);
}
