/* =========================================================================
   ZNPHI Verbal Autopsy CMS - house style
   Brand values sampled from ww2.znphi.co.zm:
     green #0b8d43 · orange #f0862d · ink #3a3a3a · Roboto / Montserrat
   The site is deliberately light-only, matching the institute's web estate.
   ========================================================================= */

:root {
  /* Brand */
  --green: #0b8d43;
  --green-dark: #076b32;
  --green-darker: #055324;
  --green-mid: #2ba167;
  --green-soft: #e8f4ec;
  --orange: #f0862d;
  --orange-dark: #d3701c;
  --orange-soft: #fdf1e6;

  /* Ink & surfaces */
  --ink: #22262a;
  --ink-2: #52565b;
  --muted: #7a8087;
  --surface: #ffffff;
  --plane: #f5f6f5;
  --plane-2: #eceeec;
  --topbar: #c9c9c9;
  --line: #e2e4e2;
  --line-strong: #cfd2cf;

  /* Type */
  --sans: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Montserrat", "Roboto", "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --shell: 1240px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 32, 0.06), 0 1px 3px rgba(16, 24, 32, 0.05);
  --shadow: 0 2px 6px rgba(16, 24, 32, 0.07), 0 8px 24px rgba(16, 24, 32, 0.06);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 .6rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: #fff; padding: .7rem 1.1rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- topbar */
.topbar {
  background: var(--topbar);
  font-size: .82rem;
}
.topbar .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 42px;
}
.topbar__meta { color: #3f4347; font-weight: 500; }
.topbar__social { display: flex; gap: .4rem; align-items: center; }
.topbar__social a {
  width: 26px; height: 26px; border-radius: 3px;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
}
.topbar__social a:hover { background: var(--green-dark); text-decoration: none; }
.topbar__social svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------------------------------------------------------------- header */
.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.masthead .shell {
  display: flex; align-items: center; gap: 2rem;
  min-height: 92px;
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand:hover { text-decoration: none; }
.brand__mark { width: auto; height: 60px; flex: none; }
.brand__text { line-height: 1.05; }
.brand__name {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--ink); letter-spacing: .04em; display: block;
}
.brand__sub {
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; display: block;
}

.nav { margin-left: auto; }
.nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: .15rem;
}
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .35rem;
  padding: .85rem .8rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .045em;
  text-transform: uppercase; color: #4a4f54;
  border-bottom: 3px solid transparent;
}
.nav__link:hover,
.nav__item--active > .nav__link {
  color: var(--green); text-decoration: none;
  border-bottom-color: var(--green);
}
.nav__caret { width: 9px; height: 9px; fill: currentColor; opacity: .7; }

