:root {
  --primary: #0055a4;
  --secondary: #003366;
  --ink: #061742;
  --accent: #d52b1e;
  --accent-on-dark: #ff7a6e;
  --background: #ffffff;
  --surface: #f7fafd;
  --surface-strong: #edf4fb;
  --text: #111827;
  --muted: #536172;
  --line: #d8e2ec;
  --line-strong: #aac0d8;
  --focus: #d52b1e;
  --ok: #188452;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(0, 51, 102, 0.12);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--primary);
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--secondary);
}

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

.container {
  width: min(100% - 2rem, var(--container));
  min-width: 0;
  margin-inline: auto;
}

.narrow > * {
  max-width: 880px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--secondary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--secondary);
  text-decoration: none;
}

.brand > span:last-child {
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-left: 4px solid var(--accent);
  color: var(--secondary);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__name {
  display: block;
  color: var(--secondary);
  font-weight: 850;
  line-height: 1.08;
}

.brand__line {
  display: block;
  color: var(--primary);
  font-size: 0.9rem;
  line-height: 1.2;
}

.primary-nav {
  justify-self: end;
  display: flex;
  gap: clamp(0.8rem, 2.3vw, 2rem);
  align-items: center;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--secondary);
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 160ms ease;
}

.primary-nav a[aria-current],
.primary-nav a:hover {
  color: var(--primary);
}

.primary-nav a[aria-current]::after,
.primary-nav a:hover::after {
  transform: scaleX(1);
}

.primary-nav .nav-action {
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--primary);
  border-radius: 2px;
  background: var(--primary);
  color: #fff;
}

.primary-nav .nav-action::after {
  display: none;
}

.primary-nav .nav-action:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: #fff;
}

.nav-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  color: var(--secondary);
  font-weight: 850;
}

.nav-toggle {
  display: none;
}

