/* Instytut Adamieckiego, version 2: version 1 (the client's own design, design system "Instytut Adamieckiego")
   refreshed. Same colours, layout and content; calmer, more legible type (Source Serif 4 + Source Sans 3 instead
   of Playfair Display + Lato), soft gradients, layered shadows and gentle hover motion. Fonts are self-hosted. */

/* ---------- Fonts (fontsource 5.3.1, SIL OFL; licences in assets/fonts/) ---------- */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('../fonts/source-serif-4-latin-ext-opsz-normal.woff2') format('woff2-variations');
  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: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('../fonts/source-serif-4-latin-opsz-normal.woff2') format('woff2-variations');
  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: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('../fonts/source-serif-4-latin-ext-opsz-italic.woff2') format('woff2-variations');
  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: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('../fonts/source-serif-4-latin-opsz-italic.woff2') format('woff2-variations');
  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: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Source Sans 3'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('../fonts/source-sans-3-latin-wght-normal.woff2') format('woff2-variations');
  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; }

/* ---------- Tokens (the client's design system, plus gradient and shadow steps) ---------- */
:root {
  --navy-950: #0A1424;
  --navy-900: #0E1B2E;
  --navy-850: #122238;
  --navy-800: #16283F;
  --navy-700: #1E3453;
  --navy-podcast: #101D26;
  --steel-600: #37506B;
  --steel-500: #4A6582;
  --steel-400: #5C7A99;
  --steel-200: #B9C7D4;
  --steel-muted: #93A5BB;
  --rust-500: #D9562F;
  --rust-600: #CA431F;
  --rust-700: #A83617;
  --cream-200: #EADBC8;
  --cream-100: #F2E6D8;
  --cream-50: #F9F3EA;
  --gray-200: #E6E8EC;
  --gray-100: #F2F3F5;
  --white: #FFFFFF;
  --paper: #FBF8F2;
  --border: #E3E0D9;
  --text: #1B2738;
  --text-soft: #3E5670;
  --text-on-inverse: #F4F1EA;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 46, .05), 0 2px 8px rgba(14, 27, 46, .05);
  --shadow-md: 0 2px 4px rgba(14, 27, 46, .04), 0 14px 32px -8px rgba(14, 27, 46, .16);
  --shadow-lg: 0 30px 70px -20px rgba(6, 12, 22, .55);
  --shadow-dialog: 0 10px 30px rgba(14, 27, 46, .18), 0 30px 80px rgba(14, 27, 46, .24);
  --glow-dark: radial-gradient(1100px 560px at 88% -15%, rgba(202, 67, 31, .20), transparent 62%),
    radial-gradient(900px 620px at -12% 115%, rgba(92, 122, 153, .26), transparent 60%),
    linear-gradient(180deg, #11223A 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 32px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 96px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--rust-600); text-decoration: none; }
a:hover { color: var(--rust-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); margin: 0; line-height: 1.18;
  letter-spacing: -.012em; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--rust-600); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .support :focus-visible,
.player :focus-visible { outline-color: var(--cream-100); }
::selection { background: rgba(202, 67, 31, .18); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--navy-900);
  color: var(--paper); font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--paper); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.overline { font-family: var(--font-body); font-size: 13px; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust-600); font-weight: 700; margin-bottom: 16px; }
.hero .overline, .section--dark .overline, .support .overline { color: #E8714D; }
.rule { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--rust-600), var(--rust-500));
  margin-top: 24px; }
