/* Base styles, typography and section layout */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { background: var(--surface); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
sub { font-size: 0.7em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; padding: .75rem 1rem; background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

.section { padding-block: var(--section-y); }
.section-tint { background: var(--surface-tint); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--brand-light); }

.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head.text-center { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; font-family: var(--font-heading); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
/* .eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; } */
.lead { font-size: 1.1875rem; }
.measure { max-width: 38rem; }

.rounded-image { width: 100%; border-radius: var(--radius); object-fit: cover; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
