/* ═══════════════════════════════════════════════════════════════════
   ACHROMA — monochrome storefront design system
   One family (Archivo variable), two inks (black/white), zero color.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --gray-70: #565656;   /* secondary text on white, 7.4:1 */
  --gray-60: #6f6f6f;   /* tertiary on white, 5.2:1 */
  --gray-40: #a8a8a8;
  --gray-30: #d4d4d4;
  --gray-15: #ececec;
  --line: #e2e2e2;
  --line-dark: #2a2a2a;
  --on-dark-2nd: #b3b3b3; /* secondary text on black, 9.4:1 */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.3, 1.12, 0.4, 1);
  --pad: clamp(1rem, 4vw, 3rem);
  --header-h: 60px;
  --announce-h: 32px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

/* The brand rule: every photograph on the site is monochrome. */
img.mono, .mono img { filter: grayscale(1) contrast(1.06); }

h1, h2, h3, h4 { margin: 0; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* ── Typography voices ─────────────────────────────────────────── */

.display {
  font-weight: 900;
  font-stretch: var(--wide);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.h-section {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 850;
  font-stretch: var(--wide);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.muted { color: var(--gray-70); }
.on-dark .muted, .muted-dark { color: var(--on-dark-2nd); }

/* ── Focus ─────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ── Skip link ─────────────────────────────────────────────────── */

.skip-link {
  position: fixed; top: -100px; left: var(--pad);
  z-index: 300; padding: 0.75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-weight: 700; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus-visible { top: 8px; }

/* ── Announcement bar ──────────────────────────────────────────── */

.announce {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 210;
  height: var(--announce-h);
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  display: flex; align-items: center;
}
.announce-track {
  display: flex; gap: 3rem; white-space: nowrap;
  padding-left: 1rem;
  animation: marquee 40s linear infinite;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.announce-track span { display: inline-flex; align-items: center; gap: 3rem; }

/* ── Header ────────────────────────────────────────────────────── */

.site-header {
  position: fixed; top: var(--announce-h); left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 var(--pad);
  color: #fff;
  mix-blend-mode: difference;
  isolation: isolate;
}
.site-header a { text-decoration: none; }
.logo {
  font-size: 1.35rem; font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-right: auto;
}
.main-nav { display: flex; gap: 1.4rem; }
.main-nav a {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.4rem 0;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: currentColor;
  transition: right 0.25s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-actions { display: flex; gap: 0.35rem; align-items: center; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  background: none; border: 0; color: inherit;
  cursor: pointer; position: relative;
  border-radius: 0;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .count {
  position: absolute; top: 3px; right: 1px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center;
  background: #fff; color: #000;
  font-size: 0.62rem; font-weight: 800;
  border-radius: 999px;
}
.icon-btn .count:empty { display: none; }
.menu-btn { display: none; }

/* Mobile nav sheet */
.mobile-nav {
  position: fixed; inset: 0; z-index: 240;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 2rem) var(--pad) 3rem;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease-out);
  visibility: hidden;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; text-decoration: none;
  letter-spacing: -0.02em; line-height: 1.14;
  border-bottom: 1px solid var(--line-dark);
  padding: 0.55rem 0;
}
.mobile-nav .mobile-nav-close {
  position: absolute; top: 12px; right: var(--pad);
  color: var(--paper);
}

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  min-height: 52px; padding: 0 1.9rem;
  font-size: 0.82rem; font-weight: 800;
  font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
  transition: color 0.28s var(--ease-out);
  border-radius: 0;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform 0.32s var(--ease-out);
}
.btn > * { position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: var(--paper); }
.btn.on-dark { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.btn.on-dark::before { background: var(--ink); }
.btn.on-dark:hover { color: var(--paper); }
.btn.ghost.on-dark { background: transparent; color: var(--paper); }
.btn.ghost.on-dark::before { background: var(--paper); }
.btn.ghost.on-dark:hover { color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.full { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.2rem;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.text-link:hover svg { transform: translateX(5px); }

/* ── Hero ──────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  background: var(--ink); color: var(--paper);
  overflow: clip;
  display: flex; align-items: flex-end;
}
.hero-media, .hero-media img, .hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-media img { object-fit: cover; opacity: 0.92; }
.hero-canvas { display: block; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0.58) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--pad) clamp(2.5rem, 6vh, 4.5rem);
  max-width: 100%;
}
.hero-title {
  font-size: clamp(2.4rem, 10.2vw, 6rem);
  margin-bottom: 1.2rem;
}
.hero-title .line {
  display: block; overflow: clip;
}
.hero-title .line > span {
  display: block;
  animation: heroRise 0.9s var(--ease-out) both;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero-sub {
  max-width: 34ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: #e8e8e8;
  margin-bottom: 1.8rem;
  animation: heroFade 1s 0.4s var(--ease-out) both;
}
.hero-ctas {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  animation: heroFade 1s 0.55s var(--ease-out) both;
}
.hero-meta {
  position: absolute; right: var(--pad); bottom: clamp(2.5rem, 6vh, 4.5rem);
  z-index: 2; text-align: right;
  display: none;
  animation: heroFade 1s 0.7s var(--ease-out) both;
}
@media (min-width: 900px) { .hero-meta { display: block; } }

@keyframes heroRise {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Marquee ───────────────────────────────────────────────────── */

.marquee {
  background: var(--paper);
  border-block: 1.5px solid var(--ink);
  overflow: clip;
  padding: 0.6rem 0;
}
.marquee.inverted { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.marquee-row {
  display: flex; white-space: nowrap; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-row.reverse { animation-direction: reverse; }
.marquee-row span {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1;
  padding-right: 2.5rem;
}
.marquee-row .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  text-stroke: 1.5px currentColor;
}
.marquee.inverted .outline { -webkit-text-stroke-color: var(--paper); }
.marquee:not(.inverted) .outline { -webkit-text-stroke-color: var(--ink); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Sections ──────────────────────────────────────────────────── */

.section { padding: clamp(3.5rem, 9vh, 6.5rem) 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem;
  padding: 0 var(--pad);
  margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
}
.section-head p { max-width: 44ch; }

/* ── Product cards ─────────────────────────────────────────────── */

.product-card {
  display: block; text-decoration: none; color: inherit;
  position: relative;
}
.product-card .card-media {
  position: relative; overflow: clip;
  aspect-ratio: 4 / 5;
  background: var(--gray-15);
}
.section-dark .product-card .card-media { background: var(--line-dark); }
.product-card .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.4s ease;
}
.product-card:hover .card-media img { transform: scale(1.045); }
.product-card .card-media img.alt {
  position: absolute; inset: 0; opacity: 0; z-index: 1;
}
.product-card:hover .card-media img.alt,
.product-card:focus-visible .card-media img.alt { opacity: 1; }
.product-card .badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--ink); color: var(--paper);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 0.7rem;
}
.section-dark .product-card .badge { background: var(--paper); color: var(--ink); }
.product-card .fav-toggle {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-spring);
}
.section-dark .product-card .fav-toggle { color: var(--paper); }
.product-card:hover .fav-toggle,
.product-card:focus-within .fav-toggle,
.fav-toggle.active { opacity: 1; }
.fav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fav-toggle.active svg { fill: currentColor; }
.fav-toggle:active { transform: scale(0.85); }
.product-card .card-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding-top: 0.8rem;
}
.product-card .card-name {
  font-size: 0.95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.product-card .card-cat {
  grid-column: 1;
  font-size: 0.8rem; color: var(--gray-70);
}
.section-dark .product-card .card-cat { color: var(--on-dark-2nd); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price .was {
  color: var(--gray-70);
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 0.45rem;
}
.section-dark .price .was { color: var(--on-dark-2nd); }
.card-swatches { grid-column: 1 / -1; display: flex; gap: 6px; padding-top: 0.4rem; }
.card-swatches i {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.35);
}
.section-dark .card-swatches i { border-color: rgba(255,255,255,0.45); }

/* ── Carousel ──────────────────────────────────────────────────── */

.carousel { position: relative; }
.carousel-track {
  display: flex; gap: clamp(0.8rem, 1.6vw, 1.4rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 clamp(240px, 26vw, 400px);
  scroll-snap-align: start;
}
.carousel-track.large > * { flex-basis: clamp(280px, 34vw, 520px); }
.carousel-nav {
  display: flex; gap: 0.5rem;
}
.carousel-nav button {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1.5px solid currentColor; background: transparent;
  color: inherit; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-nav button:hover { background: var(--ink); color: var(--paper); }
.section-dark .carousel-nav button:hover { background: var(--paper); color: var(--ink); }
.carousel-nav svg { width: 20px; height: 20px; }

/* ── Category mosaic ───────────────────────────────────────────── */

.cat-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 24vw, 330px);
  gap: 4px;
  padding: 0 4px;
}
.cat-tile {
  position: relative; overflow: clip;
  display: flex; align-items: flex-end;
  text-decoration: none; color: var(--paper);
  background: var(--ink);
}
.cat-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cat-tile:nth-child(2) { grid-column: span 2; }
.cat-tile:nth-child(3) { grid-column: span 1; }
.cat-tile:nth-child(4) { grid-column: span 1; }
.cat-tile:nth-child(5) { grid-column: span 2; }
.cat-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.82;
  transition: transform 0.8s var(--ease-out), opacity 0.4s ease;
}
.cat-tile:hover img { transform: scale(1.05); opacity: 0.62; }
.cat-tile .cat-tile-name {
  position: relative; z-index: 1;
  padding: 1.2rem 1.4rem;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -0.02em;
  text-shadow: 0 1px 18px rgba(0,0,0,0.55);
  display: flex; align-items: center; gap: 0.7rem;
}
.cat-tile .cat-tile-name svg {
  width: 0.7em; height: 0.7em;
  transition: transform 0.3s var(--ease-out);
}
.cat-tile:hover .cat-tile-name svg { transform: translateX(8px); }

/* ── Editorial split ───────────────────────────────────────────── */

.editorial {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 82vh;
}
.editorial.flip { grid-template-columns: 1fr 1.15fr; }
.editorial .ed-media { position: relative; overflow: clip; min-height: 46vh; }
.editorial .ed-media img {
  position: absolute; inset: -8% 0;
  width: 100%; height: 116%;
  object-fit: cover;
}
.editorial .ed-copy {
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.4rem;
  padding: clamp(2.5rem, 6vw, 5.5rem);
}
.editorial .ed-copy p { max-width: 46ch; font-size: 1.05rem; }

/* ── Big CTA banner ────────────────────────────────────────────── */

.banner {
  position: relative;
  min-height: 74vh;
  display: grid; place-items: center;
  text-align: center;
  background: var(--ink); color: var(--paper);
  overflow: clip;
}
.banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.banner .banner-inner {
  position: relative; z-index: 1;
  padding: 4rem var(--pad);
  display: grid; justify-items: center; gap: 1.6rem;
}
.banner .banner-title { font-size: clamp(2.8rem, 9vw, 6rem); }

/* ── Search overlay ────────────────────────────────────────────── */

.search-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: var(--paper);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out), visibility 0.5s;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-overlay.open { transform: translateY(0); visibility: visible; }
.search-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem var(--pad);
  border-bottom: 1.5px solid var(--ink);
  position: sticky; top: 0; background: var(--paper); z-index: 2;
}
.search-head svg { width: 26px; height: 26px; flex: 0 0 auto; }
.search-input {
  flex: 1;
  border: 0; outline: none;
  font-family: inherit;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -0.01em;
  background: transparent; color: var(--ink);
  min-width: 0;
}
.search-input::placeholder { color: var(--gray-60); }
.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.4rem;
  padding: 2rem var(--pad) 4rem;
}
.search-hint {
  padding: 2.2rem var(--pad);
  color: var(--gray-70);
  font-size: 1rem;
  max-width: 60ch;
}

/* ── Cart drawer ───────────────────────────────────────────────── */

.drawer-scrim {
  position: fixed; inset: 0; z-index: 259;
  background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 260;
  width: min(440px, 100vw);
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.5s var(--ease-spring), visibility 0.5s;
  visibility: hidden;
  box-shadow: -18px 0 60px rgba(0,0,0,0.28);
}
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1.5px solid var(--ink);
}
.drawer-head h2 {
  font-size: 1.15rem; font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase;
}
.drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer-empty {
  height: 100%;
  display: grid; place-content: center; justify-items: center;
  gap: 1.2rem; text-align: center;
  color: var(--gray-70);
}
.drawer-empty svg { width: 54px; height: 54px; stroke-width: 1; }
.drawer-foot {
  border-top: 1.5px solid var(--ink);
  padding: 1.1rem 1.4rem 1.4rem;
  display: grid; gap: 0.9rem;
}
.drawer-foot .row {
  display: flex; justify-content: space-between;
  font-weight: 700;
}
.drawer-foot .note { font-size: 0.8rem; color: var(--gray-70); }

