/* ============================================================
   DAKOTA 80 — Design Tokens
============================================================ */
:root {
  --cream:  #f2ebd9;
  --ink:    #0a0a0a;
  --blood:  #e62b1e;
  --white:  #ffffff;
  --muted:  #555555;
  --stone:  #c9c1aa;

  --font-display: "Anton", sans-serif;
  --font-ui:      "Space Mono", monospace;

  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;
  --space-xxl: 8rem;

  --pad: clamp(1rem, 4.44vw, 4rem); /* 64px at 1440px */
  --ease-snap: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  cursor: crosshair;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--cream); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


/* ============================================================
   NAV — sticky with solid background
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  width: 100%;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.nav.is-scrolled {
  box-shadow: 0 1px 0 var(--ink);
  background: var(--cream);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px var(--pad);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__logo:hover { color: var(--blood); }
.nav__logo span { color: var(--blood); }

/* Desktop links list */
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav__link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.2s var(--ease-snap);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }

/* Nav CTA — blood fill, ink slide-up on hover */
.nav__cta {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 12px 18px;
  background: var(--blood);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  transition: color 0.2s var(--ease-snap);
  white-space: nowrap;
}
.nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.2s var(--ease-snap);
}
.nav__cta:hover::before { transform: translateY(0); }

/* Hamburger button */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: crosshair;
  padding: 0;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 96px var(--pad) 48px; /* 96px clears the sticky nav bar */
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav__drawer.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav__drawer-link {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 48px);
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.nav__drawer-link:hover { color: var(--blood); }
.nav__drawer-cta {
  display: inline-block;
  padding: 16px 32px;
  background: var(--blood);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}


/* ============================================================
   HERO
============================================================ */
/* Homepage-only white background (applied via .page-home on body) */
.page-home .nav,
.page-home .nav.is-scrolled,
.page-home .nav__drawer { background: var(--white); }

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

.hero__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 15vw; /* clears the absolute-positioned wave */
  gap: 0;
}

.hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero__kicker {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.hero__logo-img {
  display: block;
  /* 42.2vw matches the Figma ratio (608px / 1440px viewport).
     Clamp prevents it shrinking below 180px or growing beyond 608px.
     aspect-ratio hard-locks the 608:280 ratio regardless of how
     the browser resolves the image dimensions. */
  width: clamp(180px, 42.2vw, 608px);
  height: auto;
  aspect-ratio: 608 / 280;
  max-width: 90vw; /* breathing room on very small screens */
}

/* Spacer keeps logo clear of the absolute-positioned wave */
.hero__spacer { display: none; }

.hero__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-bottom: 24px;
  color: var(--white);
}
.hero__tagline {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__strapline {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* Red intro block below the wave */
.hero-intro {
  background: var(--blood);
  padding: 48px var(--pad) 64px;
  margin-top: -2px; /* seal any sub-pixel gap below the wave */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.hero-intro__headline {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-align: center;
}

.hero-intro__text {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.8;
  color: var(--cream);
  text-align: center;
  max-width: 720px;
}

/* The jagged red wave sits at the absolute bottom */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}


/* ============================================================
   MARQUEE STRIP
============================================================ */
.marquee {
  background: var(--ink);
  height: 98px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee__belt {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: belt-roll 22s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__belt { animation-play-state: paused; }

.marquee__word {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
  flex-shrink: 0;
  padding: 0 24px;
}
.marquee__dot {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--blood);
  flex-shrink: 0;
}
@keyframes belt-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   CATEGORIES
============================================================ */
.categories {
  background: var(--cream);
  padding: 84px var(--pad) 96px;
}

/* Section header */
.section-head { margin-bottom: 48px; }
.section-head__eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 14px;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.58vw, 66px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-head__rule {
  height: 2px;
  background: var(--ink);
  width: 100%;
}

/* Grid — 3 cols desktop, 2 tablet, 1 mobile */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 41px;
}

/* Individual card */
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  cursor: crosshair;
}

.cat-card__frame {
  position: relative;
  padding-bottom: 103.9%; /* 4:5.3 portrait ratio matching Figma */
  flex-shrink: 0;
}

/* Offset ink shadow block */
.cat-card__shadow {
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  background: var(--ink);
  z-index: 0;
}

/* Front image panel */
.cat-card__panel {
  position: absolute;
  inset: 0;
  background: var(--stone); /* fallback while image loads */
  z-index: 1;
  overflow: hidden;
  transition: transform 0.35s var(--ease-snap);
}

/* Card image — fills panel, grayscale bloom on hover */
.cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
  /* Grayscale by default, blooms to colour on hover */
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.6s ease;
}
.cat-card:hover .cat-card__img {
  filter: grayscale(0%) contrast(1);
}
.cat-card:hover .cat-card__panel {
  transform: translate(-3px, -3px);
}


/* Tag + shop row below card */
.cat-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.cat-card__tag { color: var(--blood); }

