/* ==========================================================================
   Marcus Wallin – marcuswallin.no
   Design system: litterær / bok-elegant. Papir, hårfine linjer, Garamond.
   ========================================================================== */

/* Flytende «ny bok»-varsel ----------------------------------------------- */
.book-toast {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  width: min(330px, calc(100vw - 32px));
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.6s var(--ease) 1.4s both;
}
.book-toast.is-hidden { display: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(26px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.book-toast-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
}
.book-toast-link:hover { text-decoration: none; }
.book-toast-img {
  width: 58px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(33, 31, 27, 0.2));
  transition: transform 0.4s var(--ease);
}
.book-toast-link:hover .book-toast-img { transform: translateY(-3px); }
.book-toast-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.book-toast-badge {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.book-toast-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.book-toast-cta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-top: 2px;
}
.book-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: var(--paper-deep);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.15s, background 0.15s;
}
.book-toast-close:hover { color: var(--ink); background: var(--line); }

:root {
  /* Colors – warm paper & ink */
  --paper: #faf6ee;
  --paper-deep: #f1ebdd;
  --paper-card: #fffdf8;
  --ink: #211f1b;          /* nær-svart, varm kull – overskrifter */
  --ink-soft: #3b382f;
  --espresso: #20221f;     /* mørke seksjoner */
  --espresso-soft: #2c2e2a;
  --accent: #2b3a55;       /* dyp blekkblå */
  --accent-dark: #1f2c44;
  --accent-tint: rgba(43, 58, 85, 0.12);
  --gold: #9a7b39;         /* matt antikkgull, sekundær */
  --text: #2c2a24;
  --text-muted: #6f6a5d;
  --line: rgba(33, 31, 27, 0.16);
  --line-soft: rgba(33, 31, 27, 0.09);
  --line-light: rgba(255, 251, 244, 0.18);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --maxw-text: 680px;
  --radius: 3px;
  --radius-sm: 2px;
  --radius-card: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(33, 31, 27, 0.09);
  --shadow-md: 0 8px 28px rgba(33, 31, 27, 0.13);
  --shadow-lg: 0 20px 52px rgba(33, 31, 27, 0.18);
  --shadow-book: 0 18px 42px rgba(33, 31, 27, 0.24);

  /* Easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 20px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* Subtil papirkorn-tekstur over hele siden ------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 500;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 6.5vw, 5.2rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }

p { margin: 0 0 1.1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

em, i { font-style: italic; }

::selection { background: var(--accent-tint); }

/* Layout helpers --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(22px, 5vw, 48px);
}

.section { padding-block: clamp(72px, 11vw, 138px); }
.section--tight { padding-block: clamp(50px, 8vw, 90px); }
.section--ink { background: var(--espresso); color: #ddd7c9; }
.section--ink h2, .section--ink h3 { color: #f7f2e7; }
.section--cream-deep { background: var(--paper-deep); }
.section + .section--ink, .section--ink + .section { position: relative; }

/* Anker-offset for klebrig header (unngår at overskrifter skjules) -------- */
section[id], article[id] { scroll-margin-top: 92px; }

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.4rem;
  display: inline-block;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.7rem;
  opacity: 0.5;
}
.center .eyebrow::after { margin-inline: auto; }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .eyebrow::after { background: var(--gold); }

/* Lite gull-ornament over sentrerte seksjonsoverskrifter (rytme) ---------- */
.center .eyebrow::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto 1.2rem;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
}

/* Hårfin gull-linje der to like seksjoner møtes -------------------------- */
.section--cream-deep + .section--cream-deep {
  border-top: 1px solid rgba(154, 123, 57, 0.18);
}

.lead {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
  font-weight: 400;
}

