*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { height: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 { font-weight: 600; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--c-amber);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  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: var(--s-2);
  top: -100px;
  background: var(--c-amber);
  color: var(--c-ink);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-sm);
  font-weight: 600;
  z-index: 1000;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: var(--s-2); }

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

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  position: relative;
}
.section--dark { background: var(--c-ink); color: var(--c-text-inv); }
.section--dark .text-mute { color: var(--c-text-inv-mute); }
.section--bone { background: var(--c-bone); }
.section--bone-2 { background: var(--c-bone-2); }
.text-mute { color: var(--c-text-mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: '';
  width: 1.4em;
  height: 2px;
  background: var(--c-amber);
  display: inline-block;
}

.grid {
  display: grid;
  gap: var(--s-4);
}
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2col { grid-template-columns: repeat(2, 1fr); }
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }

@media (max-width: 860px) {
  .grid--2col { grid-template-columns: 1fr; }
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.no-js [data-reveal] { opacity: 1 !important; transform: none !important; }

@media print {
  .site-header, [data-reveal-progress], .mobile-bar, .hero-cta, .scroll-cue { display: none !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