.nav-toggle__icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle__text {
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

@media (forced-colors: active) {
  .nav-toggle__bar {
    background: ButtonText;
  }
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 87% 30%, rgba(0, 85, 164, 0.08), transparent 23rem),
    #fff;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: max(1rem, calc((100vw - var(--container)) / 2));
  top: 8rem;
  width: 170px;
  height: 170px;
  background-image: radial-gradient(rgba(0, 85, 164, 0.22) 1px, transparent 1px);
  background-size: 12px 12px;
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.hero-kicker,
.section-label,
.category,
.article-date {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
}

.hero-kicker span {
  width: 34px;
  height: 4px;
  background: var(--accent);
}

.hero-copy h1 {
  max-width: 10ch;
  margin: 0 0 1rem;
  color: #061742;
  font-size: clamp(3rem, 5.6vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy__lead {
  max-width: 720px;
  margin: 0 0 1rem;
  color: #061742;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 650;
  line-height: 1.28;
}

.hero-copy,
.hero-copy__lead {
  min-width: 0;
}

.hero-copy > p:not(.hero-copy__lead):not(.hero-kicker) {
  max-width: 660px;
  color: #3b4858;
  font-size: 1.08rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--primary);
  border-radius: 2px;
  background: #fff;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 85, 164, 0.05);
}

.button::after,
.text-link::after {
  content: "→";
  content: "→" / "";
  margin-left: 0.7rem;
}

.button--primary {
  background: var(--primary);
  color: #fff;
}

.button:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

.fact-sheet dl div {
  background: #fff;
}

dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

dd {
  margin: 0.16rem 0 0;
  font-weight: 850;
}

.profile-panel {
  position: relative;
  align-self: stretch;
  min-height: 0;
}

.profile-panel__image {
  width: min(300px, 100%);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-strong);
}

.profile-panel__image img,
.profile-panel__portrait {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.image-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbff, #eef5fb);
  color: var(--primary);
}

.image-placeholder svg {
  width: min(58%, 250px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: 0.65;
}

.image-placeholder span {
  color: var(--muted);
  font-weight: 800;
}

.profile-card {
  position: relative;
  width: min(340px, 100%);
  margin: -2.5rem auto 0;
  padding: 0.35rem 0 0.5rem;
  border: 1px solid rgba(219, 238, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(6, 23, 66, 0.96);
  box-shadow: 0 24px 60px rgba(6, 23, 66, 0.26);
  color: #fff;
}

.profile-card__title {
  margin: 0;
  padding: 0.55rem 1.1rem 0.4rem;
  color: var(--accent-on-dark);
  font-size: 0.8125rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-card dl {
  margin: 0;
}

.profile-card dl div {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 1.1rem;
  border-top: 1px solid rgba(219, 238, 255, 0.18);
}

.profile-card dd {
  min-width: 0;
  line-height: 1.35;
}

.profile-card dt {
  color: #b7cae1;
}

.profile-card dd {
  color: #fff;
}

.system-section,
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.system-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}

.system-column--band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-strong);
}

.system-column--band .text-link {
  margin-top: 0.25rem;
}

.system-column--band .post-index {
  border-top: 0;
}

.system-column--band .post-index article {
  grid-template-columns: minmax(0, 13.75rem) minmax(0, 1fr);
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  align-items: start;
  padding: 0 0 1.5rem;
}

.system-column--band .post-index article + article {
  padding-top: 1.5rem;
}

.system-column--band .post-index__thumb {
  grid-row: span 3;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.system-column--band .post-index h3 {
  font-size: 1.2rem;
}

.system-column,
.article-index,
.page-hero .container,
main,
section,
article {
  min-width: 0;
}

.system-column h2,
.page-hero h1,
.prose h1,
.article-page h1 {
  margin: 0 0 1.25rem;
  color: #061742;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.system-column h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.numbered-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.numbered-list li {
  display: grid;
  grid-template-columns: 48px 44px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.numbered-list__number {
  color: var(--accent);
  font-weight: 900;
}

.numbered-list__icon,
.topic-ledger__icon {
  color: var(--primary);
}

.numbered-list__icon svg,
.topic-ledger__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

.numbered-list h3,
.timeline h3,
.post-index h3,
.article-index h2,
.role-list h2,
.topic-ledger h2 {
  margin: 0 0 0.3rem;
  color: #061742;
  font-size: 1.08rem;
  line-height: 1.25;
}

.numbered-list p,
.timeline p,
.post-index p,
.article-index p,
.prose p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  border-top: 1px solid var(--line-strong);
}

.timeline article {
  position: relative;
  padding: 1rem 0 1rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.timeline article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: #fff;
}

.post-index {
  border-top: 1px solid var(--line-strong);
}

.post-index article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.post-index__thumb {
  grid-row: span 2;
  aspect-ratio: 1.15;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-strong);
}

.post-index__thumb img,
.article-index__image img,
.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-index time,
.article-index time {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 850;
}

.post-index h3 a,
.article-index h2 a {
  color: #061742;
  text-decoration: none;
}

.post-index h3 a:hover,
.article-index h2 a:hover {
  color: var(--primary);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.empty-state {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}

.empty-state--large {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 51, 102, 0.06);
}

.empty-state--large h2 {
  margin: 0 0 0.65rem;
  color: #061742;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.empty-state--large p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  border-bottom: 1px solid rgba(219, 238, 255, 0.18);
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 85, 164, 0.38), transparent 24rem),
    var(--ink);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  color: #fff;
}

.page-hero__grid,
.text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.page-hero .section-label {
  color: var(--accent-on-dark);
}

.page-hero p:not(.section-label) {
  max-width: 720px;
  color: #dbeeff;
  font-size: 1.15rem;
}

.page-hero h1 {
  color: #fff;
}

.portrait-frame {
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  font-size: 1.12rem;
}

.container.prose {
  max-width: none;
}

.container.prose > * {
  max-width: 760px;
}

.fact-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 51, 102, 0.06);
}

.fact-sheet h2 {
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  font-size: 1rem;
}

.fact-sheet dl {
  display: grid;
  margin: 0;
}

.fact-sheet dl div {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.role-list,
.topic-ledger,
.article-index {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.role-list article,
.topic-ledger article,
.article-index article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.role-list article > span,
.topic-ledger__number {
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
}

.statement-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--secondary);
  color: #fff;
}

.statement-band h2 {
  margin: 0 0 0.7rem;
  color: #fff;
}

.statement-band p {
  max-width: 780px;
  margin: 0;
  color: #dbeeff;
  font-size: 1.25rem;
}

.topic-ledger article {
  grid-template-columns: 56px 54px minmax(0, 1fr);
}

.topic-ledger ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.topic-ledger li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--muted);
}

.topic-ledger li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}

.article-index article {
  grid-template-columns: 220px 110px minmax(0, 1fr) 44px;
  align-items: start;
}

.article-index article,
.post-index article {
  position: relative;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-link:focus-visible {
  outline: none;
}

.card-link:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.article-index article:hover h2 a,
.post-index article:hover h3 a {
  color: var(--primary);
  text-decoration: underline;
}

.article-index .category {
  margin: 0 0 0.3rem;
  color: var(--accent);
}

.article-index__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.index-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.25rem;
}