/* Drop cap – bok-elegant forbokstav -------------------------------------- */
.has-dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 3.4em;
  line-height: 0.72;
  font-weight: 600;
  margin: 0.08em 0.12em 0 0;
  color: var(--gold);
}
.section--ink .lead { color: #c9c2b2; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons – squared, editorial ------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05em 1.9em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--primary { background: var(--accent); color: #fdf8f0; }
.btn--primary:hover { background: var(--accent-dark); }

.btn--ink { background: var(--ink); color: #fdf8f0; }
.btn--ink:hover { background: #000; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }

.section--ink .btn--ghost { color: #f7f2e7; border-color: var(--line-light); }
.section--ink .btn--ghost:hover { border-color: #f7f2e7; background: rgba(255,255,255,0.05); }

.btn--vipps { background: #ff5b24; color: #fff; }
.btn--vipps:hover { background: #e84e1c; }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #856931; }

.btn--lg { font-size: 0.82rem; padding: 1.2em 2.2em; }

/* Header / nav ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand em { font-style: italic; font-weight: 300; color: var(--ink); }
.brand:hover { text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-ui);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).is-active::after { transform: scaleX(1); }

.nav-cta { margin-left: 0.6rem; }
.nav-cta a { color: #fdf8f0 !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  height: calc(100vh - 72px);
  overflow: hidden;
}

.hero-media {
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  display: block;
}

/* Hero text overlay ------------------------------------------------------- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.22) 0%,
    rgba(0,0,0,0.06) 32%,
    rgba(0,0,0,0.10) 55%,
    rgba(0,0,0,0.42) 80%,
    rgba(0,0,0,0.66) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem);
  pointer-events: none;
}
.hero-overlay-content {
  color: #fff;
  max-width: 560px;
}
.hero-overlay-content > * {
  opacity: 0;
  animation: heroFade 1s var(--ease) forwards;
}
.hero-overlay-name    { animation-delay: 0.15s; }
.hero-overlay-sub     { animation-delay: 0.32s; }
.hero-overlay-pillars { animation-delay: 0.46s; }
.hero-overlay-tagline { animation-delay: 0.6s; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-overlay-name {
  font-family: var(--font-ui);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.4rem;
  text-shadow: none;
}
.hero-overlay-sub {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0 0 0.3em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero-overlay-pillars {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.hero-overlay-pillars li {
  font-family: var(--font-ui);
  font-size: clamp(0.76rem, 1.3vw, 0.92rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-overlay-pillars li + li::before {
  content: "·";
  margin-right: 1.1rem;
  opacity: 0.6;
}
.hero-overlay-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  opacity: 0.88;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Intro section below hero ------------------------------------------------ */
.hero-intro {
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 8vw, 120px);
  display: flex;
  justify-content: center;
}
.hero-intro-inner {
  max-width: 820px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.hero-intro h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.002em;
  margin-bottom: 0;
  grid-column: 1 / -1;
}
.hero-intro .lead {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}
.hero-intro .hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}
.hero-intro .hero-meta { margin-top: 0.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-meta {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.hero-meta strong { color: var(--ink); font-weight: 700; }

/* Generic split section -------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--paper-deep) center/cover no-repeat;
  border: 1px solid var(--line-soft);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Pull-quote ------------------------------------------------------------- */
.section--quote {
  background: var(--paper-deep);
  text-align: center;
  padding-block: clamp(64px, 9vw, 112px);
  border-block: 1px solid var(--line-soft);
}
.quote-rotator { max-width: 760px; margin-inline: auto; }
.quote-mark {
  width: 2.4rem;
  height: auto;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 1.5rem;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink);
  margin: 0 0 1.6rem;
}
.quote-footer {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.quote-footer strong { color: var(--ink); font-weight: 600; }
.quote-footer em { font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 0.95rem; }

/* Podcast ---------------------------------------------------------------- */
.podcast-card {
  max-width: 820px;
  margin-inline: auto;
  background: var(--espresso-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(20px, 2.8vw, 32px);
  align-items: center;
}
.podcast-cover {
  align-self: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 2px);
  box-shadow: var(--shadow-book);
}
.podcast-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.podcast-card:hover .podcast-cover img { transform: scale(1.03); }
.podcast-card-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.podcast-embed iframe { border-radius: var(--radius-card); width: 100%; display: block; }
.podcast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-start;
  margin-top: 1.2rem;
}

/* Feature cards ---------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.card {
  background: transparent;
  border-right: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.grid-3 .card:last-child { border-right: 0; }
.card .card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.2rem; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card .card-link {
  margin-top: auto; padding-top: 1rem; font-weight: 600;
  font-family: var(--font-ui); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Offer cards (Bestill Marcus) ------------------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
}
.offer-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(28px, 3.2vw, 44px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.offer-card h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin: 0.1rem 0 0.7rem;
}
.offer-card > p { color: var(--ink-soft); }
.offer-card .feature-list { margin-top: 0.4rem; }
.offer-card .btn { margin-top: auto; }
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(154, 123, 57, 0.4);
}

/* Books ------------------------------------------------------------------ */
.books { display: grid; gap: 0; }
.book {
  display: grid;
  grid-template-columns: clamp(260px, 32vw, 500px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px) 0;
}
.book + .book { border-top: 1px solid var(--line); }
.book--reverse { grid-template-columns: 1fr clamp(260px, 32vw, 380px); }
.book--reverse .book-cover { order: 2; }
.book-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--paper-deep) center/cover no-repeat;
  box-shadow: 0 14px 40px -18px rgba(33, 31, 27, 0.5);
  transition: transform 0.5s var(--ease);
}
.book:hover .book-cover { transform: translateY(-4px); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  color: var(--text-muted); margin-bottom: 0.9rem;
  font-family: var(--font-ui); font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.book-meta span { display: inline-flex; align-items: center; gap: 0.45em; }
.book-price { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); font-weight: 600; }
.book-price small { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.book-signed {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0.7rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.book-signed .icon { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.book-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.3rem; align-items: center; }
.tag {
  display: inline-block;
  font-family: var(--font-ui);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}

/* 3D book cover variant -------------------------------------------------- */
.book-cover--3d {
  aspect-ratio: unset;
  background: transparent;
  box-shadow: none;
  border: none;
  overflow: visible;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 360px;
  margin-inline: auto;
}
.book-cover--3d img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(33, 31, 27, 0.24));
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.book:hover .book-cover--3d img {
  transform: translateY(-6px);
  filter: drop-shadow(0 22px 42px rgba(33, 31, 27, 0.34));
}
.book:hover .book-cover--3d { transform: none; }

/* Flat 2D book cover (white-bg image on cream section) ------------------- */
.book-cover--2d {
  aspect-ratio: unset;
  background: transparent;
  box-shadow: none;
  border: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  margin-inline: auto;
  position: relative;
}
.book-cover--2d img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(33, 31, 27, 0.20));
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.book:hover .book-cover--2d img {
  transform: translateY(-6px);
  filter: drop-shadow(0 22px 42px rgba(33, 31, 27, 0.30));
}
.book:hover .book-cover--2d { transform: none; }

/* New book badge + label -------------------------------------------------- */
.book-cover--3d { position: relative; }
.book-cover--2d { position: relative; }

.book-new-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  z-index: 2;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35em 0.7em;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  pointer-events: none;
}

.book-new-label {
  display: inline-block;
  vertical-align: middle;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25em 0.65em;
  border-radius: 3px;
  margin-left: 0.55em;
  position: relative;
  top: -0.15em;
}

/* Podcast source link (bok 2) -------------------------------------------- */
.podcast-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.9rem;
  transition: opacity 0.2s;
}
.podcast-source-link:hover { opacity: 0.7; }
.podcast-source-link .icon { width: 15px; height: 15px; flex-shrink: 0; }

/* Book blurb / testimonial ----------------------------------------------- */
.book-blurb {
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--line);
  background: var(--paper-deep);
}
.book-blurb p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 0.4rem;
  line-height: 1.55;
}
.book-blurb footer {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Book inner-preview thumbnails ----------------------------------------- */
.book-preview { margin: 1.2rem 0; }
.book-preview-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}
.book-preview-imgs { display: flex; gap: 0.8rem; }
.book-preview-thumb {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  width: 92px;
  flex-shrink: 0;
  transition: border-color 0.25s, transform 0.25s var(--ease);
  position: relative;
}
.book-preview-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.book-preview-thumb img { width: 100%; display: block; }
.preview-caption {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 0;
  color: var(--text-muted);
  background: var(--paper-card);
}

