:root{
  --navy:#263F73; --ink:#1B3A4B; --rose:#B05A7A; --pink:#E4B9C7; --mustard:#C9A400;
  --yellow:#F4CE3E; --coral:#E9735D; --peach:#F8C9B5; --steel:#577FAE; --sky:#C5D9EF;
  --page:#FEF6E5; --paper:#FFFBF0; --text:#1B2B4B; --muted:#4A5B7C; --route:#263F73; --hero:#263F73; --heading:#263F73;
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --page:#111C36; --paper:#1A2A4E; --text:#F6EBD6; --muted:#B9C4DD; --route:#C5D9EF; --hero:#0C1631; --heading:#F6EBD6;
  }
}
:root[data-theme="dark"]{
  --page:#111C36; --paper:#1A2A4E; --text:#F6EBD6; --muted:#B9C4DD; --route:#C5D9EF; --hero:#0C1631; --heading:#F6EBD6;
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-behavior:smooth;scroll-padding-top:calc(76px + env(safe-area-inset-top,0px));background:var(--page)}
body{
  margin:0;position:relative;overflow-x:clip;
  font-family:var(--sans);font-size:1rem;line-height:1.6;color:var(--text);background:var(--page);
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--serif);font-weight:800;line-height:1.08;margin:0;color:var(--heading);font-variation-settings:"opsz" 96}
p{margin:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--steel);outline-offset:3px;border-radius:4px}

/* ---------- mascot sprites (embedded once) ---------- */
.ele-front{background:url(../assets/elephant-front.png) center/contain no-repeat;aspect-ratio:276/259}
.ele-side{background:url(../assets/elephant-side.png) center/contain no-repeat;aspect-ratio:340/255}