.article-page {
  background: #fff;
}

.article-page p:not(.section-label):not(.article-date) {
  max-width: 760px;
  color: #273443;
  font-size: 1.13rem;
}

.article-content {
  max-width: 760px;
}

.article-content h2,
.article-content h3 {
  margin: 2rem 0 0.75rem;
  color: #061742;
  line-height: 1.18;
}

.article-content ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: #273443;
  font-size: 1.08rem;
}

.article-content li + li {
  margin-top: 0.35rem;
}

.article-cover {
  margin: 2rem 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-contact {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-contact h2 {
  margin: 0 0 0.5rem;
  color: #061742;
  font-size: 1.4rem;
  line-height: 1.25;
}

.article-contact p {
  margin: 0 0 1.25rem;
}

.section--contact {
  padding-top: 0;
}

.section--contact .article-contact {
  max-width: 880px;
  margin-top: 0;
}

.statement-band + .section--contact {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.not-found__title {
  margin: 0 0 1rem;
  color: #061742;
  font-size: 1.4rem;
}

.not-found__links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.not-found__links li {
  border-bottom: 1px solid var(--line);
}

.not-found__links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.article-date {
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.back-link::before {
  content: "←";
  content: "←" / "";
  display: inline-block;
  margin-right: 0.4em;
  text-decoration: none;
}

.site-footer {
  border-top: 0;
  background: var(--ink);
  color: #c7d7ea;
}

.system-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding: clamp(3rem, 7vw, 5.25rem) 0 1.35rem;
  font-size: 0.95rem;
}

.system-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(1.55rem, 3vw, 2.4rem);
  width: min(100%, 760px);
  height: 1px;
  background: var(--accent);
}

.system-footer p {
  margin: 0;
}

.footer-brand,
.footer-links {
  display: grid;
  gap: 1.15rem;
}

.footer-brand__name {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.footer-brand > span {
  display: block;
  max-width: 420px;
  color: #dbeeff;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 46px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(219, 238, 255, 0.32);
  background: #fff;
  color: var(--secondary);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-socials,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(219, 238, 255, 0.18);
}

.footer-socials a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(219, 238, 255, 0.18);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.footer-socials a:nth-child(odd) {
  padding-right: 1.2rem;
}

.footer-socials a:nth-child(even) {
  padding-left: 1.2rem;
}

.footer-socials a > span:last-child {
  color: var(--accent-on-dark);
  transition: transform 160ms ease;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-socials a:hover > span:last-child {
  transform: translateX(0.25rem);
}

.footer-legal {
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-legal a,
.footer-copy a {
  color: #dbeeff;
  text-decoration-color: rgba(219, 238, 255, 0.45);
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(219, 238, 255, 0.18);
  font-size: 0.84rem;
}

@media (max-width: 1060px) {
  .site-header__inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .primary-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-height) + 0.5rem);
    z-index: 40;
    max-height: calc(100vh - var(--header-height) - 1rem);
    overflow-y: auto;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 51, 102, 0.16);
  }

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

  .primary-nav a {
    min-height: 52px;
    padding: 0 1rem;
    border-radius: 4px;
    font-size: 1.05rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav a[aria-current] {
    border-left: 4px solid var(--accent);
    background: var(--surface-strong);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
  }

  .primary-nav .nav-action {
    min-height: 52px;
    margin-top: 0.35rem;
  }

  .nav-toggle {
    display: inline-flex;
    width: auto;
    height: 46px;
    justify-self: end;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.8rem;
  }

  .home-hero::after {
    display: none;
  }

  .system-column--band {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .system-column--band .text-link {
    margin-top: 1rem;
  }

  .system-column--band .post-index {
    margin-top: 1rem;
    border-top: 1px solid var(--line-strong);
  }

  .system-column--band .post-index article,
  .system-column--band .post-index article + article {
    padding: 1.25rem 0;
  }

  .home-hero__grid,
  .system-layout,
  .page-hero__grid,
  .text-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-panel {
    min-height: auto;
  }

  .home-hero__grid {
    align-items: start;
  }

  .profile-panel {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: end;
  }

  .profile-panel__image {
    width: 100%;
  }

  .profile-card {
    width: 100%;
    margin: 0;
  }

  .system-footer {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .site-header__inner {
    gap: 0.65rem;
  }

  .brand {
    min-width: 0;
  }

  .brand__line {
    display: none;
  }

  .home-hero__grid {
    padding: 2rem 0 2.5rem;
  }

  .profile-panel {
    width: min(100%, 20rem);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .profile-panel__image {
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: none;
  }

  .profile-card {
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: none;
  }

  .profile-card__title {
    padding: 0.75rem 0.875rem 0.5rem;
  }

  .profile-card dl div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.75rem;
    padding: 0.65rem 0.875rem;
  }

  .profile-card dt {
    flex: 0 0 5rem;
    max-width: 100%;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }

  .profile-card dd {
    flex: 1 1 10rem;
    min-width: 0;
    margin: 0;
    font-weight: 750;
    overflow-wrap: anywhere;
  }

  .home-hero__grid {
    gap: 2rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12vw, 3.1rem);
  }

  .hero-copy__lead {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  .hero-copy > p:not(.hero-copy__lead):not(.hero-kicker) {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .page-hero h1,
  .article-page h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .page-hero p:not(.section-label) {
    font-size: 1rem;
  }

  .role-list article,
  .article-index article {
    grid-template-columns: 1fr;
  }

  .role-list article,
  .topic-ledger article,
  .article-index article {
    gap: 0.75rem;
  }

  .topic-ledger article {
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
  }

  .topic-ledger__body {
    display: contents;
  }

  .topic-ledger h2 {
    margin: 0;
  }

  .topic-ledger ul {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .topic-ledger__number {
    font-size: 1.1rem;
  }

  .topic-ledger__icon svg {
    display: block;
    width: 30px;
    height: 30px;
  }

  .index-arrow {
    display: none;
  }

  .numbered-list li {
    grid-template-columns: 40px 1fr;
  }

  .numbered-list__icon {
    display: none;
  }

  .system-column--band .post-index article {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 0.9rem;
  }

  .system-column--band .post-index article p {
    grid-column: 1 / -1;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .article-index__image,
  .article-cover {
    width: 100%;
    max-width: 100%;
  }

  .footer-socials {
    grid-template-columns: 1fr;
  }

  .footer-socials a:nth-child(odd),
  .footer-socials a:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  :root {
    --header-height: 0px;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .skip-link,
  .nav-toggle,
  .primary-nav,
  .hero-kicker span,
  .home-hero::after,
  .system-footer::before,
  .profile-panel__image,
  .page-hero .portrait-frame,
  .index-arrow,
  .button::after,
  .text-link::after,
  .back-link,
  .footer-socials a > span:last-child,
  .card-link::after {
    display: none !important;
  }

  .site-header {
    position: static;
    border-bottom: 1px solid #000;
    background: #fff;
    backdrop-filter: none;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 0.5rem 0;
  }

  .home-hero,
  .page-hero,
  .system-section,
  .statement-band,
  .site-footer,
  .profile-card,
  .article-contact,
  .fact-sheet,
  .fact-sheet dl div {
    background: #fff !important;
    color: #000 !important;
    border-color: #000;
  }

  .page-hero,
  .system-section,
  .section,
  .statement-band {
    padding: 1.25rem 0;
  }

  .home-hero__grid,
  .page-hero__grid,
  .text-grid,
  .system-layout,
  .system-column--band,
  .system-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  h1,
  h2,
  h3,
  p,
  dt,
  dd,
  li,
  .brand,
  .brand__name,
  .brand__line,
  .brand__mark,
  .page-hero h1,
  .page-hero p:not(.section-label),
  .statement-band h2,
  .statement-band p,
  .profile-card dt,
  .profile-card dd,
  .footer-brand__name,
  .footer-brand > span,
  .footer-socials a,
  .footer-legal a {
    color: #000 !important;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .button,
  .footer-mail {
    min-height: 0;
    padding: 0;
    border: 0;
    background: none !important;
    color: #000 !important;
    text-decoration: underline;
  }

  .article-content a[href^="http"]::after,
  .role-list a[href^="http"]::after,
  .footer-socials a[href^="http"]::after,
  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  .profile-panel,
  .profile-card {
    width: 100%;
    margin: 0;
  }

  .profile-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-socials {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-socials a,
  .footer-socials a:nth-child(odd),
  .footer-socials a:nth-child(even) {
    display: block;
    min-height: 0;
    padding: 0.35rem 0;
  }

  .numbered-list li,
  .timeline article,
  .post-index article,
  .role-list article,
  .topic-ledger article,
  .article-index article,
  .article-contact,
  .fact-sheet,
  .profile-card,
  .article-cover,
  figure {
    break-inside: avoid;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }
}
