*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E3173E;
  --red-text: #FF3B5C;   /* red for small text: 5.0:1+ on every dark here */
  --red-dark: #b8102f;
  --red-on-light: #930d26;   /* red type on the lit studio wall: 5.0:1+ down to luma 190 */
  --red-glow: rgba(227, 23, 62, 0.15);
  --black: #000000;
  --dark: #0a0a0a;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --dark-4: #222222;
  --white: #ffffff;
  --off-white: #f0eeeb;
  /* The ground under every product photograph (PHOTO GROUND, below). */
  --photo-ground: var(--off-white);
  --grey: #888888;
  --grey-light: #cccccc;
  /* The edge of a form field (WCAG 1.4.11, Oct 2026): 3:1 is the floor
     against both sides of the line, the black page outside and the field's
     own --dark-2/--dark-3 fill inside. --dark-4 was 1.3:1, i.e. an empty
     field was invisible. #6b6b6b is 3.9:1 on black, 3.5:1 on --dark-2. */
  --field-edge: #6b6b6b;

  /* ─── THE WALL VIGNETTE ───
     Every surface that shows the studio wall (`product-backdrop.webp`) puts
     this on top of it. Since Oct 2026 that is only the product page's details
     column: the cards and the image panel are plain white (the photographs'
     own ground), so "three call sites" below is history. The photograph carries its own light now — a bright
     middle that falls to near-black by its edge (Oct 2026, client's own
     photo) — so this is no longer what shapes the light, it only makes
     sure the light is gone by the edge of *that box*: a card, the product
     page's image panel and its details column all crop the file
     differently, and the narrow ones show only the middle of it, where it
     is still bright. Hence it starts late, at 70% of the ray, so the lit
     middle is the photograph's own and stays as large as the photograph
     made it (the old one started at 45% and took a third of it back).
     The ramp is still **mostly linear** (60% linear, 40% smoothstep — an
     all-smoothstep curve is twice as steep in the middle as at its ends,
     which is what reads as an edge) and it still does not saturate inside
     the box: it is climbing at the corners (135% of the ray) rather than
     hitting black early and leaving a flat ring of dead shadow. Change it
     here; all three call sites share it. */
  --wall-vignette: radial-gradient(ellipse 50% 50% at 50% 48%,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0)    70%,
    rgba(0,0,0,0.12) 80%,
    rgba(0,0,0,0.27) 90%,
    rgba(0,0,0,0.45) 100%,
    rgba(0,0,0,0.64) 110%,
    rgba(0,0,0,0.81) 120%,
    rgba(0,0,0,0.95) 130%,
    rgba(0,0,0,1)    135%);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  /* Total fixed header height (top banner + brand bar + nav). Used to offset hero so the kick isn't cropped by the fixed UI. */
  --banner-stack: 165px;

  /* ─── MOTION ───
     One scale for the whole page, so nothing snaps. Two clocks: anything
     small and pointer-driven is quick and unremarkable (0.2s, ease-in-out
     — colour, borders, chips, icons), and anything structural arrives with
     weight (0.6s on --ease-panel, a curve that barely moves for the first
     third and then rushes into place). Hover accents sit between them, and
     an image only ever moves 3%.
     Every duration and curve below is measured off the reference
     storefront the client asked this to feel like; they are the numbers,
     not the CSS. Change them here, not at the call sites. */
  --dur-micro: 0.2s;
  --dur-accent: 0.3s;
  --dur-zoom: 0.5s;
  --dur-panel: 0.6s;
  --dur-reveal: 0.6s;
  --ease-micro: ease-in-out;
  --ease-accent: ease;
  --ease-panel: cubic-bezier(0.75, 0, 0.175, 1);
  /* Opening and closing a block of copy (the product page's accordions).
     Neither clock above fits it: --ease-panel barely moves for its first
     third, which under a finger reads as the tap not registering, and
     0.2s is too quick for a panel that can be 150px tall. This one starts
     at once and lands softly. */
  --dur-collapse: 0.38s;
  --ease-collapse: cubic-bezier(0.4, 0, 0.2, 1);

  /* Cards carry the reveal and the hover on one element, so both sets of
     properties have to live in a single transition list. */
  --card-transition:
    opacity var(--dur-reveal) var(--ease-accent),
    translate var(--dur-reveal) var(--ease-accent),
    transform var(--dur-accent) var(--ease-micro),
    border-color var(--dur-accent) var(--ease-micro),
    box-shadow var(--dur-accent) var(--ease-micro);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--banner-stack) + 1rem); }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── IMPACT SHAKE ───
   Fires with the hero flash: one short jolt of the whole page. Applied to
   the three fixed bars and to main/footer individually, never to <body> or
   <header>: a transform on either makes it the containing block *and* a
   stacking context for the fixed bars inside it, which drops them behind
   the hero for the length of the animation. */

@keyframes impactShake {
  0%   { transform: translate3d(0, 0, 0); }
  20%  { transform: translate3d(-4px, 2px, 0); }
  40%  { transform: translate3d(3px, -2px, 0); }
  60%  { transform: translate3d(-2px, 1px, 0); }
  80%  { transform: translate3d(1px, -1px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.impact-shake {
  animation: impactShake 0.17s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .impact-shake { animation: none; }
}

/* ─── GRAIN OVERLAY ─── */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  /* Under the fixed bars (1000/1001), not over them. Safari 26 tints the
     iPhone status bar from the fixed element it hit-tests at the top edge,
     and it ignores pointer-events while doing so: at 9999 this viewport-sized
     layer was that element, so Safari gave up and the page scrolled visibly
     behind the clock. With the red banner on top, the status bar is red. */
  z-index: 999;
  opacity: 0.5;
}

/* On a desktop browser the grain goes back over the bars, as it was before
   the iPhone fix. It is the near-transparent full-viewport layer Safari 26
   finds at the top edge, so Safari tints its tab bar and address bar black
   instead of taking the banner's red. Touch devices keep the rule above. */

@media (hover: hover) and (pointer: fine) {
  body::after { z-index: 9999; }
}

/* ─── NAVIGATION ─── */

.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-condensed, inherit);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1rem;
  text-align: center;
  transition: background 0.2s ease;
  cursor: pointer;
}

.top-banner:hover { background: #c5132f; }

.top-banner:focus-visible { outline-offset: -4px; }

.brand-bar {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 1001;
  height: 44px;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.brand-bar::-webkit-scrollbar { display: none; }

.brand-bar a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: var(--font-condensed, 'Oswald', sans-serif);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.brand-bar a:hover { color: #fff; }

.brand-bar a.primary {
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.brand-bar a.primary:hover { color: var(--red-text); }

/* The bar's first logo is the "Chuck Norris Approved" stamp (BRAND BAR STAMP).
   The file is white ink on transparency: the client's art is black on white,
   which vanishes on this dark bar. 40px is about as tall as the 44px bar allows (43px inside its border). */

.brand-bar a.primary { padding: 0; }

.brand-bar a.primary .brand-stamp {
  height: 40px;
  width: auto;
  display: block;
}

.footer-brand .f-logo .footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.cn-mark-inline {
  display: inline-block;
  vertical-align: -0.18em;
  height: 1em;
  width: 2.73em;
  background-image: url("/cn-mark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* hide any inner fallback text from sighted users; aria-label provides a11y */
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.product-name .cn-mark-inline,
.kimono-story h2 .cn-mark-inline {
  height: 0.9em;
  width: 2.46em;
  vertical-align: -0.10em;
}

/* Everywhere the site says "Chuck Norris®" on screen it shows this mark
   instead (Oct 2026, client: "everywhere chuck norris TM is used, use the
   logo"). In small print — the legal lines, the product page's eyebrow and
   its feature notes — 1em would make the two-line mark ~5px lettering, so
   there it is 1.6em and centred on the line. */

.footer-bottom .cn-mark-inline,
.pp-legal .cn-mark-inline,
.pp-collection .cn-mark-inline {
  height: 1.6em;
  width: 4.37em;
  vertical-align: middle;
}

.brand-bar .divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Partner logos (Oct 2026, client: "replace … with the logos of each one").
   Each file is cut out to a transparent background and set for this dark bar:
   black parts turned white, color kept. Heights differ per logo so they read
   at the same visual weight: a stacked mark needs more height than a wide one. */

.brand-bar a.partner {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity var(--dur-micro) var(--ease-micro);
}

.brand-bar a.partner:hover,
.brand-bar a.partner:focus-visible { opacity: 1; }

.partner-logo { display: block; width: auto; height: 28px; }

.partner-logo.partner-ufaf { height: 34px; }

.partner-logo.partner-cforce { height: 28px; }

.partner-logo.partner-roundhouse { height: 26px; }

.partner-logo.partner-lwr { height: 30px; }

.top-banner-text { line-height: 1.25; text-wrap: balance; }

.top-banner .promo-code {
  font-weight: 800;
  padding: 0.1em 0.45em 0.05em;
  margin: 0 0.15em;
  border: 1px dashed rgba(255,255,255,0.85);
  border-radius: 3px;
}

@media (max-width: 1000px) {
  .top-banner { font-size: 0.72rem; letter-spacing: 0.08em; }
}

@media (max-width: 760px) {
  .brand-bar { gap: 1.75rem; padding: 0 1rem; }
}

nav {
  position: fixed;
  top: 80px; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: 85px;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227,23,62,0.15);
  transition: background var(--dur-accent) var(--ease-micro),
              height var(--dur-accent) var(--ease-micro),
              border-color var(--dur-accent) var(--ease-micro);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--white);
  padding-top: 0;
  position: relative;
}

.nav-kick-sprite {
  width: 77px;
  height: 80px;
  background-image: url("/nav-kick-sprite.png");
  background-size: 2002px 80px;
  background-repeat: no-repeat;
  background-position: 0 0;
  opacity: 0;
  flex-shrink: 0;
}

#kickFx {
      position: absolute;
      left: -12px;
      top: -18px;
      width: 200px;
      height: 116px;
      pointer-events: none;
      mix-blend-mode: screen;
      z-index: 3;
    }

.nav-wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.nav-wordmark .logo-img {
  width: 95px;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav-wordmark.kicked {
  opacity: 1;
  animation: navTextKicked 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes navTextKicked {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(1.6); }
  30%  { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(0.98); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  
}

.nav-links a {
  color: var(--grey-light);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--red-text); }

/* ─── Shop / Collections menus ───
   The list stretches to the bar's full height and each item is a column
   down it, so a panel hung at `top: 100%` starts exactly on the bar's
   bottom edge and the pointer never crosses a gap on its way in. Hidden
   by `visibility`, like every panel on this page, so it fades both ways. */

.nav-links { align-self: stretch; align-items: stretch; }

.nav-links > li { position: relative; display: flex; align-items: center; }

.nav-links > li[hidden] { display: none; }

.nav-drop-btn {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  cursor: pointer;
  color: var(--grey-light);
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--dur-micro) var(--ease-micro);
}

.nav-drop-btn svg {
  width: 10px; height: 10px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--dur-accent) var(--ease-panel);
}

.nav-drop-btn:hover,
.nav-drop.open .nav-drop-btn { color: var(--white); }

.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }

.nav-drop-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* A red underline under the open item, sitting on the bar's own edge. */

.nav-drop::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--dur-accent) var(--ease-panel);
}

.nav-drop.open::after { transform: scaleX(1); }

.nav-panel {
  position: absolute;
  top: 100%;
  left: -1.25rem;
  min-width: 15rem;
  /* Even above and below the links; a label adds its own 0.25rem on top,
     so the Collections panel keeps the 1rem it had. */
  padding: 0.75rem 0;
  background: #0b0b0c;
  border: 1px solid var(--dark-3);
  border-top: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  translate: 0 -6px;
  transition: opacity var(--dur-accent) var(--ease-micro),
              translate var(--dur-accent) var(--ease-panel),
              visibility var(--dur-accent) var(--ease-micro);
}

.nav-panel-wide { min-width: 21rem; }

.nav-drop.open .nav-panel { opacity: 1; visibility: visible; translate: none; }

.nav-panel-label {
  margin: 0.25rem 1.25rem 0.5rem;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
}

.nav-panel ul { list-style: none; margin: 0; padding: 0; }

.nav-panel a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 1.5rem;
  padding: 0.6rem 1.25rem;
  color: var(--grey-light);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background var(--dur-micro) var(--ease-micro),
              color var(--dur-micro) var(--ease-micro),
              border-color var(--dur-micro) var(--ease-micro);
}

.nav-panel a:hover,
.nav-panel a:focus-visible { background: var(--dark-2); color: var(--white); border-left-color: var(--red); outline: none; }

.nav-panel a[aria-current="page"] { color: var(--red-text); }

