:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #aaa69d;
  --panel: #171717;
  --line: #353535;
  --brand: #ff0054;
  --red: #ff382e;
  --black: #080808;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 0, 84, .11), transparent 26rem),
    radial-gradient(circle at 90% 70%, rgba(255, 0, 84, .06), transparent 30rem),
    var(--black);
  font-family: var(--body);
  line-height: 1.5;
}

button, input, select { font: inherit; }
button, select, label, input[type="radio"], input[type="checkbox"] { cursor: pointer; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .76rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 24px 0;
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand img { width: auto; height: 150px; object-fit: contain; }
.header-tag { color: var(--muted); font-size: .82rem; }

.hero {
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "G";
  position: absolute;
  right: -3vw;
  bottom: -23vw;
  color: rgba(255,255,255,.022);
  font-family: var(--display);
  font-size: min(80vw, 900px);
  line-height: 1;
  transform: rotate(-7deg);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-areas:
    "title title"
    "copy copy";
  column-gap: 64px;
  row-gap: 28px;
  align-items: center;
  padding: 210px 0 76px;
}
h1, h2, h3 { margin: 0; font-family: var(--body); font-weight: 900; text-transform: uppercase; line-height: .93; letter-spacing: -.035em; }
.hero-title { grid-area: title; position: relative; z-index: 2; }
.hero-title .eyebrow,
.section-heading .eyebrow,
.story .eyebrow { color: var(--brand); }
h1 { font-size: clamp(4rem, 9vw, 8.7rem); max-width: 100%; }
h1 span {
  display: inline-block;
  color: var(--brand);
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--brand);
}
.hero-copy { grid-area: copy; min-width: 0; }
.hero-description { max-width: 620px; margin: 26px 0 34px; color: #d1cec7; font-size: clamp(.98rem, 1.7vw, 1.12rem); }
.hero-description p { margin: 0; }
.hero-description p + p { margin-top: 15px; }
.inline-link { color: var(--brand); font-weight: 850; text-underline-offset: 3px; }
.inline-link:hover { text-decoration-thickness: 2px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.primary-button, .secondary-button {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.primary-button { background: var(--brand); color: #fff; box-shadow: 7px 7px 0 #f5f1e8; }
.primary-button:hover { transform: translate(2px, 2px); box-shadow: 5px 5px 0 #f5f1e8; }
.secondary-button { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.price-note strong { color: var(--ink); }
.price-note { display: grid; color: var(--muted); font-size: .9rem; }
.price-note small { display: block; max-width: 380px; margin-top: 4px; color: var(--brand); font-size: .9rem; line-height: 1.35; font-weight: 800; }

.product-stage {
  grid-area: product;
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
  padding: 58px 0 70px;
}
.stage-label {
  position: absolute;
  top: 25px;
  right: 0;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 700 .72rem/1 var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-image {
  display: block;
  width: min(700px, 54vw);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 28px 35px rgba(0,0,0,.45));
  mix-blend-mode: lighten;
}
.color-thumbnails {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.color-thumbnails button {
  width: 61px;
  height: 45px;
  padding: 2px;
  border: 1px solid var(--line);
  background: #fff;
  opacity: .65;
}
.color-thumbnails button:hover,
.color-thumbnails button.active {
  border-color: var(--brand);
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255,0,84,.18);
}
.color-thumbnails img { width: 100%; height: 100%; object-fit: cover; }

.preorder { padding: 100px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(3rem, 7vw, 6rem); }
.section-heading h2 span { color: var(--brand); }
.section-heading p { max-width: 450px; color: var(--muted); margin: 0 0 7px; }
.preorder-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.builder, .order-summary { background: rgba(23,23,23,.92); border: 1px solid var(--line); }
.builder { padding: 28px; }
.builder h3, .order-summary h3 { font-size: 1.55rem; line-height: 1; }
.builder-intro { color: var(--muted); font-size: .9rem; margin: 9px 0 24px; }
.gabber-accent { color: var(--brand); font-weight: 900; }
.order-row { display: grid; grid-template-columns: 1.35fr .65fr .7fr auto auto; gap: 12px; align-items: end; padding: 18px 0; border-top: 1px solid var(--line); }
.order-row > * { min-width: 0; }
.product-field { grid-column: 1 / -1; }
.fixed-variant { min-height: 48px; display: flex; align-items: center; gap: 9px; font-size: .875rem; }
.variant-dot { width: 12px; height: 12px; flex: 0 0 12px; background: var(--swatch, var(--brand)); border: 1px solid rgba(255,255,255,.25); }
.field-group { display: grid; gap: 7px; }
.field-group label { color: var(--muted); font-size: .72rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
select, input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #464646;
  border-radius: 0;
  background: #0d0d0d;
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}
select:focus, input:focus { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(255,0,84,.15); }
.select-wrap { position: relative; }
.select-wrap select { padding-left: 42px; }
.swatch { width: 17px; height: 17px; background: var(--swatch); border: 1px solid rgba(255,255,255,.32); position: absolute; left: 13px; top: 16px; z-index: 2; pointer-events: none; }
.row-price { min-height: 48px; display: grid; align-items: center; font-weight: 900; padding: 0 4px; }
.remove-item { width: 48px; height: 48px; border: 1px solid #464646; background: transparent; color: var(--muted); font-size: 1.5rem; }
.remove-item:hover { color: var(--brand); border-color: var(--brand); }
.add-item { border: 0; padding: 12px 0; background: transparent; color: var(--brand); font-weight: 900; }
.add-item:hover { text-decoration: underline; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 25px 0; }
.customer-grid { display: grid; grid-template-columns: 1fr .65fr 1fr; gap: 15px; }
.wide { grid-column: 1 / -1; }
.address-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 15px; margin-top: 15px; }
.customer-address { margin-top: 22px; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.shipping-address-choice { margin-top: 20px; }
.choice-label { margin: 0; color: var(--muted); font-size: .72rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.compact-options { margin-top: 8px; }
.delivery-option { border: 1px solid var(--line); min-height: 64px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.delivery-option:has(input:checked) { border-color: var(--brand); background: rgba(255,0,84,.06); }
.delivery-option strong, .delivery-option small { display: block; }
.delivery-option small { color: var(--muted); }
.agreement { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: #d0cdc5; font-size: .84rem; }
.agreement input { margin-top: 4px; accent-color: var(--brand); }

.order-summary { padding: 26px; position: sticky; top: 18px; }
.order-id { color: var(--muted); font-size: .78rem; margin: 8px 0 22px; }
.order-id strong { color: var(--brand); letter-spacing: .08em; }
.summary-line { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #2b2b2b; font-size: .87rem; }
.summary-line span { color: #d0cdc5; }
.summary-line i { display: inline-block; width: 9px; height: 9px; background: var(--swatch); margin-right: 8px; }
.totals { margin-top: 17px; }
.total-line { display: flex; justify-content: space-between; margin: 8px 0; color: var(--muted); font-size: .87rem; }
.total-line strong { color: var(--ink); }
.total-line.grand { padding-top: 14px; margin-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.12rem; }
.summary-button { width: 100%; margin-top: 20px; }
.safe-note { color: var(--muted); font-size: .76rem; text-align: center; margin: 14px 0 0; }

.terms { border-top: 1px solid var(--line); padding: 86px 0; background: rgba(255,255,255,.018); }
.terms-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.terms h2 { font-size: clamp(3rem, 6vw, 5.6rem); }
.terms h2 span { color: var(--brand); }
.terms-copy { max-width: 720px; color: #d1cec7; }
.terms-copy p { margin: 0; padding: 15px 0; border-top: 1px solid var(--line); }
.terms-copy p:last-child { border-bottom: 1px solid var(--line); }
.terms-copy strong { display: inline; color: var(--ink); }
.story { border-top: 1px solid var(--line); padding: 100px 0; position: relative; overflow: hidden; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.story h2 { font-size: clamp(3.5rem, 8vw, 7rem); }
.story h2 span { color: var(--brand); }
.story-copy { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6; color: #d1cec7; max-width: 690px; }
.story-copy p { margin: 0 0 23px; }
.mix-player { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.mix-player audio { width: 100%; max-width: 100%; color-scheme: dark; }
.mix-player [hidden] { display: none; }
.mix-player #mix-status { font-size: .875rem; margin: 12px 0; color: var(--muted); }
.contact-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 48px; }
.social-link { min-height: 52px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 850; text-transform: uppercase; font-size: .82rem; }
.social-link:hover { color: var(--brand); border-color: var(--brand); }
.social-link svg { width: 22px; height: 22px; fill: currentColor; }
.contact-mail { margin-left: auto; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer-signature { background: #fff; padding: 18px 20px; }
.footer-signature img { display: block; width: min(1180px, 100%); height: auto; margin: 0 auto; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 24px; }

dialog { width: min(700px, calc(100% - 30px)); border: 1px solid var(--line); background: #121212; color: var(--ink); padding: 0; box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(7px); }
.modal-inner { padding: 30px; }
.modal-inner h3 { font-size: 2rem; }
.modal-intro { color: var(--muted); }
.modal-summary { white-space: pre-wrap; background: #090909; border: 1px solid var(--line); padding: 18px; max-height: 320px; overflow: auto; color: #d8d4cc; font: .84rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

@media (max-width: 880px) {
  .hero-grid, .preorder-grid, .terms-grid, .story-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-areas: "title" "copy"; gap: 24px; }
  .product-stage { min-height: 390px; }
  .product-image { width: min(760px, 90vw); }
  .preorder-grid { gap: 18px; }
  .order-summary { position: static; }
  .story-grid { gap: 35px; }
  .terms-grid { gap: 35px; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1180px); }
  .header-tag { display: none; }
  .hero { min-height: auto; }
  .brand img { height: 120px; }
  .hero-grid { padding-top: 175px; }
  h1 { font-size: 3.4rem; }
  .product-stage { min-height: 340px; padding: 46px 0 62px; }
  .product-image { width: 100vw; }
  .preorder, .terms, .story { padding: 68px 0; }
  .builder, .order-summary { padding: 20px; }
  .order-row { grid-template-columns: 1.2fr .7fr .7fr; }
  .order-row .color-field { grid-column: 1 / -1; }
  .row-price { grid-column: 1 / 3; }
  .remove-item { grid-column: 3; justify-self: end; }
  .customer-grid, .delivery-options, .address-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .footer-meta { flex-direction: column; }
  .terms-copy strong { display: inline; margin-bottom: 0; }
  .contact-links { align-items: stretch; }
  .social-link { flex: 1; justify-content: center; }
  .contact-mail { width: 100%; margin-left: 0; }
  .modal-actions { flex-direction: column-reverse; }
}

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

.hoodie-gallery { padding: 24px 0 48px; }
.hoodie-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hoodie-gallery-grid img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  .hoodie-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hoodie-gallery { padding-bottom: 24px; }
}

.gallery-soon { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #121212; border: 1px solid var(--line); gap: 6px; }
.gallery-soon strong { color: var(--brand); font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 900; }
.gallery-soon span { color: var(--muted); font-size: .875rem; }

.header-mix { width: min(360px, 55%); border: 0; margin: 0; padding: 0; }
.header-mix .eyebrow { margin-bottom: 8px; }
.header-mix #mix-status { font-size: .875rem; margin: 8px 0 0; }
.header-mix audio { height: 40px; }
.personal-design-note { color: var(--muted); font-size: .875rem; margin: 16px 0 0; }
@media (max-width: 600px) {
  .site-header .shell { align-items: flex-start; gap: 16px; }
  .header-mix { width: min(250px, 65%); }
  .header-mix .secondary-button { padding: 10px 14px; min-height: 44px; }
  .hero-grid { padding-top: 260px; }
}

.gallery-shirt-preview { margin: 0; position: relative; align-self: start; }
.gallery-shirt-preview figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; background: #080808; color: #fff; font-size: .875rem; font-weight: 700; }

.photo-enlarge {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 0;
  min-width: 0;
  align-self: start;
  cursor: zoom-in;
}
.product-stage .photo-enlarge { align-self: center; }
.hoodie-gallery-grid .photo-enlarge { width: 100%; }
.photo-enlarge:focus-visible, #close-photo:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.gallery-shirt-preview figcaption { pointer-events: none; }
.photo-viewer-open, .photo-viewer-open body { overflow: hidden; }
#photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#photo-viewer::backdrop { background: rgba(0, 0, 0, .96); }
.photo-viewer-toolbar { display: flex; justify-content: flex-end; padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 8px; }
#close-photo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #171717;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
#close-photo:hover { background: var(--brand); }
.photo-viewer-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0 max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
#enlarged-photo { display: block; width: auto; height: auto; max-width: min(1500px, 100%); max-height: 100%; object-fit: contain; }
