/* ==========================================================================
   Make Something Shake: storefront
   Aesthetic: warm paper + mineral-washed black + worn screen-print red.
   Team palettes override --accent / --accent-2 / --ink per line.
   ========================================================================== */

:root {
  --paper: #e8e7e3;      /* matches the mockup backdrop so product crops sit seamlessly */
  --paper-2: #dcdad4;
  --bone: #efebe4;
  --wash: #161515;       /* mineral-wash black */
  --wash-2: #201f1e;
  --ink: #141313;
  --muted: #6d6862;
  --accent: #b3202a;
  --accent-2: #1d2a4d;
  --line: rgba(20, 19, 19, .14);
  --line-dark: rgba(239, 235, 228, .14);

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-slab: "Alfa Slab One", "Rockwell", Georgia, serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-script: "Mrs Saint Delafield", cursive;

  --gx: clamp(16px, 4vw, 56px);
  --ticker-h: 32px;
  --hdr-h: 64px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --radius: 2px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bone); }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bone); padding: 10px 14px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------- texture ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background: url(../img/tex/grain.png);
  opacity: .55; mix-blend-mode: multiply;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.distress {
  -webkit-mask-image: url(../img/tex/distress-mask.png);
  mask-image: url(../img/tex/distress-mask.png);
  -webkit-mask-size: 520px; mask-size: 520px;
}
.star {
  display: inline-block; width: .7em; height: .7em; flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}

/* ---------- type ---------- */
.eyebrow {
  font: 600 13px/1.2 var(--f-cond);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.h-display {
  font: 400 clamp(44px, 7vw, 112px)/.9 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.h-display--light { color: var(--bone); }
[data-split] .w { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding-bottom: .04em; margin-bottom: -.04em; }
[data-split] .c { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--bone); --fill: var(--accent);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn span { position: relative; }
.btn--accent { --bg: var(--accent); --fill: var(--ink); }
.btn--light { --bg: var(--bone); --fg: var(--ink); --fill: var(--accent); }
.btn--light:hover { color: var(--bone); }
.btn--ink { --bg: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; font-size: 16px; }
.btn[disabled] { --bg: #b9b5ae; --fg: #57524c; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.link { text-decoration: underline; text-underline-offset: 3px; font-size: 13px; color: var(--muted); }
.link-arrow {
  font: 600 14px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase;
  display: inline-flex; gap: 10px; align-items: center; white-space: nowrap;
}
.link-arrow i { font-style: normal; transition: transform .4s var(--ease); }
.link-arrow:hover i { transform: translateX(6px); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; font-size: 18px; border-radius: 50%; }
.icon-btn:hover { background: rgba(0, 0, 0, .06); }

/* ---------- ticker + header ---------- */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--ticker-h);
  background: var(--ink); color: var(--bone); overflow: hidden;
  font: 600 12px/var(--ticker-h) var(--f-cond); letter-spacing: .24em; text-transform: uppercase;
  transition: transform .5s var(--ease);
}
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap; }
.ticker .star { color: var(--accent); width: 9px; height: 9px; }

