:root {
  --ink: #121212;
  --ink-2: #1c1c1c;
  --paper: #F4F1EA;
  --dim: #9a978f;
  --line: rgba(244, 241, 234, .14);
  --red: #E8432E;
  --hazard: #FFD400;
  --green: #7CFF8A;
  --gold: #F2B705;
  --display: 'Anton', 'Bebas Neue', Impact, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 15px/1.5 var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; margin: 0; letter-spacing: .5px; }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.wrap { padding: 0 var(--gut); max-width: 1440px; margin: 0 auto; }
.eyebrow { font: 600 12px/1.4 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--hazard); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid currentColor; background: transparent; font: 400 18px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: transform .12s, background .2s, color .2s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 currentColor; }
.btn:active { transform: none; box-shadow: none; }
.btn-accent { background: var(--red); border-color: var(--red); color: #fff; }
.btn-accent:hover { box-shadow: 4px 4px 0 var(--paper); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { font: 600 12px/1 var(--mono); letter-spacing: 1px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut); background: rgba(18, 18, 18, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { font: 400 22px/1 var(--display); letter-spacing: 1px; text-decoration: none; white-space: nowrap; }
.site-head nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); font: 600 12px/1 var(--mono); letter-spacing: 1px; }
.site-head nav a { text-decoration: none; padding: 6px 0; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--hazard); }
.cart-btn { background: var(--paper); color: var(--ink); border: 0; padding: 9px 12px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
@media (max-width: 640px) {
  .site-head nav a:not([href="/#shop"]) { display: none; }
  .logo { font-size: 18px; }
}

/* Shirt art: 560×640 artboards scaled by --s (set in store.js) */
.art { position: relative; aspect-ratio: 560 / 640; overflow: hidden; width: 100%; }
.art-in { position: absolute; left: 0; top: 0; width: 560px; height: 640px; transform-origin: 0 0; transform: scale(var(--s, 0)); }
/* Designs render the same wherever they sit (a button would otherwise center their text) */
.art-in { text-align: left; line-height: normal; letter-spacing: normal; text-transform: none; font-weight: 400; white-space: normal; }
.tape { background: repeating-linear-gradient(-45deg, #FFD400 0 22px, #111 22px 44px); }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dot { animation: typing 1.2s infinite; }
.dot:nth-child(2) { animation-delay: .15s; } .dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-6px); } }

/* Photo-based tee: color cut out by the photo's silhouette, print, then the photo's own
   folds and light (50% grey = no change) blended over both with hard-light. */
