:root {
  --black: #000000;
  --grey: #b7b7b7;
  --navy: #000341;
  --white: #ffffff;
  --line: rgba(183, 183, 183, 0.22);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9d9d9 35%, #7d7d7d 50%, #e6e6e6 65%, #a9a9a9 100%);
  --font: "Space Grotesk", system-ui, sans-serif;
  --pixel: "VT323", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); font-family: var(--pixel); font-size: 18px; color: var(--grey); white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 28px; padding: 6px 0; animation: tick 28s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* header */
.header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 28px; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__logo img { height: 34px; width: auto; }

.header__nav { display: flex; gap: 28px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; }
.header__nav--right { justify-content: flex-end; }
.header__nav a:hover { color: var(--grey); }
.header__menu { display: none; background: none; border: 0; color: var(--white); font: 500 13px var(--font); letter-spacing: 0.08em; text-align: left; }
.basket { background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.basket:hover { color: var(--grey); }
.basket__count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; border: 1px solid var(--grey); border-radius: 9px; font-size: 11px; }

/* hero */
/* hero fills whatever is left of the first screen under the logo and menu */
.hero { position: relative; height: calc(100svh - 110px); min-height: 440px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; filter: blur(0.6px) contrast(1.15);
  background:
    radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.55) 0, rgba(190,210,255,0.18) 12%, transparent 34%),
    radial-gradient(ellipse at 20% 90%, var(--a), transparent 60%),
    radial-gradient(ellipse at 85% 80%, var(--a), transparent 55%),
    var(--b); }
.slide.is-active { opacity: 1; animation: drift 9s ease-out forwards; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide__label { position: absolute; top: 24px; right: 28px; font-family: var(--pixel); font-size: 18px; color: rgba(255,255,255,0.55); }
.hero__grain { position: absolute; inset: -50%; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } }
.hero__content { position: absolute; left: 28px; bottom: 56px; z-index: 2; }
.hero__title { font-size: clamp(44px, 8vw, 112px); font-weight: 700; line-height: 0.9; letter-spacing: -0.03em; margin-bottom: 14px; }
.hero__sub { font-family: var(--pixel); font-size: clamp(22px, 2.4vw, 30px); color: var(--grey); margin-bottom: 26px; }
.hero__dots { position: absolute; right: 28px; bottom: 56px; display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 28px; height: 3px; border: 0; background: rgba(255,255,255,0.3); cursor: pointer; }
.hero__dots button.is-active { background: var(--white); }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; background: var(--white); color: var(--black); font: 700 13px var(--font); letter-spacing: 0.1em; border: 1px solid var(--white); cursor: pointer; transition: all 0.2s; }
.btn:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.link { font-size: 13px; letter-spacing: 0.08em; color: var(--grey); }
.link:hover { color: var(--white); }

/* sections */
.section { padding: 72px 28px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
h2 { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card__img { aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #0c0f2a 0%, #000 65%); border: 1px solid transparent; transition: border-color 0.2s; }
.card:hover .card__img { border-color: var(--line); }
.card__img svg { width: 78%; filter: drop-shadow(0 0 18px rgba(170, 190, 255, 0.35)) drop-shadow(0 0 2px rgba(255,255,255,0.6)); transition: transform 0.4s ease; }
.card:hover .card__img svg { transform: scale(1.04) rotate(-1.5deg); }
.card__info { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
.card__price { color: var(--grey); }
.card__swatches { display: flex; gap: 6px; margin-top: 10px; }
.card__swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); }
.placeholder-note { margin-top: 24px; font-family: var(--pixel); font-size: 18px; color: #5a5a5a; }

/* strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip div { padding: 28px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { letter-spacing: 0.1em; }
.strip span { color: var(--grey); }

/* custom tee window */
.custom { padding: 96px 28px; display: grid; place-items: center; }
.window { width: min(560px, 100%); border: 1px solid var(--grey); background: #050505; box-shadow: 8px 8px 0 var(--navy); }
.window__bar { display: flex; justify-content: space-between; padding: 6px 10px; background: var(--chrome); color: var(--black); font-family: var(--pixel); font-size: 18px; }
.window__body { padding: 36px 32px; text-align: center; }
.window__body h2 { font-size: 22px; margin-bottom: 12px; }
.window__body p { color: var(--grey); margin-bottom: 24px; line-height: 1.5; }

/* tag */
.tag { padding: 72px 28px; text-align: center; border-top: 1px solid var(--line); }
.tag__symbol { width: 72px; margin: 0 auto 22px; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.tag h2 { font-size: 22px; margin-bottom: 12px; }
.tag p { color: var(--grey); max-width: 460px; margin: 0 auto; line-height: 1.5; }
.tag a { color: var(--white); border-bottom: 1px solid var(--white); }

/* signup */
.signup { background: var(--grey); color: var(--black); }
.signup__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding: 64px 28px; }
.signup__eyebrow { font-family: var(--pixel); font-size: 20px; margin-bottom: 10px; }
.signup h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; text-transform: none; margin-bottom: 14px; }
.signup__text { font-size: 15px; }
.signup__form { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--black); padding-bottom: 8px; }
.signup__prompt { font-family: var(--pixel); font-size: 30px; line-height: 1; }
.signup__form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--black); font: 500 20px var(--font); outline: none; caret-color: var(--navy); }
.signup__form input::placeholder { color: rgba(0,0,0,0.45); }
.signup__form button { background: var(--black); color: var(--white); border: 0; padding: 12px 18px; font: 700 13px var(--font); letter-spacing: 0.1em; cursor: pointer; }
.signup__form button:hover { background: var(--navy); }
.signup__done { font-family: var(--pixel); font-size: 26px; }

