/* Carolina One Volleyball: "Zone One". Every rally starts in Zone 1, the server's spot. */
:root {
  --c1: #0182cb;
  --c1-ink: #0167a3;
  --c1-deep: #014f80;
  --c1-ui: #0172b4;
  --sky: #8ed6f7;
  --sky-soft: #e6f4fc;
  --ink: #07121c;
  --ink-2: #0c2233;
  --ink-3: #15364d;
  --paper: #f2f5f8;
  --coral: #ff6b57;
  --text: #0b1823;
  --muted: #53636f;
  --line: rgba(7, 18, 28, .12);
  --display: 'Saira Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r: 18px;
  --hh: 72px;
  --one: min(52vw, 56vh, 540px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (max-width: 760px) { :root { --hh: 60px; --one: min(48vw, 56vh); } .top .brand img { height: 40px; } .top .brand { padding: 5px 8px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus, #0167a3); outline-offset: 3px; }
.serve, .zones, .rot.dark, .rot.blue, .shop-top, .foot, .toast, .top:not(.solid) { --focus: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.ball { display: block; width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 800 17px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-white { background: #fff; color: var(--c1-deep); box-shadow: 0 10px 26px -14px rgba(0, 30, 60, .55); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn-line:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px #fff; }
.btn-blue { background: var(--c1-ui); color: #fff; }
.btn-blue:hover { background: var(--c1-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--c1-deep); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.busy { pointer-events: none; opacity: .7; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 800 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--c1-ink); text-decoration: none; background: none; border: 0; padding: 0; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.top { position: fixed; z-index: 40; inset: 0 0 auto 0; height: var(--hh); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); padding: 0 var(--gut); color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.top.solid { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; flex: none; background: #009ccf; border-radius: 6px; padding: 6px 10px; text-decoration: none; box-shadow: 0 6px 18px -12px rgba(0, 20, 40, .6); }
.brand img { display: block; height: 46px; width: auto; }
.top.solid .brand { box-shadow: inset 0 0 0 1px var(--line); }
.menu { display: flex; gap: 2px; margin-left: 8px; min-width: 0; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 700 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; opacity: .92; }
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255, 255, 255, .16); opacity: 1; }
.top.solid .menu a:hover, .top.solid .menu a[aria-current="page"] { background: var(--sky-soft); color: var(--c1-deep); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.top.solid .icon-btn:hover { background: var(--sky-soft); }
.menu-btn { display: none; }
@media (max-width: 1100px) { .menu a:nth-child(n+5) { display: none; } }
@media (max-width: 900px) { .menu { display: none; } .menu-btn { display: grid; } }

/* the bag is a scoreboard */
.score { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .7); }
.score svg { width: 20px; height: 20px; }
.score-team { font: 800 13px/1 var(--display); letter-spacing: .14em; color: var(--sky); }
.score-pts { display: inline-flex; gap: 3px; }
.digit { position: relative; width: 23px; height: 32px; display: grid; place-items: center; border-radius: 5px; background: linear-gradient(180deg, #1d4561 0 50%, #16384f 50% 100%); font: 800 21px/1 var(--display); color: #fff; overflow: hidden; perspective: 80px; }
.digit span { display: block; }
.score.hit .digit.changed span { animation: flip .42s var(--ease); }
.top .score.hit { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.1); } }
@keyframes flip { from { transform: rotateX(-88deg); opacity: .2; } to { transform: none; opacity: 1; } }
@media (max-width: 420px) { .score-team { display: none; } .score { padding-left: 12px; gap: 8px; } }

/* ---------- hero: the serve ---------- */
.serve { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(180deg, #0a93dd 0%, var(--c1) 42%, #0174b7 100%); padding-top: calc(var(--hh) + clamp(10px, 3vh, 32px)); }
.serve::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 45, 85, .34), rgba(1, 45, 85, 0) 150px), radial-gradient(55% 45% at 50% 34%, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 70%), radial-gradient(40% 60% at 100% 100%, rgba(1, 50, 90, .35), rgba(1, 50, 90, 0) 70%); }
.word { position: relative; z-index: 1; display: flex; justify-content: center; padding: 0 var(--gut); }
.word-in { display: inline-flex; flex-direction: column; }
.kick { display: flex; justify-content: space-between; font: 700 calc(var(--one) * .205)/.7 var(--display); text-transform: uppercase; margin: 0 .01em calc(var(--one) * .065); color: #fff; }
.kick span { display: block; }
.one { display: flex; align-items: flex-end; font: 900 var(--one)/.69 var(--display); letter-spacing: -.005em; text-transform: uppercase; }
.one .L { display: block; }
.o-slot { position: relative; width: .7em; height: .7em; margin: 0 .045em -.008em 0; flex: none; }
.o-slot .ball-btn { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 50%; background: none; }
.o-slot .ball { will-change: transform; }

.net { --tape: clamp(22px, 2.3vw, 34px); --below: clamp(30px, 6vh, 62px); --mesh: calc(var(--one) * .18 + var(--below)); --cell: clamp(19px, 2.3vw, 34px); --cord: rgba(3, 21, 36, .62); --side: max(var(--gut), calc(50% - 640px));
  position: relative; z-index: 2; height: calc(var(--tape) + var(--mesh) + 7px); margin-top: calc(var(--one) * -.18); }
.tape { position: absolute; left: 0; right: 0; top: 0; height: var(--tape); background: #fff; overflow: hidden; display: flex; align-items: center; box-shadow: 0 3px 0 rgba(0, 25, 45, .16); }
.tape-track { display: flex; flex: none; white-space: nowrap; will-change: transform; animation: tape 70s linear infinite; }
.tape-track span { flex: none; padding-right: 2.2em; font: 800 calc(var(--tape) * .5)/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--c1-deep); }
.tape-track span i { font-style: normal; color: var(--c1); padding: 0 .6em 0 0; }
@keyframes tape { to { transform: translateX(-50%); } }
.paused .tape-track, .paused.tape-track { animation-play-state: paused; }
.mesh { position: absolute; left: 0; right: 0; top: var(--tape); height: var(--mesh); background-image: linear-gradient(90deg, var(--cord) 0 2px, transparent 2px), linear-gradient(180deg, var(--cord) 0 2px, transparent 2px); background-size: var(--cell) var(--cell); background-position: calc(50% + var(--cell) / 2) 0; }
.cable { position: absolute; left: 0; right: 0; top: calc(var(--tape) + var(--mesh)); height: 7px; background: #fff; box-shadow: 0 2px 0 rgba(0, 25, 45, .16); }
.post { position: absolute; top: 0; height: calc(var(--tape) + var(--mesh) + 7px); width: clamp(7px, .8vw, 12px); background: #fff; }
.floor { position: absolute; left: 0; top: 100%; width: 100%; height: 70vh; pointer-events: none; }
.floor path { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.post.l { left: var(--side); }
.post.r { right: var(--side); }
.antenna { position: absolute; bottom: 100%; left: 50%; width: 70%; margin-left: -35%; height: calc(var(--mesh) * .78); background: repeating-linear-gradient(180deg, var(--coral) 0 14px, #fff 14px 28px); border-radius: 4px 4px 0 0; box-shadow: 0 0 0 1px rgba(3, 21, 36, .18); }

.serve-foot { position: relative; z-index: 3; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(20px, 4vw, 64px); padding: clamp(18px, 3.2vh, 36px) var(--gut) clamp(28px, 5vh, 60px); }
.eyebrow { margin: 0 0 10px; font: 700 15px/1.2 var(--display); letter-spacing: .26em; text-transform: uppercase; color: #fff; }
.lede { margin: 0; max-width: 34em; font: 500 clamp(17px, 1.45vw, 20px)/1.45 var(--body); color: rgba(255, 255, 255, .94); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.feature { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 16px; width: 360px; padding: 10px 18px 10px 10px; background: rgba(3, 30, 52, .38); border-radius: 22px; text-decoration: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background-color .25s; }
.feature:hover { background: rgba(3, 30, 52, .6); }
.feature .plate { border-radius: 14px; }
.feature small { display: block; font: 700 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #dff3fd; margin-bottom: 6px; }
.feature strong { display: block; font: 600 16px/1.3 var(--body); }
.feature em { display: block; font: 800 20px/1 var(--display); font-style: normal; margin-top: 8px; }
@media (max-width: 1000px) { .feature { display: none; } .serve-foot { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .ctas .btn { flex: 1 1 100%; }
  .net { --below: 26px; --side: 8px; }
  .antenna { height: calc(var(--mesh) * 1.1); }
}

/* intro: initial states (JS plays them with the Web Animations API, then drops the class) */
.intro .top, .intro .kick span, .intro .serve-foot > *, .intro .o-slot .ball { opacity: 0; }
.intro .one .L { transform: translateY(112%); }
.intro .post { transform: scaleY(0); }
.post { transform-origin: 50% 100%; }
.intro .tape, .intro .cable { transform: scaleX(0); }
.intro .mesh { opacity: 0; }
.intro .antenna { transform: translateY(100%); opacity: 0; }

/* ---------- zones (collections on a half court) ---------- */
.zones { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 128px) var(--gut); overflow: hidden; }
.zones-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.kicker { margin: 0 0 12px; font: 700 14px/1.2 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--c1-ink); }
.zones .kicker { color: var(--sky); }
.h-xl { margin: 0; font: 800 clamp(48px, 7vw, 104px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.zones-copy p.body { margin: 20px 0 0; max-width: 30em; font-size: 18px; color: rgba(255, 255, 255, .78); }
.bench { margin-top: clamp(24px, 3vw, 36px); }
.serving { margin-top: clamp(28px, 3.4vw, 40px); padding: 20px 22px 16px; border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.serving-k { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--sky); }
.serving-k .ball { width: 18px; height: 18px; }
.serving h3 { margin: 10px 0 14px; font: 800 clamp(30px, 3.2vw, 44px)/.92 var(--display); text-transform: uppercase; }
.serving-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.serving-plates .plate { border-radius: 14px; }
.serving-plates .plate:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--sky); }
.serving .link-arrow { margin-top: 8px; color: var(--sky); }
.rotate { position: absolute; left: clamp(18px, 3vw, 40px); bottom: clamp(4px, 1vw, 12px); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 800 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .8); transition: background-color .2s, color .2s; }
.rotate svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.rotate:hover { background: var(--sky); }
.rotate:hover svg { transform: rotate(160deg); }
.zone-top { display: block; }
.zone-body { display: flex; flex-direction: column; flex: 1; min-height: 0; justify-content: flex-end; }
.zone.front .zone-body { position: absolute; inset: 0; padding: clamp(8px, 1.3vw, 18px); }
.bench-label { margin: 0 0 12px; font: 700 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.bench-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-dark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .2s, box-shadow .2s; }
.chip-dark:hover { background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--sky); }
.chip-dark .num { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13px; letter-spacing: .04em; }
.chip-dark.all { background: var(--c1-ui); box-shadow: none; padding-left: 16px; }
.chip-dark.all:hover { background: var(--c1-deep); }

.court-wrap { position: relative; background: var(--ink-2); border-radius: 28px; padding: clamp(26px, 3.4vw, 44px) clamp(18px, 3vw, 40px) clamp(40px, 4.6vw, 60px); }
.court { position: relative; aspect-ratio: 1; background: var(--c1-ui); box-shadow: inset 0 0 0 3px #fff; }
.court .netline { position: absolute; left: -14px; right: -14px; top: -5px; height: 9px; background: #fff; border-radius: 5px; }
.court .netline::before, .court .netline::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--ink-2); }
.court .netline::before { left: -8px; }
.court .netline::after { right: -8px; }
.court .attack { position: absolute; left: 0; right: 0; top: calc(33.333% - 1.5px); height: 3px; background: #fff; }
.net-label, .service-label { position: absolute; font: 700 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.net-label { top: -30px; left: 50%; transform: translateX(-50%); }
.service-label { bottom: -32px; right: 0; display: flex; align-items: center; gap: 8px; }
.service-label::before { content: ""; width: 34px; height: 3px; background: rgba(255, 255, 255, .55); }
.zone-grid { position: absolute; inset: 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(0, 2fr); }
.zone { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: clamp(8px, 1.3vw, 18px); color: #fff; text-decoration: none; border-right: 1px dashed rgba(255, 255, 255, .32); border-bottom: 1px dashed rgba(255, 255, 255, .32); transition: background-color .25s; }
.zone:nth-child(3n) { border-right: 0; }
.zone:nth-child(n+4) { border-bottom: 0; }
.zone:nth-child(-n+3) { border-bottom: 0; }
.zone:hover, .zone:focus-visible { background: rgba(255, 255, 255, .12); }
.zone:focus-visible { outline-offset: -4px; }
.zone.empty { pointer-events: none; }
.zone.empty .zone-name { opacity: .45; font-size: 14px; }
.zone.empty .zone-num { opacity: .35; }
.zone-num { font: 900 clamp(38px, 6.4vw, 96px)/.72 var(--display); color: transparent; -webkit-text-stroke: 2px #fff; transition: color .25s; }
.zone:hover .zone-num, .zone:focus-visible .zone-num { color: #fff; }
.zone-pos { display: block; margin-top: 8px; font: 700 11px/1.15 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #dff3fd; }
.zone-name { display: block; font: 800 clamp(14px, 1.7vw, 24px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.zone-count { display: block; margin-top: 4px; font: 500 12px/1.2 var(--body); color: #fff; }
.zone-plates { position: relative; flex: 1; min-height: 0; margin: 10px 0; }
.zone-plate { position: absolute; width: 70%; max-width: 176px; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7); transition: transform .35s var(--ease); }
.zone-plate img { position: absolute; left: 16%; top: 16%; width: 68%; height: 68%; object-fit: contain; }
.zone-plate:nth-child(1) { left: 6%; top: 8%; }
.zone-plate:nth-child(2) { right: 4%; top: 44%; width: 50%; max-width: 128px; }
.zone:hover .zone-plate:nth-child(1) { transform: translateY(-6px) rotate(-4deg); }
.zone:hover .zone-plate:nth-child(2) { transform: translateY(-3px) rotate(5deg); }
.zone.front .zone-plates { position: absolute; right: 8px; top: 8px; width: 42%; aspect-ratio: 1; margin: 0; }
.zone.front .zone-plate:nth-child(1) { left: 0; top: 0; width: 100%; }
.zone.front .zone-plate:nth-child(n+2) { display: none; }
.court-ball { position: absolute; inset: 0; pointer-events: none; transform: translate(var(--bx, 88%), var(--by, 90%)); transition: transform .6s cubic-bezier(.3, 1.35, .5, 1); }
.court-ball .ball { position: absolute; left: 0; top: 0; width: clamp(24px, 3vw, 40px); height: clamp(24px, 3vw, 40px); transform: translate(-50%, -50%); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
@media (max-width: 900px) {
  .zones-in { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .zones-copy { display: contents; }
  .zones-intro { order: 1; margin-bottom: 28px; }
  .court-wrap { order: 2; }
  .serving { order: 3; }
  .bench { order: 4; }
  .bench-list { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .bench-list::-webkit-scrollbar { display: none; }
  .bench-list > * { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .zone-pos { display: none; }
  .zone-plate { width: 74%; }
  .zone-plate:nth-child(2) { display: none; }
  .zone.front .zone-plates { display: none; }
  .zone-count { font-size: 11px; }
  .court-wrap { margin: 0 -4px; padding-bottom: 70px; }
  .service-label { bottom: -46px; }
  .rotate { bottom: 10px; }
}

/* ---------- rotations (home sections) ---------- */
.rot { padding: clamp(64px, 8vw, 116px) var(--gut); }
.rot-in { max-width: var(--max); margin: 0 auto; }
.rot.sky { background: var(--sky-soft); }
.rot.dark { background: var(--ink); color: #fff; }
.rot-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: clamp(16px, 2.6vw, 40px); margin-bottom: clamp(22px, 3vw, 40px); }
.rot-num { display: flex; flex-direction: column; align-items: flex-start; }
.rot-num small { font: 800 13px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--c1-ink); margin: 0 0 8px 2px; }
.rot-num b { font: 900 clamp(86px, 10vw, 150px)/.72 var(--display); color: transparent; -webkit-text-stroke: 2px var(--c1); }
.rot.dark .rot-num small { color: var(--sky); }
.rot.dark .rot-num b { -webkit-text-stroke-color: var(--sky); }
.rot-title h2 { margin: 0; font: 800 clamp(40px, 5.6vw, 80px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.rot-title p { margin: 10px 0 0; max-width: 40em; color: var(--muted); font-size: 17px; }
.rot.dark .rot-title p { color: rgba(255, 255, 255, .72); }
.rot.dark .link-arrow { color: var(--sky); }
@media (max-width: 760px) {
  .rot-head { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; align-items: end; }
  .rot-head .rot-end { grid-column: 1 / -1; justify-content: flex-start !important; }
  .rot-title p { font-size: 15px; }
  .rot-num b { font-size: 76px; }
}

.filters { display: flex; gap: 8px; margin: 0 0 clamp(18px, 2.4vw, 28px); overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.filters::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.pill sup { font: 600 12px/1 var(--body); letter-spacing: 0; opacity: .6; vertical-align: 0; }
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--c1); }
.pill[aria-pressed="true"], .pill[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 760px) { .filters { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); } }

/* shelves: grid on desktop, a swipe strip on phones */
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.shelf.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shelf.cap-8 > .tile:nth-child(n+9) { display: none; }
.shelf > .see-all { display: none; }
.shelf.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scroll-padding: 0 var(--gut); }
.shelf.rail::-webkit-scrollbar { display: none; }
.shelf.rail > * { flex: 0 0 clamp(210px, 21vw, 290px); scroll-snap-align: start; }
.shelf.rail > .see-all { display: flex; }
.rail-nav { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s; }
.round:hover { background: var(--ink); color: #fff; }
.round svg { width: 20px; height: 20px; }
@media (min-width: 761px) and (max-width: 1100px) { .shelf.cols-5 { gap: 16px; } .shelf.cols-5 .tile-meta { flex-direction: column; gap: 6px; } }
@media (max-width: 900px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shelf.cap-8 > .tile:nth-child(n+7) { display: none; } }
@media (max-width: 760px) {
  .shelf, .shelf.cols-5 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf > * { flex: 0 0 64%; scroll-snap-align: start; }
  .shelf.cap-8 > .tile:nth-child(n+7), .shelf.cap-8 > .tile:nth-child(n+9) { display: block; }
  .shelf > .see-all { display: flex; }
  .rail-nav { display: none; }
}

/* tiles */
.tile { position: relative; min-width: 0; }
.tile-link { display: block; text-decoration: none; color: inherit; border-radius: var(--r); }
.plate { position: relative; display: block; aspect-ratio: 1; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px rgba(7, 18, 28, .06), 0 1px 2px rgba(7, 18, 28, .05); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plate img { position: absolute; left: 7%; top: 7%; width: 86%; height: 86%; object-fit: contain; }
.tile-link:hover .plate, .tile-link:focus-visible .plate { transform: translateY(-5px); box-shadow: 0 0 0 2px var(--c1), 0 18px 34px -22px rgba(1, 60, 100, .55); }
.tile-fit { position: absolute; left: 10px; top: 10px; padding: 6px 9px 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tile-fit.youth { background: var(--c1-ui); }
.tile-out { position: absolute; right: 10px; top: 10px; padding: 6px 9px 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.tile-name { font: 600 15px/1.32 var(--body); }
.tile-price { flex: none; font: 800 19px/1 var(--display); color: var(--c1-ink); }
.rot.dark .tile-price { color: var(--sky); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sw { position: relative; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--c, #d9dee3); box-shadow: inset 0 0 0 1px rgba(7, 18, 28, .22); }
.sw::before { content: ""; position: absolute; inset: -9px; }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(7, 18, 28, .22), 0 0 0 2px var(--paper), 0 0 0 4px var(--c1); }
.rot.dark .sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 0 0 2px var(--ink), 0 0 0 4px var(--sky); }
.rot.sky .sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(7, 18, 28, .22), 0 0 0 2px var(--sky-soft), 0 0 0 4px var(--c1); }
.sw.thumb { width: 34px; height: 34px; border-radius: 10px; background: #fff center / 86% no-repeat; }
.sw.thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(7, 18, 28, .22), 0 0 0 2px var(--c1); }
.see-all { align-items: center; justify-content: center; flex-direction: column; gap: 10px; aspect-ratio: 1; border-radius: var(--r); background: var(--c1-ui); color: #fff; text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 16px; }
.see-all svg { width: 28px; height: 28px; }
.rot.dark .see-all { background: var(--ink-3); }

/* accessories: a rail on the blue court */
.rot.blue { background: var(--c1-ui); color: #fff; position: relative; overflow: hidden; }
.rot.blue .rot-num small, .rot.blue .kicker { color: #fff; }
.rot.blue .rot-num b { -webkit-text-stroke-color: #fff; }
.rot.blue .rot-title p { color: #fff; }
.rot.blue .link-arrow { color: #fff; }
.rot.blue .tile-price { color: #fff; }
.rot.blue .see-all { background: var(--ink); }
.rot.blue .round { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.rot.blue .round:hover { background: #fff; color: var(--c1-deep); }
.rot.blue .sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(7, 18, 28, .22), 0 0 0 2px var(--c1-ui), 0 0 0 4px #fff; }
.rot.blue .tile-link:hover .plate, .rot.blue .tile-link:focus-visible .plate { box-shadow: 0 0 0 3px #fff, 0 18px 34px -18px rgba(0, 30, 60, .6); }
.rot.dark .tile-link:hover .plate, .rot.dark .tile-link:focus-visible .plate { box-shadow: 0 0 0 3px var(--sky), 0 18px 34px -18px rgba(0, 0, 0, .6); }

/* headwear: round plates on a sky court */
.rack .plate { border-radius: 50%; }
.rack .tile-link:hover .plate { transform: translateY(-5px) rotate(-3deg); }
.rack .plate img { left: 16%; top: 16%; width: 68%; height: 68%; }
.rack .tile-meta { justify-content: center; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.rack .swatches { justify-content: center; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* more collections */
.more { padding: clamp(64px, 8vw, 116px) var(--gut); background: var(--paper); }
.more-in { max-width: var(--max); margin: 0 auto; }
.more-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 3vw, 36px); }
@media (max-width: 760px) { .more-head { flex-direction: column; align-items: flex-start; gap: 6px; } }
.boards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.board { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(7, 18, 28, .05); color: var(--text); text-decoration: none; overflow: hidden; transition: background-color .25s; }
.board:hover { background: var(--sky-soft); }
.board-fan { position: relative; height: 170px; margin: 6px 0 16px; }
.board-fan .plate { position: absolute; top: 0; width: 46%; max-width: 160px; border-radius: 16px; box-shadow: 0 12px 26px -18px rgba(1, 50, 90, .6); }
.board-fan .plate:nth-child(1) { left: 0; transform: rotate(-6deg); }
.board-fan .plate:nth-child(2) { left: 27%; top: 14px; z-index: 1; }
.board-fan .plate:nth-child(3) { left: 54%; transform: rotate(6deg); }
.board:hover .board-fan .plate:nth-child(1) { transform: rotate(-9deg) translateY(-4px); }
.board:hover .board-fan .plate:nth-child(3) { transform: rotate(9deg) translateY(-4px); }
.board h3 { margin: 0; font: 800 clamp(28px, 3vw, 40px)/.95 var(--display); text-transform: uppercase; }
.board p { margin: 6px 0 0; padding-right: 56px; color: var(--muted); font-size: 15px; }
.board .go { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .2s, transform .25s var(--ease); }
.board:hover .go { background: var(--c1); transform: translateX(3px); }
.board .go svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .boards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); }
  .boards::-webkit-scrollbar { display: none; }
  .board { flex: 0 0 78%; scroll-snap-align: start; min-height: 280px; }
}

/* ---------- shop view ---------- */
.shop-top { position: relative; overflow: hidden; background: var(--c1-ui); color: #fff; padding: calc(var(--hh) + clamp(28px, 5vw, 64px)) var(--gut) clamp(28px, 4vw, 48px); }
.shop-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: #fff; }
.shop-top::before { content: ""; position: absolute; right: -4%; top: -30%; width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); }
.shop-top-in { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; }
.shop-top .kicker { color: #fff; }
.shop-top h1 { margin: 0; font: 800 clamp(52px, 8vw, 120px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.005em; overflow-wrap: anywhere; }
.shop-top .sub { margin: 12px 0 0; font-size: 17px; color: #fff; }
.shop-top .zone-mark { font: 900 clamp(100px, 14vw, 200px)/.72 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .6); }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 18px; padding: 0 16px 0 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.back:hover { background: rgba(255, 255, 255, .28); }
.back svg { width: 18px; height: 18px; }
.shop-bar { position: sticky; top: var(--hh); z-index: 20; background: rgba(242, 245, 248, .97); box-shadow: 0 1px 0 var(--line); padding: 12px var(--gut); }
.shop-bar-in { max-width: var(--max); margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.shop-bar .filters { margin: 0; flex: 1; min-width: 0; padding-bottom: 2px; }
.tools { display: flex; gap: 8px; flex: none; }
.field { position: relative; display: flex; align-items: center; }
.field svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.field input, .field select { height: 44px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px 0 40px; font-size: 16px; min-width: 0; }
.field input { width: 220px; }
.field select { padding: 0 34px 0 16px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--c1); }
.shop-main { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 3vw, 40px) var(--gut) clamp(64px, 8vw, 110px); }
.shop-count { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px) clamp(14px, 1.8vw, 24px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .shop-bar { position: static; }
  .shop-bar-in { flex-direction: column; align-items: stretch; }
  .tools { width: 100%; }
  .tools .field { flex: 1; }
  .field input { width: 100%; }
  .field select { width: 100%; }
}
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .grid .tile-meta { flex-direction: column; gap: 6px; }
  .grid .tile-name { font-size: 14px; }
  .shop-top-in { grid-template-columns: minmax(0, 1fr); }
  .shop-top .zone-mark { display: none; }
}
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .ball { width: 64px; height: 64px; margin: 0 auto 16px; }
.empty-state h3 { margin: 0 0 6px; font: 800 28px/1 var(--display); text-transform: uppercase; color: var(--text); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .8); }
.foot-tape { background: #fff; height: 34px; display: flex; align-items: center; justify-content: center; gap: 2.2em; overflow: hidden; white-space: nowrap; font: 800 15px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--c1-deep); }
.foot-mesh { height: clamp(56px, 7vw, 96px); background-image: linear-gradient(90deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px), linear-gradient(180deg, rgba(255, 255, 255, .13) 0 2px, transparent 2px); background-size: 30px 30px; background-position: 50% 0; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.foot-tape i { font-style: normal; color: var(--c1); }
.foot-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); padding: clamp(8px, 2vw, 24px) var(--gut) 40px; }
.foot-brand .brand { box-shadow: none; }
.foot-brand .brand img { height: 60px; }
.foot-brand p { margin: 20px 0 0; max-width: 28em; }
.foot h4 { margin: 0 0 14px; font: 700 13px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--sky); }
.foot-links { display: flex; flex-direction: column; align-items: flex-start; }
.foot-links.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.foot-links a, .foot-links button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; color: #fff; text-decoration: none; font-size: 16px; text-align: left; }
.foot-links a:hover, .foot-links button:hover { color: var(--sky); }
.foot-base { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px var(--gut) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.powered { display: inline-flex; align-items: center; gap: 12px; }
.powered a { display: inline-flex; min-height: 44px; align-items: center; }
.powered img { display: block; height: 24px; width: auto; }
@media (max-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .foot-tape { justify-content: flex-start; padding-left: 16px; font-size: 13px; } }

/* ---------- dialogs ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4, 14, 24, .56); opacity: 0; pointer-events: none; transition: opacity .22s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.dlg { position: fixed; z-index: 70; background: #fff; color: var(--text); display: flex; flex-direction: column; visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; }
.dlg.open { visibility: visible; transition: transform .38s var(--ease), visibility 0s; }
.dlg:focus { outline: none; }
.dlg-right { top: 0; right: 0; bottom: 0; width: min(1040px, 94vw); transform: translateX(104%); }
.dlg-right.narrow { width: min(480px, 100vw); }
.dlg-right.open { transform: none; }
.dlg-top { top: 0; left: 0; right: 0; max-height: 88vh; transform: translateY(-104%); border-radius: 0 0 24px 24px; }
.dlg-top.open { transform: none; }
@media (max-width: 760px) {
  .dlg-right, .dlg-right.narrow { top: auto; left: 0; width: 100vw; height: calc(100% - 28px); border-radius: 22px 22px 0 0; transform: translateY(112%); }
  .dlg-right.open { transform: none; }
}
.x { position: absolute; z-index: 5; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; }
.x:hover { background: var(--ink); color: #fff; }
.x svg { width: 22px; height: 22px; }

/* product */
.pdp { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; }
.pdp-media { position: relative; background: var(--paper); padding: clamp(18px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.gal { margin: auto 0; display: flex; flex-direction: column; gap: 14px; }
.pdp-main { position: relative; aspect-ratio: 1; width: 100%; background: #fff; border-radius: 22px; }
.pdp-main img { position: absolute; left: 6%; top: 6%; width: 88%; height: 88%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.thumbs button img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.thumbs button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c1); }
.pdp-info { position: relative; display: flex; flex-direction: column; min-height: 0; }
.pdp-scroll { flex: 1; overflow-y: auto; padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px) 24px; }
.pdp-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding-right: 56px; font: 700 13px/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--c1-ink); }
.pdp-kicker .ball { width: 18px; height: 18px; }
.pdp h2 { margin: 0; padding-right: 40px; font: 800 clamp(34px, 3.4vw, 50px)/.95 var(--display); text-transform: uppercase; }
.pdp-price { margin: 14px 0 0; font: 800 30px/1 var(--display); color: var(--c1-ink); }
.pdp-price s { color: var(--muted); font-size: 22px; margin-right: 10px; font-weight: 600; }
.opt { margin-top: 26px; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font: 700 14px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.opt-label em { font: 500 15px/1.2 var(--body); letter-spacing: 0; text-transform: none; font-style: normal; color: var(--muted); }
.opt-label em.bad { color: #c2311d; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 52px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 700 16px/1 var(--display); letter-spacing: .06em; transition: box-shadow .15s, background-color .15s, color .15s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--c1); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip.dim { color: var(--muted); background: repeating-linear-gradient(135deg, #fff 0 6px, #f1f3f5 6px 12px); }
.chip[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.chip.text { font: 600 15px/1.2 var(--body); letter-spacing: 0; text-transform: none; padding: 10px 14px; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.color { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px 0 8px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 15px/1.2 var(--body); }
.color .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(7, 18, 28, .2); flex: none; }
.color.thumb { padding-left: 6px; min-height: 56px; }
.color.thumb .dot { width: 44px; height: 44px; border-radius: 10px; background: #fff center / 92% no-repeat; }
.color:hover { box-shadow: inset 0 0 0 1.5px var(--c1); }
.color[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper); }
.color[disabled] { opacity: .4; }
.static-opt { margin: 0; font: 600 16px/1.3 var(--body); }
.input { width: 100%; height: 50px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 14px; font-size: 16px; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--c1); }
.input.bad { box-shadow: inset 0 0 0 2px #c2311d; }
select.input { appearance: none; -webkit-appearance: none; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.err { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #9d2413; font-weight: 600; font-size: 15px; }
.details { margin-top: 28px; border-top: 1px solid var(--line); }
.details summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; list-style: none; font: 700 14px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font: 600 24px/1 var(--body); color: var(--c1); }
.details[open] summary::after { content: "–"; }
.desc { color: #33434f; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.desc h1, .desc h2, .desc h3 { font: 700 16px/1.3 var(--body); margin: 16px 0 6px; }
.desc ul { padding-left: 20px; }
.desc img { max-width: 100%; height: auto; }
.buy { display: flex; gap: 10px; align-items: center; padding: 14px clamp(16px, 3vw, 44px) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.buy .btn { flex: 1; min-width: 0; min-height: 56px; padding: 0 16px; }
.buy .btn span.sum { opacity: .75; font-weight: 700; }
.buy .btn.ask { background: var(--ink); }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; }
.qty button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font: 600 22px/1 var(--body); }
.qty button:hover { background: var(--paper); }
.qty output { min-width: 22px; text-align: center; font: 800 19px/1 var(--display); }
.skeleton { background: linear-gradient(90deg, #eef2f5, #f6f8fa); border-radius: 12px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); overflow-y: auto; display: block; }
  .pdp-media { overflow: visible; padding: 18px 18px 6px; }
  .pdp-main { max-width: 460px; margin: 0 auto; }
  .pdp-info { display: block; }
  .pdp-scroll { overflow: visible; padding: 18px 20px 28px; }
  .dlg-right .buy { position: sticky; bottom: 0; }
  .pdp-wrap { flex: 1; min-height: 0; overflow-y: auto; }
}
@media (max-width: 380px) { .qty button { width: 40px; } .buy .btn { font-size: 15px; letter-spacing: .08em; } }

/* pack */
.pack-items { display: flex; flex-direction: column; gap: 12px; }
.pack-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px; border-radius: 16px; background: var(--paper); }
.pack-item .plate { border-radius: 12px; }
.pack-item b { display: block; font: 600 15px/1.3 var(--body); margin-bottom: 8px; }
.pack-item .chips .chip { min-height: 44px; min-width: 44px; }

/* bag */
.bag-head { display: flex; align-items: center; gap: 14px; padding: 20px 76px 16px 24px; border-bottom: 1px solid var(--line); }
.bag-head h2 { margin: 0; font: 800 34px/1 var(--display); text-transform: uppercase; }
.bag-head .score { pointer-events: none; }
.bag-lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .plate { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.line h3 { margin: 0; font: 600 15px/1.3 var(--body); }
.line p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.line .qty { height: 44px; margin-top: 10px; }
.line .qty button { width: 40px; height: 40px; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line-end strong { font: 800 19px/1 var(--display); }
.remove { min-height: 44px; border: 0; background: none; padding: 0; color: var(--muted); font-size: 14px; text-decoration: underline; }
.remove:hover { color: #9d2413; }
.bag-foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.bag-sum { display: flex; justify-content: space-between; align-items: baseline; font: 700 15px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.bag-sum strong { font: 800 30px/1 var(--display); letter-spacing: 0; }
.bag-foot .btn { width: 100%; margin-top: 14px; min-height: 56px; }
.bag-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.bag-empty { display: grid; place-items: center; text-align: center; height: 100%; padding: 40px 10px; }
.bag-empty .ball { width: 72px; height: 72px; margin: 0 auto 18px; }
.bag-empty h3 { margin: 0; font: 800 30px/1 var(--display); text-transform: uppercase; }
.bag-empty p { margin: 8px 0 20px; color: var(--muted); }

/* search */
.search-in { max-width: var(--max); width: 100%; margin: 0 auto; padding: 22px var(--gut) 26px; display: flex; flex-direction: column; min-height: 0; }
.search-row { display: flex; gap: 10px; align-items: center; padding-right: 56px; }
.search-row .field { flex: 1; }
.search-row .field input { width: 100%; height: 56px; font-size: 18px; padding-left: 46px; }
.search-row .field svg { left: 16px; width: 20px; height: 20px; }
.results { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; overflow-y: auto; min-height: 0; }
.result { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 14px; text-decoration: none; color: inherit; }
.result:hover, .result:focus-visible { background: var(--paper); }
.result .plate { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.result b { display: block; font: 600 14px/1.3 var(--body); color: var(--text); }
.result .rp { display: block; margin-top: 4px; font: 800 16px/1 var(--display); color: var(--c1-ink); }
.search-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-foot p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .results { grid-template-columns: minmax(0, 1fr); } }

/* menu (phones) */
.nav-list { padding: 24px var(--gut) 30px; overflow-y: auto; }
.nav-list h3 { margin: 0 0 14px; font: 700 13px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--c1-ink); }
.nav-list a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 24px/1 var(--display); text-transform: uppercase; }
.nav-list a span { font: 500 14px/1 var(--body); color: var(--muted); }

/* toast + flying ball */
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 24px); padding: 10px 10px 10px 14px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); transform: translate(-50%, 150%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .ball { width: 30px; height: 30px; flex: none; }
.toast p { margin: 0; font-size: 14px; line-height: 1.3; min-width: 0; }
.toast p b { display: block; font: 800 16px/1.1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.toast p span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
.toast .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.flyer { position: fixed; z-index: 90; left: 0; top: 0; width: 40px; height: 40px; pointer-events: none; will-change: transform; filter: drop-shadow(0 8px 8px rgba(0, 20, 40, .35)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .tape-track { animation: none; }
  .js .rv { opacity: 1; transform: none; }
}
