/* ==========================================================================
   Maltacamp 2028 — site styles
   Brand: maltacampbrandboard.pdf → colours #bf3232 / #004420 / #ffffff,
          Poppins SemiBold (headings) + Poppins Regular (body).
   Mobile-first. All sizes in rem/em so text can be zoomed to 200 %.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours (brandboard) */
  --c-red: #bf3232;    /* 5.65:1 on white → OK for text & buttons */
  --c-green: #004420;  /* 11.37:1 on white → main text colour */
  --c-white: #ffffff;
  /* Red on green is only 2.01:1 → never used as text/foreground on each other. */

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --w-regular: 400;
  --w-semibold: 600;

  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 0.75rem;
  --pill: 999px;
  --section-pad: clamp(3.5rem, 9vw, 6.5rem);

  /* Context colours (overridden per surface below) */
  --fg: var(--c-green);
  --bg: var(--c-white);
  --accent: var(--c-red);
  --focus: var(--c-green);
  --focus-halo: var(--c-white);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--w-regular);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  overflow-wrap: anywhere; /* long Hungarian words must never push the layout sideways */
}

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

h1, h2, h3 {
  font-weight: var(--w-semibold);
  line-height: 1.2;
  margin: 0 0 0.75em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 2vw, 2.5rem); text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); }
p, ul, ol, dl { margin: 0 0 1em; }
ul { padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: var(--w-semibold); }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.15em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--focus-halo);
  border-radius: 4px;
}

.sr-only {
  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 ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--c-green);
  color: var(--c-white);
  font-weight: var(--w-semibold);
  border-radius: var(--radius);
  max-width: calc(100% - 2rem);
  --focus: var(--c-green);
  --focus-halo: var(--c-white);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }
.section--flush-top { padding-top: 0; }
.section-intro { max-width: 46rem; margin-bottom: 2.5rem; }
.eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }

/* Surfaces — every surface sets its own text, accent and focus colours */
.surface-green {
  --fg: var(--c-white); --bg: var(--c-green); --accent: var(--c-white);
  --focus: var(--c-white); --focus-halo: var(--c-green);
  color: var(--fg); background: var(--bg);
}
.surface-red {
  --fg: var(--c-white); --bg: var(--c-red); --accent: var(--c-white);
  --focus: var(--c-white); --focus-halo: var(--c-red);
  color: var(--fg); background: var(--bg);
}
.surface-white {
  --fg: var(--c-green); --bg: var(--c-white); --accent: var(--c-red);
  --focus: var(--c-green); --focus-halo: var(--c-white);
  color: var(--fg); background: var(--bg);
}

/* ---------- Placeholders: visible "to be announced" markers ---------- */
.tba {
  display: inline-block;
  padding: 0.05em 0.6em;
  border: 2px dashed currentColor;
  border-radius: var(--pill);
  font-weight: var(--w-semibold);
  font-size: 0.9em;
  line-height: 1.5;
  white-space: normal;
}
.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 2px dashed currentColor;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.notice > svg { flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; }
.notice p { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* ---------- Buttons ---------- */
.btn {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.75rem;          /* ≥ 44px touch target */
  padding: 0.6em 1.4em;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font: inherit;
  font-weight: var(--w-semibold);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--c-red); color: var(--c-white); border-color: var(--c-red); }
.btn-primary:hover { background: var(--c-white); color: var(--c-red); }
.btn-secondary { background: transparent; color: var(--fg); border-color: currentColor; }
.btn-secondary:hover { background: var(--fg); color: var(--bg); }
/* On coloured surfaces, buttons turn white (red-on-green would fail contrast) */
.surface-green .btn-primary,
.surface-red .btn-primary,
.hero .btn-primary { background: var(--c-white); color: var(--c-green); border-color: var(--c-white); }
.surface-green .btn-primary:hover,
.surface-red .btn-primary:hover,
.hero .btn-primary:hover { background: transparent; color: var(--c-white); }
.btn[aria-disabled="true"] { cursor: not-allowed; border-style: dashed; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid rgba(0, 68, 32, 0.15);
}
/* Sticky only where there is room — at high zoom a sticky bar would hide content */
@media (min-width: 64em) and (min-height: 40em) {
  .site-header { position: sticky; top: 0; }
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding-block: 0.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 3.5rem; height: 3.5rem; }
.brand-text { font-weight: var(--w-semibold); line-height: 1.15; font-size: 0.95rem; min-width: 0; overflow-wrap: anywhere; }
.brand img { flex: none; }
.brand-text small { display: block; font-weight: var(--w-regular); font-size: 0.8rem; }

