/* Stratesee + BRDG — shared design tokens
 * Single source of truth for palette, type, motion, spacing.
 * Inherited by both stratesee.com (paper canvas) and brdg.click (obsidian canvas).
 */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Newsreader:ital,wght@1,400;1,500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  color-scheme: light;
  /* Paper canvas (Stratesee default) */
  --paper-0: #F4F1EA;
  --paper-1: #EAE6DD;
  --paper-2: #DCD6C8;
  --paper-3: #C4BFB3;

  /* Obsidian canvas (BRDG default, Stratesee inverse) */
  --obsidian-0: #0B0B0E;
  --obsidian-1: #111114;
  --obsidian-2: #16161B;
  --obsidian-3: #2D2C29;

  /* Ink hierarchy (on paper) */
  --ink-0: #0B0B0E;
  --ink-1: #2D2C29;
  --ink-2: #46443E;
  --ink-3: #6B675D;
  --ink-4: #9A9587;

  /* Paper-text hierarchy (on obsidian) */
  --light-0: #F4F1EA;
  --light-1: #DCD6C8;
  --light-2: #9A9587;
  --light-3: #6B675D;
  --light-4: #46443E;

  /* Accents */
  --vermilion: #E04F2C;
  --vermilion-soft: #FAECE7;
  --signal: #4FE89A;
  --signal-soft: #1A3B2A;

  /* Type */
  --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;

  /* Type scale */
  --t-h1: 64px;
  --t-h2: 42px;
  --t-h3: 28px;
  --t-h4: 20px;
  --t-body-lg: 18px;
  --t-body: 16px;
  --t-caption: 14px;
  --t-label: 11px;
  --t-mono-label: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'tnum' 1;
}

/* Utility — italic-serif emphasis (the brand's signature move) */
em.editorial, .editorial em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--vermilion);
}

/* Utility — mono uppercase label / eyebrow */
.eyebrow, .mono-label {
  font-family: var(--font-mono);
  font-size: var(--t-mono-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Utility — typographic wordmark (Stratesee) */
.wordmark-stratesee {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.05em;
  color: var(--ink-0);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.wordmark-stratesee .see {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--vermilion);
  letter-spacing: -0.02em;
}
.wordmark-stratesee .reticle {
  display: inline-block;
  margin-left: 8px;
  align-self: center;
}

/* Utility — typographic wordmark (BRDG) */
.wordmark-brdg {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

/* Type defaults */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: var(--t-h1); letter-spacing: -0.05em; line-height: 1.05; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; }
h4 { font-size: var(--t-h4); font-weight: 500; }

p { margin: 0; font-size: var(--t-body); line-height: 1.6; }
a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

@media (max-width: 768px) {
  :root {
    --t-h1: 38px;
    --t-h2: 28px;
    --t-h3: 22px;
    --t-h4: 18px;
    --t-body-lg: 16px;
  }
}
