/* ==========================================================================
   Bauerstaff — palette
   Sampled from assets/logo.png (opaque pixels only). Hex first as fallback,
   OKLCH override where supported.
   ========================================================================== */

:root {
  /* Navy — "STEEL & GLAZING" wordmark and rules. Dominant text + structure. */
  --navy-900: #021d3f;              /* sampled: wordmark / horizontal rule avg */
  --navy-900: oklch(0.234 0.073 255);
  --navy-800: #0d2b52;              /* derived: hover / pressed on navy fills */
  --navy-800: oklch(0.291 0.079 256);

  /* Steel — "B" mark and BAUERSTAFF lettering, dark to polished highlight. */
  --steel-900: #1e2a36;             /* sampled: deepest shadow in the B */
  --steel-900: oklch(0.279 0.028 249);
  --steel-700: #3a4650;             /* sampled: B upright, mid-dark */
  --steel-700: oklch(0.387 0.023 244);
  --steel-500: #626e78;             /* sampled: lettering mid-tone (secondary text, 5.2:1 on white) */
  --steel-500: oklch(0.532 0.021 243);
  --steel-300: #9ca4ac;             /* sampled: brushed silver (keylines, decorative only) */
  --steel-300: oklch(0.715 0.015 248);
  --steel-100: #d8dde1;             /* sampled: polished highlight (hairlines, borders) */
  --steel-100: oklch(0.895 0.008 242);
  --steel-50:  #f1f3f5;             /* derived: lightest silver surface */
  --steel-50:  oklch(0.963 0.003 248);

  /* Glass — window panes in the "B". The single accent; use sparingly. */
  --glass-700: #04699c;             /* derived from glass-500: link text, 5.9:1 on white, 5.4:1 on steel-50 */
  --glass-700: oklch(0.497 0.113 240);
  --glass-500: #0377b0;             /* sampled: deep pane tone (accent line, focus ring) */
  --glass-500: oklch(0.543 0.124 240);
  --glass-300: #66ccf6;             /* sampled: lit pane (accent on navy only, 9.2:1) */
  --glass-300: oklch(0.800 0.112 228);
  --glass-100: #96defc;             /* sampled: pale sky reflection (decorative on navy) */
  --glass-100: oklch(0.864 0.083 226);

  --white: #ffffff;

  /* Roles */
  --color-text: var(--navy-900);
  --color-text-muted: var(--steel-500);
  --color-bg: var(--white);
  --color-surface: var(--steel-50);
  --color-rule: var(--steel-100);
  --color-keyline: var(--steel-300);
  --color-link: var(--glass-700);
  --color-accent: var(--glass-500);
  --color-focus: var(--glass-500);

  /* Brushed-steel keyline, used as a 1px rule only, never as a fill */
  --keyline-steel: linear-gradient(90deg, var(--steel-500), var(--steel-300) 40%, var(--steel-100) 60%, var(--steel-300) 80%, var(--steel-100));

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-text: "Public Sans", "Helvetica Neue", Helvetica, sans-serif;
  --display-stretch: 112%;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);
  --step-4: clamp(2.125rem, 1.4rem + 3vw, 3.625rem);

  /* Space */
  --space-2xs: 0.375rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3rem, 2rem + 4vw, 5.5rem);
  --space-2xl: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  /* Layout */
  --container: 80rem;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --measure: 68ch;
  --header-h: 6rem;
  --header-h-compact: 4.25rem;
  --radius: 2px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-hover: 200ms;
}

/* ==========================================================================
   Fonts (self-hosted latin subsets from Google Fonts, SIL Open Font License)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anchor targets land below the compact sticky header */
  scroll-padding-top: calc(var(--header-h-compact) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

/* Pictures that fill a cropped frame */
.hero__media picture,
.sector-panel__media picture,
.page__figure picture {
  width: 100%;
  height: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--navy-900);
}

p,
ul,
ol,
address {
  margin: 0;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-hover) ease, text-decoration-color var(--dur-hover) ease;
}