.section { padding: 104px 0; }
.section--warm { background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%); }
.section--dark { background: var(--glow-dark); color: var(--paper); }
.section-title { font-size: 40px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-title { max-width: 720px; margin: 0 auto; }

/* ---------- Buttons (design system: Button) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px;
  font: 600 15.5px/1.4 var(--font-body); letter-spacing: .02em; border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease),
    box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 14px 28px; font-size: 16.5px; }
.btn--sm { padding: 7px 14px; font-size: 14px; }
.btn--primary { background: linear-gradient(180deg, var(--rust-500) 0%, var(--rust-600) 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -8px rgba(202, 67, 31, .65); }
.btn--primary:hover { background: linear-gradient(180deg, var(--rust-600) 0%, var(--rust-700) 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 26px -10px rgba(202, 67, 31, .75); }
.btn--primary:active { background: var(--navy-900); }
.btn--secondary { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: var(--text-on-inverse);
  box-shadow: 0 8px 20px -10px rgba(14, 27, 46, .6); }
.btn--secondary:hover { background: var(--navy-800); color: var(--text-on-inverse); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--cream-50); color: var(--navy-900); }
.btn--inverse { color: var(--text-on-inverse); border-color: rgba(185, 199, 212, .55); background: rgba(255, 255, 255, .02); }
.btn--inverse:hover { background: rgba(255, 255, 255, .09); border-color: var(--cream-100); color: var(--text-on-inverse); }
.btn--ghost { background: transparent; color: var(--steel-600); }
.btn--ghost:hover { background: var(--gray-100); color: var(--navy-900); transform: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 248, 242, .88);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(14, 27, 46, .07); transition: box-shadow 240ms var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(14, 27, 46, .22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px;
  padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(14, 27, 46, .1), 0 4px 10px -4px rgba(14, 27, 46, .35); }
.brand span { font-weight: 800; font-size: 15px; letter-spacing: .15em; text-transform: uppercase; color: var(--navy-900); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 15px;
  font-weight: 600; white-space: nowrap; }
.nav-list a { display: block; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--navy-900);
  transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.nav-list a:hover { background: rgba(14, 27, 46, .05); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--rust-600); background: rgba(202, 67, 31, .07); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--glow-dark); color: var(--paper); padding: 104px 0 112px; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 230, 216, .28), transparent); }
.hero--podcast { background: radial-gradient(900px 520px at 80% 0%, rgba(202, 67, 31, .22), transparent 62%),
  radial-gradient(800px 600px at 0% 100%, rgba(55, 80, 107, .35), transparent 60%),
  linear-gradient(180deg, #13232F 0%, var(--navy-podcast) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: center; }
.hero--podcast .hero-inner { grid-template-columns: minmax(0, 1fr) 400px; }
.hero .overline { margin-bottom: 24px; }
.hero h1 { font-size: 60px; line-height: 1.08; font-weight: 600; margin: 0 0 30px; color: var(--paper); letter-spacing: -.02em; }
.hero--podcast h1 { font-size: 80px; line-height: 1; letter-spacing: -.025em; }
.hero-lead { font-size: 20px; line-height: 1.6; color: #DCE2EA; max-width: 640px; margin: 0 0 40px; font-weight: 400; }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: 28px; line-height: 1.35;
  color: var(--cream-100); margin: 0 0 24px; max-width: 620px; font-weight: 400; }
.hero--podcast .hero-lead { font-size: 18.5px; line-height: 1.65; max-width: 600px; margin-bottom: 32px; }
.portrait { display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 0; }
.portrait-frame { position: relative; border-radius: 50%; padding: 12px;
  background: linear-gradient(150deg, var(--cream-50) 0%, var(--cream-200) 100%);
  box-shadow: 0 0 0 1px rgba(242, 230, 216, .35), 0 0 0 14px rgba(242, 230, 216, .05), var(--shadow-lg),
    0 0 120px rgba(202, 67, 31, .22); }
.portrait img { width: 248px; height: 248px; display: block; border-radius: 50%; }
.portrait figcaption { text-align: center; }
.portrait-name { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--cream-100); }
.portrait-dates { display: block; font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--steel-muted);
  margin-top: 6px; }

/* ---------- Two-column intro (mission, idea) ---------- */
.split { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; }
.split .section-title { line-height: 1.18; }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-soft); }
.prose p + p { margin-top: 20px; }
.prose .small { font-size: 16px; color: var(--steel-600); }
.prose--after-rule { margin-top: 32px; }

/* The president's signature under the mission */
.signature { display: flex; align-items: center; gap: 18px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--border); }
.signature img { width: 76px; height: 76px; border-radius: 50%; flex: none; object-fit: cover;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--cream-200), 0 10px 24px -10px rgba(14, 27, 46, .5); }
.signature-name { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.signature-role { display: block; font-size: 15px; line-height: 1.5; color: var(--steel-600); margin-top: 2px; }

/* The host's portrait next to the podcast idea */
.host { margin: 0; }
.host-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-900);
  box-shadow: var(--shadow-md); }
.host-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(14, 27, 46, .08);
  background: linear-gradient(180deg, transparent 62%, rgba(10, 20, 36, .55) 100%); }
.host-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.host figcaption { margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--rust-600); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.card { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%); border: 1px solid rgba(14, 27, 46, .08);
  border-radius: var(--radius); padding: 36px 34px; box-shadow: var(--shadow-sm);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out); }
