/* ============================================================
   GORIN THE APEX SCIENTIST — main.css
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&display=swap');

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --bg:          #0A0A0A;
  --bg-card:     #1A1A1A;
  --bg-input:    #252525;
  --gold:        #C9821A;
  --gold-hover:  #E8A838;
  --off-white:   #F2EDE4;
  --grey:        #8A8A8A;
  --grey-mid:    #555555;
  --font-heading: 'Bebas Neue', cursive;
  --font-body:    'Crimson Pro', Georgia, serif;
  --font-mono:    'Courier New', Courier, monospace;
  --transition:   0.35s ease;
  --max-w:        1200px;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ── GRAIN OVERLAY ────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ── SKIP LINK (accessibility + SEO) ─────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  z-index: 99999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ── UTILITY ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow {
  max-width: 640px;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--off-white);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1;
}

/* ── REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}
.btn:hover {
  color: var(--bg);
  box-shadow: 0 0 22px rgba(201,130,26,0.5);
  transform: scale(1.03);
}
.btn:hover::before {
  transform: translateX(0);
}
.btn:active {
  transform: scale(0.98);
}

/* ── FOCUS VISIBLE — keyboard navigation ─────────────────── */
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.filter-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav__hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.episode-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn--gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn--gold::before {
  background: var(--gold-hover);
}
.btn--gold:hover {
  color: var(--bg);
  border-color: var(--gold-hover);
  box-shadow: 0 0 24px rgba(232,168,56,0.5);
}
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.btn--social {
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  min-width: 155px;
  justify-content: center;
}
.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn__icon--social {
  width: 26px;
  height: 26px;
}

/* ── FORM ELEMENTS ────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
}
.form-optional {
  color: var(--grey-mid);
  font-size: 0.7rem;
}
.form-input {
  background: var(--bg-input);
  border: 1.5px solid var(--grey-mid);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  border-radius: 2px;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,130,26,0.15);
}
.form-input::placeholder {
  color: var(--grey-mid);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-feedback {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  min-height: 1.2em;
}
.form-feedback--success {
  color: #4CAF50;
}
.form-feedback--error {
  color: #E53935;
}


/* ============================================================
   1. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 900px;
  z-index: 1000;
  border-radius: 100px;
  background: rgba(10,10,10,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201,130,26,0.1);
  transition: background 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease,
              top 0.4s ease;
}
.nav--scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4),
              0 0 0 1px rgba(201,130,26,0.25);
  border-color: rgba(201,130,26,0.25);
  top: 0.75rem;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 3px;
  line-height: 1;
  transition: color var(--transition);
}
.nav__logo:hover {
  color: var(--gold-hover);
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--off-white);
  transition: color var(--transition);
}
.nav__link:hover {
  color: var(--gold);
  transform: translateY(-1px);
  transition: color var(--transition), transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav__link--ai {
  color: var(--gold) !important;
  opacity: 0.8;
}
.nav__link--ai:hover {
  opacity: 1;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: background var(--transition);
}
.nav__hamburger:hover span {
  background: var(--gold);
}

/* ============================================================
   2. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -20%;
  background-image: url('../images/Hero_Banner.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
@supports (background-image: image-set(url('') type('image/webp'))) {
  .hero__bg {
    background-image: image-set(
      url('../images/Hero_Banner.webp') type('image/webp'),
      url('../images/Hero_Banner.jpg') type('image/jpeg')
    );
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.38) 55%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 1.5rem;
  padding-bottom: 8rem;
  margin-top: auto;
  text-align: left;
}
.hero__content-inner {
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  display: inline-block;
  width: auto;
  max-width: 100%;
}
.hero__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(60px, 9vw, 96px);
  color: var(--off-white);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  text-align: left;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(242,237,228,0.88);
  max-width: 600px;
  margin: 0 0 2.5rem;
  text-align: left;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounceDown 1.8s ease-in-out infinite;
}
.hero__scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.8; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================
   3. STATS
   ============================================================ */
.stats {
  background: var(--bg-card);
  padding: 3.5rem 1.5rem;
}
.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  margin-inline: auto;
  flex-wrap: wrap;
}
.stats__item {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 2rem;
}
.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 64px);
  color: var(--gold);
  line-height: 1;
}
.stats__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--grey);
  text-transform: uppercase;
}
.stats__separator {
  width: 1px;
  height: 60px;
  background: var(--gold);
  opacity: 0.4;
  flex-shrink: 0;
}
.stats__number--text {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 3px;
}

