/* ==========================================================================
   CRAZYBOXERSTORE — print-department zine theme
   Cream paper, ink rules, hard offset shadows, one hot orange.
   ========================================================================== */

:root {
  --paper: #F2EADB;
  --paper-2: #FBF6EB;
  --ink: #17120E;
  --accent: #E2401B;
  --sun: #F2B735;
  --muted: #6E6456;
  --header-h: 72px;
  --font-head: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
}

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23, 18, 14, 0.05) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  min-width: 0;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

p { margin: 0; }

button, input, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper-2); }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Shared type bits ------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: var(--paper-2); }
.btn--ghost:hover { background: var(--sun); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--ink); color: var(--paper); }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 40px);
}

.wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
  text-decoration: none;
}
.wordmark__top {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: -0.045em;
}
.wordmark__sub {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.site-nav { min-width: 0; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }
.site-nav__note { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}
.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Home: hero ------------------------------------------------------------- */

.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(30px, 4.5vw, 58px) clamp(16px, 3.2vw, 40px) clamp(42px, 5.5vw, 70px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(26px, 4.4vw, 60px);
  align-items: end;
}
.hero__copy { min-width: 0; }

.hero__title {
  margin: 16px 0 0;
  font-size: clamp(2.7rem, 6.7vw, 6.1rem);
  line-height: 0.87;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 46ch;
  margin-top: 22px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  list-style: none;
}
.hero__facts li {
  min-width: 0;
  padding: 13px 12px 13px 0;
  border-right: 1px solid rgba(23, 18, 14, 0.28);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero__facts li + li { padding-left: 12px; }
.hero__facts li:last-child { border-right: 0; }
.hero__fact-no {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-weight: 700;
}

.hero__poster {
  position: relative;
  min-width: 0;
  padding: 22px 20px 26px;
  border: 3px solid var(--ink);
  background-color: var(--accent);
  background-image: radial-gradient(rgba(23, 18, 14, 0.16) 1px, transparent 1px);
  background-size: 7px 7px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
.poster__kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.poster__big {
  display: flex;
  align-items: flex-start;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: clamp(4rem, 7vw, 6.6rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
}
.poster__plus {
  margin: 0 0.06em;
  color: var(--paper);
  font-size: 0.52em;
  line-height: 1;
  -webkit-text-stroke: 2px var(--ink);
}
.poster__caption {
  margin-top: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.poster__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.poster__list li {
  padding: 4px 8px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.poster__note {
  margin-top: 16px;
  padding-top: 12px;
  padding-right: 62px;
  border-top: 2px solid var(--ink);
  font-size: 12.5px;
  line-height: 1.4;
}
.poster__stamp {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 8px;
  border: 2px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.12em;
  transform: rotate(7deg);
}

/* Marquee ---------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 13px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee__star { color: var(--accent); font-size: 11px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Section heading -------------------------------------------------------- */

.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 82px) clamp(16px, 3.2vw, 40px);
}
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
  row-gap: 8px;
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 34px);
  padding-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}
.section__index {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__title {
  grid-column: 1;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.section__lede {
  grid-column: 1;
  max-width: 58ch;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.section__link {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
  justify-self: end;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.section__link:hover { border-color: var(--accent); color: var(--accent); }

/* Product grid + cards --------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  min-width: 0;
}
.grid > * { min-width: 0; }

.grid--featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--featured .product-card:nth-child(1),
.grid--featured .product-card:nth-child(2),
.grid--featured .product-card:nth-last-child(-n + 2) { grid-column: span 2; }
.grid--featured .product-card:nth-child(1) .product-card__media,
.grid--featured .product-card:nth-child(2) .product-card__media,
.grid--featured .product-card:nth-last-child(-n + 2) .product-card__media { aspect-ratio: 4 / 3; }
.grid--featured .product-card:nth-child(1) .product-card__title,
.grid--featured .product-card:nth-child(2) .product-card__title,
.grid--featured .product-card:nth-last-child(-n + 2) .product-card__title {
  min-height: 0;
  font-size: clamp(18px, 1.7vw, 22px);
}

.grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: clamp(22px, 2.6vw, 34px); }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.product-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 2px solid var(--ink);
  background: #E7DCC6;
  text-decoration: none;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--muted);
}
.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 11px;
}
.product-card__title {
  min-height: calc(1.28em * 3);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(23, 18, 14, 0.35);
}
.product-card__price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.product-card__cta {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card:hover .product-card__cta { color: var(--accent); }

/* Chapters --------------------------------------------------------------- */

.chapters {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 6vw, 82px) 0;
}
.chapters__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 40px);
}
.section__head--dark { border-color: var(--paper); }
.section__head--dark .section__index { color: var(--sun); }
.section__head--dark .section__lede { color: rgba(242, 234, 219, 0.72); }
.section__head--dark .section__link { color: var(--paper); border-color: var(--paper); }
.section__head--dark .section__link:hover { color: var(--sun); border-color: var(--sun); }

.chapter-list {
  counter-reset: chapter;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 2px solid rgba(242, 234, 219, 0.3);
  list-style: none;
}
.chapter {
  counter-increment: chapter;
  min-width: 0;
  border-right: 1px solid rgba(242, 234, 219, 0.28);
}
.chapter:last-child { border-right: 0; }
.chapter__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 270px;
  padding: 24px 22px 28px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.chapter__link:hover,
.chapter__link:focus-visible { background: var(--accent); color: var(--ink); }
.chapter__no {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(242, 234, 219, 0.14);
  -webkit-text-stroke: 1.5px rgba(242, 234, 219, 0.65);
}
.chapter__no::before { content: "0" counter(chapter); }
.chapter__link:hover .chapter__no,
.chapter__link:focus-visible .chapter__no {
  color: var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
}
.chapter__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
}
.chapter__link:hover .chapter__label,
.chapter__link:focus-visible .chapter__label { color: var(--ink); }
.chapter__name {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.chapter__cta {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.chapter__cta span { display: inline-block; transition: transform 0.2s ease; }
.chapter__link:hover .chapter__cta span { transform: translateX(5px); }

/* Story ------------------------------------------------------------------ */

.story {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 98px) clamp(16px, 3.2vw, 40px);
}
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.story__left {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  min-width: 0;
}
.story__title {
  margin: 14px 0 18px;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.story__note {
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.story__ticket {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: min(270px, 100%);
  margin-top: 28px;
  padding: 13px 16px;
  border: 2px solid var(--ink);
  background: var(--sun);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  transform: rotate(-2deg);
}
.story__copy { min-width: 0; }
.story__lead {
  padding-top: 18px;
  border-top: 3px solid var(--ink);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.story__copy > p + p {
  margin-top: 18px;
  color: #443B31;
  font-size: 16px;
  line-height: 1.65;
}
.story__facts {
  margin: 30px 0 32px;
  border-top: 2px solid var(--ink);
}
.story__facts div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 18, 14, 0.28);
}
.story__facts dt {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.story__facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* CTA band --------------------------------------------------------------- */

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px 32px;
  align-items: end;
  padding: clamp(44px, 6vw, 82px) max(clamp(16px, 4vw, 48px), calc((100% - 1240px) / 2));
  border-top: 3px solid var(--ink);
  background: var(--accent);
}
.cta-band__eyebrow {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cta-band__title {
  font-size: clamp(2.5rem, 6.6vw, 5.8rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.cta-band .btn { justify-self: end; align-self: end; }

/* Footer ----------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(46px, 6vw, 72px) max(clamp(16px, 4vw, 48px), calc((100% - 1240px) / 2)) 24px;
}
.site-footer :focus-visible { outline-color: var(--paper); }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.65fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.6vw, 52px);
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(242, 234, 219, 0.22);
}
.footer__brand { min-width: 0; }
.footer__wordmark {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.footer__tag {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
}
.footer__line {
  margin-top: 10px;
  max-width: 34ch;
  color: rgba(242, 234, 219, 0.72);
  font-size: 14px;
  line-height: 1.55;
}
.footer__line--mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(242, 234, 219, 0.55);
}
.footer__col { min-width: 0; }
.footer__head {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
}
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin: 0; }
.footer__links a {
  display: inline-block;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer__links a:hover { color: var(--sun); border-color: var(--sun); }

.footer__policies {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: start;
  padding: 30px 0 26px;
  border-bottom: 1px solid rgba(242, 234, 219, 0.22);
}
.footer__policies-head { min-width: 0; }
.footer__policies-head .footer__line { margin-top: 4px; }
.policy-list {
  min-width: 0;
  border-top: 1px solid rgba(242, 234, 219, 0.26);
}
.policy {
  border-bottom: 1px solid rgba(242, 234, 219, 0.26);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.policy summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
}
.policy summary::-webkit-details-marker { display: none; }
.policy__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.policy__mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.policy__mark::before,
.policy__mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.policy__mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.policy__mark::after { top: 0; bottom: 0; left: 6px; width: 2px; transition: transform 0.18s ease; }
.policy[open] .policy__mark::after { transform: scaleY(0); }
.policy[open] .policy__title { color: var(--sun); }
.policy__body {
  max-width: 72ch;
  padding: 0 0 16px;
  color: rgba(242, 234, 219, 0.76);
  font-size: 14px;
  line-height: 1.6;
}
.policy__body p + p { margin-top: 8px; }
.policy__mail {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(242, 234, 219, 0.55);
}
.footer__bottom a { text-decoration: none; border-bottom: 1px solid rgba(242, 234, 219, 0.4); }
.footer__bottom a:hover { color: var(--sun); border-color: var(--sun); }

/* Breadcrumbs ------------------------------------------------------------ */

.crumbs { padding-top: 18px; }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.crumbs__list li + li::before { content: "/"; color: var(--accent); }
.crumbs__list a { text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs__list a:hover { border-color: var(--ink); }
.crumbs__list li[aria-current] { overflow-wrap: anywhere; color: var(--ink); }

/* PDP -------------------------------------------------------------------- */

.pdp {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 40px) clamp(48px, 6vw, 82px);
}
.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 4.5vw, 64px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 34px);
}
.pdp__media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}
.pdp__figure {
  position: relative;
  margin: 0;
  border: 3px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 9px 9px 0 var(--ink);
}
.pdp__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  background: #E7DCC6;
}
.pdp__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.pdp__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp__stamp {
  position: absolute;
  top: -17px;
  right: 16px;
  padding: 8px 9px;
  border: 2px solid var(--ink);
  background: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-head);
  font-size: 11px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  transform: rotate(7deg);
}
.pdp__info { min-width: 0; }
.pdp__title {
  margin: 12px 0 14px;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pdp__lede {
  max-width: 46ch;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.buybox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 6px 6px 0 var(--ink);
}
.buybox__price {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.buybox__btn { min-height: 56px; padding: 0 26px; }
.buybox__note {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 18, 14, 0.28);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}
.pdp__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.pdp__trust li {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pdp__trust li::before { content: "+"; margin-right: 6px; color: var(--accent); font-weight: 700; }
.pdp__trust a { text-decoration: none; border-bottom: 1px solid rgba(23, 18, 14, 0.35); }
.pdp__trust a:hover { color: var(--accent); border-color: var(--accent); }

.pdp__specs {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.pdp__specs div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(23, 18, 14, 0.25);
}
.pdp__specs dt {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp__specs dd { margin: 0; font-size: 14px; line-height: 1.45; }

.pdp__accordions { margin-top: 22px; border-top: 2px solid var(--ink); }
.pdp__acc { border-bottom: 1px solid rgba(23, 18, 14, 0.25); }
.pdp__acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: "+"; color: var(--accent); font-size: 15px; }
.pdp__acc[open] summary::after { content: "\2013"; }
.pdp__acc p {
  max-width: 62ch;
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.pdp__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.pdp__back:hover { color: var(--accent); border-color: var(--accent); }

/* Collection ------------------------------------------------------------- */

.collection {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 40px) clamp(52px, 6vw, 84px);
}
.collection__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px clamp(24px, 4vw, 56px);
  align-items: end;
  padding: clamp(18px, 3vw, 34px) 0 clamp(20px, 2.6vw, 28px);
  border-bottom: 3px solid var(--ink);
}
.collection__head-main { min-width: 0; }
.collection__title {
  margin: 10px 0 12px;
  font-size: clamp(2.5rem, 5.8vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.collection__lede {
  max-width: 54ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.collection__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 132px;
  padding: 11px 14px;
  border: 2px solid var(--ink);
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(1.4deg);
}
.collection__meta-kicker {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.collection__meta-big {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.82;
  letter-spacing: -0.05em;
}
.collection__meta-small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.6fr) minmax(0, 0.6fr);
  gap: 14px;
  align-items: end;
  padding: 22px 0 16px;
  border-bottom: 1px solid rgba(23, 18, 14, 0.3);
}
.toolbar__search,
.toolbar__field { min-width: 0; }
.toolbar__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.toolbar__input-wrap { position: relative; min-width: 0; }
.toolbar__input {
  width: 100%;
  min-height: 48px;
  padding: 0 78px 0 12px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  font-size: 14px;
}
.toolbar__input::placeholder { color: #8A8071; }
.toolbar__input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.toolbar__clear {
  position: absolute;
  top: 50%;
  right: 6px;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-50%);
  cursor: pointer;
}
.toolbar__clear:hover { background: var(--accent); color: var(--ink); }
.toolbar__select {
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  font-size: 13px;
  cursor: pointer;
}

.catalog__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 14px 0 20px;
}
.catalog__count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.catalog__reset {
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  background: none;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.catalog__reset:hover { color: var(--accent); }

.empty {
  padding: clamp(34px, 5vw, 56px) 22px;
  border: 2px dashed var(--ink);
  background: var(--paper-2);
  text-align: center;
}
.empty__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.empty__text {
  max-width: 46ch;
  margin: 10px auto 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.pager__step,
.pager__page {
  min-width: 44px;
  min-height: 44px;
  padding: 0 13px;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.pager__step:disabled { opacity: 0.34; cursor: not-allowed; }
.pager__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.pager__page[aria-current="page"] { background: var(--ink); color: var(--paper); }
.pager__step:hover:not(:disabled),
.pager__page:hover { background: var(--accent); color: var(--ink); }

/* Motion preferences ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee__track { animation: none; }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1100px) {
  .grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--featured .product-card:nth-child(n) { grid-column: auto; }
  .grid--featured .product-card:nth-child(n) .product-card__media { aspect-ratio: 1 / 1; }
  .grid--featured .product-card:nth-child(n) .product-card__title {
    min-height: calc(1.28em * 3);
    font-size: 14.5px;
  }
  .grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .pdp__media { position: static; }
  .story__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .story__left { position: static; }
  .story__title { font-size: clamp(2.6rem, 8vw, 4.4rem); }
  .footer__policies { grid-template-columns: minmax(0, 1fr); }
  .chapter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter:nth-child(2) { border-right: 0; }
  .chapter:nth-child(3) { border-top: 1px solid rgba(242, 234, 219, 0.28); }
}

@media (max-width: 820px) {
  .grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .toolbar__search { grid-column: 1 / -1; }
  .collection__head { grid-template-columns: minmax(0, 1fr); }
  .collection__meta { display: none; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn { justify-self: start; }
}

@media (max-width: 720px) {
  .site-header { height: var(--header-h); }
  .site-header__inner { gap: 12px; padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    width: 100%;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px 20px 26px;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
    background-image: radial-gradient(rgba(23, 18, 14, 0.05) 0.7px, transparent 0.7px);
    background-size: 5px 5px;
    box-shadow: 0 14px 0 rgba(23, 18, 14, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid rgba(23, 18, 14, 0.25); }
  .site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    font-family: var(--font-head);
    font-size: clamp(1.35rem, 5.6vw, 1.8rem);
    letter-spacing: -0.02em;
  }
  .site-nav__link::after { display: none; }
  .site-nav__note {
    display: block;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero__poster { transform: none; box-shadow: 5px 5px 0 var(--ink); max-width: 460px; }
  .hero__title { font-size: clamp(2.55rem, 10.6vw, 4rem); }
  .chapter-list { grid-template-columns: minmax(0, 1fr); }
  .chapter { border-right: 0; }
  .chapter + .chapter { border-top: 1px solid rgba(242, 234, 219, 0.28); }
  .chapter__link { min-height: 210px; }
  .story__facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 26px; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); }
  .hero__facts li {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 18, 14, 0.25);
  }
  .hero__facts li + li { padding-left: 0; }
  .hero__facts li:last-child { border-bottom: 0; }
  .hero__fact-no { display: inline; margin-right: 6px; }
  .section__head { grid-template-columns: minmax(0, 1fr); }
  .section__link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 6px;
  }
  .section__lede { font-size: 14.5px; }
  .grid { gap: 12px; }
  .product-card__body { padding: 10px 10px 9px; gap: 8px; }
  .product-card__title { font-size: 13.5px; }
  .buybox { grid-template-columns: minmax(0, 1fr); }
  .buybox__btn { grid-column: 1; grid-row: auto; width: 100%; }
  .buybox__price { grid-column: 1; grid-row: 1; }
  .pdp__specs div { grid-template-columns: 96px minmax(0, 1fr); }
  .pdp__stamp { right: 12px; }
  .policy__body { font-size: 13.5px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom-mid { display: none; }
  .cta-band .btn { width: 100%; }
}

@media (max-width: 380px) {
  .grid--featured,
  .grid--catalog { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: 2.4rem; }
  .toolbar { grid-template-columns: minmax(0, 1fr); }
  .pager__step { flex: 1 1 100%; }
}