.tee { position: relative; width: 100%; aspect-ratio: 1000 / 1333; isolation: isolate; }
.tee-body { position: absolute; inset: 0; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .35)); }
.tee-color, .tee-heather { position: absolute; inset: 0; -webkit-mask: url(/img/tee-mask.png) center / 100% 100% no-repeat; mask: url(/img/tee-mask.png) center / 100% 100% no-repeat; }
.tee-heather { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5 .45' numOctaves='1' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 240px 240px; mix-blend-mode: overlay; opacity: .3; }
.tee-shade { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: hard-light; pointer-events: none; }
.tee-dark .tee-shade { opacity: .85; }
.tee-print { position: absolute; }
/* On the tee, the artboard's own background is the shirt itself */
.tee-print .art, .tee-print .art-in > div { background: transparent !important; }
.tee-photo { aspect-ratio: auto; }
.tee-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero — cycles through the 12 shirt designs exactly as printed, on each shirt's color */
.hero { position: relative; min-height: calc(100svh - 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: clamp(24px, 5vw, 80px); padding: 48px var(--gut); overflow: hidden; background: var(--hero-bg, #151515); color: var(--hero-ink, #F4F1EA); transition: background-color .45s, color .45s; }
.hero-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; opacity: .8; }
.hero h1 { font-size: clamp(48px, 6.6vw, 108px); line-height: .9; margin: 0 0 20px; }
.hero-sub { margin: 0 0 30px; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.hero-ticks button { width: 28px; height: 4px; border: 0; padding: 0; background: currentColor; opacity: .25; }
.hero-ticks button[aria-current] { opacity: 1; }
.hero-art { position: relative; display: block; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 560 / 640; }
.hero-art .art { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; }
/* The incoming design fades in over the outgoing one, which stays solid underneath */
.hero-art .art.prev { opacity: 1; transition: none; z-index: 1; }
.hero-art .art.on { opacity: 1; z-index: 2; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 28px; }
  .hero-art { order: -1; max-width: 420px; }
}

/* Marquee */
.marquee { overflow: hidden; background: var(--hazard); color: var(--ink); border-block: 3px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font: 400 clamp(20px, 2.4vw, 28px)/1 var(--display); padding: 14px 0; white-space: nowrap; letter-spacing: .5px; }
.marquee span::after { content: '●'; margin: 0 28px; font-size: .6em; vertical-align: .25em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { scroll-margin-top: 70px; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(44px, 6.5vw, 96px); }

/* Collection grid — 10 posters on a wall */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { text-decoration: none; display: block; }
.card-face { position: relative; perspective: 1200px; }
.card-flip { position: relative; transition: transform .55s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.card-flip > * { backface-visibility: hidden; }
.card-back { position: absolute; inset: 0; transform: rotateY(180deg); display: flex; align-items: center; justify-content: center; padding: 6%; }
.card-back .tee { width: auto; height: 100%; max-width: 100%; }
.card:hover .card-flip, .card:focus-visible .card-flip { transform: rotateY(180deg); }
.card-front { box-shadow: 0 0 0 1px var(--line); }
.card-meta { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; font: 700 12px/1.3 var(--mono); letter-spacing: .5px; text-transform: uppercase; }
.card-meta .for { display: block; font-weight: 400; color: var(--dim); }
@media (hover: none) { .card-flip { transform: none !important; } }

/* Quiz */
.quiz { background: var(--paper); color: var(--ink); }
.quiz .q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 2px solid var(--ink); flex-wrap: wrap; }
.quiz .q:last-of-type { border-bottom: 2px solid var(--ink); }
.quiz .q-label { font: 700 14px/1.3 var(--mono); letter-spacing: 1px; text-transform: uppercase; }
.quiz .opts { display: flex; gap: 10px; }
.quiz .opts button { min-height: 44px; min-width: 104px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; font: 400 18px/1 var(--display); letter-spacing: 1px; }
.quiz .opts button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.quiz-result { margin-top: 28px; background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px; }
.quiz-result h3 { font-size: clamp(32px, 4vw, 52px); }
.quiz-result .r-art { width: 120px; }
.quiz-result .r-body { display: flex; gap: 20px; align-items: center; }
@media (max-width: 640px) { .quiz-result { grid-template-columns: 1fr; } .quiz-result .r-art { width: 90px; } }

/* Prompt box */
.promptbox { background: #0B0F0C; color: var(--green); }
.term { border: 2px solid currentColor; padding: clamp(18px, 3vw, 32px); max-width: 980px; }
.term-bar { display: flex; gap: 8px; margin-bottom: 22px; }
.term-bar i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.term h2 { font: 800 clamp(26px, 4vw, 48px)/1.1 var(--mono); text-transform: uppercase; margin-bottom: 10px; }
.term form { display: flex; align-items: center; gap: 12px; margin-top: 24px; border-bottom: 2px solid currentColor; padding-bottom: 10px; }
.term form > span { font-weight: 800; font-size: 22px; }
.term input { flex: 1; min-width: 0; background: none; border: 0; color: inherit; font: 600 clamp(16px, 2vw, 22px) var(--mono); caret-color: var(--green); }
.term input::placeholder { color: rgba(124, 255, 138, .4); }
.term input:focus { outline: none; }
.term button { background: var(--green); color: #0B0F0C; border: 0; padding: 12px 16px; font: 800 13px var(--mono); letter-spacing: 1px; white-space: nowrap; }
.term-out { min-height: 3.2em; margin-top: 18px; font-weight: 700; white-space: pre-wrap; }
.term-out .code { display: inline-block; background: var(--green); color: #0B0F0C; padding: 2px 10px; margin-left: 6px; }

/* Lookbook — model photos for each design */
.lookbook { border-top: 1px solid var(--line); }
.lookbook-note { color: var(--hazard); }
.lookbook-disclaimer { max-width: 70ch; margin: -18px 0 28px; }
.look-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 900px) { .look-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .look-grid { grid-template-columns: 1fr; } }
.look { position: relative; display: block; text-decoration: none; }
.look[hidden] { display: none; }
.look img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; background: var(--ink-2); }
.look-meta { display: flex; justify-content: space-between; padding-top: 10px; font: 700 12px/1.3 var(--mono); letter-spacing: .5px; text-transform: uppercase; }
.lookbook-empty { padding: 30px 0; border: 2px dashed var(--line); text-align: center; }

/* Wall of fame */
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 800px) { .wall-grid { grid-template-columns: repeat(2, 1fr); } }
.wall-slot { aspect-ratio: 4 / 5; border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--dim); font-size: 12px; letter-spacing: 1px; }

/* Signup */
.signup { background: var(--red); color: #fff; }
.signup h2 { font-size: clamp(44px, 7vw, 110px); max-width: 12ch; }
.signup form { display: flex; gap: 12px; margin-top: 30px; max-width: 640px; flex-wrap: wrap; }
.signup input { flex: 1 1 240px; min-height: 52px; padding: 0 16px; border: 2px solid #fff; background: transparent; color: #fff; font: 600 16px var(--mono); }
.signup input::placeholder { color: rgba(255, 255, 255, .7); }
.signup .btn { background: #fff; color: var(--ink); border-color: #fff; min-height: 52px; }
.signup-note { margin-top: 14px; font-size: 13px; min-height: 1.5em; }

/* Footer */
.site-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--gut); border-top: 1px solid var(--line); font: 600 12px/1.4 var(--mono); letter-spacing: 1px; color: var(--dim); }
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--paper); }

/* Social */
.follow { display: flex; flex-wrap: wrap; gap: 18px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); background: none; font: 700 11px/1 var(--mono); letter-spacing: 1px; text-decoration: none; }
.share a:hover, .share button:hover { border-color: var(--paper); }
.wall-follow { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font: 700 12px/1.4 var(--mono); letter-spacing: 1px; }
.wall-follow .follow a { color: var(--hazard); }

/* Product page */
.crumbs { padding: 22px 0; font-size: 12px; letter-spacing: 1px; }
.crumbs a { text-decoration: none; color: var(--dim); } .crumbs a:hover { color: var(--paper); }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 72px); padding-bottom: 80px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }
.pdp-stage { padding: clamp(20px, 5vw, 64px); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.pdp-views { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pdp-views button { padding: 0; border: 2px solid transparent; background: none; }
.pdp-views button[aria-pressed="true"] { border-color: var(--paper); }
.pdp-views .tee { padding: 10%; }
.pdp-stage.is-photo { padding: 0; }
.pdp-photo { position: relative; margin: 0; width: 100%; }
.pdp-photo img { width: 100%; height: auto; }
.pdp-thumb { width: 100%; height: 100%; aspect-ratio: 1000 / 1333; object-fit: cover; object-position: 50% 30%; }
.pdp-info h1 { font-size: clamp(56px, 7vw, 110px); margin: 8px 0 14px; }
.price { font: 400 40px/1 var(--display); }
.pdp-info p.blurb { max-width: 46ch; color: #d6d3cb; }
.opt-label { margin: 28px 0 10px; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; }
.swatch { display: inline-flex; align-items: center; gap: 10px; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--paper); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 56px; min-height: 48px; border: 2px solid var(--line); background: none; font: 700 14px var(--mono); }
.sizes button:hover { border-color: var(--paper); }
.sizes button[aria-checked="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pdp-add { width: 100%; margin-top: 26px; min-height: 60px; font-size: 24px; }
.specs { margin-top: 34px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.specs dt { font-weight: 700; } .specs dd { margin: 0; color: #d6d3cb; text-align: right; }
.pairs { padding-bottom: 100px; }
.pairs h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 26px; }
.pairs .grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .pairs .grid { grid-template-columns: repeat(2, 1fr); } }

/* About */
.about h1 { font-size: clamp(56px, 10vw, 150px); margin: 40px 0 30px; }
.prose { max-width: 66ch; font-size: 15px; color: #d6d3cb; }
.prose h2 { font-size: clamp(34px, 4.5vw, 56px); color: var(--paper); margin: 70px 0 18px; scroll-margin-top: 80px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; max-width: 640px; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 700; color: var(--paper); }

/* Cart drawer */
.cart-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ink-2); border-left: 1px solid var(--line); z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.cart-open .cart { transform: none; } .cart-open .cart-scrim { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 32px; }
.x { background: none; border: 0; font-size: 32px; line-height: 1; padding: 4px 10px; }
.cart-items { list-style: none; margin: 0; padding: 10px 20px; overflow-y: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cart-name { font-weight: 700; text-transform: uppercase; }
.qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; border: 1px solid var(--line); }
.qty button { background: none; border: 0; width: 32px; height: 32px; font-size: 16px; }
.cart-empty { padding: 30px 0; }
.cart-foot { padding: 18px 20px 24px; border-top: 1px solid var(--line); }
.cart-foot .row { display: flex; justify-content: space-between; font: 400 24px var(--display); }
.cart-foot .btn { width: 100%; margin-top: 10px; }
.cart-note { min-height: 1.5em; margin: 12px 0 0; color: var(--hazard); }

/* Ambient music toggle — minimal and quiet, like the sound */
.music { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; background: rgba(18, 18, 18, .78); color: rgba(244, 241, 234, .85); border: 1px solid rgba(244, 241, 234, .18); border-radius: 999px; font: 600 10px/1 var(--mono); letter-spacing: 2.5px; backdrop-filter: blur(10px); transition: border-color .3s, color .3s; }
.music:hover { border-color: rgba(244, 241, 234, .6); color: var(--paper); }
.music.on { color: var(--paper); border-color: rgba(244, 241, 234, .45); }
.music-eq { display: inline-flex; align-items: center; gap: 3px; height: 14px; }
.music-eq i { width: 2px; height: 2px; border-radius: 2px; background: currentColor; transition: height .3s; }
.music.on .music-eq i { animation: eq 2.4s ease-in-out infinite; }
.music.on .music-eq i:nth-child(2) { animation-delay: .5s; } .music.on .music-eq i:nth-child(3) { animation-delay: 1s; }
@keyframes eq { 0%, 100% { height: 2px; } 50% { height: 12px; } }

/* "NICE PROMPT" flash + trailing cursor */
.flash { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 120; font: 400 clamp(64px, 14vw, 220px)/1 var(--display); color: var(--hazard); text-shadow: 6px 6px 0 var(--ink); opacity: 0; }
.flash.on { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: 0; transform: scale(.7) rotate(-4deg); } 20% { opacity: 1; transform: scale(1.04) rotate(-2deg); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1) rotate(-2deg); } }
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 20px; background: var(--hazard); mix-blend-mode: difference; pointer-events: none; z-index: 130; opacity: 0; animation: blink 1s steps(1) infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .marquee-track { animation: none; }
}