/* Lightbox for innmat ---------------------------------------------------- */
.preview-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 17, 14, 0.78);
  backdrop-filter: blur(5px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.preview-lightbox.is-open { opacity: 1; visibility: visible; }
.preview-lightbox-inner {
  position: relative;
  max-width: 540px; width: 100%;
  background: var(--paper-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.97);
  transition: transform 0.3s var(--ease);
}
.preview-lightbox.is-open .preview-lightbox-inner { transform: scale(1); }
.preview-lightbox-inner img { width: 100%; display: block; }
.preview-lightbox-caption {
  padding: 12px 16px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}
.preview-close {
  position: absolute; top: 10px; right: 14px;
  background: rgba(250, 246, 238, 0.92);
  border: 0; border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer; color: var(--ink);
  display: grid; place-items: center;
  z-index: 1;
}

@media (max-width: 900px) {
  .book-preview-imgs { justify-content: center; }
}

/* Support ---------------------------------------------------------------- */
.support-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--line-light); }
.tier {
  position: relative;
  background: transparent;
  border-right: 1px solid var(--line-light);
  padding: clamp(28px, 3.5vw, 40px);
  text-align: center;
  transition: background 0.35s var(--ease);
}
.tier-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  white-space: nowrap;
}
.tier:hover { background: rgba(255, 255, 255, 0.04); }
.tier.is-featured:hover { background: rgba(43, 58, 85, 0.36); }
.support-tiers .tier:last-child { border-right: 0; }
.tier.is-featured { background: rgba(43, 58, 85, 0.28); }
.tier .tier-amount { font-family: var(--font-display); font-size: 2.8rem; color: #f7f2e7; font-weight: 600; }
.tier .tier-amount small { font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; opacity: 0.7; }
.tier p { color: #b6ae9d; font-size: 1rem; }
.tier.is-featured p { color: #e8e1d2; }

/* Support perks ---------------------------------------------------------- */
.support-perks {
  margin-top: clamp(2.6rem, 4vw, 3.6rem);
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}
.support-perks-label {
  position: relative;
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(2rem, 3vw, 2.8rem);
  padding-bottom: 0.9rem;
}
.support-perks-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 1px;
  background: var(--gold);
}
.support-perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.support-perks-list li {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(22px, 2.6vw, 32px) clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(154, 123, 57, 0.3);
  border-radius: var(--radius-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.support-perks-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 123, 57, 0.6);
  box-shadow: var(--shadow-lg);
}
.support-perk-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: #f7f2e7;
  line-height: 1.25;
}
.support-perk-desc {
  color: #c4bcab;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Trygghetslinje under støttenivåene ------------------------------------- */
.support-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  margin: 1.4rem auto 0;
  max-width: 52ch;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: #b6ae9d;
}
.support-reassurance .icon { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* Forms ------------------------------------------------------------------ */
.form-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form-2col .field-full { grid-column: 1 / -1; }
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.7em 0.85em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-prefilled {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(154, 123, 57, 0.18) !important;
}
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }
.check input { width: auto; margin-top: 5px; accent-color: var(--accent); }

/* SVG icons -------------------------------------------------------------- */
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Feature list ----------------------------------------------------------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.05rem;
}
.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  line-height: 1.5;
}
.feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-top: 0.15rem;
}
.section--ink .feature-icon {
  border-color: var(--line-light);
  color: var(--gold);
}
.feature-list a { color: var(--ink); font-weight: 600; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 68px); align-items: start; }