.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 268px;
  background: #fff; border-top: 3px solid var(--green);
  box-shadow: var(--shadow); padding: .4rem 0; margin: 0;
  list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block; padding: .55rem 1.1rem;
  font-size: .87rem; color: #4a4f54;
}
.nav__sub a:hover {
  background: var(--green-soft); color: var(--green-dark); text-decoration: none;
}

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--green); color: #fff; border: 0; border-radius: var(--radius);
  padding: .55rem .8rem; font: inherit; font-weight: 700; cursor: pointer;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  min-height: 460px;
  display: grid; align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--green-darker);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg svg,
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 32, 16, .88) 0%, rgba(4, 32, 16, .62) 46%, rgba(4, 32, 16, .28) 100%);
}
.hero .shell { position: relative; padding: 4rem 0; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 1rem;
  background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; padding: .38rem .85rem; border-radius: 2px;
}
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: .8rem; }
.hero__sub {
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  max-width: 46ch; color: rgba(255, 255, 255, .93); margin-bottom: 1.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero__dots {
  position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .45rem; z-index: 2;
}
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer;
}
.hero__dot[aria-current="true"] { background: var(--green); box-shadow: 0 0 0 2px #fff; }

/* ----------------------------------------------------------------- units */
.units { background: var(--orange); }
.units .shell { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.units__label {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); letter-spacing: .06em;
  display: flex; align-items: center; padding: 1.1rem 1.6rem 1.1rem 0;
  margin-right: auto;
}
.units__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .45rem; min-width: 168px; padding: 1.15rem 1.4rem;
  color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: .06em;
  text-transform: uppercase; text-align: center;
}
.units__tile:nth-of-type(odd) { background: var(--green); }
.units__tile:nth-of-type(even) { background: var(--green-mid); }
.units__tile:hover { background: var(--green-dark); text-decoration: none; }
.units__tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.35rem; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: .84rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-dark); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--green-dark); }
.btn--outline { border-color: var(--green); color: var(--green-dark); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--sm { padding: .45rem .9rem; font-size: .74rem; }

/* -------------------------------------------------------------- sections */
.section { padding: 3.4rem 0; }
.section--plane { background: var(--plane); }
.section--tight { padding: 2.2rem 0; }

.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-head--left { text-align: left; }
.section-head h2 { margin-bottom: .35rem; }
.section-head p { color: var(--ink-2); max-width: 62ch; margin-inline: auto; }
.section-head--left p { margin-inline: 0; }
.section-head__rule {
  width: 68px; height: 4px; background: var(--orange);
  margin: .9rem auto 0; border-radius: 2px;
}
.section-head--left .section-head__rule { margin-inline: 0; }

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------------------------------------------------------- page banner */
.banner {
  background: var(--green-dark);
  color: #fff; padding: 2.6rem 0;
  border-bottom: 5px solid var(--orange);
}
.banner h1 { color: #fff; margin-bottom: .3rem; }
.banner p { color: rgba(255, 255, 255, .9); max-width: 68ch; margin: 0; }
.crumbs {
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78); margin-bottom: .7rem; font-weight: 600;
}
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: #fff; }

/* ------------------------------------------------------------ stat tiles */
.stats {
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: #fff; padding: 1.5rem 1.3rem; }
.stat__value {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  color: var(--green-dark); line-height: 1.05;
}
.stat__unit { font-size: .95rem; color: var(--ink-2); font-weight: 600; margin-left: .25rem; }
.stat__label {
  font-size: .74rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink); margin-top: .5rem;
}
.stat__caption { font-size: .82rem; color: var(--muted); margin-top: .25rem; line-height: 1.45; }

/* ----------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .16s ease, transform .16s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { aspect-ratio: 16 / 9; background: var(--plane-2); position: relative; }
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.02rem; margin-bottom: .4rem; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--green-dark); }
.card__text { font-size: .89rem; color: var(--ink-2); margin-bottom: .9rem; }
.card__foot {
  margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-size: .78rem; color: var(--muted);
}

.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .22rem .6rem; border-radius: 2px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: var(--green-soft); color: var(--green-dark);
}
.chip--accent { background: var(--orange-soft); color: #9a4e0c; }

/* ------------------------------------------------------------ pillar card */
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.3rem; border-top: 4px solid var(--green);
  transition: box-shadow .16s ease, transform .16s ease;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; margin-bottom: .9rem;
}
.pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pillar h3 { font-size: 1rem; margin-bottom: .35rem; }
.pillar p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------------- charts */
.figure {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.1rem;
  display: flex; flex-direction: column;
}
.figure--wide { grid-column: 1 / -1; }
.figure__head { margin-bottom: 1rem; }
.figure__title { font-size: 1.02rem; margin-bottom: .18rem; }
.figure__sub { font-size: .84rem; color: var(--ink-2); margin: 0; }
.figure__canvas { position: relative; height: 300px; }
.figure__canvas--tall { height: 400px; }
.figure__legend {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  margin: .85rem 0 0; padding: 0; list-style: none;
  font-size: .8rem; color: var(--ink-2);
}
.figure__legend li { display: flex; align-items: center; gap: .4rem; }
.figure__swatch { width: 11px; height: 11px; border-radius: 2px; flex: none; }
.figure__note {
  margin: .8rem 0 0; font-size: .78rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: .7rem; line-height: 1.5;
}
.figure__table { margin-top: .6rem; }
.figure__table summary {
  cursor: pointer; font-size: .78rem; font-weight: 700; color: var(--green-dark);
  letter-spacing: .04em; padding: .3rem 0;
}
.figure__table summary:hover { text-decoration: underline; }
.figure__table .table-wrap { max-height: 320px; overflow: auto; margin-top: .5rem; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%; border-collapse: collapse; font-size: .87rem;
  font-variant-numeric: tabular-nums;
}
table.data caption {
  text-align: left; font-size: .78rem; color: var(--muted);
  padding-bottom: .5rem;
}
table.data th,
table.data td {
  text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line);
}
table.data thead th {
  background: var(--plane); color: var(--ink);
  font-size: .72rem; letter-spacing: .07em; text-transform: uppercase;
  position: sticky; top: 0;
}
table.data td.num, table.data th.num { text-align: right; }
table.data tbody tr:hover { background: var(--green-soft); }

