/* TRUMP XI CALL. Colours and type follow the campaign mockups (export/images). */

@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("/assets/fonts/anton-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: "Anton"; font-weight: 400; font-display: swap; src: url("/assets/fonts/anton-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: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-condensed-500-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: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-condensed-500-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: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-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: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700-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: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700-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: "Manrope"; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-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: "Manrope"; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/manrope-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; }

:root {
  --paper: #fbfaf4;
  --card: #f3f2ec;
  --ink: #080f16;
  --yellow: #fed620;
  --yellow-hover: #ffe254;
  --muted: #5e6371;
  --line: #dad9d2;
  --space: #050b1c;
  --red: #e2231a;
  --error: #b42318;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
  --gutter: 48px;
  --radius: 18px;
}

/* ---- Base ---- */

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

html {
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--yellow);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.yellow { color: var(--yellow); }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* Yellow brush underline and highlighter band, as in the mockups. */
.swoosh {
  padding-bottom: 0.2em;
  background: url("/assets/img/underline.svg") no-repeat left bottom / 100% 0.32em;
}
.mark {
  background: var(--yellow);
  padding: 0.04em 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.icon { width: 1em; height: 1em; flex: none; }

/* Unconfirmed content waiting for the campaign team: visible on purpose. */
.placeholder { color: var(--muted); font-style: italic; outline: 2px dashed #e0a800; outline-offset: 4px; }

.notice { padding: 12px 18px; border-radius: 12px; background: var(--card); }

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 56px;
  padding: 0.35em 1.4em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.btn .icon { width: 0.95em; height: 0.95em; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-large { min-width: 300px; min-height: 88px; font-size: 36px; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 18px; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }

.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.icon-button:hover { background: var(--card); }

.num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.7em; height: 1.7em;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
}

/* ---- Header ---- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--ink);
  color: var(--paper);
  transition: background-color 0.25s;
}
.site-header.over-hero { background: transparent; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  padding-inline: 32px;
}

.wordmark {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span { color: var(--yellow); }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  opacity: 0.85;
}
.site-nav a:hover { opacity: 1; color: var(--yellow); }

/* Phone menu button; shown only on narrow screens (see the media queries). */
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 28px;
  cursor: pointer;
}
.nav-toggle .icon-close,
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 700;
}
.lang-switch > * { padding: 4px 8px; border-radius: 6px; }
.lang-current { background: rgba(251, 250, 244, 0.16); }
.lang-switch a { text-decoration: none; opacity: 0.75; }
.lang-switch a:hover { opacity: 1; color: var(--yellow); }

/* ---- Sections ---- */

.screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 80px;
  scroll-snap-align: start;
}

.section-subtitle { margin-top: 18px; font-size: 26px; line-height: 1.3; }

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--space);
  color: var(--paper);
  scroll-snap-align: start;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
}
/* Anchored to the left edge rather than the centred container: the phones in the image
   sit at a fixed distance from the right edge. */
