/* =====================================================================
   Austrian Defence Lab — Website (one-pager)
   Site-level styles. Design tokens come from tokens.css.
   Headings & UI: Montserrat (≤600)  ·  Body: Lora  ·  Logo: Lora lowercase
   ===================================================================== */

/* Content width — narrower than the design-system default (1180 / 760). */
:root {
  --container: 1040px;
  --container-narrow: 640px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
section[id] { scroll-margin-top: 28px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


::selection { background: var(--blue-200); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: 92px 0; }
.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--cols { padding-top: 40px; padding-bottom: 44px; }
.section--tight-top { padding-top: 44px; }
.section__title { margin: 0 0 36px; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
}
.eyebrow--on-dark { color: #9FCBEC; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-heading);
  font-weight: var(--w-medium);   /* headings 500 Medium */
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: -0.015em; }
h4 { font-size: var(--text-h4); font-weight: var(--w-semi); }

p { margin: 0 0 1em; }
.lead {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--fg-2);
}

/* Emphasis — bold key words (max weight 600 per brand) */
strong, b { font-weight: var(--w-semi); color: var(--fg-1); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 14.5px;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 21px;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn .icon { width: 17px; height: 17px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--lg .icon { width: 19px; height: 19px; }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }
.btn--primary:active { background: var(--blue-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  color: var(--ink);
  border-top: 1px solid var(--border);
}
.site-footer__inner { padding: 72px 32px 44px; }
.site-footer__top {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo__mark { width: 42px; height: 42px; }
.logo__word {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 15px;
  text-transform: lowercase;
  letter-spacing: -0.005em;
  line-height: 0.96;
  color: var(--blue-700);
}
.site-footer__intro {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate-600);
  max-width: 420px;
  margin: 0;
}
.site-footer__bar {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: var(--fg-3);
}
.site-footer__bar a { color: var(--fg-3); text-decoration: none; }
.site-footer__bar a:hover { color: var(--blue-600); }
.site-footer__links { display: flex; gap: 22px; }

/* ---------- Hero (logo + anchor nav) ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #F1F7FC 0%, #FFFFFF 100%);
  padding: 48px 0;
}
/* Burger button — only shown on mobile */
.hero__burger { display: none; }
.hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero__grid--brand {
  grid-template-columns: minmax(200px, 0.66fr) 1.5fr;
  gap: 60px;
}
.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
/* Horizontal logo lockup — emblem left, 3-line wordmark right (equal height) */
.hero__logo { display: flex; align-items: center; gap: 24px; }
.hero__logo-mark { width: 112px; height: 112px; flex: none; }
.hero__logo-word {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 36px;
  text-transform: lowercase;
  letter-spacing: -0.005em;
  line-height: 0.96;
  color: var(--blue-700);
}
/* Anchor links beside the logo — right-aligned, stacked */
.hero__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}
.hero__nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 16px;
  line-height: 1.1;
  color: var(--blue-700);
  text-decoration: none;
  padding: 0;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero__nav a svg { width: 14px; height: 14px; color: var(--blue-400); transition: color var(--dur) var(--ease); }
/* Per-link vertical fine-tuning */
.hero__nav a:nth-child(1) { position: relative; top: 5px; }
.hero__nav a:nth-child(2) { position: relative; top: 4px; }
.hero__nav a:nth-child(3) { position: relative; top: 5px; }
.hero__nav a:hover { color: var(--blue-500); border-bottom-color: var(--blue-400); }
.hero__nav a:hover svg { color: var(--blue-500); }

/* ---------- Video band (full-bleed) ---------- */
.video-band {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: linear-gradient(135deg, #0E3D66, #1565A8);
  display: flex;
  align-items: center;
}
.video-band__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  display: block;
}
.video-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 30, 54, 0.06) 0%, rgba(7, 30, 54, 0.38) 48%, rgba(7, 30, 54, 0.74) 100%);
}
.video-band__caption { position: relative; z-index: 1; text-align: right; }
.video-band__caption .eyebrow {
  margin-bottom: 12px;
  color: #D4E8F8;
  text-shadow: 0 1px 10px rgba(7, 30, 54, 0.55);
}
.video-band__text {
  font-family: var(--font-body);
  font-weight: var(--w-regular);
  font-style: italic;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: 0;
  color: #fff;
  margin: 0 0 0 auto;
  max-width: 560px;
  text-shadow: 0 1px 16px rgba(7, 30, 54, 0.5);
}

/* ---------- Section 2 — intro + mission columns ---------- */
.cols-intro {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--blue-700);
  text-align: left;
  max-width: 50%;
  margin: 0 0 44px;
}
.cols-intro strong { color: inherit; font-weight: var(--w-semi); }

