/* Archer Consulting Team — Design Tokens (Brandbook v2) */

:root {
  /* Brand */
  --navy: #022B66;
  --navy-light: #1A5CB8;
  --teal: #0794AA;
  --teal-light: #86BBD8;
  --gray-warm: #81817A;
  --gray-light: #DBD7D2;
  --gray-50: #F4F4F3;
  --ink: #1F2328;
  --white: #FFFFFF;
  --accent-soft: #D4EEF3;

  /* Scales */
  --navy-50: #EBF0FA;
  --navy-100: #C3D0EC;
  --navy-200: #87A0D4;
  --navy-400: #4A6DB8;
  --navy-600: #1A5CB8;
  --navy-700: #022B66;

  --teal-50: #E0F3F7;
  --teal-100: #B8E3EC;
  --teal-200: #86BBD8;
  --teal-400: #3DAEC5;
  --teal-600: #0794AA;
  --teal-700: #05728A;

  --neutral-50: #F4F4F3;
  --neutral-100: #DBD7D2;
  --neutral-200: #C2BCB5;
  --neutral-400: #A09A92;
  --neutral-600: #81817A;
  --neutral-800: #4A4A44;
  --neutral-950: #1F2328;

  /* Semantic */
  --bg: var(--white);
  --bg-subtle: var(--gray-50);
  --bg-elev: var(--white);
  --fg: var(--ink);
  --fg-muted: var(--gray-warm);
  --accent: var(--teal);
  --rule: rgba(31,35,40,0.10);
  --rule-strong: rgba(31,35,40,0.18);
  --rule-on-navy: rgba(255,255,255,0.14);

  /* Type */
  --display: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Newsreader', 'Georgia', serif;
  --sans: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Radii */
  --rad: 2px;
  --rad-lg: 8px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 10px;

  /* Layout */
  --pad-x: clamp(24px, 6vw, 120px);
  --maxw: 1320px;

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

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Typography */
.t-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6.2vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.t-section {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.t-heading {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.t-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
}
.t-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.t-body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.625;
}
.t-mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.t-mono-sm {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.muted { color: var(--fg-muted); }
.rule { background: var(--rule); height: 1px; width: 100%; }

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--rad);
  border: 1px solid transparent;
  transition: all 160ms ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule-strong);
}
.btn-ghost:hover {
  border-color: var(--navy);
}
.btn-on-navy {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-on-navy:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}
.btn-on-navy-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-on-navy-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn .arrow {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 160ms ease;
}
.btn .arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 22px; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--accent-soft);
  color: var(--teal-700);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--rad);
  font-weight: 500;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.badge.on-navy {
  background: rgba(7,148,170,0.18);
  color: var(--teal-light);
}
.badge.on-navy::before { background: var(--teal-light); }

/* Card */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  transition: border-color 160ms ease, transform 160ms ease;
}
.card:hover { border-color: var(--rule-strong); }

/* Section variants */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.bg-white { background: var(--white); color: var(--ink); }
.bg-subtle { background: var(--bg-subtle); color: var(--ink); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .muted { color: rgba(255,255,255,0.62); }

/* Eyebrow with mark */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow .mark {
  width: 22px; height: 1px; background: var(--teal);
}
.bg-navy .eyebrow { color: var(--teal-light); }
.bg-navy .eyebrow .mark { background: var(--teal-light); }

/* Section header common */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (min-width: 900px) {
  .section-head.split {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 64px;
  }
}

/* Reveal anim */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 1;
  animation: fadeUp 480ms ease both;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fadeUp 480ms ease both; }
}

/* utility */
.flex { display: flex; }
.grid { display: grid; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-5 { gap: 24px; } .gap-6 { gap: 32px; } .gap-7 { gap: 48px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
