/* ============================================================
   Whitmore Partners — base.css
   Reset · design tokens · typography · utilities
   ============================================================ */

:root {
  /* Palette — white / ink / deep navy (solid American corporate) */
  --bg:        #ffffff;
  --bg-alt:    #f3f5f8;   /* light cool grey section */
  --ink:       #0e1113;   /* near-black text */
  --ink-70:    rgba(14, 17, 19, 0.72);
  --ink-55:    rgba(14, 17, 19, 0.62);
  --line:      rgba(14, 17, 19, 0.12);
  --line-soft: rgba(14, 17, 19, 0.07);

  --navy:      #16233b;   /* deep navy — dark sections, header, footer */
  --navy-2:    #0f1a2e;   /* darker navy — footer base */
  --on-dark:      #eef2f8;
  --on-dark-70:   rgba(238, 242, 248, 0.72);
  --on-dark-55:   rgba(238, 242, 248, 0.56);
  --on-dark-line: rgba(238, 242, 248, 0.16);

  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --maxw: 1220px;
  --radius: 16px;
  --radius-pill: 999px;

  --section-y: clamp(4.5rem, 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); font-weight: 600; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); letter-spacing: -0.02em; }

p { margin: 0; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--on-dark-70); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy); color: var(--on-dark);
  padding: 0.6rem 1.1rem; border-radius: 8px; z-index: 200; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.section-dark :focus-visible, .site-header :focus-visible, .hero :focus-visible { outline-color: var(--on-dark); }

::selection { background: var(--navy); color: #fff; }