.nav-panel .cat-name {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-panel .cat-blurb {
  flex-basis: 100%;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-cart:hover { color: var(--red-text); }

.nav-cart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ─── HERO ─── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
  padding-top: var(--banner-stack);
  box-sizing: border-box;
  /* The photograph is 2.4:1 and the hero is not, so `contain` on its own
     leaves a band of page black above and below the picture — and the
     place that shows is the right, where the lit wall and the floor run
     to the frame's edge and stop at a straight horizontal cut (Sept 2026,
     client: "in the right corner … fill that space by increasing the
     image"). `--hero-fill` is the zoom that closes it and `--hero-drop`
     decides which end the crop comes off; both are measured per window by
     HERO FILL in the script and applied *identically* to the clip, the
     photograph and the right-edge strip, so nothing about the way those
     three sit against each other changes. The defaults are the old
     letterboxed framing, i.e. what a page whose script never runs gets. */
  --hero-shift: 3vw; /* picture nudged right (Oct 2026, client); one value for all three layers */
  --hero-fill: 1;
  --hero-drop: 0px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 62%;
  background: linear-gradient(to right, var(--black) 0%, var(--black) 22%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-video {
    position: absolute;
    top: var(--banner-stack); /* starts under the solid bars again (Oct 2026, client: "reinsert the black bar") */
    bottom: 0;
    /* Nothing is cropped any more (Sept 2026, client): both the clip and
       the still show their whole frame, and `contain` is what guarantees
       it at every window size — the old `cover` lost the feet on a short,
       wide window.
       The clip is a 5528-wide, horizontally centred crop of the 6336-wide
       photograph, so the two only stay locked together if one source pixel
       is the same size in both. Giving the video a box that is exactly
       5528/6336 of the hero (12.7526% total, 6.3763% a side) and letting
       `contain` fit it into that box does that in *both* regimes: when the
       width drives the fit, min(0.87247W/5528, H/2624) = min(W/6336, H/2624),
       and when the height drives it the two are trivially equal. A flat
       `scale()` would only have matched the first case.
       Both layers are centred, so the cut to the still does not move.
       On top of that fit sits `--hero-fill`, the zoom that closes the
       letterbox (see `.hero`). It is one factor on all three layers,
       about the centre of each one's own box, and those centres are the
       same point — so it changes how big the composition is and nothing
       about how it is put together. */
    left: 6.3763%;
    right: auto;
    width: 87.2474%;
    height: calc(100% - var(--banner-stack));
    object-fit: contain;
    object-position: center center;
    filter: grayscale(100%);
    z-index: 1;
    transform: translateX(var(--hero-shift, 0px)) translateY(var(--hero-drop, 0px)) scale(var(--hero-fill, 1));
    transform-origin: center center;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 92% 50%, black 80%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 90% at 92% 50%, black 80%, transparent 100%);
    }

.hero-video.done {
  opacity: 0;
  /* Short, so the frozen last frame is gone while the white flash is
     still up, instead of lingering on top of the photo. */
  transition: opacity 0.14s ease-out;
}

.hero-flash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: white;
  opacity: 0;
  pointer-events: none;
}

.hero-flash.pop {
  animation: flashPop 0.35s ease-out forwards;
}

@keyframes flashPop {
  0%   { opacity: 0; }
  15%  { opacity: 0.6; }
  40%  { opacity: 0.25; }
  100% { opacity: 0; }
}

.hero-still {
  position: absolute;
  top: var(--banner-stack);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.15s ease;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 92% 50%, black 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 92% 50%, black 80%, transparent 100%);
}

.hero-still.visible {
  opacity: 1;
}

.hero-still img,
    .hero-edge img {
    position: absolute;
    top: 0;
    /* The whole photograph, nothing cut off (Sept 2026, client): the file
       is 6336x2624 and `contain` puts all of it on screen at every window
       size. It replaced a `cover` crop that was fine on a tall window but
       lost both feet on a short, wide one (measured at 1600x700) — which
       is what the client kept seeing.
       Nothing moves sideways: the photo still spans the full hero width,
       still centred, so the subject stays where he was, ~12% smaller
       because that is the largest the picture can be with all of it
       visible. The black that `contain` leaves above and below sits on a
       black section and inside the same radial mask, so it is invisible.
       The -0.6vw is the subject's own drift over the clip (~38 source px,
       and one source pixel is width/6336 = 0.0158vw), so the photo still
       lands on the frame the video ended on. It is written *inside* the
       fill zoom on purpose: a translate applied before the scale moves
       `S x T` on screen and `S x T / (F x S)` = `T / F` source pixels, so
       the lift is worth the same 38 px at any zoom. Under 901px the old
       `cover` framing is kept — see the 900px block: a 2.4:1 picture
       contained in a phone-shaped hero is a thin strip in a lot of empty
       black. */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: grayscale(100%);
    display: block;
    transform: translateX(var(--hero-shift, 0px)) translateY(var(--hero-drop, 0px)) scale(var(--hero-fill, 1)) translateY(-0.6vw);
    transform-origin: center center;
    }

/* ── The clip's missing right edge (Sept 2026, client: "extend the video
   … so it aligns with the right border of the screen") ──
   The clip is a 5528-wide crop of the 6336-wide photograph, so on the
   desktop it stops at 93.6237% of the hero and the last 6.3763% is bare
   page black with a hard vertical cut down it — most visible across the
   studio floor at the foot of the frame.
   The missing strip does not have to be invented: it is in
   `hero-still2.jpg`. What it does have to do is *move*: the clip's content
   drifts vertically and dims over the kick (see `.hero-edge img` below and
   `HERO EDGE DRIFT` in the script), so the photograph only matches it once
   that drift is carried. Fitted at the seam, a shift explains it — 1.0
   luma RMS against 6.8 for no shift — while a zoom does not (3.4), so the
   follow is a translate, not a scale.
   So this layer is the photograph again, in *identical* geometry to
   `.hero-still` (same box, same `contain` — it rides the same rules below,
   which is what keeps the two locked), showing only what the clip has not
   got. It sits *above* the clip (same z-index, later in the DOM) so its
   fade covers the clip's own edge column; underneath, that column would
   still be a hard line.
   **The fade is baked into the file, not written as a CSS mask, and that
   is the whole trick.** `hero-edge-right.webp` is the photograph at half
   size with an alpha ramp painted across it — nothing before 85.6% of the
   frame, fully opaque from 93.6237%, which is the clip's own right edge
   inside the photograph (5932/6336). A CSS `mask-image` is measured on the
   element box and would only land in the right place while the width
   drives the `contain` fit; on a short, wide window the picture is
   height-driven and letterboxed sideways, both edges move inwards, and the
   mask would sit out in the black with the old hard cut still on screen.
   In the file the ramp is in *picture* coordinates, so it is carried by
   the same fit as the photograph and is exact in both regimes. It costs
   13 KB: everything left of the ramp is transparent black, and what
   remains is a near-black gradient (PSNR 52 dB against lossless).
   No vignette is needed on top: the strip is the darkest part of the
   photograph (mean luma 1.4 / 3.7 / 3.1 / 10.4 over the four row bands),
   so it goes to black on its own — measured across the join at 1440, the
   falloff is now monotonic at 1 luma per 4px where it used to step 6 luma
   in one column.
   Off under 901px: there the hero is `cover` and the clip's right edge is
   far outside the window, so there is nothing to extend. */

.hero-edge {
  position: absolute;
  top: var(--banner-stack);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

/* This layer does not stand still, and that is the whole point of it
   (Sept 2026, client: "the video slightly zooms up … follow that
   movement"). Measured at the seam — the clip's last 60 columns against
   the photograph's matching ones — the clip's content sits **208 source px
   above** the photograph for the first half of the kick and eases down to
   the still's own 38 px by the last frame, and it runs ~25% darker
   throughout, coming back to the photograph's level at the end. A static
   copy therefore slides against it while the clip plays, which is what was
   being seen. `HERO EDGE DRIFT` in the script drives both numbers per
   frame; the defaults here are the end of the travel, i.e. exactly where
   `.hero-still` sits, so a hero that never plays still lines up.
   The asset is cut for that travel: its content starts 208 source px
   higher than the photograph's own framing, with the same 208 px
   replicated at the foot, so the whole move is a *positive* translate and
   the strip always reaches the bottom of the frame — the one place it
   must, since the floor is the brightest thing in it. What it gives up is
   the top: at the end of the travel the strip's top 170 source px (6.5% of
   the height) are unpainted, and that is the right corner to spend,
   because the photograph measures 1-2 luma there. 208 - 38 = 170 source
   px, and one source px is 100/6336 vw. The drift rides inside the fill
   zoom for the same reason the still's lift does — written before the
   scale, it is worth the same number of source pixels however far the
   picture has been zoomed to fill the hero. */

.hero-edge img {
  transform: translateX(var(--hero-shift, 0px)) translateY(var(--hero-drop, 0px)) scale(var(--hero-fill, 1)) translateY(var(--hero-edge-shift, 2.683vw));
  filter: grayscale(100%) brightness(var(--hero-edge-gain, 1));
}

/* Once the still is up it spans the whole hero itself, lift included, so
   this layer has nothing left to add and must not sit on top of it with a
   differently aligned copy. Same 0.15s as the still's own fade, so the two
   cross over. */

.hero:has(.hero-still.visible) .hero-edge {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 6rem;
  max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    }

.hero-content.visible {
    animation: fadeUp 1s ease-out forwards;
    }

/* With the kick's flash the copy runs on the flash's own clock (client,
       Oct 2026, again: "doesn't appear at the same time as the flash"). The
       1s fadeUp was triggered on the flash but was only half lit when the
       0.35s flash had gone, and fully lit 0.65s after it. Now it is fully
       opaque on the flash's peak (15% of 0.35s = 52ms, the same keyframe as
       `flashPop`) and its short rise settles as the flash clears. The paths
       with no flash (autoplay refused, no decode, watchdog) keep fadeUp. */

.hero-content.visible.on-flash {
    animation: heroPop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    }

@keyframes heroPop {
      0%   { opacity: 0; transform: translateY(14px); }
      15%  { opacity: 1; }
      100% { opacity: 1; transform: translateY(0); }
    }

.hero-tag {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 em,
.hero h1 .hero-official {
  font-style: normal;
  /* Sized so the lockup + this word fill the same box the old two-line
     headline did, and so both come out the same width. OFFICIAL shares the
     rule on purpose: same font, size, weight, tracking and colour as
     MERCHANDISE, at every breakpoint. */
  font-size: 0.68em;
  color: var(--white);
}

.hero h1 em { display: block; }

/* OFFICIAL (client, 4 Nov 2026: "same font and size as merchandise, without
   moving anything, write OFFICIAL in white"). It reads as the headline's first
   word, "OFFICIAL / CHUCK NORRIS / MERCHANDISE", and is lifted out of the flow
   and set in the empty space above the lockup, so the logo, MERCHANDISE, the
   copy and the button stay exactly where they were. */

.hero h1 { position: relative; }

.hero h1 .hero-official {
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 0.04em;
  white-space: nowrap;
}

/* Headline logo: replaces the first line of the h1, so it scales with the
   hero text and keeps the official lockup's 1179x357 proportions. */

.hero h1 .cn-logo {
  display: block;
  width: min(100%, 4.1em);
  height: auto;
  margin-bottom: 0.04em;
}

.hero-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--grey-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--dur-accent) var(--ease-micro),
              transform var(--dur-accent) var(--ease-micro),
              box-shadow var(--dur-accent) var(--ease-micro);
}

.hero-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(227,23,62,0.3);
}

.hero-cta svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── RED DIVIDER STRIPE ─── */

.stripe {
  height: 4px;
  background: var(--red);
  box-shadow: 0 0 20px rgba(227,23,62,0.3);
}

/* Desktop only (30 Oct 2026, client: "remove the red line under shop the
   collection for the mobile version only"). 900px is where the hero takes
   its phone layout, the same "mobile" as the solid red .about-cta. */

@media (max-width: 900px) { .stripe { display: none; } }

/* ─── PRODUCT SECTION ─── */

