/* ==========================================================================
   Base — tokens, reset, typography
   ========================================================================== */

:root {
  /* Brand (from interceptcomposites.com) */
  --c-accent: #d4622a;
  --c-accent-hover: #e8611a;
  --c-black: #000;
  --c-ink: #0b0b0c;
  --c-panel: #232323;
  --c-text: #f2f2f2;
  --c-text-dim: #9a9ca3;
  --c-line: rgba(255, 255, 255, 0.14);

  /* Storyteller Overland type system */
  --font-head: "Termina Test", "Arial Black", sans-serif;   /* headings, buttons, tabs */
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: "Figtree", "DM Sans", sans-serif;          /* small uppercase labels */
  --font-serif: "PT Serif", Georgia, serif;                /* accent lines */

  --header-h: 88px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 767px) {
  :root { --header-h: 68px; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

body.is-loading,
body.menu-open { overflow: hidden; }

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

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

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
}

/* In-page links land below the fixed header (smooth-scroll.js handles the glide) */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Page content starts below the fixed header */
main { padding-top: var(--header-h); }