.card::before { content: ''; position: absolute; left: 34px; right: 34px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--rust-600), var(--rust-500)); transform: scaleX(0); transform-origin: left;
  transition: transform 420ms var(--ease-out); }
.cards .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(14, 27, 46, .12); }
.cards .card:hover::before { transform: scaleX(1); }
.card--flex { display: flex; flex-direction: column; gap: 14px; }
.card-num { font-family: var(--font-display); font-size: 46px; font-weight: 600; line-height: 1; color: var(--rust-600);
  background: linear-gradient(160deg, var(--rust-500), var(--rust-700)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.card h3 { font-size: 24px; margin: 22px 0 12px; }
.card--flex h3 { margin: 0; }
.card p { font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.card--flex .card-text { flex: 1; }
.card .overline { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--rust-600); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15px; font-weight: 700; }
.card--flex .card-link { margin-top: 0; }

/* ---------- Heritage quote ---------- */
.heritage { position: relative; text-align: center; }
.heritage .overline { margin-bottom: 24px; }
.heritage figure { position: relative; margin: 0; }
.heritage blockquote { position: relative; font-family: var(--font-display); font-size: 38px; font-weight: 400; font-style: italic;
  line-height: 1.35; color: var(--cream-100); margin: 0 0 28px; letter-spacing: -.01em; }
.heritage-source { font-size: 15px; color: var(--steel-muted); letter-spacing: .04em; }
.heritage-text { font-size: 17px; line-height: 1.75; color: #D5DCE5; max-width: 680px; margin: 44px auto 0; }

/* ---------- Contact and support ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact-lead { font-size: 18px; line-height: 1.75; color: var(--text-soft); margin: 28px 0 32px; }
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.label { font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--steel-600); font-weight: 700; }
.card .label { font-size: 12.5px; line-height: 1.6; color: var(--steel-600); }
.card .org-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--navy-900);
  margin: 16px 0 8px; }
.card .org-seat { font-size: 16px; color: var(--steel-600); margin-bottom: 24px; }
.org-ids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--border);
  padding-top: 20px; margin: 0; }
.org-ids dt { font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--steel-600); font-weight: 700; }
.org-ids dd { margin: 6px 0 0; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.support { position: relative; overflow: hidden; border-radius: var(--radius); padding: 36px; color: var(--cream-100);
  background: radial-gradient(500px 260px at 100% 0%, rgba(202, 67, 31, .26), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  box-shadow: var(--shadow-md); }
.support .overline { margin-bottom: 12px; }
.support h3 { font-size: 25px; line-height: 1.3; color: var(--paper); margin-bottom: 8px; }
.support p { font-size: 16px; line-height: 1.6; color: #D5DCE5; margin-bottom: 20px; }
.support-divider { border: 0; border-top: 1px solid rgba(185, 199, 212, .22); margin: 28px 0 20px; }
.support .bank { font-size: 15px; color: #D5DCE5; margin-bottom: 8px; }
.support .iban { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  margin-bottom: 20px; color: var(--paper); overflow-wrap: anywhere; }
.iban-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.iban-row span { font-size: 14px; color: #D5DCE5; }

/* ---------- Podcast ---------- */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.platform { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid rgba(185, 199, 212, .35);
  border-radius: 999px; color: var(--paper); font-size: 15.5px; font-weight: 700; text-decoration: none;
  background: rgba(255, 255, 255, .04); transition: background-color 180ms, border-color 180ms, transform 200ms var(--ease); }
.platform::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rust-500);
  box-shadow: 0 0 0 4px rgba(217, 86, 47, .18); }
.platform:hover { background: rgba(255, 255, 255, .1); border-color: var(--cream-100); color: var(--paper); text-decoration: none;
  transform: translateY(-1px); }
.listen-label { font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--steel-muted); font-weight: 700;
  margin-bottom: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.hero .text-link { color: #F08A68; }
.hero .text-link:hover { color: var(--cream-100); }
.cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--navy-podcast);
  box-shadow: 0 0 0 1px rgba(242, 230, 216, .12), var(--shadow-lg), 0 0 120px rgba(202, 67, 31, .18);
  transition: transform 400ms var(--ease-out); }
.cover:hover { transform: translateY(-4px) rotate(-.4deg); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.episodes-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }

/* Episode list, filled in the browser from Apple's podcast directory (main.js, "ChangeMinds episodes") */
.episodes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.episode { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) 132px; gap: 32px; align-items: start;
  padding: 30px 16px; border-bottom: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: background-color 200ms var(--ease); }