.products {
  padding: 6rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* ══ THE TWO MODES ══
   `html.mode-home` is the storefront: hero, a short featured grid, then a
   list of the categories. `html.mode-collection` is one category's own
   page at /collections/<handle>: no hero, no featured heading, a real
   page header and that category's cards.
   These rules are what stops the wrong things painting before the router
   runs. The cards are hidden here and *shown* by an inline `display` the
   router sets, never the other way round — inline style wins over these,
   so the router stays the single authority once it has run. */

html.mode-collection #hero,
html.mode-collection .stripe,
html.mode-collection #about,
html.mode-collection #productsHeading,
html.mode-collection #categoryNav,
html.mode-collection #viewAllLine { display: none; }

html.mode-collection .products { padding-top: calc(var(--banner-stack) + 3.5rem); }

html.mode-collection .product-card { display: none; }

/* `/` is on its way to the coming-soon page (FRONT DOOR in the head): paint
   nothing but that page's own black while the handover is in flight. */

html.mode-splash { background: #000; }

html.mode-splash body { display: none; }

html.mode-home #collectionHeader { display: none; }

html.mode-home #collectionToolbar { display: none; }

html.mode-home .product-card:not([data-featured]) { display: none; }

/* The collection page's own header: breadcrumb, title, count. It carries
   the page's <h1> — the hero's is out of the tree in this mode. */

.collection-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--dark-3);
  padding-bottom: 1.5rem;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--dark-4); }

.crumbs a { color: var(--grey); text-decoration: none; transition: color var(--dur-micro) var(--ease-micro); }

.crumbs a:hover { color: var(--red-text); }

.collection-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.collection-count {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
}

/* It shows no count (client, Oct 2026), only the "on their way" line of an
   empty collection; otherwise it is empty and takes no room. */

.collection-count:empty { display: none; }

.collection-desc {
  max-width: 62ch;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--grey-light);
}

.collection-desc:empty { display: none; }

/* ── COLLECTION PHOTO ──
   A collection with a `photo` (SHOP_CATALOG; Dakota Norris Designs, client,
   2 Nov 2026) opens on it: the photo large on the left, the title and the
   blurb beside it, vertically centred, under a short red rule. The photo
   column is 44% of the page, at most 520px, and shrinks on a short window
   so the whole photo fits the first screen (never under 300px). A phone
   stacks them: the photo edge to edge under the breadcrumb, then the
   title. Without a photo the header is the plain one above. */

.collection-photo { margin: 0; }

.collection-photo[hidden] { display: none; }

.collection-header.has-photo .collection-intro {
  display: grid;
  grid-template-columns: min(44%, 520px, max(300px, calc((100vh - var(--banner-stack) - 9rem) * 0.8))) minmax(0, 1fr);
  grid-template-columns: min(44%, 520px, max(300px, calc((100svh - var(--banner-stack) - 9rem) * 0.8))) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: 0.5rem;
}

.collection-header.has-photo .collection-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark-2);
}

.collection-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-panel) ease;
}

.collection-photo img.loaded { opacity: 1; }

/* A cut-out photo (`fit: 'contain'`: the Signature Collection's signature
   since 3 Nov 2026; first made for the Meme Collection's kick GIF, 2 Nov,
   removed on 3 Nov) is drawn whole, held off its edges, straight on the
   page's black (client: "make backrgound black"; the Dakota frame's
   --dark-2 read as a grey box around it). The file carries its own
   transparency, so nothing light rims it on the dark. */

.collection-header.has-photo .collection-photo.cutout { background: var(--black); }

.collection-photo.cutout img {
  object-fit: contain;
  padding: 5% 4% 4%;
}

.collection-header.has-photo .collection-text::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--red);
  margin-bottom: 1.5rem;
}

.collection-header.has-photo h1 {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.collection-header.has-photo .collection-desc {
  max-width: 36ch;
  font-size: 1.1rem;
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .collection-photo img { transition: none; }
}

/* The toolbar under it: the type chips. No sort (Oct 2026, client: "remove
   Sort by thing"), so a page without chips has no toolbar at all. */

.collection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}

.collection-toolbar[hidden] { display: none; }

.collection-toolbar .filters { justify-content: flex-start; margin: 0; }

.collection-toolbar .filters[hidden] { display: none; }

/* The home page's way into the category pages: by product, then by
   collection. Both lists are built from SHOP_CATALOG. */

.view-all-line { margin: 3rem 0 0; text-align: center; }

.category-nav { margin-top: 4rem; display: grid; gap: 3.5rem; }

.category-block[hidden] { display: none; }

.category-nav h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin: 0 0 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--dark-3);
}

.category-nav h2 span { color: var(--red); }

.category-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

/* Collections get the bigger tile: a theme needs its one-liner, a type
   does not. auto-fit, so one collection is a full-width band, two are
   halves, four are a row. */

.category-nav ul.coll-tiles { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }

/* Five or six collections go three to a row (3 + 2, 3 + 3) instead of
   four and a stray one. The look book has five; TV/Movie makes six. */

@media (min-width: 901px) {
  .category-nav ul.coll-tiles:has(> li:nth-child(5)):not(:has(> li:nth-child(7))) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tiles in one row share a height, whatever the length of their copy. */

.coll-tiles li { display: flex; }

.coll-tiles li > a { flex: 1; }

.category-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--dur-micro) var(--ease-micro),
              border-color var(--dur-micro) var(--ease-micro),
              color var(--dur-micro) var(--ease-micro);
}

.category-nav a:hover,
.category-nav a:focus-visible { background: var(--dark-3); border-color: var(--red); }

/* Shop by Product: a photo tile per type, the type's name over its foot
   (3 Nov 2026, client's mock-up, ".uploads/Gemini_Generated_Image_f4d5d5f4d5d5f4d5.webp";
   it replaced the drawn icons). The pictures are the shop's own products on a
   dark, red-lit ground (public/type-tiles/<type>.webp, see the notes in
   CLAUDE.md). A type with no picture, or one that fails to load, keeps a plain
   dark tile with the name. Five in one row from 901px up; on a phone two a row,
   and an odd last tile is centred under the pair, the same size. */

.category-nav ul.cat-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }

.cat-tiles li { display: flex; }

.cat-tiles li > a { flex: 1; }

.category-nav a.type-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 7.5rem;
  padding: 1.25rem 0.5rem;
  text-align: center;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
}

.category-nav a.type-tile.has-photo {
  display: block;
  aspect-ratio: 600 / 630;
  min-height: 0;
  padding: 0;
  background: var(--black);
}

.type-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.type-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-zoom) var(--ease-micro);
}

/* The name sits on a black scrim that rises from the foot, so it reads at
   AA over any picture. */

.category-nav a.type-tile.has-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0));
}

.type-tile .cat-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.type-tile.has-photo .cat-name {
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 1.05rem;
}

.category-nav a.type-tile.has-photo:hover,
.category-nav a.type-tile.has-photo:focus-visible {
  background: var(--black);
  box-shadow: 0 0 0 1px var(--red), 0 8px 28px var(--red-glow);
}

.category-nav a.type-tile:hover .type-photo img,
.category-nav a.type-tile:focus-visible .type-photo img { transform: scale(1.05); }

@media (hover: none) and (pointer: coarse) {
  .category-nav a.type-tile:hover .type-photo img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .type-photo img { transition: none; }
  .category-nav a.type-tile:hover .type-photo img,
  .category-nav a.type-tile:focus-visible .type-photo img { transform: none; }
}

.category-nav a.coll-tile {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 9.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  border-top: 2px solid var(--red);
  background:
    radial-gradient(ellipse 60% 140% at 100% 0%, var(--red-glow), transparent 70%),
    var(--dark-2);
}

.coll-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--white);
}

.coll-blurb {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey-light);
}

.coll-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red-text);
}

.coll-meta svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--dur-micro) var(--ease-micro);
}

.category-nav a.coll-tile:hover .coll-meta svg { transform: translateX(4px); }

/* A small copy of the collection's photo (3 Nov 2026, client), 4:5 like
   the collection page's own frame: over the name from 901px up, to its
   left on a phone. A cut-out (the signature) sits whole on black. */

.coll-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.category-nav a.coll-tile.has-thumb { gap: 1.25rem; }

.coll-thumb {
  flex: none;
  display: block;
  width: 6.5rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 0 0 1px var(--dark-3);
}

.coll-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-zoom) var(--ease-accent);
}

/* A cut-out thumb (the Signature script, the Memorial portrait) has no
   frame: the figure stands straight on the tile (3 Nov 2026, client:
   "remove the background here for the signature and the memorial"). */

.coll-thumb.cutout { background: none; box-shadow: none; overflow: visible; }

.coll-thumb.cutout.pad img { object-fit: contain; padding: 6%; }

.category-nav a.coll-tile:hover .coll-thumb img,
.category-nav a.coll-tile:focus-visible .coll-thumb img { transform: scale(1.05); }

@media (hover: none) and (pointer: coarse), (prefers-reduced-motion: reduce) {
  .coll-thumb img { transition: none; }
  .category-nav a.coll-tile:hover .coll-thumb img,
  .category-nav a.coll-tile:focus-visible .coll-thumb img { transform: none; }
}

@media (max-width: 900px) {
  .collection-header h1 { font-size: 1.75rem; }
  .category-nav h2 { font-size: 1.5rem; }
  .category-nav { gap: 2.5rem; }
  .category-nav ul { grid-template-columns: 1fr 1fr; }
  .category-nav ul.coll-tiles { grid-template-columns: 1fr; }
  .category-nav a.coll-tile { min-height: 0; padding: 1.25rem 1.25rem 1.1rem; }
  .category-nav a.coll-tile.has-thumb { flex-direction: row; align-items: stretch; gap: 1.1rem; padding-left: 1rem; }
  .coll-thumb { width: 6rem; align-self: center; }
  .coll-name { font-size: 1.15rem; }
  .category-nav ul.cat-tiles { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cat-tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 0.375rem); justify-self: center; }
  /* 601-900px: three across and the last two centred under them, so the
     tiles stay a tablet-sized 230-280px and not 360-425px. */
  @media (min-width: 601px) {
    .category-nav ul.cat-tiles { display: flex; flex-wrap: wrap; justify-content: center; }
    .cat-tiles > li, .cat-tiles > li:last-child:nth-child(odd) { width: calc((100% - 1.5rem) / 3); }
  }
  .type-tile .cat-name { font-size: 1rem; letter-spacing: 0.1em; }
  .type-tile.has-photo .cat-name { bottom: 0.9rem; }
  html.mode-collection .products { padding-top: calc(var(--banner-stack) + 2rem); }
  .collection-header.has-photo .collection-intro {
    grid-template-columns: min(42%, 360px) minmax(0, 1fr);
  }
  .collection-header.has-photo h1 { font-size: 2.1rem; margin-bottom: 1rem; }
  .collection-header.has-photo .collection-desc { font-size: 1rem; }
  .collection-header.has-photo .collection-text::before { margin-bottom: 1.25rem; }
}

/* A phone stacks the photo over the title, edge to edge: the negative
   margins are .products' side padding at each width (1.2rem to 600px,
   1rem under it). */

@media (max-width: 600px) {
  .collection-header.has-photo .collection-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    margin-top: 0;
  }
  .collection-header.has-photo .collection-photo { margin-inline: -1rem; }
  .collection-header.has-photo h1 { font-size: 2rem; }
}

/* Filter bar. Centred (Sept 2026, client) — the chips are the section's own
   navigation, so they sit on the page's axis rather than hanging off the
   left edge, and a wrapped second row centres under the first instead of
   leaving a ragged gap on the right. */

.filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  background: var(--dark-3);
  color: var(--grey-light);
  border: 1px solid var(--dark-4);
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-micro),
              color var(--dur-micro) var(--ease-micro),
              border-color var(--dur-micro) var(--ease-micro);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Product grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* The card owns both the scroll-reveal (opacity + translate) and the
   hover (transform + border + shadow). They share one declaration because
   `.reveal` further down would otherwise replace it wholesale and drag the
   hover out to the reveal's own 0.6s. `translate` is the reveal, the
   separate `transform` is the hover lift — two properties, so they can run
   at different speeds without fighting over one matrix. */

.product-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  overflow: hidden;
  transition: var(--card-transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--red);
}

/* White, the photographs' own background (Oct 2026, client: "just
   replace the old background with the white one"). The product shots are
   white studio mockups, so on the studio wall each card showed a white
   square in a dark frame; on white the photo and its ground are one.

   ── PHOTO GROUND ── (30 Oct 2026, client: "i dont really like [the white
   background] but its printful's"). The white is toned to --photo-ground
   by a multiply layer laid over the photo area (.product-img, the product
   page's main view and thumbs, the "More of your style" squares):
   white x tone = tone, black stays black, every product colour keeps its
   shading. Photo and ground stay one surface, nothing is cut out, and
   the files are untouched. An overlay rather than mix-blend-mode on the
   <img>: the colour change cross-fades one photo over another (COLOUR
   CHANGE), and a multiplied photo lets the one under it show through its
   white. The layer ends at the photo area, so badges (z-index 3) and the
   dark thumb frame stay as they are. */