.hdr {
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 60; height: var(--hdr-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gx);
  color: #fff; mix-blend-mode: difference;
  transition: transform .5s var(--ease);
}
body.hdr-hidden .hdr, body.hdr-hidden .ticker { transform: translateY(calc(-1 * (var(--ticker-h) + var(--hdr-h)))); }
.hdr__brand { display: flex; align-items: center; gap: 10px; }
.hdr__brand .mark { width: 22px; height: 22px; transition: transform .8s var(--ease); }
.hdr__brand:hover .mark { transform: rotate(90deg); }
.hdr__word { font: 400 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.hdr__line {
  font: 600 13px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase;
  padding-left: 22px; border-left: 1px solid currentColor; opacity: .85;
}
.hdr__line span { opacity: .6; margin-right: 6px; }
.hdr__nav { margin-left: auto; display: flex; gap: 26px; }
.hdr__nav a, .hdr__bag {
  font: 600 14px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase;
  position: relative;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__bag { display: inline-flex; align-items: center; gap: 8px; }
.hdr__count {
  min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid currentColor; border-radius: 12px;
  display: inline-grid; place-items: center; font-size: 12px; letter-spacing: 0;
}
.hdr__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (max-width: 860px) {
  .hdr__nav, .hdr__line { display: none; }
  .hdr__bag { margin-left: auto; }
  .hdr__word { font-size: 18px; }
}
@media (max-width: 380px) { .hdr__word { font-size: 15px; } }

.env-flag {
  position: fixed; right: 12px; top: calc(var(--ticker-h) + var(--hdr-h) + 8px); z-index: 95; pointer-events: none;
  background: var(--accent); color: #fff; padding: 5px 9px; border-radius: 2px;
  font: 700 11px/1 var(--f-cond); letter-spacing: .2em;
}

/* ---------- umbrella hero ---------- */
.uhero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  background: var(--wash); color: var(--bone);
  display: grid; place-items: center;
}
.uhero__media {
  position: absolute; inset: 0;
  clip-path: inset(22% 30% 22% 30%);
}
.no-js .uhero__media, .reduced .uhero__media { clip-path: inset(0); }
.uhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.25); }
.uhero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(22, 21, 21, .25), rgba(22, 21, 21, .8) 75%);
}
.uhero__title {
  position: relative; z-index: 2; text-align: center;
  font: 400 clamp(68px, 16.5vw, 270px)/.8 var(--f-display); text-transform: uppercase;
  letter-spacing: -.01em; color: var(--bone);
}
.uhero__row { display: block; }
.uhero__row--accent { color: var(--accent); }
.uhero__eyebrow {
  position: absolute; z-index: 2; left: var(--gx); bottom: 36px;
  font: 600 13px/1.2 var(--f-cond); letter-spacing: .28em; text-transform: uppercase; opacity: .8;
}
.uhero__cta {
  position: absolute; z-index: 2; right: var(--gx); bottom: 28px;
  display: grid; grid-template-columns: auto auto; gap: 2px 18px; align-items: end;
  padding: 16px 20px; background: var(--bone); color: var(--ink); border-radius: var(--radius);
}
.uhero__cta-no { grid-column: 1 / -1; font: 600 12px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.uhero__cta-name { font: 400 28px/1 var(--f-display); text-transform: uppercase; }
.uhero__cta-go { font: 600 13px/1.6 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; }
.uhero__cta-go i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.uhero__cta:hover .uhero__cta-go i { transform: translateX(5px); }
.scroll-cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: rgba(239, 235, 228, .2); overflow: hidden; z-index: 2; }
.scroll-cue span { position: absolute; inset: 0; background: var(--bone); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 700px) {
  .uhero__cta { left: var(--gx); right: var(--gx); bottom: 84px; }
  .uhero__eyebrow { bottom: 40px; }
  .scroll-cue { display: none; }
}

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(96px, 16vw, 220px) var(--gx); max-width: 1500px; margin: 0 auto; }
.manifesto__text {
  font: 400 clamp(34px, 5.6vw, 92px)/1 var(--f-display); text-transform: uppercase;
}
.manifesto__text em { font-style: normal; color: var(--accent); }
.manifesto__text .wd { opacity: .14; }
.no-js .manifesto__text .wd, .reduced .manifesto__text .wd { opacity: 1; }