/* Language switcher: flag + code, current language highlighted */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0.2rem;
  list-style: none;
  border: 2px solid var(--c-green);
  border-radius: var(--pill);
}
.lang-switcher li { margin: 0; }
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.15rem 0.7rem;
  border-radius: var(--pill);
  font-size: 0.875rem;
  font-weight: var(--w-semibold);
  text-decoration: none;
  color: var(--c-green);
}
.lang-switcher img {
  width: 1.5rem;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 68, 32, 0.35); /* keeps the white stripe visible */
}
.lang-switcher a:hover { text-decoration: underline; }
.lang-switcher a[aria-current] { background: var(--c-green); color: var(--c-white); }
.lang-switcher a[aria-current] img { box-shadow: 0 0 0 1px var(--c-white); }
/* On very narrow screens show the logo only, so logo + language + menu fit one row */
@media (max-width: 30em) {
  .lang-switcher a { padding: 0.15rem 0.5rem; gap: 0.3rem; }
}
@media (max-width: 22.5em) {
  .menu-toggle .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle { padding: 0.25rem 0.7rem; }
}
@media (max-width: 26em) {
  .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.25rem 1rem;
  border: 2px solid var(--c-green);
  border-radius: var(--pill);
  background: var(--c-green);
  color: var(--c-white);
  font: inherit;
  font-weight: var(--w-semibold);
  font-size: 0.95rem;
  cursor: pointer;
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { flex-basis: 100%; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav li + li { margin: 0; }
.site-nav a {
  display: block;
  padding: 0.6rem 0.25rem;
  font-weight: var(--w-semibold);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 68, 32, 0.15);
}
.site-nav a:hover { color: var(--c-red); text-decoration: underline; }
.site-nav .nav-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.75rem; }
.site-nav .nav-cta a { border: 2px solid var(--c-red); padding: 0.6em 1.4em; }
.site-nav .nav-cta .btn-primary:hover { color: var(--c-red); text-decoration: none; }

/* JS present + small screen: collapse menu behind the toggle */
@media (max-width: 63.99em) {
  /* Without JS the full nav sits on its own row below logo + language switcher */
  .site-nav { order: 10; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav:not(.is-open) { display: none; }
  /* With JS the menu opens as a panel directly under the header */
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    padding-inline: var(--gutter);
    background: var(--c-white);
    border-bottom: 2px solid var(--c-green);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.18);
  }
}

