/* ============================================================
   Metroreklama × FARA 2026 — landing page
   ============================================================ */

:root {
  --orange: #F37435;
  --orange-deep: #D85F22;
  --orange-tint: #FFE6D4;
  --blue: #00ADBE;
  --ink: #0E0F10;
  --ink-soft: #1A1B1C;
  --ink-line: #2A2B2C;
  --paper: #F6F4F0;
  --paper-soft: #EDEAE4;
  --paper-line: #D9D5CD;
  --muted: #6B6A66;
  --white: #FFFFFF;
  --section-pad-y: clamp(56px, 8vw, 120px);
  --gutter: clamp(20px, 5vw, 80px);
  --container: 1440px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.4;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--orange); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* eyebrow numbering */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow .num {
  display: inline-block;
  opacity: 1;
}
.eyebrow .label {
  opacity: 0.7;
}

/* generic section */
section { position: relative; }

/* ============================================================
   01 — HERO
   ============================================================ */
.hero {
  /* Constant: hero is always one viewport tall */
  height: 100vh;
  height: 100svh;
  background: var(--orange);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(20px, 3vh, 48px) var(--gutter) clamp(20px, 3vh, 48px);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__eyebrow .num { font-variant-numeric: tabular-nums; }
.hero__eyebrow .x { opacity: 0.6; }

.hero__body {
  flex: 1;
  min-height: 0;
  /* container queries: H1 + mark size from the BODY's own dimensions — always fit */
  container-type: size;
  container-name: herobody;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px, 3cqw, 64px);
  margin-top: clamp(16px, 2vh, 40px);
  /* shared size token — capped by both width and height of the body */
  --h1-fs: clamp(32px, min(11cqw, 25cqh), 220px);
  --h1-height: calc(var(--h1-fs) * 4 * 0.92);
}

.hero__title {
  font-weight: 800;
  font-size: var(--h1-fs);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  flex: 0 0 auto;
}
.hero__title .stop { color: var(--white); }

/* desktop default: every word on its own line; the <span class="hero__break"> is hidden */
.hero__word { display: block; }
.hero__break { display: none; }

