/* ==========================================================================
   HD Showcase: animated journey stepper + scene motion (shop, reservations).
   ========================================================================== */

/* ---------- Journey stepper ---------- */
.hds-journey { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hds-journey__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.hds-journey__step { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: var(--hd-ink); font: 400 17px/1.2 var(--hds-font); text-align: left; cursor: pointer; overflow: hidden; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.hds-journey__step:hover { background: #fff; border-color: var(--hd-line); }
.hds-journey__num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hd-line); color: var(--hd-blue); font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s, box-shadow .3s; }
.hds-journey__step.is-on { background: #fff; border-color: var(--hd-line); box-shadow: 0 14px 30px -20px rgba(0, 27, 68, .45); color: var(--hd-navy); font-weight: 500; }
.hds-journey__step.is-on .hds-journey__num { background: var(--hd-coral); color: #fff; box-shadow: 0 0 0 4px rgba(255, 107, 74, .18); }
.hds-journey__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--hd-coral); }
.hds-journey.is-playing .hds-journey__step.is-on .hds-journey__bar { animation: hdsJourneyBar var(--dur, 6s) linear forwards; }
.hds-journey__stage { position: relative; }
.hds-journey__scene { margin: 0; }
.hds-journey__scene .hds-art__svg { aspect-ratio: 4 / 3; border-radius: 28px; box-shadow: 0 30px 60px -34px rgba(0, 27, 68, .55); }
.hds-journey__scene figcaption { max-width: 560px; margin-top: 20px; }
.hds-journey__scene h3 { margin: 0 0 6px; font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--hds-font); color: var(--hd-navy); }
.hds-journey__scene p { margin: 0; }
.hds-journey__scene.is-on { animation: hdsFadeUp .5s var(--hds-ease); }
@keyframes hdsJourneyBar { to { width: 100%; } }
@keyframes hdsFadeUp { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 860px) {
	.hds-journey { grid-template-columns: 1fr; }
	.hds-journey__steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--hds-gutter)); padding: 4px var(--hds-gutter) 8px; }
	.hds-journey__steps::-webkit-scrollbar { display: none; }
	.hds-journey__steps li { flex: none; }
	.hds-journey__step { padding: 8px 14px 8px 8px; font-size: 15px; }
	.hds-journey__num { width: 28px; height: 28px; }
}

