/* Rocky Mountain Storm Lacrosse: Front Range storm team store */
:root {
  --night: #0b0a24; --deep: #141237; --navy: #201c50; --navy2: #2a2766; --royal: #4156a4;
  --sky: #7fb1da; --sky-hi: #a9cdee; --ice: #dfe9f5; --snow: #eef3f9; --paper: #f7f9fc;
  --ink: #171441; --ink2: #4b5075; --line: rgba(32, 28, 80, .14);
  --ff: 'Saira', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --hdr: 64px; --gut: clamp(16px, 4vw, 48px);
  --speck: none; --speck-dark: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); scrollbar-gutter: stable; background: var(--deep); }
html.locked, html.cat-open { overflow: hidden; }
body { margin: 0; font: 400 16px/1.5 var(--ff); color: var(--ink); background: var(--deep); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a { color: inherit; }
input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding-inline: var(--gut); }
main { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; font: 700 15px/1 var(--ff); font-stretch: 108%; letter-spacing: .02em; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, translate .25s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; transition: translate .25s var(--ease); }
.btn:hover svg { translate: 3px 0; }
.btn:active { translate: 0 1px; }
.btn-sky { background: var(--sky); color: #120f36; }
.btn-sky:hover { background: var(--sky-hi); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .42); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--royal); }
.btn:disabled { opacity: .5; }
.btn.small { min-height: 44px; font-size: 13px; padding: 0 16px; }
.btn.small svg { width: 16px; height: 16px; }
.btn.busy { opacity: .7; pointer-events: none; }
.btn.wide { width: 100%; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid currentColor; font: 700 14px/1 var(--ff); font-stretch: 108%; white-space: nowrap; flex: none; transition: background-color .2s, color .2s; }
.pill-link svg { width: 16px; height: 16px; }
.pill-link:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.tlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.tlink svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); display: flex; align-items: center; gap: 18px; padding: 0 clamp(12px, 2.6vw, 32px); color: #fff; isolation: isolate; }
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(17, 14, 50, .96); border-bottom: 1px solid rgba(169, 205, 238, .16); opacity: 0; transition: opacity .3s; }
.hdr.solid::before { opacity: 1; }
.hdr-logo { display: flex; align-items: center; height: 44px; padding: 5px 12px; background: #f4f8fd; border-radius: 12px; flex: none; }
.hdr-logo img { height: 34px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; min-width: 0; }
.hdr-nav button { position: relative; height: 44px; padding: 0 12px; font: 600 13px/1 var(--ff); font-stretch: 112%; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .82); white-space: nowrap; }
.hdr-nav button::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr-nav button:hover { color: #fff; }
.hdr-nav button:hover::after { transform: scaleX(1); }
.hdr-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ib { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.ib svg { width: 22px; height: 22px; }
.ib:hover { background: rgba(255, 255, 255, .1); }
.bag-btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); font: 700 14px/1 var(--ff); font-stretch: 108%; }
.bag-btn:hover { background: rgba(255, 255, 255, .18); }
.bag-btn .bag-ico { width: 24px; height: 24px; }
.bag-swirl { transform-box: fill-box; transform-origin: center; }
.bag-btn.hit .bag-swirl { animation: swirl .9s var(--ease); }
.bag-btn.hit .bag-n { animation: bump .5s var(--ease); }
@keyframes swirl { to { transform: rotate(-360deg); } }
@keyframes bump { 40% { scale: 1.35; } }
.bag-n { min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; background: var(--sky); color: #120f36; font: 700 13px/1 var(--fm); }
.bag-n.zero { background: rgba(255, 255, 255, .16); color: #fff; }
.menu { display: none; }
@media (max-width: 1359px) { .hdr-nav .nav-opt { display: none; } }
@media (max-width: 1099px) { .hdr-nav { display: none; } .menu { display: grid; } }
@media (max-width: 599px) {
  :root { --hdr: 58px; }
  .hdr { gap: 8px; }
  .hdr-logo { height: 44px; padding: 5px 10px; }
  .hdr-logo img { height: 32px; }
  .bag-word { display: none; }
  .bag-btn { padding: 0 8px; }
}

/* ---------- hero ---------- */
.hero { --ex: 69%; --ey: 45%; --eye: clamp(250px, 23vw, 340px); --storm: 3.6;
  position: relative; min-height: max(700px, 100svh); overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(120% 60% at 50% 100%, rgba(95, 134, 201, .5), rgba(95, 134, 201, 0) 60%), linear-gradient(180deg, #0a0922 0%, #131139 36%, #1d1d5b 68%, #2a3479 100%); }
.hero-sky { position: absolute; inset: 0; background-image: var(--speck); background-size: 200px 200px; opacity: .9; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(10, 9, 34, .72) 0%, rgba(10, 9, 34, .38) 36%, rgba(10, 9, 34, 0) 56%); }
.storm { position: absolute; left: var(--ex); top: var(--ey); width: calc(var(--eye) * var(--storm)); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; z-index: 1; }
.storm-par, .storm-spin { width: 100%; height: 100%; }
.storm-spin { will-change: transform; }
.storm-spin.spin { animation: spin 220s linear infinite; }
.storm-spin.paused { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(-360deg); } }
.storm canvas { display: block; width: 100%; height: 100%; }
.eye { position: absolute; z-index: 3; left: var(--ex); top: var(--ey); width: var(--eye); height: var(--eye); margin: calc(var(--eye) / -2) 0 0 calc(var(--eye) / -2); display: grid; place-items: center; }
.eye-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #f7faff 0 50%, #e9f1fb 62%, #d3e4f5 67.5%, rgba(190, 216, 242, .5) 69.5%, rgba(169, 205, 238, 0) 71%); }
.eye-disc::after { content: ''; position: absolute; inset: 15%; border-radius: 50%; border: 1px solid rgba(65, 86, 164, .14); }
.eye-logo { position: relative; width: 70%; }
.eye-logo img { width: 100%; height: auto; }
.bolt { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; opacity: 0; }
.bolt-core { fill: none; stroke: #f5faff; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.bolt-halo { fill: none; stroke: #9fcbff; stroke-width: 10; opacity: .6; stroke-linejoin: round; }
.bolt-branch { fill: none; stroke: #dcecff; stroke-width: 1.5; stroke-linejoin: round; }
.hero-copy { position: absolute; z-index: 4; left: max(var(--gut), calc((100vw - 1340px) / 2 + var(--gut))); top: calc(var(--hdr) + (100% - var(--hdr)) * .44); translate: 0 -50%; width: min(600px, 46vw); }
.hero-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 20px; font: 500 12px/1.3 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-hi); }
.hero-k .dot { width: 5px; height: 5px; background: var(--sky); rotate: 45deg; }
@media (max-width: 1199px) { .hero-k { flex-direction: column; align-items: flex-start; gap: 6px; } .hero-k .dot { display: none; } }
.hero h1 { margin: 0; font: 900 var(--h1, 96px)/.9 var(--ff); font-stretch: 118%; text-transform: uppercase; letter-spacing: -.012em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero h1 .ln > span { display: inline-block; white-space: nowrap; }
.hero h1 .glow { background: linear-gradient(180deg, #ffffff 10%, #cfe3f7 55%, #8fbde6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px 0 0; max-width: 30em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.range { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(170px, 26vw, 330px); z-index: 3; pointer-events: none; }
.rg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg .lit { opacity: 0; }

@media (max-width: 899px) {
  .hero { --ex: 50%; --ey: calc(var(--hdr) + 128px); --eye: 190px; --storm: 3.3; display: flex; flex-direction: column; min-height: 100svh; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 9, 34, 0) 30%, rgba(10, 9, 34, .5) 48%, rgba(10, 9, 34, .15) 85%); }
  .hero-copy { position: relative; left: auto; top: auto; translate: none; width: auto; margin: calc(var(--hdr) + 128px + 95px + 26px) var(--gut) 28px; text-align: center; }
  .hero-k { flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; margin-bottom: 14px; }
  .hero-k .dot { display: none; }
  .hero-sub { margin-inline: auto; font-size: 16px; margin-top: 16px; }
  .hero-cta { justify-content: center; margin-top: 22px; }
  .range { position: relative; bottom: auto; flex: none; height: 150px; margin-top: auto; }
  .bolt { display: none; }
}
@media (max-width: 599px) {
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- intro ---------- */
.intro .hdr { animation: fade .8s ease 2.3s both; }
.intro .hero-sky { animation: fade 1.4s ease both; }
.intro .rg-far { animation: rise 1.5s var(--ease) .15s both; }
.intro .rg-mid { animation: rise 1.5s var(--ease) .32s both; }
.intro .rg-near { animation: rise 1.4s var(--ease) .5s both; }
.intro .rg-summit { animation: rise 1.6s var(--ease) .42s both; }
.intro .rg-summit .lit { animation: flash 1s linear 1.95s both; }
.intro .eye-disc { animation: eyeOpen 1.2s var(--ease) 1.05s both; }
.intro .eye-logo { animation: logoIn 1s var(--ease) 1.6s both; }
.intro .bolt { animation: strike 1s linear 1.95s both; }
.intro .rg-mid .lit { animation: flash 1s linear 1.95s both; }
.intro .hero-k { animation: up .8s var(--ease) 2s both; }
.intro .hero h1 .ln > span { animation: lineUp 1s var(--ease) 2.05s both; }
.intro .hero h1 .ln + .ln > span { animation-delay: 2.17s; }
.intro .hero-sub { animation: up .9s var(--ease) 2.35s both; }
.intro .hero-cta { animation: up .9s var(--ease) 2.5s both; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { translate: 0 48%; } }
@keyframes eyeOpen { from { opacity: 0; scale: .15; } }
@keyframes logoIn { from { opacity: 0; scale: .8; } }
@keyframes lineUp { from { translate: 0 108%; } }
@keyframes up { from { opacity: 0; translate: 0 18px; } }
@keyframes strike { 0% { opacity: 0; } 5% { opacity: 1; } 12% { opacity: .12; } 19% { opacity: 1; } 42% { opacity: .8; } 100% { opacity: 0; } }
@keyframes flash { 0% { opacity: 0; } 6% { opacity: .95; } 13% { opacity: .2; } 20% { opacity: .85; } 100% { opacity: 0; } }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s); }
  .rv.seen { opacity: 1; translate: 0 0; }
}

/* ---------- section heads ---------- */
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 3.2vw, 44px); }
.sh-t { max-width: 760px; min-width: 0; }
.kick { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 11.5px/1 var(--fm); letter-spacing: .15em; text-transform: uppercase; color: var(--kick-c, var(--royal)); }
.kick-n { display: inline-grid; place-items: center; height: 22px; padding: 0 9px 0 7px; background: var(--kick-bg, var(--navy)); color: var(--kick-n, #fff); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); }
.h2 { margin: 0; font: 850 clamp(34px, 4.7vw, 68px)/.92 var(--ff); font-stretch: 116%; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.lede { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--lede, var(--ink2)); max-width: 36em; text-wrap: pretty; }
.suit, .closet { --kick-c: var(--sky-hi); --kick-bg: var(--sky); --kick-n: #120f36; --lede: rgba(255, 255, 255, .74); }
@media (max-width: 699px) {
  .sh { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lede { font-size: 16px; }
}

/* ---------- suit up: grades as summits ---------- */
.suit { position: relative; background: var(--navy) var(--speck); background-size: 200px 200px; color: #fff; padding: clamp(36px, 5vw, 64px) 0 clamp(90px, 10vw, 140px); }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(169, 205, 238, .22); flex: none; }
.seg button { min-width: 96px; height: 44px; padding: 0 18px; border-radius: 10px; font: 700 14px/1 var(--ff); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .78); transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--sky); color: #120f36; }
.ridge { position: relative; height: clamp(200px, 23vw, 300px); margin-top: 8px; }
.ridge-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pk-body { fill: #2d2b72; stroke: rgba(169, 205, 238, .3); stroke-width: 1; transition: fill .35s; }
.pk-cap { fill: #dde8f6; transition: fill .35s; }
.pk.on .pk-body { fill: url(#pk-on); stroke: rgba(255, 255, 255, .5); }
.pk.on .pk-cap { fill: #fff; }
.pk { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .35s var(--ease); }
.pk.hov { transform: scaleY(1.05); }
.pk.rise { animation: pkRise .8s var(--ease) calc(var(--i) * 55ms) backwards; }
@keyframes pkRise { from { transform: scaleY(0); } }
.ridge-hits { position: absolute; inset: 0; }
.pk-hit { position: absolute; top: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; border-radius: 10px; }
.pk-hit:focus-visible { outline-offset: -3px; }
.pk-label { display: block; padding: 7px 9px 6px; border-radius: 8px; font: 800 clamp(12px, 1.35vw, 17px)/1 var(--ff); font-stretch: 112%; letter-spacing: .03em; text-transform: uppercase; color: rgba(255, 255, 255, .8); transition: background-color .25s, color .25s, translate .25s var(--ease); white-space: nowrap; }
.pk-hit:hover .pk-label { color: #fff; translate: 0 -3px; }
.pk-hit[aria-pressed="true"] .pk-label { background: #fff; color: var(--navy); }
.flag { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; transition: transform .6s var(--ease); z-index: 2; }
.flag i { position: absolute; left: -1px; bottom: 0; width: 2px; height: 36px; background: #fff; }
.flag i::after { content: ''; position: absolute; left: 2px; top: 0; width: 24px; height: 15px; background: var(--sky); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.flag.late i { animation: fade .5s ease .5s both; }
.camp { position: relative; margin-top: 18px; }
.camp-notch { position: absolute; top: -9px; left: 0; width: 18px; height: 18px; background: var(--paper); transition: transform .6s var(--ease); }
.camp-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: var(--paper); color: var(--ink); }
.camp-pieces { position: relative; height: clamp(230px, 25vw, 340px); }
.cp { position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 18px; box-shadow: 0 22px 44px -22px rgba(20, 18, 64, .5), 0 0 0 1px rgba(32, 28, 80, .06); }
.cp img { width: 86%; height: 86%; object-fit: contain; }
.cp-0 { translate: -104% -52%; rotate: -7deg; }
.cp-1 { translate: -50% -50%; z-index: 2; }
.cp-2 { translate: 4% -46%; rotate: 7deg; }
.deal .cp { animation: deal .7s var(--ease) both; }
.deal .cp-1 { animation-delay: .07s; }
.deal .cp-2 { animation-delay: .14s; }
@keyframes deal { from { opacity: 0; scale: .9; } }
.camp-k { margin: 0 0 10px; font: 500 11.5px/1.2 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.camp-t { margin: 0; font: 850 clamp(28px, 3.2vw, 44px)/.95 var(--ff); font-stretch: 114%; text-transform: uppercase; }
.camp-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.camp-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.camp-list svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; }
.camp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.camp-price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.camp-price strong { font: 850 34px/1 var(--ff); font-stretch: 110%; }
.camp-price s { color: var(--ink2); font-size: 17px; }
.camp .tlink { margin-top: 10px; color: var(--ink2); }
@media (max-width: 799px) {
  .camp-card { grid-template-columns: minmax(0, 1fr); }
  .camp-pieces { height: 210px; }
  .camp-buy .btn { width: 100%; }
}
@media (max-width: 599px) {
  .ridge { height: 190px; margin-inline: calc(var(--gut) * -1); }
  .pk-label { padding: 6px 4px 5px; font-size: 11.5px; letter-spacing: 0; }
  .pk-hit { padding-bottom: 8px; }
  .seg { width: 100%; }
  .seg button { flex: 1; }
}

/* ---------- bands and edges ---------- */
.band { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.band.snow { background: var(--snow) var(--speck-dark); background-size: 200px 200px; }
.band.ice { background: var(--ice) var(--speck-dark); background-size: 200px 200px; }
.edge { position: absolute; left: 0; right: 0; pointer-events: none; }
.edge-snow { top: -46px; height: 48px; background: var(--snow); clip-path: polygon(0 100%, 0 62%, 5% 40%, 9% 58%, 15% 22%, 19% 38%, 24% 12%, 30% 48%, 36% 30%, 41% 52%, 48% 18%, 53% 36%, 58% 6%, 64% 44%, 70% 26%, 76% 50%, 82% 20%, 87% 42%, 93% 16%, 97% 38%, 100% 30%, 100% 100%); }
.closet + .band::before { content: ''; position: absolute; left: 0; right: 0; top: -40px; height: 42px; background: inherit; pointer-events: none; clip-path: polygon(0 100%, 0 55%, 6% 30%, 10% 50%, 17% 16%, 22% 40%, 29% 22%, 34% 46%, 42% 8%, 47% 32%, 53% 20%, 60% 50%, 66% 14%, 72% 38%, 79% 24%, 85% 52%, 91% 18%, 96% 40%, 100% 26%, 100% 100%); }
.edge-night { top: -52px; height: 54px; background: var(--deep); clip-path: polygon(0 100%, 0 70%, 7% 34%, 12% 56%, 20% 8%, 26% 44%, 31% 30%, 38% 60%, 45% 20%, 50% 36%, 57% 0, 64% 48%, 70% 28%, 77% 58%, 84% 16%, 90% 40%, 95% 24%, 100% 46%, 100% 100%); }

/* ---------- grids and tiles ---------- */
.grid { display: grid; gap: clamp(14px, 1.8vw, 26px); }
.grid.four, .grid.feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.feature .tile.big { grid-column: span 2; grid-row: span 2; }
.shelf { display: grid; gap: clamp(14px, 1.8vw, 26px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shelf.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .grid.four, .grid.feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf, .shelf.c3, .shelf.c5 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf > * { scroll-snap-align: start; }
}
@media (max-width: 699px) {
  .grid.four, .grid.feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .grid.feature .tile.big { grid-row: span 1; }
  .shelf, .shelf.c3, .shelf.c5 { grid-auto-columns: 44%; gap: 12px; }
}

.tile { position: relative; display: flex; flex-direction: column; min-width: 0; }
.t-main { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }
.t-main::before { content: ''; position: absolute; top: 0; right: 0; width: 24px; height: 24px; background: var(--sky); clip-path: polygon(0 0, 100% 0, 100% 100%); transition: background-color .3s; }
.t-main:hover::before { background: var(--royal); }
.t-plate { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: #fff; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); transition: translate .45s var(--ease); }
.t-plate img { width: 84%; height: 84%; object-fit: contain; }
.t-main:hover .t-plate { translate: 0 -6px; }
.t-main:focus-visible { outline-offset: 4px; }
.tile.is-out .t-plate img { opacity: .45; }
.t-badge { position: absolute; left: 10px; top: 10px; padding: 5px 8px 4px; border-radius: 6px; font: 600 10.5px/1 var(--fm); letter-spacing: .06em; text-transform: uppercase; }
.t-badge.pers { background: var(--navy); color: #fff; }
.t-badge.sale { background: var(--sky); color: #120f36; }
.t-badge.out { background: rgba(23, 20, 65, .08); color: var(--ink2); }
.t-meta { display: grid; gap: 4px; padding-right: 4px; }
.t-kick { font: 500 10.5px/1.3 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--kick-t, var(--royal)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-name { font-weight: 600; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.t-price { font: 700 16px/1.2 var(--ff); font-stretch: 105%; white-space: nowrap; }
.t-price s { font-weight: 400; color: var(--ink2); margin-right: 6px; font-size: 14px; }
.t-dots { display: flex; align-items: center; gap: 3px; min-height: 12px; }
.t-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23, 20, 65, .2); }
.t-dots em { font: 500 10.5px/1 var(--fm); font-style: normal; color: var(--ink2); margin-left: 2px; }
.t-alts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.t-alt .s { display: none; }
.t-alt { min-height: 32px; padding: 0 11px; border-radius: 8px; border: 1.5px solid var(--line); font: 600 12.5px/1 var(--ff); font-stretch: 105%; transition: background-color .2s, color .2s, border-color .2s; }
.t-alt:hover { border-color: var(--navy); }
.t-alt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.t-design { width: 40px; height: 40px; padding: 2px; background: #fff; display: grid; place-items: center; }
.t-design img { width: 100%; height: 100%; object-fit: contain; }
.t-design[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
@media (pointer: coarse) { .t-alt { min-height: 44px; min-width: 44px; } .t-design { width: 44px; height: 44px; } }
@media (max-width: 699px) {
  .t-alts:not(.designs) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
  .t-alts:not(.designs) .t-alt { min-width: 0; padding: 0 2px; font-size: 12px; }
  .t-alt .l { display: none; }
  .t-alt .s { display: inline; }
}
.tile.big .t-main { height: 100%; }
.tile.big .t-plate { aspect-ratio: auto; flex: 1; min-height: 280px; container-type: size; background: var(--navy) var(--speck); background-size: 200px 200px; }
/* the featured piece sits in the eye of the storm */
.tile.big .t-plate::before { content: ''; grid-area: 1 / 1; width: min(88cqw, 88cqh); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0 62%, #eef4fb 66%, rgba(214, 230, 250, .55) 68.5%, rgba(169, 205, 238, 0) 71%); transition: scale .6s var(--ease); }
.tile.big .t-plate::after { content: ''; grid-area: 1 / 1; width: min(100cqw, 100cqh); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(169, 205, 238, .28); pointer-events: none; }
.tile.big .t-plate img { grid-area: 1 / 1; width: min(56cqw, 56cqh); height: min(56cqw, 56cqh); position: relative; z-index: 1; transition: scale .6s var(--ease); }
.tile.big .t-main:hover .t-plate::before, .tile.big .t-main:hover .t-plate img { scale: 1.035; }
.tile.big .t-badge { z-index: 2; }
.tile.big .t-name { font-size: clamp(18px, 1.6vw, 22px); }
@media (max-width: 699px) {
  .t-name { font-size: 14.5px; }
  .t-price { font-size: 15px; }
  .tile.big .t-plate { min-height: 0; aspect-ratio: 2 / 1.25; }
  .t-kick { font-size: 9.5px; }
  .t-dots i { width: 10px; height: 10px; }
}
.tile-cta { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 200px; padding: 22px; text-align: left; color: #fff; background: var(--navy) var(--speck); background-size: 200px 200px; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.tile-cta strong { font: 800 clamp(20px, 1.8vw, 26px)/1 var(--ff); font-stretch: 112%; text-transform: uppercase; }
.cta-k { font: 500 11px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--sky-hi); }
.cta-peak { position: absolute; left: 22px; top: 22px; width: 38px; color: var(--sky); }
.cta-go { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: #120f36; transition: translate .3s var(--ease); }
.cta-go svg { width: 20px; }
.tile-cta:hover .cta-go { translate: 4px 0; }
@media (max-width: 699px) { .tile-cta { min-height: 0; aspect-ratio: auto; padding: 18px; } .tile-cta .cta-peak { width: 30px; left: 18px; top: 18px; } .tile-cta strong { font-size: 18px; padding-right: 46px; } }

/* ---------- lines: collections on a skyline ---------- */
.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.line { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 330px; padding: 22px; text-align: left; color: #fff; isolation: isolate; }
.line-bg { position: absolute; inset: 0; z-index: -1; background: var(--navy) var(--speck); background-size: 200px 200px; transition: translate .45s var(--ease); }
.line:nth-child(4n+2) .line-bg { background-color: #262a6e; }
.line:nth-child(4n+3) .line-bg { background-color: #1a1747; }
.line:nth-child(4n+4) .line-bg { background-color: #2f3a84; }
.line:hover .line-bg { translate: 0 -8px; }
.line-imgs { position: absolute; left: 0; right: 0; top: 56px; height: 52%; }
.li { position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .55); transition: translate .5s var(--ease), rotate .5s var(--ease); }
.li img { width: 66%; height: 66%; object-fit: contain; }
.li-0 { translate: -96% -46%; }
.li-1 { translate: -50% -56%; z-index: 2; }
.li-2 { translate: -4% -44%; }
.line:hover .li-0 { translate: -108% -50%; rotate: -8deg; }
.line:hover .li-2 { translate: 8% -48%; rotate: 8deg; }
.line:hover .li-1 { translate: -50% -64%; }
.line-txt { display: grid; gap: 8px; padding-right: 48px; }
.line-k { font: 500 10.5px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--sky-hi); }
.line-txt strong { font: 800 clamp(20px, 1.9vw, 26px)/1 var(--ff); font-stretch: 112%; text-transform: uppercase; text-wrap: balance; }
.line-go { position: absolute; right: 18px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: #120f36; transition: translate .3s var(--ease); }
.line-go svg { width: 20px; }
.line:hover .line-go { translate: 4px 0; }
@media (max-width: 899px) { .line { min-height: 290px; } }
@media (max-width: 699px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .line { min-height: 236px; padding: 14px; }
  .line-imgs { top: 40px; height: 50%; }
  .li { width: 50%; }
  .line-txt { padding-right: 0; }
  .line-txt strong { font-size: 17px; }
  .line-go { display: none; }
}

/* ---------- tabs, chips ---------- */
.tabs { display: flex; gap: 8px; margin: 0 0 26px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(32, 28, 80, .2); font: 700 14px/1 var(--ff); font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s, color .2s, border-color .2s; }
.tabs [role="tab"]:hover { border-color: var(--navy); }
.tabs [aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabs sup, .chips sup { font: 500 10px/1 var(--fm); opacity: .6; vertical-align: 0; margin-left: 2px; }
.panel-foot { display: flex; justify-content: center; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(32, 28, 80, .2); font: 600 14px/1 var(--ff); font-stretch: 105%; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.chips > button:hover { border-color: var(--navy); }
.chips > button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- gear closet (dark) ---------- */
.closet { position: relative; background: var(--deep) var(--speck); background-size: 200px 200px; color: #fff; padding: clamp(72px, 8vw, 112px) 0; --kick-t: var(--sky-hi); }
.closet .pill-link:hover { background: #fff; color: var(--navy); border-color: #fff; }
.closet-chips { margin: -8px 0 28px; }
.closet .chips > button { border-color: rgba(169, 205, 238, .35); color: #fff; }
.closet .chips > button:hover { border-color: #fff; }
.closet .chips > button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: #120f36; }
.closet .t-price s, .closet .t-dots em { color: rgba(255, 255, 255, .6); }
.closet .t-alt { border-color: rgba(255, 255, 255, .3); }
.closet .t-alt[aria-pressed="true"] { background: var(--sky); color: #120f36; border-color: var(--sky); }
.closet .t-main:hover::before { background: #fff; }
.closet .t-dots i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
@media (max-width: 699px) { .closet-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; } }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--deep); color: rgba(255, 255, 255, .78); padding: 32px 0 26px; }
.ftr-range { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(70px, 10.4vw, 150px); pointer-events: none; }
.ftr-range .rg { position: static; }
.ftr-range svg { width: 100%; height: 100%; display: block; }
main > :last-child { padding-bottom: calc(clamp(64px, 8vw, 112px) + clamp(60px, 9vw, 130px)); }
.closet + .ftr, main > .closet:last-child { padding-bottom: inherit; }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 40px; padding-bottom: 36px; }
.ftr-col.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-content: start; }
.ftr-col.links h3 { grid-column: 1 / -1; }
.ftr-logo { display: inline-flex; padding: 10px 16px; background: #f4f8fd; border-radius: 14px; }
.ftr-logo img { height: 56px; width: auto; }
.ftr-brand p { margin: 18px 0 18px; font: 700 15px/1.4 var(--ff); font-stretch: 108%; color: #fff; letter-spacing: .02em; }
.ftr-brand p span { font: 500 11px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-hi); }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; }
.ftr-col h3 { margin: 0 0 8px; font: 500 11px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-hi); }
.ftr-col a, .ftr-col button { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; font-size: 15px; color: rgba(255, 255, 255, .82); }
.ftr-col a:hover, .ftr-col button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(169, 205, 238, .16); font-size: 13px; color: rgba(255, 255, 255, .6); }
.powered { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: rgba(255, 255, 255, .72); font-size: 13px; }
.powered img { width: 150px; height: auto; }
@media (max-width: 799px) {
  .ftr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .ftr-brand, .ftr-col.links { grid-column: 1 / -1; }
  .ftr-col a, .ftr-col button { min-height: 44px; }
}

/* ---------- catalog view ---------- */
.cat { position: fixed; inset: var(--hdr) 0 0 0; z-index: 40; overflow-y: auto; overscroll-behavior: contain; background: var(--snow) var(--speck-dark); background-size: 200px 200px; color: var(--ink); }
.cat.open { animation: catIn .35s var(--ease) both; }
@keyframes catIn { from { opacity: 0; translate: 0 14px; } }
.cat-top { position: sticky; top: 0; z-index: 3; padding: 14px 0 12px; background: rgba(238, 243, 249, .97); border-bottom: 1px solid var(--line); }
.cat-bar { display: flex; align-items: center; gap: 16px; }
.cat-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 12px; border: 1.5px solid rgba(32, 28, 80, .2); font: 700 13px/1 var(--ff); font-stretch: 110%; letter-spacing: .06em; text-transform: uppercase; flex: none; }
.cat-back svg { width: 18px; height: 18px; }
.cat-back:hover { border-color: var(--navy); }
.cat-bar h2 { flex: 1; min-width: 0; margin: 0; font: 850 clamp(22px, 2.6vw, 34px)/1 var(--ff); font-stretch: 114%; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; outline: none; }
.search { display: flex; align-items: center; gap: 8px; width: min(400px, 38vw); height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(32, 28, 80, .2); background: #fff; flex: none; }
.search:focus-within { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(127, 177, 218, .45); }
.search-ico svg { width: 20px; height: 20px; color: var(--ink2); display: block; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.cat-chips { margin-top: 12px; }
.cat-body { padding-top: 22px; padding-bottom: 90px; }
.cat-count { margin: 0 0 18px; font: 500 11.5px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; }
.empty p { font-size: 18px; margin: 0 0 18px; }
@media (max-width: 799px) {
  .cat-bar { flex-wrap: wrap; gap: 10px 12px; }
  .search { order: 3; width: 100%; }
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .cat-chips::-webkit-scrollbar { display: none; }
}

/* ---------- sheet (product, pack) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(8, 7, 30, .62); opacity: 0; transition: opacity .3s; }
.scrim.open { opacity: 1; }
.sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 3vh 3vw; pointer-events: none; }
.sheet-card { position: relative; display: flex; width: min(1140px, 100%); height: min(880px, 94vh); background: var(--paper); color: var(--ink); clip-path: inset(0 round 22px); pointer-events: auto; opacity: 0; translate: 0 24px; transition: opacity .3s, translate .45s var(--ease); }
.sheet.open .sheet-card { opacity: 1; translate: 0 0; }
.sheet-body { flex: 1; min-width: 0; display: flex; }
.x { position: absolute; top: 14px; right: 14px; z-index: 6; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 0 0 1px rgba(32, 28, 80, .12); }
.x svg { width: 20px; height: 20px; }
.x:hover { background: var(--navy); color: #fff; }
.pd { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pd-media { display: flex; flex-direction: column; gap: 14px; min-height: 0; padding: 28px; background: #fff; }
.pd-plate { flex: 1; min-height: 0; display: grid; place-items: center; }
.pd-plate img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; flex: none; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 4px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: 44px 40px 0; overscroll-behavior: contain; }
.pd-k { margin: 0 56px 10px 0; font: 500 11.5px/1.3 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.pd-t { margin: 0 44px 0 0; font: 850 clamp(26px, 2.6vw, 38px)/1 var(--ff); font-stretch: 112%; text-transform: uppercase; text-wrap: balance; outline: none; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.pd-price strong { font: 800 26px/1 var(--ff); font-stretch: 108%; }
.pd-price s { color: var(--ink2); }
.save { font: 600 11px/1 var(--fm); letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; background: var(--sky); color: #120f36; }
.skel { height: 180px; margin-top: 22px; border-radius: 14px; background: linear-gradient(90deg, #e8eef6, #f2f6fb); }
.skel.short { height: 60px; width: 60%; }
.opt { margin-top: 18px; }
.lbl { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font: 700 13px/1 var(--ff); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; }
.lbl em { font: 500 13px/1 var(--ff); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--ink2); }
.wrap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(32, 28, 80, .18); background: #fff; font: 600 14px/1 var(--ff); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover:not(:disabled) { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.dim { opacity: .55; }
.chip:disabled { opacity: .35; text-decoration: line-through; }
.chip.design { width: 56px; height: 56px; padding: 3px; justify-content: center; }
.chip.design img { width: 100%; height: 100%; object-fit: contain; }
.chip.design[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.chip.color i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); flex: none; }
.chip[aria-pressed="true"].color i { box-shadow: 0 0 0 2px #fff; }
.chip.sm { min-height: 40px; padding: 0 11px; font-size: 13px; }
@media (pointer: coarse) { .chip.sm { min-height: 44px; } }
.pers { margin: 22px 0 6px; padding: 18px; border-radius: 16px; background: var(--navy) var(--speck); background-size: 200px 200px; color: #fff; }
.pers-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pers-head .lbl { margin: 0 0 4px; }
.pers-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--sky); color: #120f36; flex: none; }
.pers-ico svg { width: 18px; height: 18px; }
.pers-sub { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.pers-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pers.has-pin .pers-grid { grid-template-columns: minmax(0, 1fr) 128px; }
.pers-fields { display: grid; gap: 16px; min-width: 0; }
.fld { min-width: 0; }
.pers .lbl em { color: rgba(255, 255, 255, .6); }
.in { width: 100%; height: 50px; padding: 0 14px; border-radius: 10px; border: 1.5px solid rgba(32, 28, 80, .2); background: #fff; color: var(--ink); font: 600 17px/1 var(--ff); outline: none; }
.pers .in { background: rgba(255, 255, 255, .08); border-color: rgba(169, 205, 238, .38); color: #fff; }
.pers select.in { background: #2a2766; }
.in:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(127, 177, 218, .35); }
.in.num { width: 112px; font: 700 22px/1 var(--fm); letter-spacing: .08em; text-align: center; }
.pair { display: flex; gap: 10px; }
.note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.note .bad { color: #ffc4c4; font-weight: 600; }
.note .good { display: inline-flex; align-items: center; gap: 6px; color: #bfe3ff; font-weight: 600; }
.note .good svg { width: 15px; height: 15px; }
.sugg { min-width: 44px; min-height: 44px; margin: 6px 6px 0 0; padding: 0 10px; border-radius: 10px; background: var(--sky); color: #120f36; font: 700 15px/1 var(--fm); }
.board { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; margin-top: 12px; }
.nb { height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 11.5px/1 var(--fm); transition: background-color .15s; }
.nb:hover:not(:disabled) { background: rgba(169, 205, 238, .38); }
.nb.on { background: var(--sky); color: #120f36; }
.nb.taken { background: transparent; color: rgba(255, 255, 255, .28); text-decoration: line-through; }
@media (max-width: 699px) { .board { display: none; } }
.pin-wrap { position: relative; display: grid; justify-items: center; gap: 6px; align-self: start; }
.pin { width: 100%; height: auto; overflow: visible; }
.pin text { font-family: var(--ff); fill: #fff; }
.pin-name { font-size: 17px; font-weight: 800; font-stretch: 112%; letter-spacing: 1.5px; }
.pin-num { font-size: 88px; font-weight: 800; font-stretch: 80%; stroke: #7fb1da; stroke-width: 3; paint-order: stroke; }
.pin.ghost text { opacity: .5; }
.pin-cap { font: 500 9.5px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.err { margin: 10px 0 0; min-height: 1px; color: #b3261e; font-weight: 600; font-size: 14.5px; }
.err:empty { margin: 0; }
.buybar { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 10px; margin-top: 18px; padding: 16px 0 22px; background: linear-gradient(rgba(247, 249, 252, 0), var(--paper) 22%); }
.buybar .add { flex: 1; min-width: 0; }
.qty { display: inline-flex; align-items: center; flex: none; height: 52px; border-radius: 12px; border: 1.5px solid rgba(32, 28, 80, .2); background: #fff; }
.qty button { width: 44px; height: 100%; font-size: 20px; font-weight: 600; }
.qty button:disabled { opacity: .3; }
.qty output { min-width: 28px; text-align: center; font: 700 16px/1 var(--fm); }
.qty.sm { height: 44px; }
.desc { margin: 4px 0 30px; border-top: 1px solid var(--line); }
.desc summary { display: flex; align-items: center; min-height: 52px; font: 700 13px/1 var(--ff); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; }
.desc summary::-webkit-details-marker { display: none; }
.desc summary::after { content: '+'; margin-left: auto; font-size: 20px; font-weight: 500; }
.desc[open] summary::after { content: '−'; }
.desc-b { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.desc-b p { margin: 0 0 10px; }
.desc-b ul, .desc-b ol { padding-left: 20px; }
.pd.pack .pd-media { background: var(--navy) var(--speck); background-size: 200px 200px; }
.pack-stage { position: relative; flex: 1; min-height: 280px; }
.ps { position: absolute; width: 52%; aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 18px; box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .6); }
.ps img { width: 86%; height: 86%; object-fit: contain; }
.ps-0 { left: 4%; top: 6%; rotate: -6deg; }
.ps-1 { right: 4%; top: 18%; rotate: 5deg; }
.ps-2 { left: 24%; bottom: 4%; rotate: -2deg; z-index: 2; }
.deal .ps { animation: deal .7s var(--ease) both; }
.deal .ps-1 { animation-delay: .08s; }
.deal .ps-2 { animation-delay: .16s; }
.pieces { margin-top: 18px; }
.pieces-head { display: grid; gap: 10px; margin-bottom: 4px; }
.same { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--ice); }
.same > span { font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.piece { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.piece:first-of-type { border-top: 0; }
.piece-img { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.piece-img img { width: 88%; height: 88%; object-fit: contain; }
.piece-t { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 10px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.piece-t span { font-weight: 500; color: var(--ink2); white-space: nowrap; }
.piece.compact { align-items: center; padding: 10px 0; }
.piece.compact .piece-t { margin-bottom: 2px; }
.piece-s { margin: 0; font: 500 12px/1.3 var(--fm); letter-spacing: .04em; color: var(--royal); }
.per-piece { margin-top: 6px; border-top: 1px solid var(--line); }
.per-piece summary { display: flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 14px; color: var(--ink2); cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
.per-piece summary::-webkit-details-marker { display: none; }
.per-piece .piece:first-of-type { border-top: 0; }
@media (max-width: 899px) {
  .sheet { padding: 0; }
  .sheet-card { position: absolute; inset: 0; width: auto; height: auto; clip-path: none; translate: 0 40px; }
  .sheet-body { overflow-y: auto; overscroll-behavior: contain; }
  .pd { display: block; }
  .pd-media { height: min(56vh, 460px); padding: 20px 16px 14px; }
  .pd.pack .pd-media { height: min(46vh, 360px); }
  .pd-info { overflow: visible; padding: 22px var(--gut) 0; }
  .pack-stage { min-height: 0; }
  .x { top: 10px; right: 10px; box-shadow: 0 4px 14px rgba(23, 20, 65, .18); }
  .pers.has-pin .pers-grid { grid-template-columns: minmax(0, 1fr) 104px; }
}
@media (max-width: 380px) { .pers.has-pin .pers-grid { grid-template-columns: minmax(0, 1fr) 92px; } .pers { padding: 14px; } }

/* ---------- bag ---------- */
.bag { position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); translate: 100% 0; transition: translate .42s var(--ease); }
.bag.open { translate: 0 0; }
.bag-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.bag-head .x { position: static; }
.bag-k { margin: 0 0 6px; font: 500 11px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.bag-head h2 { margin: 0; font: 850 30px/1 var(--ff); font-stretch: 114%; text-transform: uppercase; outline: none; }
.bag-lines { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 24px 20px; }
.bag-pack { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 4px 12px; border-radius: 10px; background: var(--navy); color: #fff; font: 700 13px/1.2 var(--ff); font-stretch: 108%; letter-spacing: .04em; text-transform: uppercase; }
.bag-pack span { display: inline-flex; align-items: center; gap: 8px; }
.bag-pack svg { width: 16px; color: var(--sky); flex: none; }
.bag-pack .tlink { color: var(--sky-hi); font-size: 12px; text-transform: none; letter-spacing: 0; }
.bl { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bl.in-pack { padding-left: 10px; border-left: 2px solid var(--sky); }
.bl.flagged { background: #fff1f0; }
.bl-img { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.bl-img img { width: 88%; height: 88%; object-fit: contain; }
.bl-t { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.bl-m { margin: 3px 0 0; font-size: 13px; color: var(--ink2); }
.bl-a { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.bl-a span { padding: 4px 7px 3px; border-radius: 6px; background: var(--navy); color: #fff; font: 600 11px/1.2 var(--fm); letter-spacing: .04em; }
.bl-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.bl-row .tlink { font-size: 13px; color: var(--ink2); }
.bl-p { font: 700 15px/1.3 var(--ff); white-space: nowrap; }
.bag-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: #fff; }
.bag-sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.bag-sum strong { font: 850 26px/1 var(--ff); font-stretch: 108%; }
.bag-foot .note { color: var(--ink2); margin: 6px 0 14px; }
.bag-foot .err { margin: 0 0 12px; }
.bag-empty { display: grid; justify-items: center; gap: 14px; padding: 70px 10px; text-align: center; }
.be-ico svg { width: 56px; height: 56px; color: var(--royal); }
.bag-empty p { margin: 0; font-size: 17px; font-weight: 600; }
.be-cta { display: grid; gap: 10px; width: min(280px, 100%); }
@media (max-width: 599px) { .bl { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; } .bl-img { width: 60px; height: 60px; } .bag-lines { padding: 6px 16px 20px; } .bag-head { padding: 18px 12px 14px 16px; } .bag-foot { padding: 16px; } }

/* ---------- toast and fly ---------- */
.toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 100; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 8px 8px 8px 14px; border-radius: 14px; background: #120f36; color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); translate: -50% calc(100% + 40px); transition: translate .45s var(--ease); font-size: 14.5px; font-weight: 500; }
.toast.show { translate: -50% 0; }
.toast-ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: #120f36; flex: none; }
.toast-ico svg { width: 15px; height: 15px; }
#toast-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { flex: none; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--sky); color: #120f36; font: 700 14px/1 var(--ff); }
.fly { position: fixed; z-index: 110; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 12px 30px rgba(8, 7, 30, .4); pointer-events: none; will-change: transform, opacity; }
.fly img { width: 66%; height: 66%; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
