: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__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__logo { width: 100%; height: auto; opacity: 0.95; margin-bottom: 28px; }
.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; }
}
[hidden] { display: none !important; }
