/* ============================================================
   CARE — Patient Education Initiative
   Shared stylesheet for all pages
   ------------------------------------------------------------
   CONTENTS
   01. Design tokens (colors, fonts, spacing) — EDIT COLORS HERE
   02. Reset & base
   03. Typography
   04. Layout utilities
   05. Buttons
   06. Image placeholders  — how to replace images
   07. Header
   08. Navigation
   09. Page header (sub-pages) & breadcrumbs
   10. Hero (home page)
   11. Trust bar
   12. Feature cards
   13. Process steps (Create → Review → Share)
   14. Catalog (toolbar, filter chips, cards)
   15. Team cards
   16. Split sections & callouts (About)
   17. CTA band
   18. Forms & contact page
   19. Footer
   20. Responsive breakpoints
   21. Accessibility (focus, reduced motion)
   ============================================================ */


/* ============================================================
   01. DESIGN TOKENS — change site-wide colors and fonts here
   ============================================================ */
:root {
  /* Blues (CDC-inspired) */
  --navy:        #11385b;   /* darkest — headings, footer, utility bar */
  --navy-soft:   #1c4f7c;   /* hover states on navy */
  --blue:        #005ea2;   /* primary action blue — buttons, links */
  --blue-dark:   #084d82;   /* button hover */
  --blue-light:  #e8f1f8;   /* light blue accent backgrounds */
  --blue-pale:   #f2f7fb;   /* palest blue — hero wash */
  --sky:         #c2dcef;   /* light blue borders / dividers */

  /* Neutrals */
  --white:       #ffffff;
  --gray-bg:     #f4f6f8;   /* subtle gray alternating sections */
  --border:      #dbe4ec;   /* card and input borders */
  --text:        #1b2a38;   /* body text */
  --muted:       #4d5f70;   /* secondary text (kept dark for contrast) */

  /* Accents */
  --focus:       #2491ff;   /* keyboard focus ring */

  /* Type */
  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container:   72rem;     /* max content width (~1152px) */
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 1px 2px rgba(17, 56, 91, 0.06), 0 4px 16px rgba(17, 56, 91, 0.07);
  --shadow-lift: 0 2px 4px rgba(17, 56, 91, 0.08), 0 10px 28px rgba(17, 56, 91, 0.12);

  /* z-index scale */
  --z-header: 50;
  --z-skip:   100;
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;              /* 16px minimum for readability */
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

/* Use this class on real images that replace placeholders */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;   /* keeps line length readable */
}

/* Small uppercase label above headings */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.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;
}


/* ============================================================
   04. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 4.5rem; }
.section-alt { background: var(--gray-bg); }          /* subtle gray band */

/* Centered intro block at the top of a section */
.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .lede { margin-inline: auto; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}


/* ============================================================
   05. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;                /* accessible touch target */
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }

.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9375rem; }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; }


/* ============================================================
   06. IMAGE PLACEHOLDERS
   ------------------------------------------------------------
   Generic placeholder style used where a real image has not been added yet.
   ============================================================ */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 94, 162, 0.045) 0 12px,
      transparent 12px 24px),
    var(--blue-light);
  border: 2px dashed var(--sky);
  border-radius: inherit;
  color: var(--blue);
  text-align: center;
  padding: 1rem;
}
.img-placeholder svg { opacity: 0.7; }
.img-placeholder span {
  font-size: 0.8125rem;
  font-weight: 600;
  max-width: 16rem;
}


/* ============================================================
   07. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  max-width: none;
  padding-inline: clamp(1rem, 4vw, 5rem);
}

/* ---- Brand / logo ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-logo {                      /* sizing for the uploaded logo */
  width: 46px;
  height: 46px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ============================================================
   08. NAVIGATION
   ============================================================ */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9688rem;
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav a:not(.btn):hover {
  background: var(--blue-light);
  color: var(--blue);
  text-decoration: none;
}
/* Current page indicator */
.site-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.site-nav .btn { margin-left: 0.75rem; }

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }


/* ============================================================
   09. PAGE HEADER (sub-pages) & BREADCRUMBS
   ============================================================ */