/* Cart line (drawer + page) */
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line img {
  width: 88px; height: 110px; object-fit: cover;
  background: var(--gray-15);
}
.cart-line .line-name {
  font-weight: 700; text-transform: uppercase;
  font-size: 0.88rem; letter-spacing: 0.02em;
  text-decoration: none;
}
.cart-line .line-meta { font-size: 0.8rem; color: var(--gray-70); margin-top: 2px; }
.cart-line .line-price { text-align: right; font-size: 0.92rem; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--ink);
  margin-top: 0.7rem;
}
.qty button {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: inherit;
}
.qty button svg { width: 14px; height: 14px; }
.qty output {
  min-width: 32px; text-align: center;
  font-weight: 700; font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.line-remove {
  background: none; border: 0; cursor: pointer;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-70);
  padding: 0.4rem 0; margin-top: 0.4rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.line-remove:hover { color: var(--ink); }

/* ── Toast ─────────────────────────────────────────────────────── */

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 280;
  transform: translate(-50%, calc(100% + 40px));
  background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.4s var(--ease-spring);
  max-width: min(92vw, 480px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ── Category page ─────────────────────────────────────────────── */

.cat-hero {
  padding: calc(var(--header-h) + var(--announce-h) + clamp(2.5rem, 7vh, 5rem)) var(--pad) clamp(1.6rem, 4vh, 2.6rem);
  background: var(--ink); color: var(--paper);
}
.cat-hero h1 { font-size: clamp(3rem, 10vw, 6rem); }
.cat-hero .cat-count { margin-top: 0.9rem; color: var(--on-dark-2nd); font-weight: 600; }

.filter-bar {
  position: sticky; top: 0; z-index: 90;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem var(--pad);
  flex-wrap: wrap;
}
.filter-chip {
  border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 0.95rem; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.filter-chip[aria-pressed="true"], .filter-chip:hover {
  background: var(--ink); color: var(--paper);
}
.filter-spacer { margin-left: auto; }
.sort-select {
  border: 1.5px solid var(--ink); background: var(--paper);
  font-family: inherit; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 0.8rem; cursor: pointer; color: var(--ink);
  border-radius: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 44vw), 1fr));
  gap: 2rem 1.4rem;
  padding: 2.2rem var(--pad) 4rem;
}
.grid-empty {
  grid-column: 1 / -1;
  padding: 5rem 0; text-align: center;
  display: grid; justify-items: center; gap: 1.2rem;
}
.grid-empty .h-section { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.grid-empty p { color: var(--gray-70); max-width: 44ch; }

/* ── Product detail page ───────────────────────────────────────── */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr);
  gap: 0;
  padding-top: calc(var(--header-h) + var(--announce-h));
}
.pdp-gallery { display: grid; gap: 4px; padding: 0 0 4px 0; }
.pdp-gallery img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  background: var(--gray-15);
}
.pdp-panel { position: relative; }
.pdp-panel-inner {
  position: sticky; top: calc(var(--header-h) + var(--announce-h) + 8px);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  display: grid; gap: 1.35rem;
  align-content: start;
}
.pdp-cat {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-70);
  text-decoration: none;
}
.pdp-cat:hover { color: var(--ink); }
.pdp-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -0.02em;
}
.pdp-price { font-size: 1.25rem; display: flex; align-items: baseline; gap: 0.7rem; }
.pdp-price .now { font-weight: 800; }
.pdp-price .was {
  color: var(--gray-70); text-decoration: line-through;
}
.pdp-price .save {
  font-size: 0.75rem; font-weight: 800;
  background: var(--ink); color: var(--paper);
  padding: 0.25rem 0.55rem;
  letter-spacing: 0.08em;
}
.pdp-rating {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; color: inherit;
  width: fit-content;
}
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; }

