:root {
  --red: #e63322;
  --red-dark: #c4281a;
  --ink: #111111;
  --charcoal: #1b1b1b;
  --paper: #f4f2ee;
  --white: #ffffff;
  --muted: #5d5a55;
  --line: #e2ded6;
  --radius: 14px;
  --max: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.02; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-style: italic; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--red); }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .9em 1.6em;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .92rem;
  text-decoration: none;
  border: 2px solid var(--red);
  border-radius: 8px;
  transition: background .15s, transform .15s, color .15s;
  overflow-wrap: anywhere;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-small { padding: .55em 1.1em; font-size: .8rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--ink);
  color: var(--white);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 1.2rem; letter-spacing: .02em; }
.wordmark span { font-family: var(--font); font-style: normal; font-weight: 600; font-size: .7rem; letter-spacing: .32em; margin-left: 8px; color: rgba(255,255,255,.7); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.8); }
.nav a:not(.btn):hover { color: var(--white); }

/* Hero */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Jersey designer */
.designer {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 36px 32px 28px;
  box-shadow: 0 30px 60px rgba(17,17,17,.1);
  display: flex; flex-direction: column; align-items: center;
}
.designer::before {
  content: ""; position: absolute; top: 18px; right: 18px;
  width: 64px; height: 10px; border-radius: 4px;
  background: var(--red); transform: skewX(-20deg);
}
.jersey { --body: #e63322; --trim: #ffffff; --text: #ffffff; width: 100%; max-width: 320px; height: auto; }
.j-body { fill: var(--body); transition: fill .25s; }
.j-trim { stroke: var(--trim); transition: stroke .25s; }
.j-stripe { fill: var(--trim); opacity: .9; transition: fill .25s; }
.j-logo { fill: var(--text); font: 800 15px var(--font); letter-spacing: .14em; transition: fill .25s; }
.j-num { fill: var(--text); font: italic 900 78px var(--display); transition: fill .25s; }
.swatches { display: flex; gap: 12px; margin-top: 22px; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer; padding: 0;
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover { transform: scale(1.08); }
.swatch:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch.is-active { box-shadow: 0 0 0 2px var(--ink); }
.designer-hint { margin: 12px 0 0; font-size: .82rem; color: var(--muted); font-weight: 600; }

/* Ticker */
.ticker { background: var(--red); color: var(--white); overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.3rem; white-space: nowrap; }
.ticker span::after { content: "/"; margin-left: 48px; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,.75); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  border-top: 4px solid var(--red);
}
.card p { color: var(--muted); margin: 0; }
.card-num { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: 2rem; color: var(--line); margin-bottom: 14px; line-height: 1; }

/* Who */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.who-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.who-list li {
  display: flex; flex-direction: column;
  padding: 20px 24px;
  background: var(--charcoal);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}
.who-list strong { font-size: 1.15rem; }
.who-list span { color: rgba(255,255,255,.7); }

/* Steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 26px 24px; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--ink); color: var(--white);
  font-family: var(--display); font-style: italic; font-weight: 900; font-size: 1.2rem;
}

/* Contact */
.contact { background: var(--red); color: var(--white); text-align: center; }
.contact .eyebrow { color: var(--white); opacity: .85; }
.contact .lead { color: rgba(255,255,255,.92); margin: 0 auto 1.6em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .btn { background: var(--ink); border-color: var(--ink); }
.contact .btn:hover { background: #000; border-color: #000; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .who { grid-template-columns: 1fr; gap: 36px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }
  .designer { max-width: 420px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .container { padding: 0 16px; }
  .wordmark span { display: none; }
  .designer { padding: 28px 20px 22px; }
  .swatch { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .ticker-track { animation: none; }
}
