/* pages.css — hamburger menu + page views */

/* ── Hamburger button ─────────────────────────────────────────── */
.nav-links { display: none; }

.burger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.burger:hover { background: var(--bg-2); border-color: var(--fg-2); }
.burger-lines {
  position: relative;
  width: 18px; height: 12px;
  display: inline-block;
}
.burger-lines span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--fg);
  transition: transform .25s, top .25s, opacity .2s;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 5px; }
.burger-lines span:nth-child(3) { top: 10px; }
.burger.is-open .burger-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.burger.is-open .burger-lines span:nth-child(2) { opacity: 0; }
.burger.is-open .burger-lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.burger-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ── Menu overlay ─────────────────────────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0;
  background: color-mix(in oklch, var(--bg) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  display: flex;
  justify-content: flex-end;
}
.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  width: min(560px, 92vw);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--line-2);
  padding: 96px 56px 48px;
  display: flex;
  flex-direction: column;
  transform: translateX(40px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  position: relative;
  overflow-y: auto;
}
.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
  opacity: 1;
}
.menu-panel::before {
  content: ""; position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.08;
  pointer-events: none;
}
.menu-eyebrow {
  color: var(--muted);
  margin-bottom: 40px;
}
.menu-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.menu-item {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: color .2s, padding-left .25s;
  position: relative;
}
.menu-item:hover {
  color: var(--accent);
  padding-left: 12px;
}
.menu-item.is-active {
  color: var(--accent);
}
.menu-item.is-active::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: translateY(-50%);
  border-radius: 50%;
}
.menu-num {
  color: var(--muted);
  font-size: 11px;
  align-self: start;
  padding-top: 18px;
}
.menu-arrow {
  color: var(--fg-2);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .2s, transform .2s;
}
.menu-item:hover .menu-arrow,
.menu-item.is-active .menu-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}
.menu-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* ── Page header (shared) ────────────────────────────────────── */
.page-head {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute;
  top: -180px; right: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.06;
  pointer-events: none;
}
.page-eyebrow {
  color: var(--accent);
  margin-bottom: 16px;
}
.page-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0;
}
.page-body { padding: 64px 0 100px; }

.page-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 32px;
}
.page-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.page-divider .mono { color: var(--accent); }

/* ── Biografie ───────────────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  margin-bottom: 0;
  align-items: start;
}
.bio-photo {
  position: sticky;
  top: 96px;
  align-self: start;
}
.bio-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.55);
}
.bio-text p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 65ch;
  text-wrap: pretty;
}
.bio-text p:last-child { margin-bottom: 0; }

/* ── Interviews ──────────────────────────────────────────────── */
.interviews-list {
  display: flex;
  flex-direction: column;
}
.interview-item {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.interview-item:last-of-type {
  border-bottom: 1px solid var(--line);
}
.interview-meta-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.interview-body-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 62ch;
}
.interview-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.interview-meta .dot { opacity: 0.4; }
.interview-bron {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-top: 4px;
}
.interview-auteur, .interview-boek {
  color: var(--muted);
}
.interview-titel {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.interview-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  margin: 0;
  text-wrap: pretty;
}
.interview-quote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
  padding: 14px 20px;
  border-left: 2px solid var(--accent);
  background: var(--bg-2);
  color: var(--fg);
}
.interview-foto {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,0.55);
  margin-top: 4px;
}

/* ── Trailer modal ───────────────────────────────────────────── */
.trailer-modal {
  max-width: 1080px;
  width: 100%;
}
.trailer-inner {
  padding: 32px;
}
.trailer-eyebrow {
  color: var(--accent);
  margin-bottom: 14px;
}
.trailer-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
}
.trailer-caption {
  color: var(--muted);
  margin-top: 12px;
  text-align: right;
}
.btn-trailer svg {
  margin-right: -2px;
}
/* ── Artikel modal ───────────────────────────────────────────── */
.artikel-modal {
  max-width: 820px;
}
.artikel-modal-inner {
  padding: 64px 64px 56px;
  max-height: 90vh;
  overflow-y: auto;
}
.artikel-eyebrow {
  color: var(--accent);
  margin-bottom: 12px;
}
.artikel-h {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
}
.artikel-sub {
  color: var(--muted);
  margin-bottom: 24px;
}
.artikel-scan {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  display: block;
  margin-top: 8px;
}
.artikel-html .eyebrow { display: none; }
.artikel-html h1 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-wrap: balance;
}
.artikel-html h2 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 28px 0 6px;
}
.artikel-html .meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.artikel-html .meta .dot { opacity: 0.4; }
.artikel-html .lead {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 24px;
  text-wrap: pretty;
}
.artikel-html p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  text-wrap: pretty;
}
.artikel-html .footer-note {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 700px) {
  .artikel-modal-inner { padding: 48px 24px 32px; }
}

