/**
 * Code Credits
 * Project: BMG-WEB
 * Owner: Torsten Nixdorf
 * Coding Brand: Nixdorf Media
 * Purpose: Static website base styles for the public BMG website preview.
 *
 * Rules:
 * - UTF-8 with German umlauts
 * - no secrets in source code
 * - no external font loading
 */

:root {
  --bmg-color-navy: #194b6d;
  --bmg-color-navy-strong: #123a55;
  --bmg-color-orange: #d26620;
  --bmg-color-orange-strong: #ad5419;
  --bmg-color-blue: #478ac9;
  --bmg-color-link: #0b6f99;
  --bmg-color-text: #111820;
  --bmg-color-muted: #596776;
  --bmg-color-line: #d8e0e6;
  --bmg-color-error: #9d1c20;
  --bmg-color-error-soft: #fff1f1;
  --bmg-color-surface: #ffffff;
  --bmg-color-surface-soft: #f4f7f9;
  --bmg-color-surface-warm: #fbf7f2;
  --bmg-color-focus: #ffbf47;
  --bmg-shadow: 0 14px 34px rgba(17, 24, 32, 0.12);
  --bmg-radius: 8px;
  --bmg-container: 1180px;
  --bmg-header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--bmg-color-text);
  background: var(--bmg-color-surface);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: var(--bmg-color-link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bmg-color-orange-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bmg-color-focus);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  color: var(--bmg-color-surface);
  background: var(--bmg-color-navy-strong);
  border-radius: var(--bmg-radius);
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--bmg-header-height);
  border-bottom: 1px solid rgba(216, 224, 230, 0.9);
  background: rgba(255, 255, 255, 0.97);
}

.site-header__inner {
  width: min(calc(100% - 2rem), var(--bmg-container));
  min-height: var(--bmg-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--bmg-color-navy);
  text-decoration: none;
}

.brand__mark {
  width: 52px;
  height: auto;
  flex: 0 0 52px;
}

.brand__name {
  display: block;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand__claim {
  display: block;
  color: var(--bmg-color-muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bmg-color-line);
  border-radius: var(--bmg-radius);
  color: var(--bmg-color-navy);
  background: var(--bmg-color-surface);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0.72rem;
  border-radius: var(--bmg-radius);
  color: var(--bmg-color-navy);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--bmg-color-navy-strong);
  background: var(--bmg-color-surface-soft);
}

.site-nav .nav-button {
  color: var(--bmg-color-surface);
  background: var(--bmg-color-orange);
}

.site-nav .nav-button:hover,
.site-nav .nav-button[aria-current="page"] {
  color: var(--bmg-color-surface);
  background: var(--bmg-color-orange-strong);
}

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

.section {
  padding: 4.5rem 0;
}

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

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

.section--compact {
  padding: 3rem 0;
}

.section__header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--bmg-color-orange-strong);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--bmg-color-navy-strong);
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  font-size: 3.2rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.lead {
  max-width: 760px;
  color: var(--bmg-color-muted);
  font-size: 1.14rem;
  overflow-wrap: anywhere;
}

.hero {
  min-height: 610px;
  display: grid;
  align-items: end;
  color: var(--bmg-color-surface);
  background-color: var(--bmg-color-navy);
  background-image:
    linear-gradient(90deg, rgba(10, 43, 68, 0.9), rgba(10, 43, 68, 0.66) 48%, rgba(10, 43, 68, 0.18)),
    url("../img/hero-current.jpg");
  background-image:
    linear-gradient(90deg, rgba(10, 43, 68, 0.9), rgba(10, 43, 68, 0.66) 48%, rgba(10, 43, 68, 0.18)),
    image-set(
      url("../img/hero-current-1600.webp") type("image/webp"),
      url("../img/hero-current.jpg") type("image/jpeg")
    );
  background-position: 50% 44.81%;
  background-size: cover;
}

