/* Reset, typography, accessibility, and safe fallback template shells. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  line-height: 1.12;
  letter-spacing: -.03em;
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 116px 0;
}

.section-kicker,
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-kicker::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-title {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 650;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 54px;
  font-size: 18px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 23px;
  letter-spacing: .17em;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-main {
  min-height: 55vh;
}

.entry-shell,
.archive-shell {
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 96px;
}

.entry-header,
.archive-header {
  max-width: 820px;
  margin-bottom: 48px;
}

.entry-title,
.archive-title {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 650;
}

.entry-content > * {
  max-width: 840px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.archive-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.archive-card-title {
  color: var(--navy);
  font-size: 23px;
}

.archive-card-title a:hover,
.archive-card-title a:focus-visible {
  color: var(--blue);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
