/* ==========================================================================
   EISN — site.css
   One family (Manrope), one accent (the EISN red carried over from the
   original .rline / menu bar), quiet greys everywhere else.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #171a21;
  --body: #3f4756;
  --muted: #6b7280;
  --line: #e3e6eb;
  --fog: #f5f6f8;
  --paper: #ffffff;
  --red: #d52734;
  --red-deep: #a81c27;
  --red-tint: #fbe9eb;
  --green: #1f7a3b;
  --green-tint: #e6f4ea;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* type scale ~1.25 */
  --t-1: 0.875rem;   /* 14 */
  --t0: 1rem;        /* 16 */
  --t1: 1.125rem;    /* 18 */
  --t2: 1.375rem;    /* 22 */
  --t3: 1.75rem;     /* 28 */
  --t4: 2.25rem;     /* 36 */
  --t5: clamp(2.25rem, 4.5vw, 3.25rem);

  --container: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t0);
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--red); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--t4); }
h2 { font-size: var(--t2); }
h3 { font-size: var(--t1); }

p { margin: 0 0 1.1em; }

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  padding: 0.5rem 0.75rem;
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

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

/* --------------------------------------------------------------------------
   The red rule. On the old site every h1 sat above a 5px #d52734 bar and the
   menu bar had one too. It's the one piece of the brand worth keeping, so it
   marks headings and the current section — and nothing else.
   -------------------------------------------------------------------------- */
.rule {
  padding-bottom: 0.6rem;
  position: relative;
}
.rule::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 3.5rem; height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font: 700 var(--t0)/1 var(--font);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 132px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.site-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 0.25rem;
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--t-1);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.site-nav__list > li > a:hover,
.site-nav__list > li.is-active > a { border-bottom-color: var(--red); }

.site-nav__sub {
  list-style: none;
  margin: 0; padding: 0.4rem 0;
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -12px rgba(23, 26, 33, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 0s linear 120ms;
}
.has-menu:hover > .site-nav__sub,
.has-menu:focus-within > .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.site-nav__sub a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--body);
  font-size: var(--t-1);
  text-decoration: none;
}
.site-nav__sub a:hover { background: var(--fog); color: var(--ink); }

.site-nav__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--t-1);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__contact:hover { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-toggle__bar { top: 21px; left: 10px; right: 10px; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list > li > a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: var(--t0); }
  .site-nav__list > li.is-active > a { border-bottom-color: var(--line); color: var(--red-deep); }
  .site-nav__sub {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; border-radius: 0;
    padding: 0.25rem 0 0.5rem 1rem;
    min-width: 0;
  }
  .site-nav__sub a { padding: 0.45rem 0; }
  .site-nav__contact { margin-top: 1rem; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Hero (replaces the Flash intro + slideshow.xml)
   -------------------------------------------------------------------------- */
.hero {
  background: var(--fog);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--t5);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 20ch;
}
.lede {
  font-size: var(--t1);
  color: var(--body);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* The brand "screen": three screenshots crossfade, one at a time. This is
   the page's single moment of motion. */
.hero__screen {
  position: relative;
  aspect-ratio: 428 / 300;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(23, 26, 33, 0.06),
    0 24px 48px -24px rgba(23, 26, 33, 0.35);
  overflow: hidden;
  /* first slide sits underneath so nothing is blank while the loop starts */
  /* (background-image is set inline on the element) */
  background-size: cover;
  background-position: top;
  background-origin: content-box;
  padding-top: 28px;
}
.hero__screen::before {
  /* browser-chrome strip */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 28px;
  background:
    radial-gradient(circle at 14px 14px, var(--line) 5px, transparent 5.5px),
    radial-gradient(circle at 32px 14px, var(--line) 5px, transparent 5.5px),
    radial-gradient(circle at 50px 14px, var(--line) 5px, transparent 5.5px),
    var(--fog);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.hero__slide {
  position: absolute;
  inset: 28px 0 0 0;
  margin: 0;
  opacity: 0;
  animation: heroCycle calc(var(--n) * 5s) infinite;
  animation-delay: calc(var(--i) * 5s);
}
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero__slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(23, 26, 33, 0.95) 30%, rgba(23, 26, 33, 0));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 800;
  font-size: var(--t2);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero__slide figcaption span {
  display: block;
  font-weight: 500;
  font-size: var(--t-1);
  opacity: 0.85;
  letter-spacing: 0;
}
@keyframes heroCycle {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}
/* 2 slides × 5s: each shows for half the loop. Keyframes above assume n=2. */
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 1; }
}