.hero__inner {
  width: min(calc(100% - 2rem), var(--bmg-container));
  margin: 0 auto;
  padding: 5.4rem 0 4.4rem;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero__subline {
  color: var(--bmg-color-surface);
}

.hero h1 {
  max-width: 760px;
  font-size: 4rem;
}

.hero__subline {
  max-width: 760px;
  margin-top: 0.75rem;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero .lead {
  max-width: 680px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.05rem;
  border: 2px solid transparent;
  border-radius: var(--bmg-radius);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  color: var(--bmg-color-surface);
  background: var(--bmg-color-orange);
}

.button--primary:hover {
  color: var(--bmg-color-surface);
  background: var(--bmg-color-orange-strong);
}

.button--secondary {
  color: var(--bmg-color-surface);
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover {
  color: var(--bmg-color-navy-strong);
  background: var(--bmg-color-surface);
}

.button--outline {
  color: var(--bmg-color-navy);
  border-color: var(--bmg-color-line);
  background: var(--bmg-color-surface);
}

.button--outline:hover {
  color: var(--bmg-color-navy-strong);
  border-color: var(--bmg-color-navy);
}

.button [aria-hidden="true"] {
  margin-left: 0.25rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--bmg-color-line);
  border-radius: var(--bmg-radius);
  background: var(--bmg-color-surface);
}

.card h3 {
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--bmg-color-muted);
}

.current-card {
  border-color: rgba(210, 102, 32, 0.28);
  box-shadow: 0 10px 24px rgba(210, 102, 32, 0.08);
}

.action-hero {
  position: relative;
  overflow: hidden;
}

.action-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.signal-panel {
  min-height: 300px;
  padding: 1.6rem;
  display: grid;
  align-content: center;
  gap: 1.25rem;
  border: 1px solid rgba(25, 75, 109, 0.18);
  border-radius: var(--bmg-radius);
  color: var(--bmg-color-surface);
  background: var(--bmg-color-navy-strong);
  box-shadow: var(--bmg-shadow);
}

.signal-panel__label {
  color: rgba(255, 255, 255, 0.76);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.signal-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.waveform {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0;
}

.waveform span {
  width: 0.7rem;
  border-radius: 999px;
  background: var(--bmg-color-orange);
}

.waveform span:nth-child(1) { height: 36px; }
.waveform span:nth-child(2) { height: 82px; }
.waveform span:nth-child(3) { height: 58px; }
.waveform span:nth-child(4) { height: 106px; }
.waveform span:nth-child(5) { height: 72px; }
.waveform span:nth-child(6) { height: 46px; }
.waveform span:nth-child(7) { height: 92px; }
.waveform span:nth-child(8) { height: 54px; }

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 700;
}

.numbered-card {
  position: relative;
  padding-top: 3.4rem;
}

.numbered-card::before {
  position: absolute;
  top: 1.2rem;
  left: 1.35rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--bmg-color-surface);
  background: var(--bmg-color-navy);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  content: attr(data-step);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.split__media {
  overflow: hidden;
  border-radius: var(--bmg-radius);
  box-shadow: var(--bmg-shadow);
  background: var(--bmg-color-surface);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

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

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.role-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.logo-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.logo-card img {
  max-height: 82px;
  width: auto;
  object-fit: contain;
}

.logo-card--project img {
  max-height: 112px;
}

.logo-card__label {
  color: var(--bmg-color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-band {
  position: relative;
  overflow: hidden;
  color: var(--bmg-color-surface);
  background: var(--bmg-color-navy-strong);
}

.quote-band--mandela {
  background:
    linear-gradient(118deg, rgba(10, 39, 60, 0.98) 0%, rgba(18, 58, 85, 0.96) 48%, rgba(25, 75, 109, 0.92) 100%),
    var(--bmg-color-navy-strong);
}

.quote-band--mandela::before {
  content: none;
}

.quote-band--mandela::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(210, 102, 32, 0.2) 0 0.35rem, transparent 0.35rem),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.04) 100%);
  content: "";
  pointer-events: none;
}

.quote-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(2.4rem, 7vw, 5.8rem);
  align-items: center;
  min-height: 520px;
}

.quote-portrait {
  position: relative;
  width: min(100%, 380px);
  margin: 0;
}

.quote-portrait::before {
  position: absolute;
  inset: 1.35rem -1.2rem -1.35rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(210, 102, 32, 0.82);
  content: "";
  transform: rotate(2.2deg);
}

.quote-portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 32px 70px rgba(3, 17, 28, 0.42);
  filter: saturate(0.92) contrast(1.04);
}

.quote-portrait figcaption {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.55rem 0.7rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: rgba(7, 31, 48, 0.9);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  line-height: 1.45;
  box-shadow: 0 18px 40px rgba(3, 17, 28, 0.28);
}