.product-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.product-img::after,
.pp-main-image::after,
.pp-thumb::after,
.pp-more-img::after,
.pp-also-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--photo-ground);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Placeholder product visual */

.product-img .placeholder-icon {
  width: 80px;
  height: 80px;
  fill: var(--dark-4);
  transition: fill 0.3s;
  position: relative;
  z-index: 1;
}

.product-card:hover .placeholder-icon { fill: rgba(227,23,62,0.2); }

.product-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    padding: 12px;
    transition: transform var(--dur-zoom) var(--ease-accent);
    }

/* 3% and no more: the picture breathes under the cursor, it does not
   zoom. --dur-zoom is deliberately the slowest thing on a card. */

.product-card:hover .product-img img { transform: scale(1.03); }

.product-img.tee-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.placeholder-design {
  text-align: center;
  font-family: var(--font-condensed, 'Oswald', sans-serif);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  /* Dark, not white (Oct 2026): this copy sits straight on the studio wall,
     and since the wall was made near-white behind the products (centre ~245
     luma) white type on it measured ~1.1:1. #111 is 15:1 even at the dim end
     of the line (luma ~190); the accent line uses --red-on-light for 5:1. */
  color: #111;
  letter-spacing: 0.02em;
  width: fit-content;
  max-width: 100%;
  position: relative;
  z-index: 1;
  /* A lit plate under the copy (Oct 2026, WCAG scan): the wall falls off to
     black at the card's edges, and on a phone-width card (173px) the first and
     last lines of this block ran out onto that shadow — dark type on a dark
     wall, 1.5-3.6:1 measured. The plate is 88% white, so the copy always has a
     light ground whatever the vignette does underneath (~15:1 for the #111
     lines, 5:1+ for the red one down to the plate's dimmest pixel). It hugs
     the copy (`fit-content`, not the card's width — full width read as a slab
     across the lit spot on a desktop card) and the shadow feathers it into
     the wall instead of leaving a label with a hard border. */
  padding: 0.6rem 0.9rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  box-shadow: 0 0 14px 8px rgba(255, 255, 255, 0.88);
}

.product-img.tee-placeholder.bg-cream .placeholder-design { color: #1a1a1a; }

.placeholder-design .lg { display: block; font-size: 1.5rem; }

.placeholder-design .md { display: block; font-size: 1.05rem; margin: 0.3rem 0; }

.placeholder-design .sm { display: block; font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.85; }

.placeholder-design .accent { color: var(--red-on-light); }

/* Phone-width cards (Oct 2026, WCAG scan). The card is 138-280px square here
   and the copy was sized for 283: six lines ran past the top and bottom of the
   lit part of the wall, and the "Design • Coming Soon" chip sat on the last
   one. So the type scales with the card (container query units, with a floor
   that keeps it legible), the padding hands the bottom 2rem to the chip, and
   the plate hugs a smaller block. Only .tee-placeholder is a container: the
   cards that carry a photograph are untouched. */

@media (max-width: 600px) {
  .product-img.tee-placeholder {
    container-type: inline-size;
    padding: 0.75rem 0.5rem 2rem;
    /* WCAG 1.4.12 (Oct 2026): with a reader's own wider letter/word/line
       spacing a 138px card (320 phone) needs more than its square, and
       `hidden` cut the first and last lines off. `clip` still trims the
       plate's glow, but it is not a scroll container, so the aspect-ratio
       box may grow to its content instead. At normal spacing nothing
       overflows and the card stays square. */
    overflow: clip;
  }
  /* Same pass: the copy must not run under the corner badge either. */
  .product-card:has(.product-badge) .product-img.tee-placeholder { padding-top: 1.75rem; }
  .placeholder-design {
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    box-shadow: 0 0 10px 6px rgba(255, 255, 255, 0.88);
  }
  .placeholder-design .lg { font-size: clamp(0.95rem, 9cqw, 1.5rem); }
  .placeholder-design .md { font-size: clamp(0.8rem, 6.5cqw, 1.05rem); margin: 0.2rem 0; }
  .placeholder-design .sm { font-size: clamp(0.6rem, 4.6cqw, 0.72rem); }
  .placeholder-tag { right: 8px; bottom: 8px; letter-spacing: 0.08em; }
}

/* A 320px phone gives the card ~138px: the chip's one line would be wider than
   the card minus its margins, so it wraps into a stub at the corner rather
   than into a bar across the whole foot of the picture. */

@container (max-width: 150px) {
  .placeholder-tag { max-width: 6.5rem; text-align: right; }
}

.placeholder-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  z-index: 1;
  /* Was grey type at 40% opacity straight on the wall's dark corner, 2.1-2.8:1
     (WCAG 1.4.3, Oct 2026). A solid dark chip with white type is independent of
     what the vignette does behind it: white on the chip's dimmest pixel is
     ~13:1. No opacity — it multiplies the contrast away. */
  color: var(--white);
  background: rgba(0, 0, 0, 0.85);
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.7rem 0.3rem 0.8rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 3;
}

.product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  container: card-info / inline-size;
}

.product-category {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-text);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* LONG EYEBROW (Nov 2026): "Sweatshirt · Dakota Norris Designs" needs
   246px at 0.7rem and the four-across card has 241, so it wrapped and put
   its row's names and prices out of line. Where it does not fit, it drops
   " Designs", as every eyebrow already drops its last word on a phone.
   0.65rem at <=900px needs 231px, hence the second threshold. */

@container card-info (max-width: 250px) {
  .product-category.pc-long .pc-word { display: none; }
}

@media (min-width: 601px) and (max-width: 900px) {
  @container card-info (min-width: 235px) {
    .product-category.pc-long .pc-word { display: inline; }
  }
}

.product-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  min-height: 2.4em;
}

.product-price {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--off-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.product-price .original {
  text-decoration: line-through;
  color: var(--grey);
  font-weight: 400;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.product-buy {
  display: block;
  width: 100%;
  padding: 1rem 1rem 0.875rem;
  margin-top: auto;
  background: transparent;
  border: 1px solid var(--dark-4);
  color: var(--grey-light);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-micro),
              border-color var(--dur-micro) var(--ease-micro),
              color var(--dur-micro) var(--ease-micro);
}

.product-buy:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ─── BANNER / CTA STRIPE ─── */

.cta-banner {
  background: var(--red);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%),
    linear-gradient(-135deg, rgba(0,0,0,0.05) 0%, transparent 50%);
}

.cta-banner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner a {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--dur-accent) var(--ease-micro),
              color var(--dur-accent) var(--ease-micro),
              transform var(--dur-accent) var(--ease-micro);
  position: relative;
  z-index: 1;
}

.cta-banner a:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── ABOUT / LEGACY TEASER ─── */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  min-height: 350px;
}

.about-visual svg {
  width: 120px;
  height: 140px;
  fill: var(--red);
  opacity: 0.6;
}

.about-text {
  padding: 3rem 3rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text .label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 1rem;
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.about-text p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-light);
  margin-bottom: 2rem;
}

/* The way off this page to the brand site. It used to be a small red text
   link with an arrow, which read as a footnote under a 1.8rem heading; it
   is a real button now (Sept 2026, client: "bigger and nicer").
   Outlined rather than solid red on purpose: solid red is the shop's own
   language — Add to Cart, Buy — and this leads away from the merchandise,
   so it sits one step below that without losing the brand colour. The
   hover is where it fills in.
   Height is 3.4rem at the default size, comfortably over the 24px target
   minimum (WCAG 2.5.8), and the copy keeps the all-caps conventions used
   everywhere else on the page: 0.2em tracking with a matching `text-indent`
   so the trailing letter-space cannot shift the centred caps left, and
   0.125rem trimmed off the bottom padding because caps sit high in the
   line box. */

.about-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.075rem 2rem 0.95rem;
  border: 1px solid var(--red);
  background: transparent;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  /* The label is long enough to wrap in the desktop column too (490px at
     1440): centred and balanced, so it breaks into two even lines instead
     of leaving "Website" alone under the rest. Same as the phone rule. */
  text-align: center;
  text-wrap: balance;
  color: var(--red-text);
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--dur-micro) var(--ease-micro),
    border-color var(--dur-micro) var(--ease-micro),
    color var(--dur-micro) var(--ease-micro);
}

.about-cta:hover,
.about-cta:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.about-cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* The arrow is a stroked path, not a filled one — it was being painted
   with `fill`, which turns the two strokes into a sliver. `currentColor`
   is what carries it through the hover with the rest of the button.
   It travels on `transform`, never on the flex `gap`: a gap animation
   relays out the button on every frame and the box itself would breathe. */

.about-cta svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur-micro) var(--ease-micro);
}

.about-cta:hover svg,
.about-cta:focus-visible svg { transform: translateX(4px); }

/* About section with photo */

.about-photo-wrap {
  position: relative;
  overflow: visible;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

/* ─── SOCIAL BAR ─── */

.social-bar {
  background: #151515;
  padding: 1rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.social-bar a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
  opacity: 0.75;
}

.social-bar a:hover {
  opacity: 0.8;
}

.social-bar a svg {
  width: 20px;
  height: 20px;
  fill: #888;
}

/* ─── KIMONO SPECIAL CARD ─── */

.kimono-card .product-buy {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ─── KIMONO STORY MODAL ─── */

.kimono-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-accent) var(--ease-micro),
              visibility var(--dur-accent) var(--ease-micro);
}

.kimono-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kimono-modal {
  background: var(--dark-2);
  max-width: 800px;
  width: 100%;
  margin: auto;
  position: relative;
  border: 1px solid var(--dark-3);
  transform: translateY(30px);
  opacity: 0;
  transition: transform var(--dur-panel) var(--ease-panel),
              opacity var(--dur-accent) var(--ease-micro);
}

.kimono-overlay.open .kimono-modal {
  transform: translateY(0);
  opacity: 1;
}

.kimono-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.kimono-close:hover { background: var(--red); }

.kimono-hero-img img {
  width: 100%;
  display: block;
  filter: grayscale(30%);
}

.kimono-story {
  padding: 2.5rem 2.5rem 2rem;
}

.kimono-label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.8rem;
}

.kimono-story h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.kimono-story p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--grey-light);
  margin-bottom: 1.5rem;
}

.kimono-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2rem 0;
}

.kimono-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
}

.kimono-buy-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-3);
  margin-top: 1rem;
}

.kimono-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--white);
}

.kimono-buy-btn {
  flex: 1;
  padding: 1rem;
  background: var(--red);
  border: none;
  color: var(--white);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.kimono-buy-btn:hover { background: var(--red-dark); }

@media (max-width: 600px) {
  .kimono-story { padding: 1.5rem; }
  .kimono-gallery { grid-template-columns: 1fr; }
  .kimono-gallery img { height: 200px; }
}

/* ─── PRODUCT PAGE ───
   It is always in the layout and hidden by `visibility`, never by
   `display`. That is the whole reason opening a product now animates: a
   lement going from `display: none` has no previous state to transition
   from, so the old markup could only ever pop. `visibility` is special-
   cased by the spec — it flips on immediately when showing and holds until
   the very end when hiding — so one declaration covers both directions.
   Desktop is a cross-fade with the panel's contents rising into it; the
   phone gets a sheet instead (see the 900px block). */

.product-page {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--dark);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-accent) var(--ease-micro),
              visibility var(--dur-accent) var(--ease-micro);
}

.product-page.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* The two halves arrive just behind the panel, image first. `translate`
   rather than `transform`: the details column is a scroll container and a
   transform on it would make it the containing block for anything fixed
   inside — this way the offset is gone the moment the panel has landed. */

.product-page .pp-images,
.product-page .pp-details {
  opacity: 0;
  translate: 0 24px;
  transition: opacity var(--dur-accent) var(--ease-micro),
              translate var(--dur-panel) var(--ease-panel);
}

.product-page.open .pp-images,
.product-page.open .pp-details {
  opacity: 1;
  translate: none;
}

.product-page.open .pp-images  { transition-delay: 0.06s; }

.product-page.open .pp-details { transition-delay: 0.13s; }

/* Plain black type on the white image panel, no chip (client, 30 Oct 2026:
   "back to shop just black text"). Fixed on the desktop, where the panel
   never scrolls; at <=900px it is absolute inside the sheet (below), so it
   scrolls off with the white panel instead of floating over the dark
   details column. The padding is the tap area, not a visible box. */

.pp-back {
  position: fixed;
  top: 1.2rem;
  left: 1.5rem;
  z-index: 1600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem 0.45rem 0.65rem;
  background: none;
  border: none;
  color: var(--black);
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-micro);
}

.pp-back:hover { color: var(--red-on-light); }

/* the global white ring would vanish on the white panel; red holds on both */