.episode:hover, .episode.is-current { background: linear-gradient(90deg, rgba(242, 230, 216, .75), rgba(249, 243, 234, .35)); }
.episode-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel-600); font-weight: 700; padding-top: 6px; }
.episode-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px;
  letter-spacing: .12em; color: #fff; background: linear-gradient(180deg, var(--rust-500), var(--rust-600)); }
.episode-title { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.28;
  margin-bottom: 6px; text-wrap: pretty; color: var(--navy-900); }
.episode-guest { font-size: 16px; line-height: 1.6; color: var(--rust-700); font-weight: 600; }
.episode-desc { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text-soft); max-width: 70ch; }
.episode-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14.5px; font-weight: 700; }
.episode-links a { color: var(--steel-600); }
.episode-links a:hover { color: var(--rust-600); }
.episode-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.episode-len { font-size: 14.5px; color: var(--steel-600); white-space: nowrap; }
.episode-play { display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 6px; height: 48px; border: 0; border-radius: 999px;
  font: 700 15px/1 var(--font-body); color: #fff; cursor: pointer;
  background: linear-gradient(180deg, var(--rust-500), var(--rust-600));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px -10px rgba(202, 67, 31, .8);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms; }
.episode-play:hover { transform: translateY(-1px) scale(1.02); }
.episode-play-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.episode-play svg { width: 16px; height: 16px; fill: currentColor; }
.episode-play.is-playing { background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  box-shadow: 0 10px 22px -10px rgba(14, 27, 46, .8); }
.episode--latest { background: linear-gradient(90deg, rgba(242, 230, 216, .9), rgba(249, 243, 234, .4));
  border-bottom-color: transparent; margin-bottom: 8px; padding-top: 34px; padding-bottom: 34px; }
.episode--latest .episode-title { font-size: 28px; }

/* Placeholder rows while the episodes load */
.episode--skeleton .sk { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #EEE7DC, #F7F2EA, #EEE7DC);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.episode--skeleton .sk--title { height: 24px; width: 80%; margin-bottom: 12px; }
.episode--skeleton .sk--text { width: 55%; }
.episode--skeleton .sk--pill { height: 48px; width: 128px; border-radius: 999px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.podcast-more { display: flex; justify-content: center; margin-top: 36px; }
.podcast-note { margin-top: 20px; font-size: 14px; color: var(--steel-600); text-align: center; }
.podcast-fallback { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-sm); }
.podcast-fallback p { color: var(--text-soft); margin-bottom: 18px; }
.podcast-fallback .platforms { margin-bottom: 0; }
.podcast-fallback .platform { color: var(--navy-900); border-color: var(--border); background: var(--paper); }
.podcast-fallback .platform:hover { color: var(--navy-900); border-color: var(--navy-900); background: var(--cream-50); }
.podcast-embed { display: block; width: 100%; height: 352px; margin-top: 24px; border: 0; border-radius: 12px; }

/* YouTube playlist: a cover first, the player loads only after a click (main.js, "YouTube playlist") */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy-900);
  box-shadow: var(--shadow-md), 0 40px 80px -40px rgba(14, 27, 46, .55); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; cursor: pointer; }
.video-facade:hover { color: #fff; text-decoration: none; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-out); }
.video-facade:hover img { transform: scale(1.03); }
.video-facade::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 20, 36, .88) 0%, rgba(10, 20, 36, .25) 50%, rgba(10, 20, 36, .1) 100%); }
.video-play { position: absolute; z-index: 1; left: 50%; top: 46%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(180deg, var(--rust-500), var(--rust-600));
  box-shadow: 0 0 0 10px rgba(202, 67, 31, .22), 0 20px 40px -10px rgba(0, 0, 0, .6); transition: transform 300ms var(--ease-out); }