/* book-meta icons -------------------------------------------------------- */
.book-meta .icon { color: var(--accent); margin-right: 0.25em; }

/* Modal ------------------------------------------------------------------ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(20, 17, 14, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  max-width: 660px; width: 100%;
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
.modal.is-open .modal-box { transform: none; }
.modal-close {
  float: right; background: none; border: 0; font-size: 1.7rem; line-height: 1;
  cursor: pointer; color: var(--text-muted);
}
.modal .vipps-step { display: flex; gap: 0.9rem; margin-bottom: 1rem; align-items: flex-start; }
.modal .vipps-step .num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem;
  display: grid; place-items: center;
}
.vipps-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 600;
  color: var(--ink); background: var(--paper-card); border: 1px dashed var(--accent);
  border-radius: var(--radius-sm); padding: 0.4em; text-align: center; margin: 1rem 0;
}
.vipps-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1rem 1.2rem;
  margin: 1.1rem 0 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.vipps-total span:nth-child(even) { text-align: right; }

/* Gavevalg – fast vs. engangs */
.gift-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.gift-type-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.gift-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.gift-type-opt:has(input:checked) {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent-tint);
}
.vipps-total .vipps-total-sum {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--espresso); color: #a39c8c; padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.site-footer h4 {
  color: #f7f2e7; font-family: var(--font-ui); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1.2rem; font-weight: 600;
}
.site-footer .brand { color: #f7f2e7; font-size: 1.65rem; }
.site-footer .brand span { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-links a { color: #a39c8c; font-size: 1rem; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: #f7f2e7; }
.footer-org {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #837c6d;
  line-height: 1.7;
}
.footer-org a { color: #837c6d; text-decoration: underline; text-underline-offset: 3px; }
.footer-org a:hover { color: #f7f2e7; }
.footer-bottom {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line-light);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.06em; color: #837c6d;
}

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* Active nav link -------------------------------------------------------- */
.nav-links a.is-active:not(.btn) {
  color: var(--ink);
}
.nav-links a.is-active:not(.btn)::after {
  transform: scaleX(1) !important;
  background: var(--gold) !important;
  opacity: 1 !important;
}

/* Split image hover zoom ------------------------------------------------- */
.split-media { overflow: hidden; }
.split-media img { transition: transform 0.8s var(--ease); }
.split-media:hover img { transform: scale(1.035); }

/* Submit button loading state ------------------------------------------- */
.btn--loading { pointer-events: none; opacity: 0.7; }
.btn--loading::after { content: " …"; }

/* Simple legal / thanks pages ------------------------------------------- */
.prose { max-width: var(--maxw-text); margin-inline: auto; font-size: 1.1rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.page-hero { padding-block: clamp(64px, 9vw, 104px) clamp(30px, 5vw, 50px); }
.thanks { text-align: center; max-width: 640px; margin-inline: auto; }
.thanks .check-circle {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 2.4rem;
}
.thanks-receipt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 1.75rem auto 0;
  padding: 1.1rem 2rem;
  background: var(--surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card, 16px);
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.06));
}
.thanks-receipt-img {
  width: auto;
  height: 130px;
  object-fit: contain;
  margin-bottom: 0.4rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}
.thanks-receipt-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted, #6b7280);
}
.thanks-receipt-value {
  font-family: var(--font-display, serif);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--text, #1a1a1a);
}
.thanks-receipt-amount {
  font-weight: 600;
  color: var(--accent, #b8860b);
}

/* Utilities -------------------------------------------------------------- */
.stack-lg { margin-bottom: 2.5rem; }
.stack-xl { margin-bottom: 3rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.note {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}
.note strong { color: var(--ink); }
.feature-list--spaced { margin-bottom: 1.6rem; }
.feature-list--contact { margin-top: 1.5rem; }
.tier-btn { margin-top: 0.6rem; }
.check--spaced { margin-bottom: 1.2rem; }
.footer-blurb { margin-top: 1rem; max-width: 34ch; }

/* Accessible focus ring -------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible, .modal :focus-visible { outline-color: #fff; }

/* Book subtitle / pull-quote --------------------------------------------- */
.book-subtitle {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.8rem;
}
.book-pullquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
  margin: 0.6rem 0 1rem;
  line-height: 1.4;
}

/* Platform badges (podcast) ---------------------------------------------- */
.platform-badges {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.4rem;
}
.platform-badge {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 251, 244, 0.55);
  border: 1px solid rgba(255, 251, 244, 0.2);
  padding: 0.5em 1em;
}
.platform-badge--gold {
  color: #e8c97a;
  border-color: rgba(232, 201, 122, 0.4);
}

/* Episode highlights ----------------------------------------------------- */
.episodes { margin-top: clamp(40px, 6vw, 72px); }
.episodes-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.6rem;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-light);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line-light);
  color: #ddd7c9;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}