.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.col__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.col__icon .icon { width: 24px; height: 24px; }
.col__title {
  font-size: 21px;
  color: var(--blue-700);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.col p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--slate-700);
  margin: 0;
}

/* ---------- Section 3 — Unsere Arbeit (expandable cards) ---------- */
.work-list { display: flex; flex-direction: column; gap: 18px; }
.work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease);
}
.work-card[open] { box-shadow: var(--shadow); }
.work-card__summary {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
}
.work-card__summary::-webkit-details-marker { display: none; }
.work-card__summary:focus-visible { box-shadow: var(--ring); border-radius: var(--radius-lg); }
.work-card__thumb {
  width: 200px;
  max-width: 26%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  flex: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Brand gradient shows as fallback while the photo loads or if it is missing */
.work-card__thumb--blue { background: linear-gradient(135deg, #0E3D66, #1565A8); }
.work-card__thumb--bright { background: linear-gradient(135deg, #1565A8, #2486CE); }
.work-card__thumb--soft { background: var(--blue-50); }
.work-card__head { flex: 1; min-width: 0; }
.work-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--blue-700);
}
.work-card__hint {
  display: block;
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 12.5px;
  color: var(--primary);
  margin-top: 4px;
}
.work-card[open] .work-card__hint { color: var(--slate-500); }
.work-card__chev {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--slate-500);
  transition: transform var(--dur) var(--ease);
}
.work-card[open] .work-card__chev { transform: rotate(180deg); }
.work-card__body { padding: 8px 24px 28px calc(44px + min(200px, 26%)); }
.work-card__body p {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--slate-700);
  margin: 0 0 0.9em;
}
.work-card__body p:last-child { margin-bottom: 0; }
.work-card__questions {
  font-style: italic;
  color: var(--slate-600);
}

/* ---------- Aktuelles — Policy Brief / blog tiles (carousel) ---------- */
.brief-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.brief-head .section__title { margin: 0; }
.brief-nav { display: flex; gap: 10px; flex: none; }
.brief-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: #fff;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.brief-nav__btn svg { width: 20px; height: 20px; }
.brief-nav__btn:hover { background: var(--blue-50); border-color: var(--blue-300); }
.brief-nav__btn:disabled { opacity: 0.35; cursor: default; background: #fff; border-color: var(--border-strong); }

.brief-track {
  /* gutter = distance from viewport edge to the container content edge */
  --gutter: max(32px, calc((100vw - 1040px) / 2 + 32px));
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* break out of the container to full viewport width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 4px var(--gutter) 8px;
  scrollbar-width: none;
}
.brief-track::-webkit-scrollbar { display: none; }
.brief-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.brief-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.brief-card__media {
  position: relative;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #0E3D66, #1565A8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brief-card__emblem { width: 58px; height: 58px; opacity: 0.22; }
.brief-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brief-card__tag {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 44, 77, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.brief-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.brief-card__meta {
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0 0 8px;
}
.brief-card__title {
  font-size: 21px;
  color: var(--blue-700);
  margin: 0 0 10px;
  line-height: 1.25;
}
.brief-card__title a { color: inherit; text-decoration: none; }
.brief-card:hover .brief-card__title { color: var(--blue-600); }
.brief-card__excerpt {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0 0 18px;
}
.brief-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 14px;
  color: var(--blue-600);
  text-decoration: none;
}
.brief-card__more svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.brief-card__more:hover svg { transform: translateX(3px); }

/* ---------- Section 4 — Finanzierungen und Partnerschaften ---------- */
.finance-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--slate-700);
  margin: 0;
  max-width: 640px;
}
.partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}
.partner-logo {
  height: 46px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}
.finance-eyebrow { margin-top: 48px; }

/* ---------- Section 5 — Team (photo grid) ---------- */
.team-group__label {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--blue-700);
  margin: 0 0 26px;
}
.team-group__label--mt { margin-top: 52px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 34px 18px;
}
.team-grid--lead {
  grid-template-columns: repeat(auto-fill, minmax(180px, 200px));
  justify-content: start;
}
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.person__avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 25px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  flex: none;
  margin-bottom: 14px;
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__name {
  font-family: var(--font-display);
  font-weight: var(--w-medium);
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--blue-700);
}
.person__role {
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 12px;
  color: var(--primary);
  margin-top: 4px;
}
.team-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate-500);
  margin: 40px 0 0;
}
.team-text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0;
  max-width: 620px;
}