.page-header {
  background: linear-gradient(180deg, var(--blue-light), var(--blue-pale));
  border-bottom: 1px solid var(--sky);
  padding-block: 2.75rem 3rem;
}
.page-header h1 { margin-bottom: 0.4rem; }
.page-header .lede { margin-bottom: 0; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--sky);
}
.breadcrumbs a { color: var(--blue); }


/* ============================================================
   10. HERO (home page)
   Full-bleed team photo behind a brand-blue scrim, with the
   introductory copy set over it.
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;      /* keeps the scrim behind the content */
  background: var(--navy);  /* fallback while the photo loads */
  overflow: hidden;
}

/* The team photo fills the whole section */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: -2;
}

/* Even, light brand-blue wash over the whole photo — just enough
   tint to unify with the site and keep the centered copy legible. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(17, 56, 91, 0.44) 0%,
      rgba(28, 79, 124, 0.40) 100%),
    linear-gradient(0deg,
      rgba(0, 94, 162, 0.12),
      rgba(0, 94, 162, 0.12));
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(34rem, 74vh, 46rem);
  padding-block: 6rem;
}
.hero-content {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 1px 14px rgba(11, 31, 51, 0.4);
}
.hero .lede {
  color: #fff;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 10px rgba(11, 31, 51, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Buttons tuned for the dark photo backdrop */
.hero .btn-primary {
  background: var(--white);
  color: var(--navy);
}
.hero .btn-primary:hover {
  background: var(--blue-light);
  color: var(--navy);
}
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}


/* ============================================================
   11. TRUST BAR (short reassurance strip under the hero)
   ============================================================ */
.trust-bar {
  background: var(--blue-pale);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  /* Span the full viewport width with the same responsive side
     padding as the header, so the items line up with the nav. */
  max-width: none;
  padding-block: 1.15rem;
  padding-inline: clamp(1rem, 4vw, 5rem);
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  padding-inline: 1rem;
}
.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }


/* ============================================================
   12. FEATURE CARDS (areas of work, collaboration, etc.)
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-lift);
  border-color: var(--sky);
}
.feature-card h3 { margin-top: 1.1rem; }
.feature-card p { color: var(--muted); font-size: 0.9688rem; }

/* Round icon badge at the top of feature cards */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
}

/* "Learn more" style link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  min-height: 44px;
}
.text-link svg { transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(3px); }


/* ============================================================
   13. CATALOG
   ============================================================ */
.catalog-library {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.topic-nav {
  position: sticky;
  top: 96px;
  border-right: 1px solid var(--border);
  padding-right: 1.25rem;
}
.topic-nav-head {
  margin-bottom: 1.1rem;
}
.topic-nav-head h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}
.topic-list {
  display: grid;
  gap: 0.35rem;
}
.topic-button {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.topic-button:hover {
  background: var(--blue-pale);
  border-color: var(--border);
}
.topic-button[aria-selected="true"] {
  background: var(--blue-pale);
  border-color: var(--sky);
  color: var(--blue);
}

.topic-content {
  min-width: 0;
}
.topic-panel {
  max-width: 50rem;
}
.topic-panel[hidden] {
  display: none;
}

.report-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
}
.report-kicker {
  color: var(--blue);
  font-size: 0.7813rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}
.report-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.45rem;
}
.report-header p:last-child {
  color: var(--muted);
  max-width: 42rem;
}
.report-byline {
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.report-grid {
  display: grid;
  gap: 1.75rem;
}
.report-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.75rem;
}
.report-section-open {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.75rem;
}
.report-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.report-section ul {
  margin: 0;
  padding-left: 1.2rem;
}
.report-section li {
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.report-section li:last-child {
  margin-bottom: 0;
}
.report-section p {
  color: var(--muted);
}
.report-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.stat-list {
  display: grid;
  border-top: 1px solid var(--border);
}
.stat-item {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding: 0.95rem 0;
}
.stat-item:last-child {
  border-bottom: 0;
}
.stat-item p {
  margin-bottom: 0;
}
.stat-item .stat-label {
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
}
.stat-item .stat-value {
  color: var(--text);
  font-weight: 501;
  line-height: 1.55;
}

.material-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.material-card {
  display: grid;
  gap: 0.8rem;
  min-height: 18rem;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  line-height: 1.4;
  padding: 1.1rem;
  text-align: left;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.material-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-lift);
  transform: translateY(-1px);
}
.material-preview {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
}
.material-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--white);
}
.material-preview.is-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    repeating-linear-gradient(45deg,
      rgba(0, 94, 162, 0.045) 0 12px,
      transparent 12px 24px),
    var(--blue-light);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}
