/* ============================================================
   XL PARTS — Design System: Tokens · Reset · Typography · Layout
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ── Colors ───────────────────────────────────────────── */
  --ink:         #0F1117;
  --ink-light:   #1A1D27;
  --slate:       #374151;
  --silver:      #9CA3AF;
  --mist:        #D1D5DB;
  --smoke:       #F3F4F6;
  --white:       #FFFFFF;

  --accent:      #F04F00;
  --accent-dark: #C43F00;
  --accent-pale: #FFF0EA;

  --success:     #059669;
  --success-pale:#D1FAE5;
  --warning:     #D97706;
  --warning-pale:#FEF3C7;
  --danger:      #DC2626;

  /* ── Typography ───────────────────────────────────────── */
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Spacing (8px grid) ───────────────────────────────── */
  --s1:  8px;
  --s2:  16px;
  --s3:  24px;
  --s4:  32px;
  --s5:  40px;
  --s6:  48px;
  --s8:  64px;
  --s10: 80px;
  --s12: 96px;

  /* ── Layout ───────────────────────────────────────────── */
  --max-w:    1280px;
  --side-pad: clamp(20px, 5vw, 64px);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* ── Shadows ──────────────────────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.16), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.22);

  /* ── Transitions ──────────────────────────────────────── */
  --t-fast: 0.15s ease;
  --t-base: 0.22s ease;
  --t-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Site chrome heights ──────────────────────────────── */
  --announce-h: 36px;
  --header-h:   68px;
  --nav-h:      44px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
svg { display: block; flex-shrink: 0; }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }

.display {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 130px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(18px, 2.4vw, 26px); }
h4 { font-size: 18px; }
h5 { font-size: 15px; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s2);
}

/* ── Color utilities ──────────────────────────────────────── */
.bg-ink    { background: var(--ink); }
.bg-ink-l  { background: var(--ink-light); }
.bg-smoke  { background: var(--smoke); }
.bg-white  { background: var(--white); }
.text-white   { color: var(--white); }
.text-silver  { color: var(--silver); }
.text-accent  { color: var(--accent); }
.text-slate   { color: var(--slate); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.section-pad { padding: var(--s10) 0; }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s var(--t-slow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-pad { padding: var(--s6) 0; }
}
