:root {
  color-scheme: dark;
  --ink: #060708;
  --panel: #101216;
  --panel-strong: #181b21;
  --paper: #f6f2e8;
  --bone: #d7d1c4;
  --muted: #9ea3aa;
  --acid: #c8ff2e;
  --hot: #ff3d00;
  --blue: #39d8ff;
  --violet: #7b61ff;
  --line: rgba(246, 242, 232, 0.16);
  --shadow: rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(116deg, transparent 0 55%, rgba(200, 255, 46, 0.09) 55% 56%, transparent 56% 100%),
    linear-gradient(64deg, transparent 0 42%, rgba(255, 61, 0, 0.08) 42% 43%, transparent 43% 100%),
    linear-gradient(180deg, #060708 0%, #0c0e13 46%, #060708 100%);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body::before {
  background-image:
    linear-gradient(rgba(246, 242, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 232, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(6, 7, 8, 0.84);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.return-message {
  background: rgba(57, 216, 255, 0.12);
  border: 1px solid rgba(57, 216, 255, 0.35);
  color: var(--paper);
  display: none;
  font-weight: 900;
  margin: 18px clamp(16px, 5vw, 72px) 0;
  padding: 14px 16px;
}

.return-message.is-visible {
  display: block;
}

.mark {
  color: var(--acid);
  font-size: 19px;
  font-weight: 950;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

nav a,
.secondary,
.tabs button {
  border: 1px solid rgba(246, 242, 232, 0.18);
  color: var(--bone);
  font-size: 12px;
  font-weight: 900;
  min-height: 40px;
  padding: 12px 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  min-height: 86vh;
  overflow: hidden;
  padding: clamp(44px, 7vw, 90px) clamp(16px, 5vw, 72px) clamp(28px, 5vw, 72px);
  position: relative;
}

.hero::before {
  color: rgba(246, 242, 232, 0.035);
  content: "DROP 001";
  font-size: clamp(88px, 22vw, 310px);
  font-weight: 950;
  left: clamp(12px, 4vw, 60px);
  line-height: 0.8;
  pointer-events: none;
  position: absolute;
  top: clamp(80px, 12vw, 150px);
  z-index: 0;
}

.hero-copy {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--acid);
  font-size: 13px;
  font-weight: 950;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 7.6vw, 96px);
  line-height: 0.94;
  margin-bottom: 22px;
  max-width: 920px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.98;
  margin-bottom: 14px;
  text-transform: uppercase;
}

h3 {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.02;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.lede,
.checkout p,
.contact p,
.section-note,
.product p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.product-details,
.selected-details {
  color: var(--bone);
  display: grid;
  font-size: 12px;
  gap: 5px;
  line-height: 1.25;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  text-transform: uppercase;
}

.product-details li::before,
.selected-details li::before {
  color: var(--acid);
  content: "+ ";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.primary,
.secondary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  text-align: center;
}

.primary {
  background: var(--acid);
  border: 0;
  color: var(--ink);
  font-weight: 950;
  min-height: 48px;
  padding: 15px 20px;
  text-decoration: none;
  text-transform: uppercase;
}

.primary:hover,
.product:hover,
.tabs button:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.primary,
.secondary,
.product,
.tabs button,
.stage-pick,
.sizes button {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.wide {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-stats span {
  background: rgba(57, 216, 255, 0.11);
  border: 1px solid rgba(57, 216, 255, 0.22);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.hero-stage {
  min-height: 560px;
  position: relative;
  z-index: 1;
}

.hero-stage::before {
  background:
    linear-gradient(120deg, rgba(200, 255, 46, 0.16), transparent 34%),
    linear-gradient(320deg, rgba(255, 61, 0, 0.18), transparent 35%),
    var(--panel);
  border: 1px solid rgba(246, 242, 232, 0.16);
  box-shadow: 0 34px 90px var(--shadow);
  content: "";
  inset: 34px 0 44px;
  position: absolute;
  transform: skewY(-3deg);
}

.stage-card {
  align-items: center;
  display: grid;
  min-height: 520px;
  padding: 22px;
  position: relative;
}

.stage-card img {
  background: #f7f5f0;
  border: 1px solid rgba(6, 7, 8, 0.18);
  filter: drop-shadow(0 32px 44px rgba(0, 0, 0, 0.46));
  justify-self: center;
  max-height: min(520px, 64vh);
  max-width: min(86%, 560px);
  object-fit: contain;
  padding: 12px;
  position: relative;
  z-index: 1;
}

.stage-copy {
  background: rgba(6, 7, 8, 0.76);
  border: 1px solid rgba(246, 242, 232, 0.16);
  bottom: 26px;
  left: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 16px;
  position: absolute;
  z-index: 2;
}

.stage-copy span,
.product span,
.selected-meta {
  color: var(--acid);
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.stage-copy strong {
  color: var(--blue);
  font-size: 24px;
}

.stage-loading {
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.stage-rail {
  bottom: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: absolute;
  right: clamp(8px, 2vw, 22px);
  width: min(420px, 84%);
  z-index: 3;
}

.stage-pick {
  background: rgba(16, 18, 22, 0.94);
  border: 1px solid rgba(246, 242, 232, 0.16);
  cursor: pointer;
  min-height: 74px;
  padding: 5px;
}

.stage-pick img {
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  width: 100%;
}

.stage-pick.is-selected,
.tabs button.is-selected,
.sizes button.is-selected {
  border-color: var(--acid);
  box-shadow: 0 0 0 2px rgba(200, 255, 46, 0.18);
}

.band,
.checkout,
.contact,
.loadout,
.info {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 7vw, 88px) clamp(16px, 5vw, 72px);
}

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

.section-note {
  max-width: 430px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tabs button {
  background: rgba(16, 18, 22, 0.78);
  cursor: pointer;
}

.tabs button.is-selected {
  background: rgba(200, 255, 46, 0.12);
  color: var(--paper);
}

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

.product {
  background:
    linear-gradient(145deg, rgba(57, 216, 255, 0.08), transparent 36%),
    repeating-linear-gradient(0deg, rgba(246, 242, 232, 0.03) 0 1px, transparent 1px 13px),
    var(--panel);
  border: 1px solid rgba(246, 242, 232, 0.16);
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-column: span 4;
  min-height: 100%;
  padding: 14px;
}

.product:nth-child(5n + 1),
.product:nth-child(5n + 4) {
  grid-column: span 5;
}

.product:nth-child(5n + 2) {
  grid-column: span 3;
}

.product.is-selected {
  background:
    linear-gradient(145deg, rgba(200, 255, 46, 0.13), transparent 42%),
    var(--panel-strong);
  border-color: var(--acid);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 0 2px rgba(200, 255, 46, 0.16);
}

.product-media {
  background: #f7f5f0;
  display: grid;
  overflow: hidden;
  position: relative;
}

.product-media::before {
  border: 1px solid rgba(6, 7, 8, 0.16);
  content: "";
  inset: 10px;
  pointer-events: none;
  position: absolute;
}

.product-media b {
  background: var(--acid);
  color: var(--ink);
  font-size: 11px;
  font-weight: 950;
  padding: 8px 10px;
  position: absolute;
  right: 12px;
  text-transform: uppercase;
  top: 12px;
}

.product img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.product strong {
  color: var(--blue);
  font-size: 22px;
}

.checkout,
.contact {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
}

.loadout,
.info {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 1fr);
}

.loadout-grid,
.info-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loadout-grid div,
.info-grid article {
  background: rgba(16, 18, 22, 0.78);
  border: 1px solid rgba(246, 242, 232, 0.16);
  min-height: 150px;
  padding: 18px;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-grid strong {
  color: var(--acid);
  display: block;
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.info-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.loadout-grid strong {
  color: var(--hot);
  display: block;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 24px;
}

.loadout-grid span {
  color: var(--bone);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.buybox,
form {
  background:
    linear-gradient(155deg, rgba(123, 97, 255, 0.12), transparent 38%),
    var(--panel);
  border: 1px solid rgba(246, 242, 232, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  padding: 18px;
}

.selected-product {
  align-items: center;
  border-bottom: 1px solid rgba(246, 242, 232, 0.14);
  display: grid;
  gap: 14px;
  grid-template-columns: 104px minmax(0, 1fr);
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.selected-product img {
  aspect-ratio: 1 / 1;
  background: #1c1f24;
  object-fit: contain;
  padding: 6px;
  width: 100%;
}

.selected-product h3 {
  margin-bottom: 5px;
}

.selected-product p {
  font-size: 14px;
  margin-bottom: 8px;
}

label {
  color: var(--bone);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.field-hint {
  color: var(--muted);
  font-size: 11px;
}

input,
textarea {
  background: var(--ink);
  border: 1px solid rgba(246, 242, 232, 0.2);
  color: var(--paper);
  font: inherit;
  padding: 14px;
  width: 100%;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.option-label {
  color: var(--bone);
  font-size: 13px;
  font-weight: 900;
  margin: 16px 0 8px;
  text-transform: uppercase;
}

.quantity-label {
  margin-top: 12px;
}

.quantity-label input {
  max-width: 140px;
}

.sizes {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  margin: 0 0 16px;
}

.sizes button {
  aspect-ratio: 1 / 1;
  background: var(--ink);
  border: 1px solid rgba(246, 242, 232, 0.24);
  color: var(--paper);
  cursor: pointer;
  font-weight: 950;
  min-height: 58px;
  padding: 8px;
}

.sizes button.is-selected {
  background: var(--hot);
  border-color: var(--hot);
  box-shadow: none;
}

form {
  display: grid;
  gap: 12px;
}

.status {
  color: var(--blue);
  font-size: 14px;
  margin: 12px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 22px clamp(16px, 5vw, 72px);
}

.policy-page {
  padding: clamp(44px, 7vw, 92px) clamp(16px, 5vw, 72px);
}

.policy-page article {
  max-width: 880px;
}

.policy-page h1 {
  font-size: clamp(42px, 7vw, 84px);
}

.policy-page h2 {
  font-size: clamp(24px, 3vw, 38px);
  margin-top: 34px;
}

.policy-page p,
.policy-page li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.policy-page ul {
  padding-left: 20px;
}

@media (max-width: 980px) {
  .hero,
  .checkout,
  .contact,
  .loadout,
  .info {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 520px;
  }

  .product,
  .product:nth-child(5n + 1),
  .product:nth-child(5n + 2),
  .product:nth-child(5n + 4) {
    grid-column: span 6;
  }

  .loadout-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar,
  footer,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar,
  footer {
    gap: 12px;
  }

  nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-stage {
    min-height: 360px;
  }

  .stage-card {
    min-height: 340px;
    padding: 12px;
  }

  .stage-card img {
    max-height: 280px;
    max-width: 96%;
  }

  .stage-copy {
    bottom: 18px;
    left: 12px;
    padding: 12px;
  }

  .stage-copy h3 {
    font-size: 18px;
  }

  .stage-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - 24px);
  }

  .products {
    grid-template-columns: 1fr;
  }

  .product,
  .product:nth-child(5n + 1),
  .product:nth-child(5n + 2),
  .product:nth-child(5n + 4) {
    grid-column: auto;
  }

  .selected-product {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}
