/* DOUR, in motion. One family, Mona Sans, on its width axis: wide heavy italic for display (it leans the way a runner
   does), normal for reading, slightly wide for figures. Paper, mist (the wall in DOUR's leap photo) and black; the one
   colour on a page is the colour of the garment in front of you (--tone). Controls are stadium-shaped: the outline of
   a running track. Photos sit square, on their own studio backdrop. */
@font-face { font-family: "Mona Sans"; src: url("../fonts/MonaSans.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/MonaSans-Italic.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: italic; font-display: swap; }
@property --tone { syntax: "<color>"; inherits: true; initial-value: #E3333D; }
:root {
  --paper: #FFFFFF; --mist: #E4E3E0; --mist-2: #F3F2F0; --ink: #000000; --graphite: #4E4F53; --quiet: #77787C; --rule: #DAD9D5;
  --sale: #C8102E; --ok: #1F6B4F; --flag-green: #0C4A51; --flag-red: #DD1B38;
  --tone: #E3333D; --on-tone: #000000;
  --font: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 3.2vw, 44px); --max: 1680px; --hd: 64px; --bar: 34px;
  --ease: cubic-bezier(.2, .8, .2, 1); --snap: cubic-bezier(.3, 1.4, .5, 1);
  transition: --tone .6s var(--ease);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
html[data-motion="off"] { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body[data-lock] { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--tone); color: var(--on-tone); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; }
.skip:focus { top: 12px; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.num { font-stretch: 108%; white-space: nowrap; }

/* type */
.d1, .d2, .d3 { font-style: italic; font-stretch: 125%; font-weight: 850; letter-spacing: -0.035em; line-height: .92; text-wrap: balance; }
.d1 { font-size: clamp(44px, 8.4vw, 148px); }
.d2 { font-size: clamp(34px, 5.2vw, 88px); }
.d3 { font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -0.025em; line-height: 1; }
.h { font-size: 20px; font-weight: 650; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1.2; }
.lede { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; color: var(--graphite); max-width: 56ch; text-wrap: pretty; }
.small { font-size: 13.5px; line-height: 1.45; }
.quiet { color: var(--quiet); }
.was { color: var(--quiet); text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.now-sale { color: var(--sale); }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* buttons, chips, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 99px; font-weight: 650; font-stretch: 108%; font-size: 15.5px; white-space: nowrap; border: 1.5px solid var(--ink); transition: background .2s, color .2s, transform .2s var(--snap), border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--tone); color: var(--on-tone); border-color: var(--tone); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-paper { background: #fff; color: #000; border-color: #fff; }
.btn-paper:hover { background: var(--tone); border-color: var(--tone); color: var(--on-tone); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--mist); border-color: var(--mist); color: var(--quiet); cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; min-width: 48px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--rule); font-size: 14px; font-weight: 550; font-stretch: 106%; background: #fff; transition: border-color .15s, background .15s, color .15s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[data-out] { color: var(--quiet); background: repeating-linear-gradient(-58deg, transparent 0 7px, var(--rule) 7px 8px); }
.chip[data-out][aria-checked="true"] { background: var(--graphite); color: #fff; }
.chip .x { font-size: 16px; line-height: 1; opacity: .7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { --c: #888; width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); position: relative; flex: none; transition: transform .2s var(--snap); }
.sw:hover { transform: scale(1.12); }
.sw[aria-checked="true"]::after, .sw[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); }
.sw-lg { width: 36px; height: 36px; }
.sw-sm { width: 14px; height: 14px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 650; font-stretch: 108%; background: #fff; color: #000; }
.tag-sale { background: var(--sale); color: #fff; }
.tag-ink { background: #000; color: #fff; }
.ic { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .15s; }
.ic:hover { background: rgba(0, 0, 0, .07); }
.ic .n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ic .n[data-n="0"] { display: none; }
.ic .n[data-bump] { animation: bump .45s var(--snap); }
@keyframes bump { 40% { transform: scale(1.5); background: var(--tone); color: var(--on-tone); } }

/* the facts bar and header */
.bar { height: var(--bar); background: var(--ink); color: #fff; font-size: 13px; font-stretch: 106%; overflow: hidden; position: relative; z-index: 61; }
.bar ul { height: 100%; position: relative; }
.bar li { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 12px; opacity: 0; transform: translateY(100%); transition: transform .5s var(--ease), opacity .5s; white-space: nowrap; }
.bar li[data-on] { opacity: 1; transform: none; }
.bar li[data-gone] { transform: translateY(-100%); }
.hd { position: sticky; top: 0; z-index: 60; height: var(--hd); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.hd[data-stuck] { box-shadow: 0 1px 0 var(--rule); }
.hd[data-away] { transform: translateY(-100%); }
.hd[data-over]:not([data-stuck]):not([data-megaopen]) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hd[data-megaopen] { background: #fff; }
.hd-in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo img { height: 30px; width: auto; }
.logo { display: inline-flex; align-items: center; justify-self: center; padding: 6px; }
.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > a, .nav > button { height: 100%; display: inline-flex; align-items: center; padding: 0 14px; font-weight: 600; font-stretch: 108%; font-size: 15px; position: relative; }
.nav > a::after, .nav > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:hover::after, .nav > button:hover::after, .nav > [aria-current="true"]::after, .nav > [aria-expanded="true"]::after { transform: scaleX(1); }
.nav .sale { color: var(--sale); }
.hd-tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.mine { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 14px; border-radius: 99px; border: 1.5px solid var(--ink); font-size: 13.5px; font-weight: 600; margin-right: 6px; background: #fff; }
.mine b { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 99px; background: var(--ink); color: #fff; font-stretch: 108%; }
.menu-btn { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 1px 0 var(--rule), 0 30px 40px -30px rgba(0, 0, 0, .25); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease), visibility 0s .4s; }
.mega[data-open] { clip-path: inset(0 0 -60px 0); visibility: visible; transition: clip-path .4s var(--ease); }
.mega-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding-block: 28px 36px; }
.mega-list { columns: 2; column-gap: 32px; }
.mega-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: clamp(22px, 2.3vw, 34px); font-weight: 800; font-style: italic; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1.05; break-inside: avoid; transition: color .2s, transform .3s var(--ease); }
.mega-list a small { font: 500 13px var(--font); font-stretch: 108%; color: var(--quiet); letter-spacing: 0; }
.mega-list:hover a { color: var(--quiet); }
.mega-list a:hover, .mega-list a:focus-visible { color: var(--ink); transform: translateX(8px); }
.mega-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-pics a { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 3/4; }
.mega-pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-pics a:hover img { transform: scale(1.04); }
.mega-pics span { position: absolute; left: 10px; bottom: 10px; }

/* photo tile */
.ph { display: block; position: relative; aspect-ratio: 3/4; background: var(--bg, var(--mist-2)); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph img[data-whole] { object-fit: contain; }

/* product card */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-ph { position: relative; display: block; overflow: hidden; }
.card-ph .ph img { transition: transform .7s var(--ease), opacity .35s; }
.card-ph .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.card-tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 4px; z-index: 2; pointer-events: none; }
.card .heart { position: absolute; right: 8px; top: 8px; z-index: 3; width: 38px; height: 38px; background: rgba(255, 255, 255, .86); }
.card .heart svg { width: 19px; height: 19px; }
.card .heart:hover { background: #fff; }
.heart[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); animation: pop .4s var(--snap); }
@keyframes pop { 40% { transform: scale(1.35); } }
.card-add { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; background: #fff; border-radius: 22px; padding: 10px; display: grid; gap: 8px; transform: translateY(calc(100% + 12px)); transition: transform .35s var(--ease); }
.card-add p { font-size: 12.5px; font-weight: 600; padding-left: 4px; display: flex; justify-content: space-between; }
.card-add .chips { gap: 4px; }
.card-add .chip { min-height: 34px; min-width: 40px; padding: 0 10px; font-size: 13px; flex: 1; }
.card-bd { padding: 12px 2px 4px; display: grid; gap: 4px; }
.card-bd .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-n { font-weight: 600; font-size: 15px; line-height: 1.25; font-stretch: 104%; }
.card-n a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-p { font-weight: 600; white-space: nowrap; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
.sws { display: flex; gap: 6px; align-items: center; position: relative; z-index: 2; }
.sws .sw { width: 16px; height: 16px; }
.sws .sw[aria-pressed="true"]::after { inset: -4px; }
.fit { font-size: 12.5px; color: var(--quiet); white-space: nowrap; }
.fit[data-fit="in"] { color: var(--ok); font-weight: 600; }
.fit[data-fit="in"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.cmp { position: relative; z-index: 2; font-size: 12.5px; color: var(--quiet); display: inline-flex; gap: 6px; align-items: center; }
.cmp input { accent-color: #000; }
@media (hover: hover) {
  .card:hover .card-ph .alt, .card:focus-within .card-ph .alt { opacity: 1; }
  .card:hover .card-add, .card:focus-within .card-add { transform: none; }
  .card:hover .card-ph .ph img { transform: scale(1.03); }
}
.card[data-open] .card-add { transform: none; }

/* grids and rails */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 28px 4px; }
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22.5vw, 380px); gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--pad); scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-track[data-drag] { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail-track[data-drag] a { pointer-events: none; }
.rail-nav { display: flex; gap: 6px; }
.rail-nav .ic { border: 1.5px solid var(--ink); }
.rail-nav .ic:hover { background: var(--ink); color: #fff; }
.rail-nav .ic[disabled] { opacity: .25; pointer-events: none; }
.sec { padding-block: clamp(56px, 8vw, 128px); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 2.6vw, 40px); }
.sec-hd p { margin-top: 12px; }

/* home: hero. The headline is painted on the wall: it multiplies into the photo, so the wall's own light and shadow
   show through it, and the runner, cut out of the same photo, leaps in front of it. */
.hero { position: relative; height: min(calc(100svh - var(--bar)), 66vw); min-height: 560px; margin-top: calc(var(--hd) * -1); background: var(--mist); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-cut { z-index: 2; pointer-events: none; }
.hero-foot { z-index: 3; }
.hero-type { position: absolute; inset: 0; z-index: 1; mix-blend-mode: multiply; color: var(--tone); pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: var(--hd) 0 clamp(70px, 12vh, 130px); }
.hero-type span { display: block; font-size: min(19.5vw, 36vh); font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -0.055em; line-height: .8; white-space: nowrap; will-change: transform; }
.hero-type span:nth-child(1) { margin-left: -0.04em; transform: translateX(calc(var(--sx, 0) * -1px)); }
.hero-type span:nth-child(2) { align-self: flex-end; margin-right: 0.02em; transform: translateX(calc(var(--sx, 0) * 1px)); }
.hero-type i { display: inline-block; font-style: inherit; animation: in-l .9s var(--ease) both; animation-delay: calc(var(--i) * 28ms); }
.hero-type span:nth-child(2) i { animation-name: in-r; animation-delay: calc(240ms + var(--i) * 28ms); }
@keyframes in-l { from { transform: translateX(-60vw) skewX(-24deg); font-stretch: 75%; opacity: 0; } }
@keyframes in-r { from { transform: translateX(60vw) skewX(24deg); font-stretch: 75%; opacity: 0; } }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(20px, 3vw, 40px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; animation: rise .8s .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-foot .lede { color: #000; max-width: 34ch; font-weight: 500; margin-left: auto; }
.hero-say { text-align: right; }
.hero-say .hero-cta { justify-content: flex-end; }
.hero-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pin { position: absolute; z-index: 3; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 14px rgba(0, 0, 0, .22); transition: transform .25s var(--snap); animation: rise .5s 1.2s var(--ease) both; }
.pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #fff; animation: ring 2.4s 2s infinite; }
@keyframes ring { to { transform: scale(2.1); opacity: 0; } }
.pin:hover, .pin[aria-expanded="true"] { transform: scale(1.15); }
.pin svg { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .25s; }
.pin[aria-expanded="true"] svg { transform: rotate(45deg); }
.pin-card { position: absolute; z-index: 4; width: 250px; background: #fff; border-radius: 20px; padding: 8px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .35); transform-origin: left center; animation: card-in .3s var(--snap); }
.pin-card .ph { border-radius: 14px; }
@keyframes card-in { from { opacity: 0; transform: scale(.85); } }
.hero-what { font-size: 13.5px; font-weight: 500; max-width: 26ch; }

/* home: the running band */
.band { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.band-track { display: flex; width: max-content; gap: 0; animation: slide 36s linear infinite; transform: skewX(calc(var(--v, 0) * -1deg)); }
.band:hover .band-track { animation-play-state: paused; }
.band a { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 15px; font-weight: 600; font-stretch: 112%; font-style: italic; white-space: nowrap; }
.band a::after { content: ""; width: 26px; height: 10px; border-radius: 99px; border: 1.5px solid currentColor; opacity: .6; }
.band a:hover { color: var(--tone); }
@keyframes slide { to { transform: translateX(-50%); } }

/* home: the index of kinds */
.kinds { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.kinds-who { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--mist-2); margin-bottom: 20px; }
.kinds-who button { height: 40px; padding: 0 22px; border-radius: 99px; font-weight: 650; font-stretch: 108%; font-size: 14.5px; transition: background .2s, color .2s; }
.kinds-who button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.kinds-list a { display: flex; align-items: baseline; gap: 16px; padding: clamp(6px, .8vw, 12px) 0; border-bottom: 1px solid var(--rule); transition: color .25s, padding-left .4s var(--ease); }
.kinds-list a b { font-size: clamp(30px, 4.1vw, 70px); white-space: nowrap; font-weight: 850; font-style: italic; font-stretch: 125%; letter-spacing: -0.04em; line-height: .98; transition: font-stretch .4s var(--ease); }
.kinds-list a small { font-size: 14px; font-weight: 550; font-stretch: 108%; color: var(--quiet); margin-left: auto; white-space: nowrap; }
.kinds-list:hover a, .kinds-list:focus-within a { color: #B9B8B4; }
.kinds-list a:hover, .kinds-list a:focus-visible, .kinds-list a[data-on] { color: var(--ink); padding-left: 14px; }
.kinds-view { position: sticky; top: calc(var(--hd) + 24px); aspect-ratio: 4/5; background: var(--mist); overflow: hidden; }
.kinds-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), transform 1.2s var(--ease); transform: scale(1.08); }
.kinds-view img[data-on] { clip-path: inset(0); transform: none; z-index: 1; }
.kinds-view img[data-was] { clip-path: inset(0); z-index: 0; }
.kinds-view figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 4px; flex-wrap: wrap; }

/* home: shop by colour. The whole band takes the colour you pick. */
.hue { background: var(--tone); color: var(--on-tone); transition: color .4s; }
.hue .sec-hd { align-items: flex-start; }
.hue-dots { display: flex; flex-wrap: wrap; gap: 10px; }
.hue-dots .sw { width: 44px; height: 44px; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .2), 0 0 0 0 transparent; }
.hue-dots .sw[aria-pressed="true"] { transform: scale(1.12); }
.hue-dots .sw[aria-pressed="true"]::after { inset: -6px; border-color: currentColor; border-width: 2px; }
.hue .rail-nav .ic { border-color: currentColor; }
.hue .card-bd, .hue .fit, .hue .fit[data-fit="in"], .hue .was, .hue .quiet, .hue .now-sale { color: inherit; }
.hue .sws .sw { box-shadow: 0 0 0 1.5px currentColor; }
.hue .rail-track > * { animation: deal .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes deal { from { opacity: 0; transform: translateX(60px) skewX(-6deg); } }

/* home: one style, its colours */
.duo { display: grid; grid-template-columns: 1fr 1fr; min-height: min(92vh, 900px); background: color-mix(in srgb, var(--duo, #72999D) 22%, #fff); transition: background .6s var(--ease); }
.duo-pic { position: relative; overflow: hidden; background: var(--mist-2); min-height: 480px; }
.duo-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform 1.4s var(--ease); transform: scale(1.06); }
.duo-pic img[data-on] { opacity: 1; transform: none; }
.duo-bd { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(28px, 5vw, 88px); }
.duo-bd .d2 { color: color-mix(in srgb, var(--duo, #72999D) 70%, #000); transition: color .6s; }
.duo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.stock { display: grid; gap: 6px; max-width: 420px; }
.stock div { display: grid; grid-template-columns: 44px 1fr 92px; align-items: center; gap: 12px; font-size: 13.5px; }
.stock i { height: 6px; border-radius: 99px; background: rgba(0, 0, 0, .12); overflow: hidden; display: block; }
.stock i::after { content: ""; display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: 99px; background: #000; transition: width .7s var(--ease); }

/* home and product: the jersey, with a name and number on its back */
.kit { background: #000; color: #fff; }
.kit-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.kit .lede { color: #C9C9C6; }
.kit .d2 em { font-style: inherit; }
.back { position: relative; max-width: 620px; margin-inline: auto; width: 100%; container-type: inline-size; }
.back img { width: 100%; height: auto; }
.back .pn, .back .pno { position: absolute; left: 50%; transform: translateX(-50%); color: var(--print, #B3122B); text-align: center; white-space: nowrap; font-stretch: 100%; font-style: normal; line-height: 1; pointer-events: none; mix-blend-mode: multiply; }
.back .pn { top: 26.5%; font-size: 6.2cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; max-width: 46%; }
.back .pno { top: 34%; font-size: 30cqw; font-weight: 900; font-stretch: 88%; letter-spacing: -0.02em; }
.kit-form { display: grid; gap: 14px; margin-top: 26px; max-width: 460px; }
.kit .field input { background: transparent; border-color: #5a5a5a; color: #fff; }
.kit .field input:focus { border-color: #fff; }
.kit .field label, .kit .field small { color: #C9C9C6; }
.kit-row { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.facts > div { padding: 28px var(--pad) 32px 0; border-right: 1px solid var(--rule); padding-left: 24px; }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border-right: 0; }
.facts b { display: block; font-size: clamp(22px, 2.2vw, 32px); font-weight: 850; font-style: italic; font-stretch: 122%; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 8px; }
.facts p { font-size: 14px; color: var(--graphite); max-width: 30ch; }

/* footer */
.ft { background: var(--mist); margin-top: clamp(56px, 8vw, 120px); padding-top: clamp(40px, 5vw, 72px); overflow: hidden; }
.ft-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.ft h3 { font-size: 14px; font-weight: 700; font-stretch: 108%; margin-bottom: 12px; }
.ft li { padding: 4px 0; font-size: 14.5px; }
.ft li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-word { font-size: 31vw; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -0.06em; line-height: .74; margin: 48px 0 -0.06em -0.04em; white-space: nowrap; color: #fff; user-select: none; }
.ft-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; font-size: 13px; color: var(--graphite); border-top: 1px solid var(--rule); background: var(--mist); position: relative; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.switch i { width: 38px; height: 22px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px #000; position: relative; transition: background .2s; }
.switch i::after { content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #000; transition: transform .25s var(--snap), background .2s; }
.switch[aria-checked="true"] i { background: #000; }
.switch[aria-checked="true"] i::after { transform: translateX(16px); background: #fff; }

/* overlays: scrim, sheets, search, toast */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.scrim[data-on] { opacity: 1; visibility: visible; transition: opacity .3s; }
.sheet { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.sheet[data-side="left"] { right: auto; left: 0; transform: translateX(-104%); }
.sheet[data-open] { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--rule); flex: none; }
.sheet-hd h2 { font-size: 22px; font-weight: 850; font-style: italic; font-stretch: 122%; letter-spacing: -0.03em; }
.sheet-bd { flex: 1; overflow-y: auto; padding: 20px 24px 28px; overscroll-behavior: contain; }
.sheet-ft { flex: none; padding: 16px 24px 20px; border-top: 1px solid var(--rule); display: grid; gap: 10px; background: #fff; }
.search { position: fixed; z-index: 90; inset: 0 0 auto 0; max-height: 100dvh; background: #fff; transform: translateY(-104%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; display: flex; flex-direction: column; }
.search[data-open] { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.search-bar { display: flex; align-items: center; gap: 12px; padding-block: 14px; border-bottom: 2px solid var(--ink); }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: clamp(22px, 3vw, 40px); font-weight: 800; font-style: italic; font-stretch: 122%; letter-spacing: -0.03em; background: none; padding: 6px 0; }
.search-bar input::placeholder { color: #BDBCB8; }
.search-bar kbd { font: 600 12px var(--font); border: 1.5px solid var(--rule); border-radius: 6px; padding: 3px 7px; color: var(--quiet); }
.search-out { overflow-y: auto; padding-block: 22px 32px; }
.search-cols { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.search-cols h3 { font-size: 13px; font-weight: 650; color: var(--quiet); margin-bottom: 10px; }
.search-cols li a, .search-cols li button { display: block; padding: 6px 0; font-weight: 600; text-align: left; }
.search-cols li a:hover, .search-cols li button:hover { text-decoration: underline; text-underline-offset: 3px; }
.hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 4px; }
.hit { display: grid; gap: 8px; }
.hit[data-cur] .ph, .hit:focus-visible .ph { outline: 2px solid #000; outline-offset: -2px; }
.hit b { font-size: 14px; font-weight: 600; display: block; line-height: 1.25; }
.hit mark { background: none; color: inherit; box-shadow: inset 0 -0.5em 0 color-mix(in srgb, var(--tone) 45%, #fff); }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; visibility: hidden; transform: translate(-50%, calc(100% + 120px)); background: #000; color: #fff; border-radius: 99px; padding: 8px 10px 8px 22px; min-height: 52px; display: flex; align-items: center; gap: 16px; font-size: 14.5px; font-weight: 550; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); transition: transform .45s var(--snap), visibility 0s .45s; max-width: calc(100vw - 24px); }
.toast[data-on] { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--snap); }
.toast button { height: 36px; padding: 0 16px; border-radius: 99px; background: #fff; color: #000; font-weight: 650; font-size: 13.5px; white-space: nowrap; }
.toast .ph { width: 36px; border-radius: 8px; margin-left: -12px; flex: none; }
.tray[data-on] + .toast { bottom: 92px; }
.fly { position: fixed; z-index: 130; pointer-events: none; border-radius: 12px; overflow: hidden; background: var(--mist); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* bag lines and summary */
.line { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.line:first-child { padding-top: 0; }
.line-bd { display: grid; gap: 4px; align-content: start; min-width: 0; }
.line-bd .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.line-n { font-weight: 600; line-height: 1.25; }
.line-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--rule); border-radius: 99px; height: 38px; }
.qty button { width: 36px; height: 100%; font-size: 18px; border-radius: 99px; }
.qty button:hover { background: var(--mist-2); }
.qty button[disabled] { opacity: .3; pointer-events: none; }
.qty output { min-width: 22px; text-align: center; font-weight: 650; }
.sum { display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; }
.sum .total { font-size: 20px; font-weight: 750; font-stretch: 108%; padding-top: 12px; border-top: 1px solid var(--rule); margin-top: 4px; }
.empty { display: grid; justify-items: start; gap: 16px; padding: 24px 0; }
.empty .d3 { max-width: 14ch; }
.minis { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; }
.mini { display: grid; gap: 6px; font-size: 13px; position: relative; }
.mini b { font-weight: 600; line-height: 1.2; display: block; }
.mini button { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.mini button:hover { background: #000; color: #fff; }
.mini button svg { width: 16px; height: 16px; stroke-width: 2.2; }

/* forms */
.field { display: grid; gap: 6px; position: relative; align-content: start; }
.field label, .legend { font-size: 13.5px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--rule); border-radius: 14px; background: #fff; outline: 0; transition: border-color .15s; appearance: none; -webkit-appearance: none; }
.field textarea { padding: 14px 16px; min-height: 92px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='m1 1.5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field[data-bad] input, .field[data-bad] select { border-color: var(--sale); }
.field small { font-size: 12.5px; color: var(--quiet); }
.field .err { color: var(--sale); font-weight: 600; }
.field[data-ok]::after { content: ""; position: absolute; right: 16px; top: 44px; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.combo-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .3); }
.combo-list li { padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--mist-2); }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--rule); border-radius: 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: #000; }
.opt:has(input:checked) { border-color: #000; background: var(--mist-2); }
.opt input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #000; margin: 0; display: grid; place-items: center; }
.opt input:checked::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #000; }
.opt b { display: block; font-weight: 650; }
.opt small { color: var(--graphite); font-size: 13.5px; }
.opts { display: grid; gap: 8px; }

/* shop */
.shop-hd { padding-block: clamp(28px, 4vw, 64px) 20px; display: grid; gap: 14px; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--quiet); flex-wrap: wrap; }
.crumbs a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.subs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.subs::-webkit-scrollbar { display: none; }
.subs > * { flex: none; }
.toolbar { position: sticky; top: var(--hd); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--rule); transition: top .35s var(--ease); }
body[data-hd-away] .toolbar { top: 0; }
.toolbar-l, .toolbar-r { display: flex; align-items: center; gap: 8px; }
.dens { display: inline-flex; border: 1.5px solid var(--rule); border-radius: 99px; padding: 3px; }
.dens button { width: 34px; height: 32px; border-radius: 99px; display: grid; place-items: center; color: var(--quiet); }
.dens button[aria-pressed="true"] { background: #000; color: #fff; }
.dens svg { width: 16px; height: 16px; fill: currentColor; }
.sort { height: 40px; border-radius: 99px; border: 1.5px solid var(--rule); padding: 0 38px 0 16px; font-size: 14px; font-weight: 550; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.shop-body { display: grid; grid-template-columns: 0 minmax(0, 1fr); transition: grid-template-columns .45s var(--ease); padding-top: 20px; }
.shop-body[data-filters] { grid-template-columns: 280px minmax(0, 1fr); }
.filters { overflow-x: clip; }
.filters-in { width: 280px; padding-right: 32px; position: sticky; top: calc(var(--hd) + 76px); max-height: calc(100vh - var(--hd) - 90px); overflow-y: auto; scrollbar-width: thin; opacity: 0; transition: opacity .3s; }
.shop-body[data-filters] .filters-in { opacity: 1; }
.filters-done { display: none; }
.fgroup { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h3 { font-size: 14px; font-weight: 700; font-stretch: 108%; margin-bottom: 12px; display: flex; justify-content: space-between; }
.fgroup .chips { gap: 6px; }
.fgroup .chip { min-height: 36px; padding: 0 12px; font-size: 13.5px; min-width: 44px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.fcheck input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1.5px solid #000; border-radius: 6px; margin: 0; display: grid; place-items: center; flex: none; }
.fcheck input:checked { background: #000; }
.fcheck input:checked::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.fcheck small { margin-left: auto; color: var(--quiet); font-size: 13px; }
.fsw { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 6px; }
.fsw button { display: grid; justify-items: center; }
.range { display: grid; gap: 10px; }
.range-track { position: relative; height: 28px; }
.range-track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 9px; background: var(--rule); }
.range-track i { position: absolute; top: 12px; height: 4px; background: #000; left: calc(var(--a) * 1%); right: calc(100% - var(--b) * 1%); }
.range-track input { position: absolute; inset: 0; width: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: none; pointer-events: none; height: 28px; }
.range-track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #000; cursor: grab; }
.range-track input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #000; cursor: grab; }
.applied { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 16px; }
.applied:empty { display: none; }
.more { display: grid; justify-items: center; gap: 14px; padding: 48px 0 0; }
.more .meter { width: 220px; height: 3px; background: var(--rule); border-radius: 9px; overflow: hidden; }
.more .meter i { display: block; height: 100%; background: #000; width: calc(var(--w) * 1%); transition: width .5s var(--ease); }
.grid .card { animation: card .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes card { from { opacity: 0; transform: translateY(18px); } }
.tray { position: fixed; z-index: 70; left: 50%; bottom: 20px; visibility: hidden; transform: translate(-50%, calc(100% + 120px)); background: #000; color: #fff; border-radius: 99px; padding: 8px 8px 8px 12px; display: flex; align-items: center; gap: 12px; transition: transform .45s var(--snap), visibility 0s .45s; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); }
.tray[data-on] { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--snap); }
.tray .ph { width: 34px; border-radius: 8px; }
.tray > span { white-space: nowrap; font-size: 14px; font-weight: 600; }
.tray > * { flex: none; }
.tray { max-width: calc(100vw - 24px); }
.tray-pics { display: flex; gap: 4px; }
.cmp-table { display: grid; grid-template-columns: repeat(var(--n), minmax(200px, 1fr)); gap: 0 16px; }
.cmp-table > div { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.cmp-table .ph { max-width: 240px; }
.cmp-table h4 { font-size: 12.5px; color: var(--quiet); font-weight: 600; margin-bottom: 4px; }

/* product */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: clamp(20px, 4vw, 72px); align-items: start; padding-top: 8px; }
.pdp-wash { background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 16%, #fff) 0, #fff 720px); }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.gal button { display: block; cursor: zoom-in; position: relative; overflow: hidden; }
.gal button:first-child:nth-last-child(odd) { grid-column: span 2; }
.gal button:first-child:nth-last-child(odd) .ph { aspect-ratio: 4/4.2; }
.gal .ph img { transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
@media (hover: hover) { .gal button:hover .ph img { transform: scale(1.7); } }
.gal-dots { display: none; }
.buy { position: sticky; top: calc(var(--hd) + 20px); display: grid; gap: 22px; padding-bottom: 40px; }
.buy-hd { display: grid; gap: 10px; }
.buy-hd h1 { font-size: clamp(30px, 3.2vw, 50px); }
.buy-price { font-size: 22px; font-weight: 700; font-stretch: 108%; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.buy-price .tag { margin-left: 10px; align-self: center; }
.pick { display: grid; gap: 10px; }
.pick-hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.pick-hd b { font-weight: 650; }
.pick-hd span { color: var(--graphite); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.sizes .chip { min-height: 50px; font-size: 15px; font-weight: 650; }
.note { font-size: 13.5px; min-height: 20px; color: var(--graphite); }
.note[data-warn] { color: var(--sale); font-weight: 600; }
.note[data-ok] { color: var(--ok); font-weight: 600; }
.buy-go { display: grid; grid-template-columns: 1fr 52px; gap: 8px; }
.buy-go .ic { width: 52px; height: 52px; border: 1.5px solid #000; }
.eta { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--mist-2); font-size: 14.5px; }
.eta-row { display: flex; gap: 12px; align-items: flex-start; }
.eta-row svg { margin-top: 1px; }
.eta select, #bag-town { border: 0; background: none; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; max-width: 170px; field-sizing: content; }
.acc { border-top: 1px solid var(--rule); }
.acc:last-of-type { border-bottom: 1px solid var(--rule); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 650; font-stretch: 106%; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 12px; height: 12px; background: linear-gradient(#000, #000) center/100% 1.8px no-repeat, linear-gradient(#000, #000) center/1.8px 100% no-repeat; transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc-bd { padding: 0 0 22px; display: grid; gap: 10px; font-size: 15px; color: var(--graphite); max-width: 62ch; }
.acc-bd ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.acc-bd b { color: #000; font-weight: 650; }
.finder { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.table thead th { font-weight: 650; font-size: 13px; }
.table tbody th { font-weight: 650; }
.table tr.on th, .table tr.on td { background: color-mix(in srgb, var(--tone) 22%, #fff); }
.table tr.on th { padding-left: 10px; border-radius: 8px 0 0 8px; }
.table small { color: var(--quiet); font-weight: 400; }
.stickybuy { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--rule); transform: translateY(105%); transition: transform .4s var(--ease); }
.stickybuy[data-on] { transform: none; }
.stickybuy .wrap { display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.stickybuy .ph { width: 44px; border-radius: 8px; flex: none; }
.stickybuy b { display: block; font-weight: 650; line-height: 1.2; }
.stickybuy .sp { flex: 1; min-width: 0; }
.look { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 4px; }
.lb { position: fixed; inset: 0; z-index: 140; background: #fff; display: none; grid-template-columns: 96px 1fr; }
.lb[data-open] { display: grid; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lb-thumbs { overflow-y: auto; padding: 16px 0 16px 16px; display: grid; gap: 6px; align-content: start; }
.lb-thumbs button[aria-current="true"] { outline: 2px solid #000; outline-offset: -2px; }
.lb-stage { position: relative; display: grid; place-items: center; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100vh; object-fit: contain; cursor: zoom-in; transition: transform .35s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.lb-stage img[data-zoom] { transform: scale(2.2); cursor: zoom-out; }
.lb .ic { position: absolute; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .15); z-index: 2; }
.lb-x { right: 16px; top: 16px; }
.lb-p { left: 16px; top: 50%; }
.lb-n { right: 16px; top: 50%; }
.lb-c { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 13px; background: #fff; padding: 6px 14px; border-radius: 99px; }

/* checkout, order, pages */
.page { padding-block: clamp(28px, 4vw, 64px) 0; }
.page-hd { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 44px); }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(24px, 5vw, 88px); align-items: start; }
.co-form { display: grid; gap: 36px; }
.co-step { display: grid; gap: 14px; }
.co-step > h2 { display: flex; align-items: center; gap: 12px; }
.co-step > h2 i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #000; display: grid; place-items: center; font-size: 14px; font-weight: 700; transition: background .3s, color .3s; }
.co-step[data-done] > h2 i { background: #000; color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.co-side { position: sticky; top: calc(var(--hd) + 20px); background: var(--mist-2); border-radius: 28px; padding: 24px; display: grid; gap: 18px; }
.co-side .line { grid-template-columns: 64px 1fr; padding: 10px 0; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); margin: 8px 0 4px; }
.track li { position: relative; padding-top: 34px; font-size: 13.5px; color: var(--quiet); font-weight: 550; padding-right: 8px; }
.track li::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: var(--rule); }
.track li::after { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--rule); }
.track li[data-done] { color: #000; }
.track li[data-done]::before { background: #000; transform-origin: left; animation: grow .6s var(--ease) both; animation-delay: calc(var(--i) * 140ms); }
.track li[data-done]::after { border-color: #000; background: #000; }
.track li[data-now]::after { background: var(--tone); border-color: #000; }
.track li:last-child::before { display: none; }
@keyframes grow { from { transform: scaleX(0); } }
.card-box { border: 1.5px solid var(--rule); border-radius: 28px; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 18px; }
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.dl dt { font-size: 13px; color: var(--quiet); font-weight: 600; margin-bottom: 4px; }
.dl dd { font-size: 15px; }
.help { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(24px, 5vw, 88px); align-items: start; }
.help-nav { position: sticky; top: calc(var(--hd) + 24px); display: grid; gap: 2px; }
.help-nav a { padding: 8px 0; font-weight: 600; color: var(--quiet); transition: color .2s, padding-left .3s var(--ease); }
.help-nav a:hover, .help-nav a[aria-current="true"] { color: #000; padding-left: 10px; }
.help section { padding-bottom: 56px; display: grid; gap: 16px; }
.help section h3 { font-size: 17px; font-weight: 700; margin-top: 10px; }
.help section p, .help section li { color: var(--graphite); max-width: 66ch; }
.help section ul { list-style: disc; padding-left: 18px; display: grid; gap: 6px; }
.gtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs { display: none; }

/* page change */
#view { min-height: 60vh; }
/* backwards, not both: a transform left on the page would trap its position:fixed children (the phone filter sheet) */
#view[data-in] > * { animation: view .45s var(--ease) backwards; }
@keyframes view { from { opacity: 0; transform: translateY(14px); } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* smaller screens */
@media (max-width: 1100px) {
  .grid { --cols: 3 !important; }
  .look { grid-template-columns: repeat(2, 1fr); }
  .mega-in { grid-template-columns: 1fr; }
  .mega-pics { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(3) { padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  :root { --hd: 56px; }
  .nav, .mine span { display: none; }
  .menu-btn { display: inline-grid; }
  .hd-in { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: start; }
  .logo img { height: 24px; }
  .mine { padding: 0 4px; border: 0; margin: 0; background: none; }
  .hd-tools .ic[data-desk] { display: none; }
  .hero { height: calc(100svh - var(--bar) - 64px); min-height: 520px; }
  /* phone: the photo takes the top three quarters and fades into its own wall colour, so the words under it stay clear of the runner */
  .hero-img { inset: 0 0 auto 0; height: 78%; object-position: 52% 50%; -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); }
  .hero-type { justify-content: flex-start; padding-top: calc(var(--hd) + 20px); }
  .hero-type span { font-size: 20vw; }
  .hero-cta { flex-wrap: nowrap; gap: 6px; }
  .hero-cta .btn { min-height: 46px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-say { text-align: left; }
  .hero-say .hero-cta { justify-content: flex-start; }
  .hero-foot .lede { margin-left: 0; }
  .hero-what { display: none; }
  .kinds, .duo, .kit-in, .pdp, .co, .help { grid-template-columns: minmax(0, 1fr); }
  .kinds-view { display: none; }
  .duo-pic { min-height: 0; aspect-ratio: 4/5; }
  .grid { --cols: 2 !important; gap: 22px 4px; }
  .grid[data-density="2"] { --cols: 1 !important; }
  .rail-track { grid-auto-columns: 62vw; }
  .kinds-list a { gap: 10px; }
  .kinds-list a b { font-size: clamp(26px, 8.6vw, 60px); white-space: normal; min-width: 0; }
  .toolbar { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .toolbar::-webkit-scrollbar { display: none; }
  .toolbar-l, .toolbar-r, .toolbar .chip, .sort { flex: none; }
  .tray { gap: 8px; padding-left: 8px; }
  .tray .ph { width: 30px; }
  .rail-nav { display: none; }
  .search-cols { grid-template-columns: 1fr; gap: 24px; }
  .hits { grid-template-columns: repeat(2, 1fr); }
  .shop-body, .shop-body[data-filters] { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 90; inset: auto 0 0 0; max-height: 86dvh; background: #fff; border-radius: 28px 28px 0 0; transform: translateY(105%); transition: transform .45s var(--ease); overflow-y: auto; padding: 24px var(--pad) 100px; }
  .shop-body[data-filters] .filters { transform: none; }
  .filters-in { width: auto; padding: 0; position: static; max-height: none; opacity: 1; overflow: visible; }
  .filters { padding-bottom: 0; }
  .filters-done { display: flex; position: sticky; bottom: 12px; margin-top: 20px; box-shadow: 0 0 0 16px #fff, 0 -28px 24px 0 #fff; margin-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .dens { display: none; }
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); gap: 2px; }
  .gal::-webkit-scrollbar { display: none; }
  .gal button { flex: 0 0 88%; scroll-snap-align: center; }
  .gal button:first-child:nth-last-child(odd) .ph { aspect-ratio: 3/4; }
  .gal-dots { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
  .gal-dots i { width: 18px; height: 4px; border-radius: 9px; background: var(--rule); transition: background .2s, width .3s; }
  .gal-dots i[data-on] { background: #000; width: 30px; }
  .buy { position: static; }
  .co-side { position: static; order: -1; }
  .co-side, .co-form { min-width: 0; }
  #co-go { white-space: normal; height: auto; min-height: 56px; padding-block: 12px; line-height: 1.25; text-align: center; text-wrap: balance; }
  .help-nav { position: static; display: flex; overflow-x: auto; gap: 16px; white-space: nowrap; }
  .ft-in { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .lb { grid-template-columns: 1fr; }
  .lb-thumbs { display: none; }
  .track { grid-template-columns: 1fr; gap: 0; }
  .track li { padding: 0 0 22px 34px; }
  .track li::before { left: 8px; right: auto; top: 20px; bottom: 0; width: 4px; height: auto; }
  .track li[data-done]::before { transform-origin: top; animation-name: none; }
  .tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
  .tabs a, .tabs button { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11px; font-weight: 600; color: var(--quiet); position: relative; }
  .tabs [aria-current="true"] { color: #000; }
  .tabs .n { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 99px; background: #000; color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
  .tabs .n[data-n="0"] { display: none; }
  body { padding-bottom: 60px; }
  .toast, .tray { bottom: 76px; }
  .tray[data-on] + .toast { bottom: 144px; }
  .stickybuy { bottom: 59px; }
  .stickybuy .sp { display: none; }
  .stickybuy .btn { flex: 1; }
  /* narrow cards: a sale price (now and was) drops under the name instead of pushing the page sideways */
  .card-bd .row, .card-meta { flex-wrap: wrap; gap: 2px 10px; }
  .card-n { min-width: 0; flex: 1 1 100%; }
  .card-add { display: none; }
  .card[data-open] .card-add { display: grid; }
  .look { gap: 20px 4px; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-right: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .facts > div:first-child { border-top: 0; }
  .ft-in { grid-template-columns: 1fr; }
  .kit-row { grid-template-columns: 1fr 90px; }
  .buy-go { grid-template-columns: 1fr 52px; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
html[data-motion="off"] .band-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  html:not([data-motion="on"]) .band-track { animation: none; }
}