/* ---------- Section 5 — Kontakt ---------- */
.cta { padding: 96px 0; background: #fff; text-align: center; }
.cta__emblem { margin: 0 auto 22px; width: 56px; height: 56px; }
.cta__actions { display: flex; justify-content: center; }

/* ---------- Impressum ---------- */
.imprint p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-700);
  margin: 0 0 1em;
}
.imprint p:last-child { margin-bottom: 0; }
.imprint a { color: var(--link); text-decoration: none; }
.imprint a:hover { color: var(--link-hover); }
.imprint__note { font-size: 13.5px; color: var(--slate-500); }

/* ---------- Blog / article page ---------- */
.post-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.post-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}
.post-topbar .logo__mark { width: 42px; height: 42px; }
.post-topbar .logo { gap: 14px; }
.post-topbar .logo__word { font-size: 27px; letter-spacing: -0.012em; }
.logo__word--row { line-height: 1; white-space: nowrap; }
.post-back {
  font-family: var(--font-ui);
  font-weight: var(--w-semi);
  font-size: 14px;
  color: var(--blue-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post-back svg { width: 16px; height: 16px; }
.post-back:hover { color: var(--blue-700); }

.post-hero {
  background: linear-gradient(180deg, #F1F7FC, #fff);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.post-hero__title {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.022em;
  line-height: 1.13;
  color: var(--blue-700);
  margin: 14px 0 18px;
}
.post-hero__byline {
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: var(--slate-600);
  margin: 0;
}
.post-hero__byline strong { color: var(--blue-700); }
.post-hero__pub {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--slate-500);
  margin: 8px 0 0;
}

.post {
  padding: 48px 0 64px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  color: var(--fg-1);
}
.post p { margin: 0 0 1.3em; }
.post__lead {
  font-size: 21px;
  line-height: 1.6;
  color: var(--slate-700);
}
.post h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--blue-700);
  margin: 1.7em 0 0.5em;
}
.post__bio {
  margin-top: 2.4em;
  padding-top: 1.5em;
  border-top: 1px solid var(--border);
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
}
.post__figure { margin: 0 0 2em; }
.post__figure img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.post__figure figcaption {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 8px;
}
.post__source {
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
}
.post__source a { color: var(--link); text-decoration: none; }
.post__source a:hover { color: var(--link-hover); }
.post__back-foot { margin-top: 2.6em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid,
  .hero__grid--brand { grid-template-columns: 1fr; gap: 40px; }
  .hero__brand {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .hero__logo-mark { width: 84px; height: 84px; }
  .hero__logo-word { font-size: 28px; }
  .hero__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; margin-top: 20px; }
  .hero__nav a:nth-child(1),
  .hero__nav a:nth-child(2),
  .hero__nav a:nth-child(3) { top: 0; }
  .cols-intro { max-width: 100%; }
  .cols { grid-template-columns: 1fr; gap: 30px; }
  .work-card__body { padding-left: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .work-card__summary { flex-wrap: wrap; gap: 14px 16px; padding: 14px 16px; }
  .work-card__thumb { width: 100%; max-width: none; aspect-ratio: 16 / 9; }
  .work-card__title { font-size: 18px; }
  .work-card__body { padding: 4px 18px 22px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 26px 12px; }
  .team-grid--lead { grid-template-columns: 1fr 1fr; }
  .person__avatar { width: 72px; height: 72px; font-size: 22px; }
  .partners__logos { justify-content: flex-start; gap: 24px 32px; }
  .brief-card { flex-basis: 80vw; }
  .brief-track { gap: 16px; --gutter: 20px; }

  /* Video fills the screen height on mobile */
  .video-band { height: 80vh; height: 80svh; }

  /* Hero: burger menu instead of the three inline anchor links */
  .hero__brand { justify-content: flex-start; }
  .hero__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 68px;
    right: 16px;
    z-index: 20;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    color: var(--blue-700);
    cursor: pointer;
  }
  .hero__burger svg { width: 28px; height: 28px; }
  .hero__nav {
    display: none;
    position: absolute;
    top: 120px;
    right: 16px;
    z-index: 19;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    margin-top: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 18px 22px;
  }
  .hero__nav.is-open { display: flex; }

  /* Blog/legal topbar: smaller wordmark + icon-only back link so it fits */
  .post-topbar .logo__word { font-size: 19px; }
  .post-topbar .logo { gap: 12px; }
  .post-topbar .logo__mark { width: 38px; height: 38px; }
  .post-topbar .post-back { font-size: 0; gap: 0; }
  .post-topbar .post-back svg { width: 22px; height: 22px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