/* Scene motion (journey). Shared classes such as a-swing live in showcase.css. */
@media (prefers-reduced-motion: no-preference) {
	.hds-art .a-rise-in { animation: hdsRiseIn .6s var(--hds-ease) both; }
	.hds-art .a-ripple { animation: hdsRipple 2.6s ease-out infinite 1s; opacity: 0; transform-origin: 50% 50%; }
	.hds-art .a-heart { animation: hdsHeart 2.6s ease-out infinite 1s; opacity: 0; transform-origin: 50% 100%; }
	.hds-art .a-tap { animation: hdsTap 2.6s var(--hds-ease) infinite; transform-origin: 50% 0; }
	.hds-art .a-sizes { animation: hdsSizes 7.5s var(--hds-ease) infinite; transform-origin: 50% 100%; }
	.hds-art .a-size-lbl { animation: hdsLbl 7.5s linear infinite; opacity: 0; }
	.hds-art .a-size-lbl2 { animation-delay: 2.5s; }
	.hds-art .a-size-lbl3 { animation-delay: 5s; }
	.hds-art .a-press { animation: hdsPress 4s ease-in-out infinite; transform-origin: 50% 50%; }
	.hds-art .a-badge { animation: hdsBadge 4s var(--hds-ease) infinite; transform-origin: 50% 50%; }
	.hds-art .a-check { stroke-dasharray: 1; animation: hdsCheck 4s ease-out infinite; }
	.hds-art .a-confetti { animation: hdsConfetti 4s ease-out infinite; opacity: 0; }
	.hds-art .a-roll { animation: hdsRoll 5s var(--hds-ease) infinite; transform-origin: 50% 100%; }
	.hds-art .a-tube { animation: hdsTube 5s var(--hds-ease) infinite; }
	.hds-art .a-label { animation: hdsLabel 5s ease-out infinite; }
	.hds-art .a-stamp { animation: hdsStamp 5s ease-out infinite; transform-origin: 50% 50%; }
	.hds-art .a-toast { animation: hdsToast 6s var(--hds-ease) infinite; opacity: 0; }
	.hds-art .a-toast2 { animation-delay: 1.4s; }
	.hds-art .a-toast3 { animation-delay: 2.8s; }
}
@media (prefers-reduced-motion: reduce) {
	.hds-art .a-ripple, .hds-art .a-confetti { display: none; }
	.hds-art .a-size-lbl1, .hds-art .a-toast { opacity: 1; }
	.hds-art .a-heart { opacity: 1; }
}
@keyframes hdsRiseIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes hdsRipple { 0% { opacity: .9; transform: scale(.4); } 70%, 100% { opacity: 0; transform: scale(2); } }
@keyframes hdsHeart { 0%, 10% { opacity: 0; transform: scale(0); } 22% { opacity: 1; transform: scale(1.25); } 32% { transform: scale(1); } 70% { opacity: 1; transform: translateY(-14px); } 100% { opacity: 0; transform: translateY(-26px); } }
@keyframes hdsTap { 0% { transform: translate(34px, 70px); } 30% { transform: translate(0, 0); } 38% { transform: translate(0, 0) scale(.94); } 46% { transform: translate(0, 0); } 70%, 100% { transform: translate(34px, 70px); } }
@keyframes hdsSizes { 0%, 26% { transform: scale(.58); } 33%, 60% { transform: scale(.8); } 67%, 93% { transform: scale(1); } 100% { transform: scale(.58); } }
@keyframes hdsLbl { 0% { opacity: 0; } 3%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes hdsPress { 0%, 22% { transform: none; } 27% { transform: scale(.95); } 32%, 100% { transform: none; } }
@keyframes hdsBadge { 0%, 30% { transform: scale(0); } 40% { transform: scale(1.15); } 46%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes hdsCheck { 0%, 40% { stroke-dashoffset: 1; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes hdsConfetti { 0%, 40% { opacity: 0; transform: none; } 46% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(-30px) scale(.6); } }
@keyframes hdsRoll { 0% { opacity: 0; transform: translateX(-60px); } 12%, 34% { opacity: 1; transform: none; } 50% { opacity: 0; transform: scaleY(.25) translateY(120px); } 100% { opacity: 0; } }
@keyframes hdsTube { 0%, 42% { opacity: 0; transform: translateX(120px); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hdsLabel { 0%, 50% { transform: translateY(-58px); opacity: 0; } 52% { opacity: 1; } 72%, 100% { transform: none; opacity: 1; } }
@keyframes hdsStamp { 0%, 74% { opacity: 0; transform: scale(2.2) rotate(-8deg); } 80% { opacity: 1; transform: scale(1) rotate(-8deg); } 95% { opacity: 1; transform: scale(1) rotate(-8deg); } 100% { opacity: 0; transform: scale(1) rotate(-8deg); } }
@keyframes hdsToast { 0% { opacity: 0; transform: translateX(30px); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }


/* ---------- Landing: explorer art (shared) ---------- */
.hds-mock { position: relative; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--hd-line), 0 20px 40px -28px rgba(0, 27, 68, .5); font-size: 14px; }
.hds-mock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hd-line); }
.hds-mock__row:last-child { border-bottom: 0; }
.hds-mock__row b { font-weight: 500; color: var(--hd-navy); }
.hds-mock__tag { padding: 2px 9px; border-radius: 999px; background: #e0f3f2; color: var(--hd-teal); font-size: 12px; font-weight: 500; }
.hds-mock__tag--coral { background: #fff0ea; color: var(--hd-ember); }
.hds-mock__bar { height: 8px; border-radius: 999px; background: var(--hd-mist); overflow: hidden; }
.hds-mock__bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--hd-blue), var(--hd-aqua)); }
.hds-mock__code { display: inline-flex; align-items: center; min-width: 150px; padding: 8px 12px; border: 1px dashed var(--hd-blue); border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: var(--hd-navy); }
.hds-mock__was { text-decoration: line-through; color: var(--hd-slate); }
.hds-mock__now { font-size: 20px; font-weight: 600; color: var(--hd-ember); }
.hds-mock__bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 10px; }
.hds-mock__bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--hd-sky), var(--hd-blue)); height: var(--h); transform-origin: 50% 100%; }
.hds-mock__note { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--hd-mist); }
.hds-mock__note svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: var(--hd-coral); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hds-mock__note small { display: block; color: var(--hd-slate); }
@media (prefers-reduced-motion: no-preference) {
	.hds-explorer__panel:not([hidden]) .hds-mock__bar i { animation: hdsBarFill 2.4s var(--hds-ease) both; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i { animation: hdsGrow 1.2s var(--hds-ease) both; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i:nth-child(2) { animation-delay: .08s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i:nth-child(3) { animation-delay: .16s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i:nth-child(4) { animation-delay: .24s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i:nth-child(5) { animation-delay: .32s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i:nth-child(6) { animation-delay: .4s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__bars i:nth-child(7) { animation-delay: .48s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__note { animation: hdsFadeUp .6s var(--hds-ease) both; }
	.hds-explorer__panel:not([hidden]) .hds-mock__note + .hds-mock__note { animation-delay: .5s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__note + .hds-mock__note + .hds-mock__note { animation-delay: 1s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__now { animation: hdsPop .6s var(--hds-ease) both 1.2s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__was { animation: hdsFadeUp .4s both .8s; }
	.hds-explorer__panel:not([hidden]) .hds-mock__typed { display: inline-block; overflow: hidden; white-space: nowrap; animation: hdsTyped 1s steps(8) both .2s; }
}
@keyframes hdsBarFill { from { width: 0; } }
@keyframes hdsGrow { from { transform: scaleY(0); } }
@keyframes hdsTyped { from { width: 0; } to { width: 8.6ch; } }

