/* Public homepage motion. All content remains available without JavaScript or animation. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}
html{scroll-behavior:smooth;scroll-padding-top:24px}
.hero{position:relative;isolation:isolate}
.hero-collage{position:relative;isolation:isolate}
.hero-collage::before{content:"";position:absolute;inset:-20px -15px 0;z-index:-1;border-radius:50%;background:radial-gradient(ellipse at 70% 30%,#ff6a4d17,transparent 66%),radial-gradient(ellipse at 20% 75%,#2e5bff14,transparent 68%);pointer-events:none;filter:blur(5px)}
html:not([data-motion=on]) .hero-collage::before{opacity:0}
.hero-copy h1 em{position:relative;display:inline-block}
.hero-copy h1 em::after{content:"";position:absolute;left:2px;right:3px;bottom:-8px;height:5px;background:#ff6a4d;border-radius:100%;transform-origin:left center;opacity:.8;scale:0 1}
[data-motion=on] .hero-copy.is-entering h1 em::after{animation:jteen-underline 850ms var(--motion-ease) 500ms both}
[data-motion=on] .hero-copy.is-entering>[data-enter]{animation:jteen-arrive 850ms var(--motion-ease) both;animation-delay:var(--enter-delay,0ms)}
[data-motion=on] .hero-collage::before{animation:jteen-halo 14s ease-in-out infinite alternate}
[data-motion=on] .hero-photo{animation:jteen-photo-float 7s ease-in-out infinite;animation-delay:-1.5s}
[data-motion=on] .hero-photo:nth-of-type(2){animation-duration:8.5s;animation-delay:-4s}
[data-motion=on] .hero-photo:nth-of-type(3){animation-duration:9s;animation-delay:-3s}
[data-motion=on] .hero-photo:nth-of-type(4){animation-duration:7.8s;animation-delay:-5s}
[data-motion=on] .hero-photo:hover{animation-play-state:paused}
.motion-reveal{opacity:1;translate:0 0}
[data-motion=on] .motion-reveal.motion-waiting{opacity:0;translate:0 22px}
[data-motion=on] .motion-reveal.motion-arriving{animation:jteen-reveal 700ms var(--motion-ease) both;animation-delay:var(--reveal-delay,0ms)}
.motion-reveal:focus-within{opacity:1!important;translate:0 0!important;animation:none!important}
[data-motion=on] .quiz-feature-art>span{animation:jteen-question 6s ease-in-out infinite}
[data-motion=on] .community-band b{display:inline-block;animation:jteen-spark 24s linear infinite}
[data-motion=on] .community-band b:last-of-type{animation-direction:reverse}
/* Two identical groups travel exactly one group width for a seamless loop. */
.community-band{position:relative;overflow:hidden;padding:0;scroll-margin-top:24px}
.community-marquee-viewport{overflow:hidden;padding-right:64px;mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 74px),transparent calc(100% - 58px))}
.community-marquee{display:flex;width:max-content}
.community-marquee-group{display:flex;align-items:center;flex:none;justify-content:space-around;min-width:100vw;list-style:none;margin:0;padding:24px 28px;gap:56px;font:18px/1.5 'Archivo Black',Rubik,sans-serif;letter-spacing:-.02em}
.community-marquee-group li{display:flex;align-items:center;gap:56px;white-space:nowrap}
.community-marquee-group b{font-size:25px;font-weight:400;line-height:1}
[data-motion=on] .community-marquee{animation:jteen-marquee 36s linear infinite}
.community-marquee-toggle{position:absolute;right:12px;top:50%;translate:0 -50%;width:44px;height:44px;display:grid;place-items:center;border:1px solid #1b2a6b40;border-radius:50%;background:var(--coral);color:var(--navy);font:700 18px/1 Rubik,system-ui,sans-serif;cursor:pointer;z-index:1}
.community-marquee-toggle:hover{background:#ff9d88}
.community-marquee-toggle:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.community-band.marquee-paused .community-marquee,.community-band.marquee-paused b{animation-play-state:paused!important}
@media(hover:hover){.community-marquee-viewport:hover .community-marquee,.community-marquee-viewport:hover b{animation-play-state:paused!important}}
@keyframes jteen-marquee{to{transform:translateX(-50%)}}
html:not([data-motion=on]) .community-marquee-viewport{padding:0;mask-image:none}
html:not([data-motion=on]) .community-marquee{width:100%;transform:none}
html:not([data-motion=on]) .community-marquee-group{min-width:0;width:100%;flex-wrap:wrap;justify-content:center;gap:18px 28px;padding:24px}
html:not([data-motion=on]) .community-marquee-group[aria-hidden=true]{display:none}
html:not([data-motion=on]) .community-marquee-group li{gap:28px}
html:not([data-motion=on]) .community-marquee-group li:last-child b{display:none}
.hero-photo,.moment-photo,.explore-card,.public-event-card,.button,.text-link,.public-event-filters button{transition:translate 260ms var(--motion-ease),box-shadow 260ms ease,background-color 200ms ease,border-color 200ms ease}
.button span,.text-link span{display:inline-block;transition:translate 240ms var(--motion-ease)}
.site-header nav>a:not(.button){position:relative}
.site-header nav>a:not(.button)::after{content:"";height:2px;background:var(--coral);position:absolute;bottom:8px;left:0;right:0;scale:0 1;transform-origin:left;transition:scale 240ms var(--motion-ease)}
@media(hover:hover) and (pointer:fine){
 [data-motion=on] :is(.public-event-card,.explore-card):hover{translate:0 -5px;box-shadow:0 15px 30px #1b2a6b12}
 [data-motion=on] .moment-photo:hover{translate:0 -4px;box-shadow:0 12px 26px #1b2a6b18}
 [data-motion=on] .button:hover{translate:0 -2px;box-shadow:0 7px 17px #1b2a6b15}
 [data-motion=on] .button:hover span{translate:2px -2px}
 [data-motion=on] .text-link:hover span{translate:0 3px}
 [data-motion=on] .site-header nav>a:hover::after{scale:1 1}
}
[data-motion=on] .button:active{translate:0 0;box-shadow:none}
html:not([data-motion=on]),html:not([data-motion=on]) *{scroll-behavior:auto!important}
html:not([data-motion=on]) *,html:not([data-motion=on]) *::before,html:not([data-motion=on]) *::after{animation:none!important;transition:none!important}
html:not([data-motion=on]) .motion-reveal{opacity:1!important;translate:0 0!important}
body.motion-tab-hidden *,body.motion-tab-hidden *::before,body.motion-tab-hidden *::after{animation-play-state:paused!important}
[data-motion=on] .motion-out-of-view,[data-motion=on] .motion-out-of-view::before{animation-play-state:paused!important}
@keyframes jteen-arrive{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
@keyframes jteen-reveal{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes jteen-photo-float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes jteen-halo{from{translate:-6px 5px;scale:.96;opacity:.65}to{translate:7px -5px;scale:1.04;opacity:1}}
@keyframes jteen-question{0%,100%{translate:0 0;rotate:-3deg}50%{translate:0 -6px;rotate:3deg}}
@keyframes jteen-spark{to{rotate:360deg}}
@keyframes jteen-underline{from{scale:0 1}to{scale:1 1}}
@media(max-width:700px){
 .hero-collage::before{inset:0}
 [data-motion=on] .hero-photo{animation-name:jteen-photo-float-mobile}
 .hero-copy h1 em::after{height:4px;bottom:-6px}
 .community-marquee-group{font-size:15px;gap:32px;padding:22px 16px}
 .community-marquee-group li{gap:32px}
 .community-marquee-group b{font-size:21px}
}
@keyframes jteen-photo-float-mobile{0%,100%{translate:0 0}50%{translate:0 -4px}}
@media(prefers-reduced-motion:reduce){
 html,html *{scroll-behavior:auto!important}
 *,*::before,*::after{animation:none!important;transition:none!important}
 .motion-reveal{opacity:1!important;translate:0 0!important}
 .hero-collage::before{opacity:0!important}
 .community-marquee-viewport{padding:0;mask-image:none}
 .community-marquee{width:100%;transform:none}
 .community-marquee-group{min-width:0;width:100%;flex-wrap:wrap;justify-content:center;gap:18px 28px;padding:24px}
 .community-marquee-group[aria-hidden=true],.community-marquee-toggle{display:none}
 .community-marquee-group li{gap:28px}
 .community-marquee-group li:last-child b{display:none}
}

.community-marquee-toggle[hidden],.site-motion-toggle[hidden]{display:none}
.site-motion-toggle{align-self:flex-start;min-height:44px;padding:8px 0;border:0;background:none;color:inherit;text-align:left;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.site-motion-toggle:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.site-motion-toggle:disabled{cursor:default;text-decoration:none}
@media print{
 .site-motion-toggle,.community-marquee-toggle,.community-marquee-group[aria-hidden=true]{display:none!important}
 .motion-reveal{opacity:1!important;translate:0 0!important}
 *,*::before,*::after{animation:none!important;transition:none!important}
 .community-marquee-viewport{padding:0;mask-image:none}
 .community-marquee{width:100%;transform:none!important}
 .community-marquee-group{min-width:0;width:100%;flex-wrap:wrap;justify-content:center;gap:18px 28px;padding:24px}
 .community-marquee-group li{gap:28px}
 .community-marquee-group li:last-child b{display:none}
}