.hero__mark {
  position: relative;
  flex: 0 0 auto;
  /* exact same height as the 4-line H1 text block */
  height: var(--h1-height);
  aspect-ratio: 1294 / 918;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.hero__mark svg, .hero__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* moving "steps" detail */
.hero__steps {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero__scroll {
  margin-top: clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 56px;
  background: var(--white);
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero__scroll svg { width: 14px; height: 14px; }

/* ============================================================
   02 — POSITIONING
   ============================================================ */
.positioning {
  background: var(--ink);
  color: var(--white);
  padding: 40px 0;
  overflow: hidden;        /* let the right band bleed off the edge */
}
.positioning__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.positioning__copy { min-width: 0; }
.positioning__heading {
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.positioning__heading .accent { color: var(--orange); }
.positioning__lead {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 36ch;
  margin: 0;
}
.positioning__lead span { display: block; }

/* ---- continuous skewed-panel band ---- */
.positioning__band {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: clamp(380px, 38vw, 540px);
  /* bleed off the right edge of the viewport */
  margin-right: calc(-1 * var(--gutter));
  /* pull left so the first panel meets the left fade cleanly */
  margin-left: clamp(-40px, -2vw, -16px);
  overflow: hidden;
}
.positioning__panel {
  margin: 0;
  flex: 1 1 0;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  background: #1a1a1a;
  transform: skewX(-9deg);
  position: relative;
}
.positioning__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: skewX(9deg) scale(1.18);
  transform-origin: center center;
  transition: transform 800ms ease;
}
/* per-panel framing (both new images are pre-cropped — keep centered) */
.positioning__panel:nth-of-type(1) img { object-position: center; }
.positioning__panel:nth-of-type(3) img { object-position: center; }
.positioning__panel:hover img {
  transform: skewX(9deg) scale(1.24);
}
/* left fade — first panel emerges from the dark section bg */
.positioning__fade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(to right, var(--ink) 0%, rgba(14,15,16,0.6) 30%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   03 — STATS (6 columns)
   ============================================================ */
.stats {
  background: var(--paper);
  padding: clamp(48px, 6vw, 96px) 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.stats__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
}
.stats__tag {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 40px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat__number {
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  word-spacing: -0.35em;
  color: var(--orange);
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
.stat__unit {
  font-size: 0.35em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.stat__label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
}
.stat__source {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   04 — CAMPAIGNS
   ============================================================ */
.campaigns {
  background: var(--ink);
  color: var(--white);
  padding: var(--section-pad-y) 0;
  overflow: hidden;
}
.campaigns__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.campaigns__heading {
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
  text-wrap: balance;
}
.campaigns__heading .accent { color: var(--orange); }
.campaigns__tag {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-top: 16px;
}
.campaigns__nav {
  display: flex;
  gap: 12px;
}
.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.nav-btn:hover { background: var(--orange); border-color: var(--orange); }
.nav-btn:active { transform: scale(0.94); }
.nav-btn svg { width: 18px; height: 18px; }

.campaigns__rail-wrap {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
}
.campaigns__rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  /* snap is disabled — incompatible with the seamless infinite loop */
  scroll-snap-type: none;
  scrollbar-width: none;
  scroll-padding-left: var(--gutter);
  padding-bottom: 24px;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.campaigns__rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.campaigns__rail.is-dragging .campaign,
.campaigns__rail.is-dragging .campaign__img img {
  pointer-events: none;
}
.campaigns__rail .campaign__img img {
  -webkit-user-drag: none;
  user-drag: none;
}
.campaigns__rail::-webkit-scrollbar { display: none; }
.campaign {
  flex: 0 0 clamp(200px, 22vw, 280px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.campaign__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-soft);
}
.campaign__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.campaign:hover .campaign__img img { transform: scale(1.05); }
.campaign__brand {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}
.campaign__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
  margin: -6px 0 0;
}

.campaigns__footer {
  margin-top: clamp(24px, 3vw, 40px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 12px;
  transition: color 200ms ease;
  width: 100%;
  max-width: 360px;
}
.link-arrow span:first-child { margin-right: auto; }
.link-arrow:hover { color: var(--white); }
.link-arrow svg { width: 16px; height: 12px; }

/* ============================================================
   05 — MAP
   ============================================================ */
.map {
  background: var(--white);
  padding: var(--section-pad-y) 0;
}
.map__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.map__heading {
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 20px 0 28px;
  text-wrap: normal;
}
.map__heading .line { display: block; }
.map__heading .accent { color: var(--orange); }
.map__legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.map__legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex: 0 0 12px;
}
.dot--metro { background: var(--orange); }
.dot--transport { background: var(--blue); }
.dot--bb { background: var(--ink); }
.dot--retail { background: #B7B3AB; }

.map__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  transition: color 200ms ease, border-color 200ms ease;
  width: 100%;
  max-width: 360px;
}
.map__cta span:first-child { margin-right: auto; }
.map__cta:hover { color: var(--orange); border-color: var(--orange); }
.map__cta svg { width: 14px; height: 10px; flex: 0 0 auto; }
.map__image {
  position: relative;
  width: 100%;
}
.map__image img {
  width: 100%;
  height: auto;
}

/* ============================================================
   06 — CTA + FORM
   ============================================================ */
.cta {
  background: var(--ink);
  color: var(--white);
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(243,116,53,0.18), transparent 60%);
  pointer-events: none;
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  position: relative;
}
.cta__heading {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 20px 0 32px;
}
.cta__heading .strong { color: var(--orange); display: block; }
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.cta__btn:hover { background: var(--orange); color: var(--white); }
.cta__btn:active { transform: scale(0.97); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__field {
  position: relative;
}
.form__field--full { grid-column: 1 / -1; }
.form__field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 18px 0;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 200ms ease;
}
.form__field input::placeholder { color: rgba(255,255,255,0.45); }
.form__field input:focus { border-color: var(--orange); }
.form__submit {
  grid-column: 1 / -1;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 20px;
  border-radius: 4px;
  margin-top: 8px;
  transition: background 200ms ease, transform 200ms ease;
}
.form__submit:hover { background: var(--orange-deep); }
.form__submit:active { transform: scale(0.98); }
.form__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 12px 0 0;
}
.form__note span { display: block; }
.form__status {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--orange);
  min-height: 1.2em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
  border-top: 1px solid var(--ink-line);
}
.footer__row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  flex-wrap: wrap;
  font-size: 14px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  color: var(--orange);
}
.footer__logo img {
  display: block;
  height: 24px;
  width: auto;
}
.footer__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__item svg { width: 16px; height: 16px; opacity: 0.6; }
.footer__spacer { flex: 1; }
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--ink-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease;
}
.footer__social:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer__social svg { width: 16px; height: 16px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(.2,.7,0,1), transform 800ms cubic-bezier(.2,.7,0,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

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

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .hero__body {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: clamp(16px, 3cqh, 40px);
    /* stacked: width drives both children — title + logo each full column width */
    --h1-fs: clamp(40px, min(15cqw, 12cqh), 140px);
  }
  .hero__title { width: 100%; }
  .hero__mark {
    width: 100%;
    height: auto;
    aspect-ratio: 1294 / 918;
  }
/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
  .positioning__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta__grid { grid-template-columns: 1fr; }
  .map__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   POSITIONING — MOBILE (<768px)
   2 portrait tiles with diagonal inner edges + bus row underneath.
   ============================================================ */
@media (max-width: 768px) {
  .positioning {
    /* natural height — a small scroll is fine */
    min-height: 0;
    display: block;
    padding: clamp(40px, 8vw, 64px) 0;
  }
  .positioning > .container {
    display: block;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    width: 100%;
  }
  .positioning__grid {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vh, 36px);
  }
  .positioning__copy {
    box-sizing: border-box;
    align-self: stretch;
    width: 100%;
    padding: 0 var(--gutter);
    margin: 0;
    text-align: left;
  }
  .positioning__heading {
    text-align: left;
    margin: 0 0 16px;
    padding: 0;
  }
  .positioning__lead {
    text-align: left;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  /* image block — outer edges flush with the section's content margins */
  .positioning__band {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px;
    height: auto;
    margin: 0;
    overflow: visible;
  }
  .positioning__fade { display: none; }

  .positioning__panel {
    flex: none;
    width: 100%;
    height: auto;
    margin: 0;
    transform: none;
    border-radius: 0;
    aspect-ratio: 3 / 4;
    background: var(--ink);
  }
  .positioning__panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }
  .positioning__panel:hover img { transform: none; }

  /* HTML order: 1 = Nescafé, 2 = bus, 3 = Giro Terminal poster
     Mobile rearrangement: Giro left, Nescafé right, bus full-width below.
     Clean 2px gap on both axes — no diagonal seams. */
  .positioning__panel:nth-of-type(3) {
    /* Left tile — Giro metro poster */
    grid-column: 1;
    grid-row: 1;
    clip-path: none;
  }
  .positioning__panel:nth-of-type(1) {
    /* Right tile — Nescafé billboard */
    grid-column: 2;
    grid-row: 1;
    clip-path: none;
  }
  .positioning__panel:nth-of-type(2) {
    /* Bus — full width, straight, 16/9 */
    grid-column: 1 / -1;
    grid-row: 2;
    aspect-ratio: 16 / 9;
    clip-path: none;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }
  .hero {
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero__inner {
    padding-top: 24px;
    padding-bottom: 32px;
  }
  .hero__top {
    align-items: center;
  }
  .hero__body {
    /* left-aligned, equal vertical spacing between title & logo */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    margin-top: 0;
    --h1-fs: clamp(28px, min(20cqw, 12cqh), 96px);
  }
  /* TEXT on top — one word per line */
  .hero__title {
    order: 0;
    line-height: 0.92;
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
    align-self: flex-start;
  }
  .hero__word { display: block; }
  .hero__break { display: none; }
  /* LOGO below — exactly as wide as the widest word in the title */
  .hero__mark {
    order: 1;
    width: max-content;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1294 / 918;
    /* match widest H1 word width using a ch-based estimate ("напред." ≈ 4.2em in Onest 800) */
    width: calc(var(--h1-fs) * 4.2);
  }
  .hero__scroll::before { height: 36px; }

  .positioning__heading { font-size: clamp(34px, 9vw, 52px); }
  /* (mobile positioning band rules live in the dedicated <768px block below) */

  .stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .stat { gap: 2px; }
  .stat__label { padding-top: 4px; }
  .stat__number {
    /* sized so "13 418 000" — the longest number — always fits
       the viewport with comfortable margins. Factor 5 ≈ visual width
       of the longest string in ems (8 tabular digits + 2 narrow
       spaces, accounting for the letter-spacing tighten). */
    font-size: min(calc((100vw - 64px) / 5), 80px);
    font-weight: 800;
    word-spacing: normal;
  }

  .campaigns__head { grid-template-columns: 1fr; gap: 16px; }
  .campaigns__nav { justify-content: flex-end; }
  .campaigns__heading { font-size: clamp(32px, 9vw, 48px); }
  .campaign { flex: 0 0 78%; }

  .map__heading { font-size: clamp(32px, 9vw, 48px); }
  .map__legend li { font-size: 12px; letter-spacing: 0.06em; }
  .map__cta { display: none; }

  .cta__heading { font-size: clamp(36px, 10vw, 56px); }
  .form { grid-template-columns: 1fr; gap: 8px; }

  .footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer__logo { width: 70%; }
  .footer__logo img { height: auto; width: 100%; }
  .footer__spacer { display: none; }
}
