/* ============================================================
   THE EDIT — episode page styles
   Brand matches podcast.hegechristine.no:
   cream + warm brown + mustard "yellow dryss" + terracotta italics
   ============================================================ */

@font-face {
  font-family: 'CS Calory';
  src: url('/assets/fonts/CSCalory-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Podcast palette (exact swatches from cover art) */
  --soft-bg:        #F4F2EF;
  --soft-bg-alt:    #FAF8F4;
  --soft-bg-deep:   #E8E4DC;
  --soft-ink:       #303030;
  --soft-ink-soft:  #503D30;   /* warm brown — workhorse */
  --soft-muted:     #6B5945;
  --soft-soft:      #A89882;
  --soft-yellow:    #FFCC00;   /* mustard — small accents only */
  --soft-rust:      #A0522D;   /* terracotta — italic + key accents */
  --soft-rust-deep: #7E3F1F;
  --soft-warm:      #C9A878;
  --soft-sand:      #E8C796;
  --soft-cream:     #FAF8F4;
  --soft-sage:      #C9B998;

  /* Aliases used by component selectors below */
  --bg:        var(--soft-bg);
  --ink-600:   var(--soft-ink);
  --ink-700:   var(--soft-ink);
  --cream-50:  var(--soft-bg-alt);
  --cream-100: var(--soft-cream);
  --cream-200: var(--soft-bg);
  --rust-400:  var(--soft-rust);
  --rust-500:  var(--soft-rust-deep);
  --olive-600: var(--soft-muted);
  --olive-700: var(--soft-ink-soft);
  --sand-200:  var(--soft-sand);
  --sage-300:  var(--soft-sage);
  --grid-line: rgba(48, 48, 48, 0.07);

  /* Type system — matches podcast index.html */
  --font-display:  'Cormorant Garamond', 'Times New Roman', serif;
  --font-wordmark: 'CS Calory', 'Cormorant Garamond', serif;
  --font-body:     'Montserrat', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--soft-ink);
  background: var(--soft-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--soft-ink); }

/* Yellow dryss-mønsteret matcher showsiden:
   På cream bg: brown text + YELLOW 3px ::before-strek
   På dark bg (newsletter/campaign): yellow text + yellow stroke */
.kicker {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--soft-ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--soft-yellow);
  flex-shrink: 0;
}
/* Dark-bg variant — same yellow stroke, but text also yellow for contrast */
.ep-newsletter .kicker,
.ep-campaign .kicker { color: var(--soft-yellow); }

em, .italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--soft-rust);
  letter-spacing: 0;
}

/* TOPBAR — pixel-perfekt parity med showsidens .topbar */
.topbar {
  background: var(--soft-bg);
  border-bottom: 1px solid var(--soft-ink);
}
.topbar__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
/* HC-mark: matcher .hc-mark.hc-mark--md.hc-mark--filled.hc-mark--ink fra marks.css */
.hc-mark {
  width: 44px; height: 44px;
  background: var(--soft-ink);
  color: var(--soft-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.04em;
  border: 1.5px solid var(--soft-ink);
  border-radius: 2px;
}
.wordmark {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--soft-ink);
}
.wordmark em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--soft-rust);
  letter-spacing: -0.01em;
  margin-left: 2px;
}
.topbar__nav {
  justify-self: center;
  display: flex;
  gap: 32px;
}
.topbar__nav a {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  color: var(--soft-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 140ms ease, color 140ms ease;
}
.topbar__nav a:hover { border-color: var(--soft-rust); color: var(--soft-ink); }
.topbar__right {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-muted);
}
@media (max-width: 720px) {
  .topbar__nav { display: none; }
  .topbar__inner { grid-template-columns: auto 1fr; padding: 12px 20px; gap: 16px; }
  .hc-mark { width: 32px; height: 32px; font-size: 13px; border-width: 1px; }
  .wordmark { font-size: 1.125rem; }
  .topbar__right { font-size: 10px; }
}

/* MAIN CONTAINER */
.ep {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 96px 0;
}
@media (max-width: 720px) {
  .ep { padding: 40px 24px 0; }
}

/* HERO — 2-col: cover venstre, body høyre (matcher .featured-mønsteret på showsiden) */
.ep-hero {
  position: relative;
  padding: 24px 0 48px;
  display: grid;
  grid-template-columns: 360px 1fr;
  column-gap: 48px;
  align-items: start;
  border-bottom: 1px solid var(--soft-ink);
}
.ep-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(48,48,48,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,48,48,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  display: none; /* grid kommer fra body — ikke dupliser */
}
@media (max-width: 720px) {
  .ep-hero { grid-template-columns: 1fr; row-gap: 22px; padding: 16px 0 32px; }
}
/* Cover-card: 2px ink-border, alltid kvadratisk (1:1) så hele bildet vises uten
   cropping. align-self: center sentrer cover vertikalt mot body-høyden. */