/* footer */
.footer { padding: 56px 28px 28px; border-top: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; }
.footer h3 { font-size: 12px; letter-spacing: 0.12em; color: var(--grey); margin-bottom: 14px; }
.footer__cols a { display: block; font-size: 14px; margin-bottom: 8px; }
.footer__cols a:hover { color: var(--grey); }
.footer__legal { font-size: 12px; color: #6f6f6f; line-height: 1.8; }
.footer__legal a:hover { color: var(--white); }

/* mobile */
@media (max-width: 760px) {
  .header { grid-template-columns: 1fr auto 1fr; padding: 14px 16px; }
  .header__nav:not(.header__nav--right) { display: none; }
  .header__nav--right a:not(.basket) { display: none; }
  .header__menu { display: block; }
  .header__logo img { height: 18px; }
  .hero { height: calc(100svh - 100px); min-height: 420px; }
  .hero__content { left: 16px; bottom: 44px; }
  .hero__dots { right: 16px; bottom: 20px; }
  .section { padding: 48px 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .strip { grid-template-columns: 1fr; }
  .strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .slide__label { left: 16px; right: 16px; top: 16px; font-size: 15px; }
  .header__logo img { height: 24px; }
  .signup__inner { grid-template-columns: 1fr; gap: 24px; padding: 48px 16px; }
}

/* ---------- shared bits ---------- */
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
.page-title { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.page-narrow { max-width: 760px; margin: 0 auto; }
.btn--full { display: block; width: 100%; text-align: center; }
.btn--small { padding: 10px 16px; font-size: 12px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; background: var(--white); color: var(--black); }
.link-btn { background: none; border: 0; color: var(--grey); font: 500 12px var(--font); letter-spacing: 0.08em; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--white); }
.signup__legal { font-size: 12px; margin-top: 12px; color: rgba(0,0,0,0.6); }
.signup__legal a { text-decoration: underline; }
.signup__error { font-size: 14px; margin-top: 10px; color: #7a0000; }
.card__swatches em { font-style: normal; font-size: 11px; color: var(--grey); line-height: 12px; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; top: 0; z-index: 15; background: #000; padding: 120px 20px 40px; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; }
.mobile-menu .mobile-menu__small { font-family: var(--pixel); font-size: 22px; font-weight: 400; color: var(--grey); margin-top: 20px; }

/* shop */
.shop__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.shop__count { font-family: var(--pixel); font-size: 20px; color: var(--grey); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { background: none; border: 1px solid var(--line); color: var(--grey); padding: 8px 14px; font: 500 12px var(--font); letter-spacing: 0.08em; cursor: pointer; }
.filter.is-active, .filter:hover { border-color: var(--white); color: var(--white); }

/* product page */
.product { padding: 24px 28px 48px; }
.crumbs { font-size: 12px; letter-spacing: 0.08em; color: var(--grey); margin-bottom: 24px; }
.crumbs a:hover { color: var(--white); }
.crumbs span { color: var(--white); }
.product__layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.product__gallery { position: sticky; top: 90px; }
.product__main { aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(circle at 50% 55%, #0c0f2a 0%, #000 65%); }
.product__main svg { width: 74%; filter: drop-shadow(0 0 22px rgba(170, 190, 255, 0.35)) drop-shadow(0 0 2px rgba(255,255,255,0.6)); }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.product__thumbs button { width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 1px solid transparent; background: #0a0a0a; cursor: pointer; }
.product__thumbs button.is-active { border-color: var(--white); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__name { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.product__type { font-size: 13px; letter-spacing: 0.08em; color: var(--grey); margin-bottom: 18px; }
.product__price { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.product__ship { font-family: var(--pixel); font-size: 19px; color: var(--grey); margin-bottom: 28px; }
.picker { margin-bottom: 24px; }
.picker__row { display: flex; justify-content: space-between; align-items: center; }
.picker__label { font-size: 12px; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 10px; }
.picker__label span { color: var(--white); }
.picker__note { font-family: var(--pixel); font-size: 17px; color: var(--grey); margin-top: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255,255,255,0.35); cursor: pointer; outline-offset: 3px; }
.swatch.is-active { outline: 1px solid var(--white); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 54px; padding: 12px 10px; background: none; border: 1px solid var(--line); color: var(--white); font: 500 13px var(--font); cursor: pointer; }
.size:hover { border-color: var(--grey); }
.size.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.product__desc { margin: 24px 0; color: var(--grey); line-height: 1.6; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { padding: 16px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.acc summary::after { content: "+"; font-weight: 400; }
.acc[open] summary::after { content: "−"; }
.acc__body { padding-bottom: 18px; color: #d0d0d0; font-size: 14px; line-height: 1.6; }
.acc__body p { margin-bottom: 10px; }
.acc__body ul { padding-left: 18px; }
.acc__body a { text-decoration: underline; }
.window--small { margin-top: 28px; box-shadow: 6px 6px 0 var(--navy); width: 100%; }
.window--small .window__body { padding: 20px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.window--small .window__body p { margin: 0; font-size: 14px; color: var(--grey); }
.window--small .window__body b { color: var(--white); }

/* modal + size guide */
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0.75); display: grid; place-items: center; padding: 20px; }
.modal__box { width: min(640px, 100%); max-height: 90vh; overflow: auto; background: #050505; border: 1px solid var(--grey); box-shadow: 8px 8px 0 var(--navy); }
.modal__body { padding: 28px; }
.modal__close { background: none; border: 0; font: 700 20px var(--font); line-height: 1; cursor: pointer; color: inherit; }
.sg__title { font-size: 18px; margin-bottom: 12px; }
.sg__intro { color: var(--grey); line-height: 1.6; margin-bottom: 20px; }
.sg__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sg__table th { text-align: left; font-size: 11px; letter-spacing: 0.1em; color: var(--grey); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--grey); }
.sg__table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.sg__note { font-family: var(--pixel); font-size: 17px; color: var(--grey); margin-top: 14px; }

/* basket drawer */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #050505; border-left: 1px solid var(--grey); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.25s ease; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer__empty { text-align: center; padding: 60px 0; }
.drawer__empty p { font-family: var(--pixel); font-size: 24px; color: var(--grey); margin-bottom: 18px; }
.drawer__foot { padding: 20px; border-top: 1px solid var(--line); }
.drawer__row { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: 0.06em; margin-bottom: 8px; }
.drawer__row--small { font-size: 12px; color: var(--grey); margin-bottom: 18px; }
.drawer__msg { font-family: var(--pixel); font-size: 19px; color: var(--grey); text-align: center; margin-top: 12px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img { aspect-ratio: 4 / 5; display: grid; place-items: center; background: #0c0f2a; }
.line__img svg { width: 90%; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.line__name { font-weight: 700; letter-spacing: 0.04em; }
.line__meta { color: var(--grey); }
.line__qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.line__qty button { width: 26px; height: 26px; background: none; border: 1px solid var(--line); color: var(--white); cursor: pointer; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 13px; }
.line__remove { background: none; border: 0; color: var(--grey); font: 12px var(--font); text-decoration: underline; cursor: pointer; }

/* placeholder pages */
.stub { text-align: center; padding-top: 96px; padding-bottom: 120px; }
.stub__text { font-family: var(--pixel); font-size: 26px; color: var(--grey); margin: 18px 0 24px; }
.stub p { line-height: 1.6; }
.stub a:not(.btn) { text-decoration: underline; }

@media (max-width: 760px) {
  .product { padding: 16px 16px 40px; }
  .product__layout { grid-template-columns: 1fr; gap: 24px; }
  .product__gallery { position: static; }
  .shop__head { flex-direction: column; gap: 6px; }
}

/* policy / info pages */
.legal { max-width: 720px; margin: 0 auto; padding: 56px 20px 80px; line-height: 1.65; color: #d8d8d8; }
.legal h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; color: var(--white); margin-bottom: 10px; }
.legal h2 { font-size: 13px; letter-spacing: 0.12em; color: var(--white); margin: 34px 0 10px; }
.legal p, .legal li { font-size: 15px; margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 10px; }
.legal a { text-decoration: underline; }
.legal b { color: var(--white); }
.legal .updated { font-family: var(--pixel); font-size: 19px; color: var(--grey); }
.legal .acc { margin-top: 0; }
.legal > h1 + .acc { margin-top: 28px; }
.about { text-align: center; }
.about .tag__symbol { width: 110px; margin-bottom: 28px; }
.about__lead { font-family: var(--pixel); font-size: 28px !important; color: var(--grey); margin-bottom: 28px !important; }
.about__sign { font-family: var(--pixel); font-size: 24px !important; color: var(--white); margin-top: 28px; }
.sg__tip { font-size: 14px; color: var(--grey); margin-top: 10px; }
