/* Spring Run Athletic Association: a reversible store. The navy side is game night (bold type, stripes, motion);
   the white side is calm and plain. Both sides share one layout, so reversing never moves anything. */
:root {
  --navy: #122048; --navy-deep: #0b1533; --navy-2: #1a2b5e; --navy-3: #22356f;
  --red: #d32027; --sky: #2bbcf0; --slate: #505872; --mist: #afb4c4; --ice: #f2f5f9; --line: #dbe1eb;
  --ff: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fd: 'Barlow Condensed', 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --t: 1;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}
html[data-side=navy] {
  --bg: #0b1533; --bg-2: #122048; --panel: #1a2b5e; --ink: #ffffff; --muted: #c6d0e5; --accent: #2bbcf0;
  --rule: rgba(255, 255, 255, .16); --chip: #22356f; --chip-ink: #ffffff; --btn: #d32027; --btn-ink: #ffffff;
  --btn-2: transparent; --btn-2-ink: #ffffff; --btn-2-line: rgba(255, 255, 255, .55); --plate-line: transparent;
  color-scheme: dark;
}
html[data-side=white] {
  --bg: #ffffff; --bg-2: #f3f6fa; --panel: #ffffff; --ink: #122048; --muted: #4c5570; --accent: #c41d24;
  --rule: #dbe1eb; --chip: #ffffff; --chip-ink: #122048; --btn: #122048; --btn-ink: #ffffff;
  --btn-2: #ffffff; --btn-2-ink: #122048; --btn-2-line: #b8c2d4; --plate-line: #e3e8f0;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--ff);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
html[data-side=white] :focus-visible { outline-color: #1f6fd1; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #122048; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 10px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type that changes with the side ---------- */
.disp { font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
html[data-side=white] .disp { font-family: var(--ff); font-weight: 600; text-transform: none; letter-spacing: -.015em; line-height: 1.04; }
.kick { font: 600 13px/1.2 var(--ff); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0; }
html[data-side=white] .kick { letter-spacing: .08em; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--bg); transition: background-color .3s ease; }
html[data-side=navy] .hdr::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; pointer-events: none;
  background: linear-gradient(to bottom, var(--red) 0 2px, #fff 2px 3px, var(--sky) 3px 5px, transparent 5px); }
html[data-side=white] .hdr { box-shadow: 0 1px 0 var(--rule); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 14px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; flex: 0 1 auto; min-height: 44px; }
.brand img { width: 38px; height: 48px; object-fit: contain; flex: none; }
.brand b { display: block; font: 800 19px/1 var(--fd); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { display: block; font: 600 11px/1.25 var(--ff); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-side=white] .brand b { font: 600 17px/1.1 var(--ff); text-transform: none; letter-spacing: 0; }
.brand span { min-width: 0; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 8px; white-space: nowrap; position: relative; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current=page]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.nav + .tools { margin-left: 12px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; position: relative; }
.icon-btn:hover { background: var(--rule); }
.icon-btn svg { width: 24px; height: 24px; }
.count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font: 600 11.5px/19px var(--ff); text-align: center; }
.count[data-n="0"] { display: none; }

/* the reversible switch */
.side { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--rule); }
.side button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 600 14px/1 var(--ff); display: inline-flex; align-items: center; gap: 7px; color: var(--ink); position: relative; }
.side button::after { content: ''; position: absolute; inset: -3px 0; }
.side button i { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.side button[data-side-set=navy] i { background: var(--navy); box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px var(--navy); }
.side button[data-side-set=white] i { background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.side button[aria-pressed=true] { background: var(--ink); color: var(--bg); }
.menu-btn { display: grid; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 16px/1 var(--ff); text-decoration: none; background: var(--btn); color: var(--btn-ink); transition: transform .2s var(--ease), background-color .3s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.alt { background: var(--btn-2); color: var(--btn-2-ink); box-shadow: inset 0 0 0 1.5px var(--btn-2-line); }
.btn svg { width: 20px; height: 20px; }
.btn[aria-busy=true] { opacity: .8; cursor: progress; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--chip); color: var(--chip-ink); box-shadow: inset 0 0 0 1px var(--rule); font-weight: 600; font-size: 15px; }
.chip[aria-pressed=true] { background: var(--ink); color: var(--bg); box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); transition: background-color .3s ease; }
.hero-in { max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; min-height: 470px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .kick { margin-bottom: 18px; }
.hero h1 { margin: 0; font-size: clamp(64px, 9.2vw, 132px); }
.hero h1 .l1, .hero h1 .l2 { display: block; }
html[data-side=navy] .hero h1 .l2 { color: var(--sky); }
html[data-side=white] .hero h1 { font-size: clamp(48px, 6.6vw, 92px); }
html[data-side=white] .hero h1 .l2 { color: var(--navy); }
.hero-cta .side { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.hero-art { position: relative; height: 470px; display: grid; place-items: center; }
.hero-art .halo { position: absolute; width: 470px; height: 470px; border-radius: 50%; transition: opacity .35s ease; }
html[data-side=navy] .hero-art .halo { background: radial-gradient(closest-side, rgba(43, 188, 240, .26), rgba(43, 188, 240, .08) 55%, rgba(43, 188, 240, 0)); }
html[data-side=white] .hero-art .halo { background: var(--ice); width: 400px; height: 400px; }
.stripes { position: absolute; left: 50%; top: 50%; width: 1600px; height: 1120px; max-width: none; margin: -560px 0 0 -800px; transition: opacity .35s ease; pointer-events: none; }
html[data-side=white] .stripes { opacity: 0; }
.emblem { position: relative; width: 340px; transition: transform .45s var(--ease); }
.emblem img { width: 100%; height: auto; aspect-ratio: 572 / 720; }
html[data-side=white] .emblem { transform: scale(.86); }
.eye { position: absolute; width: 11%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(200, 244, 255, .95) 0 14%, rgba(43, 188, 240, .62) 32%, rgba(43, 188, 240, 0) 70%); transition: opacity .4s ease; }
.emblem.no-art .eye { display: none; }
.eye.l { left: 42.5%; top: 23.5%; }
.eye.r { left: 58.4%; top: 23.3%; }
html[data-side=navy] .eye { opacity: .78; }
html[data-side=navy] .emblem:hover .eye { opacity: 1; }

/* program doors: every door is a two-sided card; reversing the store flips them in a wave */
.doors { max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.doors li { min-width: 0; }
.door { display: block; height: 196px; perspective: 1100px; text-decoration: none; color: inherit; border-radius: 18px; }
.door-in { position: relative; display: block; height: 100%; transform-style: preserve-3d; transition: transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html[data-side=white] .door-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: 16px 18px 16px; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.face.nv { background: #1a2b5e; color: #fff; }
.face.nv::before { content: ''; position: absolute; right: 20px; top: -52px; width: 44px; height: 148px; transform: rotate(24deg); background: linear-gradient(90deg, #d32027 0 46%, #fff 46% 56%, #2bbcf0 56% 100%); }
.face.wh { background: #fff; color: #122048; box-shadow: inset 0 0 0 1px #d5dce8; transform: rotateY(180deg); }
.face .mk { display: flex; align-items: center; min-height: 0; position: relative; }
.face .mk img { height: 92px; width: auto; max-width: 70%; object-fit: contain; }
.face .mk .plate { display: inline-flex; padding: 12px 14px; border-radius: 12px; background: #122048; }
.face .mk .plate img { height: 50px; max-width: 100%; }
.face .mk svg { height: 92px; width: auto; }
.face b { display: block; position: relative; }
.face.nv b { font: 800 30px/1 var(--fd); text-transform: uppercase; letter-spacing: .01em; }
.face.wh b { font: 600 23px/1.15 var(--ff); }
.face small { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 14px; position: relative; }
.face.nv small { color: #c6d0e5; }
.face.wh small { color: #4c5570; }
.face small svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.door:hover .face small svg { transform: translateX(4px); }
.door:focus-visible { outline-offset: 4px; }

/* intro: navy side flips the doors from their white faces and sweeps the stripes in; white side only settles */
html.intro[data-side=navy] .hero-copy > * { animation: rise calc(.6s * var(--t)) var(--ease) backwards; }
html.intro[data-side=navy] .hero-copy > :nth-child(2) { animation-delay: calc(.06s * var(--t)); }
html.intro[data-side=navy] .hero-copy > :nth-child(3) { animation-delay: calc(.24s * var(--t)); }
html.intro[data-side=navy] .emblem { animation: drop calc(.75s * var(--t)) var(--ease) backwards; }
html.intro[data-side=navy] .eye { animation: glow calc(1.1s * var(--t)) ease calc(.55s * var(--t)) backwards; }
html.intro[data-side=navy] .stripes .s { animation: sweep calc(.7s * var(--t)) var(--ease) backwards; }
html.intro[data-side=navy] .stripes .s2 { animation-delay: calc(.07s * var(--t)); }
html.intro[data-side=navy] .stripes .s3 { animation-delay: calc(.14s * var(--t)); }
html.intro[data-side=navy] .door-in { animation: flipin calc(.6s * var(--t)) var(--ease) backwards; animation-delay: calc((.42s + var(--i, 0) * .09s) * var(--t)); }
html.intro[data-side=white] .hero-copy, html.intro[data-side=white] .hero-art, html.intro[data-side=white] .doors li { animation: settle calc(.55s * var(--t)) ease-out backwards; }
html.intro[data-side=white] .hero-art { animation-delay: calc(.08s * var(--t)); }
html.intro[data-side=white] .doors li { animation-delay: calc((.14s + var(--i, 0) * .05s) * var(--t)); }
@keyframes rise { from { opacity: .16; transform: translateY(18px); } }
@keyframes settle { from { opacity: .16; transform: translateY(8px); } }
@keyframes drop { from { transform: translateY(-26px) scale(.9) rotate(-4deg); } }
@keyframes glow { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: .78; } }
@keyframes sweep { from { transform: translate(1096px, -488px); } }
@keyframes flipin { from { transform: rotateY(180deg); } }

/* ---------- program bands (home) ---------- */
.band { padding: 54px 0 58px; background: var(--bg); transition: background-color .3s ease; }
.band:nth-of-type(even) { background: var(--bg-2); }
.band-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.band-mark { width: 64px; height: 64px; flex: none; display: grid; place-items: center; }
.band-mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.band-mark .plate { display: grid; place-items: center; height: 64px; border-radius: 14px; background: #122048; padding: 8px 12px; }
.band-mark:has(.plate) { width: auto; }
.band-mark .plate img { height: 46px; width: auto; max-width: none; }
.band-mark svg { width: 60px; height: 60px; }
.band-head h2 { margin: 0; font-size: clamp(34px, 4.4vw, 52px); }
.band-head .kick { margin-bottom: 4px; }
.band-head > div { min-width: 0; }
.band-head .link { margin-left: auto; flex: none; }
html[data-side=navy] .band-head h2::after, html[data-side=navy] .page-head h1::after { content: ''; display: block; width: 76px; height: 6px; margin-top: 10px; transform: skewX(-24deg); transform-origin: left;
  background: linear-gradient(90deg, #d32027 0 52%, transparent 52% 58%, #fff 58% 70%, transparent 70% 76%, #2bbcf0 76%); }
.empty { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 26px 28px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); }
.empty p { margin: 0; font-size: 17px; }
.empty .soon { font-size: 30px; }

/* swipe strips: one row, sideways only */
.strip-wrap { position: relative; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 18px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 4px 0 10px; list-style: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > li { scroll-snap-align: start; }
.strip-nav { display: flex; gap: 8px; flex: none; }
.strip-nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink); box-shadow: inset 0 0 0 1px var(--rule); }
.strip-nav button:disabled { opacity: .35; cursor: default; }
.strip-nav svg { width: 20px; height: 20px; }

/* tiles */
.tile { position: relative; min-width: 0; }
.tile-a { display: block; text-decoration: none; color: inherit; border-radius: 16px; }
.ph { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--plate-line); transition: transform .25s var(--ease); }
.ph img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.ph[data-photo-failed=true] { background: #eef2f8; }
.ph .ph-fb { position: absolute; inset: 0; display: none; place-items: center; }
.ph[data-photo-failed=true] .ph-fb { display: grid; }
.ph .ph-fb img { position: static; width: 30%; height: auto; opacity: .55; }
.ph .ph-fb .fb-plate { display: grid; place-items: center; width: 52%; padding: 7% 6%; border-radius: 12px; background: #122048; opacity: .7; }
.ph .ph-fb .fb-plate img { width: 100%; opacity: 1; }
.thumbs .ph-fb { position: absolute; inset: 0; display: none; place-items: center; }
.thumbs button[data-photo-failed=true] .ph-fb { display: grid; }
.thumbs .ph-fb img { position: static; width: 46%; height: auto; opacity: .5; }
.thumbs .ph-fb .fb-plate { display: grid; place-items: center; width: 70%; padding: 6px; border-radius: 6px; background: #122048; opacity: .7; }
.thumbs .ph-fb .fb-plate img { width: 100%; opacity: 1; }
html[data-side=navy] .tile-a:hover .ph { transform: translateY(-5px) rotate(-.6deg); }
html[data-side=white] .tile-a:hover .ph { box-shadow: inset 0 0 0 1.5px #8d99b3; }
.meta { display: block; padding: 12px 2px 0; }
.meta .mfr { display: block; font: 600 12.5px/1.2 var(--ff); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.meta .name { display: block; margin-top: 4px; font-weight: 600; font-size: 16px; line-height: 1.3; }
html[data-side=navy] .meta .name { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
html[data-side=navy] .tile-a:hover .meta .name { background-size: 100% 2px; }
.meta .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; }
.meta .fit { font-size: 14px; color: var(--muted); }
.meta .price { font-weight: 600; }
.badge { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 6px; background: #122048; color: #fff; font: 600 12.5px/1.3 var(--ff); }
.tile.out .ph img { opacity: .55; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }

/* ---------- program and gear pages ---------- */
.page-head { position: relative; overflow: hidden; background: var(--bg-2); transition: background-color .3s ease; }
html[data-side=navy] .page-head::after { content: ''; position: absolute; right: 8%; top: -40px; width: 120px; height: 140%; transform: rotate(24deg); background: linear-gradient(90deg, #d32027 0 46%, #fff 46% 56%, #2bbcf0 56% 100%); opacity: .9; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding-top: 30px; padding-bottom: 30px; min-height: 220px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted); }
.crumb svg { width: 18px; height: 18px; }
.page-head h1 { margin: 2px 0 0; font-size: clamp(44px, 6vw, 84px); }
.page-mark { flex: none; display: grid; place-items: center; width: 168px; }
.page-mark img { max-height: 170px; width: auto; }
.page-mark .plate { padding: 18px 20px; border-radius: 18px; background: #122048; }
.page-mark .plate img { max-height: 90px; }
.page-mark svg { width: 150px; height: 150px; }
.page-mark .on-white, .page-mark .narrow { display: none; }
html[data-side=white] .page-mark .on-white { display: block; }
html[data-side=white] .page-mark .on-navy { display: none; }
.page-body { padding: 26px 0 64px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 26px; }
.filters > span { font-weight: 600; color: var(--muted); font-size: 15px; }
.group + .group { margin-top: 48px; }
.group h2 { margin: 0 0 18px; font-size: 30px; }
html[data-side=white] .group h2 { font-size: 26px; }
.others { padding: 44px 0 60px; background: var(--bg-2); transition: background-color .3s ease; }
.others h2 { margin: 0 0 18px; font-size: 30px; }
.others .doors { padding: 0 var(--pad); }

/* gear closet */
.gear-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gear-door { display: flex; align-items: center; gap: 16px; min-height: 120px; padding: 16px 18px; border-radius: 18px; text-decoration: none; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); transition: transform .25s var(--ease), background-color .3s ease; }
.gear-door:hover { transform: translateY(-3px); }
.gear-door .pics { position: relative; flex: none; width: 112px; height: 88px; }
.gear-door .pics span { position: absolute; top: 0; width: 72px; height: 72px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--plate-line); }
.gear-door .pics span:nth-child(1) { left: 0; top: 14px; }
.gear-door .pics span:nth-child(2) { left: 40px; top: 0; }
.gear-door .pics img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.gear-door b { display: block; font-size: 20px; }
.gear-door small { display: block; color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.ftr { background: #0b1533; color: #fff; padding: 46px 0 34px; }
html[data-side=white] .ftr { background: var(--ice); color: #122048; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.ftr .who { display: flex; gap: 14px; align-items: center; }
.ftr .who img { width: 56px; height: auto; }
.ftr .who b { display: block; font-size: 18px; }
.ftr .who small { display: block; color: inherit; opacity: .86; font-size: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.ftr li a:hover { text-decoration: underline; }
.powered { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
html[data-side=white] .powered { border-top-color: #cfd7e4; }
.powered a { display: inline-flex; align-items: center; min-height: 44px; }
.powered img { width: 150px; height: auto; }
.powered .on-white { display: none; }
html[data-side=white] .powered .on-white { display: block; }
html[data-side=white] .powered .on-navy { display: none; }

/* ---------- layers ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(5, 10, 26, .58); }
.layer { position: fixed; z-index: 50; background: #fff; color: #122048; display: flex; flex-direction: column; overflow: hidden; outline: 0; --ink: #122048; --muted: #4c5570; --rule: #dbe1eb; --chip: #fff; --chip-ink: #122048; --accent: #c41d24; color-scheme: light; }
.layer.open { animation: lyr .3s var(--ease) backwards; }
.drawer { top: 0; bottom: 0; right: 0; width: min(440px, 100%); }
.drawer.left { right: auto; left: 0; }
.drawer.open { animation-name: lyr-r; }
.drawer.left.open { animation-name: lyr-l; }
@keyframes lyr { from { transform: translateY(24px); } }
@keyframes lyr-r { from { transform: translateX(40px); } }
@keyframes lyr-l { from { transform: translateX(-40px); } }
.lyr-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; min-height: 64px; border-bottom: 1px solid #dbe1eb; flex: none; }
.lyr-head h2 { margin: 0; font-size: 20px; font-weight: 600; flex: 1; min-width: 0; }
.pv-crumb { margin: 0; flex: 1; min-width: 0; font: 600 13px/1.2 var(--ff); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lyr-body { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef2f8; color: #122048; display: grid; place-items: center; flex: none; }
.x svg { width: 22px; height: 22px; }
html[data-side=navy] .layer .lyr-head { background: #122048; color: #fff; border-bottom: 0; box-shadow: inset 0 -3px 0 var(--red); }
html[data-side=navy] .layer .lyr-head .x { background: rgba(255, 255, 255, .14); color: #fff; }

/* product view */
.pv { left: 50%; top: 50%; width: min(1040px, calc(100% - 48px)); height: min(760px, calc(100% - 48px)); transform: translate(-50%, -50%); border-radius: 22px; }
.pv.open { animation-name: pv-in; }
@keyframes pv-in { from { transform: translate(-50%, calc(-50% + 24px)); } }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100%; }
.gal { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid #e6ebf2; }
.gal-main { position: relative; aspect-ratio: 1; border-radius: 16px; background: #fff; }
.gal-main img { position: absolute; inset: 3%; width: 94%; height: 94%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.thumbs button { position: relative; width: 64px; height: 64px; padding: 0; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px #d5dce8; }
.thumbs button[aria-pressed=true] { box-shadow: inset 0 0 0 2.5px #122048; }
.thumbs img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.info { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.info .prog { font: 600 13px/1.2 var(--ff); letter-spacing: .1em; text-transform: uppercase; color: #c41d24; margin: 0; }
.info h2 { margin: 6px 0 0; font-size: 28px; line-height: 1.15; font-weight: 600; }
.info .sub { margin: 6px 0 0; color: #4c5570; }
.info .price { font-size: 24px; font-weight: 600; margin: 0; }
.opt-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 8px; font-weight: 600; }
.opt-label span { font-weight: 400; color: #4c5570; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.opt { min-width: 52px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; color: #122048; box-shadow: inset 0 0 0 1.5px #b8c2d4; font-weight: 600; }
.opt[aria-pressed=true] { background: #122048; color: #fff; box-shadow: none; }
.opt:disabled { color: #8a93a8; box-shadow: inset 0 0 0 1px #dbe1eb; text-decoration: line-through; cursor: not-allowed; }
.opt[aria-pressed=true]:disabled { background: #eef2f8; color: #6b7389; }
.opt.sw { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 8px; }
.opt.sw i { width: 26px; height: 26px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(18, 32, 72, .28); }
.opt.sw[aria-pressed=true] i { box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px rgba(255, 255, 255, .5); }
.note { margin: 0; font-size: 15px; color: #4c5570; min-height: 1.2em; }
.note.err { color: #b3121a; font-weight: 600; }
.pz { display: grid; gap: 14px; }
.pz label { display: grid; gap: 6px; font-weight: 600; }
.pz label em { font-style: normal; font-weight: 400; color: #4c5570; }
.pz input, .pz select { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #b8c2d4; background: #fff; color: #122048; width: 100%; }
.pz .hint { margin: 0; color: #4c5570; font-size: 14px; font-weight: 400; }
.nums { display: flex; flex-wrap: wrap; gap: 6px; max-height: 200px; overflow-y: auto; overflow-x: hidden; margin: 0; padding: 2px; list-style: none; }
.nums .opt { min-width: 48px; padding: 0 8px; }
.buy { display: flex; align-items: center; gap: 12px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #b8c2d4; flex: none; }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: #122048; }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.buy .btn { flex: 1; min-width: 0; }
.layer .btn { background: #122048; color: #fff; }
html[data-side=navy] .layer .btn.go { background: #d32027; }
.layer .btn.off, html[data-side=navy] .layer .btn.go.off { background: #e3e7ef; color: #4c5570; cursor: not-allowed; transform: none; }
.layer .btn.alt { background: #fff; color: #122048; box-shadow: inset 0 0 0 1.5px #b8c2d4; }
.added { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 14px; border-radius: 12px; background: #eaf6ee; color: #14532d; font-weight: 600; }
.added button { min-height: 44px; border: 0; background: transparent; color: #122048; font-weight: 600; text-decoration: underline; padding: 0 4px; }
.details { border-top: 1px solid #dbe1eb; padding-top: 8px; }
.details summary { min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
.desc { color: #2b3350; font-size: 15px; }
.desc, .desc * { color: #2b3350 !important; background-color: transparent !important; }
.desc a { color: #0b4fae !important; text-decoration: underline; }
.desc img { background: #fff !important; }
.desc p { margin: 0 0 10px; }
.deliv { margin: 0; padding: 10px 12px; border-radius: 10px; background: #eef2f8; font-size: 15px; }
.pv-msg { padding: 60px 30px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.skel { background: #eef2f8; border-radius: 10px; height: 18px; }

/* bag */
.lines { list-style: none; margin: 0; padding: 6px 22px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid #e6ebf2; }
.line.bad { box-shadow: inset 3px 0 0 #b3121a; padding-left: 10px; }
.line .ph { width: 76px; border-radius: 12px; box-shadow: inset 0 0 0 1px #e3e8f0; }
.line b { display: block; font-weight: 600; line-height: 1.3; }
.line small { display: block; color: #4c5570; font-size: 14px; }
.line .acts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.line .qty button { height: 44px; }
.line .rm { min-height: 44px; border: 0; background: transparent; color: #4c5570; text-decoration: underline; padding: 0 4px; }
.bag-foot { flex: none; padding: 16px 22px 22px; border-top: 1px solid #dbe1eb; display: grid; gap: 12px; }
.bag-foot .sum { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; }
.bag-foot .note { font-size: 14px; }
.bag-empty { padding: 34px 22px; display: grid; gap: 14px; }
.bag-empty p { margin: 0; font-size: 18px; font-weight: 600; }
.bag-empty .chips .chip { box-shadow: inset 0 0 0 1px #b8c2d4; text-decoration: none; display: inline-flex; align-items: center; }

/* search */
.srch { top: 0; left: 0; right: 0; max-height: min(720px, 100%); }
.srch.open { animation-name: lyr-d; }
@keyframes lyr-d { from { transform: translateY(-24px); } }
.srch-bar { display: flex; align-items: center; gap: 10px; padding: 12px var(--pad); border-bottom: 1px solid #dbe1eb; flex: none; }
.srch-bar input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #b8c2d4; background: #fff; color: #122048; font-size: 17px; }
.results { list-style: none; margin: 0 auto; padding: 8px var(--pad) 18px; max-width: calc(var(--max) + 2 * var(--pad)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.results a { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 6px 8px; border-radius: 12px; text-decoration: none; }
.results a:hover, .results a:focus-visible { background: #eef2f8; }
.results .ph { width: 60px; border-radius: 10px; box-shadow: inset 0 0 0 1px #e3e8f0; }
.results b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.results small { display: block; color: #4c5570; font-size: 13.5px; }
.results .pr { font-weight: 600; }
.srch-msg { padding: 18px var(--pad) 26px; margin: 0 auto; max-width: calc(var(--max) + 2 * var(--pad)); color: #4c5570; }

/* menu */
.menu-list { list-style: none; margin: 0; padding: 10px 14px; }
.menu-list a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 8px; text-decoration: none; font-weight: 600; font-size: 18px; border-radius: 10px; }
.menu-list a:hover { background: #eef2f8; }
.menu-list .mk { width: 44px; height: 36px; display: grid; place-items: center; flex: none; }
.menu-list .mk img { width: auto; height: 34px; max-width: 44px; object-fit: contain; }
.menu-list .mk .plate { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 7px; background: #122048; padding: 3px 4px; }
.menu-list .mk .plate img { height: 22px; max-width: 100%; }
.menu-list .mk svg { width: 34px; height: 34px; }
.menu-sec { padding: 6px 22px 0; margin: 10px 0 0; font: 600 12.5px/1.2 var(--ff); letter-spacing: .12em; text-transform: uppercase; color: #4c5570; }
.menu-side { padding: 18px 22px 26px; display: grid; gap: 10px; }
.menu-side .side { --chip: #eef2f8; --ink: #122048; --bg: #fff; --rule: #d5dce8; }

/* ---------- responsive ---------- */
@media (min-width: 1180px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 1179.98px) {
  .nav + .tools { margin-left: auto; }
}
@media (max-width: 1359.98px) {
  .stripes { transform: scale(.8); }
}
@media (max-width: 1179.98px) {
  .stripes { transform: scale(.58); }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { height: 420px; }
  .emblem { width: 300px; }
}
@media (max-width: 860px) {
  .ftr-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr-in > :first-child { grid-column: 1 / -1; }
  .gear-doors { grid-template-columns: minmax(0, 1fr); }
  .pv { left: 0; top: 0; width: 100%; height: 100%; transform: none; border-radius: 0; }
  .pv.open { animation-name: lyr; }
  .pv-grid { grid-template-columns: minmax(0, 1fr); }
  .gal { border-right: 0; padding: 14px 16px 6px; }
  .gal-main { width: min(100%, 420px); margin: 0 auto; }
  .info { padding: 16px 18px 120px; }
  .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #dbe1eb, 0 -8px 24px rgba(18, 32, 72, .08); }
  .results { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 699.98px) {
  :root { --hdr: 58px; }
  .brand img { width: 34px; height: 42px; }
  .brand b { font-size: 17px; }
  .brand small { font-size: 10.5px; letter-spacing: .1em; }
  html[data-side=white] .brand b { font-size: 16px; }
  .tools { gap: 0; }
  .tools .side { display: none; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 14px; gap: 6px; min-height: 0; }
  .hero-cta .side { display: inline-flex; }
  .k-org { display: none; }
  .hero-art { order: -1; height: 250px; overflow: hidden; margin: 0 calc(-1 * var(--pad)); }
  .stripes { transform: scale(.56); }
  .hero-art .halo { width: 260px; height: 260px; }
  html[data-side=white] .hero-art .halo { width: 220px; height: 220px; }
  .emblem { width: 178px; }
  .hero h1 { font-size: clamp(52px, 15.4vw, 72px); }
  html[data-side=white] .hero h1 { font-size: clamp(40px, 11.6vw, 54px); }
  .hero-copy .kick { margin-bottom: 12px; font-size: 12px; }
  .hero-cta { margin-top: 20px; }
  .doors { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 22px var(--pad) 36px; scroll-padding: 0 var(--pad); }
  .doors::-webkit-scrollbar { display: none; }
  .doors li { scroll-snap-align: start; }
  .door { height: 176px; }
  .face .mk img { height: 78px; }
  .face .mk svg { height: 78px; }
  .face .mk .plate img { height: 44px; }
  .face.nv b { font-size: 27px; }
  .band { padding: 40px 0 44px; }
  .band-head { flex-wrap: wrap; gap: 10px 14px; margin-bottom: 16px; }
  .band-mark { width: 52px; height: 52px; }
  .band-mark .plate { height: 52px; padding: 7px 10px; }
  .band-mark .plate img { height: 36px; }
  .face.nv::before { top: -64px; height: 140px; right: 16px; width: 38px; }
  .band-head .link { margin-left: 0; width: 100%; }
  .strip { grid-auto-columns: 62%; gap: 14px; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 10px; scroll-padding: 0 var(--pad); }
  .strip-nav { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .meta .name { font-size: 15px; }
  .page-head .wrap { gap: 16px; min-height: 0; padding-top: 18px; padding-bottom: 22px; flex-wrap: wrap; }
  .page-mark { width: auto; }
  .page-mark img { max-height: 84px; }
  .page-mark .plate { padding: 12px 14px; }
  .page-mark .plate img { max-height: 44px; }
  .page-mark svg { width: 80px; height: 80px; }
  .page-mark .wide { display: none !important; }
  .page-mark .narrow { display: block; }
  .page-head .wrap { align-items: flex-end; }
  html[data-side=navy] .page-head::after { right: -64px; width: 76px; }
  .page-head h1 { font-size: clamp(40px, 11vw, 56px); }
  .filters { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)) 22px; padding: 2px var(--pad); }
  .filters::-webkit-scrollbar { display: none; }
  .filters > * { flex: none; }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .lines { padding: 4px 16px; }
  .bag-foot { padding: 14px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
html.no-flip *, html.no-flip *::before, html.no-flip *::after { transition: none !important; }
