*, *::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;
  font-family: var(--font-body);
  font-size: var(--fs-1);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 450;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--berry); }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 4px; }
.on-plum :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--plum); color: var(--cream);
  padding: .75rem 1rem; border-radius: var(--r-1); transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Eyebrow + section heading system */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.on-plum .eyebrow { color: var(--gold); }
.lede { font-size: var(--fs-2); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.on-plum .lede { color: var(--on-plum); }
.on-plum { color: var(--on-plum-2); background: var(--plum); }
.on-plum h1, .on-plum h2, .on-plum h3, .on-plum h4 { color: var(--cream); }
.on-plum h1 em, .on-plum h2 em, .on-plum h3 em { color: var(--gold); }

/* Reveal on scroll: content is fully visible without JavaScript */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 70ms; } .js .reveal.d2 { transition-delay: 140ms; } .js .reveal.d3 { transition-delay: 210ms; }
.js .reveal.d4 { transition-delay: 280ms; } .js .reveal.d5 { transition-delay: 350ms; } .js .reveal.d6 { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