.material-card.is-unavailable {
  cursor: default;
}
.material-card.is-unavailable:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: none;
}
.material-card.is-unavailable .material-card-action {
  color: var(--muted);
}
.material-card-action {
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
}
.report-sources {
  border-bottom: 0;
  padding-bottom: 0;
}
.report-sources a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.report-sources a:hover {
  color: var(--blue-dark);
}
.report-sources li {
  font-size: 0.9063rem;
}

.pdf-modal[hidden] {
  display: none;
}
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) + 20);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 56, 91, 0.72);
}
.pdf-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(58rem, 100%);
  height: min(90vh, 60rem);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1rem;
}
.pdf-modal-header h2 {
  font-size: 1rem;
  margin: 0;
}
.pdf-modal-title-group {
  min-width: 0;
}
.pdf-modal-author {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}
.pdf-modal-author a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.pdf-modal-author a:hover {
  color: var(--blue-dark);
}
.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pdf-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.pdf-modal-close:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.pdf-document-stage {
  display: grid;
  place-items: start center;
  min-height: 0;
  overflow: auto;
  padding: 1.25rem;
  background: var(--gray-bg);
}
.pdf-document-stage img {
  display: block;
  width: min(100%, 42rem);
  height: auto;
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
body.modal-open {
  overflow: hidden;
}


/* ============================================================
   15. TEAM CARDS
   ============================================================ */
.team-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-card:target {
  border-color: var(--sky);
  box-shadow: var(--shadow-lift);
  scroll-margin-top: 110px;
}
.grid-5 .team-card {
  grid-template-rows: 123px minmax(2.2rem, auto) minmax(3.25rem, auto) 1fr;
  min-height: 23rem;
  height: auto;
  padding: 1.25rem;
}

/* Photo slot — replace the placeholder inside (see §06) */
.team-photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
}
.team-photo .img-placeholder { min-height: 0; gap: 0.25rem; }
.team-photo .img-placeholder span { font-size: 0.6875rem; }
.grid-5 .team-photo {
  width: 112px;
  height: 112px;
}

.team-name { margin-bottom: 0.15rem; font-size: 1.1rem; }
.team-role {
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  text-wrap: balance;
}
.team-bio {
  color: var(--muted);
  font-size: 0.9063rem;
  min-height: 4.5rem;
}
.grid-5 .team-name,
.grid-5 .team-role,
.grid-5 .team-bio {
  overflow-wrap: anywhere;
}
.grid-5 .team-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

/* ============================================================
   14. CTA BAND (navy strip with action button)
   ============================================================ */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding-block: 3.5rem;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.35rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 36rem; }

/* Quiet homepage CTA variant before the dark footer */
.cta-band-soft {
  background: var(--blue-pale);
  color: var(--text);
  border-block: 1px solid var(--border);
  padding-block: 3rem;
}
.cta-band-soft h2 { color: var(--navy); }
.cta-band-soft p { color: var(--muted); }


/* ============================================================
   18. FORMS & CONTACT PAGE
   ============================================================ */
.form-grid { display: grid; gap: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}
.form-field .optional { font-weight: 400; color: var(--muted); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }

/* Success message (revealed by js/main.js after submit) */
.form-success {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #eaf6ee;
  border: 1px solid #bfe3c9;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #20603a;
  font-weight: 600;
}
.form-success svg { flex-shrink: 0; margin-top: 0.1rem; }
.form-success[hidden] { display: none; }