@media (min-width: 64em) {
  .header-inner { column-gap: 1.25rem; }
  .site-nav { flex-basis: auto; }
  .site-nav ul { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.25rem 1.25rem; padding: 0; }
  .site-nav a { border: 0; padding: 0.4rem 0; }
  .site-nav .nav-cta { padding: 0 0 0 0.5rem; gap: 0.5rem; }
  .site-nav .nav-cta a { padding: 0.45em 1.1em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(100svh, 56rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  color: var(--c-white);
  --fg: var(--c-white); --accent: var(--c-white);
  --focus: var(--c-white); --focus-halo: var(--c-green);
  overflow: hidden;
  background: var(--c-green); /* shown until/if the photo loads */
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-media img { object-fit: cover; object-position: 50% 65%; max-width: none; }
/* Brand-green overlay (as on the brandboard). Strong enough for white text everywhere. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 68, 32, 0.80) 0%, rgba(0, 68, 32, 0.84) 55%, rgba(0, 40, 19, 0.92) 100%);
}
.hero > .container { min-width: 0; }
.hero-inner > * { max-width: 100%; min-width: 0; }
.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
}
.hero-logo {
  width: min(clamp(9rem, 30vw, 15rem), 70vw);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
}
.slogan {
  margin: 0.5rem 0 0;
  font-weight: var(--w-semibold);
  font-size: clamp(1.5rem, 1rem + 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero h1 { margin: 0; font-size: clamp(1.25rem, 1rem + 1.4vw, 1.9rem); }
.hero-text { max-width: 42rem; margin: 0; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-facts li { margin: 0; }
.hero-facts dt, .hero-facts .label { font-weight: var(--w-semibold); }
.hero .btn-row { justify-content: center; margin-top: 0.5rem; }
.scroll-hint {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
}
.scroll-hint:hover { text-decoration: underline; }

/* Countdown (hidden until a start date is set) */
.countdown { margin-top: 0.5rem; }
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 28rem;
}
.countdown-grid li { margin: 0; display: grid; }
.countdown-num { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.75rem); font-weight: var(--w-semibold); line-height: 1.1; }
.countdown-label { font-size: 0.85rem; }

/* ---------- Generic cards / grids ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.card {
  padding: 1.5rem;
  border: 2px solid rgba(0, 68, 32, 0.18);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-green);
  --accent: var(--c-red);
  --focus: var(--c-green); --focus-halo: var(--c-white);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: var(--w-semibold);
  color: var(--accent);
}
.card-icon { width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; color: var(--c-red); }

.split {
  display: grid;
  gap: 2rem;
}
.split > *, .grid > *, .footer-grid > * { min-width: 0; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
}

/* Facts list (About) */
.facts {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin: 2.5rem 0 0;
}
.facts div {
  padding: 1.25rem;
  border-left: 4px solid var(--c-red);
  background: var(--c-white);
}
.facts dt { font-weight: var(--w-semibold); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: var(--c-red); }
.facts dd { margin: 0.25rem 0 0; font-size: 1.1rem; }

/* Key points (Register) */
.keypoints { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.keypoints li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  margin: 0;
}
.keypoints li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Donate ---------- */
.bank {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-green);
  --accent: var(--c-red);
  --focus: var(--c-green); --focus-halo: var(--c-white);
}
.bank h3 { margin-bottom: 1rem; }
.bank .notice { color: var(--c-red); }
.bank-list { margin: 0; }
.bank-row {
  display: grid;
  gap: 0.25rem 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(0, 68, 32, 0.18);
}
.bank-row dt { font-size: 0.875rem; font-weight: var(--w-semibold); text-transform: uppercase; letter-spacing: 0.06em; }
.bank-row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.bank-value {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  border: 2px solid var(--c-green);
  border-radius: var(--pill);
  background: var(--c-white);
  color: var(--c-green);
  font: inherit;
  font-size: 0.9rem;
  font-weight: var(--w-semibold);
  cursor: pointer;
}
.copy-btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.copy-btn { max-width: 100%; white-space: normal; text-align: left; }
.copy-btn:hover { background: var(--c-green); color: var(--c-white); }
.copy-btn.is-copied { background: var(--c-green); color: var(--c-white); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; }
.faq-list details {
  border-bottom: 2px solid rgba(0, 68, 32, 0.18);
}
.faq-list summary {
  position: relative;
  padding: 1.1rem 2.75rem 1.1rem 0;
  font-weight: var(--w-semibold);
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 1.4rem;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { text-decoration: underline; }
.faq-answer { padding: 0 0 1.25rem; max-width: 44rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin: 0 0 0.75rem; }
.contact-list .label { display: block; font-size: 0.85rem; font-weight: var(--w-semibold); text-transform: uppercase; letter-spacing: 0.08em; }
.social-list { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.social-list li { margin: 0; }
.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  border: 2px solid currentColor;
  border-radius: var(--pill);
  font-weight: var(--w-semibold);
  text-decoration: none;
}
.social-list svg { width: 1.25rem; height: 1.25rem; }
.social-list a:hover { background: var(--fg); color: var(--bg); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3rem 2rem; font-size: 0.95rem; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-bottom: 2rem;
}
.footer-grid h2 { font-size: 1rem; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-logo { width: 5.5rem; height: 5.5rem; margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.footer-bottom p { margin: 0; }
.footer-grid + .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.35); }
.site-footer > .container > .footer-bottom:only-child { border-top: 0; padding-top: 0; }

/* ---------- Simple content pages (privacy, 404) ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { margin: 0; }
.prose { max-width: 48rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose dl div { margin-bottom: 0.5rem; }
.prose dt { font-weight: var(--w-semibold); display: inline; }
.prose dt::after { content: ": "; }
.prose dd { display: inline; margin: 0; }

.error-page { text-align: center; }
.error-page .hero-logo { margin: 0 auto 1.5rem; width: 9rem; }
.error-page .btn-row { justify-content: center; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .btn, .copy-btn, .menu-toggle, .tba { border: 2px solid ButtonText; }
  .lang-switcher a[aria-current] { border: 2px solid Highlight; }
  .hero::before { background: Canvas; }
}
@media print {
  .site-header, .skip-link, .hero-media, .copy-btn, .menu-toggle { display: none !important; }
  .hero { min-height: 0; color: #000; }
  .hero::before { display: none; }
  body { color: #000; }
}