/* ── Persmap files ───────────────────────────────────────────── */
.persfile-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  margin-top: 8px;
}
.persfile-pdf {
  width: 100%;
  height: 70vh;
  border: 1px solid var(--line);
  margin-top: 8px;
  background: #fff;
}
.persfile-pdf-pages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.persfile-pdf-page {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  box-shadow: 0 8px 16px -8px rgba(0,0,0,0.4);
  background: #fff;
}
.persfile-loading {
  padding: 64px 0;
  text-align: center;
  color: var(--muted);
}
.pdf-modal {
  max-width: 980px;
}

/* ── Vragen aan auteur (FAQ big) ─────────────────────────────── */
.faq-list.big {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-list.big .faq-item {
  border-top: none;
  border-bottom: 1px solid var(--line);
}
.faq-list.big .faq-q {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-align: left;
  color: var(--fg);
  transition: color .15s;
}
.faq-list.big .faq-q:hover { color: var(--accent); }
.faq-list.big .faq-item.is-open .faq-q { color: var(--accent); }
.faq-num { color: var(--muted); align-self: start; padding-top: 4px; }
.faq-q-text { text-wrap: balance; }
.faq-list.big .faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  justify-self: end;
}
.faq-list.big .faq-a {
  padding: 0 0 28px 72px;
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
}
.faq-list.big .faq-a p {
  margin: 0 0 10px;
  text-wrap: pretty;
}
.faq-list.big .faq-a p:last-child { margin-bottom: 0; }

/* ── Agenda ──────────────────────────────────────────────────── */
.agenda-aankomend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 64px;
}
.agenda-aankomend-card {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agenda-aankomend-card .pill {
  align-self: flex-start;
}
.agenda-aankomend-card h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.agenda-aankomend-card p {
  color: var(--fg-2);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.agenda-aankomend-datum {
  color: var(--muted);
  margin-top: 6px;
}

.agenda-list-big {
  display: flex;
  flex-direction: column;
}
.agenda-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.agenda-row:last-child { border-bottom: 1px solid var(--line); }
.agenda-row-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.agenda-day-big {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.agenda-row-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
}
.agenda-row-meta { color: var(--muted); }

.agenda-cta {
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.agenda-cta p {
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 65ch;
}

/* ── Home covers grid (homepage) ─────────────────────────────── */
.home-covers-wrap {
  margin-top: 80px;
  padding-bottom: 40px;
}
.home-covers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 64px;
}
.home-cover-card {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.home-cover-card .book-cover {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  max-width: 480px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.home-cover-card:hover .book-cover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset,
              0 40px 80px -20px rgba(0,0,0,0.7),
              0 0 0 1px rgba(0,0,0,0.4);
}
.home-cover-caption {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--fg-2);
}
.home-cover-caption .dot { opacity: 0.4; }

@media (max-width: 760px) {
  .home-covers-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ── Slimmed Boeken page heading ─────────────────────────────── */
.boeken-head {
  padding-top: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.boeken-head .sect-title {
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.035em;
  line-height: 1;
}

/* ── Single book page ────────────────────────────────────────── */
.single-book {
  padding: 56px 0 96px;
}
.single-book-back {
  margin-bottom: 32px;
}
.single-book-back .link-arrow svg { transform: rotate(180deg); }
.single-book-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.single-book-cover {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.single-book-cover .book-cover {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
}
.single-book-isbn {
  color: var(--muted);
  text-align: center;
}
.single-book-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 64ch;
}
.single-book-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-2);
}
.single-book-meta .dot { opacity: 0.4; }
.single-book-title {
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
.single-book-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.single-book-flap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.7;
}
.single-book-flap p { margin: 0; text-wrap: pretty; }
.single-book-quote {
  margin: 16px 0 0;
  padding: 22px 28px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.single-book-quote .quote-mark {
  font-family: var(--ff-serif);
  font-size: 52px;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.4;
  position: absolute;
  top: 8px; right: 18px;
}
.single-book-quote p {
  margin: 0;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.single-book-quote cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.single-book-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.single-book-more {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .single-book-grid { grid-template-columns: 1fr; gap: 32px; }
  .single-book-cover { position: static; max-width: 320px; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .menu-panel { padding: 88px 28px 32px; }
  .bio-grid { grid-template-columns: 140px 1fr; gap: 28px; }
  .bio-photo { position: static; }
  .interview-item { grid-template-columns: 1fr; gap: 16px; }
  .agenda-row { grid-template-columns: 1fr; gap: 12px; }
  .faq-list.big .faq-q { grid-template-columns: 1fr 32px; }
  .faq-num { display: none; }
  .faq-list.big .faq-a { padding-left: 0; }
  .page-head { padding: 56px 0 40px; }
  .page-body { padding: 40px 0 64px; }
}