/* Contact layout: form + sidebar */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.info-card {
  background: var(--blue-light);
  border: 1px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.info-card + .info-card { margin-top: 1.25rem; }
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.info-card h3 svg { color: var(--blue); }
.info-card p { color: var(--muted); font-size: 0.9375rem; }


/* ============================================================
   19. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(7rem, 0.8fr));
  gap: 1.5rem;
  padding-block: 2.4rem 1.8rem;
  align-items: start;
}
.footer-grid > nav,
.footer-grid > div {
  align-self: start;
}

.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tagline { color: rgba(255, 255, 255, 0.95); }
.footer-blurb {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 20rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.6rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.05rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9063rem;
}
.footer-links a:hover { color: var(--white); }


/* ============================================================
   20. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .catalog-library { grid-template-columns: 15rem minmax(0, 1fr); gap: 1.75rem; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid {
    grid-template-columns: minmax(13rem, 1.2fr) repeat(3, minmax(6.25rem, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  .section { padding-block: 3.25rem; }

  /* Mobile navigation: hamburger + dropdown panel */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lift);
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .site-nav a:not(.btn) {
    width: 100%;
    min-height: 48px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  .site-nav a[aria-current="page"] {
    border-left-color: var(--blue);
    border-radius: var(--radius-sm);
    background: var(--blue-light);
  }
  .site-nav .btn { margin: 0.75rem 0 0; width: 100%; }

  .hero-inner {
    min-height: clamp(28rem, 72vh, 38rem);
    padding-block: 4rem;
  }
  .hero-content { max-width: none; }
  /* Copy runs full width here, so wash the whole photo evenly */
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(17, 56, 91, 0.64) 0%,
        rgba(17, 56, 91, 0.74) 100%),
      linear-gradient(0deg,
        rgba(0, 94, 162, 0.18),
        rgba(0, 94, 162, 0.18));
  }
  /* Keep all four reassurance items on one line — stack each
     item's icon above its label so they fit on narrow screens. */
  .trust-item {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    padding: 0.35rem 0.5rem;
  }
  .trust-item:first-child { padding-left: 0.5rem; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .catalog-library { grid-template-columns: 1fr; }
  .topic-nav {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 1.25rem;
  }
  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-two-column { grid-template-columns: 1fr; }
  .stat-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .topic-list { grid-template-columns: 1fr; }
  .material-slots { grid-template-columns: 1fr; }
  .pdf-modal { padding: 0.75rem; }
  .pdf-modal-panel { height: 88vh; }
  .pdf-document-stage { padding: 0.75rem; }
  .pdf-document-stage img { width: 100%; }
  .pdf-modal-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .grid-5 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-actions .btn { width: 100%; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   21. ACCESSIBILITY
   ============================================================ */
/* Skip link appears on first Tab press */
.skip-link {
  position: absolute;
  top: -64px;
  left: 0.75rem;
  z-index: var(--z-skip);
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Anchored headings clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* --- About page: simplified layouts --- */
.about-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.about-copy {
  max-width: 46rem;
}
.about-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
}
.about-copy p:not(.eyebrow),
.standards-head .lede {
  color: var(--muted);
}

.mission-image {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-pale);
}
.mission-image .img-placeholder {
  background: var(--blue-pale);
  border: 0;
  color: var(--muted);
}
.mission-image .img-placeholder svg {
  opacity: 0.55;
}
.mission-image .img-placeholder span {
  color: var(--muted);
  font-weight: 600;
}

.about-impact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}
.about-impact p {
  color: var(--muted);
}
.about-stat {
  border-block: 1px solid var(--border);
  padding-block: 1.5rem;
}
.about-stat-number {
  color: var(--navy) !important;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.about-plain-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.about-plain-list li {
  color: var(--muted);
  padding-block: 0.85rem;
}
.about-plain-list li + li {
  border-top: 1px solid var(--border);
}
.about-source {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 0.75rem;
}

.standards-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.standards-head .lede {
  color: var(--muted);
}
.standards-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.standards-strip li {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.standards-strip span {
  display: block;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.standards-strip h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.standards-strip p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

.review-compact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  align-items: start;
}
.review-copy {
  max-width: 24rem;
}
.review-copy .lede {
  color: var(--muted);
}
.review-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--border);
}
.review-checklist li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  padding-block: 1rem;
}
.review-checklist li + li {
  border-top: 1px solid var(--border);
}
.review-check-icon {
  color: var(--blue);
  margin-top: 0.2rem;
}
.review-check-icon svg {
  display: block;
}
.review-checklist h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.review-checklist p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

