/* ───────────────────────────── Tokens ───────────────────────────── */

:root {
  --base: #0A0A0A;
  --surface: #141414;
  --brand: #79593B;
  --brand-light: #C9A87C;
  --polar: #95C4EB;
  --cream: #FFFBED;
  --muted: #6B6B6B;
  --white: #F5F5F0;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(20px, 4vw, 64px);
}

/* ───────────────────────────── Reset ────────────────────────────── */

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

html {
  scrollbar-color: var(--brand) var(--base);
}

body {
  background: var(--base);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* JS fades the page in; without JS the page renders normally. */
.js body {
  opacity: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ─────────────────────────── Typography ─────────────────────────── */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: var(--white);
}

h1, h2, h3, blockquote {
  font-weight: inherit;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.stat-number {
  display: block;
  font-size: clamp(72px, 9vw, 140px);
  color: var(--brand-light);
}

.stat-label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.pull-quote {
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--cream);
  text-align: center;
  padding: 120px 0;
}

/* ─────────────────────────── Components ─────────────────────────── */

.btn-ghost {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--brand);
  color: var(--brand-light);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background-color 300ms ease-out, color 300ms ease-out;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--brand);
  color: var(--base);
}

/* ─────────────────────────── Utilities ──────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* Reveal targets start hidden only when JS is available to reveal them. */
.js [data-reveal] {
  opacity: 0;
}

/* ──────────────────────── Reduced motion ────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js body,
  .js [data-reveal] {
    opacity: 1;
  }
}