a:hover {
  color: var(--navy-900);
}

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

::selection {
  background: var(--glass-100);
  color: var(--navy-900);
}

html {
  scrollbar-color: var(--steel-300) var(--steel-50);
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.skip-link:hover,
.skip-link:focus {
  color: var(--white);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 2.875rem;
  padding: 0.6875rem 1.5rem;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease, color var(--dur-hover) ease;
}

.button:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.button--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-900);
}

.button--light:hover {
  background: var(--steel-50);
  border-color: var(--steel-50);
  color: var(--navy-900);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: var(--steel-300);
  text-underline-offset: 0.35em;
}

.text-link:hover {
  color: var(--glass-700);
  text-decoration-color: currentColor;
}

.text-link svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

/* Fixed rather than sticky so compacting it never shifts the page under an anchor jump */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--color-rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: var(--header-h);
  transition: height 250ms var(--ease-out);
}

.site-header.is-compact .site-header__inner {
  height: var(--header-h-compact);
}

.brand {
  display: block;
  flex: none;
}

.brand img {
  width: auto;
  height: 4rem;
  transition: height 250ms var(--ease-out);
}

.site-header.is-compact .brand img {
  height: 3rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--navy-900);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.45em;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--navy-900);
  text-decoration-color: var(--steel-300);
}

.site-nav__link[aria-current="page"] {
  text-decoration-color: var(--glass-500);
  text-decoration-thickness: 2px;
}

.site-nav__cta {
  margin-left: clamp(0rem, 0.6vw, 0.5rem);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1139px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--steel-100);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--navy-900);
    font: 600 0.9375rem/1 var(--font-display);
    font-stretch: var(--display-stretch);
    cursor: pointer;
  }

  .nav-toggle:hover {
    border-color: var(--steel-300);
  }

  .nav-toggle__bars {
    position: relative;
    width: 1.125rem;
    height: 0.75rem;
  }

  .nav-toggle__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 200ms var(--ease-out), opacity 150ms ease;
  }

  .nav-toggle__bars span:nth-child(1) { top: 0; }
  .nav-toggle__bars span:nth-child(2) { top: 5px; }
  .nav-toggle__bars span:nth-child(3) { top: 10px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h-compact));
    max-height: calc(100dvh - var(--header-h-compact));
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--steel-100);
  }

  .js .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding: var(--space-xs) var(--gutter) var(--space-m);
  }

  .site-nav__list li + li {
    border-top: 1px solid var(--steel-100);
  }

  .site-nav__link {
    display: block;
    padding-block: 0.9375rem;
    font-size: 1.0625rem;
    white-space: normal;
  }

  .site-nav__cta {
    margin: var(--space-s) 0 0;
  }

  .site-nav__list li.site-nav__cta {
    border-top: 0;
  }

  .site-nav__cta .button {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .brand img {
    height: 2.75rem;
  }

  .site-header.is-compact .brand img {
    height: 2.375rem;
  }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

.section {
  padding-block: var(--space-2xl);
}

.section--surface {
  background: var(--color-surface);
}

.section-heading {
  position: relative;
  padding-bottom: var(--space-m);
  margin-bottom: var(--space-l);
  font-size: var(--step-3);
}

/* Fine brushed-steel rule under section headings */
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 12rem);
  height: 2px;
  background: var(--keyline-steel);
}

.lede {
  max-width: var(--measure);
  color: var(--steel-700);
  font-size: var(--step-1);
  line-height: 1.55;
}

.prose {
  max-width: var(--measure);
}

.prose p + p {
  margin-top: 1.25em;
}

/* ==========================================================================
   Home: hero
   ========================================================================== */

.hero {
  position: relative;
}

.hero + .section {
  padding-top: var(--space-xl);
}

.hero__media {
  position: relative;
  height: clamp(20rem, 60vh, 42rem);
  background: var(--steel-100);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero__plate-wrap {
  position: relative;
  margin-top: clamp(-14rem, -15vw, -6rem);
}

.hero__plate {
  position: relative;
  max-width: 47rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3.25rem) clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(1.75rem, 1rem + 2.5vw, 3rem);
  background: var(--white);
}

