@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* Clash Display — self-hosted from /assets/fonts/ */
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2'),
       url('../fonts/ClashDisplay-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2'),
       url('../fonts/ClashDisplay-Semibold.woff')  format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-Regular.woff2') format('woff2'),
       url('../fonts/ClashDisplay-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── BASE ────────────────────────────────────────── */

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-gray-900);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* ── CONTAINER ───────────────────────────────────── */

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

/* ── TYPOGRAPHY ──────────────────────────────────── */

.font-display { font-family: var(--font-display); }
.font-primary { font-family: var(--font-primary); }

h1, .h1 {
  font-family: var(--font-primary);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2, .h2 {
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
}

h3, .h3 {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
}

.display {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.label {
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
}

/* ── LINKS ───────────────────────────────────────── */

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ── SELECTION ───────────────────────────────────── */

::selection {
  background-color: var(--color-orange);
  color: var(--color-white);
}

/* ── SCROLLBAR ───────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-black); }
::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 3px;
}

/* ── UTILITY CLASSES ─────────────────────────────── */

.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-orange  { color: var(--color-orange); }
.text-white   { color: var(--color-white); }
.text-black   { color: var(--color-black); }
.text-muted   { color: var(--color-gray-500); }

.bg-black     { background-color: var(--color-black); }
.bg-white     { background-color: var(--color-white); }
.bg-orange    { background-color: var(--color-orange); }
.bg-gray      { background-color: var(--color-gray-100); }

.section {
  padding-block: var(--space-4xl);
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section--light {
  background-color: var(--color-white);
  color: var(--color-gray-900);
}

.section--gray {
  background-color: var(--color-gray-100);
  color: var(--color-gray-900);
}

/* Offset for fixed navigation — JS sets this dynamically
   This is the fallback value */
body {
  padding-top: 80px;
}