/* 5th Level Capital — design tokens + reset */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.71rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.17vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem);
  --text-3xl: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem);
  --text-hero: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  /* Spacing (4px base) */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  /* Brand */
  --navy-900: #0F1F33;
  --navy-800: #152A45;
  --navy-700: #1F3A5F;   /* logo navy */
  --navy-500: #3F5B80;
  --navy-300: #8EA2BC;
  --gold-600: #9A7B35;
  --gold-500: #B8964A;   /* logo gold */
  --gold-300: #D9C28E;
  --gold-100: #F3EBD7;

  /* Neutrals: warm limestone */
  --stone-0: #FFFFFF;
  --stone-50: #FAF8F4;
  --stone-100: #F4F0E8;
  --stone-200: #E8E2D5;
  --stone-300: #D5CDBC;
  --stone-500: #8B8476;
  --ink-900: #18212D;
  --ink-700: #3A4452;
  --ink-500: #5E6876;

  --color-bg: var(--stone-50);
  --color-surface: var(--stone-0);
  --color-surface-alt: var(--stone-100);
  --color-border: var(--stone-200);
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-500);
  --color-primary: var(--navy-700);
  --color-accent: var(--gold-500);
  --color-accent-text: var(--gold-600);

  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px; --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(15,31,51,.06);
  --shadow-md: 0 8px 28px -12px rgba(15,31,51,.22);
  --shadow-lg: 0 24px 60px -24px rgba(15,31,51,.35);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: 220ms;
  --content: 1240px;
  --narrow: 760px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; color: var(--navy-900); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-300); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