/* The page's one glass accent line */
.hero__plate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glass-500);
}

.hero__title {
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero__sub {
  max-width: 36rem;
  margin-top: var(--space-m);
  color: var(--steel-700);
  font-size: var(--step-1);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-l);
  margin-top: var(--space-l);
}

@media (max-width: 599px) {
  .hero__media {
    height: 46vh;
    min-height: 16rem;
  }

  .hero__plate-wrap {
    margin-top: -3rem;
    padding-inline: 0;
  }

  .hero__plate {
    margin-right: var(--gutter);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__plate {
    animation: plate-in 700ms var(--ease-out) 120ms both;
  }

  @keyframes plate-in {
    from {
      opacity: 0;
      transform: translateY(1.25rem);
    }
  }
}

/* ==========================================================================
   Home: sectors
   ========================================================================== */

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) clamp(1.5rem, 3vw, 3rem);
}

.sector-panel {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* The title link covers the whole panel */
.sector-panel__title a {
  color: inherit;
  text-decoration: none;
}

.sector-panel__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.sector-panel__title a:focus-visible {
  outline: none;
}

.sector-panel:has(a:focus-visible) {
  outline: 2px solid var(--color-focus);
  outline-offset: 6px;
}

.sector-panel__media {
  order: -1;
  aspect-ratio: 3 / 2;
  margin-bottom: var(--space-m);
  overflow: hidden;
  background: var(--steel-100);
}

.sector-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--dur-hover) ease;
}

.sector-panel:hover .sector-panel__media img {
  opacity: 0.88;
}

.sector-panel__title {
  padding-top: var(--space-m);
  font-size: var(--step-2);
}

.sector-panel__summary {
  max-width: 34rem;
  margin-top: var(--space-xs);
  color: var(--steel-700);
}

.sector-panel__more {
  margin-top: auto;
  padding-top: var(--space-m);
}

.sector-panel:hover .text-link {
  color: var(--glass-700);
  text-decoration-color: currentColor;
}

.sector-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--navy-900);
}

@media (max-width: 767px) {
  .sectors__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Home: why Bauerstaff
   ========================================================================== */

.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-l) clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.why__intro .section-heading {
  margin-bottom: var(--space-m);
}

.why__list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--steel-300);
}

.why__item {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--space-2xs) var(--space-l);
  padding-block: var(--space-m);
  border-bottom: 1px solid var(--steel-100);
}

.why__item h3 {
  font-size: var(--step-1);
  line-height: 1.25;
}

.why__item p {
  color: var(--steel-700);
}

@media (max-width: 959px) {
  .why {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .why__item {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Role lists (home capabilities statement and sector pages)
   ========================================================================== */

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) clamp(2rem, 5vw, 5rem);
}

.roles__heading {
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--navy-900);
  font-size: var(--step-1);
  line-height: 1.3;
}

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

.roles__heading a:hover {
  color: var(--glass-700);
}

.role-list {
  padding: 0;
  list-style: none;
}

.role-list li {
  padding-block: 0.8125rem;
  border-bottom: 1px solid var(--steel-100);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .roles {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--navy-900);
  color: var(--white);
}

.contact .section-heading {
  color: var(--white);
}

.contact .section-heading::after {
  background: linear-gradient(90deg, var(--steel-300), var(--steel-700));
}

.contact__invite {
  max-width: 40rem;
  color: var(--steel-100);
  font-size: var(--step-1);
  line-height: 1.5;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) clamp(2rem, 5vw, 5rem);
  margin-top: var(--space-xl);
}

.office {
  padding-top: var(--space-m);
  border-top: 1px solid var(--steel-700);
}

.office h3 {
  color: var(--white);
  font-size: var(--step-2);
}

.office address {
  margin-top: var(--space-s);
  color: var(--steel-100);
}

