/* =========================================================
   BASE — reset, typography, utilities
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--tungsten); color: var(--ink); }

:focus-visible { outline: 3px solid var(--crest-hi); outline-offset: 3px; border-radius: 2px; }

/* ---- Headings: Archivo. Display/H1/H2 = condensed uppercase, H3 = normal width ---- */
h1, h2, h3, h4 { margin: 0 0 0.4em; font-weight: 800; }
/* Uppercase condensed headings are the deliberate brand look (avoid-ai-design-ignore: SD4) */
.h-display, h1, h2 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  text-transform: uppercase;
  line-height: var(--lh-tight);
  letter-spacing: 0;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--font-body); font-stretch: var(--head-stretch); font-size: var(--fs-h3); line-height: var(--lh-snug); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; }
/* No accent-word styling: headlines read as one line of type */
h1 em, h2 em, .h-display em { font-style: normal; color: inherit; }

/* ---- Text helpers ---- */
.label {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--muted-on-ink);
}
.section--bone .label, .section--bone-2 .label { color: var(--muted-on-bone); }
.lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 58ch; }
.muted { color: var(--muted-on-ink); }
.section--bone .muted, .section--bone-2 .muted { color: var(--muted-on-bone); }

/* Eyebrow: a short, informative line above some headings (sentence case, no decoration) */
.eyebrow { display: block; font-size: clamp(1.125rem, .9rem + .75vw, 1.5rem); line-height: 1.35; font-weight: 600; color: var(--crest-hi); margin-bottom: var(--s-4); }
.section--bone .eyebrow, .section--bone-2 .eyebrow { color: var(--crest-deep); }

.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15em; }
.prose a { color: var(--crest-hi); }
.section--bone .prose a { color: var(--crest-deep); }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose img { margin: var(--s-6) 0; }

.sr-only { position: absolute !important; 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: 16px; top: -60px; z-index: 200; background: var(--tungsten); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
