:root {
  --bg: #f5f0e7;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 252, 246, 0.94);
  --surface-strong: #fffdfa;
  --ink: #1e3154;
  --ink-soft: #3c4d69;
  --muted: #5f6b7d;
  --accent: #183b73;
  --accent-soft: #6687a6;
  --ocean: #7fa7b4;
  --sand: #d8c8a7;
  --line: rgba(30, 49, 84, 0.14);
  --line-strong: rgba(30, 49, 84, 0.22);
  --shadow: 0 18px 40px rgba(37, 48, 67, 0.08);
  --shadow-soft: 0 8px 22px rgba(37, 48, 67, 0.06);
  --radius: 0rem;
  --radius-large: 0rem;
  --content-width: min(1680px, calc(100vw - 2rem));
  --nav-height: 2.4rem;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  --type-display: 4.25rem;
  --type-page-title: 3.75rem;
  --type-section: 2.45rem;
  --type-card-title: 1.45rem;
  --type-body: 1rem;
  --type-meta: 0.82rem;
  --type-hero: clamp(3.1rem, 5vw, 4.6rem);
  --type-lede: 1.05rem;
  --type-label: 0.82rem;
  --type-small: 0.875rem;
  --type-evidence: 1.45rem;
  --leading-heading: 1.03;
  --leading-body: 1.42;
  --leading-prose: 1.52;
  --leading-display: 0.96;
  --leading-lede: 1.45;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 20rem),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 100%);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-kerning: normal;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  line-height: 1.2;
}

p,
li,
dd {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 1.5rem);
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  border: 2px solid var(--accent);
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 0.2rem;
}

@media print {
  .skip-link { display: none !important; }
}

.site-frame {
  width: var(--content-width);
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  border: 1px solid var(--line-strong);
  border-radius: 0rem;
  background: rgba(255, 251, 245, 0.78);
  box-shadow: 0 20px 50px rgba(45, 58, 82, 0.08);
  overflow-x: clip;
}

@media screen {
  .site-frame {
    container-name: site-shell;
    container-type: inline-size;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--nav-height);
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1;
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
  min-height: var(--nav-height);
  padding: 0 1.35rem;
}

.nav-shell {
  justify-content: space-between;
}

.site-mark,
.footer-brand,
.hero__title,
.section-heading h2,
.overview-card h2,
.day-focus__title,
.basecamp-header h2 {
  font-family: var(--font-display);
}

.site-mark,
.footer-brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-mark span {
  margin-left: 0.18em;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: clamp(0.85rem, 1.55vw, 1.55rem);
  flex: 1;
  min-width: 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--nav-height);
  padding: 0.05rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 4px;
  background: var(--accent);
}

.site-mark:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible,
.footer-acknowledgement a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.22rem;
}

.nav-tools {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.85rem;
  color: var(--ink);
  line-height: 1;
}

.nav-tools__chip {
  font-size: 0.78rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.045em;
  color: var(--ink-soft);
}