.ep-hero__cover {
  align-self: center;
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--soft-ink);
  background: var(--soft-bg-alt);
}
.ep-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .ep-hero__cover {
    align-self: start;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* HERO BODY — kicker over tittel + audio-spiller under (tetris-aligned med cover) */
.ep-hero__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.ep-hero__body > .kicker {
  margin-bottom: 20px;
}
.ep-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 32px;
  color: var(--soft-ink);
  text-wrap: balance;
  max-width: 620px;
}
.ep-hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--soft-rust);
}
/* Player matches title max-width for tetris-alignment */
.ep-hero__body .ep-player {
  max-width: 620px;
  width: 100%;
}

/* PLATFORMS BAND — warm-brown stripe under hero (matcher .platforms på showsiden) */
.ep-platforms {
  position: relative;
  background: var(--soft-ink-soft);
  color: var(--soft-bg);
  padding: 24px 48px;
  /* Bryt ut til full viewport-bredde (matcher showsidens root-level .platforms) */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 48px;
  border-top: 1px solid var(--soft-ink);
  border-bottom: 1px solid var(--soft-ink);
  overflow: hidden;
}
.ep-platforms::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,242,239,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,242,239,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.ep-platforms__inner {
  position: relative;
  max-width: 1128px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
@media (max-width: 720px) {
  .ep-platforms { padding: 24px; margin-bottom: 32px; }
}
.ep-platforms__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-yellow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ep-platforms__label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--soft-yellow);
}
.ep-platforms__list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.ep-plat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid rgba(244,242,239,0.4);
  color: var(--soft-bg);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 3px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.ep-plat-btn:hover {
  background: var(--soft-bg);
  color: var(--soft-ink);
  border-color: var(--soft-bg);
}
.ep-plat-btn__icon { width: 14px; height: 14px; flex-shrink: 0; }
.ep-plat-btn--ghost { padding: 10px 12px; }

/* Custom audio player — sitter i hero (cream-bg), ikke på den brune banden */
.ep-player {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--soft-bg-alt);
  border: 1.5px solid var(--soft-ink);
  border-radius: 4px;
  padding: 14px 18px;
  max-width: 520px;
}
.ep-player audio { display: none; }
.ep-player__play {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--soft-rust);
  color: var(--soft-bg-alt);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.ep-player__play:hover { background: var(--soft-rust-deep); transform: scale(1.05); }
.ep-player__icon { width: 16px; height: 16px; }
.ep-player__icon--pause { display: none; }
.ep-player.is-playing .ep-player__icon--play { display: none; }
.ep-player.is-playing .ep-player__icon--pause { display: block; }
.ep-player__progress {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.ep-player__time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--soft-muted);
  font-variant-numeric: tabular-nums;
}
.ep-player__bar {
  height: 4px;
  background: rgba(48,48,48,0.12);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.ep-player__bar:focus { outline: 2px solid var(--soft-rust); outline-offset: 4px; }
.ep-player__fill {
  height: 100%;
  width: 0%;
  background: var(--soft-rust);
  border-radius: 999px;
  transition: width 0.1s linear;
}

/* LAYOUT (main + sidebar) — innstrammet til ~10/12 av container for lesbarhet */
.ep-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .ep-layout { grid-template-columns: 1fr; }
}

/* MAIN CONTENT */
.ep-content { min-width: 0; }
.ep-prose { max-width: 640px; }
.ep-prose p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--soft-ink);
  margin: 0 0 1.3em;
}
.ep-prose p:first-of-type {
  font-size: 1.4rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--soft-ink);
}
.ep-prose em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--soft-rust);
}

/* RESOURCES — sidebar block */
.ep-resources {
  background: var(--sage-300);
  border: 1.5px solid var(--ink-600);
  border-radius: 4px;
  padding: 22px 24px;
}
.ep-resources .kicker { font-size: 0.66rem; }
.ep-resources h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 6px 0 14px;
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--soft-ink);
}
.ep-resources ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ep-resources li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.4;
}
.ep-resources__emoji {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}
.ep-resources a {
  color: var(--ink-700);
  border-bottom: 1.5px solid var(--rust-400);
  text-decoration: none;
  padding-bottom: 1px;
}
.ep-resources a:hover { color: var(--rust-400); }
.ep-sidebar__disclaimer {
  margin: 8px 4px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--soft-ink-soft);
}

