/* AntiScam CEE, antiscamcee.org
   System (files/AntiScam-CEE-web-podklady.md v1.0 + brand manual 1.0):
   - Type: Instrument Sans 400 to 700, self-hosted. Fluid between the brief's mobile and desktop
     sizes (375 to 1200 px): H1 40 to 64, H2 30 to 42, lead 18 to 21. H3 22, body 17, cards 16,
     labels 12 to 14 uppercase with 0.14em tracking.
   - Colour: navy carries the brand (header, hero, call to action, footer); content sections
     alternate white and --surface. Yellow is a signal only: buttons, the alert bar, icons and CEE
     on navy. Never yellow or gold text on white.
   - Shape: buttons 8 px, small cards (country, partner) 12 px, large cards (activity, alert) 14 px,
     icon tile 12 px.
   - Layout: content 1200 px, gutter 20 to 40 px, sections 64 to 104 px, breakpoints 768 and 1024.
   - Motion: one story (the mark builds itself in the hero), feedback on hover and press under
     200 ms, the mobile menu. Everything is static under prefers-reduced-motion. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-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;
}
/* Instrument Sans has no Cyrillic. Inter (rsms.me/inter, OFL, @fontsource-variable/inter 5.3.0) covers
   only the Cyrillic range, so Ukrainian text falls back to it glyph by glyph and Latin stays Instrument Sans. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Arial resized to Instrument Sans metrics (fontTools, 22. 10. 2026), so the swap does not shift the layout. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 101.42%;
  ascent-override: 95.64%;
  descent-override: 24.65%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #16306B;
  --navy-dark: #0F2453;
  --yellow: #FFD100;
  --yellow-hover: #F2C500;
  --gold: #E0A800;
  --surface: #EEF2F8;
  --line: #DDE3EE;
  --line-strong: #B9C3D8;
  --text: #0E1A3A;
  --text-muted: #3A4560;
  --text-soft: #5A6580;
  --on-navy: #D6DDEE;
  --on-navy-soft: #C9D2E6;
  --white: #FFFFFF;

  --font: "Instrument Sans", "Inter", "Instrument Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 45.8px + 4.85vw, 104px);
  --header-h: 68px;

  --r-btn: 8px;
  --r-card: 12px;
  --r-card-lg: 14px;

  --fs-h1: clamp(40px, 29.09px + 2.909vw, 64px);
  --fs-h2: clamp(30px, 24.55px + 1.455vw, 42px);
  --fs-lead: clamp(18px, 16.64px + 0.364vw, 21px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-lift: 0 1px 2px rgb(22 48 107 / 0.06), 0 14px 30px -14px rgb(22 48 107 / 0.28);

  --focus-color: var(--navy);
}
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:has(.menu[open]) { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

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

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: var(--gutter);
  padding: 12px 18px;
  border-radius: var(--r-btn);
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

/* Navy surfaces switch the focus ring to yellow. */
.topbar, .site-header, .menu, .hero, .page-head, .join, .footer { --focus-color: var(--yellow); }

/* ---------- Type ---------- */
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.tagline {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--on-navy-soft);
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--r-btn);
  font: 700 17px/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out),
    transform 0.12s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-hover); }

.btn--outline { border-color: rgb(255 255 255 / 0.6); color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgb(255 255 255 / 0.1); }

.btn--sm { min-height: 44px; padding: 0 20px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-out);
}
a.link-arrow:hover span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
a.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
}
.topbar .tagline {
  font-size: clamp(9.2px, 2.9vw, 12px);
  letter-spacing: 0.1em;
}
@media (min-width: 480px) {
  .topbar .tagline { font-size: 12px; letter-spacing: 0.14em; }
}
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang a {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--on-navy-soft);
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}
.lang a:hover { color: var(--white); }
.lang a[aria-current] { color: var(--white); font-weight: 700; }
.lang__sep { color: var(--on-navy-soft); }
.lang--bar { display: none; }
.lang--bar a { height: 36px; }
/* Extends the hit area to 44 px without growing the 36 px bar. */
.lang--bar a::after { content: ""; position: absolute; inset: -4px 0; }