.pp-back:focus-visible { outline-color: var(--red); outline-offset: 2px; }

.pp-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.pp-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  height: 100vh;
  overflow: hidden;
}

/* White like the cards (Oct 2026): the main shot's own white ground runs
   out to the panel's edges, toned with it by .pp-main-image::after (PHOTO
   GROUND). The thumb strip under it stays a dark band. */

.pp-images {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.pp-main-image { position: relative; z-index: 1; }

.pp-thumbs     { position: relative; z-index: 1; background: var(--dark-2); }

.pp-main-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 0;
  overflow: hidden;
}

.pp-main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pp-thumbs {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

/* A <button>, not a <div>: the strip is the only way to change the view,
   so it has to be reachable by keyboard like the rest of the page. The
   reset below is what a button needs to look like the old div. */

.pp-thumb {
  flex: 0 0 80px;
  height: 80px;
  padding: 0.6rem;
  background: #151515;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  color: inherit;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pp-thumb:last-child { border-right: none; }

.pp-thumb:hover { background-color: #1c1c1c; }

.pp-thumb.active { background-color: #1a1a1a; outline: 1px solid var(--red); outline-offset: -1px; }

.pp-thumb:focus-visible { outline: 3px solid var(--white); outline-offset: -4px; }

.pp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── COLOUR CHANGE ── (30 Oct 2026, client: "the switch between colors
   (from white product to black one) needs a smoother transition. subtle
   and fast"). ppPhotoSwap() fades the next photo in over the one on
   screen, in the main panel and in each thumb; the old one is pinned
   underneath where it was and removed once the new one is opaque. The
   photos are white-ground JPEGs, so nothing dips through grey on the way.
   Changed words (name, price, the wheel's colour) come up the same way. */

.pp-thumb { position: relative; isolation: isolate; }

.pp-thumb::after { inset: 0.6rem; }

/* the photo, not the dark frame (PHOTO GROUND) */

.pp-photo-out { position: absolute; margin: 0; pointer-events: none; }

.pp-photo-in {
  position: relative;
  z-index: 1;
  animation: ppPhotoIn var(--dur-micro) var(--ease-micro) both;
}

@keyframes ppPhotoIn { from { opacity: 0; } }

.pp-text-in { animation: ppTextIn var(--dur-micro) var(--ease-micro) both; }

@keyframes ppTextIn { from { opacity: 0.15; } }

/* ── EMPTY VIEW SLOTS ──
   Every product reserves the other angles (back, detail, in use) whether
   or not the photograph exists yet: a dashed frame in the strip and, when
   it is selected, in the main panel. Dropping a shot in later means
   replacing the slot with an <img> — the layout does not move. */

.pp-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255,255,255,0.18);
  color: var(--grey);
  font-family: var(--font-condensed);
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
}

.pp-slot-thumb {
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  padding: 0.2rem;
}

.pp-thumb.active .pp-slot,
.pp-thumb:hover .pp-slot { border-color: rgba(255,255,255,0.3); color: var(--grey-light); }

.pp-slot-main {
  min-height: 0;
  gap: 0.5rem;
  padding: 1rem;
}

.pp-slot-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--dark-4);
}

.pp-slot-label {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--grey-light);
}

.pp-slot-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--grey);
}

/* The main panel is the lit studio wall now (Oct 2026), near-white behind the
   middle, so the slot written for a dark panel — pale type, a faint white
   frame — disappeared on it. Dark type for the middle, where the words sit;
   a mid-grey frame because it runs across both the white middle and the
   black corners and a pale or a dark one would drop out of one of them. The
   thumb strip has its own solid dark background and keeps the rules above. */

.pp-main-image .pp-slot { border-color: rgba(128,128,128,0.85); color: #1a1a1a; }

.pp-main-image .pp-slot-icon,
.pp-main-image .pp-slot-label { color: #111; }

.pp-main-image .pp-slot-note { color: #1a1a1a; font-weight: 400; }

.pp-details {
  background: var(--dark);
  padding: 5rem 2.5rem 3rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--dark-4) transparent;
  position: relative;
}

.pp-details::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: under `.product-page.wall`, below. */
  filter: grayscale(100%);
  /* 0.09, was 0.12. The photograph got ~34% brighter in Oct 2026, so the same
     0.12 lifted the wall behind this column's grey copy from ~29 to ~36 luma
     and "Free shipping & returns" fell to 4.4:1. 0.09 puts the wall back at
     ~29, i.e. the column looks exactly as it did before and the copy is 5:1. */
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}

/* Only once a product has been opened: a url on the bare rule above is
   fetched with the shop page and takes the full 736 KB photograph's
   bandwidth from the hero clip. `.wall` is added on the first open and
   stays, so closing does not drop the wall mid-fade; the load-event
   warm-up in the script has the file cached by then. The details column
   is the one surface left with the wall (the cards and the image panel
   are white, Oct 2026). */

.product-page.wall .pp-details::before {
  background: var(--wall-vignette), url('/product-backdrop.webp') center/cover no-repeat;
}

.pp-details > * { position: relative; z-index: 1; }

.pp-collection {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.5rem;
}

.pp-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.pp-price {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--off-white);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.pp-option { margin-bottom: 2rem; }

/* ── ALSO SHOP THIS DESIGN ── (3 Nov 2026, client: "put 'Also shop this
   design as' and then a button to the other forms of clothing or product
   in which the design is available", in the space right of the wheel).
   The colour option and this block share a wrapping row: side by side
   when the column has room, the buttons under the wheel when not, alone
   when the product has no wheel (the posters). One button per other
   product with the card's `data-design-group`, filled by ppAlsoFill(). */

.pp-option-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 2.5rem;
}

.pp-also { flex: 1 1 220px; min-width: 0; max-width: 340px; }

.pp-also[hidden] { display: none; }

.pp-also-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pp-also-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.875rem 0.375rem 0.375rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-micro);
}

.pp-also-img {
  flex: none;
  display: block;
  width: 52px;
  height: 52px;
  background: var(--white);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.pp-also-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.pp-also-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pp-also-type {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
}

.pp-also-price {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.2;
}

.pp-also-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--red-text);
  transition: transform var(--dur-micro) var(--ease-micro);
}

.pp-also-item:focus-visible { border-color: var(--red); }

.pp-also-item:focus-visible .pp-also-arrow { transform: translateX(4px); }

@media (hover: hover) {
  .pp-also-item:hover { border-color: var(--red); }
  .pp-also-item:hover .pp-also-arrow { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .pp-also-arrow { transition: none; }
}

/* On a phone the block is always under the wheel: full column width. */

@media (max-width: 600px) {
  .pp-also { max-width: none; flex-basis: 100%; }
}

.pp-option-header {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.pp-option-label {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-light);
}

.pp-dash {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  color: var(--grey);
}

.pp-option-value {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.pp-dash { display: none; }

.pp-option-value { display: none; }

/* ── COLOR WHEEL ── */

.pp-color-wheel-wrap {
  position: relative;
  width: 176px;
  height: 176px;
}

#ppColors { line-height: 0; }

#ppColors svg { display: block; }

/* The wheel's whole state is CSS, so picking a colour can be animated:
   the geometry of every arc is fixed and the selected one is *scaled*.
   (Growing the arc by rewriting its `d` is what used to make this snap —
   `d` is not an animatable property outside Chrome.) */

.pp-arc {
  cursor: pointer;
  opacity: 0.72;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1;
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition:
    transform var(--dur-accent) var(--ease-panel),
    opacity var(--dur-micro) var(--ease-micro),
    stroke var(--dur-micro) var(--ease-micro),
    stroke-width var(--dur-micro) var(--ease-micro);
}

.pp-arc:hover { opacity: 0.9; }

.pp-arc.selected,
.pp-arc.pp-arc-was {
  opacity: 1;
  transform: scale(1.12);
  stroke: rgba(255,255,255,0.65);
  stroke-width: 2;
}

/* A sibling's colour redraws the wheel; for one style pass it is drawn
   as it was (these two classes), so the arcs then move like a colour of
   the product itself does instead of snapping. */

.pp-arc.selected.pp-arc-not-yet {
  opacity: 0.72;
  transform: none;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 1;
}

/* An `outline` on an SVG path is drawn round its bounding box, i.e. a
   rectangle across the whole wheel — the browser's default blue one
   included. Kill it and show focus as a white edge on the arc itself,
   and only for keyboard focus. */

.pp-arc:focus { outline: none; }

.pp-arc:focus-visible {
  outline: none;
  stroke: var(--white);
  stroke-width: 3;
}

.pp-color-wheel-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#ppColorName {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}

.pp-sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.pp-size-btn {
  min-width: 48px;
  padding: 0.75rem 1rem;
  background: none;
  border: 1px solid var(--dark-4);
  color: var(--grey-light);
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}

.pp-size-btn:hover { background: var(--dark-3); }

.pp-size-btn.selected { background: var(--white); color: var(--black); border-color: var(--white); }

/* A value the store has no stock of, with the other options as chosen:
   still a choice (the price shows), struck through like a sold-out size
   on a shelf. A colour arc without stock fades the same way. */

.pp-size-btn.unavailable { color: var(--grey); text-decoration: line-through; }

.pp-size-btn.unavailable.selected { color: var(--dark-2); }

.pp-arc.unavailable { opacity: 0.35; }

.pp-add-cart {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--red);
  border: none;
  color: var(--white);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 0.75rem;
}

.pp-add-cart:hover { opacity: 0.9; }

.pp-add-cart[disabled] { background: var(--dark-4); color: var(--grey-light); cursor: not-allowed; }

.pp-add-cart[disabled]:hover { opacity: 1; }

.pp-add-cart { margin-bottom: 2rem; }

/* ─── CART ───
   Shopify's <shopify-cart> is a modal <dialog> in its own shadow DOM, light
   by default. Dressed through its parts in the shop's colours: the dark
   panel, the condensed uppercase type, the red checkout button of the
   product page's Add to Cart. */

shopify-cart { font-family: var(--font-body); }

shopify-cart::part(dialog) {
  background: var(--dark);
  color: var(--off-white);
  border: 1px solid var(--dark-3);
  border-radius: 0;
}

shopify-cart::part(dialog)::backdrop { background: rgba(0, 0, 0, 0.7); }

/* While the cart is open the page behind it stays put (CART REDRAWS in the
   script sets the class): a modal dialog does not stop the document
   scrolling under a finger on the backdrop. On `html`, not `body`: body
   overflow would make it a scroll container and break the sticky parts. */

html.cart-open { overflow: hidden; scrollbar-gutter: stable; }

shopify-cart::part(dialog) { overscroll-behavior: contain; }

shopify-cart::part(line-heading) {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  overflow-wrap: anywhere;
}

shopify-cart::part(line-options) { color: var(--grey-light); font-weight: 400; white-space: normal; overflow: visible; }

shopify-cart::part(line-price) {
  font-family: var(--font-condensed);
  font-weight: 600;
  color: var(--off-white);
}

shopify-cart::part(line-image) { border-radius: 0; background: #fff; }

shopify-cart::part(primary-button) {
  background: var(--red);
  border: 0;
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

shopify-cart::part(primary-button):hover { background: var(--red-dark); }

shopify-cart::part(secondary-button) {
  background: transparent;
  color: var(--off-white);
  fill: var(--off-white);
  border: 1px solid var(--dark-4);
  border-radius: 0;
}

shopify-cart::part(secondary-button):hover { border-color: var(--grey-light); }

.pp-accordions { border-top: 1px solid var(--dark-3); }

/* PRODUCT PAGE ACCORDIONS (Oct 2026, client: "opening the story and all
   the others is not smooth at all"). The body's height is animated in
   pixels, measured by togglePPAccordion() off .pp-accordion-inner, and
   handed back to `auto` when it lands. It used to be a 0fr → 1fr grid
   row, which stuttered: the body's own 20px bottom padding counted as the
   row's minimum, so every tap snapped 20px open at once and then stood
   still for ~140ms until the fraction caught up with it (measured), and
   the close dropped the same 20px on its first frame. The padding now
   lives on the inner wrapper, inside what is clipped, so it opens with
   the rest. `visibility` on the body still keeps collapsed copy out of
   the accessibility tree and on screen for the length of the close. */

.pp-accordion { border-bottom: 1px solid var(--dark-3); }

.pp-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.pp-accordion-icon {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--grey);
  transition: transform var(--dur-collapse) var(--ease-collapse);
  line-height: 1;
  flex-shrink: 0;
}

.pp-accordion.open .pp-accordion-icon { transform: rotate(45deg); }

.pp-accordion-body {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height var(--dur-collapse) var(--ease-collapse),
              visibility var(--dur-collapse) var(--ease-collapse);
  padding: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--grey-light);
}

.pp-accordion-body p + p { margin-top: 0.75rem; }

.pp-accordion.open .pp-accordion-body {
  height: auto;
  visibility: visible;
}

/* The copy fades in a beat behind the opening edge and out ahead of the
   closing one, so text is never sliced by the moving clip. */

.pp-accordion-inner {
  padding-bottom: 1.25rem;
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-micro);
}