/* OM PODCASTEN — pixel-perfekt parity med .about på showsiden.
   Negativ margin -96px bryter ut av .ep-container-padding så seksjonen
   får samme bredde og padding som på showsiden. */
.about {
  margin: 0 -96px;
  padding: 96px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--soft-ink);
  position: relative;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .about { margin: 0 -24px; grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
}
.about__portrait {
  aspect-ratio: 4/5;
  background: var(--soft-sage);
  overflow: hidden;
  position: relative;
  border: 1.5px solid var(--soft-ink);
  border-radius: 4px;
}
.about__portrait img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: contrast(1.02) saturate(0.95);
}
.about__portrait-frame {
  position: absolute; inset: 16px;
  border: 1px solid var(--soft-cream);
  pointer-events: none;
}
.about__text { padding-top: 0; }
.about__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-ink-soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about__eyebrow::before {
  content: "";
  width: 30px; height: 3px;
  background: var(--soft-yellow);
  flex-shrink: 0;
}
.about__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.005em;
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
  color: var(--soft-ink);
}
.about__h em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--soft-rust);
}
.about__p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--soft-ink-soft);
  margin: 0 0 24px;
  max-width: 52ch;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--soft-ink);
}
.stat__num--rust { color: var(--soft-rust); }
.stat__star {
  font-size: 0.6em;
  color: var(--soft-ink);
  margin-left: 0.15em;
  vertical-align: 0.2em;
  font-family: 'Archivo', sans-serif;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-muted);
  margin-top: 8px;
  line-height: 1.3;
}

/* SIDEBAR */
.ep-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* GUEST */
.ep-guest {
  background: var(--cream-50);
  border: 1.5px solid var(--ink-600);
  border-radius: 4px;
  padding: 22px 24px;
}
.ep-guest .kicker { font-size: 0.66rem; }
.ep-guest h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 6px 0 14px;
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--soft-ink);
}
.ep-guest__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ep-guest__links li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.92rem;
  flex-wrap: wrap;
}
.ep-guest__emoji { flex-shrink: 0; }
.ep-guest__links a {
  color: var(--ink-600);
  border-bottom: 1.5px solid var(--rust-400);
  text-decoration: none;
  padding-bottom: 1px;
}
.ep-guest__links a:hover { color: var(--rust-400); }
.ep-guest__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-600);
}

/* MORE FROM THE EDIT — karusell ligger nederst i .ep, før footer */
.ep-more {
  margin: 56px 0 96px;
  padding: 0;
}
@media (max-width: 720px) { .ep-more { margin-bottom: 64px; } }
.ep-more__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}
.ep-more__head .kicker { font-size: 0.7rem; }
.ep-more__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  margin: 0;
  letter-spacing: 0.005em;
  line-height: 1.05;
  color: var(--soft-ink);
}
.ep-more__head h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--soft-rust);
}
.ep-more__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: center;
}
.ep-more__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: contents;
}
@media (max-width: 720px) {
  .ep-more__row { grid-template-columns: 1fr; gap: 20px; }
  .ep-more__cta { justify-self: stretch; }
}
.ep-more__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: var(--soft-rust);
  color: var(--soft-bg-alt);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.18s ease, transform 0.18s ease;
  align-self: center;
  justify-self: end;
  white-space: nowrap;
}
.ep-more__cta:hover { background: var(--soft-rust-deep); transform: translateY(-1px); }
.ep-more__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  color: var(--soft-ink);
  border-radius: 4px;
  transition: transform 140ms ease;
}
.ep-more__item:hover { transform: translateY(-3px); }
.ep-more__item:hover .ep-more__title { color: var(--soft-rust); }
.ep-more__cover {
  width: 96px;
  height: 96px;
  border: 1.5px solid var(--soft-ink);
  border-radius: 3px;
  overflow: hidden;
  background: var(--soft-rust);
  flex-shrink: 0;
}
.ep-more__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-more__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ep-more__num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft-muted);
}
.ep-more__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--soft-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 140ms ease;
}

/* CAMPAIGN */
.ep-campaign {
  position: relative;
  background: var(--soft-ink-soft);
  color: var(--soft-bg);
  border-radius: 4px;
  padding: 24px 26px;
  overflow: hidden;
}
.ep-campaign::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,242,239,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,242,239,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.ep-campaign > * { position: relative; z-index: 1; }
.ep-campaign .kicker {
  color: var(--soft-yellow);
  opacity: 1;
  font-size: 0.66rem;
}
.ep-campaign h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 8px 0 12px;
  letter-spacing: 0.005em;
  color: var(--soft-bg);
}
.ep-campaign h3 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--soft-yellow);
}
.ep-campaign p {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 18px;
  color: rgba(244,242,239,0.92);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  border: none;
  cursor: pointer;
}
.btn--primary { background: var(--soft-rust); color: var(--soft-bg-alt); }
.btn--primary:hover { background: var(--soft-rust-deep); transform: translateY(-1px); }
.ep-campaign .btn--primary { background: var(--soft-yellow); color: var(--soft-ink); }
.ep-campaign .btn--primary:hover { background: var(--soft-bg); color: var(--soft-ink-soft); }
.btn--secondary {
  background: transparent;
  color: var(--soft-ink);
  border: 1.5px solid var(--soft-ink);
}
.btn--secondary:hover { background: var(--soft-ink); color: var(--soft-bg-alt); }

