:root {
  --navy: #0d254c;
  --blue: #1c5ba8;
  --yellow: #ffc425;
  --soft: #f1f6fc;
  --muted: #40546e;
  --panel: #e6eef7;
  --panel-line: #c3d3e5;
  --hero-text: #e2eaf4;
  --header-height: 5.35rem;
  --line: #dce6f2;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font: 1rem/1.65 "Avenir Next", Avenir, system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
:is(main, .site-footer) :is(h1, h2, h3) { font-weight: 750; line-height: 1.12; letter-spacing: -.035em; }
main h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
main h2 { font-size: clamp(1.65rem, 3.8vw, 2.58rem); }
main h3 { font-size: 1.22rem; }
p { color: var(--muted); }
h2 + p, h3 + p, p + p { margin-top: .75rem; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 11;
  padding: .65rem 1rem;
  background: var(--yellow);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px #0d254c0a;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; }
.brand-mark { display: block; flex: none; width: 2.65rem; height: auto; }
.brand span { font-size: 1.32rem; font-weight: 800; letter-spacing: .12em; line-height: 1; }
.brand small { display: block; font-size: .68rem; font-weight: 750; letter-spacing: .18em; margin-top: .27rem; }
.primary-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.primary-nav a { padding: .55rem .85rem; border-radius: .45rem; font-size: .92rem; font-weight: 650; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--blue); background: var(--soft); }
.menu-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .45rem .7rem;
  background: var(--soft);
  color: var(--navy);
  font-weight: 650;
}
.home-hero {
  color: var(--hero-text);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.75rem, 8vw, 7rem);
}
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: 0 0 .52rem; height: .52rem; border-radius: .14rem; background: var(--yellow); }
.home-hero .eyebrow { color: #d0deef; }
.home-hero em { color: var(--yellow); font-style: normal; }
.lede { max-width: 42rem; margin-top: 1.3rem; font-size: clamp(1.08rem, 2vw, 1.24rem); }
.home-hero .lede { color: #d3deec; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.flow-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px #07193660); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 3rem;
  padding: .7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  font-weight: 750;
  line-height: 1.35;
  transition: background-color .18s, border-color .18s;
}
.button-yellow { color: var(--navy); background: var(--yellow); }
.button-yellow:hover { background: #ffda67; }
.button-outline { color: var(--hero-text); border-color: #a1b4ce; background: transparent; }
.button-outline:hover { background: #344c6b; border-color: #c5d3e6; }
.button-light { color: var(--blue); border-color: #a8bed9; background: var(--white); }
.button-light:hover { background: var(--soft); border-color: var(--blue); }
.button:disabled { cursor: default; opacity: .6; }
.home-hero :focus-visible { outline-color: var(--hero-text); }
.section { padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.section-soft { background: var(--soft); }
.section-heading { max-width: 43rem; margin-bottom: 1.8rem; }
.pair-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--white);
  box-shadow: 0 6px 18px #0d254c08;
}
.icon-tile { display: grid; place-items: center; width: 2.85rem; height: 2.85rem; margin-bottom: 1.15rem; color: var(--blue); border-radius: .6rem; background: var(--soft); }
.icon-tile svg { width: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-number { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .5rem; background: #fff0bb; color: var(--navy); font-size: .9rem; font-weight: 800; }
.text-link { display: inline-block; color: var(--blue); font-weight: 750; text-decoration: underline; text-underline-offset: .23em; }
.text-link:hover { color: var(--navy); }
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--panel-line);
  border-radius: 1.2rem;
  padding: clamp(1.5rem, 5vw, 3.25rem);
}
.callout .button { flex-shrink: 0; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); }
.footer-inner p { margin-top: .75rem; }
.footer-bottom { padding-block: .85rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.page-hero { padding-block: clamp(3rem, 7vw, 6rem); background: linear-gradient(115deg, var(--soft), #e1edfb); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); overflow-wrap: anywhere; }
.feature-card { border-top: 3px solid var(--blue); }
.principle { margin-top: 1rem; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: .9rem; background: var(--soft); }
.principle p { max-width: 46rem; }
.principle .text-link, .pair-grid article .button { margin-top: 1rem; }
.detail-grid, .contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
.step-list { list-style: none; margin: 0; padding: 0; }
.step-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.step-list li:first-child { padding-top: 0; }
.step-list h3 { font-size: 1.45rem; }
.filter-card { padding: 1.5rem; border-radius: .9rem; background: var(--soft); }
.filter-card h3 { font-size: 1.65rem; }
.filter-card ul { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.filter-card li { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.filter-card li::before { content: ""; width: .55rem; height: .55rem; border-radius: .14rem; background: var(--yellow); }
.contact-grid { grid-template-columns: 1fr 1.65fr; }
.prototype-note { padding: 1rem; border-radius: .6rem; background: var(--soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.full-width { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .35rem; font-weight: 700; }
.field label span { color: var(--muted); font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: .55rem .7rem;
  border: 1px solid #9db0c9;
  border-radius: .45rem;
  background: var(--white);
  color: var(--navy);
}
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230d254c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .7rem center;
}
.field [aria-invalid="true"] { border-color: #a52a35; }
.field-error { margin-top: .25rem; color: #a52a35; font-size: .875rem; }
.form-success { padding-block: 1.25rem; }
.form-success .button { margin-top: 1.2rem; }

@media (max-width: 55rem) {
  .hero-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid h1 { max-width: 44rem; }
  .flow-art { width: min(100%, 32rem); }
}
@media (max-width: 46rem) {
  .shell { width: min(100% - 2rem, 74rem); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: .85rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .primary-nav {
    flex: 0 0 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    max-height: 48vh;
    overflow-y: auto;
    padding: .75rem .25rem .25rem;
  }
  .callout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 32rem) {
  .pair-grid, .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

/* Shared visual treatments for marketing pages. */
:root {
  --surface: #f7faff;
  --ink: #233955;
}

body { color: var(--ink); }
h1, h2, h3 { letter-spacing: -.047em; }
h1 { line-height: 1.01; }
.primary-nav { gap: .3rem; }
.primary-nav a[aria-current] {
  box-shadow: inset 0 -2px var(--blue);
}
.primary-nav a:last-child {
  border: 1px solid var(--line);
}
.button { border-radius: .65rem; padding-inline: 1.25rem; }
.button-yellow { box-shadow: 0 6px 18px #07193624; }

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 86% 26%, #1c447c, transparent 57%), #081a35;
}
.home-hero::before, .page-hero::before, .callout::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(105deg, transparent 35%, #000);
}
.home-hero { --grid-color: #a2c5ff19; }
.hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); }
.hero-copy h1 {
  font-size: clamp(2.7rem, 7vw, 6.25rem);
  line-height: .99;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}
@media (max-width: 55rem) {
  .hero-copy h1 { font-size: clamp(2.7rem, 10vw, 5.75rem); }
}
.hero-copy em { display: block; }
.hero-copy .lede { max-width: 31rem; }
.flow-art {
  padding: clamp(.55rem, 1vw, .85rem);
  border: 1px solid #9bbbe335;
  border-radius: 1.8rem;
  background: #a2c5ff0e;
  box-shadow: 0 24px 60px #030d2352;
}
.flow-art svg { filter: none; }

.network-layout .section-heading .text-link { margin-top: 1.3rem; }
.card {
  border-radius: 1rem;
  box-shadow: 0 12px 32px #0d254c08;
}
.icon-tile {
  border: 1px solid #d6e5f8;
  background: #ebf3fe;
}

.process-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.step-number { border-radius: 50%; background: #fff1bb; }

.page-hero, .callout { position: relative; isolation: isolate; overflow: hidden; }
.page-hero { --grid-color: #1c5ba819; background: linear-gradient(110deg, var(--surface) 20%, #e7f0ff); }
.page-hero h1 { max-width: 19ch; }
.callout { --grid-color: #1c5ba814; background: linear-gradient(110deg, var(--surface), var(--panel)); }
.feature-card { border-top: 1px solid var(--line); }
.purpose-grid .feature-card, .criteria-grid .feature-card {
  background: linear-gradient(145deg, var(--surface), var(--white) 70%);
}
.purpose-grid .feature-card::before, .criteria-grid .feature-card::before {
  display: block;
  width: 1.65rem;
  height: .27rem;
  margin-bottom: 1.15rem;
  border-radius: 1rem;
  background: var(--blue);
  content: "";
}
.purpose-grid .feature-card:nth-child(even)::before { background: var(--yellow); }
.principle, .filter-card {
  background: var(--panel);
  border: 1px solid var(--panel-line);
}
.filter-card { padding: clamp(1.5rem, 3vw, 2.15rem); }
.filter-card ul { gap: 0; }
.filter-card li { padding-block: .65rem; border-bottom: 1px solid var(--panel-line); }
.filter-card li:last-child { border-bottom: 0; }
.contact-grid aside { padding-block: 1rem; }
.form-card { border-top: 3px solid var(--blue); }
.site-footer { background: var(--panel); border-top-color: var(--panel-line); }
.footer-bottom { border-color: var(--panel-line); }

@media (max-width: 55rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 100%; }
}
@media (max-width: 46rem) {
  .home-hero::before, .page-hero::before { mask-image: linear-gradient(150deg, transparent 43%, #000); }
}

/* Emphasis in editorial headlines. */
.page-hero h1 em, .section-heading h2 em {
  color: var(--blue);
  font-style: normal;
}
.section-heading h2 { text-wrap: balance; }
.network-layout .section-heading h2 { text-wrap: pretty; }
.purpose-grid .feature-card::before { display: none; }

/* The four-node mark informs the diagram, roster, and interior page framing. */
.flow-art { padding: 0; border: 0; border-radius: 1.6rem; }
.network-layout, .process-layout {
  display: grid;
  align-items: start;
  gap: clamp(1.75rem, 6vw, 5rem);
}
.network-roster { border-top: 1px solid var(--line); }
.network-roster article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1.25rem .2rem;
  border-bottom: 1px solid var(--line);
}
.network-roster .icon-tile { margin: 0; border-radius: 50%; }
.network-roster article:nth-child(3n + 1) .icon-tile {
  border-color: #f5dea2;
  background: #fff3cf;
  color: var(--navy);
}
.network-roster p, .process-timeline h3 + p { margin-top: .3rem; }
.process-layout .text-link { margin-top: 1rem; }
.process-timeline {
  --timeline-inset: clamp(.65rem, 2vw, 1rem);
  position: relative;
  isolation: isolate;
  display: grid;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-timeline::before {
  position: absolute;
  z-index: -1;
  inset: 2rem auto 3rem calc(var(--timeline-inset) + 1.2rem);
  width: 2px;
  background: #a0bce2;
  content: "";
}
.process-timeline > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  padding: 1rem var(--timeline-inset);
}
.process-timeline .step-number {
  background: #e1edfe;
  box-shadow: 0 0 0 3px var(--surface);
}
.process-timeline .evaluation-step {
  border-radius: 1rem;
  background: var(--panel);
  border: 1px solid var(--panel-line);
}
.evaluation-step .step-number { background: var(--yellow); box-shadow: none; }
.evaluation-criteria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem .8rem;
  margin: .9rem 0 0;
  padding: .8rem 0 0;
  border-top: 1px solid var(--panel-line);
  list-style: none;
}
.evaluation-criteria li { font-size: .9rem; font-weight: 650; }
.evaluation-criteria li::before { content: ""; display: inline-block; width: .4rem; height: .4rem; margin-right: .5rem; border-radius: 50%; background: var(--yellow); vertical-align: .15em; }
.home-contact { display: block; }
.home-contact .section-heading { margin-bottom: 1.5rem; }
.contact-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.contact-routes article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--panel-line); border-radius: .9rem; background: var(--surface); }
.contact-routes p { margin-bottom: 1rem; }
.contact-routes .button { margin-top: auto; }
.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../images/nexus-logo.svg") right max(2rem, 7vw) center / clamp(8rem, 21vw, 21rem) auto no-repeat;
  opacity: .10;
  content: "";
}
@media (max-width: 38rem) {
  .contact-routes, .evaluation-criteria { grid-template-columns: 1fr; }
  .page-hero::after { background-position: right -2rem top 1rem; opacity: .07; }
}

/* A repeating signal follows the diagram from People to Value. */
.flow-signal { opacity: 0; }

.motion-toggle {
  display: block;
  margin: .65rem .25rem 0 auto;
  padding: .35rem .65rem;
  border: 1px solid #6483ae;
  border-radius: .45rem;
  background: #293f5c;
  color: var(--hero-text);
  font-size: .875rem;
}
.motion-toggle:hover { background: #344c6b; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy em { animation: headline-glow 6s ease-in-out infinite; }
  .home-hero[data-motion="paused"] :is(.flow-signal, .flow-hub, .hero-copy em) {
    animation-play-state: paused;
  }
  .flow-signal {
    stroke-dasharray: 12 124;
    filter: drop-shadow(0 0 5px #ffc425);
    animation: network-signal 6s linear infinite;
  }
  .flow-hub {
    animation: network-glow 6s ease-in-out infinite;
  }
  .hero-copy {
    animation: hero-arrival .55s ease-out both;
  }
  .button {
    transition: background-color .18s, border-color .18s, transform .18s, box-shadow .2s;
  }
  .button:focus-visible { transform: translateY(-2px); }
  .button-yellow:focus-visible { box-shadow: 0 5px 24px #ffc42555; }
  .network-roster .icon-tile {
    transition: transform .22s ease, box-shadow .22s ease;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover:not(:disabled) { transform: translateY(-2px); }
  .button-yellow:hover:not(:disabled) { box-shadow: 0 5px 24px #ffc42555; }
  .network-roster article:hover .icon-tile {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px #1c5ba82b;
  }
}

@keyframes network-signal {
  0% { opacity: 0; stroke-dashoffset: 12; }
  8%, 62% { opacity: 1; }
  74%, 100% { opacity: 0; stroke-dashoffset: -100; }
}

@keyframes network-glow {
  0%, 100% { filter: drop-shadow(0 0 0 #72adf300); }
  45% { filter: drop-shadow(0 0 23px #72adf3c0); }
}

@keyframes hero-arrival {
  from { transform: translateY(8px); }
  to { transform: translateY(0); }
}

@keyframes headline-glow {
  0%, 100% { text-shadow: 0 0 0 #ffc42500; }
  45% { text-shadow: 0 0 .35em #ffc4256b; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}

/* Image placement follows the story of each section. */
.network-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  grid-template-areas: "heading heading" "photo roster";
}
.process-layout {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  grid-template-areas: "heading heading" "timeline photo";
}
.network-layout, .process-layout { row-gap: clamp(1.5rem, 3vw, 2.5rem); }
.network-layout .section-heading, .process-layout .section-heading {
  grid-area: heading;
  max-width: 46rem;
  margin-bottom: 0;
}
.network-roster { grid-area: roster; }
.process-timeline { grid-area: timeline; }
.editorial-media {
  grid-area: photo;
  position: relative;
  isolation: isolate;
  align-self: stretch;
  overflow: hidden;
  min-height: 19rem;
  border-radius: 1rem;
  background: var(--soft);
}
.editorial-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-layout .editorial-media { max-height: 32rem; }
.partnership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "photo copy";
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.partnership-layout .editorial-media { border-radius: 0; }
.partnership-copy {
  grid-area: copy;
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3.25rem);
}
.partnership-copy .actions { margin-top: 1.25rem; }

@media (max-width: 55rem) {
  .network-layout, .process-layout, .partnership-layout { grid-template-columns: 1fr; }
  .network-layout { grid-template-areas: "heading" "photo" "roster"; }
  .process-layout { grid-template-areas: "heading" "photo" "timeline"; }
  .partnership-layout { grid-template-areas: "photo" "copy"; }
  .editorial-media { min-height: 0; aspect-ratio: 3 / 2; }
}


.policy-copy { max-width: 46rem; }
.policy-copy section + section {
  margin-top: 1.55rem;
  padding-top: 1.55rem;
  border-top: 1px solid var(--line);
}
.policy-copy h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .has-entered-view { animation: section-arrival .45s ease-out both; }
}

@keyframes section-arrival {
  from { opacity: .85; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-details {
  margin-block: 1.25rem;
  font-style: normal;
}
.contact-details dl { display: grid; gap: 1rem; margin: 0; }
.contact-details dt { font-weight: 750; }
.contact-details dd { margin: .2rem 0 0; color: var(--muted); overflow-wrap: anywhere; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .8fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 2rem 1.5rem;
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
}
.site-footer h2 {
  margin-bottom: .9rem;
  font-size: 1rem;
  letter-spacing: 0;
}
.footer-about p { max-width: 17rem; }
.footer-links, .footer-links address {
  display: grid;
  justify-items: start;
  gap: .45rem;
}
.footer-links h2 { margin-bottom: .45rem; }
.footer-links address { font-style: normal; }
.footer-links > a, .email-link { color: var(--muted); }
.footer-links a:hover, .footer-links a[aria-current], .email-link:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.footer-links a[aria-current] { font-weight: 750; }
.email-link {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.email-link img { flex: none; align-self: flex-start; margin-top: .22em; }
.contact-details .email-link { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 61rem) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 33rem) {
  .footer-inner { grid-template-columns: 1fr; }
}