.contact a {
  color: var(--white);
  text-decoration-color: var(--steel-500);
}

.contact a:hover {
  color: var(--glass-100);
  text-decoration-color: currentColor;
}

.contact :focus-visible {
  outline-color: var(--glass-300);
}

.office__phone {
  display: inline-block;
  margin-top: var(--space-m);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-size: var(--step-2);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
}

.contact__email {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2xs) var(--space-l);
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--steel-700);
}

.contact__email h3 {
  color: var(--steel-100);
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.contact__email a {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "title  figure"
    "body   figure";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2rem, 6vw, 6rem);
  padding-block: var(--space-xl) var(--space-2xl);
}

.page__title {
  grid-area: title;
  position: relative;
  padding-bottom: var(--space-l);
  margin-bottom: var(--space-l);
}

.page__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 12rem);
  height: 2px;
  background: var(--keyline-steel);
}

.page__title h1 {
  max-width: 18ch;
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.page__figure {
  grid-area: figure;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h-compact) + var(--space-l));
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--steel-100);
}

.page__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page__body {
  grid-area: body;
}

.page__body .prose {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--steel-700);
}

.page__body .prose p:first-child {
  color: var(--navy-900);
}

.page-list-block {
  max-width: var(--measure);
  margin-top: var(--space-xl);
}

.page-list-block h2 {
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--navy-900);
  font-size: var(--step-1);
  line-height: 1.3;
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-l);
  padding: 0;
  list-style: none;
}

.sector-list li {
  padding-block: 0.8125rem;
  border-bottom: 1px solid var(--steel-100);
  line-height: 1.4;
}

@media (max-width: 959px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "figure"
      "body";
    grid-template-rows: auto;
  }

  .page__figure {
    position: static;
    aspect-ratio: 3 / 2;
    margin-bottom: var(--space-l);
  }
}

@media (max-width: 599px) {
  .sector-list {
    grid-template-columns: 1fr;
  }
}

/* Closing call to action on inner pages */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m) var(--space-l);
  padding-block: var(--space-xl);
}

.cta-band h2 {
  max-width: 24ch;
  color: var(--white);
  font-size: var(--step-3);
}

.cta-band p {
  max-width: 40rem;
  margin-top: var(--space-xs);
  color: var(--steel-100);
}

.cta-band a:not(.button) {
  color: var(--white);
  text-decoration-color: var(--steel-500);
}

.cta-band a:not(.button):hover {
  color: var(--glass-100);
  text-decoration-color: currentColor;
}

.cta-band :focus-visible {
  outline-color: var(--glass-300);
}

/* Not found */
.not-found {
  padding-block: var(--space-2xl);
}

.not-found h1 {
  font-size: var(--step-4);
  letter-spacing: -0.025em;
}

.not-found .lede {
  margin-top: var(--space-m);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-l);
  margin-top: var(--space-l);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: var(--space-l) var(--space-m);
  background: var(--white);
  border-top: 1px solid var(--steel-100);
  color: var(--steel-700);
  font-size: var(--step--1);
  line-height: 1.6;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 3fr)) minmax(0, 3fr);
  gap: var(--space-l);
}

.site-footer__brand img {
  width: 11rem;
  height: auto;
}

.site-footer__brand a {
  display: block;
  width: fit-content;
}

.site-footer h2 {
  margin-bottom: var(--space-2xs);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-footer a {
  color: var(--steel-700);
  text-decoration-color: var(--steel-300);
}

.site-footer a:hover {
  color: var(--navy-900);
  text-decoration-color: currentColor;
}

.site-footer__email {
  display: inline-block;
  margin-top: var(--space-xs);
}

.site-footer__nav ul {
  padding: 0;
  list-style: none;
}

.site-footer__nav li + li {
  margin-top: 0.25rem;
}

.site-footer__nav a {
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: var(--space-l);
  padding-top: var(--space-s);
  border-top: 1px solid var(--steel-100);
  color: var(--steel-500);
}

@media (max-width: 959px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