/* SHOP → with underline wipe */
.cat-card__shop {
  position: relative;
  color: var(--ink);
  display: inline-block;
}
.cat-card__shop::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.2s var(--ease-snap);
}
.cat-card:hover .cat-card__shop::after { width: 100%; }


/* ============================================================
   FOOTER
============================================================ */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  margin-top: -48px;
  padding: clamp(80px, 9vw, 120px) var(--pad) 60px;
}

/* Category nav row */
.footer__cats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 80px;
}
.footer__cat {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
}
.footer__cat::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.2s var(--ease-snap);
}
.footer__cat:hover::after { width: 100%; }

.footer__sep {
  color: var(--blood);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px;
  user-select: none;
}

/* Bottom row — wordmark left, info+CTA right */
.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.19vw, 118px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  letter-spacing: 0;
}
.footer__wordmark-cream { color: var(--cream); }
.footer__wordmark-blood { color: var(--blood); }

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}
.footer__info {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.75;
  color: var(--cream);
}
.footer__info a { color: inherit; text-transform: none; }

/* Footer Etsy CTA — blood slide-up on hover */
.footer__cta {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 14px 24px;
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: crosshair;
  isolation: isolate;
  transition: color 0.2s var(--ease-snap), border-color 0.2s var(--ease-snap);
  white-space: nowrap;
}
.footer__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blood);
  transform: translateY(100%);
  transition: transform 0.2s var(--ease-snap);
}
.footer__cta:hover::before { transform: translateY(0); }
.footer__cta:hover { border-color: var(--blood); }


/* ============================================================
   RESPONSIVE BREAKPOINTS
============================================================ */
@media (max-width: 1024px) {
  /* Burger takes over on tablet — the full link row no longer fits and
     was overflowing the viewport (side-to-side wobble). */
  .nav__links  { display: none; }
  .nav__burger { display: flex; }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 768px) {

  .hero__kicker     { font-size: 13px; letter-spacing: 0.14em; }
  .hero__tagline    { font-size: 13px; white-space: normal; text-align: center; padding: 0 16px; }

  .hero-intro { padding: 36px var(--pad) 48px; }
  .hero-intro__headline { font-size: 15px; }
  .hero-intro__text { font-size: 13px; line-height: 1.7; }

  .cat-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer { clip-path: polygon(0 2.5%, 100% 0, 100% 100%, 0 100%); margin-top: -24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__right  { align-items: flex-start; }
  .footer__info   { text-align: left; }
}

@media (max-width: 480px) {
  .hero__kicker   { display: none; }
  .marquee__word  { font-size: 26px; padding: 0 16px; }
  .marquee__dot   { font-size: 26px; }
  .cat-card__foot { font-size: 14px; }
}

/* Mobile: bloom to colour when card scrolls into view */
@media (hover: none) {
  .cat-card.is-inview .cat-card__img,
  .prod-card.is-inview .prod-card__img {
    filter: grayscale(0%) contrast(1);
  }
  .cat-card.is-inview .cat-card__panel {
    transform: translate(-3px, -3px);
  }
  .prod-card.is-inview .prod-card__panel {
    transform: translate(-3px, -3px);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ============================================================
   CATEGORY HEADER
============================================================ */
.cat-header {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

/* ---- Load-in movement (category hero only) ----
   Staggered vertical rise; transform is Y-only so it can never add
   horizontal overflow. `both` holds the hidden start during the delay. */
@keyframes catHeroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes catBrowsePulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(6px); opacity: 0.55; }
}
.cat-header__title    { animation: catHeroRise 0.8s var(--ease-snap) 0.05s both; }
.cat-header__desc     { animation: catHeroRise 0.8s var(--ease-snap) 0.18s both; }
.cat-header__wave     { animation: catHeroRise 0.9s var(--ease-snap) 0.28s both; }
.cat-header__band-left  { animation: catHeroRise 0.8s var(--ease-snap) 0.40s both; }
.cat-header__browse     { animation: catHeroRise 0.8s var(--ease-snap) 0.52s both; }
/* Gentle ongoing life on the scroll cue once it has arrived */
.cat-header__browse-line { animation: catBrowsePulse 2.4s ease-in-out 1.4s infinite; transform-origin: top; }

/* Top cream zone: title left, description right */
.cat-header__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 34px var(--pad) 0;
  min-height: 520px;
}

.cat-header__title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10.4vw, 150px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.82;
  color: var(--ink);
  align-self: start;
}

.cat-header__desc {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--ink);
  padding-top: 62px; /* aligns with Figma top-offset of description */
  max-width: 560px;
}

.cat-header__desc p + p { margin-top: 1.2em; }

/* Wave image — same asset as homepage hero, sits between cream and red */
.cat-header__wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px; /* prevent any gap between wave and band */
  pointer-events: none;
}

/* Red band — flat, wave image above handles the jagged edge */
.cat-header__band {
  position: relative;
  background: var(--blood);
  padding: 60px var(--pad) 60px;
}

