/* North Jersey Avalanche — "Full Sheet"
   The store is a night rink: arena lights over a gold name that comes down like an avalanche,
   a locker room for fits, then one top-down sheet of ice with the catalog painted into zones. */

:root {
  --midnight: #040a26;
  --night: #07113a;
  --navy: #0d1d52;
  --navy-2: #172c6e;
  --gold: #fdbe01;
  --gold-2: #ffd34d;
  --gold-deep: #b98700;
  --gold-ink: #845d00;
  --ice: #f4f8fc;
  --ice-2: #e8f0f8;
  --ice-3: #d6e3f0;
  --line: #c9d8e8;
  --ink: #07123a;
  --ink-2: #33406a;
  --muted: #5d6a8e;
  --lamp: #ff3d2e;
  --white: #fff;
  --danger: #c4231a;
  --ok: #1f7a4a;
  --display: 'Anybody', 'Arial Narrow', Impact, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --led: 'Doto', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --rink-m: clamp(8px, 2.6vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.3, 1.5, .5, 1);
  --hdr: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; background: var(--midnight); color: #fff; font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.rink :focus-visible, .dialog :focus-visible, .drawer :focus-visible { outline-color: var(--navy-2); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 12px 16px; font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- ticker (dot-matrix board) ---------- */
.ticker {
  height: 34px; overflow: hidden; position: relative; background-color: #02051a;
  background-image: radial-gradient(rgba(253, 190, 1, .07) 1px, transparent 1.3px); background-size: 5px 5px;
  border-bottom: 1px solid rgba(253, 190, 1, .18); display: flex; align-items: center;
}
.ticker-track { display: flex; width: max-content; will-change: transform; animation: tick 46s linear infinite; }
.ticker.paused .ticker-track, .calm .ticker-track { animation-play-state: paused; }
.ticker span { font: 800 14px/1 var(--led); letter-spacing: .12em; color: var(--gold); white-space: nowrap; padding-right: 2.4em; text-transform: uppercase; }
.ticker b { color: #fff; font-weight: 800; }
.ticker i { font-style: normal; color: rgba(255, 255, 255, .45); padding: 0 .9em; }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr); display: flex; align-items: center; gap: 18px;
  padding: 0 var(--gutter); background: var(--midnight); border-bottom: 1px solid rgba(255, 255, 255, .07); overflow-x: clip;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; min-height: 44px; }
.brand img { height: 42px; width: auto; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-word strong { font: italic 900 25px/1 var(--display); font-stretch: 66%; letter-spacing: .01em; color: var(--gold); text-transform: uppercase; }
.brand-word small { font: 800 10.5px/1 var(--led); letter-spacing: .14em; color: rgba(255, 255, 255, .7); margin-top: 5px; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav button {
  height: 44px; padding: 0 14px; font: italic 800 15px/1 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: .03em;
  color: rgba(255, 255, 255, .82); border-radius: 6px; position: relative;
}
.nav button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav button:hover { color: #fff; }
.nav button:hover::after, .nav button[aria-current="true"]::after { transform: scaleX(1); }
.hdr-end { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: #fff; }
.icon-btn:hover { background: rgba(255, 255, 255, .07); }
.icon-btn svg { width: 22px; height: 22px; }
.shop-btn { display: none; height: 44px; padding: 0 12px; font: italic 800 15px/1 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: .03em; }

.bag-btn { position: relative; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 12px; border-radius: 10px; }
.bag-btn:hover { background: rgba(255, 255, 255, .07); }
.bag-btn svg { width: 22px; height: 22px; }
.score {
  font: 900 17px/1 var(--led); color: var(--gold); background: #01030f; border: 1px solid rgba(253, 190, 1, .35);
  padding: 5px 6px 4px; border-radius: 5px; min-width: 38px; text-align: center; letter-spacing: .05em; display: inline-block;
}
.score.bump { animation: bump .5s var(--ease-snap); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }
/* the goal lamp */
.lamp { position: absolute; left: 50%; top: -3px; width: 30px; height: 30px; margin-left: -12px; pointer-events: none; opacity: 0; }
.lamp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 60, .95) 0 26%, rgba(255, 61, 46, .45) 42%, transparent 70%); }
.lamp i { position: absolute; left: 50%; top: 50%; width: 120px; height: 10px; margin: -5px 0 0 -60px; background: linear-gradient(90deg, transparent, rgba(255, 70, 50, .55) 30%, transparent 50%, rgba(255, 70, 50, .55) 70%, transparent); border-radius: 50%; }
.lamp.on { animation: lamp 1.7s ease-out; }
.lamp.on i { animation: beam 1.7s linear; }
@keyframes lamp { 0% { opacity: 0; } 8% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes beam { from { transform: rotate(0deg); } to { transform: rotate(900deg); } }

/* ---------- buttons ---------- */
.btn {
  --cut: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px;
  font: italic 900 17px/1 var(--display); font-stretch: 74%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .2s var(--ease-out), background-color .2s; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { background: #16214f; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.btn-line:hover { background: #1f2c63; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy-2); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.loading { pointer-events: none; opacity: .7; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: italic 800 15px/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; min-height: 44px; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- hero: the arena ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(30px, 5vw, 64px) var(--gutter) clamp(44px, 5vw, 84px); overflow: hidden; }
.hero-lights { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% -8%, rgba(210, 225, 255, .26), transparent 70%),
    radial-gradient(38% 40% at 14% 0%, rgba(253, 190, 1, .1), transparent 70%),
    radial-gradient(38% 40% at 86% 0%, rgba(160, 190, 255, .12), transparent 70%),
    linear-gradient(180deg, #0a1847 0%, var(--midnight) 72%);
}
.snow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s; }
.snow.on { opacity: 1; }
.snow i {
  position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o);
  will-change: transform; animation: fall var(--d) linear var(--dl) infinite;
}
.hero.paused .snow i, .calm .snow i { animation-play-state: paused; }
@keyframes fall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--sw), var(--fall, 900px), 0); } }