.video-play svg { width: 34px; height: 34px; margin-left: 5px; fill: #fff; }
.video-facade:hover .video-play { transform: scale(1.07); }
.video-text { position: absolute; z-index: 1; left: 36px; right: 36px; bottom: 30px; display: flex; flex-direction: column; gap: 4px; }
.video-text strong { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.2; }
.video-text span { font-size: 15px; color: #DCE2EA; }

/* Fixed player at the bottom of the screen while an episode plays */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; color: var(--cream-100);
  background: linear-gradient(180deg, rgba(22, 40, 63, .97), rgba(10, 20, 36, .98));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(242, 230, 216, .12); box-shadow: 0 -18px 40px -16px rgba(6, 12, 22, .6);
  animation: player-in 360ms var(--ease-out); }
@keyframes player-in { from { transform: translateY(100%); } }
html.player-open body { padding-bottom: 96px; }
.player-inner { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto minmax(180px, 360px) auto; gap: 20px; align-items: center;
  padding-top: 14px; padding-bottom: 14px; }
.player-cover { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.player-info { min-width: 0; }
.player-label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #E8714D; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--paper); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.player-title a { color: #F08A68; }
.player-controls { display: flex; align-items: center; gap: 8px; }
.player button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(242, 230, 216, .22);
  border-radius: 50%; background: transparent; color: var(--cream-100); cursor: pointer; font: 700 11px/1 var(--font-body);
  transition: background-color 160ms, border-color 160ms; }
.player button:hover { background: rgba(255, 255, 255, .1); border-color: var(--cream-100); }
.player button svg { width: 18px; height: 18px; fill: currentColor; }
.player .player-toggle { width: 52px; height: 52px; border: 0; color: #fff; background: linear-gradient(180deg, var(--rust-500), var(--rust-600));
  box-shadow: 0 8px 18px -8px rgba(202, 67, 31, .9); }
.player .player-toggle:hover { background: var(--rust-700); }
.player .player-toggle svg { width: 22px; height: 22px; }
.player-progress { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--steel-200); font-variant-numeric: tabular-nums; }
.player-progress input { flex: 1; min-width: 0; accent-color: var(--rust-500); cursor: pointer; }

/* ---------- Footer ---------- */
.cta { max-width: 820px; margin: 0 auto; text-align: center; }
.cta .overline { margin-bottom: 24px; }
.cta h2 { font-size: 42px; line-height: 1.2; color: var(--cream-100); margin: 0 0 20px; }
.cta p { font-size: 18px; line-height: 1.7; color: #D5DCE5; margin: 0 0 36px; }
.cta .actions { justify-content: center; }

.site-footer { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: var(--steel-muted); padding: 56px 0 40px; font-size: 14px; }
.site-footer--rule { border-top: 1px solid rgba(185, 199, 212, .16); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-name { font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--cream-100); margin-bottom: 8px; }
.footer-ids { margin-top: 8px; font-variant-numeric: tabular-nums; }
.footer-end { text-align: right; }
.footer-end p + p { margin-top: 8px; }
.site-footer a { color: var(--cream-100); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--white); }
.credit { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(147, 165, 187, .2); font-size: 13px; }