/* ============================================================
   4. MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--bg);
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Manifesto_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (background-image: image-set(url('') type('image/webp'))) {
  .manifesto__bg {
    background-image: image-set(
      url('../images/Manifesto_bg.webp') type('image/webp'),
      url('../images/Manifesto_bg.jpg') type('image/jpeg')
    );
  }
}
.manifesto__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
  z-index: 0;
}
.manifesto__line,
.manifesto__quote,
.manifesto__attr {
  position: relative;
  z-index: 1;
}
@supports (-webkit-touch-callout: none) {
  .manifesto__bg {
    background-attachment: scroll;
  }
}
.manifesto__line {
  width: min(480px, 80%);
  height: 1px;
  background: var(--gold);
  margin: 1.75rem auto;
  opacity: 0.5;
}
.manifesto__quote {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 72px);
  color: var(--off-white);
  line-height: 1.1;
  max-width: 900px;
  margin-inline: auto;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.manifesto__attr {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 1rem;
}

/* ── MANIFESTO WORD ANIMATION ─────────────────────────────── */
.manifesto__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.manifesto__word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   5. ABOUT
   ============================================================ */
.about {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/About_sectie.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (background-image: image-set(url('') type('image/webp'))) {
  .about__bg {
    background-image: image-set(
      url('../images/About_sectie.webp') type('image/webp'),
      url('../images/About_sectie.jpg') type('image/jpeg')
    );
  }
}
.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}
.about__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.about__portrait {
  display: flex;
  justify-content: center;
}
.about__img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(201,130,26,0.2);
}
.about__heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--off-white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6);
}
.about__body {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: rgba(242,237,228,0.90);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ============================================================
   6. EPISODES
   ============================================================ */
.episodes {
  background: var(--bg);
  padding: 6rem 1.5rem;
}
.episodes__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--grey-mid);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn--active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}
.episodes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Episode Card */
.episode-card {
  background: var(--bg-card);
  border: 1.5px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  position: relative;
}
.episode-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(201,130,26,0.25);
  transform: scale(1.02);
}
.episode-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem 0.5rem;
}
.episode-card__category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  color: var(--gold);
}
.episode-card__ep {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--grey-mid);
}
.episode-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}
.episode-card__thumb svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.episode-card:hover .episode-card__thumb svg {
  opacity: 1;
}
.episode-card__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--off-white);
  line-height: 1.1;
  padding: 0.5rem 1.25rem;
}
.episode-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey);
  padding: 0.5rem 1.25rem;
  flex: 1;
  line-height: 1.6;
}
.episode-card__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold);
  padding: 1rem 1.25rem;
  transition: color var(--transition);
}
.episode-card__link:hover {
  color: var(--gold-hover);
}

/* ============================================================
   7. SUBMIT
   ============================================================ */
.submit {
  background: var(--bg-card);
  padding: 6rem 1.5rem;
}
.submit .container--narrow {
  margin-inline: auto;
}
.submit__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--grey);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.submit__form {
  margin-bottom: 1.5rem;
}
.submit__counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--grey-mid);
  text-align: center;
  margin-top: 1.5rem;
  display: none;
}
.submit__counter.is-visible {
  display: block;
}

/* ============================================================
   9. FOLLOW
   ============================================================ */