/* ---------- postage stamp component ---------- */
.stamp{
  --c:var(--pink); --edge:var(--rose); --bg:var(--page);
  position:relative;padding:22px 18px;color:#1B2B4B;
  background:
    radial-gradient(circle at 50% 0,var(--bg) 4.6px,transparent 5.2px) top left/14px 7px space no-repeat,
    radial-gradient(circle at 50% 100%,var(--bg) 4.6px,transparent 5.2px) bottom left/14px 7px space no-repeat,
    radial-gradient(circle at 0 50%,var(--bg) 4.6px,transparent 5.2px) top left/7px 14px no-repeat space,
    radial-gradient(circle at 100% 50%,var(--bg) 4.6px,transparent 5.2px) top right/7px 14px no-repeat space,
    var(--c);
}
.stamp::after{content:"";position:absolute;inset:9px;border:2.5px solid var(--edge);border-radius:2px;pointer-events:none}
.stamp > *{position:relative;z-index:1}
.c-pink{--c:var(--pink);--edge:var(--rose)}
.c-yellow{--c:#F5E6A8;--edge:var(--mustard)}
.c-sky{--c:var(--sky);--edge:var(--navy)}
.c-peach{--c:var(--peach);--edge:var(--coral)}
.c-steel{--c:var(--steel);--edge:#DCE8F7;color:#fff}
.c-navy{--c:var(--navy);--edge:var(--pink);color:#FEF6E5}

.airmail{height:16px;background:repeating-linear-gradient(-45deg,var(--rose) 0 14px,var(--page) 14px 24px,var(--navy) 24px 38px,var(--page) 38px 48px)}



/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;cursor:pointer;
  font:600 .98rem/1 var(--sans);padding:.95rem 1.5rem;border-radius:999px;border:3px solid var(--navy);
  background:var(--rose);color:#FEF6E5;transition:transform .18s ease,background .18s ease;
}
.btn:hover{transform:translateY(-2px) rotate(-1deg);background:#9A4869}
.btn.alt{background:var(--page);color:var(--navy)}
.btn.alt:hover{background:var(--sky)}
.btn.on-dark{border-color:#FEF6E5}

/* ---------- nav ---------- */
.nav{
  position:sticky;top:env(safe-area-inset-top,0px);z-index:100;
  background:color-mix(in srgb,var(--page) 94%,transparent);backdrop-filter:blur(8px);
  border-bottom:6px solid transparent;
  border-image:repeating-linear-gradient(-45deg,var(--rose) 0 10px,var(--page) 10px 16px,var(--navy) 16px 26px,var(--page) 26px 32px) 1;
}
.nav-in{--badge-room:calc(min(max(10vw,60px),100px) + clamp(12px,3.5vw,50px) + 16px);max-width:none;margin:0;padding:.55rem max(var(--badge-room),calc((100vw - 1180px)/2)) .55rem max(1.25rem,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;font:800 1.3rem/1 var(--serif);color:var(--heading)}
.brand .ele-front{width:38px}
.links{display:flex;align-items:center;gap:.25rem;list-style:none;margin:0;padding:0}
.links a{display:block;text-decoration:none;font:600 .93rem/1 var(--sans);padding:.6rem .8rem;border-radius:999px;color:var(--text);transition:background .15s}
.links a:hover{background:color-mix(in srgb,var(--pink) 55%,transparent)}
.links a.active{background:var(--navy);color:#FEF6E5}
.links a.apply{background:var(--rose);color:#FEF6E5;margin-left:.35rem}
.links a.apply:hover{background:#9A4869}
.burger{display:none;width:46px;height:46px;border-radius:12px;border:3px solid var(--navy);background:var(--page);cursor:pointer;padding:0;position:relative}
.burger span,.burger span::before,.burger span::after{position:absolute;left:10px;right:10px;height:3px;border-radius:2px;background:var(--navy);content:"";transition:transform .25s,opacity .2s}
.burger span{top:20px}.burger span::before{left:0;right:0;top:-8px}.burger span::after{left:0;right:0;top:8px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:translateY(8px) rotate(45deg)}
.burger[aria-expanded="true"] span::after{transform:translateY(-8px) rotate(-45deg)}
@media (max-width:1100px){
  .burger{display:block}
  .links{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;padding:.75rem 1.25rem 1.25rem;background:var(--page);border-bottom:6px solid var(--rose);display:none;gap:.15rem}
  .links.open{display:flex}
  .links a{padding:.9rem 1rem;font-size:1.05rem}
  .links a.apply{margin:.4rem 0 0;text-align:center}
}

/* ---------- hero / title card ---------- */
.hero{position:relative;z-index:2;background:var(--hero);color:#FEF6E5;overflow:hidden}
.hero-scene{position:absolute;inset:0;width:100%;height:100%}
.hero-inner{position:relative;min-height:calc(100svh - 70px);display:grid;place-items:center;padding:clamp(28px,5vw,64px) 1.25rem clamp(56px,7vw,80px)}
.hero-stamp{
  --bg:var(--hero);--c:#FEF6E5;--edge:var(--navy);
  width:min(640px,100%);text-align:center;padding:clamp(26px,4vw,40px) clamp(18px,4vw,42px) clamp(26px,4vw,38px);
  color:#1B2B4B;animation:drop .95s cubic-bezier(.2,1.25,.4,1) both;
}
.hero-stamp::after{inset:11px;border-width:3px}
.hero-logo{display:block;width:min(440px,88%);height:auto;margin:0 auto .5rem;border-radius:6px}
.hero h1{color:var(--navy);font-size:clamp(2rem,5.4vw,3.3rem);letter-spacing:-.01em}
.hero .sub{margin-top:.6rem;font:italic 500 clamp(1.05rem,2.2vw,1.3rem)/1.3 var(--serif);color:#6A3A55}
.boarding{margin:1.5rem 0 .75rem;font:600 .9rem/1 var(--sans);letter-spacing:.02em;color:#3D4C6E}
.count{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(6px,1.6vw,14px);max-width:470px;margin:0 auto}
.count .stamp{padding:14px 4px 12px;--bg:#FEF6E5;animation:pop .55s cubic-bezier(.2,1.5,.4,1) both;animation-delay:calc(.6s + var(--i)*.1s)}
.count .stamp::after{inset:6px;border-width:2px}
.count b{display:block;font:800 clamp(1.6rem,5.6vw,2.6rem)/1 var(--serif);color:#1B2B4B;font-variant-numeric:tabular-nums}
.count b.tick{animation:tick .35s ease}
.count small{display:block;margin-top:.3rem;font:600 clamp(.6rem,1.9vw,.78rem)/1 var(--sans);color:#3D4C6E}
.count-done{display:none;font:800 1.6rem/1.2 var(--serif);color:var(--rose);padding:.6rem 0}
.hero-cta{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:1.6rem}
.hero-cta .btn.alt{background:transparent}
.hero-stamp > .hero-ele{position:absolute;right:-22px;bottom:-34px;width:clamp(78px,13vw,120px);z-index:3;animation:peek .9s 1.25s cubic-bezier(.2,1.4,.4,1) both;transform-origin:50% 100%;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hero-ele .ele-front{width:100%;animation:sway 4.5s ease-in-out 2.2s infinite;transform-origin:50% 100%}
.hero .airmail{position:absolute;left:0;right:0;bottom:0}
@keyframes drop{from{opacity:0;transform:translateY(-46px) rotate(-3deg) scale(.96)}to{opacity:1;transform:none}}
@keyframes pop{from{opacity:0;transform:scale(.4) rotate(-10deg)}to{opacity:1;transform:none}}
@keyframes peek{from{transform:translateY(70%)}to{transform:none}}
@keyframes sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes tick{0%{transform:translateY(-5px);opacity:.4}100%{transform:none;opacity:1}}
.cloud{animation:drift 70s linear infinite}
.cloud.b{animation-duration:95s;animation-delay:-40s}
@keyframes drift{from{transform:translateX(-30%)}to{transform:translateX(130%)}}

/* ---------- route layer ---------- */
#route{position:absolute;left:0;top:0;z-index:1;pointer-events:none;overflow:visible}
#route .base{fill:none;stroke:var(--route);stroke-opacity:.3;stroke-width:3;stroke-linecap:round;stroke-dasharray:1 11}
#route .trav{fill:none;stroke:var(--rose);stroke-width:4;stroke-linecap:round;stroke-dasharray:1 11}
#route .pin{fill:var(--page);stroke:var(--route);stroke-opacity:.5;stroke-width:3;transition:fill .4s,stroke .4s}
#route .pin.on{fill:var(--rose);stroke:var(--rose);stroke-opacity:1}
#ele{position:absolute;left:0;top:0;z-index:3;pointer-events:none;width:64px;will-change:transform}
@media (max-width:760px){#ele{width:36px}}
@media (max-width:520px){#ele{width:24px}}
@media (min-width:1280px){#ele{width:88px}}
#ele .shadow{position:absolute;left:14%;right:14%;bottom:-3px;height:10px;border-radius:50%;background:var(--route);opacity:.2;filter:blur(2px)}
#ele .ele-flip{width:100%}
#ele .ele-bob{width:100%;transform-origin:50% 100%}
#ele .ele-side{width:100%;display:block}
#ele.walking .ele-bob{animation:stride .34s ease-in-out infinite}
#ele:not(.walking) .ele-bob{animation:breathe 3.2s ease-in-out infinite}
#ele .ele-bob.hop{animation:hop .6s cubic-bezier(.3,1.6,.5,1)}
@keyframes stride{0%,100%{transform:translateY(0) rotate(-2.5deg)}50%{transform:translateY(-7px) rotate(2.5deg)}}
@keyframes breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.02,.975)}}
@keyframes hop{0%{transform:translateY(0)}40%{transform:translateY(-26px) rotate(-6deg)}100%{transform:translateY(0)}}

/* ---------- sections + stops ---------- */
main{position:relative;z-index:2}
.sec{padding-block:clamp(88px,9vw,112px)}
.wrap{position:relative;max-width:880px;margin-inline:auto;padding-inline:20px 20px}
@media (max-width:1279px){.wrap{padding-left:84px;padding-right:84px}}
@media (max-width:760px){.wrap{padding-left:52px;padding-right:52px}}
.sec-head{max-width:640px;margin-bottom:2.4rem}
.sec-head h2{font-size:clamp(2.1rem,5vw,3.3rem)}
.sec-head p{margin-top:.9rem;font-size:1.06rem;color:var(--muted);max-width:60ch}
.lead{font:italic 500 clamp(1.15rem,2.4vw,1.45rem)/1.4 var(--serif);color:var(--rose)}

.stop{display:flex;align-items:flex-end;gap:10px;margin-bottom:14px}
.stop .art{width:96px;height:auto;overflow:visible;transition:filter .7s ease}
.stop:not(.visited) .art{filter:grayscale(1) opacity(.5)}
.stop.visited .art{animation:landmark .7s cubic-bezier(.2,1.5,.4,1)}
.stop-tag{
  display:inline-block;font:700 .82rem/1.2 var(--sans);padding:.5rem .8rem;border:2.5px solid var(--rose);color:var(--rose);border-radius:8px;
  background:var(--page);transform:rotate(-3deg);transition:opacity .4s;white-space:nowrap;
}
.stop:not(.visited) .stop-tag{opacity:.35}
.stop.visited .stop-tag{animation:thunk .6s cubic-bezier(.3,1.4,.5,1) both}
.stop-tag span{display:block;font-weight:500;font-size:.72rem;color:var(--muted)}
@keyframes thunk{0%{transform:scale(2) rotate(-14deg);opacity:0}55%{transform:scale(.92) rotate(-3deg);opacity:1}100%{transform:scale(1) rotate(-3deg);opacity:1}}
@keyframes landmark{0%{transform:scale(.94)}55%{transform:scale(1.05) translateY(-4px)}100%{transform:none}}
.spin{animation:spin 48s linear infinite;transform-origin:80px 88px}
@keyframes spin{to{transform:rotate(360deg)}}
.flame{animation:flame 1.4s ease-in-out infinite;transform-origin:110px 30px}
@keyframes flame{0%,100%{transform:scale(1,1)}50%{transform:scale(1.12,.92) rotate(3deg)}}
.art .ground{fill:var(--route);opacity:.16}

@media (min-width:1280px){
  .stop{position:absolute;top:64px;width:160px;flex-direction:column;align-items:center;gap:8px;margin:0}
  .stop .art{width:160px}
  .stop.left{right:calc(100% + 22px)}
  .stop.right{left:calc(100% + 22px)}
}

/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem;align-items:center}
.about-grid p+p{margin-top:1rem}
.about-copy p{max-width:60ch}
.about-ele{display:grid;place-items:center}
.about-ele .ele-front{width:min(230px,100%);cursor:pointer;-webkit-tap-highlight-color:transparent;transform-origin:50% 100%}
.about-ele .ele-front.boing{animation:boing .7s cubic-bezier(.3,1.6,.5,1)}
@keyframes boing{0%{transform:scale(1)}30%{transform:scale(1.14,.88)}60%{transform:scale(.94,1.1) translateY(-14px)}100%{transform:none}}
.note{position:relative;height:0}
.note i{position:absolute;left:50%;bottom:0;font:normal 700 1.8rem/1 var(--serif);color:var(--rose);animation:float 1.3s ease-out forwards;pointer-events:none}
@keyframes float{from{transform:translate(0,0) rotate(0);opacity:1}to{transform:translate(var(--dx),-120px) rotate(var(--r));opacity:0}}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:2.6rem}
.stats .stamp{text-align:center;padding:24px 6px 20px}
.stats b{display:block;font:800 clamp(1.7rem,4.4vw,2.6rem)/1 var(--serif);font-variant-numeric:tabular-nums}
.stats span{display:block;margin-top:.4rem;font:600 .78rem/1.25 var(--sans)}
.fields-title{margin-top:2.4rem;font:italic 500 1.35rem/1.2 var(--serif);color:var(--heading)}
.fields{display:flex;flex-wrap:wrap;gap:8px;margin:.9rem 0 0;padding:0;list-style:none}
.fields li{font:600 .86rem/1 var(--sans);padding:.65rem .9rem;border-radius:10px;color:#fff}
.fields li:nth-child(3n+1){background:var(--ink)}
.fields li:nth-child(3n+2){background:var(--steel)}
.fields li:nth-child(3n){background:var(--rose)}
.fields-foot{margin-top:1rem;color:var(--muted);font-size:.95rem}
@media (max-width:760px){.about-grid{grid-template-columns:1fr}.about-ele{order:-1;justify-items:start}.about-ele .ele-front{width:150px}.stats{grid-template-columns:repeat(2,1fr)}}

/* ---------- tracks (boarding-pass tickets) ---------- */
.tickets{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.ticket{
  --c:var(--yellow);position:relative;display:grid;grid-template-columns:1fr 78px;border-radius:14px;color:#1B2B4B;
  background:var(--c);transition:transform .2s ease;
}
.ticket:hover{transform:translateY(-5px) rotate(-.6deg)}
.ticket::before,.ticket::after{content:"";position:absolute;right:78px;width:22px;height:22px;border-radius:50%;background:var(--page);transform:translateX(50%)}
.ticket::before{top:-11px}.ticket::after{bottom:-11px}
.t-main{padding:1.4rem 1.3rem 1.5rem}
.t-main small{font:700 .78rem/1 var(--sans)}
.t-main h3{margin:.55rem 0 .5rem;font-size:1.6rem;color:#1B2B4B}
.t-main p{font-size:.94rem;line-height:1.5}
.t-stub{border-left:2.5px dashed rgba(27,43,75,.45);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:1.2rem 0}
.t-stub b{font:800 2.3rem/1 var(--serif)}
.barcode{width:34px;height:74px;background:repeating-linear-gradient(90deg,#1B2B4B 0 2px,transparent 2px 4px,#1B2B4B 4px 5px,transparent 5px 8px,#1B2B4B 8px 11px,transparent 11px 13px);border-radius:2px;opacity:.85;transform:rotate(180deg)}
.ticket:last-child:nth-child(odd){grid-column:1/-1}
@media (max-width:700px){.tickets{grid-template-columns:1fr}}

/* ---------- theme reveal ---------- */
.theme-reveal{position:relative;isolation:isolate;min-height:470px;overflow:hidden;display:grid;justify-items:center;align-content:center;gap:1rem;padding:56px 24px 170px;border:3px solid var(--navy);border-radius:12px;background:#1B2B4B;text-align:center;color:#FEF6E5}
.theme-reveal::before{position:absolute;z-index:-1;content:"";width:min(62vw,560px);aspect-ratio:1;border:1px solid rgba(254,246,229,.28);border-radius:50%;transform:scaleX(1.5) rotate(-18deg)}
.theme-reveal::after{position:absolute;z-index:0;inset:0;content:"";background:linear-gradient(180deg,rgba(15,27,51,.93) 0%,rgba(15,27,51,.78) 46%,rgba(15,27,51,.12) 100%);pointer-events:none}
.city-scene{position:absolute;z-index:-1;inset:0;width:100%;height:100%;opacity:.48;transition:opacity .8s ease}
.theme-reveal.is-revealed .city-scene{opacity:1}
.ferris-wheel{transform-box:view-box;transform-origin:168px 286px;animation:ferris-spin 32s linear infinite}
@keyframes ferris-spin{to{transform:rotate(360deg)}}
.city-lights{opacity:.08;transition:opacity 1s ease .2s}
.theme-reveal.is-revealed .city-lights{opacity:1;animation:city-glow 2.8s ease-in-out infinite alternate}
.theme-reveal > .theme-eyebrow,.theme-reveal > h3,.theme-reveal > .theme-subtitle,.theme-reveal > .theme-button{position:relative;z-index:1}
.theme-eyebrow{font:700 .84rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--yellow)}
.theme-reveal h3{max-width:18ch;color:#fff;font-size:4.5rem;text-shadow:0 3px 4px #111c36,0 8px 30px rgba(0,0,0,.8)}
.theme-reveal h3[hidden],.theme-subtitle[hidden]{display:none}
.theme-subtitle{font:italic 500 1.25rem/1.35 var(--serif);color:#FEF6E5}
.theme-button{cursor:pointer;margin-top:.35rem;padding:.85rem 1.35rem;border:2px solid var(--yellow);border-radius:999px;background:var(--yellow);color:#1B2B4B;font:700 .95rem/1 var(--sans);transition:transform .2s,background .2s}
.theme-button:hover{transform:translateY(-3px);background:#F8D95E}
.theme-button[hidden]{display:none}
.theme-button:disabled{cursor:default}
.theme-reveal.is-revealed h3{animation:theme-in .9s cubic-bezier(.2,1.2,.4,1) both}
@keyframes theme-in{0%{opacity:0;transform:translateY(32px) scale(.8);filter:blur(8px)}75%{filter:blur(0)}100%{opacity:1;transform:none}}
@keyframes city-glow{from{filter:brightness(.75)}to{filter:brightness(1.2)}}
@media (max-width:600px){.theme-reveal{min-height:390px;padding:42px 18px 120px}.theme-reveal h3{font-size:3.4rem}}

/* ---------- exec ---------- */
.polaroids{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:28px 20px}
@media (max-width:620px){.polaroids{grid-template-columns:repeat(2,1fr);gap:26px 14px}.polaroid{padding:8px 8px 12px}.polaroid strong{font-size:1rem}.polaroid span{font-size:.85rem}}
.polaroid{position:relative;margin:0;background:#FFFDF6;padding:12px 12px 16px;border-radius:4px;box-shadow:0 2px 0 rgba(27,43,75,.18),0 14px 22px -14px rgba(27,43,75,.5);transition:transform .25s cubic-bezier(.3,1.5,.5,1);color:#1B2B4B}
.polaroid:nth-child(4n+1){transform:rotate(-2.2deg)}
.polaroid:nth-child(4n+2){transform:rotate(1.6deg)}
.polaroid:nth-child(4n+3){transform:rotate(-1deg)}
.polaroid:nth-child(4n){transform:rotate(2.4deg)}
.polaroid:hover{transform:rotate(0) translateY(-6px) scale(1.03);z-index:2}
.polaroid::before{content:"";position:absolute;top:-11px;left:50%;width:70px;height:22px;transform:translateX(-50%) rotate(-3deg);background:color-mix(in srgb,var(--yellow) 75%,transparent);border-left:2px dotted rgba(27,43,75,.2);border-right:2px dotted rgba(27,43,75,.2)}
.polaroid .photo{aspect-ratio:4/5;display:block;place-items:end center;overflow:hidden;background:var(--c,var(--sky))}
.polaroid .photo .ele-front{width:74%;margin-bottom:-3%}
.polaroid .photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%;transform:translate(var(--face-shift-x,0),var(--face-shift-y,0)) scale(var(--face-zoom,1));transform-origin:center 30%}
.polaroid:nth-child(1) .photo img{--face-zoom:1.3;--face-shift-x:5%}
.polaroid:nth-child(2) .photo img{--face-zoom:1.4}
.polaroid:nth-child(3) .photo img{--face-zoom:1}
.polaroid:nth-child(4) .photo img{--face-zoom:1.7;object-position:center 100%;transform-origin:center 62%}
.polaroid:nth-child(5) .photo img{--face-zoom:1.65;--face-shift-x:10%;--face-shift-y:-5%}
.polaroid:nth-child(6) .photo img{--face-zoom:1.35}
.polaroid:nth-child(7) .photo img{--face-zoom:1.8;--face-shift-y:-20%}
.polaroid:nth-child(8) .photo img{--face-zoom:1.5;--face-shift-y:-30%}
.polaroid:nth-child(9) .photo img{--face-zoom:1.65;--face-shift-y:-10%}
.polaroid:nth-child(10) .photo img{--face-zoom:1.75;--face-shift-x:15%;--face-shift-y:25%}
.polaroid:nth-child(11) .photo img{--face-zoom:1}
.polaroid:nth-child(12) .photo img{--face-zoom:1.7;--face-shift-y:-20%}
.polaroid figcaption{padding-top:.8rem;text-align:center}
.polaroid strong{display:block;font:800 1.15rem/1.15 var(--serif);color:#1B2B4B}
.polaroid span{display:block;margin-top:.2rem;font:italic 500 .95rem/1.2 var(--serif);color:#7A3D59}

/* ---------- faq ---------- */
.faqs{display:grid;gap:12px}
.faq{border:3px solid var(--navy);border-radius:16px;background:var(--paper);overflow:hidden;transition:background .25s,border-color .25s}
.faq h3{font-size:inherit}
.faq button{all:unset;box-sizing:border-box;width:100%;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem 1.25rem;font:700 1.1rem/1.3 var(--serif);color:var(--heading)}
.faq button:focus-visible{outline:3px solid var(--steel);outline-offset:-6px}
.faq .plus{flex:none;position:relative;width:30px;height:30px;border-radius:50%;background:var(--pink);transition:transform .3s cubic-bezier(.3,1.5,.5,1),background .2s}
.faq .plus::before,.faq .plus::after{content:"";position:absolute;left:8px;right:8px;top:14px;height:2.5px;background:#1B2B4B;border-radius:2px}
.faq .plus::after{transform:rotate(90deg);transition:transform .3s}
.faq.open{background:color-mix(in srgb,var(--sky) 45%,var(--paper))}
.faq.open .plus{transform:rotate(180deg);background:var(--yellow)}
.faq.open .plus::after{transform:rotate(0)}
.ans{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.faq.open .ans{grid-template-rows:1fr}
.ans > div{overflow:hidden}
.ans p{padding:0 1.25rem 1.2rem;max-width:62ch;color:var(--text)}

/* ---------- team carousel ---------- */
.team-group-title{margin:0 0 1.2rem;font:italic 600 1.5rem/1.2 var(--serif);color:var(--heading)}
.team-group-title-next{margin-top:3.4rem}
.team-photo-wrap{padding:0 20px}
@media (max-width:1279px){.team-photo-wrap{padding-left:84px;padding-right:84px}}
@media (max-width:760px){.team-photo-wrap{padding-left:52px;padding-right:52px}}
.team-carousel{position:relative;left:50%;transform:translateX(-50%);width:min(920px,calc(100vw - 296px));display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:8px 0;border:0;background:transparent}
.team-carousel-track{min-width:0;display:grid;grid-auto-flow:column;grid-auto-columns:100%;gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-color:var(--rose) transparent;scrollbar-width:thin}
.team.stamp.team-card{min-width:0;margin:0;padding:24px 18px 20px;display:flex;flex-direction:column;align-items:center;gap:0;scroll-snap-align:start}
.team .ico{width:52px;height:52px;flex:none;border-radius:50%;background:#FEF6E5;display:grid;place-items:center;margin-bottom:.75rem;border:2.5px solid currentColor}
.team .ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.team h3{margin:0 0 .85rem;font-size:1.3rem;color:inherit;text-align:center}
.team.team-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.team.c-pink{color:#7A3D59}.team.c-yellow{color:#6B5600}.team.c-sky{color:#1F3A6E}.team.c-peach{color:#9A3D2A}
.team.c-steel h3,.team.c-navy h3{color:#FEF6E5}
.team.c-steel .ico,.team.c-navy .ico{color:var(--navy)}
.carousel-control{width:42px;height:42px;display:grid;place-items:center;border:2px solid var(--navy);border-radius:50%;background:var(--page);color:var(--navy);cursor:pointer;transition:background .18s,transform .18s}
.carousel-control:hover{transform:scale(1.06);background:var(--yellow)}
.carousel-control svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.carousel-control:disabled{opacity:.35;cursor:default;transform:none}
@media (max-width:760px){.theme-reveal h3{font-size:3.4rem}.team-carousel{width:calc(100vw - 176px);grid-template-columns:34px minmax(0,1fr) 34px;gap:8px;padding:10px}.carousel-control{width:34px;height:34px}.team.stamp.team-card{padding:20px 12px 16px}.team .ico{width:44px;height:44px}.team .ico svg{width:22px;height:22px}}
@media (max-width:520px){.team-carousel{width:calc(100vw - 152px)}}
@media (max-width:420px){.team-carousel{grid-template-columns:30px minmax(0,1fr) 30px;padding:8px}.carousel-control{width:30px;height:30px}}

/* ---------- sponsors ---------- */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.why .stamp{padding:24px 20px}
.why svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.why h3{margin:.7rem 0 .4rem;font-size:1.3rem;color:inherit}
.why p{font-size:.95rem;line-height:1.5}
@media (max-width:760px){.why{grid-template-columns:1fr}}
.sub-h{margin:3.4rem 0 1.1rem;font:italic 500 clamp(1.5rem,3vw,1.9rem)/1.15 var(--serif);color:var(--heading)}
.sub-p{color:var(--muted);max-width:62ch;margin:-.4rem 0 1.4rem}
.inkind{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.inkind .stamp{padding:22px 14px;text-align:center;font:700 .95rem/1.25 var(--sans)}
.inkind svg{width:34px;height:34px;display:block;margin:0 auto .6rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.inkind small{display:block;margin-top:.35rem;font-weight:500;font-size:.8rem}
@media (max-width:760px){.inkind{grid-template-columns:repeat(2,1fr)}}
.logos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:28px 24px}
.logo{min-width:0;min-height:108px;margin:0;padding:8px;display:grid;place-items:center}
.logo img{display:block;width:100%;height:92px;object-fit:contain;mix-blend-mode:multiply;transition:transform .2s ease}
.logo img:hover{transform:scale(1.06)}
.logo img[src*="Chamberlain"],.logo img[src*="oracle.png"]{filter:brightness(0) saturate(100%)}
@media (max-width:900px){.logos{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}}
@media (max-width:620px){.logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.logo{min-height:84px;padding:4px}.logo img{height:76px}}
@media (max-width:400px){.logos{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sponsor-cta{margin-top:3rem;padding:1.8rem;border-radius:20px;background:var(--navy);color:#FEF6E5;display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap}
.sponsor-cta h3{color:#FEF6E5;font-size:1.5rem;max-width:22ch}
.sponsor-cta p{margin-top:.4rem;color:#D8E2F4;max-width:46ch}

/* ---------- apply ---------- */
.pass{display:grid;grid-template-columns:1.1fr 1fr;border-radius:20px;background:var(--navy);color:#FEF6E5;position:relative;border:3px solid #FEF6E5;outline:3px solid var(--navy)}
.pass-l{padding:2rem 1.8rem}
.pass-l h3{color:#FEF6E5;font-size:clamp(1.9rem,4vw,2.6rem)}
.pass-l dl{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.2rem;margin:1.6rem 0 0}
.pass-l dt{font:600 .74rem/1 var(--sans);color:var(--pink)}
.pass-l dd{margin:.3rem 0 0;font:700 1.05rem/1.25 var(--serif)}
.pass-r{padding:2rem 1.8rem;border-left:3px dashed rgba(254,246,229,.55);display:grid;gap:12px;align-content:center;position:relative}
.pass::before,.pass::after{content:"";position:absolute;left:calc(55% - 12px);width:26px;height:26px;border-radius:50%;background:var(--page);border:3px solid #FEF6E5;z-index:2}
.pass::before{top:-16px}.pass::after{bottom:-16px}
.app{display:flex;align-items:center;justify-content:space-between;gap:1rem;text-decoration:none;padding:1rem 1.1rem;border-radius:14px;background:#FEF6E5;color:#1B2B4B;transition:transform .18s,background .18s}
.app:hover{transform:translateX(6px) rotate(-.5deg);background:var(--yellow)}
.app strong{display:block;font:800 1.15rem/1.15 var(--serif)}
.app span{display:block;font:500 .85rem/1.3 var(--sans);color:#4A5B7C;margin-top:.15rem}
.app svg{flex:none;width:26px;height:26px;fill:#B05A7A}
.pass-bar{margin-top:1.6rem;height:42px;background:repeating-linear-gradient(90deg,#FEF6E5 0 2px,transparent 2px 5px,#FEF6E5 5px 6px,transparent 6px 9px,#FEF6E5 9px 12px,transparent 12px 14px);opacity:.75;border-radius:3px}
@media (max-width:820px){.pass{grid-template-columns:1fr}.pass-r{border-left:0;border-top:3px dashed rgba(254,246,229,.55)}.pass::before,.pass::after{left:auto;top:auto;bottom:auto}.pass::before{left:-16px;top:calc(50% - 13px)}.pass::after{right:-16px;left:auto;bottom:auto;top:calc(50% - 13px)}}

/* ---------- footer ---------- */
footer{position:relative;z-index:2;background:var(--hero);color:#FEF6E5}
footer .airmail{background:repeating-linear-gradient(-45deg,var(--rose) 0 14px,var(--hero) 14px 24px,var(--pink) 24px 38px,var(--hero) 38px 48px)}
.foot{max-width:880px;margin:0 auto;padding:3rem 20px 2.4rem;display:grid;grid-template-columns:auto 1fr;gap:2rem;align-items:end}
.foot .ele-front{width:120px;cursor:pointer;-webkit-tap-highlight-color:transparent;transform-origin:50% 100%}
.foot .ele-front.boing{animation:boing .7s cubic-bezier(.3,1.6,.5,1)}
.foot h2{color:#FEF6E5;font-size:clamp(1.6rem,3.6vw,2.2rem)}
.foot ul{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.4rem}
.foot a{color:#FEF6E5;text-underline-offset:4px;font-weight:500}
.foot a:hover{color:var(--yellow)}
.copy{max-width:880px;margin:0 auto;padding:0 20px 2rem;font-size:.85rem;color:#B9C4DD}
@media (max-width:560px){.foot{grid-template-columns:1fr}}

/* ---------- toast ---------- */
.toast{position:fixed;left:50%;top:calc(18px + env(safe-area-inset-top,0px));bottom:auto;z-index:200;transform:translate(-50%,-24px);opacity:0;pointer-events:none;background:var(--navy);color:#FEF6E5;border:3px solid #FEF6E5;padding:.75rem 1.1rem;border-radius:999px;font:600 .92rem/1.2 var(--sans);transition:transform .3s cubic-bezier(.3,1.5,.5,1),opacity .25s;max-width:calc(100vw - 32px);text-align:center}
.toast.show{transform:translate(-50%,0);opacity:1}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
}

/* ---------- MLH 2027 season badge (top right) ---------- */
#mlh-trust-badge{display:block;max-width:100px;min-width:60px;width:10%;position:fixed;top:0;right:clamp(12px,3.5vw,50px);z-index:10000}
#mlh-trust-badge img{display:block;width:100%;height:auto}
@media (max-width:600px){#mlh-trust-badge{position:absolute}}

/* ---------- footer social icons ---------- */
.foot ul.social{gap:.75rem}
.social a{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;border:2.5px solid #FEF6E5;color:#FEF6E5;transition:transform .25s cubic-bezier(.3,1.6,.5,1),background .2s,color .2s}
.social a:hover{background:var(--yellow);color:var(--navy);border-color:var(--yellow);transform:translateY(-5px) rotate(-6deg)}
.social svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