/* NEWSLETTER */
.ep-newsletter {
  position: relative;
  margin: 56px 0 0;
  padding: 28px 32px;
  background: var(--soft-ink-soft);
  color: var(--soft-bg-alt);
  border-radius: 4px;
  overflow: hidden;
}
.ep-newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,242,239,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,242,239,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.ep-newsletter > * { position: relative; z-index: 1; }
.ep-newsletter__face .kicker {
  color: var(--soft-yellow);
}
.ep-newsletter__face h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  margin: 10px 0 18px;
  color: var(--soft-bg-alt);
  letter-spacing: 0.005em;
  text-wrap: balance;
  max-width: 24ch;
}
.ep-newsletter__face h2 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--soft-yellow);
  font-weight: 500;
}
.ep-newsletter__face--back {
  text-align: center;
  padding-top: 12px;
}
.ep-newsletter__face--back .check-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--soft-yellow);
  color: var(--soft-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ep-newsletter__face--back .check-circle svg { width: 32px; height: 32px; }
.ep-newsletter__face--back p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  max-width: 420px;
  margin: 0 auto;
  color: rgba(244, 242, 239, 0.92);
}

.hc-newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.hc-newsletter-form input[type=text],
.hc-newsletter-form input[type=email] {
  background: var(--soft-bg-alt);
  border: 1px solid rgba(48,48,48,0.18);
  color: var(--soft-ink);
  padding: 13px 15px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  width: 100%;
}
.hc-newsletter-form input::placeholder { color: rgba(48,48,48,0.45); }
.hc-newsletter-form input:focus { outline: none; border-color: var(--soft-rust); background: #fff; }
.hc-newsletter-form button {
  background: var(--soft-rust);
  color: var(--soft-bg-alt);
  border: none;
  padding: 14px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  grid-column: 1 / -1;
  transition: background 0.18s ease;
}
.hc-newsletter-form button:hover { background: var(--soft-rust-deep); }
.hc-newsletter-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message {
  grid-column: 1 / -1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  min-height: 1em;
}
@media (max-width: 480px) {
  .hc-newsletter-form { grid-template-columns: 1fr; }
}

/* FOOTER — dark olive (#2e3230 fra hovedbrand-tokens, deles på tvers av sites) */
.ds-footer {
  position: relative;
  margin-top: 0;
  padding: 64px 48px 32px;
  background: #2e3230;
  color: var(--soft-bg);
  overflow: hidden;
}
.ds-footer::before { display: none; }
.ds-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
}
.ds-footer__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 242, 239, 0.15);
}
.ds-footer h5 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--soft-yellow);
  font-family: var(--font-mono);
}
.ds-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-footer a {
  color: rgba(244, 242, 239, 0.92);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  transition: color 140ms ease;
}
.ds-footer a:hover { color: var(--soft-yellow); }
.ds-footer__wordmark {
  font-family: 'Archivo Black', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--soft-bg);
  margin: 0 0 12px;
}
.ds-footer__wordmark em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--soft-yellow);
  letter-spacing: -0.01em;
  margin-left: 2px;
}
.ds-footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: rgba(244, 242, 239, 0.85);
  max-width: 36ch;
  line-height: 1.5;
  margin: 0 0 24px;
}
.ds-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 242, 239, 0.6);
}
.ds-footer__legal { display: flex; gap: 22px; }
.ds-footer__legal a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 242, 239, 0.6);
}
.ds-footer__legal a:hover { color: var(--soft-yellow); }
@media (max-width: 720px) {
  .ds-footer { padding: 48px 24px 28px; }
  .ds-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .ds-footer__base {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 0.62rem;
  }
  .ds-footer__legal { gap: 14px; }
  .ds-footer__legal a { font-size: 0.62rem; }
  .ds-footer__wordmark { font-size: 1.85rem; }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .ep { padding: 32px 18px 60px; }
  .ep-hero { padding: 24px 22px; }
  .ep-newsletter { padding: 28px 22px; }
}
