:root { --bg: #1a1a19; --panel: #232322; --line: #34332f; --text: #deddd7; --muted: #8f8d86; --dim: #6a6862; --blue: #3987e5; --amber: #fab219; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .inner { max-width: 1040px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img.logo { width: 40px; height: 40px; }
.brand img.wordmark { width: 190px; height: auto; margin-top: 6px; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 16px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* text pages */
main { max-width: 720px; margin: 0 auto; padding: 56px 24px 40px; }
.kicker { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.2; margin: 0 0 14px; font-weight: 700; }
.episode { color: var(--muted); font-style: italic; margin: 0 0 36px; }
h2 { font-size: 26px; line-height: 1.3; margin: 64px 0 14px; }
h2 .label { display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 18px; }
main ol, main ul { padding-left: 1.3em; margin: 0 0 18px; }
main ol li, main ul li { margin-bottom: 10px; padding-left: 4px; }
main ol li::marker { color: var(--amber); font-weight: 700; }
.intro { color: var(--muted); margin-bottom: 30px; }
.plain h2 { font-size: 20px; margin: 36px 0 8px; }

.answer { background: var(--panel); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: 22px 26px; margin: 0 0 12px; }
.answer h2 { margin: 0 0 8px; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.answer p:last-child { margin-bottom: 0; }
.pull { font-size: 23px; line-height: 1.4; font-weight: 700; color: var(--text); border-left: 4px solid var(--amber); padding: 4px 0 4px 22px; margin: 30px 0; }

/* figures: wider than the text column on large screens */
figure { margin: 34px 0 38px; }
figure a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
figure img { display: block; width: 100%; height: auto; }
figcaption { font-size: 15.5px; line-height: 1.5; color: var(--muted); margin-top: 12px; }
figcaption .zoom { color: var(--dim); white-space: nowrap; }
@media (min-width: 1040px) { figure { margin-left: -130px; margin-right: -130px; } figcaption { margin-left: 130px; margin-right: 130px; } }

.watch { display: inline-block; margin: 8px 0 0; padding: 13px 26px; border: 2px solid var(--blue); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.watch:hover, .watch:focus-visible { background: var(--blue); color: #fff; outline: none; }
.source { font-size: 16px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; }

/* terms on a model page, and the glossary */
.terms { margin-top: 64px; background: var(--panel); border-radius: 10px; padding: 24px 26px 10px; }
.terms h2 { margin: 0 0 14px; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
dl { margin: 0 0 18px; }
dt { font-weight: 700; margin-top: 16px; }
dt:first-child { margin-top: 0; }
dd { margin: 4px 0 0; color: var(--text); }
.terms dd { color: var(--muted); font-size: 16.5px; }
.glossary dt { font-size: 21px; margin-top: 30px; scroll-margin-top: 20px; }
.glossary dd .where { display: block; font-size: 15.5px; margin-top: 6px; color: var(--dim); }

/* the Builder Method: the signature graphic from the videos, kept inside the text column and without a frame */
.lead { font-size: 21px; line-height: 1.5; margin-bottom: 30px; }
figure.signature { margin: 8px 0 34px; }
figure.signature a { border: 0; border-radius: 0; }
@media (min-width: 1040px) { figure.signature { margin-left: 0; margin-right: 0; } }

/* German words */
.word { padding: 34px 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.word:first-child { padding-top: 6px; }
.word h2 { font-size: clamp(28px, 4.6vw, 38px); margin: 0 0 6px; overflow-wrap: anywhere; }
.word .literal, .word-box .literal { color: var(--blue); font-style: italic; }
.word .literal { font-size: 21px; margin: 0 0 10px; }
.word .meaning { font-size: 19px; margin: 0 0 18px; }
.word .situation { color: var(--muted); margin: 0 0 6px; }
.word .pull { font-size: 20px; margin: 22px 0 18px; }
.word-links { font-size: 16px; margin: 0; color: var(--dim); }
.word-box { margin: 56px 0 28px; background: var(--panel); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: 22px 26px 8px; }
.word-box h2 { margin: 0 0 10px; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.word-box .w { font-size: 24px; font-weight: 700; margin: 0 0 6px; overflow-wrap: anywhere; }
.word-box .w .literal { font-size: 18px; font-weight: 400; margin-left: 6px; }

/* lists of model pages */
.model-list { list-style: none; padding: 0 !important; margin: 0 0 24px; }
.model-card { margin: 0 0 16px !important; padding: 0 !important; }
.model-card a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; text-decoration: none; color: var(--text); }
.model-card a:hover, .model-card a:focus-visible { border-color: var(--blue); outline: none; }
.model-card .meta { display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.model-card .q { display: block; font-size: 21px; font-weight: 700; line-height: 1.35; }
.model-card .sum { display: block; color: var(--muted); font-size: 16.5px; margin-top: 8px; }

/* thumbnail motif as a background element */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .inner { position: relative; max-width: 1040px; margin: 0 auto; padding: 64px 24px 44px; }
.page-hero h1 { max-width: 15.5em; }
.page-hero .episode { margin-bottom: 0; }
.page-hero .motif {
  position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; object-position: 70% 58%; opacity: .8;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 98%); mask-image: linear-gradient(to left, #000 35%, transparent 98%);
}
main.after-hero { padding-top: 44px; }

/* neutral pages: the data world from the channel intro */
.page-hero.neutral .inner { padding: 56px 24px 40px; }
.page-hero.neutral .motif {
  width: 100%; opacity: .5; object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}
.page-hero.neutral h1 { margin-bottom: 0; }
.page-hero.neutral .episode { margin-top: 12px; }

/* about */
.about-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.about-grid .portrait { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.about-grid .credit { font-size: 13.5px; line-height: 1.45; color: var(--dim); margin: 10px 0 0; }
.about-grid .credit a { color: var(--muted); }
.about-text > p:first-child { font-size: 21px; line-height: 1.5; }
.about-text ul { list-style: none; padding-left: 0; border-left: 4px solid var(--amber); padding-left: 20px; margin: 24px 0; }
.about-text ul li { margin-bottom: 8px; padding-left: 0; }
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; gap: 26px; } .about-grid .portrait-wrap { max-width: 220px; } }

.home-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.home-hero .motif {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.25) 18%, #000 80%); mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.25) 18%, #000 80%);
}
.home-hero .hero { position: relative; padding: 72px 24px 76px; margin-bottom: 0; }

.model-card.has-motif a { position: relative; overflow: hidden; padding-right: 30%; }
.model-card .motif {
  position: absolute; top: 0; right: 0; width: 34%; height: 100%; object-fit: cover; object-position: 92% 58%; opacity: .7;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 100%); mask-image: linear-gradient(to left, #000 25%, transparent 100%);
}
.model-card .meta, .model-card .q, .model-card .sum { position: relative; }

@media (max-width: 720px) {
  .page-hero .inner { padding: 44px 24px 34px; }
  .page-hero .motif { width: 100%; opacity: .26; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, transparent 100%); }
  .model-card.has-motif a { padding-right: 24px; }
  .model-card .motif { width: 60%; opacity: .2; }
}

/* home */
.home { padding-top: 56px; }
.hero { text-align: center; margin-bottom: 72px; }
.hero .logo { width: 112px; height: 112px; }
.hero .wordmark { display: block; width: min(400px, 78vw); height: auto; margin: 28px auto 0; }
.hero h1 { font-size: clamp(26px, 4.2vw, 38px); line-height: 1.25; margin: 44px auto 0; max-width: 20em; }
.hero .name { margin: 22px 0 0; font-size: 19px; color: var(--muted); }
.latest h2 { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 18px; }
.more { font-size: 16.5px; color: var(--dim); }

footer.site-footer { max-width: 720px; margin: 0 auto; padding: 24px 24px 44px; font-size: 14px; color: var(--dim); border-top: 1px solid var(--line); }
footer.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand img.wordmark { display: none; }
  .site-nav { gap: 2px 16px; }
  .site-nav a { font-size: 15px; }
  h2 { font-size: 23px; margin-top: 52px; }
  .pull { font-size: 20px; }
}