.pp-accordion.open .pp-accordion-inner {
  opacity: 1;
  transition: opacity var(--dur-collapse) var(--ease-accent) 0.06s;
}

.pp-legal {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ── MORE OF YOUR STYLE ── (Oct 2026, client: "so people keep shopping")
   Four other products under the accordions, as small cards in the grid's
   own dress: a white photo square, the name in Oswald caps, the live
   price. Two across in the details column (360-620px on most screens),
   four across once the column has 600px for them (a wide desktop, a
   tablet's sheet). A container query, not a media query: the column's
   width is what decides, and it is 45% of the window on a desktop but
   the whole window under 900px. */

.pp-more {
  margin-top: 2.5rem;
  container-type: inline-size;
}

.pp-more[hidden] { display: none; }

.pp-more-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.pp-more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@container (min-width: 600px) {
  .pp-more-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pp-more-list > li { display: flex; }

.pp-more-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-micro);
}

.pp-more-img {
  display: block;
  aspect-ratio: 1;
  background: var(--white);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.pp-more-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform var(--dur-zoom) var(--ease-accent);
}

.pp-more-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
}

.pp-more-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

/* At the foot of the card, so the prices line up across a row whatever
   the names wrap to. */

.pp-more-price {
  margin-top: auto;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--off-white);
  line-height: 1.2;
}

@media (hover: hover) {
  .pp-more-item:hover { border-color: var(--red); }
  .pp-more-item:hover .pp-more-img img { transform: scale(1.03); }
}

@container (max-width: 380px) {
  .pp-more-text { padding: 0.625rem; }
  .pp-more-name { font-size: 0.75rem; }
  .pp-more-price { font-size: 0.85rem; }
}

/* Picking one swaps the page in place: both halves fade out, the next
   product is drawn and scrolled to its top while nothing shows, and they
   fade back in. Higher than the phone block's `transition: none`, so the
   sheet fades too. */

.product-page.open.pp-swapping .pp-images,
.product-page.open.pp-swapping .pp-details {
  opacity: 0;
  transition: opacity 0.15s var(--ease-micro);
}

.product-page.open.pp-swapped .pp-images,
.product-page.open.pp-swapped .pp-details {
  transition: opacity var(--dur-accent) var(--ease-micro);
}

/* Focus goes to the new product's name after a swap, so a screen reader
   says what opened; it is not a control, so no ring. */

#ppName:focus { outline: none; }

@media (max-width: 900px) {
  .pp-layout { grid-template-columns: 1fr; height: auto; overflow: visible; }
  /* The photograph leads the phone page (Oct 2026, client: "the focus here
     should be more on the image of the product, but it seems a bit too
     small"). It used to be a 55-70vw panel with the thumb strip *inside*
     it, which left the shot 144px wide on a 390 phone. Now the panel takes
     its own height from its two rows: a square photo area the full width of
     the screen (capped by the screen's height, so the title still shows on
     the first screen), then the strip. Height on .pp-main-image, never
     min-height, and the panel stays height: auto — a fixed panel height
     with a taller child is what once clipped the strip off. */
  .pp-images { height: auto; min-height: 0; max-height: none; overflow: hidden; }
  .pp-main-image {
    flex: none;
    min-height: 0;
    height: min(100vw, max(62vh, 300px));
    height: min(100vw, max(62svh, 300px));
  }
  .pp-main-image img { width: 100%; height: 100%; }
  .pp-details { padding: 2rem 1.5rem 3rem; overflow-y: visible; }
  /* Here the column is as tall as its copy, so a wall sized `inset: 0`
     grew with every accordion — re-scaled (cover) and re-filtered on each
     frame of the opening, a full-column repaint on a phone, and the lit
     patch visibly slid down the page as the panel grew. It is held at the
     height of the column with every accordion shut (--pp-wall-h, set by
     ppWallSet()), which is exactly the old box when nothing is open
     (pixel-identical, measured); an open panel runs on past it onto the
     plain column, where the step is under 1 luma. No will-change here: a
     separate layer re-samples the photograph and moved it by up to 18
     luma. */
  .pp-details::before {
    bottom: auto;
    height: var(--pp-wall-h, 100%);
  }
  .pp-name { font-size: 1.8rem; }
  .pp-back { position: absolute; top: 0.8rem; left: 1rem; }
  /* Phone: the page is a sheet. It comes up from under the bottom edge on
     the panel curve, full opacity the whole way, and goes back down the
     same way — the background is already restored behind it, so the slide
     reveals the grid exactly where it was left. */
  .product-page {
    display: block;
    overflow-y: auto;
    opacity: 1;
    translate: 0 100%;
    transition: translate var(--dur-panel) var(--ease-panel),
                visibility var(--dur-panel) var(--ease-panel);
  }
  .product-page.open { translate: none; }
  .product-page .pp-images,
  .product-page .pp-details {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

@media (max-width: 500px) {
  .pp-details { padding: 1.5rem 1rem 3rem; }
  .pp-name { font-size: 1.5rem; }
  .pp-back { top: 0.5rem; left: 0.5rem; }
}

/* ─── CTA BANNER ANIMATION ─── */

.cta-banner h3,
.cta-banner p,
.cta-banner a {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-banner.pop h3 {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.cta-banner.pop p {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.1s;
}

.cta-banner.pop a {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.2s;
}

/* ─── CTA BANNER POP ANIMATION ─── */

.cta-banner p,
.cta-banner a {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Delays follow the heading: four pops at 0.12s apart (three words, then the
   Kickstart Kids logo as the last one), each 0.45s, so the logo lands at
   ~0.8s. The copy and the link arrive after it, not over it. One more or one
   fewer word in the heading moves both by 0.12s. (It was eight pops, "A
   Portion of the Proceeds Will Benefit", until 30 Oct 2026.) */

.cta-banner.pop p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.72s;
}

.cta-banner.pop a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.92s;
}

.cta-words span {
  display: inline-block;
  opacity: 0;
  transform: scale(1);
}

.cta-words.animate span {
  animation: wordPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* "Kickstart Kids" is the foundation's logo, not two words (Oct 2026,
   client), in its on-red cut: the red swoosh and START are black in
   /partners/kickstart-kids-on-red.png, since red on the red banner would
   vanish. Sized off the heading's own type: 1.15em is 1.4x Oswald's cap
   height (0.825em), and -0.16em centres it on the caps. The alt keeps the
   heading's name "Every purchase supports Kickstart Kids" (30 Oct 2026,
   client: that sentence everywhere, spelled Kickstart).
   Balanced, because between ~405 and ~455px the logo alone wrapped onto
   the second line. */

.cta-words { text-wrap: balance; }

.cta-words .cta-logo img {
  display: inline-block;
  height: 1.15em;
  width: auto;
  vertical-align: -0.16em;
}

@keyframes wordPop {
  0%   { opacity: 0; transform: scale(0.5); }
  40%  { opacity: 1; transform: scale(1.35); }
  70%  { transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── PRODUCT DETAIL MODAL ─── */

.pdp-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-accent) var(--ease-micro),
              visibility var(--dur-accent) var(--ease-micro);
}

.pdp-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pdp-modal {
  background: var(--dark-2);
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
  border: 1px solid var(--dark-3);
  transform: translateY(30px);
  opacity: 0;
  transition: transform var(--dur-panel) var(--ease-panel),
              opacity var(--dur-accent) var(--ease-micro);
}

.pdp-overlay.open .pdp-modal {
  transform: translateY(0);
  opacity: 1;
}

.pdp-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-close:hover { background: var(--red); }

.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; }

.pdp-image {
  background: #ffffff;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-image img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }

.pdp-details { padding: 2.5rem; display: flex; flex-direction: column; }

.pdp-category { font-family: var(--font-condensed); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-text); margin-bottom: 0.5rem; }

.pdp-name { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.8rem; line-height: 1.15; }

.pdp-price { font-family: var(--font-condensed); font-weight: 600; font-size: 1.3rem; color: var(--off-white); margin-bottom: 1.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--dark-3); }

.pdp-desc { font-family: var(--font-body); font-weight: 300; font-size: 0.9rem; line-height: 1.75; color: var(--grey-light); margin-bottom: 1.5rem; }

.pdp-option { margin-bottom: 1.2rem; }

.pdp-option label { display: block; font-family: var(--font-condensed); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.5rem; }

.pdp-sizes { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.pdp-size-btn { padding: 0.5rem 1rem; background: var(--dark-3); border: 1px solid var(--dark-4); color: var(--grey-light); font-family: var(--font-condensed); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.1em; cursor: pointer; transition: all 0.15s; }

.pdp-size-btn:hover { border-color: var(--grey); }

.pdp-size-btn.selected { background: var(--white); color: var(--black); border-color: var(--white); }

.pdp-colors { display: flex; gap: 0.5rem; }

.pdp-color-chip { padding: 0.4rem 1rem; background: var(--dark-3); border: 1px solid var(--dark-4); color: var(--grey-light); font-family: var(--font-condensed); font-weight: 500; font-size: 0.8rem; cursor: pointer; transition: all 0.15s; }

.pdp-color-chip.selected { background: var(--white); color: var(--black); border-color: var(--white); }

.pdp-add-cart { width: 100%; padding: 1rem; margin-top: auto; background: var(--red); border: none; color: var(--white); font-family: var(--font-condensed); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }

.pdp-add-cart:hover { background: var(--red-dark); }

@media (max-width: 700px) { .pdp-layout { grid-template-columns: 1fr; } .pdp-image { min-height: 300px; } }

/* ─── FOOTER ─── */

/* Oct 2026, client: "a more professional and visually pleasing footer".
   Brand on the left, three labelled link columns, one legal strip under a
   hairline. The legal copy used to be said three times (blurb, right-hand
   column, bottom line); it is said twice now, blurb and strip. The red rule
   on top is the same --red as the page's stripes. Text sits on --dark-2:
   --grey-light 11:1, --grey 4.9:1, --red-text 5:1. */

footer {
  position: relative;
  background: var(--dark-2);
  padding: 4.5rem 3rem 2rem;
}

footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, var(--red) 20%, var(--red) 80%, transparent 100%);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  align-items: start;
  gap: 3rem;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .footer-inner { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p:not(.f-logo) { max-width: 36rem; }
}

.footer-brand .f-logo { margin: 0 0 1.25rem; }

.footer-brand .f-logo .footer-logo-img { height: 40px; }

.footer-brand p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.7;
  max-width: 320px;
}

.footer-brand p.f-logo { max-width: none; }

.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--red);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }

.footer-col a,
.footer-col .footer-cookie {
  display: inline-block;
  padding: 0.3rem 0;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
  text-decoration: none;
  transition: color var(--dur-micro, 0.2s) var(--ease-micro, ease), transform var(--dur-micro, 0.2s) var(--ease-micro, ease);
}

.footer-col .footer-cookie { background: none; border: 0; cursor: pointer; text-align: left; }

.footer-col a:hover,
.footer-col .footer-cookie:hover { color: var(--red-text); transform: translateX(4px); }

.footer-col a:focus-visible,
.footer-col .footer-cookie:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.footer-bottom {
  max-width: 1300px;
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
}

.footer-bottom small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.footer-bottom .footer-site { color: var(--grey-light); }

/* "Kickstart Kids" is a link to the foundation wherever the sentence
   "Every purchase supports Kickstart Kids." is shown (30 Oct 2026, client):
   the hero copy, the footer blurb, the legal strip, the product page's
   legal line. It keeps the line's colour and is told apart by the underline. */

.ksk-link,
.footer-site a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur-micro) var(--ease-micro);
}

.ksk-link:hover,
.footer-site a:hover { color: var(--white); }

.ksk-link:focus-visible,
.footer-site a:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ─── ANIMATIONS ─── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SCROLL REVEAL ───
   60px and 0.6s on a plain ease, cut to 35px on anything under 1000px so a
   phone is not scrolling things half a screen into place. `translate`, not
   `transform`, so a card's hover lift keeps its own clock. */

.reveal {
  opacity: 0;
  translate: 0 60px;
  transition: opacity var(--dur-reveal) var(--ease-accent),
              translate var(--dur-reveal) var(--ease-accent);
}

.reveal.visible {
  opacity: 1;
  translate: none;
}

@media (max-width: 1000px) {
  .reveal { translate: 0 35px; }
}