.follow {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
}
.follow__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/Social_CTA_achtergrond.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@supports (background-image: image-set(url('') type('image/webp'))) {
  .follow__bg {
    background-image: image-set(
      url('../images/Social_CTA_achtergrond.webp') type('image/webp'),
      url('../images/Social_CTA_achtergrond.jpg') type('image/jpeg')
    );
  }
}
.follow__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 0;
}
.follow__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.follow__heading {
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 80px);
  color: var(--off-white);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6);
}
.follow__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(242,237,228,0.88);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-inline: auto;
}
.follow__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  padding: 2.5rem 1.5rem;
}
.footer__line {
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
  margin-bottom: 2.5rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--grey);
}
.footer__tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--grey-mid);
}
.footer__about {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--grey-mid);
  transition: color var(--transition);
  text-transform: uppercase;
}
.footer__about:hover {
  color: var(--gold);
}
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .episodes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about__portrait {
    order: -1;
  }
  .about__img {
    max-width: 280px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1.5rem;
    border: 1px solid rgba(201,130,26,0.2);
    border-radius: 20px;
  }
  .nav__links--open {
    display: flex;
  }
  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero__title {
    font-size: 52px;
  }
  /* Hero mobiel — gecentreerd op kleine schermen */
  .hero__content {
    text-align: center;
    padding-bottom: 5rem;
  }
  .hero__content-inner {
    border-left: none;
    padding-left: 0;
    display: block;
    width: 100%;
  }
  .hero__subtitle {
    margin-inline: auto;
  }
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Stats */
  .stats__grid {
    flex-direction: column;
  }
  .stats__separator {
    width: 60px;
    height: 1px;
  }

  /* Manifesto */
  .manifesto {
    padding: 4rem 1.5rem;
  }

  /* About */
  .about {
    padding: 5rem 1.5rem;
  }
  .about__bg {
    background-attachment: scroll;
  }
  .about__img {
    max-width: 240px;
  }

  /* Episodes */
  .episodes__grid {
    grid-template-columns: 1fr;
  }

  /* Follow */
  .follow__bg {
    background-attachment: scroll;
  }
  .follow__buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn--social {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* iOS Safari: background-attachment fixed werkt niet in scroll containers */
@supports (-webkit-touch-callout: none) {
  .about__bg,
  .follow__bg {
    background-attachment: scroll;
  }
}

/* ============================================================
   ADDITIONS — VERBETERING A-H
   ============================================================ */

/* ── CUSTOM CURSOR (D) ────────────────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}
.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(201,130,26,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  background: rgba(201,130,26,0.12);
  border-color: rgba(201,130,26,0.8);
}
.cursor-dot.is-hovering {
  width: 6px;
  height: 6px;
}

/* ── TYPEWRITER CURSOR (C) ────────────────────────────────── */
.hero__title .cursor {
  display: inline-block;
  color: var(--gold);
  animation: blink 0.75s step-end infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.cursor--stop {
  animation: none !important;
}
.cursor--hide {
  opacity: 0 !important;
  transition: opacity 0.6s ease;
}

/* ── SCROLL SPY (E) ───────────────────────────────────────── */
.nav__link--active {
  color: var(--gold);
  position: relative;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  animation: linkUnderline 0.3s ease forwards;
}
@keyframes linkUnderline {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── BACK TO TOP (F) ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(10,10,10,0.8);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, background var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(201,130,26,0.45);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .back-to-top { right: 1rem; bottom: 1rem; }
}

/* ── HERO PARTICLES (G) ───────────────────────────────────── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── LIGHTBOX (B) ─────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer !important;
}
.lightbox__box {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 900px;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.lightbox.is-open .lightbox__box {
  transform: scale(1);
}
.lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 1.5rem;
  font-family: var(--font-mono);
  transition: color var(--transition);
  padding: 0.25rem;
  cursor: pointer !important;
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid rgba(201,130,26,0.3);
}
.lightbox__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── EPISODE THUMBNAIL UPGRADE (H) ───────────────────────── */
.episode-card__thumb {
  position: relative;
  overflow: hidden;
}
.episode-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
  background-size: 200% 200%;
  animation: shimmer 3s ease infinite;
}
@keyframes shimmer {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
.episode-card__thumb svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(201,130,26,0.4));
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}
.episode-card:hover .episode-card__thumb svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 16px rgba(201,130,26,0.7));
  opacity: 1;
}

/* Category colour strip via ::before on card */
.episode-card[data-category]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 2;
}
.episode-card[data-category="physics"]::before      { background: #4A9EFF; }
.episode-card[data-category="astronomy"]::before    { background: #9B59B6; }
.episode-card[data-category="biology"]::before      { background: #27AE60; }
.episode-card[data-category="chemistry"]::before    { background: #E74C3C; }
.episode-card[data-category="earth-science"]::before { background: #E67E22; }
.episode-card[data-category="mathematics"]::before  { background: #C9821A; }

/* ============================================================
   MADE WITH AI
   ============================================================ */
.made-with-ai {
  background: var(--bg);
  padding: 6rem 1.5rem;
  border-top: 1px solid rgba(201,130,26,0.15);
}
.made-with-ai__inner {
  text-align: center;
}
.made-with-ai__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.made-with-ai__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.made-with-ai__heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--off-white);
  line-height: 1.1;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.made-with-ai__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
  text-align: left;
}
.made-with-ai__card {
  background: var(--bg-card);
  border: 1.5px solid rgba(201,130,26,0.15);
  border-radius: 3px;
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.made-with-ai__card:hover {
  border-color: rgba(201,130,26,0.4);
}
.made-with-ai__card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.made-with-ai__card-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
}
.made-with-ai__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.made-with-ai__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
  animation: statusPulse 2.5s ease-in-out infinite;
  will-change: box-shadow;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(76,175,80,0); }
}
.made-with-ai__status-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: #4CAF50;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .made-with-ai__grid {
    grid-template-columns: 1fr;
  }
  .made-with-ai {
    padding: 4rem 1.5rem;
  }
}

/* ── TELEMETRY FEED ───────────────────────────────────────── */
.telemetry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
}
.telemetry__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
  animation: telemetryPulse 1.5s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes telemetryPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}
