:root {
  --ink: #f7f7f2;
  --paper: #050506;
  --panel: #111114;
  --muted: #b8b8b0;
  --line: #f7f7f2;
  --rocket: #ffffff;
  --signal: #f7f7f2;
  --sky: #18191e;
  --gold: #d4d4ce;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 2px solid var(--ink);
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #f7f7f2;
  color: #050506;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  box-shadow: 4px 4px 0 #6b6b68;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: calc(100vh - 76px);
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 96px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--rocket);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-family: "Orbitron", "Arial Black", Arial, sans-serif;
  font-size: clamp(3.5rem, 10vw, 8.8rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions,
.buy-row,
.cart-header,
.cart-total {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.button.primary {
  background: #f7f7f2;
  color: #050506;
}

.button.secondary {
  background: #2a2b31;
  color: white;
}

.hero-product {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 520px;
  padding: 44px;
  overflow: hidden;
  border-left: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(24, 25, 30, 0.98), rgba(92, 92, 96, 0.22));
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 2px solid var(--ink);
  background-image:
    linear-gradient(var(--ink) 2px, transparent 2px),
    linear-gradient(90deg, var(--ink) 2px, transparent 2px);
  background-size: 54px 54px;
  opacity: 0.14;
}

.hero-product img {
  position: relative;
  width: min(88%, 520px);
  aspect-ratio: 1;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: var(--shadow);
}

.hero-product-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(88%, 520px);
  margin-top: 18px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: var(--panel);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 2px solid var(--ink);
  background: #f7f7f2;
  color: #050506;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker span {
  padding: 14px 18px;
  text-align: center;
  border-right: 2px solid #050506;
}

.ticker span:last-child {
  border-right: 0;
}

.legend-section {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 48px);
  border-bottom: 2px solid var(--ink);
  background: #0a0a0c;
}

.legend-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.legend-copy .kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.legend-copy h2 {
  max-width: 760px;
}

.legend-text {
  display: grid;
  gap: 18px;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.legend-text p {
  margin-bottom: 0;
}

.product-section,
.quality-section {
  padding: clamp(46px, 6vw, 78px) clamp(18px, 4vw, 48px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 465px;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: 6px 6px 0 #6b6b68;
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 270px;
  padding: 26px;
  border-bottom: 2px solid var(--ink);
}

.product-art img {
  position: relative;
  z-index: 1;
  width: min(92%, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.product-art.wordmark-art img {
  width: min(96%, 420px);
  aspect-ratio: 3 / 2;
}

.product-art.tee {
  background: #e9e9e2;
}

.product-art.hoodie {
  background: #2a2b31;
}

.product-art.cap {
  background: #777872;
}

.product-art.tote {
  background: #cfcfc8;
}

.product-art.wordmark-art {
  background: #050506;
}

.product-art.lab-art {
  background: #050506;
}

.product-art.lab-art img {
  width: min(94%, 300px);
}

.product-info {
  display: grid;
  gap: 18px;
  padding: 18px;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.product-info p,
.quality-grid p,
.drop-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.buy-row {
  justify-content: space-between;
  gap: 14px;
}

.buy-row span {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.buy-row button,
.close-cart,
.checkout-button {
  border: 2px solid var(--ink);
  background: #f7f7f2;
  color: #050506;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.buy-row button {
  min-width: 74px;
  min-height: 40px;
  border-radius: 999px;
}

.drop-section {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 28px;
  align-items: stretch;
  padding: clamp(46px, 6vw, 78px) clamp(18px, 4vw, 48px);
  border-block: 2px solid var(--ink);
  background: var(--sky);
  color: white;
}

.drop-copy h2 {
  max-width: 850px;
}

.drop-section .kicker {
  color: white;
}

.drop-panel {
  display: grid;
  align-content: center;
  padding: 26px;
  border: 2px solid var(--ink);
  background: var(--panel);
  color: white;
  box-shadow: 6px 6px 0 #6b6b68;
}

.drop-panel span {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.drop-panel strong {
  margin: 10px 0;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.85;
}

.quality-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 36px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quality-grid article {
  min-height: 220px;
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--panel);
}

.quality-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: white;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  padding: 22px;
  border-left: 2px solid var(--ink);
  background: var(--panel);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}

.cart-header h2 {
  font-size: 2rem;
}

.close-cart {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: #050506;
}

.cart-line span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.cart-total {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.checkout-button {
  min-height: 52px;
  margin-top: 16px;
  border-radius: 999px;
  background: #d8d8d2;
  color: #050506;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  background: rgba(10, 11, 13, 0);
  transition: background 180ms ease;
}

.cart-open .scrim {
  pointer-events: auto;
  background: rgba(10, 11, 13, 0.44);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-top: 2px solid var(--ink);
  background: #111114;
  color: white;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  .product-grid,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .drop-section,
  .legend-copy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 42px 20px 28px;
  }

  h1 {
    max-width: 7ch;
  }

  .hero-product {
    min-height: 430px;
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .ticker {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand span {
    display: none;
  }

  .product-grid,
  .quality-grid,
  .ticker {
    grid-template-columns: 1fr;
  }

  .ticker span {
    border-right: 0;
    border-bottom: 2px solid var(--paper);
  }

  .ticker span:last-child {
    border-bottom: 0;
  }

  .product-card {
    min-height: 420px;
  }

  .site-footer {
    flex-direction: column;
  }
}