@media (min-width: 1024px) {
  .topbar__inner { justify-content: space-between; }
  .topbar .tagline { font-size: 12px; letter-spacing: 0.14em; }
  .lang--bar { display: flex; margin-right: -12px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--white);
}
@supports (animation-timeline: scroll()) {
  .site-header {
    animation: header-shadow linear both;
    animation-timeline: scroll();
    animation-range: 0 160px;
  }
  @keyframes header-shadow {
    from { box-shadow: 0 0 0 rgb(14 26 58 / 0); }
    to { box-shadow: 0 10px 30px -18px rgb(14 26 58 / 0.65); }
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
  width: 150px;
  padding-block: 12px;
  border-radius: 4px;
}
.logo { width: 100%; height: auto; overflow: visible; }

.nav__menu { display: none; }
.nav__links {
  display: flex;
  gap: clamp(18px, 1.9vw, 30px);
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  color: var(--on-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-out);
}
.nav__links a:hover,
.nav__links a[aria-current] { color: var(--white); }
.nav__links a:hover::after,
.nav__links a[aria-current]::after { transform: scaleX(1); }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -4px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--r-btn);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}
.menu-toggle:hover { border-color: rgb(255 255 255 / 0.7); background: rgb(255 255 255 / 0.08); }

@media (min-width: 1024px) {
  .brand { width: 190px; }
  .nav__menu {
    display: flex;
    align-items: center;
    gap: clamp(24px, 2.6vw, 40px);
  }
  .menu-toggle { display: none; }
}
/* Hungarian and Ukrainian labels are a third longer: one size down on small desktops keeps air after the logo. */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .brand { width: 170px; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 15px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0 0 max(32px, env(safe-area-inset-bottom));
  border: 0;
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu::backdrop { background: transparent; }
/* The dialog itself takes focus on open (site.js), so no link lights up; Tab moves into it. */
.menu:focus { outline: none; }
.menu[open] { display: flex; flex-direction: column; }
.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  flex: none;
}
.menu__body { padding-top: 16px; }
.menu__links a {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
}
.menu__links a:active { color: var(--yellow); }
.menu__cta { width: 100%; margin-top: 32px; }
/* Six languages: equal columns instead of separators, so the row fits a 320 px phone (6 x 48 px). */
.lang--menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 336px;
  margin-top: 24px;
}
.lang--menu .lang__sep { display: none; }
.lang--menu a { height: 48px; min-width: 0; font-size: 15px; justify-items: start; }

@media (prefers-reduced-motion: no-preference) {
  .menu {
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.16s var(--ease-out),
      transform 0.16s var(--ease-out),
      overlay 0.16s allow-discrete,
      display 0.16s allow-discrete;
  }
  .menu[open] {
    opacity: 1;
    transform: none;
    transition-duration: 0.28s;
  }
  @starting-style {
    .menu[open] { opacity: 0; transform: translateY(-6px); }
  }
  .menu[open] .menu__links li {
    animation: menu-item 0.36s var(--ease-out) both;
    animation-delay: calc(60ms + var(--i) * 35ms);
  }
  @keyframes menu-item {
    from { opacity: 0; transform: translateY(8px); }
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(36px, 22px + 3.6vw, 72px) var(--section-y);
}
.hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.hero__mark {
  order: -1;
  justify-self: center;
  width: 160px;
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.06;
  letter-spacing: -0.026em;
}
/* Each sentence starts on its own line, so the second one lands as the answer to the first. */
.hero__title span { display: block; }
.hero__lead {
  margin-top: 24px;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-navy);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .hero__mark { width: 200px; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .hero__mark { order: 0; width: 360px; }
}

/* The mark builds itself once, in the order of its story: centre, directions, circle, points. */
.mark { width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .mark__core,
  .mark__node {
    transform-box: fill-box;
    transform-origin: center;
  }
  .mark__core { animation: mark-pop 0.5s var(--ease-out) 60ms both; }
  .mark__ray {
    stroke-dasharray: 78 100;
    animation: mark-ray 0.56s var(--ease-out) var(--d) both;
  }
  .mark__ring {
    stroke-dasharray: 491;
    animation: mark-ring 1s var(--ease-in-out) 450ms both;
  }
  .mark__node { animation: mark-pop 0.42s var(--ease-out) var(--d) both; }

  @keyframes mark-pop {
    from { opacity: 0; transform: scale(0.35); }
  }
  @keyframes mark-ray {
    from { stroke-dasharray: 0 100; opacity: 0; }
    15% { opacity: 1; }
  }
  @keyframes mark-ring {
    from { stroke-dashoffset: 491; }
    to { stroke-dashoffset: 0; }
  }
}

/* ---------- Subpage head (navy band under the header) ---------- */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(36px, 24px + 3vw, 64px) clamp(44px, 30px + 3.6vw, 80px);
}
.page-head .section-head { margin-bottom: 0; }
.page-head__title {
  font-size: clamp(36px, 30px + 1.9vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.024em;
}
.page-head__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-navy);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(28px, 22px + 1.6vw, 40px);
}
.section-head__intro {
  font-size: clamp(17px, 16.55px + 0.12vw, 18px);
  color: var(--text-muted);
}
.section-head--split { gap: 4px; }