.telemetry__label {
  color: #4CAF50;
  letter-spacing: 3px;
}
.telemetry__time {
  color: rgba(242,237,228,0.3);
  letter-spacing: 2px;
}
.telemetry__sep {
  color: rgba(242,237,228,0.2);
}
.telemetry__typed {
  display: inline-block;
  width: 38ch;
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
  vertical-align: middle;
}
.telemetry__text {
  color: var(--gold);
}
.telemetry__cursor {
  color: var(--gold);
  animation: telemetryCursor 1s step-end infinite;
}
@keyframes telemetryCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@media (max-width: 768px) {
  .telemetry {
    flex-direction: column;
    gap: 0.35rem;
  }
  .telemetry__typed {
    width: 100%;
    text-align: center;
  }
}

/* ── EPISODE SKELETON LOADER ──────────────────────────────── */
.episode-skeleton {
  background: var(--bg-card);
  border: 1.5px solid rgba(201,130,26,0.08);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.episode-skeleton__meta {
  height: 14px;
  width: 60%;
  background: var(--bg-input);
  margin: 1rem 1.25rem 0.5rem;
  border-radius: 2px;
}
.episode-skeleton__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-input);
  margin: 0.5rem 0;
}
.episode-skeleton__title {
  height: 18px;
  width: 90%;
  background: var(--bg-input);
  margin: 0.4rem 1.25rem;
  border-radius: 2px;
}
.episode-skeleton__title--short {
  width: 60%;
}
.episode-skeleton__desc {
  height: 12px;
  width: 92%;
  background: var(--bg-input);
  margin: 0.3rem 1.25rem;
  border-radius: 2px;
}
.episode-skeleton__desc--short {
  width: 70%;
  margin-bottom: 0.75rem;
}
.episode-skeleton__link {
  height: 12px;
  width: 30%;
  background: var(--bg-input);
  margin: 0.75rem 1.25rem 1rem;
  border-radius: 2px;
}
.episode-skeleton__meta,
.episode-skeleton__thumb,
.episode-skeleton__title,
.episode-skeleton__desc,
.episode-skeleton__link {
  animation: skeletonPulse 2s ease-in-out infinite;
}
.episode-skeleton:nth-child(2) .episode-skeleton__thumb { animation-delay: 0.2s; }
.episode-skeleton:nth-child(3) .episode-skeleton__thumb { animation-delay: 0.4s; }
@keyframes skeletonPulse {
  0%, 100% { background-color: var(--bg-input); }
  50%       { background-color: rgba(201,130,26,0.12); }
}

.episodes__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
}
.episodes__empty-text {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--grey);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ── COMING SOON CARD ─────────────────────────────────────── */
.episodes__coming-soon {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem;
  max-width: 100%;
  box-sizing: border-box;
}
.episodes__coming-soon__inner {
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.episodes__coming-soon__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--gold);
  opacity: 0.8;
}
.episodes__coming-soon__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--off-white);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.episodes__coming-soon__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
}
.episodes__coming-soon__pulse {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
}
.episodes__coming-soon__pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: comingSoonPulse 2.4s ease-out infinite;
}
.episodes__coming-soon__pulse-ring--delay {
  animation-delay: 1.2s;
}
.episodes__coming-soon__play-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
@keyframes comingSoonPulse {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── RSS THUMBNAIL ────────────────────────────────────────────────────────── */
.episode-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.episode-card:hover .episode-card__thumb img { transform: scale(1.04); }
.episode-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.episode-card:hover .episode-card__play { background: rgba(0,0,0,0.45); }
.episode-card__play svg {
  width: 52px; height: 52px; color: var(--off-white); opacity: 0;
  transform: scale(0.85);
  filter: drop-shadow(0 0 12px rgba(201,130,26,0.8));
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.episode-card:hover .episode-card__play svg { opacity: 1; transform: scale(1); }

/* ── STATS SUBLABEL ───────────────────────────────────────────────────────── */
.stats__sublabel {
  font-family: var(--font-body); font-size: 0.6rem;
  letter-spacing: 2px; color: var(--grey-mid);
  text-transform: uppercase; margin-top: -0.2rem;
}

/* ============================================================
   PREFERS-REDUCED-MOTION — respect OS accessibility setting
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__particles {
    display: none;
  }

  .reveal,
  .reveal-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .manifesto__word {
    opacity: 1 !important;
    transform: none !important;
  }

  .stats__number {
    transition: none !important;
  }

  .episode-skeleton__meta,
  .episode-skeleton__thumb,
  .episode-skeleton__title,
  .episode-skeleton__desc,
  .episode-skeleton__link {
    animation: none !important;
    background-color: var(--bg-input) !important;
  }
}
