/* ==========================================================================
   hunecke.it — design system "Verlaufsprotokoll"
   Signature: sales inquiries told as timed protocols. Lost inquiries fade out
   (the message made visible); won inquiries stay sharp in accent blue.
   Palette from the brand: navy ink, deep blues, frost, one accent.
   Type: Oswald (display) · IBM Plex Sans (body) · IBM Plex Mono (time, data).
   Zero JavaScript. All assets self-hosted.
   ========================================================================== */

/* ---- Fonts (Oswald: SIL OFL 1.1 · IBM Plex: SIL OFL 1.1) ----------------- */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/oswald-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
}

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --ink: #193154;
  --ink-soft: rgba(25, 49, 84, 0.72);
  --deep: #001027;
  --grad-top: #000000;
  --grad-bottom: #001737;
  --black: #000000;
  --panel: #062445;
  --panel-2: #001737;
  --cta-bg: #000529;
  --paper: #ffffff;
  --frost: #e2ecfe;
  --accent: #3884ff;
  --accent-strong: #2a6fe0;
  --accent-soft: rgba(56, 132, 255, 0.14);
  --loss: #c53030;          /* semantic: lost inquiries only — never decorative */
  --loss-bright: #ff8177;   /* loss accent on dark backgrounds */
  --line-light: rgba(25, 49, 84, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --r-s: 4px;
  --r-m: 16px;
  --r-pill: 100px;

  --container: 1180px;
  --pad-x: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.4em;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.35;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

a { color: inherit; }

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

::selection { background: var(--accent); color: #fff; }

/* ---- Primitives ------------------------------------------------------------ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section--dark { color: #fff; }

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-head { max-width: 54rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head .lead {
  font-size: 1.1875rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

.section--dark .section-head .lead { color: rgba(255, 255, 255, 0.75); }

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

.mono-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.section--dark .mono-note { color: rgba(255, 255, 255, 0.6); }

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--r-pill);
  padding: 0.9em 2.2em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-1px); }

.btn--small { padding: 0.55em 1.4em; font-size: 0.9375rem; }

.btn--ghost {
  border: 1px solid var(--line-dark);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; }

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ---- Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  color: #fff;
  background: rgba(0, 8, 26, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-header__logo { margin-right: auto; }
.site-header__logo img { width: 132px; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }

.site-nav a {
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.5em 0.9em;
  border-radius: var(--r-s);
  opacity: 0.85;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }

.nav-toggle,
.nav-toggle-label { display: none; }

@media (max-width: 920px) {
  .site-header__cta { display: none; }

  .nav-toggle-label {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
    content: '';
    transition: transform 0.2s ease;
  }
  .nav-toggle-label span::before { position: absolute; top: -7px; }
  .nav-toggle-label span::after { position: absolute; top: 7px; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem var(--pad-x) 1.5rem;
  }
  .site-nav a { padding: 0.9em 0.75em; font-size: 1.0625rem; }

  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span { transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(-90deg); top: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span::after { display: none; }

  /* single-link nav on legal pages needs no burger */
  .site-nav--simple {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    padding: 0;
  }
}

/* ---- Hero --------------------------------------------------------------------- */
.hero {
  background: linear-gradient(0deg, var(--grad-bottom) 0%, var(--grad-top) 100%);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__sub {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.hero__pitch {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero .cta-row { margin-bottom: 1rem; }

.hero__figure { margin: 0; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-m);
}
.hero__figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

.hero__data {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1.75rem 0 2.25rem;
  gap: 1.5rem;
}

.hero__data div { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 1.25rem; }
.hero__data div:first-child { border-left: none; padding-left: 0; }

.hero__data dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.35rem;
}
.hero__data dd {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin: 0;
  line-height: 1;
}

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 26rem; }
  .hero__data { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .hero__data div:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---- Protocol (signature) -------------------------------------------------------
   A timed log of one inquiry. Lost protocols fade toward their terminal line;
   won protocols hold a solid accent rail. */
.protocol {
  border: 1px solid var(--line-light);
  border-radius: var(--r-s);
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--paper);
}

.protocol__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.protocol ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.protocol li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  position: relative;
  padding-bottom: 1.1rem;
  font-size: 0.9375rem;
}

.protocol li:last-child { padding-bottom: 0; }

