/* Nobless Delivery — courier recruitment
   Palette: deep navy-black + electric lime. Lime is the only accent and also
   carries "live" and "success", since the colour already reads as go. */

:root {
  --bg: #080b14;
  --surface: #0f1424;
  --surface-2: #172038;
  --bg-rgb: 8, 11, 20;
  --accent: #c8f53c;
  --accent-bright: #dcff77;
  --accent-rgb: 200, 245, 60;
  --on-accent: #080b14;
  --accent-dim: rgba(var(--accent-rgb), 0.38);
  --line: rgba(var(--accent-rgb), 0.18);
  --line-soft: rgba(var(--text-rgb), 0.1);
  --text: #e8eefc;
  --text-rgb: 232, 238, 252;
  --muted: #8b95ad;
  --alert: #ffab4d;
  --alert-rgb: 255, 171, 77;
  --glow: 0.1;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --wrap: 1120px;
  --radius: 3px;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  /* Ambient glow behind the fold, so the black is never flat. */
  background-image:
    radial-gradient(
      120% 80% at 80% -10%,
      rgba(var(--accent-rgb), var(--glow)),
      transparent 60%
    ),
    radial-gradient(
      90% 60% at 0% 0%,
      rgba(var(--accent-rgb), calc(var(--glow) * 0.45)),
      transparent 55%
    );
  background-repeat: no-repeat;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.band {
  padding-block: clamp(64px, 9vw, 124px);
  position: relative;
}

/* The header is sticky, so anchor jumps must clear it. */
[id] {
  scroll-margin-top: 84px;
}

.band-edge {
  border-top: 1px solid var(--line-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.4vw, 3.9rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 0.97;
  letter-spacing: -0.025em;
  margin: 0 0 1.35rem;
  text-wrap: balance;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.h3 {
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 700;
  font-stretch: 105%;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}

.lede {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 2rem;
}

.section-intro {
  max-width: 62ch;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-intro p {
  color: var(--muted);
  margin: 0;
}

/* ---------- placeholders for facts not yet supplied ---------- */

.todo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78em;
  letter-spacing: 0.06em;
  color: var(--alert);
  border: 1px dashed rgba(var(--alert-rgb), 0.55);
  border-radius: var(--radius);
  padding: 0.05em 0.45em;
  background: rgba(var(--alert-rgb), 0.08);
  white-space: nowrap;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--bg-rgb), 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  width: 34px;
  height: auto;
  flex: none;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* Too long to sit on one line on a phone, and the hero eyebrow directly
   below already names every city. */
@media (max-width: 560px) {
  .brand-sub {
    display: none;
  }
}

.header-nav {
  display: none;
  gap: 1.6rem;
  font-size: 0.88rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s ease;
}

.header-nav a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0.25rem;
}

.lang-switch a,
.lang-switch .is-active {
  text-decoration: none;
  color: var(--muted);
  padding: 0.7rem 0.4rem;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-switch .is-active {
  color: var(--accent);
  font-weight: 500;
}

.lang-sep {
  color: var(--line);
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-bright);
}

.btn-ghost {
  border-color: var(--accent-dim);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.cta-row .btn {
  flex: 1 1 220px;
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(48px, 7vw, 92px) clamp(52px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

.partners {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.partners-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Partner marks sit on white chips rather than being recoloured: Bolt Food's
   wordmark is near-black and would vanish on the navy, and altering a partner's
   trademark is not ours to do. */
.partner-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
}

.partner-chip img {
  height: 22px;
  width: auto;
  display: block;
}

/* ---------- sector rose (signature) ---------- */

.rose {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  display: block;
  overflow: visible;
}

.rose-wedge {
  fill: rgba(var(--accent-rgb), 0.05);
  stroke: var(--accent-dim);
  stroke-width: 1;
  transition:
    fill 0.25s ease,
    stroke 0.25s ease;
}

.rose-wedge.is-live {
  fill: rgba(var(--accent-rgb), 0.11);
  stroke: var(--accent);
}

.rose:hover .rose-wedge.is-live,
.rose-wedge.is-live:hover {
  fill: rgba(var(--accent-rgb), 0.18);
}

.rose-ring {
  fill: none;
  stroke: var(--accent-dim);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

.rose-label {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  fill: var(--accent-bright);
  text-anchor: middle;
  dominant-baseline: middle;
}

.rose-ring-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  fill: var(--muted);
  text-anchor: middle;
}

.rose-core {
  fill: var(--accent);
}

.rose-core-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: var(--muted);
  text-anchor: middle;
}

.rose-caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.25rem;
}

/* ---------- figures strip ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

@media (min-width: 860px) {
  .figures {
    grid-template-columns: repeat(4, 1fr);
  }
}

.figure {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.figure:nth-child(2n) {
  border-right: 0;
}

@media (min-width: 860px) {
  .figure {
    border-bottom: 0;
  }

  .figure:nth-child(2n) {
    border-right: 1px solid var(--line-soft);
  }

  .figure:last-child {
    border-right: 0;
  }
}

.figure-value {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.45rem;
}

.figure-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- cards ---------- */

.cards {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.card:hover {
  border-color: var(--accent-dim);
  background: var(--surface-2);
}

.card-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
}

.facts {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.facts li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--text);
}

.facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  background: var(--accent);
  transform: rotate(45deg);
}

.facts .facts-neutral::before {
  background: var(--muted);
}

/* ---------- process spine ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 2.25rem;
}

.steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--accent-dim) 65%,
    transparent
  );
}

.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  background: var(--bg);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.step p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .steps::before {
    left: 16px;
    right: 16px;
    top: 16px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      to right,
      var(--accent),
      var(--accent-dim) 70%,
      transparent
    );
  }

  .step {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* ---------- shift photos ---------- */

.shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

.shot-caption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.9rem 0 0;
}