/* ---------- lines ---------- */
.lines { padding: 0 var(--gx) clamp(96px, 12vw, 180px); }
.lines__head { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.lines__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.lines__copy { color: var(--muted); max-width: 38ch; }
.lines__grid { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.line-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.line-card--live { grid-row: span 2; }
.line-card__img { position: relative; overflow: hidden; background: var(--wash); aspect-ratio: 16 / 10; border-radius: var(--radius); }
.line-card--live .line-card__img { aspect-ratio: auto; flex: 1; min-height: 360px; }
.line-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.line-card--live:hover .line-card__img img { transform: scale(1.05); }
.line-card__static {
  display: grid; place-items: center; color: rgba(239, 235, 228, .5);
  background: var(--wash) url(../img/tex/grain.png); background-blend-mode: screen;
  animation: static .4s steps(3) infinite;
}
.line-card__static span { font: 400 clamp(64px, 9vw, 120px)/1 var(--f-display); }
@keyframes static { 0% { background-position: 0 0; } 33% { background-position: 40px -30px; } 66% { background-position: -30px 20px; } }
.line-card__meta { display: flex; justify-content: space-between; margin-top: 6px; font: 600 13px/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.line-card__status { display: inline-flex; align-items: center; gap: 8px; }
.line-card__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.line-card__name { font: 400 clamp(30px, 3.6vw, 56px)/.95 var(--f-display); text-transform: uppercase; }
.line-card--soon .line-card__name { font-size: clamp(24px, 2.4vw, 34px); }
.line-card__sub { color: var(--muted); font-size: 15px; }
.line-card__sub a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .lines__head { grid-template-columns: 1fr; }
  .lines__grid { grid-template-columns: 1fr; }
  .line-card--live { grid-row: auto; }
  .line-card--live .line-card__img { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- product rail ---------- */
.rail-sec, .related { padding: clamp(80px, 10vw, 140px) 0; }
.rail-sec { background: var(--paper-2); }
.rail-sec__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gx); margin-bottom: 40px; }
@media (max-width: 640px) { .rail-sec__head { flex-direction: column; align-items: flex-start; gap: 16px; } }
.rail {
  display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--gx) 12px;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gx);
  scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail__item { flex: 0 0 clamp(240px, 26vw, 380px); scroll-snap-align: start; }
.rail__img { background: var(--paper); overflow: hidden; border-radius: var(--radius); }
.rail__img img { width: 100%; aspect-ratio: 39 / 70; object-fit: cover; transition: transform .9s var(--ease); }
.rail__item:hover .rail__img img { transform: translateY(-6px) scale(1.03); }
.rail__meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 14px; }
.rail__motto { grid-column: 1 / -1; font: 400 15px/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.rail__name { font: 600 18px/1.2 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; }
.rail__name b { color: var(--muted); font-weight: 600; }
.rail__price { font: 600 18px/1.2 var(--f-cond); }

/* ---------- pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: clamp(80px, 10vw, 140px) var(--gx);
}
.pillar { border-top: 1px solid var(--line); padding-top: 24px; }
.pillar__no { font: 400 14px/1 var(--f-display); color: var(--accent); letter-spacing: .1em; }
.pillar h3 { font: 400 clamp(28px, 3vw, 40px)/1 var(--f-display); text-transform: uppercase; margin: 18px 0 10px; }
.pillar p { color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- team hero (mirrors the lineup mockup) ---------- */
.thero { background: linear-gradient(#cfc6bd, #c9c0b7); padding: calc(var(--ticker-h) + var(--hdr-h) + clamp(24px, 4vw, 56px)) var(--gx) clamp(48px, 6vw, 88px); }
.thero__top { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; margin-bottom: clamp(24px, 3vw, 44px); }
.thero__by { margin-bottom: 10px; }
.thero__h1 { font: 400 clamp(56px, 10.4vw, 176px)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.thero__line { margin-top: 14px; font: 500 clamp(16px, 2.5vw, 38px)/1 var(--f-cond); letter-spacing: .32em; text-transform: uppercase; }
.thero h1, .thero .thero__line { color: var(--ink); }
.thero__manifesto {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 18px; flex: none;
  font: 500 clamp(13px, 1.25vw, 18px)/1.2 var(--f-cond); letter-spacing: .3em; text-transform: uppercase;
}
.rule { display: block; width: 48px; height: 3px; background: var(--accent); margin-top: 10px; transform-origin: left; }
.thero__shirts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 calc(-1 * var(--gx)); }
.thero__shirt { position: relative; display: block; }
.thero__slice {
  display: block; aspect-ratio: 294.75 / 560; background-size: 400% 100%; background-repeat: no-repeat;
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.thero__shirts:hover .thero__slice { filter: saturate(.55) brightness(.9); }
.thero__shirts .thero__shirt:hover .thero__slice { transform: translateY(-12px); filter: none; }
.thero__cap { display: grid; justify-items: center; gap: 6px; padding-top: 18px; text-align: center; }
.thero__cap b { font: 600 clamp(12px, 1.25vw, 18px)/1 var(--f-cond); letter-spacing: .3em; text-transform: uppercase; }
.thero__cap em { font: 500 11px/1 var(--f-cond); font-style: normal; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .thero__top { flex-direction: column; }
  .thero__manifesto { padding-top: 0; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
  .rule { display: none; }
  .thero__shirts {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px;
    margin: 0 calc(-1 * var(--gx)); padding: 0 var(--gx); scrollbar-width: none;
  }
  .thero__shirts::-webkit-scrollbar { display: none; }
  .thero__shirts { margin: 0 calc(-1 * var(--gx)); gap: 0; }
  .thero__shirt { flex: 0 0 64%; scroll-snap-align: center; }
}

/* ---------- championship years ---------- */
.years {
  background: var(--wash); color: var(--bone);
  padding: clamp(96px, 12vw, 180px) var(--gx) clamp(64px, 8vw, 120px);
  position: relative; overflow: hidden;
}
.years__row { display: flex; justify-content: space-between; gap: 2vw; }
.years__y { font: 400 clamp(52px, 10.6vw, 220px)/.85 var(--f-display); color: var(--accent); display: inline-block; }
@media (max-width: 700px) {
  .years__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; justify-items: center; }
  .years__y { font-size: 19vw; }
}
.years__cap {
  margin-top: clamp(28px, 4vw, 56px); text-align: center;
  font: 500 clamp(16px, 1.8vw, 24px)/1.3 var(--f-cond); letter-spacing: .26em; text-transform: uppercase;
}
.years__cap span { color: var(--accent); }
.years__intro { max-width: 60ch; margin: 24px auto 0; text-align: center; color: rgba(239, 235, 228, .7); }

/* ---------- legends horizontal ---------- */
.legends { position: relative; background: var(--wash); color: var(--bone); overflow: hidden; }
.legends__track { display: flex; height: 100svh; width: max-content; }
.legends__intro {
  flex: 0 0 min(560px, 80vw); display: flex; flex-direction: column; justify-content: center;
  padding: var(--hdr-h) var(--gx) 0;
}
.legends__intro .eyebrow { color: rgba(239, 235, 228, .6); }
.legends__hint { margin-top: 28px; font: 600 13px/1 var(--f-cond); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.legends__hint i { font-style: normal; display: inline-block; animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.legend {
  flex: 0 0 100vw; height: 100svh; position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(260px, .8fr); align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: calc(var(--ticker-h) + var(--hdr-h)) var(--gx) 40px;
  border-left: 1px solid var(--line-dark);
}
.legend__last {
  writing-mode: vertical-rl;
  font: 400 min(20vh, 15vw)/.8 var(--f-display); text-transform: uppercase; color: var(--accent);
  letter-spacing: -.01em; max-height: 100%;
}
.legend__img { height: 100%; display: grid; place-items: center; min-height: 0; }
.legend__img img { max-height: 76svh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.legend__meta { display: grid; gap: 14px; justify-items: start; }
.legend__no { font: 400 clamp(64px, 8vw, 140px)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.legend__motto { font: 400 clamp(48px, 6vw, 104px)/.9 var(--f-display); text-transform: uppercase; }
.legend__sig { font: 400 clamp(36px, 3.4vw, 54px)/1 var(--f-script); color: rgba(239, 235, 228, .85); margin: -6px 0 10px; }
.legends__progress { position: absolute; left: var(--gx); right: var(--gx); bottom: 24px; height: 2px; background: var(--line-dark); }
.legends__progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .legends__track { flex-direction: column; height: auto; width: auto; }
  .legends__intro { flex: none; padding: 96px var(--gx) 24px; }
  .legend { flex: none; height: auto; grid-template-columns: auto 1fr; padding: 32px var(--gx) 56px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .legend__last { grid-row: span 2; font-size: clamp(72px, 22vw, 140px); }
  .legend__img img { max-height: none; width: 100%; }
  .legends__hint, .legends__progress { display: none; }
}

/* ---------- 3D flip ---------- */
.flip { position: relative; }
.flip__stage {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden;
  display: grid; place-items: center; perspective: 1800px;
  padding: calc(var(--ticker-h) + var(--hdr-h)) var(--gx) 32px;
}
.flip__bg {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: 400 clamp(56px, 10.5vw, 190px)/.92 var(--f-slab); text-transform: uppercase; color: var(--accent);
  pointer-events: none; user-select: none; opacity: .95;
}
.flip__live { color: var(--wash-2); font-size: .7em; }
.flip__card {
  position: relative; z-index: 2; width: min(58vh, 72vw); aspect-ratio: 1000 / 1207;
  transform-style: preserve-3d; will-change: transform;
}
.flip__face {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 34px 40px rgba(20, 19, 19, .35));
}
.flip__face--back { transform: rotateY(180deg); }
.flip__copy {
  position: absolute; z-index: 3; right: var(--gx); bottom: clamp(24px, 5vw, 64px);
  width: min(380px, calc(100% - 2 * var(--gx))); display: grid; gap: 14px; justify-items: start;
  background: var(--paper); padding: 22px; border-radius: var(--radius);
}
.flip__copy .eyebrow { margin: 0; color: var(--accent); }
.flip__name { font: 400 clamp(28px, 2.6vw, 40px)/1 var(--f-display); text-transform: uppercase; }
.flip__copy p { color: var(--muted); }
@media (max-width: 860px) {
  .flip__stage { height: auto; min-height: 0; display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 64px; }
  .flip__bg { position: relative; font-size: clamp(44px, 13.5vw, 110px); }
  .flip__card { margin-top: -28vw; width: min(80vw, 420px); }
  .flip__copy { position: relative; right: auto; bottom: auto; width: 100%; }
}

/* ---------- shop grid ---------- */
.shop { padding: clamp(80px, 10vw, 140px) var(--gx); }
.shop__head { margin-bottom: 44px; }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card:first-child { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: 1 / -1; }
.card__media { position: relative; flex: 1; display: flex; flex-direction: column; }
.card__img { position: relative; display: block; background: #cdc5bc; overflow: hidden; border-radius: var(--radius); flex: 1; }
.card__img img { width: 100%; height: 100%; aspect-ratio: 39 / 70; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card:first-child .card__img img { aspect-ratio: auto; position: absolute; inset: 0; }
.card:first-child .card__img { min-height: 520px; }
.card--wide .card__img img { aspect-ratio: 1179 / 748; object-fit: cover; }
.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__img img:not(.card__alt) { transform: scale(1.04); }
.card:hover .card__alt { opacity: 1; }
.card:hover .card__img:has(.card__alt) img:not(.card__alt) { opacity: 0; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--accent); color: #fff;
  font: 700 11px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; padding: 7px 9px; border-radius: 2px;
}
.card__body { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.card__kicker { font: 600 12px/1.2 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__name { font: 400 clamp(20px, 1.8vw, 28px)/1.05 var(--f-display); text-transform: uppercase; margin-top: 6px; }
.card:first-child .card__name { font-size: clamp(28px, 3vw, 44px); }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { font: 600 20px/1 var(--f-cond); white-space: nowrap; }
.card__price s, .pdp__price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.card__quick {
  position: absolute; z-index: 3; left: 10px; right: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 10px; background: var(--bone); border-radius: var(--radius);
  bottom: 10px;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.card__quick span { width: 100%; font: 600 11px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card__quick button {
  min-width: 40px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 2px;
  font: 600 13px/1 var(--f-cond); letter-spacing: .06em;
}
.card__quick button:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
@media (hover: hover) {
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 1000px) {
  .shop__grid { grid-template-columns: repeat(2, 1fr); }
  .card:first-child { grid-row: auto; }
  .card:first-child .card__img { min-height: 0; }
  .card:first-child .card__img img { position: static; aspect-ratio: 39 / 70; }
}
@media (max-width: 520px) { .shop__grid { gap: 32px 10px; } .card__body { flex-direction: column; gap: 6px; } }

/* ---------- big marquee ---------- */
.bigmarquee { background: var(--wash); color: var(--bone); overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; }
.bigmarquee__track { display: flex; align-items: center; gap: .4em; width: max-content; white-space: nowrap; font: 400 clamp(56px, 9vw, 150px)/1 var(--f-display); text-transform: uppercase; }
.bigmarquee__track span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1.5px var(--bone); }
.bigmarquee .star { color: var(--accent); width: .45em; height: .45em; }

/* ---------- product page ---------- */
.pdp { padding: calc(var(--ticker-h) + var(--hdr-h) + 20px) var(--gx) 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 600 12px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--ink); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 72px); }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__shot { margin: 0; position: relative; background: var(--paper-2); overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.pdp__shot img { width: 100%; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pdp__shot.is-zoom img { transform: scale(1.8); }
.pdp__shot figcaption { position: absolute; left: 14px; top: 14px; font: 600 11px/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; background: var(--bone); padding: 6px 8px; }
.pdp__sticky { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 22px; }
.pdp__sticky .eyebrow { margin: 0; color: var(--accent); }
.pdp__name { font: 400 clamp(40px, 4.6vw, 76px)/.9 var(--f-display); text-transform: uppercase; }
.pdp__price { font: 600 26px/1 var(--f-cond); }
.pdp__summary { color: #3c3834; max-width: 46ch; }
.sizes-pick { border: 0; margin: 0; padding: 0; }
.sizes-pick legend { display: flex; justify-content: space-between; width: 100%; font: 600 13px/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; padding: 0; }
.sizes-pick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sizes-pick label { position: relative; }
.sizes-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes-pick label span {
  display: grid; place-items: center; height: 50px; border: 1px solid var(--line); border-radius: 2px;
  font: 600 15px/1 var(--f-cond); letter-spacing: .08em; transition: background .25s, color .25s, border-color .25s;
}
.sizes-pick label:hover span { border-color: var(--ink); }
.sizes-pick input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.sizes-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sizes-pick.is-error label span { border-color: var(--accent); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sizes-pick__fit { margin-top: 10px; font-size: 13px; color: var(--muted); }
.pdp__trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.pdp__trust li { display: flex; gap: 10px; align-items: center; }
.pdp__trust li::before { content: ""; width: 8px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); flex: none; }
.acc { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; font: 600 14px/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; line-height: .7; transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc ul, .acc p { margin: 14px 0 10px; color: #3c3834; font-size: 15px; }
.acc ul { padding-left: 18px; display: grid; gap: 4px; }
.atb-bar {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 12px;
  padding: 10px var(--gx) calc(10px + env(safe-area-inset-bottom)); background: var(--bone); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.atb-bar img { width: 44px; height: 54px; object-fit: cover; }
.atb-bar div { display: grid; flex: 1; min-width: 0; font: 600 14px/1.2 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; }
.atb-bar strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atb-bar .btn { min-height: 46px; padding: 0 18px; }
.atb-bar.is-on { transform: none; }
@media (max-width: 860px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gx)); padding: 0 var(--gx); gap: 8px; scrollbar-width: none; }
  .pdp__shot { flex: 0 0 86%; scroll-snap-align: center; }
  .pdp__sticky { position: static; }
  .atb-bar { display: flex; }
}
.related { background: var(--paper-2); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 120px var(--gx) 80px; }
.nf__code { font: 400 clamp(120px, 30vw, 380px)/.8 var(--f-display); color: var(--accent); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--bone); padding: clamp(80px, 10vw, 140px) var(--gx) 28px; overflow: hidden; }
.ftr .eyebrow { color: rgba(239, 235, 228, .55); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.ftr__alert { max-width: 760px; }
.ftr__art { justify-self: center; width: min(440px, 100%); transform: rotate(6deg); }
.ftr__art img { width: 100%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)); }
@media (max-width: 860px) { .ftr__top { grid-template-columns: 1fr; } .ftr__art { display: none; } }
.ftr__title { font: 400 clamp(52px, 8vw, 128px)/.88 var(--f-display); text-transform: uppercase; }
.ftr__copy { margin: 20px 0 28px; color: rgba(239, 235, 228, .7); max-width: 44ch; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.signup input[type=email] {
  flex: 1 1 260px; min-height: 52px; padding: 0 16px; border-radius: var(--radius);
  background: transparent; color: var(--bone); border: 1px solid rgba(239, 235, 228, .35);
  font: 400 16px var(--f-body);
}
.signup input[type=email]:focus { border-color: var(--bone); outline: none; }
.signup input::placeholder { color: rgba(239, 235, 228, .4); }
.signup__msg { width: 100%; min-height: 1.4em; font-size: 14px; color: rgba(239, 235, 228, .8); }
.ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; margin-top: clamp(64px, 8vw, 110px); }
.ftr__cols div { display: grid; gap: 10px; align-content: start; }
.ftr__cols a, .ftr__cols span { font-size: 15px; }
.ftr__cols a:hover { color: var(--accent); }
.ftr__cols .muted { color: rgba(239, 235, 228, .4); }
.ftr__word {
  margin: clamp(64px, 8vw, 110px) calc(-.02 * 100vw) 0; white-space: nowrap; text-align: center;
  font: 400 10.4vw/.8 var(--f-display); text-transform: uppercase; color: var(--accent);
}
.ftr__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(239, 235, 228, .55); }
@media (max-width: 640px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(20, 19, 19, .5); backdrop-filter: blur(2px); opacity: 0; transition: opacity .4s var(--ease); }
.scrim.is-on { opacity: 1; }
.cart {
  position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .6s var(--ease);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font: 400 26px/1 var(--f-display); text-transform: uppercase; }
.cart__head h2 span { color: var(--muted); }
.cart__ship { padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 14px; }
.meter { height: 4px; background: var(--paper-2); margin-top: 10px; border-radius: 2px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.cart__items { list-style: none; margin: 0; padding: 8px 22px; overflow-y: auto; flex: 1; }
.cart__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__item img { width: 76px; height: 96px; object-fit: cover; background: var(--paper-2); border-radius: 2px; }
.cart__item h3 { font: 400 18px/1.05 var(--f-display); text-transform: uppercase; }
.cart__item p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cart__price { font: 600 17px/1 var(--f-cond); text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; margin-top: 10px; }
.qty button { width: 30px; height: 30px; font-size: 16px; }
.qty span { min-width: 24px; text-align: center; font: 600 14px var(--f-cond); }
.cart__rm { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; margin-left: auto; }
.cart__empty { padding: 40px 22px; display: grid; gap: 18px; justify-items: start; }
.cart__empty[hidden] { display: none; }
.cart__foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart__row { display: flex; justify-content: space-between; font: 600 18px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; }
.cart__note { font-size: 13px; color: var(--muted); }
.cart__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font: 600 11px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cart.is-empty .cart__foot, .cart.is-empty .cart__ship { display: none; }

/* ---------- modals ---------- */
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 48px); border: 0; padding: 32px; border-radius: 4px;
  background: var(--paper); color: var(--ink);
}
.modal::backdrop { background: rgba(20, 19, 19, .55); backdrop-filter: blur(2px); }
.modal[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal h2 { font: 400 clamp(28px, 4vw, 40px)/1 var(--f-display); text-transform: uppercase; margin-bottom: 14px; }
.modal p { color: #3c3834; }
.modal .eyebrow { color: var(--accent); margin-bottom: 10px; }
.modal__x { position: absolute; top: 12px; right: 12px; }
.sizes { width: 100%; border-collapse: collapse; margin-top: 20px; font: 600 15px/1 var(--f-cond); letter-spacing: .06em; }
.sizes th, .sizes td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.sizes th { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ticks { padding-left: 18px; display: grid; gap: 8px; color: #3c3834; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; z-index: 100; top: 0; left: 0; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  border-radius: 50%; background: var(--accent); color: #fff; pointer-events: none;
  display: grid; place-items: center; transform: scale(0);
  font: 600 13px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- motion fallbacks ---------- */
.js:not(.reduced) [data-reveal], .js:not(.reduced) [data-fade] { opacity: 0; }
.js.ready-fallback [data-reveal], .js.ready-fallback [data-fade] { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .grain, .line-card__static, .scroll-cue span, .legends__hint i, .line-card__status i { animation: none; }
  * { scroll-behavior: auto !important; }
}
