:root {
  --ink: #101010;
  --paper: #f4f1e8;
  --yellow: #f4d500;
  --aqua: #59e2dc;
  --pink: #ff3fc6;
  --line: rgba(16, 16, 16, 0.2);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: white;
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 0 3.5vw;
  border-bottom: 1px solid rgba(16, 16, 16, 0.25);
}
.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand-monogram {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.05em;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { font-size: 0.8rem; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; }
nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 0.35rem; }
.nav-cta { padding: 0.65rem 0.95rem; background: var(--ink); color: white; }

.hero {
  min-height: 48rem;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--yellow);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8.5rem 6vw 4rem;
  border-right: 1px solid rgba(16, 16, 16, 0.25);
}
.eyebrow {
  margin: 0 0 1.35rem;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: clamp(5.1rem, 10vw, 9.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.74;
  text-transform: uppercase;
}
h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-intro { max-width: 32rem; margin-bottom: 2rem; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 12.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: transparent; }
.price-strip { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 1.1rem; border-top: 1px solid var(--ink); font-size: 0.82rem; text-transform: uppercase; }
.price-strip span { display: grid; gap: 0.1rem; }
.price-strip strong { font-size: 1.2rem; }

.hero-showcase { position: relative; min-height: 48rem; overflow: hidden; background: var(--aqua); }
.hero-showcase::before {
  content: "ZA";
  position: absolute;
  top: 14%;
  right: -4%;
  color: rgba(16, 16, 16, 0.08);
  font-family: var(--display);
  font-size: clamp(16rem, 34vw, 34rem);
  line-height: 0.7;
  letter-spacing: -0.12em;
}
.edition-tag {
  position: absolute;
  z-index: 4;
  top: 7rem;
  right: 2.5rem;
  width: 7.5rem;
  height: 7.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(10deg);
}
.hero-showcase figure { position: absolute; margin: 0; overflow: hidden; border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.hero-showcase figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-shirt { width: min(76%, 46rem); aspect-ratio: 1.52; top: 17%; left: 5%; transform: rotate(-4deg); }
.hero-hat { width: min(48%, 27rem); aspect-ratio: 1.4; right: 4%; bottom: 7%; transform: rotate(7deg); }
.hero-index { position: absolute; left: 2rem; bottom: 1.1rem; margin: 0; font-family: var(--display); font-size: 1.6rem; }

.marquee { overflow: hidden; padding: 1rem 0; background: var(--ink); color: white; }
.marquee div { display: flex; justify-content: space-around; gap: 2rem; min-width: 72rem; font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.04em; white-space: nowrap; }
.marquee i { color: var(--yellow); font-style: normal; }

.collection { padding: clamp(5rem, 9vw, 9rem) 3.5vw; }
.section-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: end; margin-bottom: 6rem; }
h2 { margin-bottom: 0; font-family: var(--display); font-size: clamp(3.6rem, 7vw, 7.4rem); line-height: 0.88; letter-spacing: -0.025em; text-transform: uppercase; }
.section-heading > p { max-width: 31rem; margin: 0 0 0.5rem; font-size: 1.1rem; }
.product-group + .product-group { margin-top: 8rem; }
.group-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.9rem; border-bottom: 2px solid var(--ink); }
.group-heading h3 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.group-heading p { margin: 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.2rem; row-gap: 4rem; padding-top: 1.2rem; }
.hat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; }
.product-media { position: relative; aspect-ratio: 1 / 0.85; overflow: hidden; background: white; border: 1px solid var(--line); }
.product-image { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 300ms ease; }
.product-card:hover .product-image { transform: scale(1.025); }
.product-number { position: absolute; z-index: 2; top: 0.8rem; left: 0.8rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border: 1px solid var(--ink); background: white; font-size: 0.72rem; font-weight: 900; }
.media-charcoal, .media-black { background: #d6d6d3; }
.media-aqua { background: #b5f6f1; }
.media-silver { background: #e9e9e6; }
.media-yellow { background: #fff17e; }
.media-mint { background: #d4edc3; }
.media-blue { background: #b8caed; }
.media-red { background: #ffc8c2; }
.media-brown { background: #e6d0b5; }
.product-info { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.product-info h4 { margin-bottom: 0.15rem; font-size: 1rem; text-transform: uppercase; }
.product-info p { margin: 0; color: #5b5b55; font-size: 0.86rem; }
.product-info strong { font-size: 1rem; white-space: nowrap; }

.brand-story { display: grid; grid-template-columns: 1fr 1fr; min-height: 42rem; background: var(--ink); color: white; }
.story-mark { position: relative; overflow: hidden; background: var(--pink); }
.story-mark img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.1); }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 9vw, 9rem); }
.story-copy h2 { font-size: clamp(3.6rem, 6vw, 6.6rem); }
.story-copy > p:not(.eyebrow) { max-width: 35rem; margin: 2rem 0; color: #c7c7c2; font-size: 1.08rem; }
.text-link { width: fit-content; padding-bottom: 0.35rem; border-bottom: 1px solid currentColor; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }

footer { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: end; padding: 3rem 3.5vw; background: var(--yellow); }
.footer-brand { font-family: var(--display); font-size: clamp(3rem, 8vw, 8rem); line-height: 0.7; letter-spacing: -0.04em; }
.footer-brand span { display: block; margin-top: 0.65rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; }
footer p { margin: 0; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 43rem; border-right: 0; border-bottom: 1px solid var(--ink); }
  .hero-showcase { min-height: 39rem; }
  .product-grid, .hat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { grid-template-columns: 1fr; }
  .brand-story { grid-template-columns: 0.8fr 1.2fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:first-of-type { text-align: right; }
  footer p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { min-height: 4.5rem; padding: 0 1rem; }
  .brand > span:last-child, nav a:not(.nav-cta) { display: none; }
  .nav-cta { font-size: 0.7rem; }
  .hero-copy { min-height: 39rem; padding: 8rem 1.25rem 3rem; }
  h1 { font-size: clamp(4.3rem, 23vw, 7rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .price-strip { justify-content: space-between; gap: 1rem; }
  .hero-showcase { min-height: 28rem; }
  .hero-shirt { width: 80%; top: 17%; left: 3%; }
  .hero-hat { width: 53%; right: 4%; bottom: 7%; }
  .edition-tag { top: 2rem; right: 1.2rem; width: 5.7rem; height: 5.7rem; font-size: 0.62rem; }
  .collection { padding: 5rem 1rem; }
  .section-heading { margin-bottom: 4rem; }
  .section-heading h2 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .group-heading { display: block; }
  .group-heading p { margin-top: 0.6rem; }
  .product-grid, .hat-grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .product-group + .product-group { margin-top: 6rem; }
  .brand-story { grid-template-columns: 1fr; }
  .story-mark { min-height: 30rem; }
  .story-copy { padding: 5rem 1.25rem; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 3rem 1.25rem; }
  footer p:first-of-type { text-align: left; }
  footer p:last-child { grid-column: auto; }
}

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