@media (max-width: 800px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* --------------------------------------------------------------------------
   Home: featured + news
   -------------------------------------------------------------------------- */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.home-grid h2.rule { margin-bottom: 1.5rem; }

.featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.featured__item img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.featured__item h3 { margin-bottom: 0.4rem; }
.featured__item p { font-size: var(--t-1); }
.featured__links { display: flex; gap: 1.25rem; font-weight: 700; }

.news-list {
  list-style: none;
  margin: 0; padding: 0;
}
.news-list li {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.news-list li:last-child { border-bottom: 0; }
.news-list time {
  display: block;
  font-size: var(--t-1);
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.news-list h3, .news-list h2 { margin-bottom: 0.4rem; }
.news-list h3 a, .news-list h2 a { color: var(--ink); text-decoration: none; }
.news-list h3 a:hover, .news-list h2 a:hover { color: var(--red-deep); text-decoration: underline; }
.news-list__intro { font-size: var(--t-1); }
.news-list__intro > :last-child { margin-bottom: 0; }
.more { font-weight: 700; }
.news-list .more { display: inline-block; margin-top: 0.5rem; }

@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .featured { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Inner pages: content + sidebar (replaces .colmask/.col1/.col2)
   -------------------------------------------------------------------------- */
/* Page header band: dark, with section artwork (wwwroot/img/headers/*.svg)
   anchored to the right and fading into the band on the left. */
.page-header {
  background-color: var(--ink);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: #fff;
  border-bottom: 4px solid var(--red);
  position: relative;
}
/* legibility overlay: keeps the text on solid ink whatever the artwork does */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 30%, rgba(23, 26, 33, 0) 62%);
}
.page-header__inner {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  max-width: none;
}
.page-header h1 {
  color: #fff;
  font-size: var(--t5);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 0.75rem;
}
.page-header__lede {
  font-size: var(--t1);
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
  margin: 0;
}
.rule--light::after { background: var(--red); }
@media (max-width: 800px) {
  .page-header { background-position: 80% center; }
  .page-header::before { background: linear-gradient(180deg, rgba(23, 26, 33, 0.92), rgba(23, 26, 33, 0.72)); }
  .page-header__inner { padding-block: 2.25rem; }
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.page--single { grid-template-columns: minmax(0, 1fr); }
.page__main { min-width: 0; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.25rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

.principles {
  list-style: none;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
  clear: both;
}
.principles li {
  padding: 0.6rem 0 0.6rem 1rem;
  border-left: 3px solid var(--red);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}
@media (max-width: 480px) { .principles { grid-template-columns: 1fr; } }

.values { margin: 0; }
.values dt {
  color: var(--ink);
  font-weight: 800;
  font-size: var(--t1);
  margin-top: 1.25rem;
}
.values dd { margin: 0.2rem 0 0; }

.crumb { font-size: var(--t-1); margin-bottom: 1.25rem; }
.crumb a { text-decoration: none; font-weight: 700; }
.release { font-size: var(--t1); line-height: 1.7; }
.release p { margin: 0 0 1.25em; }
.release h3 { margin: 2rem 0 0.5rem; }
.release > :last-child { margin-bottom: 0; }

.contact-hq {
  margin: 1.5rem 0 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--fog);
  border-radius: var(--radius);
  display: inline-block;
}
.contact-hq h2 { font-size: var(--t0); margin: 0 0 0.5rem; }
.contact-hq address { font-style: normal; margin-bottom: 0.4rem; }
.contact-hq a { font-weight: 700; }

/* Sidebar */
.sidebar {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.sidebar__group + .sidebar__group,
.sidebar__group + .sidebar__note { margin-top: 2rem; }
.sidebar h2 {
  font-size: var(--t-1);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li a,
.sidebar li .is-soon {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  color: var(--body);
  text-decoration: none;
  font-size: var(--t-1);
  border-bottom: 1px solid var(--line);
}
.sidebar li a:hover { color: var(--red-deep); }
.sidebar li.is-current a { color: var(--ink); font-weight: 700; }
.sidebar li .is-soon { color: var(--muted); }
.sidebar .count { color: var(--muted); font-variant-numeric: tabular-nums; }
.sidebar__hint { font-size: var(--t-1); color: var(--muted); margin: 0.75rem 0 0; }
.sidebar__note p { font-size: var(--t-1); margin-bottom: 0.75rem; }

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    border-left: 0;
    padding-left: 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }
}

/* --------------------------------------------------------------------------
   Brand grid (replaces the onclick="ow('…')" image tables)
   -------------------------------------------------------------------------- */
.brand-grid {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  clear: both;
}
.brand-card { margin: 0 !important; }
.brand-card a {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
}
.brand-card a:hover { border-color: var(--ink); }
.brand-card img { width: 100%; aspect-ratio: 319 / 204; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); }
.brand-card__body { display: block; padding: 0.9rem 1rem 1rem; }
.brand-card__name { display: block; font-weight: 800; color: var(--ink); }
.brand-card__tag { display: block; font-size: var(--t-1); color: var(--body); margin: 0.2rem 0 0.6rem; }
.brand-card__link { display: block; font-size: var(--t-1); font-weight: 700; color: var(--red-deep); }
.brand-card a:hover .brand-card__link { text-decoration: underline; }

.logo-grid {
  list-style: none;
  padding: 0 !important;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.logo-grid li { margin: 0; }
.logo-grid__tile {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 1rem;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
}
.logo-grid__tile img { max-height: 60px; width: auto; }
.logo-grid a { font-size: var(--t-1); font-weight: 700; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { max-width: 620px; }
.form--narrow { max-width: 360px; }
.form__row--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}
@media (max-width: 520px) { .form__row--2 { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--t-1);
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 500 var(--t0)/1.4 var(--font);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #c9ced6;
  border-radius: var(--radius);
  padding: 0.6rem 0.75rem;
  transition: border-color 120ms ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); outline: 0; box-shadow: 0 0 0 3px rgba(23, 26, 33, 0.12); }
.field .input-validation-error { border-color: var(--red); }
.field__error { display: block; color: var(--red-deep); font-size: var(--t-1); margin-top: 0.3rem; font-weight: 600; }
.field__error:empty { display: none; }
.field__hint { display: block; color: var(--muted); font-size: var(--t-1); margin-top: 0.3rem; }

.field--turnstile .cf-turnstile { max-width: 400px; }

.form__actions { margin-top: 1.5rem; }

.notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: var(--t-1);
  border: 1px solid;
}
.notice:empty { display: none; }
.notice ul { margin: 0; padding-left: 1.1rem; }
.notice--success { background: var(--green-tint); border-color: #b9dfc4; color: var(--green); }
.notice--error { background: var(--red-tint); border-color: #f1b8bd; color: var(--red-deep); }
.notice--error.validation-summary-valid { display: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 3rem;
  background: var(--fog);
  border-top: 1px solid var(--line);
  font-size: var(--t-1);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  padding-block: 3rem 2rem;
}
.site-footer__about img { width: 110px; margin-bottom: 1rem; }
.site-footer__about p { max-width: 36ch; }
.site-footer address { font-style: normal; color: var(--muted); }
.site-footer h2 {
  font-size: var(--t-1);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer nav a { color: var(--body); text-decoration: none; }
.site-footer nav a:hover { color: var(--red-deep); text-decoration: underline; }
.site-footer__legal {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem;
  color: var(--muted);
}
@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