@media (min-width: 768px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
  }
  .section-head--split .link-arrow { margin-bottom: -6px; }
}

/* Countries */
.countries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.country {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
}
.country > span { display: block; }
.country__code {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.country__name {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.country__partner {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-soft);
}
@media (min-width: 640px) {
  .countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .countries { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* What we do */
.activities {
  display: grid;
  gap: 16px;
}
.activity {
  padding: 28px;
  border-radius: var(--r-card-lg);
  background: var(--surface);
}
.activity__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--yellow);
}
.activity__title {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.activity__text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .activities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Alerts */
.alerts {
  display: grid;
  gap: 16px;
}
.alert {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 22px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: var(--r-card-lg);
  background:
    linear-gradient(var(--yellow), var(--yellow)) top / 100% 6px no-repeat,
    var(--white);
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out);
}
.alert:hover { box-shadow: var(--shadow-lift); }
.alert:focus-within { outline: 3px solid var(--navy); outline-offset: 3px; }
.alert__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.alert__title {
  margin-top: 10px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.alert__title a { text-decoration: none; }
.alert__title a:focus-visible { outline: none; }
/* The whole card is the link; its accessible name is the alert title. */
.alert__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.alert__text {
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-muted);
}
.alert__source {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-soft);
}
.alert__more { margin-top: auto; padding-top: 12px; }
.alert:hover .alert__more span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.alert:hover .alert__more .icon { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .alert:hover { transform: translateY(-3px); }
}
/* Tablets show one card per row: the card splits into a title and a text column so lines stay short. */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .alert {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "meta meta" "title text" "title source" "title more";
    column-gap: 32px;
  }
  .alert__meta { grid-area: meta; }
  .alert__title { grid-area: title; }
  .alert__text { grid-area: text; }
  .alert__source { grid-area: source; }
  .alert__more { grid-area: more; margin-top: 0; }
}
@media (min-width: 1024px) {
  .alerts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Partners */
.partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.partner {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 16px;
  border-radius: var(--r-card);
  text-align: center;
}
/* Until real logos arrive the boxes name the kinds of partners the network invites. */
.partner--type {
  gap: 10px;
  align-content: center;
  border: 2px dashed var(--line-strong);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.partner .icon { width: 28px; height: 28px; color: var(--navy); }
.partner--invite { padding: 0; }
.partner--invite a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 96px;
  padding: 16px;
  border-radius: inherit;
  background: var(--yellow);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out);
}
.partner--invite a:hover { background: var(--yellow-hover); }
/* For real logos: greyscale at rest, brand colour on hover. */
.partner img {
  max-height: 52px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.24s var(--ease-out), opacity 0.24s var(--ease-out);
}
.partner a:hover img,
.partner a:focus-visible img { filter: none; opacity: 1; }
@media (min-width: 768px) {
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .partners { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Join the network */
.join {
  padding-block: clamp(56px, 42.4px + 3.64vw, 86px);
  border-bottom: 8px solid var(--yellow);
  background: var(--navy);
  color: var(--white);
}
.join__inner {
  display: grid;
  gap: 28px;
  justify-items: start;
}
.join__text {
  margin-top: 12px;
  font-size: clamp(17px, 16.55px + 0.12vw, 18px);
  color: var(--on-navy);
}
@media (min-width: 768px) {
  .join__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding-top: clamp(56px, 46.9px + 2.42vw, 76px);
  background: var(--navy);
  color: var(--on-navy);
}
.footer__grid {
  display: grid;
  gap: 40px;
}
.footer .brand { width: 170px; padding-block: 11px; margin-block: -11px; }
.footer__tagline { margin-top: 18px; white-space: normal; }
.footer address {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
}
.footer__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer__col ul { margin-top: 8px; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 16px;
  color: var(--on-navy);
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}
.footer__col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.footer__bottom {
  margin-top: 48px;
  padding-block: 24px 32px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 13px;
  color: var(--on-navy-soft);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footer .brand { width: 190px; }
}

/* ---------- 404 (one bilingual page for every missing address) ---------- */
.notfound-page { background: var(--navy); }
.notfound {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.notfound__brand { margin-bottom: clamp(36px, 24px + 3vw, 64px); }
.notfound__grid { display: grid; gap: clamp(40px, 28px + 3vw, 64px); }
.notfound__lang { display: grid; gap: 16px; align-content: start; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.notfound__langs {
  flex-wrap: wrap;
  gap: 0 4px;
  margin: clamp(40px, 28px + 3vw, 64px) 0 0 -12px;
  padding: 0;
  list-style: none;
}
.notfound__langs a { height: 44px; padding: 0 12px; font-size: 15px; letter-spacing: 0; }
@media (min-width: 900px) {
  .notfound__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
