/* Depth comes from CSS layers: no WebGL library, video or external request. */
.hero-scene{perspective:1200px;isolation:isolate;--rx:0deg;--ry:0deg;min-height:530px}
.hero-flip{position:relative;display:block;width:min(100%,390px);height:430px;border:0;padding:0;background:transparent;transform:rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-5deg);transform-style:preserve-3d;transition:transform .35s ease;z-index:2;border-radius:22px;text-align:left;animation:hero-card-float 8s ease-in-out infinite;animation-play-state:paused}
.hero-flip:focus-visible{outline:3px solid var(--gold);outline-offset:10px}
.hero-flip-inner{display:block;width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.2,.7,.2,1)}
.hero-flip[aria-pressed=true] .hero-flip-inner{transform:rotateY(180deg)}
.hero-face{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:22px;background:var(--surface);border:1px solid var(--line);box-shadow:0 24px 40px #17211520;padding:28px;overflow:hidden}
.hero-face-front{align-items:center;background:var(--surface)}
.hero-face-front img{width:100%;height:auto;max-height:335px;object-fit:contain;filter:drop-shadow(0 10px 12px #282a2418)}
.hero-face-back{transform:rotateY(180deg);background:#d9bd78;color:#292b24;justify-content:flex-start;padding:34px}
.hero-card-theme{font-size:12px;line-height:1.6;max-height:60px;overflow:hidden}
.hero-card-year{font:clamp(64px,7vw,100px)/1.1 Fraunces,Georgia,serif;letter-spacing:-.06em;margin:28px 0 20px}
.hero-card-title{font:500 19px/1.5 DM,system-ui,sans-serif}
.hero-flip-hint{margin-top:auto;padding-top:18px;font:13px/1.4 DM,system-ui,sans-serif;opacity:.8}
.hero-card-fan{position:absolute;width:min(100%,390px);height:430px;pointer-events:none;transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform .35s ease;z-index:0}
.fan-sheet{position:absolute;inset:0;border:1px solid #8e815c70;border-radius:22px;box-shadow:0 18px 30px #17211512}
.fan-sheet-one{background:#c9d9c2;transform:translate3d(-26px,4px,-45px) rotateZ(-14deg)}
.fan-sheet-two{background:#ded1b2;transform:translate3d(27px,11px,-80px) rotateZ(9deg)}
.hero-scene .floating-date{z-index:3;pointer-events:none;right:0;bottom:2%}
.motion-visible .hero-flip,.motion-visible .device-float{animation-play-state:running}
[data-device-demo]:not(.motion-visible) .device-float,.motion-paused .hero-flip,.motion-paused .device-float,.motion-paused .scene{animation-play-state:paused!important}
.journey-stage{perspective:1400px}.is-animated .journey-deck{transform-style:preserve-3d;perspective:1400px}.is-animated .journey-card{backface-visibility:hidden;transform-origin:50% 90%}
.calendar-journey.is-carousel{height:auto;min-height:0}.is-carousel .journey-pin{height:auto;min-height:0;position:relative;padding-block:70px;overflow:visible}.calendar-journey.is-carousel .journey-deck{display:grid;overflow:visible;scroll-snap-type:none}.is-carousel .journey-card{grid-area:1/1;min-width:0!important;transform:none!important}.is-carousel .journey-card[hidden]{display:none}
.journey-buttons{display:flex;gap:12px;margin:20px 0}.journey-buttons[hidden]{display:none}.journey-buttons button{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;padding:0;font:30px/1 system-ui,sans-serif;background:var(--surface);border-color:var(--ink)}
@keyframes hero-card-float{0%,100%{translate:0 0}50%{translate:0 -12px}}
@media(max-width:760px){.hero-scene{min-height:430px;max-height:none;margin:30px 5px 15px}.hero-flip,.hero-card-fan{width:min(85%,310px);height:350px}.hero-face{padding:22px}.hero-face-back{padding:25px}.hero-card-year{font-size:72px;margin:18px 0 12px}.hero-card-title{font-size:16px;line-height:1.5}.hero-card-theme{font-size:11px}.hero-flip-hint{font-size:12px}.fan-sheet-one{transform:translate3d(-15px,4px,-40px) rotateZ(-10deg)}.fan-sheet-two{transform:translate3d(15px,8px,-70px) rotateZ(7deg)}.is-carousel .journey-pin{padding-block:35px}.is-carousel .journey-progress{display:none}.hero-scene .floating-date{right:1%;bottom:0}}
@media(hover:none){.hero-flip{animation:none;transform:rotateZ(-4deg)}.hero-card-fan{transform:none}}
@media(prefers-reduced-motion:reduce){.hero-flip,.hero-card-fan{animation:none!important;transform:none;transition:none}.hero-flip-inner{transition:none}.device-float{animation:none!important}}

.motion-toggle{display:block;margin:-15px 0 35px auto;padding:6px 0;border:0;text-decoration:underline;text-underline-offset:4px;font-size:13px;color:var(--muted)}.user-motion-paused .hero-flip,.user-motion-paused .device-float,.user-motion-paused .scene{animation:none!important}.user-motion-paused .hero-flip-inner,.user-motion-paused .device-motion{transition:none!important}.user-motion-paused .device-motion{transform:none!important}