.option-block { display: grid; gap: 0.65rem; }
.option-label {
  display: flex; justify-content: space-between;
  font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.option-label .picked { color: var(--gray-70); font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.swatches { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.3);
  cursor: pointer; position: relative;
  padding: 0;
}
.swatch[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: -6px;
  border: 2px solid var(--ink); border-radius: 50%;
}
.sex-toggle { display: inline-flex; border: 1.5px solid var(--ink); width: fit-content; }
.sex-toggle button {
  border: 0; background: transparent; color: var(--ink);
  font-family: inherit; font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; cursor: pointer;
}
.sex-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 0.5rem;
}
.size-btn {
  border: 1.5px solid var(--gray-30); background: transparent;
  font-family: inherit; font-size: 0.85rem; font-weight: 700;
  padding: 0.7rem 0; cursor: pointer; color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-error { color: var(--ink); font-size: 0.85rem; font-weight: 700; display: none; }
.size-error.show { display: block; }

.buy-row { display: grid; grid-template-columns: 1fr 56px; gap: 0.7rem; }
.buy-row .fav-big {
  border: 1.5px solid var(--ink); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.buy-row .fav-big svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.buy-row .fav-big.active svg { fill: currentColor; }
.buy-row .fav-big:hover { background: var(--ink); color: var(--paper); }

.pickup {
  border: 1.5px solid var(--ink);
  padding: 0.95rem 1.1rem;
  display: flex; gap: 0.8rem; align-items: flex-start;
  font-size: 0.88rem;
}
.pickup svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.pickup strong { display: block; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; }
.pickup .muted { font-size: 0.82rem; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; cursor: pointer;
  font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 1.2rem; font-size: 0.94rem; color: var(--gray-70); max-width: 62ch; }

/* Reviews */
.reviews { padding: clamp(3rem, 7vh, 5rem) var(--pad); background: var(--gray-15); }
.reviews-head {
  display: flex; align-items: flex-end; gap: 2.2rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.reviews-score {
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 900; font-stretch: var(--wide);
  line-height: 0.9;
}
.reviews-sub { display: grid; gap: 0.4rem; padding-bottom: 0.6rem; }
.demo-note {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-70);
  border: 1px solid var(--gray-40);
  padding: 0.3rem 0.6rem; width: fit-content;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.6rem;
}
.review {
  background: var(--paper);
  padding: 1.4rem;
  display: grid; gap: 0.55rem; align-content: start;
}
.review .rv-title { font-weight: 800; font-size: 0.98rem; }
.review .rv-body { font-size: 0.92rem; color: var(--gray-70); }
.review .rv-meta { font-size: 0.78rem; color: var(--gray-60); }

/* ── Cart page ─────────────────────────────────────────────────── */

.cart-page {
  padding: calc(var(--header-h) + var(--announce-h) + clamp(2rem, 6vh, 4rem)) var(--pad) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}
.cart-page h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); margin-bottom: 1rem; grid-column: 1 / -1; }
.cart-list .cart-line { grid-template-columns: 110px 1fr auto; }
.cart-list .cart-line img { width: 110px; height: 138px; }
.summary {
  border: 1.5px solid var(--ink);
  padding: 1.6rem;
  display: grid; gap: 0.9rem;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h2 {
  font-size: 1.05rem; font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase;
}
.summary .row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.summary .row.total { font-weight: 800; font-size: 1.1rem; border-top: 1.5px solid var(--ink); padding-top: 0.9rem; }
.summary .save-row { color: var(--gray-70); }
.cart-empty {
  grid-column: 1 / -1;
  min-height: 46vh;
  display: grid; place-content: center; justify-items: center;
  gap: 1.4rem; text-align: center;
}
.cart-empty p { color: var(--gray-70); max-width: 40ch; }

/* ── Footer ────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink); color: var(--paper);
  padding: clamp(3rem, 8vh, 5.5rem) var(--pad) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-grid h3 {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-grid a {
  text-decoration: none; color: var(--on-dark-2nd);
  font-size: 0.92rem;
}
.footer-grid a:hover { color: var(--paper); }
.footer-brand p { color: var(--on-dark-2nd); max-width: 34ch; font-size: 0.92rem; }
.newsletter { display: flex; border: 1.5px solid var(--paper); margin-top: 1rem; }
.newsletter input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline-offset: -2px;
  color: var(--paper); font-family: inherit; font-size: 0.9rem;
  padding: 0 1rem;
}
.newsletter input::placeholder { color: var(--on-dark-2nd); }
.newsletter button {
  background: var(--paper); color: var(--ink);
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 1.2rem;
}
.footer-mark {
  font-size: clamp(3.4rem, 14vw, 11rem);
  font-weight: 900; font-stretch: var(--wide);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 0.85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
  user-select: none;
  padding: 1.5rem 0 1rem;
}
.footer-legal {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
  font-size: 0.78rem; color: var(--on-dark-2nd);
}

/* ── Scroll-driven animations (progressive) ────────────────────── */

@supports (animation-timeline: view()) {
  .sd-rise {
    animation: sdRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
  .sd-parallax img {
    animation: sdParallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  .sd-grow {
    animation: sdGrow linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}
@keyframes sdRise {
  from { opacity: 0.001; transform: translateY(46px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sdParallax {
  from { transform: translateY(-7%); }
  to   { transform: translateY(7%); }
}
@keyframes sdGrow {
  from { transform: scale(0.94); }
  to   { transform: scale(1); }
}

/* ── Cross-document view transitions ───────────────────────────── */

@view-transition { navigation: auto; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(12px); } }
::view-transition-old(root) { animation: vt-out 0.28s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 0.32s var(--ease-out) both; }
::view-transition-group(product-hero) {
  animation-duration: 0.45s;
  animation-timing-function: var(--ease-out);
}

/* ── Reduced motion ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-row, .announce-track { animation: none; transform: none; }
  @view-transition { navigation: none; }
}

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery {
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-gallery img { scroll-snap-align: center; aspect-ratio: 4 / 5; }
  .pdp-panel-inner { position: static; padding: 1.6rem var(--pad) 2.5rem; }
  .cart-page { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .editorial, .editorial.flip { grid-template-columns: 1fr; min-height: 0; }
  .editorial .ed-media { min-height: 58vw; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cat-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 36vw, 260px); }
  .cat-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cat-tile:nth-child(2) { grid-column: span 1; }
  .cat-tile:nth-child(5) { grid-column: span 1; }
  .carousel-track > *, .carousel-track.large > * { flex-basis: 74vw; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0.8rem; padding-inline: 0.8rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .buy-row { grid-template-columns: 1fr 52px; }
}

@media (max-width: 480px) {
  .cart-line { grid-template-columns: 74px 1fr auto; }
  .cart-list .cart-line { grid-template-columns: 86px 1fr; }
  .cart-list .cart-line .line-price { grid-column: 2; text-align: left; margin-top: 0.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