.nav-tools__icon {
  font-size: 1.2rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars {
  display: grid;
  gap: 0.24rem;
}

.nav-toggle__bars span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* Reuse the compact header when enlarged text consumes the available frame. */
@container site-shell (max-width: calc(54.25rem - 2px)) {
  .site-header {
    --nav-height: 3.35rem;
  }

  .nav-toggle {
    display: flex !important;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 60;
    margin-left: auto;
    width: 2.75rem;
    height: 2.75rem;
    transform: none;
    border-color: var(--line-strong);
    background: rgba(255, 251, 245, 0.98);
  }

  .nav-shell {
    position: relative;
    min-height: var(--nav-height);
    gap: 0.8rem;
    padding: 0 0.9rem;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--nav-height) + 0.4rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 0rem;
    background: rgba(255, 251, 245, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.82rem 0.85rem;
    font-size: 0.96rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a[aria-current="page"]::after {
    left: 0.85rem;
    right: auto;
    bottom: 0.42rem;
    width: 2.5rem;
  }

  .nav-tools {
    display: none;
  }

  .site-mark {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }
}

.page-shell {
  min-width: 0;
  padding: 0 1.35rem 1.35rem;
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.hero__eyebrow,
.section-kicker,
.overview-card__eyebrow,
.ops-sidebar__kicker,
.theme-card__eyebrow,
.stack-card__meta {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.045em;
  line-height: 1.18;
}

.hero__title,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  line-height: var(--leading-heading);
  overflow-wrap: normal;
  word-break: normal;
}

.hero__title {
  font-size: var(--type-page-title);
}

.hero__lede,
.section-heading p,
.footer-copy,
.overview-card p,
.ops-card p {
  color: var(--ink-soft);
}

.hero__lede {
  max-width: 56ch;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: var(--leading-prose);
}

.section-heading p,
.overview-card p,
.ops-card p,
.stack-card p,
.theme-card p,
.info-panel p {
  line-height: var(--leading-prose);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid rgba(24, 59, 115, 0.22);
  border-radius: 0.0rem;
  background: rgba(255, 252, 246, 0.96);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
}

.button:hover {
  border-color: #17345f;
  background: #17345f;
  color: var(--surface-strong);
}

.button--ghost {
  border-color: rgba(24, 59, 115, 0.16);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
}

.button--slate {
  border-color: #17345f;
  background: #17345f;
  color: var(--surface-strong);
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.section {
  padding-top: 2rem;
}

.legacy-archive-notice {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(129, 80, 22, 0.28);
  background: #fff6e3;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.legacy-archive-notice a {
  color: var(--accent);
  font-weight: 800;
}

.legacy-archive-hero {
  min-height: auto;
}

.legacy-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-archive-card {
  display: grid;
  gap: 0.45rem;
  min-height: 12rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.legacy-archive-card span,
.legacy-archive-card small {
  color: var(--muted);
}

.legacy-archive-card span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.legacy-archive-card strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.05;
}

.legacy-archive-card--current {
  border-color: rgba(24, 59, 115, 0.28);
  background: #f4f8fb;
}

.legacy-redirect-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.section-heading {
  width: min(45rem, 100%);
  margin-bottom: 1.25rem;
}

.section-heading--compact {
  width: 100%;
}

.metric-grid,
.theme-grid,
.album-grid,
.people-grid,
.two-column-grid,
.three-column-grid,
.link-grid,
.calendar-grid {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-grid,
.three-column-grid,
.calendar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-column-grid,
.link-grid,
.album-grid,
.people-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.theme-card,
.album-card,
.person-card,
.split-callout,
.stack-card,
.table-card,
.map-stage,
.map-sidebar > *,
.info-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.metric-card,
.theme-card,
.album-card__body,
.person-card__body,
.stack-card,
.table-card,
.map-stage,
.info-panel {
  padding: 1.1rem;
  overflow-wrap: anywhere;
}

.metric-card__value,
.info-panel__value {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.metric-card__value {
  font-size: 2.45rem;
}

.metric-card__label,
.info-panel__label,
.stack-card__meta,
.album-card__meta {
  color: var(--muted);
}

.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1rem;
  padding: 1.25rem;
}

.panel-stack,
.stack-list {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.panel-fill {
  height: 100%;
  padding: 1.1rem;
}

.theme-card h3,
.stack-card h3,
.album-card h3,
.person-card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 1.28rem;
  font-family: var(--font-display);
  line-height: 1.12;
}

.theme-card h2,
.checklist-card h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero--documents .hero__title {
  font-size: 3.1rem;
}

.section--documents {
  padding-top: 1rem;
}

.documents-board {
  display: grid;
  gap: 0.9rem;
}

.documents-group {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.documents-group h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.05;
}

.documents-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.42rem;
  align-items: start;
}

.documents-tile-grid--permits {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.document-tile {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(30, 49, 84, 0.14);
  background: rgba(255, 252, 246, 0.72);
}

.document-tile[open] {
  z-index: 20;
  background: rgba(255, 252, 246, 0.96);
}

.document-summary {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  min-height: 3.15rem;
  padding: 0.55rem 1.95rem 0.55rem 0.65rem;
  cursor: pointer;
  list-style: none;
}

.document-tile--reference .document-summary {
  grid-template-columns: minmax(0, 1fr);
}

.document-summary::-webkit-details-marker {
  display: none;
}

.document-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.document-summary__title {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.document-summary__expand {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(24, 59, 115, 0.18);
  background: rgba(255, 252, 246, 0.88);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease-out;
}

.document-tile[open] .document-summary__expand {
  transform: rotate(45deg);
}

.document-status-mark {
  display: inline-block;
  width: 0.68rem;
  height: 0.68rem;
  margin-top: 0.16rem;
  border: 1px solid rgba(30, 49, 84, 0.18);
  border-radius: 999px;
  background: rgba(111, 120, 136, 0.22);
}

.document-status-mark--permission-granted {
  border-color: rgba(47, 143, 97, 0.34);
  background: rgba(47, 143, 97, 0.72);
}

.document-status-mark--submitted {
  border-color: rgba(24, 59, 115, 0.34);
  background: rgba(24, 59, 115, 0.72);
}

.document-status-mark--submitted-support-document {
  border-color: rgba(127, 167, 180, 0.46);
  background: rgba(127, 167, 180, 0.72);
}

.document-summary__text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.document-summary__meta {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-summary__year {
  position: absolute;
  right: 1.75rem;
  bottom: -0.08rem;
  z-index: 0;
  color: rgba(24, 59, 115, 0.25);
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-variant-numeric: tabular-nums;
  line-height: 0.82;
  pointer-events: none;
}

.document-detail {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 40;
  display: grid;
  gap: 0.6rem;
  width: min(29rem, calc(100vw - 2rem));
  max-height: min(70vh, 32rem);
  padding: 0.65rem;
  overflow: auto;
  border: 1px solid rgba(30, 49, 84, 0.18);
  background: var(--surface-strong);
  box-shadow: 0 18px 40px rgba(37, 48, 67, 0.14);
}

.document-tile.is-overlay-right .document-detail {
  right: 0;
  left: auto;
}

.document-tile.is-overlay-left .document-detail {
  right: auto;
  left: 0;
}

.document-detail__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.12;
}

.document-detail-grid {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
}

.document-detail-grid div {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.document-detail-grid dt,
.document-detail-grid dd {
  margin: 0;
}

.document-detail-grid dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.045em;
}

.document-detail-grid dd {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: var(--leading-prose);
  overflow-wrap: anywhere;
}

@media (min-width: 900px) {
  .documents-tile-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .documents-tile-grid--permits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.field-meta-grid {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
}

.field-meta-grid div {
  display: grid;
  grid-template-columns: minmax(4.7rem, auto) minmax(0, 1fr);
  gap: 0.7rem;
  min-width: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(30, 49, 84, 0.08);
}

.field-meta-grid dt,
.field-meta-grid dd {
  margin: 0;
}

.field-meta-grid dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.045em;
}

.field-meta-grid dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.button--compact {
  justify-self: start;
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.86rem;
}

.empty-copy {
  color: var(--muted);
}

.readiness-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.readiness-strip span {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.78);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.readiness-strip strong,
.checklist-card__header span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.checklist-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.checklist-card__header p {
  margin-bottom: 0;
}

.checklist-card__header span {
  flex: 0 0 auto;
}

.field-checklist {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.field-checklist li {
  position: relative;
  min-width: 0;
  padding-left: 1.55rem;
  overflow-wrap: anywhere;
}

.field-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 1px solid rgba(24, 59, 115, 0.26);
  border-radius: 0.12rem;
  background: rgba(255, 252, 246, 0.82);
}

.bullet-list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
}

.bullet-list li + li {
  margin-top: 0.35rem;
}

.quick-link-card {
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.status-badge--soft {
  background: rgba(24, 59, 115, 0.08);
  color: var(--accent);
  border: 1px solid rgba(24, 59, 115, 0.12);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: 1rem;
}

.map-stage {
  min-height: 24rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
  gap: 0.8rem clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  min-height: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--line);
}

.footer-identity {
  min-width: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-copy {
  margin-bottom: 0;
}

.footer-acknowledgement {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0.8rem;
  padding-inline-end: max(0rem, calc(100% - 75ch));
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--type-small);
  line-height: 1.5;
}

.footer-acknowledgement a,
.overview-stage--home .hero__funding a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(24, 59, 115, 0.36);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.footer-acknowledgement a:hover,
.overview-stage--home .hero__funding a:hover {
  text-decoration-color: currentColor;
}

.overview-stage--home .hero__funding a {
  color: inherit;
  text-decoration-color: rgba(255, 253, 250, 0.58);
}

.overview-stage--home .hero__funding a:focus-visible {
  outline: 2px solid var(--surface-strong);
  outline-offset: 0.22rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.8rem;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.045em;
}

@media (max-width: 1100px) {
  .metric-grid,
  .theme-grid,
  .album-grid,
  .people-grid,
  .two-column-grid,
  .three-column-grid,
  .link-grid,
  .calendar-grid,
  .legacy-archive-grid,
  .split-callout,
  .map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 3.35rem;
  }

  .site-frame {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-toggle {
    display: flex !important;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 60;
    margin-left: auto;
    width: 2.75rem;
    height: 2.75rem;
    transform: none;
    border-color: var(--line-strong);
    background: rgba(255, 251, 245, 0.98);
  }

  .nav-shell,
  .footer-shell {
    padding: 0 0.9rem;
  }

  .nav-shell {
    position: relative;
    min-height: var(--nav-height);
    gap: 0.8rem;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--nav-height) + 0.4rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 0rem;
    background: rgba(255, 251, 245, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.82rem 0.85rem;
    font-size: 0.96rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a[aria-current="page"]::after {
    left: 0.85rem;
    right: auto;
    bottom: 0.42rem;
    width: 2.5rem;
  }

  .nav-tools {
    display: none;
  }

  .site-mark {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 1;
    min-width: 0;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .page-shell {
    width: 100%;
    max-width: 100vw;
    padding: 0 0.9rem 0.9rem;
  }

  .hero__title {
    font-size: 3.15rem;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

}

@media (max-width: 640px) {
  .readiness-strip {
    grid-template-columns: 1fr;
  }

  .checklist-card__header {
    display: grid;
  }

  .documents-tile-grid,
  .documents-tile-grid--permits {
    grid-template-columns: 1fr;
  }

  .documents-board,
  .documents-group,
  .document-tile {
    width: 100%;
    max-width: 100%;
  }

  .document-summary__title {
    -webkit-line-clamp: 3;
  }

  .document-detail,
  .document-tile.is-overlay-right .document-detail,
  .document-tile.is-overlay-left .document-detail {
    right: auto;
    left: 0;
    width: 100%;
  }

  .field-meta-grid div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .field-meta-grid dd {
    max-width: min(100%, 31ch);
    line-height: var(--leading-prose);
  }

  .hero__title {
    max-width: min(100%, 14ch);
    font-size: 2.7rem;
  }

  .hero__lede,
  .section-heading p,
    .overview-card p,
    .overview-card li,
    .ops-card p,
    .ops-card li,
    .stack-card h3,
    .stack-card p,
    .stack-card li,
    .document-detail-grid dd,
  .field-checklist li {
    max-width: min(100%, 31ch);
  }

  .nav-shell,
  .footer-shell,
  .page-shell {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-acknowledgement {
    grid-column: 1;
  }
}