/* ---------- documents split ---------- */

.docs-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 820px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.doc-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.06),
    transparent 45%
  );
}

.doc-panel h3 {
  margin-top: 0;
}

.doc-note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- zones ---------- */

/* Two cities, two panels — Constanța is a separate city, not a Bucharest area. */
.city-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 860px) {
  .city-grid {
    grid-template-columns: 1.55fr 1fr;
  }
}

.city-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.06),
    transparent 45%
  );
}

.city-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.city-panel .h3 {
  margin-bottom: 1.15rem;
}

.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zone-chip {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  color: var(--text);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- faq ---------- */

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent-dim);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.35rem;
  font-weight: 600;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 1.35rem 1.3rem;
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- apply form ---------- */

.apply {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apply-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 960px) {
  .apply-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.apply-aside .facts {
  margin-top: 1.5rem;
}

.form {
  display: grid;
  gap: 1.1rem;
}

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

.field-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .field-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  transition: border-color 0.18s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent);
  outline: none;
}

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

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.88rem;
  color: var(--muted);
}

.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.check a {
  color: var(--accent);
}

.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-note {
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.2em;
}

.form-note[data-state="busy"] {
  color: var(--accent);
}

.form-note[data-state="success"] {
  color: var(--accent);
}

.form-note[data-state="error"] {
  color: var(--alert);
}

.conditional {
  display: none;
}

.conditional.is-visible {
  display: grid;
}

/* ---------- sticky mobile bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(var(--bg-rgb), 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn {
  min-height: 50px;
  font-size: 0.95rem;
  padding: 0 0.75rem;
}

@media (min-width: 900px) {
  .mobile-bar {
    display: none;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: 78px;
  }
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: clamp(48px, 6vw, 80px);
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-logo {
  width: 110px;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.85rem;
  font-weight: 400;
}

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

.footer-list a {
  text-decoration: none;
  display: inline-block;
  padding-block: 0.4rem;
}

.footer-list a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ---------- legal pages ---------- */

.legal {
  padding-block: clamp(48px, 7vw, 88px);
}

.legal-body {
  max-width: 68ch;
}

.legal-body h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.legal-body ul {
  padding-left: 1.15rem;
}

.legal-back {
  margin-top: 2.5rem;
}

.footer-plain {
  margin-top: 0;
  border-top: 0;
}

/* ---------- phones ---------- */

@media (max-width: 600px) {
  /* Mono labels sit around 11px on desktop, which is too small to read
     comfortably at arm's length on a phone. Floor them at 12px. */
  .eyebrow,
  .card-tag,
  .city-kicker,
  .partners-label,
  .figure-label,
  .shot-caption,
  .label,
  .footer-grid h4,
  .rose-caption {
    font-size: 0.75rem;
  }

  /* Comfortable thumb targets. */
  .brand {
    min-height: 44px;
  }

  .footer-list a {
    padding-block: 0.65rem;
  }

  .lang-switch a,
  .lang-switch .is-active {
    padding: 0.8rem 0.5rem;
  }
}

/* ---------- motion ---------- */

/* Only hide reveal targets where scripting can bring them back. With JS off
   (or in a browser without the `scripting` query) the content stays visible
   instead of disappearing forever. */
@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.rose-draw .rose-wedge {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* The ring keeps its own dash pattern, so it fades in rather than drawing. */
.rose-draw .rose-ring {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.5s forwards;
}

.rose-draw .rose-wedge:nth-child(2) {
  animation-delay: 0.08s;
}
.rose-draw .rose-wedge:nth-child(3) {
  animation-delay: 0.16s;
}
.rose-draw .rose-wedge:nth-child(4) {
  animation-delay: 0.24s;
}
.rose-draw .rose-wedge:nth-child(5) {
  animation-delay: 0.32s;
}
.rose-draw .rose-wedge:nth-child(6) {
  animation-delay: 0.4s;
}

.rose-draw .rose-fade {
  opacity: 0;
  animation: fadeIn 0.6s ease 0.75s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rose-draw .rose-wedge {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }

  .rose-draw .rose-ring {
    opacity: 1;
    animation: none;
  }

  .rose-draw .rose-fade {
    opacity: 1;
    animation: none;
  }
}