/* ---------------------------------------------------------------- meters */
.meter {
  height: 8px; background: var(--plane-2); border-radius: 4px; overflow: hidden;
}
.meter__fill { height: 100%; background: var(--green); border-radius: 4px; }
.metric-row {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line);
}
.metric-row__label { font-weight: 600; font-size: .92rem; }
.metric-row__value { font-weight: 700; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.metric-row .meter { grid-column: 1 / -1; }

/* ----------------------------------------------------------------- lists */
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.doc__icon {
  width: 44px; height: 52px; flex: none; border-radius: 3px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid rgba(11, 141, 67, .22);
}
.doc__body { flex: 1; min-width: 0; }
.doc__title { font-size: .98rem; font-weight: 700; margin: 0 0 .2rem; }
.doc__title a { color: var(--ink); }
.doc__title a:hover { color: var(--green-dark); }
.doc__meta { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .2rem .9rem; }
.doc__text { font-size: .88rem; color: var(--ink-2); margin: .35rem 0 0; }

/* --------------------------------------------------------------- filters */
.filters {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  margin-bottom: 1.6rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.filters__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-right: .3rem;
}
.filter-pill {
  padding: .38rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .8rem; color: var(--ink-2); background: #fff;
}
.filter-pill:hover { border-color: var(--green); color: var(--green-dark); text-decoration: none; }
.filter-pill[aria-current="true"] {
  background: var(--green); border-color: var(--green); color: #fff; font-weight: 600;
}

/* ----------------------------------------------------------------- forms */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink); margin-bottom: .35rem;
}
.field-control {
  width: 100%; padding: .65rem .8rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; font-size: .92rem; color: var(--ink); background: #fff;
}
.field-control:focus { border-color: var(--green); outline: 2px solid rgba(11, 141, 67, .25); outline-offset: 0; }
.field .helptext, .field .errorlist { font-size: .78rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.field .errorlist { color: #b3261e; }

.alert {
  padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.4rem;
  border-left: 4px solid var(--green); background: var(--green-soft); font-size: .92rem;
}

.searchbar { display: flex; gap: .5rem; max-width: 520px; }
.searchbar input { flex: 1; }

/* --------------------------------------------------------------- prose */
.prose { max-width: 72ch; }
.prose p { color: var(--ink-2); }
.prose h2 { margin-top: 2rem; }
.prose ul { color: var(--ink-2); padding-left: 1.2rem; }

.layout {
  display: grid; gap: 2.4rem;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}
.sidebar {
  background: var(--plane); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem;
}
.sidebar h3 {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-dark); padding-bottom: .6rem; margin-bottom: .8rem;
  border-bottom: 2px solid var(--orange);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; font-size: .89rem; }
.sidebar li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.sidebar li:last-child { border-bottom: 0; }

/* -------------------------------------------------------------- partners */
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; display: grid; place-items: center; text-align: center;
  min-height: 108px; gap: .4rem;
}
.partner__acronym {
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--green-dark);
}
.partner__name { font-size: .74rem; color: var(--muted); line-height: 1.35; }

/* --------------------------------------------------------------- pager */
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.2rem; }
.pager a, .pager span {
  padding: .45rem .8rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius); font-size: .85rem; color: var(--ink-2);
}
.pager .is-current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }

/* ------------------------------------------------------------------ cta */
.cta {
  background: var(--green-dark); color: #fff; border-radius: var(--radius);
  padding: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
}
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 56ch; }

/* --------------------------------------------------------------- footer */
.footer { background: #22282b; color: #b9c0c3; font-size: .88rem; }
.footer a { color: #b9c0c3; }
.footer a:hover { color: #fff; }
.footer__top { padding: 3rem 0 2rem; }
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}
.footer h4 {
  color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .9rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .28rem 0; }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer__brand .brand__mark {
  height: 72px; background: #fff; padding: 6px; border-radius: 6px;
}
.footer__brand .brand__sub { color: #b9c0c3; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .11);
  padding: 1.1rem 0; font-size: .8rem;
}
.footer__bar .shell {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  align-items: center; justify-content: space-between;
}

.demo-flag {
  background: var(--orange-soft); border-top: 1px solid rgba(240, 134, 45, .35);
  border-bottom: 1px solid rgba(240, 134, 45, .35);
  color: #8a4a10; font-size: .8rem; padding: .55rem 0;
}
.demo-flag strong { color: #6d3a0c; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: var(--shadow); max-height: 76vh; overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .masthead .shell { position: relative; min-height: 74px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
  .nav__link:hover, .nav__item--active > .nav__link { border-bottom-color: var(--line); }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; background: var(--plane); padding: 0;
  }
  .nav__sub a { padding-left: 2.2rem; border-bottom: 1px solid var(--line); }
  .nav__caret { display: none; }

  .units .shell { flex-direction: column; }
  .units__label { padding: 1rem 0; margin-right: 0; }
  .units__tile { width: 100%; flex-direction: row; justify-content: flex-start; }
  .hero { min-height: 380px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(4, 32, 16, .72) 0%, rgba(4, 32, 16, .86) 100%); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .topbar__meta { display: none; }
  .topbar .shell { justify-content: center; }
  .cta { text-align: center; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .masthead, .units, .footer, .hero__dots, .btn { display: none !important; }
  body { font-size: 11pt; }
  .figure { break-inside: avoid; border-color: #999; }
}