/* Cards need the hover properties in the same list — see --card-transition.
   This has to out-specify `.reveal` above, hence the doubled class. */

.product-card.reveal { transition: var(--card-transition); }

/* ─── FILTERING ───
   The grid re-deals rather than blinking: everything that survives the
   filter is put back at zero opacity and then staggered in, so the reflow
   happens while there is nothing on screen to see jumping. */

.product-card.card-entering {
  opacity: 0;
  translate: 0 14px;
}

/* ═══════════════════════════════════════════════ */

/* ─── COMPREHENSIVE MOBILE RESPONSIVE STYLES ─── */

/* ═══════════════════════════════════════════════ */

/* ─── MOBILE HAMBURGER MENU ─── */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* The menu is a panel, not a pop. Same `visibility` rule as the product
   page — it used to toggle `display`, which is why it appeared instantly
   however long the opacity transition said it should take. It comes in
   from the left on the panel curve, with the links landing just behind it
   so the sheet does not read as one flat slab. */

.mobile-nav-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1050;
  /* A soft red glow on near-black, after a reference the client sent
     (Oct 2026: "see the green in the background, make the chuck norris
     menu like that but with red"): one wide glow at the top right, a
     fainter one rising from the bottom left. Opaque, so no blur needed.
     Taken a lot darker the same month (client: "make the menu page
     background … a lot darker"): glows at ~40% of their first strength
     on an almost-black base; brightest point ~rgb(28,7,12), was (71,16,27). */
  background:
    radial-gradient(ellipse 100% 62% at 72% 16%, rgba(227,23,62,0.10) 0%, rgba(227,23,62,0.045) 42%, rgba(227,23,62,0) 75%),
    radial-gradient(ellipse 80% 40% at 0% 92%, rgba(227,23,62,0.05) 0%, rgba(227,23,62,0) 70%),
    #060507;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: -100% 0;
  transition: translate var(--dur-panel) var(--ease-panel),
              opacity var(--dur-accent) var(--ease-micro),
              visibility var(--dur-panel) var(--ease-panel);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: none;
}

/* The menu is grouped (Shop by Product, Collections, then the two small
   links), so it can take more collections without the type shrinking.
   `.mnav-inner` is the scroller: auto margins on its first and last group
   centre the column while it fits and turn into 0 once it does not, so a
   long menu on a short phone scrolls from the top instead of being cut
   off at both ends (plain `justify-content: center` would clip the top
   out of reach). */

.mnav-inner {
  flex: 1;
  min-height: 0;
  align-self: stretch;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
}

/* --mnav-top (mnavLayout()) is the margin the auto one would give the
   menu with both sections shut, so the shut menu sits exactly where it
   always did; opening a section then grows the column downwards instead
   of re-centring it, and the heading you tapped stays put. */

.mnav-inner > :first-child { margin-top: var(--mnav-top, auto); }

.mnav-inner > :last-child { margin-bottom: auto; }

.mnav-group[hidden] { display: none; }

/* Each group lands a little after the one before it. The delays are on
   the group, which has no colour of its own, so a hovered link still
   answers immediately. */

.mnav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  translate: 0 14px;
  transition: opacity var(--dur-accent) var(--ease-micro),
              translate var(--dur-accent) var(--ease-panel);
}

.mobile-nav-overlay.open .mnav-group { opacity: 1; translate: none; }

.mobile-nav-overlay.open .mnav-group:nth-child(1) { transition-delay: 0.20s, 0.20s; }

.mobile-nav-overlay.open .mnav-group:nth-child(2) { transition-delay: 0.26s, 0.26s; }

.mobile-nav-overlay.open .mnav-group:nth-child(3) { transition-delay: 0.31s, 0.31s; }

.mobile-nav-overlay.open .mnav-group:nth-child(n+4) { transition-delay: 0.35s, 0.35s; }

/* MENU SECTIONS (Oct 2026, client: "make this products section extend
   when clicked on it like dolly partons website has it"). Shop by Product
   and Collections are disclosure buttons set like the Home link, each
   over a list that opens under it: shut when the menu opens, both may be
   open at once, the open heading turns red and its caret turns over —
   the Dolly Parton store's phone menu, which snaps open; this one runs on
   the same measured-height animation as the product page's accordions
   (heightSet()). The caret sits in symmetric side padding so the words
   stay on the menu's centre line and the focus ring takes in both. */

.mnav-toggle {
  position: relative;
  background: none;
  border: 0;
  margin: 0;
  padding: 0.5rem 1.15em;
  cursor: pointer;
  color: var(--off-white);
  font-family: var(--font-display);
  font-weight: 500;
  /* 1.5rem like Home; only under ~364px does it give way, so "Shop by
     Product" stays one line on a 320 phone (it wrapped at 1.5rem). */
  font-size: min(1.5rem, 6.6vw);
  white-space: nowrap;
  line-height: inherit;
  letter-spacing: 0.15em;
  text-indent: 0.15em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--dur-micro) var(--ease-micro);
}

.mnav-section.open .mnav-toggle { color: var(--red-text); }

.mnav-caret {
  position: absolute;
  right: 0.15em;
  top: 50%;
  width: 0.5em;
  height: 0.3em;
  margin-top: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: rotate var(--dur-collapse) var(--ease-collapse);
}

.mnav-section.open .mnav-caret { rotate: 180deg; }

.mnav-panel {
  align-self: stretch;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height var(--dur-collapse) var(--ease-collapse),
              visibility var(--dur-collapse) var(--ease-collapse);
}

.mnav-section.open .mnav-panel { height: auto; visibility: visible; }

.mnav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav-overlay a {
  display: inline-block;
  color: var(--off-white);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-indent: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color var(--dur-micro) var(--ease-micro);
}

.mnav-group ul a { font-size: 1.2rem; padding: 0.4rem 0; }

/* The list is the measured inner. Its padding is inside the clip, so the
   first and last links' focus rings are never cut, and the links fade in
   a beat behind the opening edge and out ahead of the closing one. */

.mnav-panel > ul {
  padding: 0.35rem 0 0.25rem;
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-micro);
}

.mnav-section.open .mnav-panel > ul {
  opacity: 1;
  transition: opacity var(--dur-collapse) var(--ease-accent) 0.06s;
}

/* No red "you are here" on the current category (client, Oct 2026: "when
   i click some category and then come back, its still red. it should go
   back to white"). aria-current stays for screen readers. */

.mnav-group-small { flex-direction: row; justify-content: center; gap: 2rem; }

.mnav-group-small a {
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--grey-light);
}

/* Hover red only on a real pointer: a tap leaves :hover stuck on iOS. */

@media (hover: hover) {
  .mobile-nav-overlay a:hover,
  .mnav-toggle:hover { color: var(--red-text); }
}

.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s;
}

.mobile-nav-close:hover {
  color: var(--red-text);
}

/* ─── TABLET: max-width 1024px ─── */

@media (max-width: 1024px) {
  :root { --banner-stack: 150px; } /* 36 + 44 + 70 */
  nav { padding: 0 1.5rem; height: 70px; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.75rem; letter-spacing: 0.1em; }
  .hero-content { padding: 0 3rem; }
  .products { padding: 4rem 2rem; }
  .about { padding: 4rem 2rem; gap: 0; }
  .about-text { padding: 2rem 2rem 2rem 3rem; }
  .pp-layout { grid-template-columns: 1fr 1fr; }
  .footer-inner { gap: 2rem; }
  footer { padding: 4rem 2rem 2rem; }
}

/* ─── SMALL TABLET / LARGE PHONE: max-width 900px ─── */

