/* ==========================================================================
   The Moral AI Leader – stylesheet
   Look: based on the English cover and banner (night black, magenta, light blue)
   Sister site of mensch-macht-maschine.com – same structure, different theme.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no Google servers → GDPR) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-latin-500-normal.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: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-latin-600-normal.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: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-latin-700-normal.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: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/montserrat-latin-800-normal.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: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/montserrat-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/figtree-latin-400-normal.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: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/figtree-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/figtree-latin-500-normal.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: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/figtree-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/figtree-latin-600-normal.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: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/figtree-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Design tokens ---------- */
:root {
  /* Colors – measured from the banner and the English cover */
  --night: #05060C;          /* page background */
  --night-2: #0E0F1A;        /* alternate sections */
  --card: #151726;           /* cards */
  --field: #0B0C15;          /* form fields, video frame */
  --black: #000000;          /* footer, like the banner */
  --line: #262A3E;
  --line-strong: #3A3F58;
  --field-border: #66697F;
  --text: #F3F2F7;
  --text-soft: #D9D8E3;
  --muted: #A9ADC4;
  --blue: #80A8DB;           /* “THE MORAL” on the banner */
  --magenta: #BD1A8D;        /* “AI LEADER” on the banner – buttons, big type */
  --magenta-hover: #A0147A;
  --magenta-light: #D46AB5;  /* magenta for small text on dark (contrast ≥ 4.5:1) */
  --purple: #922678;         /* cover variant of the accent (alternative) */

  /* Type */
  --display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --content: 1280px;
  --pad: clamp(20px, 5.5vw, 80px);
  --label-col: 296px;
  --gap: 32px;
  --section-y: clamp(56px, 7.5vw, 104px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--magenta-light); text-underline-offset: 3px; }