.about-quote {
  border-block: 1px solid var(--border);
}
.about-quote blockquote {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.about-quote .quote-text {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
}
.about-quote .quote-attr {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .about-overview,
  .about-impact,
  .review-compact {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .standards-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .review-checklist li {
    grid-template-columns: 28px 1fr;
    gap: 0.8rem;
  }
}


/* ============================================================
   23. HOME PAGE — bespoke layouts
   (what-we-do panel, process timeline, catalog preview)
   ============================================================ */

/* --- What we do: simple editorial split with feature rows --- */
.home-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 4rem;
  align-items: center;
}
.panel-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}
.panel-body h2 { margin-bottom: 0.5rem; }
.panel-body > .lede { margin-bottom: 1.75rem; }
.feature-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}
.feature-row .icon-badge {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
}
.feature-row .icon-badge svg {
  width: 20px;
  height: 20px;
}
.feature-row h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature-row p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 0.3rem;
}
.feature-row .text-link { min-height: 0; font-size: 0.9063rem; }

/* --- Our process: quiet three-column steps --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-step {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}
.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--sky);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
}
.timeline-step h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.timeline-step h3 svg { color: var(--blue); }
.timeline-step p {
  color: var(--muted);
  font-size: 0.9688rem;
  max-width: 22rem;
}

/* --- Featured materials: compact catalog preview --- */
.home-catalog {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) 1.4fr;
  gap: 3rem;
  align-items: center;
}

.home-catalog-intro {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.home-catalog-intro h2 { margin-bottom: 0.5rem; }
.home-catalog-intro p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 1rem;
}

.catalog-format-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.catalog-format-strip span {
  border: 1px solid var(--sky);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.45rem 0.65rem;
}

.home-catalog-list {
  border-block: 1px solid var(--border);
}

.home-catalog-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  padding-block: 1.1rem;
}
.home-catalog-item + .home-catalog-item {
  border-top: 1px solid var(--border);
}

.home-catalog-thumb {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--blue-pale);
}
.home-catalog-thumb .img-placeholder {
  gap: 0.25rem;
  min-height: 0;
  padding: 0.55rem;
}
.home-catalog-thumb .img-placeholder span {
  font-size: 0.625rem;
}

.home-catalog-meta {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.home-catalog-copy h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.home-catalog-copy h3 a { color: var(--navy); }
.home-catalog-copy h3 a:hover { color: var(--blue); }
.home-catalog-copy p:not(.home-catalog-meta) {
  color: var(--muted);
  font-size: 0.9063rem;
  margin: 0;
}

.home-panel .img-placeholder,
.home-catalog .img-placeholder {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  color: var(--muted);
}
.home-panel .img-placeholder svg,
.home-catalog .img-placeholder svg {
  opacity: 0.55;
}
.home-panel .img-placeholder span,
.home-catalog .img-placeholder span {
  color: var(--muted);
  font-weight: 600;
}

/* --- Home page responsive --- */
@media (max-width: 1024px) {
  .home-panel { grid-template-columns: 1fr; gap: 2rem; }
  .panel-media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.25rem;
    padding: 1.25rem 0;
  }
  .timeline-dot { margin: 0; }
  .timeline-step p { margin-inline: 0; max-width: none; }

  .home-catalog {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .trust-item {
    font-size: 0.72rem;
    gap: 0.3rem;
    padding: 0.35rem 0.3rem;
    line-height: 1.3;
  }
  .trust-item:first-child { padding-left: 0.3rem; }
  .feature-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .home-catalog-intro { padding: 1.25rem; }
  .home-catalog-item { grid-template-columns: 64px 1fr; gap: 0.85rem; }
}


/* ============================================================
   24. RESPONSIVE HARDENING
   Final pass for small screens across all pages.
   ============================================================ */
html,
body {
  width: 100%;
  overflow-x: clip;
}

main,
section,
.container,
.site-header,
.site-nav,
.site-footer {
  min-width: 0;
}

h1,
h2,
h3,
p,
li,
a,
button,
input,
select,
textarea {
  overflow-wrap: break-word;
}

.report-sources a,
.footer-links a,
.info-card a {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 68px;
  }

  .site-nav a:not(.btn) {
    padding-inline: 0.65rem;
    font-size: 0.9375rem;
  }

  .site-nav .btn {
    margin-left: 0.35rem;
  }
}