.protocol time,
.protocol .protocol__t {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 0.2em;
  color: var(--ink-soft);
}

/* rail */
.protocol li > div {
  border-left: 2px solid var(--line-light);
  padding-left: 1.1rem;
  position: relative;
}
.protocol li > div::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
}

/* fading loss — the timeline fades, the consequence does NOT */
.protocol--lost li:nth-child(2) { opacity: 0.85; }
.protocol--lost li:nth-child(3) { opacity: 0.68; }
.protocol--lost li:nth-child(4) { opacity: 0.52; }
.protocol--lost li:last-child > div { border-left-style: dashed; }

.protocol__terminal {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-light);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* loss climax: the loudest element of a lost protocol */
.protocol__loss {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--loss);
  margin-bottom: 0.4rem;
}

.protocol--lost .protocol__terminal {
  border-top: 2px solid rgba(197, 48, 48, 0.45);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.0625rem;
}

/* won variant on dark */
.section--dark .protocol {
  background: transparent;
  border-color: var(--line-dark);
}
.section--dark .protocol time,
.section--dark .protocol .protocol__t { color: rgba(255, 255, 255, 0.6); }
.section--dark .protocol li > div { border-left-color: rgba(255, 255, 255, 0.25); }
.section--dark .protocol li > div::before { background: rgba(255, 255, 255, 0.5); }

.protocol--won li > div { border-left-color: var(--accent) !important; }
.protocol--won li > div::before { background: var(--accent) !important; }

.protocol--won .protocol__terminal {
  border-top: 1px solid var(--accent);
  color: #fff;
  font-weight: 600;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

@media (max-width: 1000px) {
  .protocol-grid, .protocol-grid--2 { grid-template-columns: 1fr; max-width: 34rem; }
}

/* ---- Cost ledger ------------------------------------------------------------- */
.ledger { margin-top: clamp(3rem, 6vw, 4.5rem); }

.ledger h3 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.ledger dl { margin: 0; }

.ledger div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  border-top: 1px solid var(--line-light);
  padding: 1.1rem 0;
}

.ledger dt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  color: var(--ink);
}

.ledger dd { margin: 0; color: var(--ink-soft); }

@media (max-width: 640px) {
  .ledger div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---- Punch band (problem climax, bridges into the solution) ------------------- */
.punch {
  background: var(--deep);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.punch p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.18;
  margin: 0;
  max-width: 58rem;
  text-wrap: balance;
}

.punch .punch__worst { color: var(--loss-bright); }

/* ---- Solution section --------------------------------------------------------- */
.solution { background: linear-gradient(180deg, var(--grad-bottom) 0%, var(--black) 18%); }

.solution__close {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.solution__close img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-m);
}

.solution__close h2 { font-size: clamp(1.6rem, 3.2vw, 2.375rem); }

.solution__close .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1875rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 920px) {
  .solution__close { grid-template-columns: 1fr; }
  .solution__close img { max-width: 24rem; }
}

/* ---- Week band (process) -------------------------------------------------------- */
.weekband {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem 0;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.weekband span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  border-left: 1px solid var(--line-light);
  padding: 0 0 0.5rem 0.5rem;
}

.weekband .bar {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: var(--r-s);
  padding: 0.55em 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weekband .bar--1 { grid-column: 1 / 3; background: rgba(56, 132, 255, 0.45); }
.weekband .bar--2 { grid-column: 2 / 5; grid-row: 3; background: rgba(56, 132, 255, 0.72); }
.weekband .bar--3 { grid-column: 5 / 9; grid-row: 4; }

.weekband .bar--2, .weekband .bar--3 { margin-top: 0.5rem; }

@media (max-width: 640px) {
  .weekband span:nth-child(even) { visibility: hidden; }
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 920px) {
  .phase-grid { grid-template-columns: 1fr; max-width: 34rem; }
}

.phase {
  border-top: 3px solid var(--accent);
  padding-top: 1.25rem;
}
.phase--1 { border-top-color: rgba(56, 132, 255, 0.45); }
.phase--2 { border-top-color: rgba(56, 132, 255, 0.72); }

.phase .weeks {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.5rem;
}

.result {
  font-weight: 600;
  color: var(--accent-strong);
  margin-top: 0.75em;
}

.section--dark .result { color: var(--accent); }

/* ---- Fit section ------------------------------------------------------------------ */
.fit { background: var(--frost); }

.fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 920px) {
  .fit__grid { grid-template-columns: 1fr; }
  .fit__grid > figure { max-width: 24rem; }
}