@media (max-width: 900px) {
  :root { --banner-stack: 140px; } /* 36 + 44 + 60 */
  nav { padding: 0 1.2rem; height: 60px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-kick-sprite { width: 55px; height: 57px; background-size: 1430px 57px; }
  .nav-wordmark .logo-img { width: 70px; }

  .hero-content { padding: 0 1.5rem; max-width: 100%; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
  .hero-desc { font-size: 1rem; max-width: 100%; }
  .hero-tag { font-size: 0.75rem; letter-spacing: 0.3em; }
  .hero-cta { padding: 0.85rem 2rem; font-size: 0.85rem; }

  /* Once the framing below put the kick back on screen, the copy was
     sitting across the white gi — on the desktop the figure is off to the
     right of the text, on a phone it is behind it. So the copy goes to the
     foot of the hero and the scrim turns through 90°: it rises from the
     bottom edge instead of coming in from the left, which is the only
     direction that covers a text block running the full width. The kick
     itself — the raised foot, the head, the torso — is all in the top
     two-thirds, where the scrim has faded out. */
  .hero { align-items: flex-end; padding-bottom: 2.5rem; }
  .hero::after {
    width: 100%;
    background: linear-gradient(to top,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.88) 20%,
      rgba(0, 0, 0, 0.62) 40%,
      rgba(0, 0, 0, 0.26) 58%,
      transparent 76%);
  }

  /* Phone and tablet keep the old full-bleed framing. The uncropped
     desktop rule would put a 2.4:1 picture in a portrait-shaped hero,
     i.e. a thin strip floating in black. Same numbers as before: the
     still's box is 6336/5528 wider than the hero and centred with a
     translateX (a fractional `left` gets pixel-snapped), which makes
     `cover` pick the crop the clip uses, and the still's percentage is
     the video's re-expressed against that overflow:
     S = (V + 0.0730825) / 1.146165.
     **The percentage has to sit on the kick, and 92% did not** (Sept 2026,
     client: "the kick doesn't appear in the mobile version"). `cover` on a
     portrait hero is height-driven, so only 390/(629x2.1069) = 29% of the
     clip's width is on screen — at 92% that band was the far right of the
     studio, empty wall, and the kick happened off-screen. Measured over
     all 57 frames, the figure lives between 27% and 60% of the frame and
     the final pose between 35% and 59%, so the band is centred on 46.8%:
     V = (0.468 - 0.147) / (1 - 0.294) = 45.5%. That keeps the whole peak
     of the kick on screen with ~3% to spare at 390x844, and it holds its
     centre as the band widens on shorter phones and on tablets. */
  /* The 0.92 shrink leaves the picture's own edge standing inside the hero,
     a hard line down the right (Oct 2026, client: "a black line at the
     right side, remove that crop, keep the video in the same position").
     The box is widened by 1/0.92 about its centre, so after the same
     scale(0.92) it spans the hero edge to edge, and the picture, which is
     height-driven under `cover`, keeps its size. object-position and the
     mask are re-expressed against the wider box so every pixel stays where
     it was: p = ((Pw-W)x0.455 + (W-W2)/2) / (Pw-W2) = 45.3% (45.2-45.3%
     from 360 to 768 wide), and the mask centre/radius are 0.92/0.9 divided
     by 1.08696, shifted by 0.04348. The extra width is video the cover crop
     was throwing away, so nothing is invented. */
  .hero-video {
    left: -4.3478%;
    right: auto;
    width: 108.6957%;
    object-fit: cover;
    object-position: 45.3% center;
    transform: translateX(3vw) scale(1);
    transform-origin: 50% 0;
    -webkit-mask-image: radial-gradient(ellipse 82.8% 90% at 88.65% 50%, black 80%, transparent 100%);
    mask-image: radial-gradient(ellipse 82.8% 90% at 88.65% 50%, black 80%, transparent 100%);
  }
  .hero-still img {
    width: 114.6165%;
    object-fit: cover;
    object-position: 46.074% center;
    transform: translateX(calc(-6.376619% + 3vw)) scale(1) translateY(-1.45%);
    transform-origin: 50% 0;
  }
  /* `cover` puts only ~29% of the clip's width on screen, centred on the
     kick, so the clip's right edge is nowhere near the window and there is
     no gap to extend. */
  .hero-edge { display: none; }

  .products { padding: 3rem 1.2rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-info { padding: 1rem; }
  .product-name { font-size: 1rem; }
  .product-category { font-size: 0.65rem; margin-bottom: 0.375rem; }
  .product-price { font-size: 1rem; margin-bottom: 0.75rem; }
  .product-buy { padding: 0.75rem 0.75rem 0.625rem; font-size: 0.75rem; letter-spacing: 0.15em; }

  .filters { gap: 0.4rem; }
  .filter-btn { padding: 0.45rem 1rem; font-size: 0.7rem; }

  .cta-banner { padding: 3rem 1.5rem; }
  .cta-banner h3 { font-size: clamp(1.2rem, 3.5vw, 2rem); }
  .cta-banner p { font-size: 0.9rem; }
  .cta-banner a { padding: 0.75rem 2rem; font-size: 0.8rem; }

  .about { grid-template-columns: 1fr; padding: 3rem 1.2rem; }
  .about-text { padding: 2rem 0 0; }
  .about-visual { min-height: 250px; }
  .about-text h2 { font-size: 1.5rem; }
  .about-text p { font-size: 0.9rem; }
  .about-cta { font-size: 0.85rem; padding: 1rem 1.6rem 0.875rem; }
  /* Filled red at rest on phones and tablets (Oct 2026, client: "this
     button needs to be red all the time for the mobile version, not just
     when clicked on"). A touch screen has no hover, so the outlined state
     was all anyone saw until the tap. White on --red is 4.71:1; pressed
     goes to --red-dark so a tap still answers. Desktop stays outlined. */
  .about-cta { background: var(--red); border-color: var(--red); color: var(--white); }
  .about-cta:active { background: var(--red-dark); border-color: var(--red-dark); }

  .social-bar { padding: 1rem 1.2rem; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

  footer { padding: 3rem 1.2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  /* The four link columns fall into a 2 x 2 block: Shop beside
     Collections, Explore beside Support. Up to five collections that is no
     taller than Shop already is, so adding one does not lengthen the
     phone footer. */
  .footer-col h3 { margin-bottom: 0.75rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { margin-top: 2.5rem; flex-direction: column; align-items: flex-start; }

  .pp-layout { grid-template-columns: 1fr; }
  .pp-main-image { padding: 2rem 1rem; }
  .pp-details { padding: 2rem 1.5rem 3rem; }
  .pp-name { font-size: 1.5rem; }
  .pp-back { top: 0.8rem; left: 0.8rem; font-size: 0.75rem; }

  .pdp-overlay { padding: 1rem; }
  .pdp-layout { grid-template-columns: 1fr; }
  .pdp-modal { margin: 1rem auto; }
  .pdp-image { min-height: 280px; }
  .pdp-details { padding: 1.5rem; }
  .pdp-name { font-size: 1.3rem; }

  .kimono-overlay { padding: 1rem; }
  .kimono-modal { max-width: 100%; }
  .kimono-story { padding: 1.5rem; }
  .kimono-gallery { grid-template-columns: 1fr; gap: 6px; }
  .kimono-gallery img { height: 200px; }
  .kimono-story h2 { font-size: 1.4rem; }
  .kimono-story p { font-size: 0.85rem; }
  .kimono-buy-section { flex-direction: column; gap: 1rem; }
  .kimono-price { font-size: 1.3rem; }
  .kimono-buy-btn { width: 100%; }
}

/* ─── PHONE: max-width 600px ─── */

@media (max-width: 600px) {
  :root { --banner-stack: 88px; } /* 32px top banner + 56px nav (brand bar hidden) */
  .top-banner { height: 32px; font-size: 0.62rem; letter-spacing: 0.06em; }
  .top-banner .promo-code { border: 0; padding: 0; margin: 0; }
  .brand-bar { display: none; }
  nav { top: 32px; height: 56px; padding: 0 1rem; }
  .nav-kick-sprite { width: 45px; height: 47px; background-size: 1170px 47px; }
  .nav-wordmark .logo-img { width: 60px; }
  .nav-cart { font-size: 0.7rem; }
  .nav-cart svg { width: 18px; height: 18px; }

  /* The first view fills the screen and the copy sits at its foot (Oct
     2026, client: "without changing the photo or video, move the text
     down by extending the initial view of the page to full screen").
     The hero used to be 85vh, and the picture is `cover` in a box that
     ran to the hero's bottom, so a taller hero alone would have zoomed
     the photo and the clip. So `--hero-frame` keeps that box, the scrim
     and the flash at the old 85vh, i.e. pixel for pixel where they were,
     and the hero below it is plain black that the copy moves down into.
     The hero is 100lvh (stable while the toolbars slide; 100dvh would
     jump), and the bottom padding adds lvh - svh so the button clears
     a browser toolbar that is showing on first load. Without lvh/svh the
     two lines fall back to 100vh and the 900px block's 2.5rem. */
  .hero {
    --hero-frame: 85vh;
    min-height: 100vh;
    min-height: 100lvh;
    padding-bottom: calc(2.5rem + 100lvh - 100svh);
  }
  .hero-video,
  .hero-still { bottom: auto; height: calc(var(--hero-frame) - var(--banner-stack)); }
  .hero::after,
  .hero-flash { bottom: auto; height: var(--hero-frame); }
  .hero-content { padding: 0 1rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); margin-bottom: 1rem; }
  .hero-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .hero-tag { font-size: 0.65rem; letter-spacing: 0.25em; margin-bottom: 1rem; }
  .hero-tag::before { width: 25px; }
  .hero-cta { padding: 0.75rem 1.5rem; font-size: 0.8rem; letter-spacing: 0.15em; width: 100%; justify-content: center; }
  .hero-still img { object-fit: cover; object-position: 46.074% center; }

  .products { padding: 2.5rem 1rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-img { aspect-ratio: 1; }
  .product-info { padding: 0.75rem; }
  .product-name { font-size: 0.8rem; letter-spacing: 0.03em; }
  .product-category { font-size: clamp(0.5rem, 2.2vw, 0.6rem); letter-spacing: 0.15em; margin-bottom: 0.25rem; }
  /* "Sweatshirt · Signature Collection" wraps on a phone card and pushes that
     card's name and price below its neighbour's; "Sweatshirt · Signature" fits */
  .product-category .pc-word { display: none; }
  .product-price { font-size: 0.95rem; margin-bottom: 0.625rem; }
  .product-price .original { font-size: 0.75rem; }
  .product-buy { padding: 0.75rem 0.5rem 0.625rem; font-size: 0.7rem; letter-spacing: 0.12em; }
  .product-badge { padding: 0.25rem 0.45rem 0.25rem 0.5rem; font-size: 0.55rem; top: 8px; left: 8px; }

  .filters { gap: 0.4rem; flex-wrap: wrap; }
  .filter-btn { padding: 0.5rem 0.9rem; font-size: 0.7rem; white-space: nowrap; flex-shrink: 0; }
  .collection-toolbar { gap: 0.75rem; margin-bottom: 1.5rem; }
  .collection-desc { font-size: 0.875rem; margin-bottom: 0.75rem; }
  .category-nav a { padding: 1rem; font-size: 0.85rem; letter-spacing: 0.12em; }

  .cta-banner { padding: 2.5rem 1rem; }
  .cta-banner h3 { font-size: 1.2rem; }
  .cta-banner p { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .cta-banner a { padding: 0.7rem 1.5rem; font-size: 0.75rem; width: 100%; text-align: center; }

  .about { padding: 2.5rem 1rem; }
  .about-visual { min-height: 200px; }
  .about-text { padding: 1.5rem 0 0; }
  .about-text h2 { font-size: 1.3rem; }
  .about-text p { font-size: 0.85rem; line-height: 1.65; margin-bottom: 1.5rem; }
  /* Full width on a phone: the label is long enough to wrap inside any
     button narrower than the column, and a wrapped button that is also
     hugging its text looks like a mistake. Centred, so both lines sit on
     the same axis, and `text-wrap: balance` so the break falls between
     the two halves of the sentence instead of leaving "Website" alone on
     a line of its own. */
  .about-cta {
    align-self: stretch;
    font-size: 0.8rem;
    padding: 0.95rem 1.25rem 0.825rem;
    text-align: center;
    text-wrap: balance;
    line-height: 1.35;
  }

  .social-bar { padding: 0.8rem 1rem; gap: 1.2rem; }
  .social-bar a svg { width: 18px; height: 18px; }

  footer { padding: 2rem 1rem 1rem; }
  .footer-inner { gap: 1.25rem 1rem; }
  .footer-brand .f-logo { margin-bottom: 0.6rem; }
  .footer-brand .f-logo .footer-logo-img { height: 30px; }
  .footer-brand p:not(.f-logo) { display: none; }
  .footer-col h3 { font-size: 0.72rem; margin-bottom: 0.5rem; padding-bottom: 0.5rem; }
  .footer-col ul { gap: 0; }
  .footer-col a, .footer-col .footer-cookie { font-size: 0.85rem; padding: 0.4rem 0; letter-spacing: 0.06em; }
  .footer-bottom { margin-top: 1.25rem; padding-top: 1rem; gap: 0.25rem; }
  .footer-bottom small { font-size: 0.7rem; }

  .pp-layout { grid-template-columns: 1fr; }
  .pp-main-image { padding: 1rem; }
  .pp-details { padding: 1.5rem 1rem 2.5rem; }
  .pp-name { font-size: 1.3rem; line-height: 1.15; }
  .pp-price { font-size: 1.2rem; margin-bottom: 1.5rem; }
  .pp-option-label { font-size: 0.7rem; }
  .pp-size-btn { padding: 0.75rem 0.5rem; font-size: 0.8rem; }
  .pp-color-wheel-wrap { width: 148px; height: 148px; }
  .pp-add-cart { padding: 1rem; font-size: 0.85rem; }
  .pp-desc p { font-size: 0.8rem; }
  .pp-back { top: 0.5rem; left: 0.5rem; }

  .pdp-overlay { padding: 0.5rem; }
  .pdp-modal { margin: 0.5rem auto; }
  .pdp-image { min-height: 220px; }
  .pdp-details { padding: 1.2rem; }
  .pdp-name { font-size: 1.2rem; }
  .pdp-price { font-size: 1.1rem; }
  .pdp-desc { font-size: 0.8rem; }
  .pdp-close { width: 36px; height: 36px; font-size: 1.5rem; }
  .pdp-add-cart { padding: 0.85rem; font-size: 0.8rem; }
}

/* ─── VERY SMALL PHONE: max-width 380px ─── */

@media (max-width: 380px) {
  nav { height: 50px; padding: 0 0.75rem; }
  .nav-kick-sprite { width: 38px; height: 40px; background-size: 988px 40px; }
  .nav-wordmark .logo-img { width: 50px; }

  .hero h1 { font-size: 1.6rem; }
  .hero-desc { font-size: 0.8rem; }
  .hero-cta { padding: 0.7rem 1.2rem; font-size: 0.75rem; }

  .category-nav ul { grid-template-columns: 1fr; }

  .product-grid { gap: 0.5rem; }
  .product-info { padding: 0.625rem; }
  .product-name { font-size: 0.7rem; }
  .product-price { font-size: 0.85rem; margin-bottom: 0.5rem; }
  .product-buy { padding: 0.625rem 0.5rem 0.5rem; font-size: 0.65rem; }
}

/* ─── TOUCH-FRIENDLY ENHANCEMENTS ─── */

@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    border-color: var(--dark-3);
    transform: none;
    box-shadow: none;
  }
  .product-card:active {
    border-color: var(--red);
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  .product-card:hover .product-img img { transform: none; }
  .product-buy:hover {
    background: transparent;
    border-color: var(--dark-4);
    color: var(--grey-light);
  }
  .product-buy:active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
  }
  .hero-cta:hover {
    background: var(--red);
    transform: none;
    box-shadow: none;
  }
  .hero-cta:active {
    background: var(--red-dark);
    transform: scale(0.97);
  }
  .filter-btn:hover {
    background: var(--dark-3);
    color: var(--grey-light);
    border-color: var(--dark-4);
  }
  .filter-btn:active, .filter-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
  }
}

/* ─── LANDSCAPE PHONE FIX ─── */

@media (max-height: 500px) and (orientation: landscape) {
  /* 100%: the picture spans the whole hero again, undoing the phone
     block's 85vh frame on a small landscape phone (568x320). */
  .hero { min-height: auto; padding: calc(var(--banner-stack) + 1.5rem) 0 2rem; --hero-frame: 100%; }
  .hero-content { padding: 0 2rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-desc { font-size: 0.78rem; margin-bottom: 1rem; }
}

/* ═══════ ACCESSIBILITY ═══════ */

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus { left: 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* one visible focus ring everywhere, so nothing depends on the UA default */

:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

/* a dialog panel takes focus itself after a tap (see openDialog): it is a
   container, not a control, so it carries no ring */

.product-page:focus, .kimono-overlay:focus, .mobile-nav-overlay:focus { outline: none; }

/* after a tap or a click no control shows a ring; the first key brings it back
   (html.pointer-input is set by the ACCESSIBILITY WIRING, see viaPointer) */

html.pointer-input :focus-visible { outline-color: transparent !important; }

/* the product name is the card's keyboard-reachable control */

.product-open {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

.product-open:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

/* target size: keep small links at a 24px tap box */

.brand-bar a { padding: 5px 0; }

.social-bar a { padding: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    /* Delays matter as much as durations here: a staggered menu with no
       duration still trickles in one link at a time. */
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cta-words span { opacity: 1 !important; transform: none !important; }
}