.hero-content {
  width: auto;
  margin: 0 0 0 clamp(24px, 4vw, 80px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: var(--header-h);
  padding-bottom: 40px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(96px, min(12vw, 19svh), 228px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-shadow: 0 4px 40px rgba(5, 11, 28, 0.55);
}
.hero-line { display: block; }
.hero-tagline {
  margin-top: 0.45em;
  font-family: var(--display);
  font-size: clamp(28px, min(3.2vw, 5.2svh), 60px);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(5, 11, 28, 0.6);
}
.hero-tagline .yellow { text-transform: none; }
.hero-perex {
  max-width: 34em;
  margin-top: 1.4em;
  font-size: clamp(17px, min(1.35vw, 2.4svh), 22px);
  font-weight: 600;
  line-height: 1.45;
  text-shadow: 0 1px 12px rgba(5, 11, 28, 0.9);
}
.hero-perex a { color: var(--yellow); font-weight: 800; text-underline-offset: 0.18em; }
.hero-perex a:hover { color: var(--yellow-hover); }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  opacity: 0.8;
}
.hero-scroll:hover { opacity: 1; color: var(--yellow); }
.hero-credit {
  position: absolute;
  right: 20px;
  bottom: 14px;
  font-size: 12px;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  opacity: 0.6;
}
.hero-credit:hover { opacity: 0.9; text-decoration: underline; }

/* The call */

.petition-inner {
  max-width: 1080px;
  text-align: center;
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.4;
}
.petition-inner > p + p { margin-top: 0.85em; }
.petition-inner > p { font-weight: 800; }
.petition-inner > p:not([class]) { max-width: 46em; margin-inline: auto; }
.slogan {
  margin-top: 0.5em !important;
  font-family: var(--display);
  font-size: clamp(56px, 6.6vw, 112px);
  line-height: 1;
  text-transform: uppercase;
}
.petition .button-row { margin-top: 48px; gap: 20px; }
.petition .button-row-top { margin: 0 0 48px; }
.petition .btn-large { min-width: 0; min-height: 76px; font-size: 30px; }

/* Signed by */

.signed-heading { font-size: clamp(56px, 6.4vw, 104px); max-width: 13em; }
.initiatives {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
/* Each card spans five rows of the shared grid (name, quote, person, count, link), so those rows
   line up across the cards in a row whatever the length of the quote or role. */
.initiative {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  gap: 20px;
  padding: 28px 28px 22px;
  border-radius: var(--radius);
  background: var(--card);
}
.initiative-name {
  min-height: 2.1em;
  font-family: var(--cond);
  font-size: 34px;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}
.initiative-name small { display: block; font-size: 0.55em; font-weight: 500; }
.name-red-lines small {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.name-red-lines small::before { content: ""; width: 44px; height: 7px; background: var(--red); }
.name-statement { font-size: 28px; }
.name-statement small { font-size: 20px; }
.initiative-quote { font-size: 19px; line-height: 1.35; }
.initiative-person {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 14px;
  color: var(--muted);
  font-family: var(--cond);
  font-size: 17px;
  line-height: 1.25;
  position: relative;
}
.initiative-person::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; border-top: 1.5px solid currentColor; }
.initiative-portrait { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.initiative-person strong { display: block; color: var(--ink); font-size: 20px; font-weight: 700; }
.initiative-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.initiative-person .initiative-source { display: flex; width: fit-content; }
.initiative-source:hover { color: var(--ink); }
.initiative-source .icon { width: 0.8em; height: 0.8em; }
.initiative-count {
  padding-top: 16px;
  border-top: 1.5px solid var(--line);
  color: var(--muted);
  font-family: var(--cond);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}
.initiative-count strong { display: block; color: var(--ink); font-size: 44px; font-weight: 700; letter-spacing: -0.01em; }
.initiative-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -6px;
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.initiative-link:hover { text-decoration: underline; }
.initiatives-note { margin-top: 14px; color: var(--muted); font-size: 14px; }

.counter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 28px;
  padding: 26px 48px;
  border-radius: 24px;
  background: var(--yellow);
}
.counter-start {
  padding-right: 36px;
  border-right: 2px solid rgba(8, 15, 22, 0.5);
  font-family: var(--display);
  font-size: clamp(28px, 3.1vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}
.counter-value {
  font-family: var(--display);
  font-size: clamp(56px, 6.6vw, 112px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter-end {
  max-width: 7.5em;
  font-family: var(--cond);
  font-size: clamp(20px, 1.9vw, 30px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

/* Sign form */

.sign-inner { max-width: 1140px; }
.sign-heading { font-size: clamp(72px, 9.6vw, 160px); line-height: 0.9; }
#sign-form { margin-top: 40px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 48px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field > label {
  padding-left: 22px;
  font-family: var(--cond);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
}
.req { color: var(--ink); }
.opt { font-weight: 500; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  height: 68px;
  padding: 0 30px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--cond);
  font-size: 24px;
  font-weight: 500;
}
.field select {
  appearance: none;
  padding-right: 64px;
  background: url("/assets/img/chevron.svg") no-repeat right 26px center / 24px;
  cursor: pointer;
}
.field select:invalid { color: #8a8f99; }
.field select option { color: var(--ink); }
.field input::placeholder { color: #8a8f99; opacity: 1; }
.field input:focus,
.field select:focus { outline: none; box-shadow: 0 0 0 4px rgba(254, 214, 32, 0.75); }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--error); }

.field-hint {
  padding-left: 26px;
  color: var(--muted);
  font-family: var(--cond);
  font-size: 18px;
  line-height: 1.2;
}
.field-error {
  padding-left: 26px;
  color: var(--error);
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 600;
}

/* Custom checkboxes: the real input stays focusable, the box is drawn next to it. */
.field-check { position: relative; gap: 6px; }
.field-check input { position: absolute; opacity: 0; width: 40px; height: 40px; margin: 0; }
.field-check label {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}
.check-box {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  font-size: 24px;
  transition: background-color 0.15s;
}
.check-box .icon { visibility: hidden; }
.field-check input:checked + label .check-box { background: var(--yellow); border-color: var(--yellow); }
.field-check input:checked + label .check-box .icon { visibility: visible; }
.field-check input:focus-visible + label .check-box { box-shadow: 0 0 0 4px rgba(254, 214, 32, 0.75); }
.field-check input[aria-invalid="true"] + label .check-box { border-color: var(--error); }
.check-label { font-family: var(--cond); font-size: 25px; font-weight: 700; line-height: 1.15; }
.field-check .field-hint, .field-check .field-error { padding-left: 58px; }
.field-consent .check-label { font-family: var(--body); font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.field-consent { grid-column: 1 / -1; }
.field-consent label { align-items: start; }

.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}
.btn-submit { width: min(100%, 540px); min-height: 100px; font-size: 46px; }
.form-note { color: var(--muted); font-family: var(--cond); font-size: 20px; }
.form-summary {
  margin-bottom: 24px;
  padding: 14px 20px;
  border-left: 5px solid var(--error);
  border-radius: 12px;
  background: #fdecea;
  font-weight: 600;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 48px;
  border-radius: 24px;
  background: var(--card);
  text-align: center;
}
.success { scroll-margin-top: 24px; }
.success:focus { outline: none; }
.success h3 { font-family: var(--display); font-size: 48px; font-weight: 400; line-height: 1; text-transform: uppercase; margin: 18px 0 16px; }
.success-sent { font-size: 20px; overflow-wrap: anywhere; }
.success-fix { margin-top: 4px; color: var(--muted); font-size: 15px; }
.success-text { margin-top: 18px; }
.success-next { margin-top: 32px; padding-top: 8px; border-top: 1.5px solid var(--line); }
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.link-button:hover { color: var(--ink); }

/* Signing progress: sign → confirm → share. Shown after submitting and on the confirm page. */
.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}
.step { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.step + .step::before {
  content: "";
  width: 36px;
  height: 2px;
  margin-right: 4px;
  background: var(--line);
}
.step-mark {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 2px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}
.step-mark .icon { width: 16px; height: 16px; }
.step-done { color: var(--ink); }
.step-done .step-mark { border-color: var(--yellow); background: var(--yellow); }
.step-current { color: var(--ink); }
.step-current .step-mark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.panel .steps { margin-bottom: 0; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 38px;
}
.success-help { margin: 24px 0 18px; font-weight: 700; }

/* Why */

.why-stack { display: flex; flex-direction: column; }
.why-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px 72px;
  align-items: start;
  padding: 44px 0;
}
.why-block:first-child { padding-top: 0; align-items: center; }
.why-block + .why-block { border-top: 1.5px solid var(--line); }
/* Heading across the block, then text and picture side by side, tops aligned. */
.why-block-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 28px 56px; }
.why-block-title { grid-column: 1 / -1; }
.why-block-split .why-text { max-width: none; }
.why-block-split .why-block-title p { max-width: 900px; }
.why-block-split .why-photo { max-width: none; margin-top: 6px; }
.history-challenge {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--card);
  font-size: 18px;
  line-height: 1.55;
}
.why-text { display: flex; flex-direction: column; gap: 20px; max-width: 820px; font-size: 18px; line-height: 1.55; }
.why-text a:not(.mark) { text-underline-offset: 0.15em; }
.why-text a:not(.mark):hover { color: var(--muted); }
.why-heading { font-size: clamp(64px, 8.2vw, 136px); line-height: 0.9; margin-bottom: 8px; }
.why-heading .yellow { display: block; }
.why-kicker { display: table; margin-bottom: 0.08em; }
.why-subheading { font-size: clamp(48px, 5vw, 84px); line-height: 0.92; margin-bottom: 4px; }
.why-lead { font-size: 21px; font-weight: 800; line-height: 1.3; }
.why-emphasis { font-size: clamp(22px, 2vw, 28px); font-weight: 800; line-height: 1.3; }
.why-photo { width: 100%; max-width: 380px; border-radius: var(--radius); mix-blend-mode: multiply; }
.why-block-plan { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.plan-grid > div { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.5; }
.plan-handover {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: start;
  padding-top: 28px;
  border-top: 4px solid var(--yellow);
}
.plan-handover-text { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.55; }
.plan-handover-title { font-size: clamp(36px, 3.4vw, 54px); line-height: 1; margin: 0 0 4px; text-wrap: balance; }
.plan-photo { width: 100%; border-radius: var(--radius); mix-blend-mode: multiply; }
.plan-title {
  margin: 0;
  padding-top: 14px;
  border-top: 4px solid var(--yellow);
  font-family: var(--cond);
  font-size: clamp(25px, 2.2vw, 31px);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
  text-transform: uppercase;
}
.plan-title-name { display: block; }
.history-list { display: flex; flex-direction: column; }
.history-list li {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 24px;
  padding: 18px 0;
  font-size: 16.5px;
  line-height: 1.45;
}
.history-list li + li { border-top: 1.5px solid var(--line); }
.history-list img { width: 155px; height: 116px; object-fit: cover; border-radius: 10px; }
.mark-title { margin-bottom: 6px; font-size: 18px; font-weight: 800; line-height: 1.45; text-transform: uppercase; }
a.mark { text-decoration: none; }
a.mark:hover { text-decoration: underline; }
.mark-final { font-size: 22px; margin-top: 4px; text-transform: none; }

/* Three ways */

.support-heading { font-size: clamp(56px, 7.4vw, 124px); text-align: center; }
.support .section-subtitle { text-align: center; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.way {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 40px;
  font-size: 20px;
  line-height: 1.45;
}
.way + .way { border-left: 1.5px solid var(--line); }
.way-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--display);
  font-size: clamp(52px, 5.6vw, 92px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.way-title .num { font-size: 0.48em; }
.way-sub {
  margin-top: -6px;
  padding-left: calc(0.48 * clamp(52px, 5.6vw, 92px) * 1.7 + 20px);
  font-family: var(--cond);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
}
.way-icon { width: 150px; height: 150px; margin: 10px auto; }
.way .btn { margin-top: auto; width: 100%; }

/* FAQ */

.faq-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.faq-heading { font-size: clamp(64px, 8.2vw, 136px); line-height: 0.9; }
.faq-heading .yellow { display: block; }
.faq-icon { flex: none; width: clamp(160px, 18vw, 300px); height: auto; aspect-ratio: 160 / 130; }
/* The questions live in a dialog, so the section needs no full screen of its own. */
.faq.screen { min-height: 0; }
.faq-open { margin-top: 36px; }
.faq-dialog {
  width: min(100% - 32px, 920px);
  max-height: min(100% - 32px, 88svh);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}
.faq-dialog::backdrop { background: rgba(5, 11, 28, 0.65); }
.faq-dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px 18px;
  border-bottom: 1.5px solid var(--line);
  background: var(--paper);
}
.faq-dialog-head h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; }
.faq-list { display: flex; flex-direction: column; gap: 16px; padding: 24px 32px 32px; }
.faq-item { padding: 26px 28px; border-radius: var(--radius); background: var(--card); }
.faq-item h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-family: var(--cond);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.faq-item .num { font-size: 22px; }
.faq-answer { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.5; }
.faq-answer ul { display: flex; flex-direction: column; gap: 8px; padding-left: 1.2em; list-style: disc; }
.faq-answer a { text-underline-offset: 0.15em; }

/* Contact */

.contact { position: relative; overflow: hidden; }
.contact-globe {
  position: absolute;
  top: calc(var(--header-h) - 10px);
  right: 0;
  width: min(38vw, 580px);
  mix-blend-mode: multiply;
  pointer-events: none;
  /* The crop comes from the mockup; fade its edges into the page. */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to right, transparent, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to right, transparent, #000 22%);
  mask-composite: intersect;
}
.contact .container { position: relative; }
.contact-heading { font-size: clamp(72px, 7.4vw, 124px); line-height: 0.88; }
.contact-heading .yellow { display: block; }
.contact-intro { max-width: 30em; margin-top: 22px; font-size: 25px; line-height: 1.35; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.contact-col { display: flex; flex-direction: column; gap: 16px; padding: 0 36px; font-size: 19px; }
.contact-col:first-child { padding-left: 0; }
.contact-col:last-child { padding-right: 0; }
.contact-col + .contact-col { border-left: 1.5px solid var(--line); }
.contact-title { font-family: var(--display); font-size: 40px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.contact-title:not(:first-child) { margin-top: 28px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 30px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--cond);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-card .icon { width: 36px; height: 36px; }
.contact-card small { display: block; font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-card:hover { background: var(--ink); color: var(--paper); }
.contact-card-yellow { border-color: var(--yellow); background: var(--yellow); }
.contact-card-yellow:hover { border-color: var(--ink); }
.contact-card-button { text-transform: uppercase; }
.contact-card-button .icon-arrow { margin-left: auto; width: 28px; }
.social-list { display: flex; flex-direction: column; gap: 14px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.social-link .icon { width: 30px; height: 30px; }
.social-link .icon-arrow { margin-left: auto; width: 24px; }
.social-link:hover { background: var(--ink); color: var(--paper); }

/* ---- Footer ---- */

.site-footer { padding: 36px 0; background: var(--ink); color: var(--paper); font-size: 16px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-links span { margin-inline: 8px; opacity: 0.5; }
.footer-credits { flex-basis: 100%; font-size: 13px; line-height: 1.5; opacity: 0.6; scroll-margin-top: var(--header-h); }

/* ---- Share dialog ---- */

.share-dialog {
  width: min(100% - 32px, 440px);
  padding: 26px;
  border: 0;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}
.share-dialog::backdrop { background: rgba(5, 11, 28, 0.65); }
.share-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.share-dialog h2 { font-family: var(--display); font-size: 34px; font-weight: 400; text-transform: uppercase; }
.share-options { display: flex; flex-direction: column; gap: 12px; }
.share-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.share-option .icon { width: 24px; height: 24px; }
.share-option > .icon:last-child:not(:first-child) { margin-left: auto; width: 18px; opacity: 0.6; }
.share-option:hover { background: var(--ink); color: var(--paper); }
.share-hint { margin: 6px 22px 0; color: var(--muted); font-size: 14px; }

/* ---- Confirm, privacy and 404 pages ---- */

.page-panel {
  display: flex;
  justify-content: center;
  min-height: calc(100svh - 120px);
  padding: calc(var(--header-h) + 72px) 20px 96px;
}
.panel, .prose { width: min(100%, 760px); }
.panel { display: flex; flex-direction: column; gap: 22px; text-align: center; align-items: center; }
.panel [data-panel] { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.panel [data-panel][hidden] { display: none; }
.panel-title { font-size: clamp(44px, 5vw, 68px); }
.page-404 .panel-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 40px; line-height: 1; }
.not-found-code { font-size: 160px; line-height: 0.9; color: var(--yellow); }
.petition-name { font-family: var(--display); font-size: 40px; text-transform: uppercase; }
.prose h2 { margin: 1.6em 0 0.5em; font-family: var(--cond); font-size: 28px; font-weight: 700; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose .notice { margin: 20px 0; }

/* Czech capitals carry accents that the tight display leading would clip. */
html[lang="cs"] main .display { line-height: 1.16; }

/* ---- Narrower screens ---- */

@media (max-width: 1240px) {
  .site-nav { gap: 18px; }
  .initiatives { grid-template-columns: repeat(2, 1fr); }
  .why-block { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px 48px; }
  .why-block-plan { grid-template-columns: minmax(0, 1fr); }
  .why-block-split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 28px 40px; }
  .plan-grid { gap: 28px 32px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --header-h: 60px; }
  body { font-size: 17px; }
  .header-inner { gap: 14px; padding-inline: 16px; }
  .lang-switch { margin-left: auto; }
  .wordmark { font-size: 22px; }

  /* The main navigation becomes a panel under the header, opened by the menu button. */
  .nav-toggle { display: inline-grid; }
  .site-nav { display: none; }
  .site-header.nav-open { background: var(--ink); }
  .site-header.nav-open .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 16px;
    background: var(--ink);
    box-shadow: 0 18px 32px rgba(5, 11, 28, 0.35);
  }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 56px;
    border-top: 1px solid rgba(251, 250, 244, 0.14);
    font-size: 24px;
    opacity: 1;
  }
  .site-nav a:first-child { border-top: 0; }

  /* Anchor jumps already clear the fixed header (scroll-padding-top), so sections need
     only their own spacing here. */
  .screen { min-height: 0; padding: 48px 0; }
  .hero-scroll { bottom: 40px; }

  /* Headline minimums sized for phones rather than the desktop clamp() floors. */
  .signed-heading { font-size: clamp(36px, 11vw, 56px); }
  .sign-heading { font-size: clamp(52px, 16vw, 80px); }
  .why-heading, .faq-heading { font-size: clamp(48px, 14vw, 72px); }
  .why-subheading { font-size: clamp(36px, 11vw, 56px); }
  .support-heading { font-size: clamp(40px, 12vw, 64px); }
  .contact-heading { font-size: clamp(52px, 15vw, 80px); }
  .contact-intro { font-size: 20px; }
  .petition .button-row-top { margin-bottom: 32px; }
  .ways { margin-top: 40px; }
  .initiatives { gap: 14px; margin-top: 28px; }
  .initiative { padding: 22px 20px 18px; }
  .initiative-quote { font-size: 17px; }
  .way-icon { width: 104px; height: 104px; margin: 4px auto; }
  .contact-title { font-size: 34px; }
  .hero-media img { object-position: 72% 100%; }
  .hero-content { margin-left: var(--gutter); justify-content: flex-start; padding-top: calc(var(--header-h) + 40px); }
  .hero-title { font-size: clamp(64px, 21vw, 120px); }

  .btn-large { min-width: 0; width: 100%; min-height: 72px; font-size: 30px; }
  .button-row { gap: 14px; }

  .initiatives, .form-grid, .why-block, .plan-grid, .plan-handover, .ways, .contact-grid { grid-template-columns: 1fr; }
  .counter-bar { flex-direction: column; gap: 8px; padding: 28px 20px; text-align: center; }
  .counter-start { padding: 0; border: 0; }

  .way, .contact-col { padding: 0; border: 0 !important; }
  .why-block { padding: 32px 0; }
  .why-text { font-size: 17px; }
  .why-photo { margin-top: 0; }
  .history-list li { grid-template-columns: 96px 1fr; gap: 16px; }
  .history-challenge { margin-top: 0; padding: 24px 20px; font-size: 17px; }
  .history-list img { width: 96px; height: 72px; }
  .petition .button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .petition .btn-large { min-height: 60px; padding-inline: 0.6em; font-size: 24px; }
  /* On phones the text sits over the phones in the image; a dark panel keeps it legible. */
  .hero-perex {
    margin-right: var(--gutter);
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(5, 11, 28, 0.72);
    font-size: 15px;
  }
  .faq-dialog-head { padding: 18px 20px 14px; }
  .faq-list { padding: 18px 16px 24px; }
  .faq-item { padding: 22px 20px; }
  .faq-item h3 { font-size: 23px; }
  .ways, .contact-grid { gap: 48px; }
  .way-sub { padding-left: 0; }

  .faq-head { flex-direction: column-reverse; }
  .faq-icon { width: 140px; }
  /* Kept small in the corner so it does not sit behind the yellow heading line. */
  .contact-globe { top: 0; width: 46vw; opacity: 0.3; }
  .contact-card { gap: 14px; padding: 14px 22px; font-size: 20px; }
  .btn-submit { min-height: 80px; font-size: 36px; }
  .success { padding: 32px 22px; }
  .steps { gap: 6px; font-size: 14px; }
  .step { flex: 0 1 96px; flex-direction: column; gap: 6px; text-align: center; }
  .success h3 { font-size: 40px; }
  .step + .step::before { display: none; }
  .success .button-row, .panel .button-row { flex-direction: column; align-items: stretch; width: 100%; }
}

/* Small phones: keep logo, language switch, sign button and menu on one line. */
@media (max-width: 420px) {
  .header-inner { gap: 10px; padding-inline: 12px; }
  .wordmark { font-size: 20px; }
  .lang-switch > * { padding: 4px 6px; }
  .site-header .btn-small { padding: 0 12px; font-size: 16px; }
}

/* The narrowest phones (320px) with the longer Czech button label. */
@media (max-width: 359px) {
  .header-inner { gap: 8px; }
  .wordmark { font-size: 18px; }
}
