/* Base: variables, reset, typography, eyebrow, lede */

:root {
  --tc-navy: #11366C;
  --tc-navy-2: #1B4A8C;
  --tc-blue: #2E6BC7;
  --tc-green: #1F9A4D;
  --tc-green-2: #208E47;
  --tc-slate: #6F8298;
  --tc-ink: #0E1B2D;
  --tc-ink-2: #2A384B;
  --tc-muted: #5A6B80;
  --tc-line: #E3E8EE;
  --tc-bg: #FFFFFF;
  --tc-cream: #F6F2EA;
  --tc-mist: #F3F6F9;
  --tc-warm-line: #E8E1D2;

  --serif: "Source Serif 4", "Source Serif Pro", "Georgia", serif;
  --sans: "Inter Tight", "Helvetica Neue", "Arial", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 0 rgba(17,54,108,0.04), 0 12px 32px -16px rgba(17,54,108,0.18);
  --shadow-soft: 0 1px 2px rgba(17,54,108,0.04), 0 6px 18px -10px rgba(17,54,108,0.12);

  --pad-x: clamp(20px, 4vw, 64px);
  --maxw: 1240px;
}

* { box-sizing: border-box; }

/* Asset SVG icons — color via CSS mask so currentColor is honored */
.icon-asset {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: currentColor;
  /* mask-image set via inline style by iconFromAsset() */
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--tc-bg);
  color: var(--tc-ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

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

a { color: var(--tc-navy); text-decoration: none; }
a:hover { color: var(--tc-blue); }

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

::selection { background: rgba(31,154,77,0.22); color: var(--tc-ink); }

/* Type */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--tc-ink);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
}
h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.005em;
}
h4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tc-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--navy { color: var(--tc-navy); }
.eyebrow--light { color: rgba(255,255,255,0.75); }

.lede {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--tc-ink-2);
  line-height: 1.6;
  max-width: 56ch;
}

.flow > * + * { margin-top: 18px; }
.divider { height: 1px; background: var(--tc-line); border: 0; margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.84,.44,1); }
.reveal.is-in { opacity: 1; transform: none; }
