*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion: no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:#FFF6E9;font-family:'Onest',system-ui,-apple-system,'Segoe UI',sans-serif;color:#1D1A38;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%}
a{color:#D33A25}a:hover{color:#A82A18}
button{font-family:inherit;cursor:pointer}
a:focus-visible,button:focus-visible{outline:3px solid #3D8BFF;outline-offset:3px}
section{scroll-margin-top:90px}
.disp{font-family:'Unbounded','Arial Black',system-ui,sans-serif}
.wrap{max-width:1240px;margin:0 auto;padding-left:32px;padding-right:32px}
.eyebrow{margin:0;font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.h2{margin:0;font-size:clamp(36px,5vw,66px);line-height:1;letter-spacing:-.02em;font-weight:800}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:rgba(255,246,233,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:2px solid #1D1A38}
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:78px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#1D1A38}
.brand img{width:34px;height:40px;display:block}
.brand span{display:flex;flex-direction:column;line-height:1.05}
.nav{display:flex;gap:4px}
.nav a{text-decoration:none;color:#1D1A38;font-weight:600;font-size:15px;padding:10px 12px;border-radius:999px;transition:background .2s}
.nav a:hover{background:#FFE7C2;color:#1D1A38}
.tools{display:flex;align-items:center;gap:10px}
.seg{display:flex;border:2px solid #1D1A38;border-radius:999px;padding:3px;gap:2px}
.seg button{border:0;border-radius:999px;padding:6px 10px;font-weight:700;font-size:13px;background:transparent;color:#1D1A38}
.seg button[aria-pressed="true"]{background:#1D1A38;color:#FFF6E9}
.iconbtn{width:44px;height:44px;border-radius:999px;border:2px solid #1D1A38;background:#fff;display:flex;align-items:center;justify-content:center;color:#1D1A38}
.prog{position:fixed;left:0;top:0;height:5px;width:100%;z-index:60;background:linear-gradient(90deg,#D33A25,#FFC23D,#2BA56B,#3D8BFF);transform-origin:left center;transform:scaleX(0)}

/* buttons, chips */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-weight:700;border-radius:999px;border:0;transition:transform .25s cubic-bezier(.3,1.7,.5,1),box-shadow .25s,background .2s}
.btn:hover{transform:translateY(-3px) rotate(-1deg)}
.btn:active{transform:scale(.94)}
.chip{border:2px solid #1D1A38;background:#fff;color:#1D1A38;font-weight:700;font-size:15px;padding:10px 18px;border-radius:999px;transition:transform .25s cubic-bezier(.3,1.7,.5,1),background .2s,color .2s}
.chip:hover{transform:rotate(-4deg) scale(1.06)}
.chip[aria-pressed="true"]{background:#1D1A38;color:#FFF6E9}
.day{border:2px solid #1D1A38;background:#fff;color:#1D1A38;border-radius:22px;padding:12px 6px 14px;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:96px;position:relative;transition:transform .25s cubic-bezier(.3,1.7,.5,1),background .2s,color .2s}
.day:hover{transform:translateY(-4px)}
.day[aria-pressed="true"]{background:#D33A25;border-color:#D33A25;color:#fff}
.day .dot{position:absolute;top:10px;right:12px;width:9px;height:9px;border-radius:999px;background:#FFC23D;border:2px solid #1D1A38}

/* event rows */
.ev{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;background:#fff;border:2px solid #1D1A38;border-radius:28px;padding:18px 22px;transition:transform .4s cubic-bezier(.2,.9,.3,1.25),box-shadow .4s}
.ev:hover{transform:translateY(-5px) rotate(-.4deg);box-shadow:0 22px 40px -22px rgba(29,26,56,.55)}
.stamp{width:96px;height:108px;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:2px solid #1D1A38}
.tag{padding:4px 12px;border-radius:999px}
.ev .thumb{width:96px;height:120px;object-fit:cover;border-radius:14px;border:2px solid #1D1A38;display:block;transition:transform .55s cubic-bezier(.2,.9,.3,1.35)}
.ev:hover .thumb{transform:rotate(7deg) scale(1.08)}
.ev-side{display:flex;align-items:center;gap:22px}
@keyframes evIn{from{opacity:0;transform:translateY(28px) scale(.97)}to{opacity:1;transform:none}}
.list .ev{animation:evIn .6s cubic-bezier(.2,.8,.2,1) both}

/* marquee */
.mq{background:#FFC23D;color:#1D1A38;border-bottom:2px solid #1D1A38;display:flex;align-items:stretch}
.mq>button{flex:none;width:64px;border:0;border-right:2px solid #1D1A38;background:#1D1A38;color:#FFC23D;display:flex;align-items:center;justify-content:center}
.mq-track{display:flex;align-items:center;width:max-content;animation:mq 42s linear infinite}
.mq:hover .mq-track,.mq.paused .mq-track{animation-play-state:paused}
@keyframes mq{to{transform:translateX(-50%)}}
.mq-item{display:inline-flex;align-items:center;gap:22px;padding-right:22px;font-size:18px;font-weight:600;white-space:nowrap}

/* hero curtain */
.curwrap{position:absolute;inset:0;z-index:5;pointer-events:none}
.cur{position:absolute;top:0;bottom:0;width:51%;background:repeating-linear-gradient(90deg,#9E1C14 0 18px,#D33A25 18px 44px,#B5241A 44px 58px);box-shadow:inset 0 -80px 80px rgba(0,0,0,.35)}
.cur-l{left:0;transform-origin:left center;animation:curL 1.9s cubic-bezier(.75,0,.2,1) .35s both}
.cur-r{right:0;transform-origin:right center;animation:curR 1.9s cubic-bezier(.75,0,.2,1) .35s both}
@keyframes curL{0%{transform:none}100%{transform:translateX(-100%) scaleX(.55)}}
@keyframes curR{0%{transform:none}100%{transform:translateX(100%) scaleX(.55)}}
.valance{position:absolute;left:0;right:0;top:0;height:30px;z-index:6;background:radial-gradient(circle at 22px 0,#D33A25 21px,transparent 22px) 0 0/44px 30px repeat-x}
.uncurtain{position:absolute;inset:0;z-index:4;pointer-events:none;background:repeating-linear-gradient(90deg,#9E1C14 0 18px,#D33A25 18px 44px,#B5241A 44px 58px);animation:up 1.6s cubic-bezier(.75,0,.2,1) .3s both}
@keyframes up{to{transform:translateY(-101%)}}

/* motion helpers */
.rise{animation:rise 1s cubic-bezier(.2,.8,.2,1) both}
@keyframes rise{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
.kin{display:inline-block;animation:kin 4.5s ease-in-out infinite alternate}
@keyframes kin{from{font-weight:300}to{font-weight:900}}
.tw{position:absolute;animation:tw 2.6s ease-in-out infinite}
@keyframes tw{0%,100%{opacity:.25;transform:scale(.6)}50%{opacity:1;transform:scale(1)}}
.fl{animation:fl 7s ease-in-out infinite}
@keyframes fl{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-18px) rotate(7deg)}}
.stk{animation:stk 7s ease-in-out infinite}
@keyframes stk{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(3deg)}}
.spin{animation:spin 18s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.blob{animation:blob 14s ease-in-out infinite}
@keyframes blob{0%,100%{border-radius:42% 58% 63% 37%/45% 41% 59% 55%}50%{border-radius:63% 37% 38% 62%/58% 63% 37% 42%}}
.drift{animation:drift 60s linear infinite}
@keyframes drift{to{transform:translateX(-50%)}}
.pulse{animation:pulse 1.8s ease-out infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,194,61,.8)}100%{box-shadow:0 0 0 14px rgba(255,194,61,0)}}
.unfold{animation:unfold 1.2s cubic-bezier(.2,.9,.3,1.2) 1.2s both}
@keyframes unfold{from{opacity:0;transform:rotate(-14deg) scale(.7)}to{opacity:1;transform:rotate(-3deg)}}
.tile{position:relative;overflow:hidden;border:2px solid #1D1A38;border-radius:32px;padding:30px 28px;min-height:330px;display:flex;flex-direction:column;gap:14px;transition:transform .4s cubic-bezier(.2,.9,.3,1.3)}
.tile:hover{transform:translateY(-6px) rotate(.6deg)}
.tile:hover .ico{animation:wig .6s ease-in-out}
@keyframes wig{0%,100%{transform:rotate(0)}25%{transform:rotate(-12deg)}75%{transform:rotate(10deg)}}
.ico{position:relative;width:64px;height:64px;border-radius:20px;background:#fff;border:2px solid #1D1A38;display:flex;align-items:center;justify-content:center}
.strip{display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px max(32px,calc((100% - 1240px)/2 + 32px)) 28px;scrollbar-width:thin}
.strip>*{scroll-snap-align:start}
.pc{flex:none;width:250px;margin:0;transition:transform .45s cubic-bezier(.2,.9,.3,1.35)}
.pc:nth-child(odd){transform:rotate(-1.5deg)}
.pc:nth-child(even){transform:rotate(1.5deg) translateY(14px)}
.pc:hover{transform:rotate(0) translateY(-10px) scale(1.03)}
.pc img{width:250px;height:312px;object-fit:cover;border-radius:22px;border:2px solid #1D1A38;display:block;background:#fff}
.tab{border:2px solid #FFF6E9;background:transparent;color:#FFF6E9;font-weight:800;font-size:16px;padding:12px 22px;border-radius:999px;transition:background .25s,color .25s,transform .25s cubic-bezier(.3,1.7,.5,1)}
.tab:hover{transform:rotate(-3deg)}
.tab[aria-selected="true"]{background:#FFC23D;border-color:#FFC23D;color:#1D1A38}
@keyframes tiIn{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
.ti{position:relative;display:flex;flex-direction:column;gap:6px;animation:tiIn .6s cubic-bezier(.2,.8,.2,1) both}
.gal{transition:transform .5s cubic-bezier(.2,.9,.3,1.35)}
.gal:hover{transform:rotate(0deg) scale(1.04) !important}
.toast{animation:toast .5s cubic-bezier(.3,1.6,.5,1) both}
@keyframes toast{from{opacity:0;transform:translateY(20px) scale(.9)}to{opacity:1;transform:none}}
.aside{position:sticky;top:24px}
.contact a,.contact p{display:flex;gap:14px;align-items:center;color:#1D1A38;text-decoration:none;font-weight:600;margin:0}
.contact .ci{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex:none}
.foot a{color:#FFF6E9;text-decoration:none}
.foot a:hover{color:#FFC23D}

@supports (animation-timeline: view()){
.rv{animation:rvIn linear both;animation-timeline:view();animation-range:entry 0% cover 26%}
.prog{animation:prog linear both;animation-timeline:scroll(root)}
.line{animation:grow linear both;animation-timeline:view();animation-range:entry 10% cover 60%}
}
@keyframes rvIn{from{opacity:0;transform:translateY(56px) scale(.98)}to{opacity:1;transform:none}}
@keyframes prog{to{transform:scaleX(1)}}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}

.nomo *,.nomo *::before,.nomo *::after{animation:none !important;transition:none !important}
.nomo .curwrap,.nomo .prog,.nomo .uncurtain{display:none}
@media (prefers-reduced-motion: reduce){
*,*::before,*::after{animation:none !important;transition:none !important}
.curwrap,.uncurtain{display:none}
}
@media (max-width: 900px){
.nav{display:none}
.wrap{padding-left:20px;padding-right:20px}
.hide-sm{display:none !important}
.ev{grid-template-columns:auto minmax(0,1fr);gap:16px;padding:14px}
.ev-side{display:none}
.stamp{width:72px;height:84px}
.stamp .disp{font-size:30px !important}
.ev h3{font-size:20px !important}
.aside{position:static}
.hdr .btn{padding:10px 14px !important}
}
@media (max-width: 520px){
.hero-badge{right:-6px !important;width:110px !important;height:110px !important}
.hdr .btn{display:none}
}