.hero-inner { position: relative; max-width: 1440px; margin: 0 auto; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 clamp(8px, 1.4vw, 18px); }
.hero-kicker span { white-space: nowrap; font: 800 clamp(12px, 1.1vw, 15px)/1.35 var(--led); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.hero-kicker span b { color: var(--gold); font-weight: 900; }
.hero-kicker i { width: 34px; height: 2px; background: var(--gold); display: inline-block; }

.hero-word {
  margin: 0; font: italic 900 var(--word-size, 16vw)/.86 var(--display); position: relative; z-index: 1; font-stretch: 64%; letter-spacing: -.005em;
  text-transform: uppercase; white-space: nowrap; color: var(--gold); position: relative; display: block;
  padding-right: .06em; opacity: 0;
}
.fonts-ready .hero-word, .no-intro .hero-word { opacity: 1; }
.hero-word .ltr { display: inline-block; position: relative; color: var(--gold); text-shadow: .014em .014em 0 #c48a00, .034em .034em 0 #01041a, .05em .05em 0 #01041a; }
.intro .hero-word .ltr { opacity: 0; }
.intro.play .hero-word .ltr {
  animation: tumble .95s cubic-bezier(.25, .55, .25, 1) both; animation-delay: calc(.12s + var(--i) * .075s);
}
@keyframes tumble {
  0% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(.9); }
  10% { opacity: 1; }
  60% { transform: translate(0, 0) rotate(0deg) scale(1); }
  72% { transform: translate(0, -6%) rotate(calc(var(--sr) * -.012)); }
  84% { transform: translate(0, 0) rotate(0deg); }
  92% { transform: translate(0, -1.5%); }
  100% { opacity: 1; transform: none; }
}
.hero-word.jolt { animation: jolt .38s ease-out; }
@keyframes jolt { 0% { transform: translateX(0); } 25% { transform: translateX(-6px); } 55% { transform: translateX(3px); } 100% { transform: translateX(0); } }

.carve { display: block; width: min(100%, 56%); height: clamp(18px, 2.4vw, 34px); margin-top: clamp(-8px, -.6vw, -2px); overflow: visible; }
.carve path { fill: none; stroke-linecap: round; }
.carve .c1 { stroke: url(#carve-ice); stroke-width: 2.4; }
.carve .c2 { stroke: url(#carve-gold); stroke-width: 1.3; }
.intro .carve path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro.carved .carve path { transition: stroke-dashoffset .42s cubic-bezier(.6, 0, .4, 1); stroke-dashoffset: 0; }
.intro.carved .carve .c2 { transition-delay: .06s; }

.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(16px, 2.2vw, 34px); }
.hero-copy p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 32em; margin: 0 0 26px; }
.hero-copy p strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.intro .rise { opacity: 0; transform: translateY(18px); }
.intro.landed .rise { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) var(--rd, 0s), transform .7s var(--ease-out) var(--rd, 0s); }

/* trading cards */
.cards { position: relative; z-index: 2; height: clamp(300px, 28vw, 390px); display: flex; justify-content: center; align-items: center; margin-top: calc(var(--word-size, 200px) * -.46); }
.tcard {
  --rot: 0deg; --tx: 0px; --ty: 0px;
  position: absolute; width: clamp(190px, 17vw, 248px); aspect-ratio: 5 / 7; transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
  transition: transform .45s var(--ease-out); text-align: left;
}
.tcard:nth-child(1) { --rot: -10deg; --tx: -58%; --ty: 16px; z-index: 1; }
.tcard:nth-child(2) { --rot: 1.5deg; --tx: 0px; --ty: -8px; z-index: 3; }
.tcard:nth-child(3) { --rot: 11deg; --tx: 58%; --ty: 20px; z-index: 2; }
.cards:hover .tcard:nth-child(1) { --tx: -74%; --rot: -13deg; }
.cards:hover .tcard:nth-child(3) { --tx: 74%; --rot: 14deg; }
.tcard:hover, .tcard:focus-visible { --ty: -26px !important; --rot: 0deg !important; z-index: 5; }
.tcard-frame {
  position: absolute; inset: 0; border-radius: 14px; padding: 9px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #1c3380 0%, var(--navy) 45%, #050d33 100%);
  box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 5px #050d33, inset 0 0 0 6px rgba(253, 190, 1, .45), 0 24px 40px rgba(0, 0, 0, .45);
}
.tcard-top { display: flex; align-items: center; justify-content: space-between; padding: 3px 5px 7px; }
.tcard-top em { font: 900 12px/1 var(--led); letter-spacing: .14em; color: var(--gold); font-style: normal; text-transform: uppercase; }
.tcard-top b { font: italic 900 20px/1 var(--display); font-stretch: 70%; color: rgba(255, 255, 255, .92); }
.tcard-photo { flex: 1; min-height: 0; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 88%, 86% 100%, 0 100%); position: relative; display: grid; place-items: center; }
.tcard-photo img { width: 94%; height: 94%; object-fit: contain; }
.tcard-band { position: absolute; left: -2px; bottom: 16%; background: var(--gold); color: var(--ink); font: italic 900 11px/1 var(--display); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px 5px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.tcard-name { flex: none; font: italic 900 clamp(17px, 1.5vw, 21px)/1.02 var(--display); font-stretch: 72%; text-transform: uppercase; color: #fff; margin: 9px 5px 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard-foot { flex: none; display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 0 5px 3px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.tcard-foot strong { font: italic 900 18px/1 var(--display); font-stretch: 80%; color: var(--gold); }
.intro .tcard { opacity: 0; transform: translate(var(--tx), calc(var(--ty) + 140px)) rotate(calc(var(--rot) * 2.4)); }
.intro.landed .tcard { opacity: 1; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); transition: transform .8s var(--ease-out) var(--cd, 0s), opacity .4s var(--cd, 0s); }

.fx { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 4; }

/* ---------- locker room ---------- */
.lockers { position: relative; padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 88px); background:
  linear-gradient(180deg, var(--midnight) 0%, #030718 100%); }
.lockers::after { /* rubber floor */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px), linear-gradient(180deg, transparent, rgba(0, 0, 0, .35));
}
.lockers-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kicker { font: 800 13px/1.2 var(--led); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.h2 { font: italic 900 clamp(44px, 6.4vw, 92px)/.9 var(--display); font-stretch: 66%; text-transform: uppercase; margin: 0; letter-spacing: -.005em; }
.lede { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 26em; margin: 14px 0 0; }
.stalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: end; }
.stall { position: relative; display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 26px); text-decoration: none; min-width: 0; }
.stall-tag { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.tape {
  display: inline-block; background: #f7f7f2; color: var(--ink); font: italic 900 clamp(12px, 1.35vw, 18px)/1 var(--display); font-stretch: 72%;
  letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px 7px; text-align: center; max-width: 100%;
  clip-path: polygon(0 6%, 3% 0, 97% 4%, 100% 0, 98% 50%, 100% 100%, 96% 94%, 4% 100%, 0 96%, 2% 50%);
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 5px);
}
.stall-tag .count { font: 800 11px/1 var(--led); letter-spacing: .14em; color: rgba(255, 255, 255, .62); text-transform: uppercase; white-space: nowrap; }
.stall-box {
  position: relative; display: block; aspect-ratio: 5 / 7.4; perspective: 1500px; perspective-origin: 50% 50%; border-radius: 8px;
  background: #01030d; box-shadow: inset 0 0 0 2px #1a2657, 0 30px 50px rgba(0, 0, 0, .45);
}
.stall-inside {
  position: absolute; inset: 8px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px 8px 10px 31%;
  background: radial-gradient(90% 60% at 62% 30%, rgba(160, 190, 255, .16), transparent 70%), linear-gradient(180deg, #0c1233, #060a22);
}
.stall-hook { width: 42%; height: 8px; border-radius: 4px; background: #3a4570; }
.stall-plate { width: 100%; aspect-ratio: 1; background: #fff; border-radius: 6px; display: grid; place-items: center; clip-path: inset(0 round 6px); transition: transform .5s var(--ease-out); }
.stall-plate img { width: 92%; height: 92%; object-fit: contain; }
.stall-go { font: italic 900 14px/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.stall-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.door {
  --open: -68deg;
  position: absolute; inset: 0; border-radius: 8px; transform-origin: 0 50%; transform: rotateY(var(--open)); transition: transform .7s var(--ease-out);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .07), transparent 12%, transparent 88%, rgba(0, 0, 0, .3)),
    linear-gradient(180deg, #1f3a8c 0%, #142a6c 45%, #0c1d55 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), inset 0 0 0 5px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; align-items: center; padding: 14% 10% 12%; backface-visibility: hidden;
}
.vents { width: 64%; height: 17%; background: repeating-linear-gradient(180deg, #06103a 0 5px, transparent 5px 11px); border-radius: 3px; opacity: .8; }
.vents.low { margin-top: auto; }
.door-no { margin-top: 16%; font: 900 clamp(15px, 1.6vw, 22px)/1 var(--led); letter-spacing: .08em; color: rgba(253, 190, 1, .85); padding: 6px 8px 5px; border-radius: 4px; background: rgba(1, 3, 15, .55); box-shadow: inset 0 0 0 1px rgba(253, 190, 1, .3); }
.handle { position: absolute; right: 12%; top: 50%; width: 7px; height: 16%; border-radius: 4px; background: linear-gradient(90deg, #9aa6c8, #e6ebf8 50%, #8c98bb); }
.stall:hover .door, .stall:focus-visible .door { --open: -80deg; }
.stall:hover .stall-plate, .stall:focus-visible .stall-plate { transform: scale(1.04); }
.stall:hover .stall-go svg, .stall:focus-visible .stall-go svg { transform: translateX(4px); }
.stall:hover .tape, .stall:focus-visible .tape { background-color: var(--gold); }
.stall:focus-visible { outline-offset: 6px; }
/* The doors swing open, one after another, the first time the room scrolls into view. */
.js .lockers:not(.in) .door { transform: rotateY(0deg); }
.js .lockers.in .door { animation: swing 1.3s cubic-bezier(.3, 1.3, .45, 1) calc(.15s + var(--k, 0) * .16s) backwards; }
@keyframes swing { from { transform: rotateY(0deg); } }

/* ---------- the rink ---------- */
.rink {
  position: relative; margin: 0 var(--rink-m); color: var(--ink); background-color: var(--ice);
  border-radius: clamp(90px, 15vw, 230px) clamp(90px, 15vw, 230px) clamp(70px, 11vw, 170px) clamp(70px, 11vw, 170px);
  box-shadow: 0 0 0 4px var(--gold), 0 0 0 9px #f9fbff, 0 40px 90px rgba(0, 0, 0, .55);
  padding: clamp(56px, 8vw, 128px) 0 clamp(40px, 6vw, 90px);
  isolation: isolate; z-index: 1;
}
.rink.shopping { padding-top: clamp(48px, 6vw, 88px); }
.rink::before { /* ice: glossy center, soft edges and skate scratches */
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -2; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #f7fafd, #e9f1f8 60%, #eef4fa);
}
.rink-scratch { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background-size: 900px 700px; opacity: .55; }
.rink-view[hidden] { display: none; }

/* faceoff (crest switch) */
.faceoff { position: relative; text-align: center; padding: 0 var(--gutter) clamp(48px, 6vw, 88px); }
.faceoff .kicker, .goal .kicker, .zone-kick { color: var(--gold-ink); }
.faceoff .h2 { color: var(--ink); }
.faceoff .lede { color: var(--muted); margin: 14px auto 0; }
.circle { position: relative; width: min(100%, 760px); margin: clamp(28px, 3.4vw, 48px) auto 0; aspect-ratio: 2.3 / 1; }
.circle svg.ring { position: absolute; left: 50%; top: 50%; width: 43.5%; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.crest-btn {
  position: absolute; top: 50%; width: 31%; aspect-ratio: 1; border-radius: 50%; background: #fff;
  transform: translateY(-50%) scale(var(--sc, 1)); transition: transform .5s var(--ease-snap), opacity .3s, box-shadow .3s; opacity: var(--op, 1);
  box-shadow: 0 0 0 4px var(--ice), 0 0 0 6px rgba(13, 29, 82, .18), 0 14px 30px rgba(7, 18, 58, .1);
}
.crest-btn img { position: absolute; left: -13%; top: -13%; width: 126%; height: 126%; max-width: none; object-fit: contain; clip-path: circle(39.2%); }
.crest-btn .crest-name { position: absolute; left: 50%; top: calc(100% + 16px); transform: translateX(-50%); font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.crest-btn.left { left: 0; }
.crest-btn.right { right: 0; }
.circle.picked .crest-btn { --op: .5; --sc: .92; }
.circle.picked .crest-btn[aria-pressed="true"] { --op: 1; --sc: 1.04; box-shadow: 0 0 0 4px var(--ice), 0 0 0 8px var(--gold), 0 20px 40px rgba(7, 18, 58, .18); }
.circle.picked .crest-btn:hover { --op: .85; }
.crest-btn:hover { --sc: 1.03; }
.both-btn {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; font: italic 900 15px/1 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: .06em; color: var(--ink);
  background: var(--gold); box-shadow: 0 0 0 5px var(--ice), 0 0 0 7px var(--gold); transition: transform .4s var(--ease-snap), background-color .2s;
}
.both-btn[aria-pressed="true"] { transform: translate(-50%, -50%) scale(1.06); }
.both-btn[aria-pressed="false"] { background: #fff; color: var(--ink-2); box-shadow: 0 0 0 5px var(--ice), 0 0 0 7px rgba(13, 29, 82, .3); }
.puck {
  position: absolute; left: 50%; top: calc(100% + 34px); width: 58px; height: 22px; margin-left: -29px; border-radius: 50%;
  background: radial-gradient(60% 70% at 50% 30%, #3a3f52, #07080d 70%); box-shadow: 0 5px 0 #000, 0 10px 16px rgba(7, 18, 58, .28);
  transform: translateX(var(--px, 0px)); transition: transform .65s cubic-bezier(.2, 1.25, .35, 1);
}
.crest-note { margin-top: 74px; font: 800 13px/1.3 var(--led); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-height: 1.3em; }

/* painted lines */
.paint { position: relative; height: clamp(14px, 1.6vw, 22px); margin: 0; transform-origin: 50% 50%; }
.paint.blue { background: var(--navy); }
.paint.gold { background: var(--gold); }
.center-block { position: relative; height: clamp(230px, 28vw, 400px); display: grid; align-items: center; }
.center-block .paint { position: absolute; left: 0; right: 0; top: 50%; margin-top: calc(clamp(14px, 1.6vw, 22px) / -2); }
.js .paint.pre { transform: scaleX(0); }
.js .paint.in { transform: scaleX(1); transition: transform 1.1s var(--ease-out); }
.center-ice { position: absolute; left: 50%; top: 50%; width: clamp(210px, 27vw, 380px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; border-radius: 50%; box-shadow: inset 0 0 0 clamp(3px, .4vw, 5px) rgba(13, 29, 82, .2); display: grid; place-items: center; }
.center-ice img { width: 74%; height: auto; opacity: .2; filter: blur(.5px) saturate(.8); }
.center-ice::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--navy); opacity: .5; }
.zone { position: relative; padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(56px, 7vw, 110px); }
.zone-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 28px; margin-bottom: clamp(26px, 3vw, 44px); }
.zone-under { position: absolute; left: 0; right: -1%; top: 50%; transform: translateY(-54%); overflow: hidden; pointer-events: none; z-index: -1; height: 1.12em; text-align: right;
  font: italic 900 min(19vw, 290px, calc(60vw / (var(--len, 8) * .46)))/1 var(--display); font-stretch: 58%; text-transform: uppercase; }
.zone-under span { display: block; white-space: nowrap; color: rgba(13, 29, 82, .06); filter: blur(1px); letter-spacing: .01em; padding-right: .06em; }
.zone-title { min-width: 0; }
.zone-kick { font: 900 14px/1.2 var(--led); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.zone-kick i { width: 28px; height: 2px; background: currentColor; display: inline-block; }
.zone-title .h2 { color: var(--ink); }
.zone-title p { margin: 8px 0 0; color: var(--muted); font-size: 16px; max-width: 34em; }
.zone-tools { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.gloss { position: absolute; inset: -20px 0; pointer-events: none; overflow: hidden; clip-path: inset(0); }
.gloss::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .95) 45%, rgba(214, 233, 250, .8) 55%, transparent); transform: translateX(-120%) skewX(-12deg); }
.zone.in .gloss::before { transform: translateX(330%) skewX(-12deg); transition: transform 1.3s cubic-bezier(.5, 0, .3, 1); }
.js .zone .reveal { opacity: 0; transform: translateY(26px); }
.js .zone.in .reveal { opacity: 1; transform: none; transition: opacity .6s var(--ease-out) var(--rd, 0s), transform .8s var(--ease-out) var(--rd, 0s); }

/* grid + tiles */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.grid.featured > .tile:first-child { grid-column: span 2; grid-row: span 2; }
.grid.featured > .tile:first-child .plate { aspect-ratio: auto; flex: 1; min-height: 280px; }
.grid.featured > .tile:first-child .tile-name { font-size: clamp(22px, 2vw, 30px); }
.grid.rack { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 1px 0 rgba(7, 18, 58, .04); transition: transform .35s var(--ease-out), box-shadow .35s; min-width: 0; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #b4c7dc, 0 18px 36px rgba(7, 18, 58, .12); }
.tile-hit { display: flex; flex-direction: column; text-align: left; flex: 1; border-radius: 16px; min-width: 0; }
.plate { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 16px 16px 0 0; }
.plate img { width: 90%; height: 90%; object-fit: contain; transition: opacity .25s; }
.plate img.swap { opacity: 0; }
.tile-info { padding: 4px 16px 0; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tile-aud { font: 700 11px/1.1 var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--gold-ink); min-height: 12px; }
.tile-name { font: 800 clamp(17px, 1.35vw, 20px)/1.08 var(--display); font-stretch: 78%; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.tile-brand { font-size: 13px; color: var(--muted); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 14px; margin-top: auto; min-width: 0; min-height: 56px; }
.tile-price { font: italic 900 19px/1 var(--display); font-stretch: 82%; color: var(--ink); white-space: nowrap; }
.carve-under { position: relative; display: block; height: 2px; margin: 10px 16px 0; background: var(--ice-2); overflow: hidden; }
.carve-under::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.tile:hover .carve-under::after, .tile-hit:focus-visible .carve-under::after { transform: scaleX(1); }
.tag {
  position: absolute; top: 12px; left: -6px; z-index: 2; background: #f7f7f2; color: var(--ink); font: italic 900 12px/1 var(--display); font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px 6px 14px; clip-path: polygon(0 0, 100% 4%, 97% 50%, 100% 96%, 0 100%); box-shadow: 0 2px 0 rgba(0, 0, 0, .05);
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 2px, transparent 2px 5px);
}
.tag.gold { background-color: var(--gold); }
.tag.navy { background: var(--navy); color: #fff; }
.tile.soldout .plate img { opacity: .45; }
.twins { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; min-width: 0; }
.twin { position: relative; min-width: 34px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.twin::before { content: ''; position: absolute; inset: -7px -2px; } /* 44px touch height */
.twin img { width: 26px; height: 26px; object-fit: contain; }
.twin.word { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; font: 700 12.5px/1 var(--body); color: var(--ink-2); white-space: nowrap; }
.twin[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--navy); color: var(--ink); background: var(--ice-2); }
.twin:hover { box-shadow: inset 0 0 0 2px var(--navy-2); }

.zone-more { display: flex; justify-content: center; margin-top: clamp(26px, 3vw, 40px); }
.empty-note { grid-column: 1 / -1; padding: 30px; text-align: center; border: 2px dashed var(--line); border-radius: 16px; color: var(--muted); }

/* feature: personalized product */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; margin-bottom: clamp(22px, 3vw, 40px); background: var(--ink); color: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--ink), 0 30px 60px rgba(7, 18, 58, .22); }
.feature-photo { background: #fff; border-radius: 22px 0 0 22px; display: grid; place-items: center; aspect-ratio: 4 / 3.3; }
.feature-photo img { width: 88%; height: 88%; object-fit: contain; }
.feature-copy { padding: clamp(26px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.feature-copy .kicker { margin: 0; }
.feature-copy h3 { font: italic 900 clamp(34px, 4vw, 58px)/.92 var(--display); font-stretch: 66%; text-transform: uppercase; margin: 0; }
.feature-copy p { margin: 0; color: rgba(255, 255, 255, .78); }
.feature-try { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 46px; }
.bagtag {
  position: relative; width: 150px; height: 172px; flex: none; border-radius: 18px; background: linear-gradient(165deg, #ffffff, #e6edf6);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px #fff, 0 18px 30px rgba(0, 0, 0, .35); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 12px 16px; transform: rotate(-4deg);
}
.bagtag::before { content: ''; position: absolute; left: 50%; top: 16px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 3px #b7c4d8; }
.bagtag::after { content: ''; position: absolute; left: 50%; bottom: calc(100% - 27px); width: 4px; height: 64px; margin-left: -2px; background: #0b0d14; border-radius: 3px; transform-origin: bottom; transform: rotate(8deg); }
.bagtag label { font: 800 11px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bagtag input { width: 100%; height: 78px; border: 0; border-bottom: 2px dashed rgba(7, 18, 58, .2); background: transparent; color: var(--ink); font: italic 900 72px/1 var(--display); font-stretch: 70%; text-align: center; padding: 0; border-radius: 0; }
.bagtag input::placeholder { color: rgba(7, 18, 58, .22); }
.bagtag input:focus { outline: none; border-bottom-color: var(--gold-deep); }
.bagtag:focus-within { box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px #fff, 0 0 0 4px rgba(253, 190, 1, .5), 0 18px 30px rgba(0, 0, 0, .35); }
.bagtag small { font: 800 10px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.bagtag.pop input { animation: bump .45s var(--ease-snap); }
.feature-try .hint { color: rgba(255, 255, 255, .66); margin: 10px 0 0; max-width: 16em; }
.nameplate {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 118px; height: 118px; padding: 10px 14px;
  background: linear-gradient(160deg, #fff, #e8eef6); color: var(--ink); border-radius: 14px; box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(7, 18, 58, .12);
}
.nameplate b { font: italic 900 58px/.9 var(--display); font-stretch: 70%; letter-spacing: -.01em; }
.nameplate small { font: 800 10px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nameplate .nm { font: italic 900 20px/1 var(--display); font-stretch: 72%; text-transform: uppercase; margin-bottom: 4px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nameplate.pop b { animation: bump .45s var(--ease-snap); }

/* goal end */
.goal { position: relative; text-align: center; padding: clamp(40px, 5vw, 80px) 0 clamp(10px, 2vw, 30px); }
.goal > :not(.goal-end) { margin-left: var(--gutter); margin-right: var(--gutter); }
.goal-end { position: relative; margin-top: clamp(36px, 5vw, 70px); }
.goal-end::before { content: ''; position: absolute; left: 0; right: 0; top: calc(var(--net-w) * 74 / 240); height: 4px; margin-top: -2px; background: var(--gold); }
.net { position: relative; width: 100%; display: block; }
.net-box { position: relative; width: var(--net-w); margin: 0 auto; }
.net .mesh { transform-box: fill-box; transform-origin: 50% 0; }
/* One shot on goal the first time the end of the sheet scrolls into view. */
.goal-puck {
  position: absolute; left: 50%; top: calc(104 / 162 * 100%); width: 9%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 38% 34%, #4a5068, #0a0b10 62%); box-shadow: 0 3px 6px rgba(7, 18, 58, .35);
  transform: translate(-50%, -50%); opacity: 0;
}
.goal-end.in .goal-puck { opacity: 1; animation: shot 1.05s cubic-bezier(.22, .7, .3, 1) .35s both; }
.goal-flash { position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; margin: -85% 0 0 -85%; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(closest-side, rgba(255, 61, 46, .32), rgba(255, 61, 46, .12) 45%, transparent 72%); }
.goal-end.in .goal-flash { animation: flash 1.6s ease-out 1.05s both; }
.goal-end.in .net .mesh { animation: ripple .7s cubic-bezier(.3, 1.4, .5, 1) 1.02s both; }
@keyframes shot {
  0% { opacity: 0; transform: translate(-50%, -50%) translate(calc(var(--net-w) * -1.45), calc(var(--net-w) * -1.2)) rotate(-200deg); }
  10% { opacity: 1; }
  64% { transform: translate(-50%, -50%) translate(0, 7%) rotate(0deg); }
  76% { transform: translate(-50%, -50%) translate(0, 42%); }
  88% { transform: translate(-50%, -50%) translate(0, -12%); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes ripple { 0% { transform: none; } 30% { transform: scale(1.05, 1.16); } 62% { transform: scale(.99, .96); } 100% { transform: none; } }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 1; } 40% { opacity: .5; } 55% { opacity: 1; } 100% { opacity: 0; } }
.goal-end { --net-w: clamp(220px, 28vw, 380px); }
.goal .h2 { color: var(--ink); }
.goal .lede { color: var(--muted); margin: 14px auto 26px; max-width: 30em; }
.goal-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- shop view ---------- */
.shop-top { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(40px, 5vw, 72px); position: relative; }
.shop-top .h2 { color: var(--gold); }
.shop-top .hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.shop-head { min-width: 0; }
.shop-sub { margin: 12px 0 0; max-width: 30em; color: rgba(255, 255, 255, .76); font-size: 17px; }
.shop-crests { position: relative; flex: none; width: clamp(150px, 20vw, 290px); aspect-ratio: 1.5; margin-bottom: -28px; }
.shop-crests.solo img { width: 100%; height: 100%; object-fit: contain; }
.medal { position: absolute; top: 0; width: 66%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--midnight), 0 0 0 7px var(--gold), 0 24px 40px rgba(0, 0, 0, .45); transition: transform .6s var(--ease-snap), opacity .4s; }
.medal img { position: absolute; left: -13%; top: -13%; width: 126%; height: 126%; max-width: none; object-fit: contain; clip-path: circle(39.2%); }
.m-avalanche { left: 0; z-index: 2; transform: rotate(-6deg); }
.m-blizzard { right: 0; z-index: 1; transform: rotate(7deg) scale(.9); }
.shop-crests[data-crest="blizzard"] .m-blizzard { z-index: 3; transform: rotate(4deg) scale(1.04); }
.shop-crests[data-crest="blizzard"] .m-avalanche { transform: rotate(-8deg) scale(.86); opacity: .55; }
.shop-crests[data-crest="avalanche"] .m-blizzard { opacity: .55; transform: rotate(8deg) scale(.86); }
.shop-crests[data-crest="avalanche"] .m-avalanche { transform: rotate(-4deg) scale(1.04); }
.crumbs { display: flex; gap: 8px; align-items: center; font: 800 12px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .66); margin-bottom: 14px; }
.crumbs button { min-height: 44px; color: rgba(255, 255, 255, .9); text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; letter-spacing: .14em; }
.shop-body { padding: 0 var(--gutter); }
.filters { display: grid; gap: 14px; margin-bottom: 26px; position: relative; z-index: 2; }
.search { position: relative; max-width: 560px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 54px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 0 48px 0 48px; font: 500 17px/1 var(--body); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(23, 44, 110, .12); }
.search .clear { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); border-radius: 10px; }
.search .clear svg { position: static; transform: none; }
[hidden] { display: none !important; }
.chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; max-width: 100%; }
.chiprow::-webkit-scrollbar { display: none; }
.chiprow .lbl { font: 800 11px/44px var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-right: 4px; flex: none; }
.chip { flex: none; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 600 15px/1 var(--body); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.chip sup { font: 800 10px/1 var(--led); color: var(--muted); letter-spacing: .06em; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--navy-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"] sup { color: var(--gold); }
.result-count { font: 800 12px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* ---------- footer ---------- */
.ftr { position: relative; margin-top: clamp(60px, 7vw, 100px); background: #02051a; border-top: 6px solid var(--gold); padding: clamp(40px, 5vw, 72px) var(--gutter) 28px; }
.ftr-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr-brand { display: flex; gap: 14px; align-items: center; align-self: start; }
.ftr-brand img { height: 64px; width: auto; }
.ftr-brand strong { display: block; font: italic 900 28px/.95 var(--display); font-stretch: 66%; text-transform: uppercase; color: var(--gold); }
.ftr-brand span { font: 800 11px/1.4 var(--led); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ftr h4 { font: 800 12px/1 var(--led); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 6px 0 12px; }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; }
.ftr-col a, .ftr-col button { min-height: 36px; display: inline-flex; align-items: center; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 15px; text-align: left; }
.ftr-col a:hover, .ftr-col button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ftr-base { max-width: 1320px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.powered { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .72); font-size: 13px; text-decoration: none; min-height: 44px; }
.powered img { height: 20px; width: auto; }
.ftr-base small { font: 800 11px/1 var(--led); letter-spacing: .14em; color: rgba(255, 255, 255, .5); text-transform: uppercase; }

/* ---------- overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(2, 5, 22, .72); display: none; }
.scrim.open { display: block; }
.dialog {
  position: fixed; z-index: 100; left: 50%; top: 50%; width: min(1120px, calc(100vw - 48px)); height: min(760px, calc(100vh - 48px));
  transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden; background: var(--ice); color: var(--ink); border-radius: 22px;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); overflow: hidden; clip-path: inset(0 round 22px);
  transition: transform .35s var(--ease-out), opacity .25s, visibility 0s .35s;
}
.dialog.open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; transition: transform .45s var(--ease-out), opacity .25s, visibility 0s; }
.close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(7, 18, 58, .12); }
.close svg { width: 20px; height: 20px; }
.gallery { background: #fff; display: flex; flex-direction: column; min-height: 0; position: relative; }
.gallery-main { flex: 1; display: grid; place-items: center; min-height: 0; padding: 24px; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; padding: 0 20px 18px; overflow-x: auto; scrollbar-width: thin; }
.thumbs button { flex: none; width: 60px; height: 60px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; background: #fff; }
.thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--navy); }
.thumbs img { width: 50px; height: 50px; object-fit: contain; }
.detail { overflow-y: auto; padding: 36px 36px 0; display: flex; flex-direction: column; min-height: 0; overscroll-behavior: contain; }
.detail .meta { font: 700 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 50px 10px 0; }
.detail h2 { font: italic 900 clamp(34px, 3.4vw, 48px)/.94 var(--display); font-stretch: 68%; text-transform: uppercase; margin: 0 40px 10px 0; }
.detail .brand-line { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.big-price { font: italic 900 30px/1 var(--display); font-stretch: 82%; margin: 0 0 20px; }
.big-price s { font-size: 20px; color: var(--muted); margin-right: 10px; }
.field { margin: 0 0 20px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 800 12px/1.2 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.field-label em { font: 600 14px/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); font-style: normal; }
.field-label em.warn { color: var(--danger); }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 52px; height: 46px; padding: 0 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 15px/1 var(--body); color: var(--ink); }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--navy-2); }
.opt[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.opt[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.opt.dim { opacity: .55; }
.swatch { width: 46px; height: 46px; border-radius: 50%; padding: 0; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.swatch i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(7, 18, 58, .18); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--navy); }
.swatch[disabled] { opacity: .3; cursor: not-allowed; }
.style-row { display: flex; flex-wrap: wrap; gap: 8px; }
.style-btn { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 5px 14px 5px 5px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; }
.style-btn img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.style-btn span { font: 600 14px/1.2 var(--body); color: var(--ink); }
.style-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2.5px var(--navy); background: var(--ice-2); }
.input { width: 100%; height: 50px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font: 500 16px/1 var(--body); color: var(--ink); }
.input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(23, 44, 110, .12); }
.input.bad { border-color: var(--danger); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.personal { background: #fff; border-radius: 16px; padding: 18px; box-shadow: inset 0 0 0 1.5px var(--line); margin: 0 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.personal .field:last-child { margin-bottom: 0; }
.personal-fields { min-width: 0; }
.personal .nameplate { width: 118px; }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.error { color: var(--danger); font-weight: 600; margin: 0 0 14px; }
.pairs { margin: auto 0 0; padding-top: 18px; }
.pair-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pair-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; transition: box-shadow .2s; }
.pair-card:hover { box-shadow: inset 0 0 0 2px var(--navy-2); }
.pair-card .ph { aspect-ratio: 1; display: grid; place-items: center; }
.pair-card img { width: 90%; height: 90%; object-fit: contain; }
.pair-card .pn { font: 800 13px/1.1 var(--display); font-stretch: 80%; text-transform: uppercase; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair-card .pp { font: italic 900 14px/1 var(--display); font-stretch: 82%; color: var(--ink-2); }
.buybar { position: sticky; bottom: 0; margin: 0 -36px 0; padding: 16px 36px 22px; background: linear-gradient(180deg, rgba(244, 248, 252, 0), var(--ice) 22%); display: flex; gap: 12px; align-items: center; }
.qty { display: flex; align-items: center; height: 54px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; }
.qty button { width: 44px; height: 54px; font-size: 22px; color: var(--ink); }
.qty output { min-width: 26px; text-align: center; font: italic 900 20px/1 var(--display); font-stretch: 80%; }
.buybar .btn { flex: 1; min-width: 0; padding: 0 18px; }
.desc { border-top: 1px solid var(--line); margin: 6px 0 16px; }
.desc summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font: 800 12px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); list-style: none; }
.desc summary::-webkit-details-marker { display: none; }
.desc summary::after { content: '+'; margin-left: auto; font: 700 20px/1 var(--body); }
.desc[open] summary::after { content: '−'; }
.desc div { color: var(--ink-2); font-size: 15px; padding-bottom: 12px; }
.skel { background: linear-gradient(90deg, var(--ice-2), #f3f7fb, var(--ice-2)); border-radius: 12px; }

/* bag drawer */
.drawer {
  position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--ice); color: var(--ink);
  transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; display: flex; flex-direction: column; box-shadow: -30px 0 90px rgba(0, 0, 0, .45);
}
.drawer.open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.drawer-head { background: var(--midnight); color: #fff; padding: 20px 22px; display: flex; align-items: center; gap: 14px; border-bottom: 4px solid var(--gold); }
.drawer-head h2 { font: italic 900 32px/1 var(--display); font-stretch: 66%; text-transform: uppercase; margin: 0; flex: 1; }
.drawer-head .close { position: static; background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.lines { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.bline { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bline.bad { background: rgba(196, 35, 26, .06); }
.bline .ph { width: 76px; height: 76px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.bline .ph img { width: 66px; height: 66px; object-fit: contain; }
.bline h3 { font: 800 16px/1.1 var(--display); font-stretch: 80%; text-transform: uppercase; margin: 2px 0 4px; }
.bline p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.bline .qty { height: 44px; display: inline-flex; }
.bline .qty button { height: 44px; }
.bline-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.bline-end strong { font: italic 900 18px/1 var(--display); font-stretch: 82%; }
.remove { font-size: 13px; color: var(--muted); text-decoration: underline; min-height: 44px; min-width: 44px; }
.bag-foot { padding: 18px 22px 24px; background: #fff; border-top: 1px solid var(--line); }
.bag-sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.bag-sum span { font: 800 12px/1 var(--led); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.bag-sum strong { font: italic 900 30px/1 var(--display); font-stretch: 82%; }
.bag-foot .btn { width: 100%; }
.bag-empty { text-align: center; padding: 60px 10px; }
.bag-empty img { width: 170px; margin: 0 auto 18px; clip-path: circle(46%); }
.bag-empty p { color: var(--muted); margin: 0 0 20px; }

/* toast (scoreboard) */
.toast {
  position: fixed; z-index: 110; right: var(--gutter); top: calc(var(--hdr) + 46px); width: min(390px, calc(100vw - 32px)); background: #02051a; color: #fff;
  border-radius: 14px; box-shadow: 0 0 0 1px rgba(253, 190, 1, .4), 0 24px 60px rgba(0, 0, 0, .5); display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px;
  transform: translateY(-16px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease-out), opacity .25s, visibility 0s .35s;
  background-image: radial-gradient(rgba(253, 190, 1, .06) 1px, transparent 1.3px); background-size: 5px 5px;
}
.toast.show { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease-snap), opacity .2s, visibility 0s; }
.toast .ph { width: 58px; height: 58px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.toast .ph img { width: 50px; height: 50px; object-fit: contain; }
.toast b { display: block; font: 900 13px/1.2 var(--led); letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.toast span { display: block; font-size: 14px; color: rgba(255, 255, 255, .86); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast .btn { height: 44px; padding: 0 16px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav button { padding: 0 10px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.featured > .tile:first-child { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1181px) { .grid > .tile.x4 { display: none; } }
@media (min-width: 721px) and (max-width: 1180px) { .grid > .tile.x3 { display: none; } }
@media (max-width: 1023px) {
  .nav { display: none; }
  .shop-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .hero-row { grid-template-columns: minmax(0, 1fr); }
  .cards { height: clamp(280px, 42vw, 360px); margin-top: 18px; }
  .carve { width: 100%; }
  .lockers-inner { grid-template-columns: minmax(0, 1fr); }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .dialog { left: 0; top: auto; bottom: 0; width: 100%; height: calc(100% - 20px); max-height: none; border-radius: 22px 22px 0 0; clip-path: inset(0 round 22px 22px 0 0); transform: translateY(40px); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; overflow-y: auto; display: block; overscroll-behavior: contain; }
  .dialog.open { transform: none; }
  .gallery-main { position: relative; aspect-ratio: 1 / .86; padding: 0; }
  .gallery-main img { position: absolute; left: 18px; top: 18px; width: calc(100% - 36px); height: calc(100% - 26px); max-width: none; max-height: none; object-fit: contain; }
  .detail { overflow: visible; padding: 22px 20px 0; min-height: auto; }
  .buybar { margin: 0 -20px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--ice); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px rgba(7, 18, 58, .08); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature-photo { border-radius: 22px 22px 0 0; aspect-ratio: 16 / 11; }
}
@media (max-width: 720px) {
  :root { --hdr: 60px; }
  .brand img { height: 36px; }
  .brand-word strong { font-size: 22px; }
  .brand-word small { display: none; }
  .hdr { gap: 8px; }
  .hdr-end { gap: 0; }
  .bag-btn { padding: 0 4px 0 8px; gap: 6px; }
  .score { font-size: 15px; min-width: 32px; padding: 4px 4px 3px; }
  .grid, .grid.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.featured > .tile:first-child { grid-column: span 2; grid-row: auto; }
  .grid.rack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid > .tile.x2 { display: none; }
  .tile-info { padding: 2px 12px 0; }
  .tile-name { font-size: 16px; }
  .tile-brand { font-size: 12px; }
  .tile-foot { padding: 8px 12px 12px; flex-wrap: wrap; }
  .tile-price { font-size: 17px; }
  .carve-under { margin: 8px 12px 0; }
  .twins { justify-content: flex-start; }
  .tag { top: 8px; font-size: 11px; }
  .hero-ctas .btn { flex: 1 1 auto; padding: 0 18px; }
  .cards { height: 250px; margin-top: 14px; }
  .tcard { width: 136px; }
  .tcard:nth-child(1) { --tx: -64%; }
  .tcard:nth-child(3) { --tx: 64%; }
  .cards:hover .tcard:nth-child(1) { --tx: -64%; --rot: -10deg; }
  .cards:hover .tcard:nth-child(3) { --tx: 64%; --rot: 11deg; }
  .tcard-name { font-size: 15px; }
  .tcard-top em { font-size: 10px; }
  .tcard-foot { font-size: 10.5px; }
  .tcard-foot strong { font-size: 15px; }
  .zone-head { grid-template-columns: minmax(0, 1fr); }
  .zone-tools, .zone-under { display: none; }
  .zone-kick { font-size: 12px; }
  .rink { padding-top: 64px; }
  .rink.shopping { padding-top: 48px; }
  .circle { aspect-ratio: 2.1 / 1; }
  .both-btn { width: 60px; height: 60px; font-size: 12px; }
  .crest-btn .crest-name { font-size: 11px; letter-spacing: .1em; top: calc(100% + 12px); }
  .puck { top: calc(100% + 40px); }
  .crest-note { margin-top: 80px; font-size: 12px; }
  .stall-box { aspect-ratio: 5 / 8.6; }
  .stall-inside { gap: 6px; padding: 6px 4px 6px 33%; }
  .stall-go svg { width: 13px; height: 13px; }
  .stall-go { font-size: 11px; }
  .tape { padding: 7px 7px 6px; font-size: 11px; letter-spacing: .03em; }
  .stall-tag .count { font-size: 9px; letter-spacing: .08em; }
  .door-no { font-size: 12px; padding: 4px 5px 3px; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .ftr-col a, .ftr-col button { font-size: 14px; overflow-wrap: anywhere; }
  .personal { grid-template-columns: minmax(0, 1fr); }
  .shop-crests { width: 104px; margin-bottom: 0; align-self: flex-end; }
  .shop-sub { font-size: 15px; }
  .personal .nameplate { width: 100%; height: 92px; flex-direction: row; gap: 14px; }
  .personal .nameplate b { font-size: 48px; }
  .toast { top: auto; bottom: 16px; right: 16px; }
  .bagtag { width: 132px; height: 156px; }
  .bagtag input { font-size: 62px; height: 68px; }
  .nameplate { min-width: 104px; height: 104px; }
  .nameplate b { font-size: 50px; }
}
@media (max-width: 380px) {
  .brand-word strong { font-size: 20px; }
  .shop-btn { padding: 0 8px; }
}

/* reduced motion: everything lands in place */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .snow { display: none; }
}