.cat-header__band-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.cat-header__collection {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.19vw, 46px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}

.cat-header__taglines {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.85;
  color: var(--ink);
}

/* BROWSE scroll indicator */
.cat-header__browse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.cat-header__browse-line {
  width: 1px;
  height: 46px;
  background: var(--ink);
}
.cat-header__browse-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}


/* ============================================================
   PRODUCT GRID
============================================================ */
.prod-grid {
  background: var(--cream);
  padding: 80px var(--pad) 96px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Each row = 3 products side by side */
.prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

/* Individual product card */
.prod-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Image frame — 722×1020 portrait ratio (1020/722 ≈ 141.3%) */
.prod-card__frame {
  position: relative;
  padding-bottom: 141.3%;
  flex-shrink: 0;
}

.prod-card__shadow {
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  background: var(--ink);
  z-index: 0;
}

.prod-card__panel {
  position: absolute;
  inset: 0;
  background: var(--stone);
  z-index: 1;
  overflow: hidden;
  transition: transform 0.35s var(--ease-snap);
}
.prod-card:hover .prod-card__panel { transform: translate(-3px, -3px); }

/* Product image — grayscale bloom on hover, same as homepage cards */
.prod-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.6s ease;
}
.prod-card:hover .prod-card__img {
  filter: grayscale(0%) contrast(1);
}

/* Blood ref tag */
.prod-card__ref {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blood);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Anton product title */
.prod-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--ink);
}

/* Meta table — top + bottom 1px ink border */
.prod-card__meta {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prod-card__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.prod-card__meta-label {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.prod-card__meta-value {
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: right;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* CTA button — ink fill, blood slide-up on hover */
.prod-card__cta {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 18px 40px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: crosshair;
  isolation: isolate;
  transition: color 0.2s var(--ease-snap);
  white-space: nowrap;
  align-self: flex-start;
}
.prod-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blood);
  transform: translateY(100%);
  transition: transform 0.2s var(--ease-snap);
}
.prod-card__cta:hover::before { transform: translateY(0); }


/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb {
  background: var(--cream);
  padding: 14px var(--pad) 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--stone);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.breadcrumb a:hover { color: var(--blood); }
.breadcrumb [aria-current="page"] { color: var(--ink); }


/* ============================================================
   CATEGORY PAGE — RESPONSIVE
============================================================ */

/* Tighten card details on smaller desktops while keeping 3-col grid */
@media (max-width: 1200px) {
  .prod-card__meta { padding: 16px 20px; }
  .prod-card__meta-row { font-size: 12px; }
  .prod-card__title { font-size: clamp(22px, 2.4vw, 36px); }
  .prod-row { gap: 36px; }
}

/* 3 → 1 column at 768px (tablet / mobile) */
@media (max-width: 768px) {
  .cat-header__top {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 40px;
  }
  .cat-header__desc { padding-top: 32px; max-width: 100%; }
  .cat-header__band { padding: 40px var(--pad) 48px; }
  .cat-header__browse { display: none; }

  .prod-row { grid-template-columns: 1fr; gap: 60px; }
  .prod-grid { gap: 60px; }
  .prod-card__title { font-size: clamp(28px, 6vw, 40px); }
  .prod-card__meta { padding: 20px 24px; }
  .prod-card__meta-row { font-size: 13px; }
}

@media (max-width: 480px) {
  .cat-header__title { font-size: clamp(56px, 18vw, 96px); }
  .prod-card__meta { padding: 16px; }
  .prod-card__meta-row { font-size: 12px; }
}

/* ============================================================
   LIGHTBOX — tap a print to see it larger
   Reuses the image already loaded in the grid, so opening is
   instant and costs no extra download.
   ============================================================ */
.prod-card__img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900; /* above the nav drawer (200) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: clamp(16px, 5vw, 56px);
  background: rgba(10, 10, 10, 0.94);
  opacity: 0;
  visibility: hidden;
  /* visibility flips instantly on open (so the close button is focusable
     straight away) but is delayed on close so the fade-out can finish */
  transition: opacity 0.3s var(--ease-snap), visibility 0s linear 0.3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease-snap), visibility 0s linear 0s;
}

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px); /* leaves room for caption + close */
  border: 1px solid rgba(242, 235, 217, 0.18);
  transform: scale(0.98);
  transition: transform 0.3s var(--ease-snap);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }

.lightbox__cap {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blood);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1;
  cursor: crosshair;
  transition: background 0.2s var(--ease-snap), border-color 0.2s var(--ease-snap);
}
.lightbox__close:hover,
.lightbox__close:focus-visible { background: var(--blood); border-color: var(--blood); }

@supports (height: 100svh) {
  .lightbox__img { max-height: calc(100svh - 150px); }
}

@media (max-width: 600px) {
  .lightbox__img { max-height: calc(100svh - 120px); }
  .lightbox__close { width: 40px; height: 40px; font-size: 17px; }
}
