/* Self-hosted (CSP font-src 'self'): same two families as Google Fonts. */
@font-face{font-family:"Fraunces";font-style:normal;font-weight:400 700;font-display:swap;src:url("fonts/fraunces-variable.woff2") format("woff2")}
@font-face{font-family:"Fraunces";font-style:italic;font-weight:400 700;font-display:swap;src:url("fonts/fraunces-italic-variable.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/inter-variable.woff2") format("woff2")}
/* ==========================================================================
   ThirtyFirm design tokens v1.0
   Direction 3: bold and motion-led. Navy, teal and gold on warm paper.
   Created November 25, 2026. Replaces the Archivo Black display face.
   --------------------------------------------------------------------------
   FONTS (both Google Fonts, SIL Open Font License, free for commercial use):
   Display: Fraunces, https://fonts.google.com/specimen/Fraunces
   Body:    Inter, https://fonts.google.com/specimen/Inter
   Load both in the page head:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..700;1,9..144,400..700&family=Inter:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
   The site may self-host the same two families instead; do not add a third.
   The wordmark SVG files are logo assets and stay unchanged.
   --------------------------------------------------------------------------
   USAGE: every component uses these variables. No hardcoded colors, fonts,
   sizes, spacing, radii or shadows anywhere else in the stylesheet.
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------ */
  /* 1. Colors: core palette                                            */
  /* ------------------------------------------------------------------ */
  --color-ink: #101014;          /* headlines, dark backgrounds */
  --color-paper: #F4F1EA;        /* page background */
  --color-paper-2: #FFFDF7;      /* cards, light text on dark */
  --color-teal: #0E7C6B;         /* primary accent */
  --color-teal-dark: #0A5C50;    /* primary accent, small text on light */
  --color-teal-light: #3FB8A4;   /* dark backgrounds only, never on light */
  --color-teal-tint: #E3F0EC;    /* pale teal surface */
  --color-teal-tint-2: #D6ECE7;  /* pale teal surface, deeper */
  --color-gold: #F2B705;         /* secondary accent, highlights */
  --color-coral: #FF5A3C;        /* accent only, never for text on light */
  --color-coral-text: #B3341A;   /* coral for small text on light */
  --color-deep-red: #C93315;     /* founding band background */
  --color-muted: #4C4C52;        /* secondary text on light */
  --color-ink-soft: #2A2A30;     /* body copy on light */
  --color-ink-mid: #C9C9D2;      /* secondary text on dark */
  --color-ink-faint: #9A9AA5;    /* small text on dark */
  --color-white: #FFFFFF;

  /* ------------------------------------------------------------------ */
  /* 2. Colors: roles                                                    */
  /* ------------------------------------------------------------------ */
  --color-bg: var(--color-paper);
  --color-surface: var(--color-paper-2);
  --color-surface-dark: var(--color-ink);
  --color-text: var(--color-ink);
  --color-text-soft: var(--color-ink-soft);
  --color-text-muted: var(--color-muted);
  --color-text-on-dark: var(--color-paper-2);
  --color-text-on-dark-muted: var(--color-ink-mid);
  --color-text-on-dark-faint: var(--color-ink-faint);
  --color-primary: var(--color-teal);
  --color-primary-dark: var(--color-teal-dark);
  --color-primary-light: var(--color-teal-light);
  --color-accent: var(--color-gold);
  --color-success: var(--color-teal-dark);
  --color-success-bg: var(--color-teal-tint);
  --color-error: var(--color-coral-text);
  --color-error-fill: var(--color-coral);
  --color-error-bg: #FFE3DC;
  --color-border: var(--color-ink);
  --color-border-soft: color-mix(in srgb, var(--color-ink) 14%, var(--color-bg));
  --color-focus: var(--color-teal);
  --color-link: var(--color-teal-dark);

  /* ------------------------------------------------------------------ */
  /* 3. Fonts                                                            */
  /* ------------------------------------------------------------------ */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ------------------------------------------------------------------ */
  /* 4. Type scale (fluid; sizes in clamp, so they scale with viewport) */
  /*    Display uses Fraunces 600, sentence case. Body uses Inter.      */
  /* ------------------------------------------------------------------ */
  --text-h1: clamp(2.75rem, 1.5rem + 5vw, 4.5rem);
  --text-h1-lh: 1.05;
  --text-h1-ls: -0.02em;
  --text-h1-weight: 600;

  --text-h2: clamp(2rem, 1.25rem + 3vw, 3.25rem);
  --text-h2-lh: 1.08;
  --text-h2-ls: -0.015em;
  --text-h2-weight: 600;

  --text-h3: clamp(1.375rem, 1.125rem + 1vw, 1.75rem);
  --text-h3-lh: 1.15;
  --text-h3-ls: -0.01em;
  --text-h3-weight: 600;

  --text-h4: 1.25rem;
  --text-h4-lh: 1.25;
  --text-h4-ls: 0;
  --text-h4-weight: 600;

  --text-h5: 1.125rem;
  --text-h5-lh: 1.3;
  --text-h5-ls: 0;
  --text-h5-weight: 600;

  --text-h6: 0.875rem;
  --text-h6-lh: 1.35;
  --text-h6-ls: 0.08em;
  --text-h6-weight: 700;

  --text-lead: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-lead-lh: 1.55;
  --text-lead-ls: 0;
  --text-lead-weight: 400;

  --text-body: 1rem;
  --text-body-lh: 1.6;
  --text-body-ls: 0;
  --text-body-weight: 400;

  --text-small: 0.875rem;
  --text-small-lh: 1.5;
  --text-small-ls: 0;
  --text-small-weight: 400;

  --text-caption: 0.8125rem;
  --text-caption-lh: 1.5;
  --text-caption-ls: 0.02em;
  --text-caption-weight: 600;

  --text-kicker: 0.8125rem;
  --text-kicker-lh: 1.35;
  --text-kicker-ls: 0.14em;
  --text-kicker-weight: 800;

  --text-nav: 0.90625rem;
  --text-nav-lh: 1.2;
  --text-nav-ls: 0.01em;
  --text-nav-weight: 700;

  --text-button: 0.9375rem;
  --text-button-lh: 1.2;
  --text-button-ls: 0.01em;
  --text-button-weight: 700;

  /* Display numerals (the big "30"): Fraunces at heading weight, so the
     numerals read as the same family as the headings, not a third face. */
  --text-display-num: clamp(2.5rem, 2rem + 3vw, 4rem);
  --text-display-num-lh: 1;
  --text-display-num-ls: -0.02em;
  --text-display-num-weight: 600;

  /* ------------------------------------------------------------------ */
  /* 5. Spacing (base 4px)                                               */
  /* ------------------------------------------------------------------ */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-section: clamp(56px, 8vw, 80px);
  --space-gutter: 20px;
  --space-gutter-lg: 32px;

  /* ------------------------------------------------------------------ */
  /* 6. Grid and layout                                                  */
  /* ------------------------------------------------------------------ */
  --grid-max-width: 1180px;
  --grid-columns: 12;
  --grid-gutter: var(--space-gutter);
  --grid-gutter-lg: var(--space-gutter-lg);

  /* ------------------------------------------------------------------ */
  /* 7. Radius                                                           */
  /* ------------------------------------------------------------------ */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ------------------------------------------------------------------ */
  /* 8. Shadows (subtle; the hard offset shadow is the one bold exception) */
  /* ------------------------------------------------------------------ */
  --shadow-sm: 0 2px 8px rgba(16, 16, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 16, 20, 0.12);
  --shadow-lg: 0 12px 32px rgba(16, 16, 20, 0.14);
  --shadow-hard: 8px 8px 0 var(--color-ink);
  --shadow-hard-teal: 6px 6px 0 var(--color-primary);

  /* ------------------------------------------------------------------ */
  /* 9. Motion                                                           */
  /* ------------------------------------------------------------------ */
  --duration-fast: 150ms;
  --duration-med: 300ms;
  --duration-slow: 800ms;
  --duration-marquee: 26s;
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-linear: linear;

  /* ------------------------------------------------------------------ */
  /* 10. Breakpoints (use in media queries; CSS variables do not work   */
  /*     in media query conditions, so these are the documented values)  */
  /* ------------------------------------------------------------------ */
  --bp-sm: 600px;
  --bp-md: 700px;
  --bp-lg: 900px;
  --bp-xl: 1180px;
}
