/* ═══════════════════════════════════════════════
   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-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: inherit;
}
strong { font-weight: 600; }
em { font-style: italic; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY SCALE
═══════════════════════════════════════════════ */
.display {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}
.h4 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--orange);
}
.eyebrow--light { color: rgba(232,119,34,0.85); }
.eyebrow--cream { color: var(--cream-dark); }
.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mid);
}

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.container--wide {
  width: min(var(--container-wide), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding-block: var(--s-20); }
.section--lg { padding-block: var(--s-32); }
.section--sm { padding-block: var(--s-12); }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.85rem var(--s-8);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-deep);
  box-shadow: 0 12px 40px rgba(232,119,34,0.35);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}
.btn-ghost-orange {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-ghost-orange:hover {
  background: var(--orange);
  color: var(--white);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.78rem; }

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-cream { color: var(--cream); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.text-mid { color: var(--ink-mid); }
.text-light-color { color: var(--ink-light); }
.italic { font-style: italic; }
.no-break { white-space: nowrap; }

.grid { display: grid; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pill--orange { background: var(--orange-soft); color: var(--orange-deep); }
.pill--navy { background: rgba(12,35,64,0.06); color: var(--navy); }
.pill--cream { background: rgba(248,244,238,0.15); color: var(--cream); border: 1px solid rgba(248,244,238,0.25); }
.pill--green { background: rgba(34,197,94,0.12); color: #16a34a; }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL (base states — GSAP overrides)
═══════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }
[data-reveal][data-delay="6"] { transition-delay: 0.48s; }
[data-reveal][data-delay="7"] { transition-delay: 0.56s; }
[data-reveal][data-delay="8"] { transition-delay: 0.64s; }

/* ═══════════════════════════════════════════════
   PREFERS REDUCED MOTION
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