.fit__grid figure { margin: 0; }
.fit__grid img { border-radius: var(--r-m); }

.checklist {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2.4rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}
.checklist li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 0.72rem;
  width: 10px;
  height: 6px;
  margin-top: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.nofit {
  background: var(--paper);
  border-left: 4px solid var(--ink);
  border-radius: var(--r-s);
  padding: 1.25rem 1.5rem;
}
.nofit strong { display: block; margin-bottom: 0.25rem; }
.nofit p { margin: 0; color: var(--ink-soft); }

/* ---- Guide section ------------------------------------------------------------------ */
.guide { background: var(--panel); }

.guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 920px) {
  .guide__grid { grid-template-columns: 1fr; }
  .guide__grid figure { max-width: 24rem; }
}

.guide__grid figure { margin: 0; }
.guide__grid img { border-radius: var(--r-m); }

.guide__role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.75rem;
}

.guide p { color: rgba(255, 255, 255, 0.82); }
.guide p strong { color: #fff; }

/* ---- Work section -------------------------------------------------------------------- */
.work { background: var(--panel-2); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 920px) {
  .work-grid { grid-template-columns: 1fr; max-width: 34rem; }
}

.work-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-s);
  padding: 1.75rem;
}

.work-card p { color: rgba(255, 255, 255, 0.75); }
.work-card p strong { color: #fff; }

/* ---- CTA section ----------------------------------------------------------------------- */
.cta { background: var(--cta-bg); text-align: center; }

.cta .section-head {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.cta .lead { margin-left: auto; margin-right: auto; }

.cta .cta-row { justify-content: center; flex-direction: column; gap: 1rem; }

/* ---- FAQ -------------------------------------------------------------------------------- */
.faq { background: var(--black); }

.faq__list { max-width: 52rem; }

.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 1.25rem 3rem 1.25rem 0;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.375rem;
  color: var(--accent);
}
.faq details[open] summary::after { content: '−'; }

.faq details p {
  padding: 0 3rem 1.5rem 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Footer ------------------------------------------------------------------------------- */
.site-footer {
  background: var(--frost);
  color: var(--ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 920px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__brand img { width: 150px; margin-bottom: 1rem; }

.site-footer address { font-style: normal; margin-bottom: 0.75rem; }

.site-footer__contactline { margin: 0.25rem 0; }
.site-footer__contactline a { text-decoration: none; }
.site-footer__contactline a:hover { text-decoration: underline; }

.site-footer h2 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.site-footer nav ul { list-style: none; padding: 0; margin: 0; }
.site-footer nav li { margin-bottom: 0.6rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

.footer-card {
  background: var(--paper);
  border-radius: var(--r-m);
  padding: 1.5rem;
}
.footer-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}
.footer-card .name { font-weight: 600; margin: 0; }
.footer-card .role { color: var(--ink-soft); margin: 0 0 1rem; }

.site-footer__legal {
  border-top: 1px solid var(--line-light);
  padding-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__legal p { margin: 0; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }

/* ---- Consent banner (progressive enhancement: hidden without JS) ---------------------------- */
.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1200;
  background: var(--deep);
  color: #fff;
  border-top: 1px solid var(--line-dark);
  padding: 1rem 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.consent-banner__inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.consent-banner p {
  margin: 0;
  flex: 1 1 24rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.consent-banner a { color: #fff; }

.consent-banner__actions { display: flex; gap: 0.75rem; }

.consent-banner button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.6em 1.6em;
  cursor: pointer;
}

.consent-banner button[data-consent="denied"] { background: #fff; color: var(--ink); }
.consent-banner button[data-consent="granted"] { background: var(--accent); color: #fff; }
.consent-banner button:hover { filter: brightness(0.92); }

/* ---- Skip link ------------------------------------------------------------------------------ */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 1100;
}
.skip-to-content:focus { left: 0; }

/* ---- Legal pages ----------------------------------------------------------------------------- */
.legal-page {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.legal-page .container { max-width: 52rem; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1em; }
.legal-page h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 2em 0 0.6em;
}
.legal-page hr {
  border: none;
  border-top: 1px solid var(--line-light);
  margin: 2em 0;
}