a:hover { color: #F08FD0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
input, textarea, select, button { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--text); color: var(--night); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.stack-l > * + * { margin-top: 56px; }
.stack-xl > * + * { margin-top: 64px; }

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
}
.label {
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.label--blue { color: var(--blue); }
.hl { color: var(--magenta-light); }
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.01em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.08; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 860px; }
.body-l { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); }
.small { font-size: 15px; line-height: 1.6; color: var(--muted); }
.small a { color: var(--muted); }
.text-link { font-size: 17px; font-weight: 500; }
.inline-note { font-size: 17px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 0;
  font-family: var(--sans); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--small { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--primary { background: var(--magenta); color: #fff; }
.btn--primary:hover { background: var(--magenta-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); font-weight: 500; }
.btn--outline:hover { background: var(--text); color: var(--night); }
.btn--light { background: var(--text); color: var(--night); }
.btn--light:hover { background: #fff; color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.btn-row--tight { gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 12, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid #1E2133;
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.03em;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
.wordmark__a { color: var(--blue); }
.wordmark__b { color: var(--magenta-light); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__list { list-style: none; display: flex; gap: 28px; }
.site-nav__list a { color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; }
.site-nav__list a:hover { color: var(--magenta-light); }
.site-nav__extra { display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 500; }
.site-nav__extra a { color: var(--text); }
.site-nav__extra a[lang="de"] { color: var(--muted); text-decoration: none; font-weight: 600; letter-spacing: 0.08em; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -10px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--text); cursor: pointer;
}
@media (max-width: 1099px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--pad) 24px;
    background: var(--night); border-bottom: 1px solid #1E2133;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: flex; align-items: center; min-height: 48px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .site-nav__extra { padding-top: 12px; }
  .site-nav__extra a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .wordmark { font-size: 15px; }
  .site-header__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas: "video head" "video body";
  column-gap: 100px; row-gap: 28px;
  align-items: start;
}
.hero__head { grid-area: head; position: relative; z-index: 1; }
.hero__body { grid-area: body; max-width: 760px; position: relative; z-index: 1; }
.hero__authors { font-size: 18px; color: var(--text-soft); margin-bottom: 32px; }
.hero__sub {
  max-width: 760px; margin-top: 40px;
  font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.2; color: #fff;
}
.hero__body p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); margin-bottom: 32px; }

/* Title lockup, like on the cover: THE / MORAL next to a huge AI, LEADER below.
   All sizes derive from --F (the size of “AI”), so the lockup always keeps its proportions. */
.lockup-wrap {
  --F: min(390px, calc((100vw - 2 * var(--pad) - 440px) / 1.97));
  position: relative; display: inline-block; font-size: var(--F);
}
.lockup {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start;
  font-family: var(--display); font-weight: 700; font-size: 1em; line-height: 0.7;
}
.lockup__the, .lockup__moral, .lockup__ai, .lockup__leader { display: block; line-height: 0.7; white-space: nowrap; }
.lockup__left { display: flex; flex-direction: column; gap: 0.054em; color: var(--blue); }
.lockup__the { font-size: 0.0956em; }
.lockup__moral { font-size: 0.2452em; }
.lockup__right { display: flex; flex-direction: column; gap: 0.07em; margin-left: -0.12em; color: var(--magenta); }
.lockup .lockup__ai { font-size: 1em; }
.lockup .lockup__leader { font-size: 0.2593em; font-weight: 500; }
.lockup__flare {
  position: absolute; z-index: 0; left: calc(100% - 0.056em); top: -0.108em;
  width: 0.603em; max-width: none; height: auto; pointer-events: none;
}

/* Welcome video (portrait 9:16) with the light burst from the banner behind it */
.greeting { grid-area: video; width: 340px; }
.greeting__stage { position: relative; }
.greeting__glow {
  position: absolute; z-index: 0; left: -157%; top: -41%;
  width: 276%; max-width: none; height: auto; pointer-events: none;
}
.greeting__frame {
  position: relative; z-index: 1; aspect-ratio: 9 / 16; width: 100%;
  background: var(--field); border: 1px solid rgba(243, 242, 247, .14); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.greeting__video { width: 100%; height: 100%; object-fit: cover; }
.greeting__label {
  position: absolute; left: 20px; top: 18px;
  font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); pointer-events: none;
}
.greeting__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--magenta); color: #fff; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.greeting__play:hover { background: var(--magenta-hover); transform: translate(-50%, -50%) scale(1.04); }
.greeting.is-playing .greeting__play,
.greeting.is-playing .greeting__label { display: none; }
.greeting__caption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.greeting__title { font-size: 17px; font-weight: 600; }
.greeting__caption a { font-size: 15px; }

