/* Locally hosted brand fonts. See assets/fonts for OFL licenses. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700-italic.woff2") format("woff2");
}

/* Brand guide palette and reusable layout values. */
:root {
  color-scheme: light;
  --color-navy: #0f172a;
  --color-blue: #0ea5e9;
  --color-amber: #d97706;
  --color-text: #334155;
  --color-background: #ffffff;
  --color-cloud: #f8fafc;
  --color-border: #e2e8f0;
  --font-heading: Manrope, "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --radius-card: .75rem;
  --radius-pill: 999px;
  --content-max: 73.75rem;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
}

/* Document and typography. No fixed text heights or hidden overflow. */
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.875rem, 3.1vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }
p { margin: var(--space-2) 0 0; }
strong { font-weight: 600; }
a { color: var(--color-navy); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 5px;
  box-shadow: 0 0 0 5px var(--color-background);
}
[tabindex="-1"] { scroll-margin-block-start: var(--space-3); }
.container { width: min(var(--content-max), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.skip-link {
  position: absolute;
  inset-block-start: var(--space-2);
  inset-inline-start: var(--space-2);
  z-index: 2;
  padding: .75rem 1rem;
  background: var(--color-background);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* Header and full-width photographic backgrounds with readable gradient scrims.
   PNG is the baseline; image-set selects WebP only when the format is supported. */
.hero, .mission { position: relative; isolation: isolate; }
.hero::before, .mission::before,
.hero::after, .mission::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before, .mission::before {
  z-index: -2;
  background-position: right center;
  background-size: 78%;
  background-repeat: no-repeat;
}
.hero::after, .mission::after { z-index: -1; }
.hero::before {
  background-image: url("../images/hero-accessibility.png");
}
.hero::after {
  background: linear-gradient(90deg, #ebe8e8 0%, #ebe8e8 25%, rgb(235 232 232 / 96%) 48%, rgb(235 232 232 / 0%) 73%);
}
.mission::before {
  background-image: url("../images/multiple-paths.png");
  background-image: image-set(url("../images/multiple-paths.webp") type("image/webp"), url("../images/multiple-paths.png") type("image/png"));
}
.mission::after {
  background: linear-gradient(90deg, #f8fafc 0%, rgb(248 250 252 / 96%) 45%, rgb(248 250 252 / 0%) 70%);
}
.site-header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-block: var(--space-3); }
.brand-logo { width: 11rem; }
.about-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .25rem; font-size: 1rem; }
.about-link span { font-size: 1.25rem; }
.hero { padding-block: 2.5rem var(--space-8); }
.hero-copy { min-width: 0; width: 46%; }
.eyebrow { margin: 0 0 var(--space-2); color: var(--color-navy); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero-description { margin-top: var(--space-3); max-width: 46ch; }
.release-status { max-width: 42ch; margin-top: var(--space-2); color: var(--color-navy); font-size: 1.125rem; line-height: 1.35; text-transform: uppercase; }
.release-status strong { font-weight: 700; }
.badge { display: inline-block; padding: .45rem 1.25rem; margin-top: var(--space-3); border-radius: var(--radius-pill); background: var(--color-blue); color: var(--color-navy); font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; }

/* Understanding and the three non-interactive cards. */
.understanding { padding-block: var(--space-3) var(--space-6); }
.section-intro { max-width: 75ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.card { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-card); text-align: center; }
.card img { margin: 0 auto var(--space-1); }
.card p { max-width: 25ch; margin: var(--space-1) auto 0; }

/* Mission uses its own full-width background and light-neutral gradient. */
.mission { background: var(--color-cloud); }
.mission-layout { padding-block: var(--space-6); }
.mission-copy { width: 44%; }
.accent { display: block; width: 2.5rem; height: .3125rem; margin-bottom: var(--space-3); background: var(--color-amber); }
.mission h2 { max-width: 14ch; font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1.1; }
.mission p { max-width: 45ch; }
.mission p + p { margin-top: .25rem; }

/* Closing and minimal footer. */
.closing { padding-block: var(--space-6) var(--space-3); }
.closing h2 { font-size: clamp(1.875rem, 2.8vw, 2.25rem); }
.closing p { max-width: 70ch; }
.site-footer { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-3) var(--space-6); }
.footer-logo { width: 9rem; }
.site-footer p { margin: 0; padding-inline-start: var(--space-3); border-inline-start: 1px solid var(--color-navy); font-size: 1rem; }

/* Content-first layouts at tablet and phone widths, including zoom/reflow. */
@media (max-width: 52rem) {
  .hero, .mission { --visual-height: clamp(10rem, 39.6vw, 21rem); padding-bottom: var(--visual-height); }
  .hero { padding-top: var(--space-4); }
  .hero-copy, .mission-copy { width: 100%; }
  .hero-copy { max-width: 38rem; padding-bottom: var(--space-3); }
  .hero::before, .mission::before, .hero::after, .mission::after {
    inset-block-start: auto;
    height: var(--visual-height);
  }
  .hero::after { background: linear-gradient(180deg, #fff, rgb(255 255 255 / 0%) 40%); }
  .mission::after { background: linear-gradient(180deg, #f8fafc, rgb(248 250 252 / 0%) 40%); }
  .hero-description, .release-status { max-width: 55ch; }
  .mission h2 { max-width: 20ch; }
  .mission p { max-width: 65ch; }
  .cards { gap: var(--space-2); }
  .card { padding: var(--space-3) var(--space-2); }
}
@media (max-width: 38rem) {
  body { font-size: 1.125rem; }
  .site-header { gap: var(--space-2); }
  .brand-logo { width: 8rem; }
  .about-link { font-size: .9375rem; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: var(--space-3); }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width: 23rem) {
  .site-header { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight; }
  .badge { border: 1px solid CanvasText; }
}