.episode-card:last-child { border-right: 0; }
.episode-card:hover { background: rgba(255, 255, 255, 0.04); text-decoration: none; }
.episode-kicker {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.episode-card h3 { color: #f7f2e7; margin: 0; }
.episode-card p { color: #b6ae9d; font-size: 1rem; margin: 0.2rem 0 0.8rem; }
.episode-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f7f2e7;
}
.episode-link .icon { width: 15px; height: 15px; }

/* FAQ -------------------------------------------------------------------- */
.faq-wrap { max-width: 820px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.4rem 1.25rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  font-family: var(--font-ui);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 0 1.4rem; }
.faq-answer p { margin: 0; color: var(--ink-soft); max-width: 64ch; }
.faq-item[open] .faq-answer {
  animation: faqReveal 0.4s var(--ease);
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Newsletter ------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.newsletter-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }
.newsletter-text .lead { margin-bottom: 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.newsletter-form { width: 100%; }
.newsletter-row { display: flex; gap: 0.7rem; margin-bottom: 1rem; }
.newsletter-row input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.9em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-card);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.newsletter-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .episode-grid { grid-template-columns: 1fr; }
  .episode-card { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .episode-card:last-child { border-bottom: 0; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter-row { flex-direction: column; }
  .hero { height: 72vh; min-height: 420px; }
  .hero-intro-inner { grid-template-columns: 1fr; }
  .hero-intro .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: -1; }
  .grid-3, .support-tiers { grid-template-columns: 1fr; }
  .grid-3 .card { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-3 .card:last-child { border-bottom: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .podcast-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .podcast-cover { max-width: 280px; margin-inline: auto; }
  .podcast-actions { justify-content: center; }
  .support-perks-list { grid-template-columns: 1fr; gap: 14px; }
  .support-perks-list li { padding: 20px 22px; text-align: left; }
  .support-tiers .tier { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .support-tiers .tier:last-child { border-bottom: 0; }
  .book, .book--reverse { grid-template-columns: 1fr; text-align: center; }
  .book--reverse .book-cover { order: -1; }
  .book-cover { max-width: 200px; margin-inline: auto; }
  .book-meta, .book-actions, .book-signed { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 16px 0; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta a { text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-intro h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .newsletter-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