/* ---------- Privacy policy page ---------- */
.hero--page { padding: 80px 0 72px; }
.hero--page h1 { font-size: 52px; margin-bottom: 16px; }
.hero-updated { color: #DCE2EA; font-size: 16px; }
.section--policy { padding: 72px 0 96px; }
.policy { font-size: 17.5px; line-height: 1.75; color: var(--text-soft); }
.policy h2 { font-size: 28px; margin: 52px 0 16px; scroll-margin-top: 96px; }
.policy h2:first-child { margin-top: 0; }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 14px; }
.policy ul { margin: 0; padding-left: 22px; }
.policy li + li { margin-top: 8px; }
.policy li::marker { color: var(--rust-600); }
.policy strong { color: var(--text); font-weight: 700; }
.policy a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Contact dialog (design system: Dialog, Input, Select, Checkbox) ---------- */
.dialog { width: 580px; max-width: calc(100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0;
  border-top: 4px solid var(--rust-600); border-radius: 12px; background: var(--white); color: var(--navy-900);
  box-shadow: var(--shadow-dialog); font-family: var(--font-body); }
.dialog::backdrop { background: rgba(10, 20, 36, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog[open] { display: flex; flex-direction: column; }
.dialog form { display: flex; flex-direction: column; min-height: 0; }
.dialog-head { padding: 26px 30px 0; }
.dialog-head .overline { font-weight: 700; margin-bottom: 8px; }
.dialog-head h2 { font-size: 27px; }
.dialog-body { padding: 14px 30px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.dialog-body > p { line-height: 1.6; color: var(--text-soft); }
.dialog-foot { padding: 16px 30px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px;
  background: var(--paper); border-radius: 0 0 12px 12px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: block; }
.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-900); letter-spacing: .02em; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; font: 16px/1.4 var(--font-body);
  color: #2A3646; background: var(--white); border: 1px solid #D6D9DF; border-radius: var(--radius-sm); outline: none;
  box-shadow: inset 0 1px 2px rgba(14, 27, 46, .04);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.field textarea { resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2337506B' stroke-width='1.75'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-900); box-shadow: 0 0 0 4px rgba(55, 80, 107, .16); }
.field [aria-invalid="true"] { border-color: var(--rust-700); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(168, 54, 23, .18); }
.field-error { display: block; font-size: 13.5px; margin-top: 5px; color: var(--rust-700); }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 16px; align-items: end; background: var(--paper);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.captcha .label { margin-bottom: 6px; }
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15.5px; color: #2A3646; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--navy-900); }
.form-error { font-size: 14px; color: var(--rust-700); }
.form-error:empty { display: none; }
.sent-rule { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--rust-600), var(--rust-500)); }
.dialog-body .sent-text { font-size: 17px; line-height: 1.7; color: var(--text-soft); }
html.dialog-open { overflow: hidden; }

/* ---------- Gentle reveal on scroll (only with JavaScript and without reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Smaller screens (the client's design was made for 960 px and wider) ---------- */
@media (max-width: 1080px) {
  .nav-list { gap: 0; }
  .site-nav { gap: 14px; }
  .nav-list a { padding: 8px 8px; }
  .player-inner { grid-template-columns: 56px minmax(0, 1fr) auto auto; }
  .player-progress { grid-column: 1 / -1; grid-row: 2; }
  html.player-open body { padding-bottom: 140px; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; font: 700 14px/1 var(--font-body);
    color: var(--navy-900); background: transparent; border: 1px solid var(--navy-900); border-radius: var(--radius-sm); cursor: pointer; }
  .nav-toggle-bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -12px rgba(14, 27, 46, .2); }
  .js .site-nav.is-open { display: flex; }
  .site-nav { flex-wrap: wrap; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; }
  .js .nav-list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .js .site-nav .btn { margin-top: 16px; }
  .hero, .hero--podcast { padding: 64px 0 76px; }
  .hero-inner, .hero--podcast .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero .portrait { order: -1; }
  .portrait img { width: 180px; height: 180px; }
  .hero h1 { font-size: 44px; }
  .hero--podcast h1 { font-size: 58px; }
  .hero-lead { font-size: 18.5px; }
  .hero-tagline { font-size: 23px; }
  .hero--podcast .cover { max-width: 380px; }
  .section { padding: 76px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .host { max-width: 420px; }
  .cards { grid-template-columns: 1fr; }
  .heritage blockquote { font-size: 29px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-end { text-align: left; }
  .episode { grid-template-columns: 1fr auto; gap: 8px 24px; }
  .episode-date { grid-column: 1 / -1; padding-top: 0; }
  .episode-side { grid-column: 2; grid-row: 2 / span 1; }
  .episode-main { grid-column: 1; grid-row: 2; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 13px; letter-spacing: .1em; }
  .hero h1 { font-size: 34px; }
  .hero--podcast h1 { font-size: 46px; }
  .hero--page { padding: 52px 0 48px; }
  .hero--page h1 { font-size: 38px; }
  .section--policy { padding: 48px 0 72px; }
  .policy { font-size: 16.5px; }
  .policy h2 { font-size: 24px; margin-top: 40px; }
  .section-title, .cta h2 { font-size: 30px; }
  .card { padding: 28px 24px; }
  .card::before { left: 24px; right: 24px; }
  .org-ids { grid-template-columns: 1fr 1fr; }
  .support { padding: 26px 22px; }
  .support .iban { font-size: 18px; letter-spacing: 0; }
  .episodes-head { flex-direction: column; align-items: flex-start; }
  .episode { grid-template-columns: 1fr; padding: 22px 12px; }
  .episode-side { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
  .episode-main { grid-row: auto; }
  .episode-title, .episode--latest .episode-title { font-size: 21px; }
  .video { aspect-ratio: 4 / 5; }
  .video-text { left: 20px; right: 20px; bottom: 20px; }
  .video-text strong { font-size: 23px; }
  .video-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .field-row, .captcha { grid-template-columns: 1fr; }
  .dialog-head, .dialog-body, .dialog-foot { padding-left: 20px; padding-right: 20px; }
  .actions .btn { flex: 1 1 auto; }
  .player-inner { gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; grid-template-columns: 44px minmax(0, 1fr) auto auto; }
  .player-cover { width: 44px; height: 44px; }
  .player-title { font-size: 15px; }
  .player [data-player="back"], .player [data-player="forward"] { display: none; }
  .player .player-toggle { width: 46px; height: 46px; }
  html.player-open body { padding-bottom: 124px; }
}

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