@media (max-width: 860px) {
  .container {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .header-inner {
    position: relative;
    gap: 0.75rem;
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-tagline {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .site-nav {
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .site-nav a:not(.btn),
  .site-nav .btn {
    justify-content: flex-start;
    min-height: 46px;
  }

  .page-header {
    padding-block: 2rem 2.25rem;
  }

  .section {
    padding-block: 3rem;
  }

  .hero-inner {
    padding-block: 3rem;
  }

  .mission-image,
  .panel-media {
    max-height: 420px;
  }

  .catalog-library,
  .home-panel,
  .home-catalog,
  .about-overview,
  .about-impact,
  .review-compact,
  .contact-layout {
    gap: 1.75rem;
  }

  .topic-nav {
    margin-inline: calc(clamp(1rem, 4vw, 1.5rem) * -1);
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .topic-list {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .topic-button {
    flex: 0 0 min(72vw, 14rem);
    min-height: 46px;
    scroll-snap-align: start;
  }

  .topic-panel {
    max-width: none;
  }

  .material-card {
    min-height: 0;
  }

  .footer-grid {
    padding-block: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.9688rem;
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  .lede {
    font-size: 1.03rem;
  }

  .section-head {
    margin-bottom: 2rem;
    text-align: left;
  }

  .section-head .lede {
    margin-inline: 0;
  }

  .hero-actions,
  .cta-band-inner {
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding-inline: 1rem;
    text-align: center;
  }

  .text-link {
    width: fit-content;
  }

  .trust-bar-inner {
    gap: 0;
  }

  .trust-item {
    min-height: 40px;
  }

  .feature-card,
  .contact-panel,
  .info-card,
  .home-catalog-intro,
  .team-card {
    padding: 1.25rem;
  }

  .grid-5 .team-card {
    min-height: 0;
    padding: 1.25rem;
  }

  .grid-5 .team-bio {
    display: block;
    overflow: visible;
  }

  .team-role,
  .team-bio {
    min-height: 0;
  }

  .report-header {
    margin-bottom: 1.35rem;
    padding-bottom: 1.1rem;
  }

  .report-grid {
    gap: 1.35rem;
  }

  .report-section,
  .report-section-open {
    padding-bottom: 1.35rem;
  }

  .material-slots {
    grid-template-columns: 1fr;
  }

  .material-preview {
    max-height: 24rem;
  }

  .pdf-modal {
    padding: 0;
  }

  .pdf-modal-panel {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    border-inline: 0;
  }

  .pdf-modal-header {
    flex-direction: row;
    align-items: center;
    padding: 0.75rem;
  }

  .pdf-modal-header h2 {
    min-width: 0;
  }

  .pdf-modal-actions {
    flex-shrink: 0;
  }

  .pdf-modal-actions .btn {
    width: auto;
  }

  .pdf-document-stage {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    padding-inline: 0.85rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    flex: 0 0 44px;
  }

  .page-header {
    padding-block: 1.6rem 1.9rem;
  }

  .section {
    padding-block: 2.5rem;
  }

  .hero-inner {
    padding-block: 2.5rem;
    gap: 1.5rem;
  }

  .mission-image,
  .panel-media {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .feature-row {
    padding-block: 1rem;
  }

  .home-catalog-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .home-catalog-thumb {
    align-self: start;
  }

  .topic-nav {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .topic-button {
    flex-basis: min(78vw, 13rem);
  }

  .stat-item {
    padding-block: 0.85rem;
  }

  .pdf-modal-header {
    gap: 0.6rem;
  }

  .pdf-modal-actions .btn {
    min-height: 38px;
    padding: 0.45rem 0.65rem;
    font-size: 0.875rem;
  }

  .pdf-modal-close {
    width: 38px;
    height: 38px;
  }

  .footer-grid {
    gap: 1.15rem;
    padding-block: 1.75rem 1.35rem;
  }
}