@media (max-width: 1099px) {
  .hero { padding: 40px 0 64px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "video" "body"; row-gap: 32px; }
  .lockup-wrap { --F: min(390px, calc((100vw - 2 * var(--pad)) / 1.99)); }
  .hero__sub { margin-top: 28px; }
  .greeting { width: min(270px, 72vw); justify-self: center; }
  .greeting__caption { align-items: center; text-align: center; }
  .greeting__label { left: 16px; top: 14px; font-size: 11px; }
  .greeting__play { width: 72px; height: 72px; }
  .hero__body p { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero__authors { font-size: 15px; margin-bottom: 20px; }
  .lockup__flare { left: calc(100% - 0.19em); top: -0.165em; }
  .hero__body .btn-row { flex-direction: column; align-items: stretch; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--night-2); }
.section-head { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); column-gap: var(--gap); }
.section-head .kicker { padding-top: 14px; }
.section-head--baseline { align-items: baseline; }
.section-head--baseline .kicker { padding-top: 0; }
.section-head__body > * + * { margin-top: 24px; }
@media (max-width: 899px) {
  .section-head { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .section-head .kicker { padding-top: 0; }
  .section-head__body > * + * { margin-top: 16px; }
}

/* ---------- Workshops ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pillar { padding-top: 24px; border-top: 2px solid var(--text); }
.pillar__title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; margin-bottom: 12px; }
.pillar p { color: var(--muted); }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.format { padding: clamp(24px, 2.8vw, 40px); background: var(--card); border: 1px solid var(--line); }
.format > * + * { margin-top: 14px; }
.format p:not(.label) { color: var(--muted); }
@media (max-width: 799px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pillar { padding: 14px 0 18px; }
  .pillar__title { margin-bottom: 6px; }
  .pillar p { font-size: 16px; }
  .formats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stack-xl > * + * { margin-top: 40px; }
}

/* ---------- Fact lists ---------- */
.facts {
  display: grid; column-gap: var(--gap); row-gap: 20px;
  padding: 24px 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line-strong);
}
.facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px 0; }
.facts > div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 17px; line-height: 1.5; }
@media (max-width: 999px) { .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .facts--4 { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .facts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dd { font-size: 16px; }
}

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 400px minmax(0, 1fr); column-gap: 96px; align-items: start; }
.book__cover { width: 100%; height: auto; box-shadow: 0 40px 90px -30px rgba(189, 26, 141, .45), 0 2px 6px rgba(0, 0, 0, .5); }
.book__body > * + * { margin-top: 28px; }
.book .h2 { font-size: clamp(26px, 2.9vw, 42px); line-height: 1.15; }
@media (max-width: 999px) { .book { grid-template-columns: 300px minmax(0, 1fr); column-gap: 48px; } }
@media (max-width: 719px) {
  .book { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .book__cover { width: 200px; }
  .book__body > * + * { margin-top: 20px; }
  .book .btn-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .book .text-link { min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

.chapters { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); column-gap: var(--gap); }
.chapters__details summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; border-top: 1px solid var(--line);
  font-size: 17px; font-weight: 600;
}
.chapters__details summary::-webkit-details-marker { display: none; }
.chapters__details[open] summary svg { transform: rotate(180deg); }
.chapter-list {
  list-style: none; counter-reset: ch;
  columns: 2; column-gap: var(--gap);
  border-bottom: 1px solid var(--line);
}
.chapter-list li {
  counter-increment: ch; break-inside: avoid;
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 18px; line-height: 1.4;
}
.chapter-list li::before {
  content: counter(ch, decimal-leading-zero);
  flex: 0 0 28px; font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--magenta-light);
}
@media (min-width: 900px) { .chapters__details[open] summary { display: none; } }
@media (max-width: 899px) {
  .chapters { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .chapter-list { columns: 1; border-bottom: 0; }
  .chapter-list li { padding: 10px 0; font-size: 16px; gap: 12px; border-top-color: #1E2133; }
  .chapter-list li::before { flex-basis: 22px; font-size: 13px; }
  .chapters__details { border-bottom: 1px solid var(--line); }
}

/* ---------- Praise ---------- */
.quotes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 2px solid var(--text); }
.quote blockquote { font-size: 20px; line-height: 1.5; }
.quote blockquote::before {
  content: "“"; display: block; margin-bottom: 4px;
  font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 0.8; color: var(--magenta);
}
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote strong { font-size: 16px; font-weight: 600; }
.quote span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.swipe-hint { display: none; font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1099px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .quotes {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scroll-padding-inline: var(--pad);
  }
  .quote { flex: 0 0 min(290px, 80vw); scroll-snap-align: start; gap: 16px; padding-top: 18px; }
  .quote blockquote { font-size: 18px; }
  .quote blockquote::before { font-size: 44px; }
  .swipe-hint { display: block; margin-top: 20px; }
  .stack-l > * + * { margin-top: 24px; }
}

/* ---------- About ---------- */
.authors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.author {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 32px; row-gap: 16px;
  grid-template-areas: "photo head" "photo bio" "photo links";
  align-content: start; align-items: start;
  padding-top: 32px; border-top: 2px solid var(--text);
}
.author__photo { grid-area: photo; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
.author__head { grid-area: head; }
.author__head .h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; margin-bottom: 6px; }
.author__bio { grid-area: bio; font-size: 17px; line-height: 1.6; color: var(--muted); }
.author__links { grid-area: links; display: flex; flex-wrap: wrap; column-gap: 24px; font-size: 16px; font-weight: 500; }
@media (max-width: 999px) { .authors { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
@media (max-width: 599px) {
  .author {
    grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; row-gap: 14px;
    grid-template-areas: "photo head" "bio bio" "links links";
    align-items: center; padding-top: 20px;
  }
  .author__bio { font-size: 16px; }
  .author__links a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: var(--label-col) 368px minmax(0, 1fr);
  column-gap: var(--gap); row-gap: 24px;
  grid-template-areas: "kicker info form";
}
.contact__kicker { grid-area: kicker; padding-top: 14px; }
.contact__info { grid-area: info; margin-right: 32px; }
.contact__info > * + * { margin-top: 24px; }
.contact__form { grid-area: form; }
.contact__mails > div { display: flex; flex-direction: column; gap: 4px; }
.contact__mails dt { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact__mails a { color: var(--text); font-size: 18px; overflow-wrap: anywhere; }
@media (max-width: 1099px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: "kicker kicker" "info form"; }
  .contact__kicker { padding-top: 0; }
}
@media (max-width: 799px) {
  .contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kicker" "info" "form"; }
  .contact__info { margin-right: 0; }
}

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: var(--field); border: 1px solid var(--field-border); border-radius: 0;
  font-size: 17px; color: var(--text);
}
.field textarea { min-height: 160px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field textarea::placeholder { color: #8E91A8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--magenta-light); border-width: 2px; }
.field__error { font-size: 15px; font-weight: 600; color: var(--magenta-light); }
.field__error:empty { display: none; }
.form__status { padding: 16px 20px; font-size: 17px; background: var(--card); border-left: 4px solid var(--blue); }
.form__status--error { border-left-color: var(--magenta-light); color: var(--text); }
.form__status--ok { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; border-left-color: var(--magenta); }
.form__status[hidden] { display: none; }
.form__status:focus { outline: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 599px) {
  .form__row--2 { grid-template-columns: minmax(0, 1fr); }
  .form { gap: 16px; }
  .contact__form .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--text); padding: 64px 0 56px; }
.site-footer__inner > * + * { margin-top: 56px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.site-footer__about { max-width: 480px; font-size: 16px; color: var(--muted); }
.site-footer__nav { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.site-footer__nav a { color: var(--text); text-decoration: none; font-size: 16px; }
.site-footer__nav a:hover { color: var(--magenta-light); }
.site-footer__wordmark {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6.6vw, 96px); line-height: 0.95; letter-spacing: -0.01em;
}
.site-footer__wordmark .wordmark__b { color: var(--magenta); }
@media (max-width: 799px) {
  .site-footer { padding: 48px 0 40px; }
  .site-footer__top { flex-direction: column-reverse; }
  .site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .site-footer__nav a { min-height: 44px; display: flex; align-items: center; }
  .site-footer__wordmark span { display: block; }
}

/* ---------- Sub pages (legal notice, privacy) ---------- */
.legal { padding-block: var(--section-y); }
.legal .wrap { max-width: calc(820px + 2 * var(--pad)); }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; margin-bottom: 32px; }
.legal p { color: var(--muted); }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal p + p, .legal ul + p, .legal p + ul, .legal table + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; color: var(--muted); }
.legal li + li { margin-top: 4px; }
.legal strong { color: var(--text-soft); }
.legal .legal__intro { font-size: clamp(17px, 1.4vw, 20px); }
.legal .legal__meta { margin-top: 48px; font-size: 15px; }
.legal-table-wrap { overflow-x: auto; margin-top: 12px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; color: var(--muted); }
.legal th { font-family: var(--display); text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 8px 0; }
.legal td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line-strong); vertical-align: top; }
.legal code { font-size: 15px; }
