:root {
  --red: #bc2c2c;
  --blue: #5da4c9;
  --yellow: #fcd758;
  --beige: #f5f1e3;
  --ink: #2c2c2c;
  --white: #ffffff;
  --gray: #8a8a8a;
  --line: #dedad0;
  --display: "Montserrat", "Arial Black", sans-serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --gutter: 16px;
  --shadow: 20px 20px 0 var(--ink);
}
@media (max-width: 767px) { :root { --shadow: 12px 12px 0 var(--ink); } }
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; flex: none; }
.icon--sm { width: 14px; height: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; }
.skip:focus { top: 8px; }

/* ---------- Type ---------- */
.label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.title, .hero__title, .editorial__kicker, .footer__logo, .nav__logo, .stats dd {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.title { font-size: clamp(2.25rem, 5vw, 3rem); }

/* Grayscale until hovered; touch screens have no hover, so they get colour */
.photo { filter: grayscale(100%); transition: filter 500ms ease-in-out; }
.hero__media:hover .photo,
.card:hover .photo,
.card:focus-within .photo { filter: grayscale(0%); }
@media (hover: none) { .photo { filter: none; } }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 32px;
  transition: transform 150ms, box-shadow 150ms;
}
.btn:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--yellow); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 2px solid var(--ink); padding-bottom: 4px;
}
.link:hover { color: var(--red); border-color: var(--red); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  height: 64px;
  background: var(--red);
  color: var(--white);
  border-bottom: 2px solid var(--ink);
}
.nav__logo { font-size: 26px; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 10px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { border-color: var(--white); }
.nav__icons { display: flex; align-items: center; gap: 18px; }
.nav__icons button { display: grid; place-items: center; width: 32px; height: 32px; }
.nav__cart { position: relative; }
.nav__badge {
  position: absolute; top: 0; right: -4px;
  min-width: 15px; height: 15px; padding: 0 3px;
  display: grid; place-items: center;
  background: var(--white); color: var(--red);
  font-size: 8px; font-weight: 800; line-height: 1;
  border-radius: 50%;
}
.nav__badge.bump { animation: bump 300ms ease-out; }
@keyframes bump { 50% { transform: scale(1.5); } }
.nav__menu { display: none !important; }

@media (max-width: 860px) {
  .nav__menu { display: grid !important; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--red); border-bottom: 2px solid var(--ink);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 18px var(--gutter); border-bottom: 1px solid rgb(255 255 255 / 0.15); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  padding: clamp(48px, 8vw, 112px) var(--gutter) clamp(72px, 10vw, 144px);
}
.watermark {
  position: absolute; right: 0; bottom: 0;
  font-family: var(--display); font-weight: 900;
  font-size: 25vw; line-height: 0.8; letter-spacing: -0.05em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.08);
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.hero__inner {
  position: relative;
  display: grid; gap: 64px; align-items: center;
  max-width: 1440px; margin: 0 auto;
}
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.1fr 1fr; } }
.hero__copy .label { color: var(--yellow); margin-bottom: 24px; }
.hero__title { font-size: clamp(4rem, 11vw, 8rem); }
.hero__text { max-width: 30rem; margin: 32px 0 40px; font-size: 17px; font-weight: 600; }