.quote-portrait a {
  color: var(--bmg-color-surface);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.quote-band blockquote {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 2.4rem 0 0 2.2rem;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(2.25rem, 4.2vw, 4.45rem);
  font-weight: 800;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.quote-band blockquote::before {
  position: absolute;
  top: -0.7rem;
  left: -0.2rem;
  color: var(--bmg-color-orange);
  content: "“";
  font-size: clamp(4.6rem, 10vw, 8.8rem);
  font-weight: 900;
  line-height: 1;
}

.quote-band blockquote p {
  margin: 0;
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.quote-band cite {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: normal;
  font-weight: 700;
}

.quote-band cite::before {
  width: 3.2rem;
  height: 2px;
  background: var(--bmg-color-orange);
  content: "";
}

.form {
  max-width: 760px;
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--bmg-color-navy-strong);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--bmg-color-line);
  border-radius: var(--bmg-radius);
  padding: 0.8rem 0.9rem;
  color: var(--bmg-color-text);
  background: var(--bmg-color-surface);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.consent-field {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.consent-field input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--bmg-color-orange);
}

.consent-field label {
  font-weight: 600;
  line-height: 1.45;
}

.form-note,
.status-note {
  color: var(--bmg-color-muted);
  font-size: 0.95rem;
}

.status-note {
  min-height: 1.5rem;
}

.status-note--error {
  display: inline-block;
  padding: 0.75rem 0.9rem;
  color: var(--bmg-color-error);
  border-left: 4px solid var(--bmg-color-error);
  border-radius: var(--bmg-radius);
  background: var(--bmg-color-error-soft);
  font-weight: 700;
}

.legal-text {
  max-width: 860px;
}

.legal-text h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.site-footer {
  color: var(--bmg-color-surface);
  background: var(--bmg-color-navy-strong);
}

.site-footer__inner {
  width: min(calc(100% - 2rem), var(--bmg-container));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1.1fr 1.7fr;
  gap: 2rem;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}

.footer-brand p {
  min-width: 0;
  margin: 0;
}

.footer-brand img {
  width: 64px;
  height: auto;
}

.footer-brand strong {
  display: block;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.footer-brand span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-links h2 {
  margin-bottom: 0.6rem;
  color: var(--bmg-color-surface);
  font-size: 0.95rem;
}

.footer-links ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 960px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

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

  .split,
  .action-hero__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --bmg-header-height: 66px;
  }

  .site-header__inner {
    width: min(calc(100% - 1.25rem), var(--bmg-container));
    justify-content: space-between;
    position: relative;
    padding-right: 3.3rem;
  }

  .brand {
    flex: 1 1 auto;
    max-width: 100%;
  }

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

  .brand__mark {
    width: 44px;
    height: auto;
    flex-basis: 44px;
  }

  .brand__claim {
    display: none;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-flex !important;
    flex: 0 0 44px;
    transform: translateY(-50%);
  }

  .site-nav {
    position: fixed;
    top: var(--bmg-header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - var(--bmg-header-height));
    overflow: auto;
    border-bottom: 1px solid var(--bmg-color-line);
    background: var(--bmg-color-surface);
  }

  body.nav-open .site-nav {
    display: block;
  }

  .site-nav__list {
    width: min(calc(100% - 1.25rem), var(--bmg-container));
    margin: 0 auto;
    padding: 0.8rem 0 1rem;
    display: grid;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
  }

  .hero {
    min-height: 500px;
    background-image:
      linear-gradient(90deg, rgba(10, 43, 68, 0.9), rgba(10, 43, 68, 0.66) 48%, rgba(10, 43, 68, 0.18)),
      url("../img/hero-current.jpg");
    background-image:
      linear-gradient(90deg, rgba(10, 43, 68, 0.9), rgba(10, 43, 68, 0.66) 48%, rgba(10, 43, 68, 0.18)),
      image-set(
        url("../img/hero-current-960.webp") type("image/webp"),
        url("../img/hero-current.jpg") type("image/jpeg")
      );
    background-position: 54% 44.81%;
  }

  .hero__inner {
    padding: 3.5rem 0 3.3rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero__subline {
    font-size: 1.45rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .grid--2,
  .grid--3,
  .topic-list,
  .action-hero__grid,
  .role-row,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    min-height: 250px;
  }

  .quote-panel {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    min-height: auto;
  }

  .quote-portrait {
    width: min(100%, 320px);
  }

  .quote-band blockquote {
    max-width: 24ch;
    padding: 2rem 0 0 1.8rem;
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 520px) {
  .container,
  .hero__inner {
    width: min(calc(100% - 2rem), var(--bmg-container));
  }

  .hero__inner,
  .section__header,
  .split > *,
  .action-hero__grid > *,
  .card,
  .topic-list,
  .role-row {
    min-width: 0;
    max-width: 100%;
  }

  .section__header,
  .split > *,
  .action-hero__grid > *,
  .card {
    width: min(100%, 330px);
  }

  .waveform {
    gap: 0.36rem;
  }

  .waveform span {
    width: 0.55rem;
  }

  .brand__name {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 470px;
  }

  h1 {
    font-size: 1.85rem;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 1.95rem;
  }

  .hero__subline {
    max-width: 330px;
    font-size: 1.08rem;
  }

  .hero .lead {
    max-width: 330px;
  }

  h2 {
    font-size: 1.42rem;
  }

  .button {
    width: 100%;
  }

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

  .footer-brand img {
    width: 56px;
  }

  .footer-brand p {
    width: 100%;
  }

  .footer-brand span {
    max-width: 22ch;
  }

  .quote-panel {
    display: block;
  }

  .quote-portrait {
    margin-bottom: 1.4rem;
  }

  .quote-portrait img,
  .quote-portrait figcaption {
    width: min(100%, 240px);
    max-width: 240px;
  }

  .quote-band blockquote {
    width: 100%;
    max-width: 21ch;
    padding-top: 1.8rem;
    padding-left: 1.15rem;
    font-size: 1.46rem;
  }

  .quote-band cite {
    gap: 0.8rem;
    font-size: 1.18rem;
  }

  .quote-band cite::before {
    width: 2rem;
  }
}