/* Editorial offset card: a bordered frame sits 16px behind the content */
.offset { position: relative; margin: 0 16px 16px 0; }
.offset__frame {
  position: absolute; inset: 0;
  border: 2px solid var(--ink);
  transform: translate(16px, 16px);
}
.offset__body {
  position: relative; z-index: 1;
  background: var(--blue);
  border: 2px solid var(--ink);
  padding: clamp(16px, 3vw, 32px);
}
.offset__body img { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; border: 2px solid var(--ink); }
.hero__tag {
  position: absolute; z-index: 2; left: -12px; bottom: 32px;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink);
  padding: 10px 16px;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1;
}
.hero__tag .label { display: block; margin-bottom: 2px; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--blue);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 18px 0;
}
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; }
.ticker__group li {
  font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white);
  white-space: nowrap;
}
.ticker__group li::after { content: "\2605"; margin: 0 40px; color: var(--yellow); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Product grid ---------- */
.shop { padding: clamp(64px, 9vw, 128px) var(--gutter); max-width: calc(1440px + 2 * var(--gutter)); margin: 0 auto; }
.shop__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.shop__head .label { color: var(--red); margin-bottom: 16px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .grid { gap: 12px; } }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 12px 16px;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.card:hover { transform: translate(-6px, -6px); box-shadow: 6px 6px 0 var(--ink); border-color: var(--ink); }
.card__media { overflow: hidden; margin-bottom: 14px; background: var(--beige); }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.card__brand { color: var(--gray); font-weight: 600; }
.card__price { font-weight: 800; }
.card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 6px; }
.card__name { font-family: var(--display); font-weight: 800; font-size: 14px; line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; color: #000; }
.card__add {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px;
  border: 2px solid var(--ink);
  transition: background 150ms, color 150ms;
}
.card__add:hover, .card__add.added { background: var(--ink); color: var(--white); }

/* ---------- Numbers band ---------- */
.stats { background: var(--yellow); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1440px; margin: 0 auto; }
@media (min-width: 900px) { .stats__list { grid-template-columns: repeat(4, 1fr); } }
.stats__list > div { padding: 40px var(--gutter); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); margin-bottom: -2px; }
.stats__list > div:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) {
  .stats__list > div:nth-child(2n) { border-right: 2px solid var(--ink); }
  .stats__list > div:last-child { border-right: 0; }
}
.stats dd { font-size: clamp(3.5rem, 8vw, 6rem); margin-top: 16px; }
.stats small { font-size: 0.25em; letter-spacing: 0; margin-left: 6px; }

/* ---------- Editorial ---------- */
.editorial { padding: clamp(64px, 9vw, 128px) var(--gutter) calc(clamp(64px, 9vw, 128px) + 20px); }
.editorial__box {
  display: grid;
  max-width: 1440px; margin: 0 auto;
  border: 12px solid var(--ink);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .editorial__box { grid-template-columns: 1fr 2fr; } }
.editorial__side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: var(--beige);
  padding: clamp(28px, 4vw, 56px);
}
@media (min-width: 900px) { .editorial__side { border-right: 12px solid var(--ink); } }
@media (max-width: 899px) { .editorial__side { border-bottom: 12px solid var(--ink); } }
.editorial__side .label { color: var(--red); }
.editorial__kicker { font-size: clamp(2.75rem, 5vw, 4.5rem); }
.circle {
  display: grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--red); color: var(--white);
  border: 2px solid var(--ink);
  transition: transform 200ms, background 200ms;
}
.circle:hover { transform: rotate(-45deg); background: var(--ink); }
.circle .icon { width: 28px; height: 28px; }

.editorial__main {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(440px, 50vw, 640px);
  background: var(--white);
  padding: clamp(28px, 4vw, 56px);
}
.editorial__mark {
  position: absolute; top: 50%; left: 50%;
  width: 90%; max-width: 900px;
  transform: translate(-50%, -55%);
  opacity: 0.2;
  pointer-events: none;
}
@media (hover: none) { .editorial__mark { filter: grayscale(100%); } }
.editorial__body { position: relative; max-width: 34rem; }
.editorial__body .label { margin-bottom: 16px; }
.editorial__text { margin: 24px 0 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 112px) var(--gutter) 24px; }
.footer__main { display: grid; gap: 56px; max-width: 1440px; margin: 0 auto; }
@media (min-width: 900px) { .footer__main { grid-template-columns: 1fr 1fr; } }
.footer__logo { font-size: clamp(3.5rem, 9vw, 4.5rem); }
.footer__social { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.footer__social a, .footer__cols li { font-size: 14px; }
.footer__social a:hover, .footer__cols a:hover { color: var(--yellow); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__label { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.footer__cols ul { display: grid; gap: 8px; }
.footer__cols li { color: rgb(255 255 255 / 0.75); }
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  max-width: 1440px; margin: 72px auto 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 20px;
  font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgb(255 255 255 / 0.6);
}
.footer__bar a:hover { color: var(--white); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
