/* =================================================================
   Betkastið: landing page
   Aesthetic: editorial sports-book. Light base, deep-emerald drama,
   vivid green accents. Bricolage Grotesque / Hanken Grotesk / Space Mono.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces (dark emerald base) */
  --bg:          #04150E;
  --bg-alt:      #07221A;
  --surface:     #0C2E1F;
  --surface-2:   #0A2A1C;

  /* Ink (on dark) */
  --ink:         #EAF6EE;
  --ink-soft:    #C7DBCF;
  --muted:       #95AEA0;
  --line:        rgba(233,246,238,.12);
  --line-strong: rgba(233,246,238,.22);

  /* Greens */
  --green-900:   #06231A;
  --green-800:   #0A3322;
  --green-700:   #0A6E36;
  --green-600:   #0E8F45;
  --green-500:   #17B257;
  --green-400:   #36D87A;
  --green-300:   #7CEBA8;
  --green-ink:   #0A5C2E;

  /* Deep emerald (dark sections) */
  --emerald-950: #04150E;
  --emerald-900: #062518;
  --emerald-850: #082E1E;
  --on-dark:     #EAF6EE;
  --on-dark-mut: #9DB6A7;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(8,19,12,.06), 0 1px 1px rgba(8,19,12,.04);
  --shadow-md:  0 4px 12px -2px rgba(8,19,12,.08), 0 12px 28px -10px rgba(10,110,54,.16);
  --shadow-lg:  0 8px 24px -6px rgba(8,19,12,.12), 0 30px 60px -22px rgba(10,110,54,.30);
  --shadow-bright: 0 18px 44px -16px rgba(54,216,122,.55);

  --radius:    20px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* keep anchored targets clear of the sticky header */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(54, 216, 122, .18);
}

/* Lock background scroll while the mobile menu is open. We pin the body with
   position:fixed instead of overflow:hidden, because iOS Safari ignores overflow
   on the body for scrolling AND it knocks position:fixed children out of the
   viewport, that combination is what hid the open menu off-screen. The menu
   script stores the scroll position (as an inline top offset) and restores it. */
html.nav-open body { position: fixed; left: 0; right: 0; width: 100%; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
/* the hidden attribute must win over component display rules (flex/inline-flex) */
[hidden] { display: none !important; }

/* Icons */
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.ic-inline { width: 1.05em; height: 1.05em; vertical-align: -2px; }

/* Focus */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 6px;
}
.hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--green-400); }

/* Selection */
::selection { background: var(--green-400); color: var(--emerald-950); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--emerald-900);
  color: var(--on-dark);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(64px, 9vw, 124px); }
.section-alt { background: var(--bg-alt); }

/* When a plain section is the first block under the header (þættir, hafa
   samband, þáttasíða), trim its top spacing so the content isn't pushed below
   the fold. The home page leads with .hero, so it keeps its own spacing. */
main > .section:first-child { padding-top: clamp(24px, 3.5vw, 44px); }
main > .section:first-child .section-head { margin-bottom: clamp(18px, 2.6vw, 28px); }
main > .section:first-child .eyebrow { margin-bottom: 12px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 18px;
}

.live-dot, .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(54,216,122,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(54,216,122,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(54,216,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(54,216,122,0); }
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.section-head-center {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn .ic { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .94rem; }

.btn-primary { box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }

.btn-bright { --btn-bg: var(--green-400); --btn-fg: var(--emerald-950); box-shadow: var(--shadow-bright); }
.btn-bright:hover { --btn-bg: var(--green-300); }

.btn-outline {
  --btn-fg: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--surface); border-color: var(--green-600); color: var(--green-ink); box-shadow: var(--shadow-sm); }

.btn-ghost-dark {
  --btn-fg: var(--on-dark);
  background: rgba(255,255,255,.06);
  border-color: rgba(234,246,238,.28);
  backdrop-filter: blur(4px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); border-color: var(--green-400); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243,246,241,.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: var(--line);
  background: rgba(243,246,241,.9);
  box-shadow: 0 6px 24px -18px rgba(8,19,12,.5);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark { color: var(--emerald-900); display: inline-flex; }
.brand-mark svg { border-radius: 11px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.42rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-logo { height: 34px; width: auto; }
.brand-logo-footer { height: 42px; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-soft);
  border-radius: 10px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--green-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 130% at 80% -10%, var(--emerald-850) 0%, var(--emerald-900) 38%, var(--emerald-950) 100%);
  color: var(--on-dark);
  padding-top: clamp(48px, 7vw, 96px);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.glow-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(54,216,122,.55), transparent 65%); }
.glow-2 { width: 460px; height: 460px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(23,178,87,.4), transparent 68%); }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(234,246,238,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(234,246,238,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 1.6rem + 7vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.035em;
  color: #fff;
}
.hero-title .accent {
  color: var(--green-400);
  text-shadow: 0 0 38px rgba(54,216,122,.45);
}
.hero-lead {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--on-dark-mut);
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-rating { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .96rem; color: var(--on-dark-mut); }
.hero-rating strong { color: #fff; }
.stars { display: inline-flex; gap: 2px; color: var(--green-400); }
.stars .ic { width: 18px; height: 18px; }
.stars-lg .ic { width: 22px; height: 22px; }

/* Feature card */
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  transform: rotate(.6deg);
  transition: transform .4s var(--ease);
}
.feature-card:hover { transform: rotate(0); }
.feature-art {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; overflow: hidden;
}
.feature-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.4px, transparent 1.5px);
  background-size: 18px 18px; opacity: .5; mix-blend-mode: overlay;
}
.art-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,0,0,.32); color: #fff;
  padding: 6px 11px; border-radius: 999px; position: relative; z-index: 1;
}
.art-big {
  font-family: var(--font-display); font-weight: 800; line-height: .92;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); letter-spacing: -.02em;
  position: relative; z-index: 1; text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.art-mark {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em;
  color: rgba(255,255,255,.82); position: relative; z-index: 1;
}
.feature-body { padding: 24px clamp(20px, 3vw, 30px) 28px; }
.feature-kicker {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700); display: inline-flex; align-items: center; gap: .55em; margin-bottom: 12px;
}
.feature-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.1; letter-spacing: -.02em; }
.feature-desc { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.feature-play { margin-top: 22px; }
.feature-cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--emerald-900); }

/* Art gradients (cohesive green family, distinct per topic) */
.art-pl     { background: linear-gradient(140deg, #0A6E36, #062518 88%); }
.art-guest  { background: linear-gradient(140deg, #0E8F45, #064A4A 92%); }
.art-besta  { background: linear-gradient(140deg, #17B257, #0A3322 90%); }
.art-lengju { background: linear-gradient(140deg, #0A5C2E, #03241C 90%); }
.art-spa    { background: linear-gradient(140deg, #1C8F5A, #052B30 92%); }
.art-hand   { background: linear-gradient(140deg, #2BA15A, #07301F 90%); }

/* Odds ticker */
.ticker {
  border-top: 1px solid rgba(234,246,238,.12);
  border-bottom: 1px solid rgba(234,246,238,.12);
  background: rgba(0,0,0,.18);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex; align-items: center; gap: 26px;
  padding-block: 14px;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mut); white-space: nowrap;
}
.ticker-track .odd {
  color: var(--green-400); font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 2px 10px; border: 1px solid rgba(54,216,122,.3); border-radius: 6px;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--emerald-950); color: var(--on-dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.stat {
  padding: clamp(34px, 5vw, 56px) 18px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: rgba(234,246,238,.12);
}
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.2rem);
  line-height: 1; letter-spacing: -.03em;
  color: var(--green-400);
  font-variant-numeric: tabular-nums;
}
.stat-word { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.stat-label { display: block; margin-top: 12px; color: var(--on-dark-mut); font-size: .96rem; }

/* ---------- Platforms ---------- */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.platform {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.platform:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.platform-ic { width: 30px; height: 30px; fill: var(--ink); flex: none; transition: fill .2s var(--ease); }
.platform-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.platform-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.platform-meta { color: var(--muted); font-size: .9rem; }
.platform-go { width: 18px; height: 18px; margin-left: auto; color: var(--muted); transition: transform .2s var(--ease), color .2s var(--ease); }
.platform:hover .platform-go { color: var(--green-700); transform: translate(2px,-2px); }

.platform-feature {
  grid-column: span 3;
  background: linear-gradient(120deg, var(--emerald-900), var(--emerald-850));
  border-color: transparent; color: var(--on-dark);
}
.platform-feature .platform-meta { color: var(--on-dark-mut); }
.platform-feature .platform-go { color: var(--on-dark-mut); }
.platform-feature:hover { box-shadow: var(--shadow-lg); }

/* brand hover tints */
.platform.brand-spotify:hover .platform-ic   { fill: #1DB954; }
.platform-feature.brand-spotify .platform-ic  { fill: #1DB954; }
.platform.brand-instagram:hover .platform-ic { fill: #E1306C; }
.platform.brand-tiktok:hover .platform-ic    { fill: #010101; }
.platform.brand-facebook:hover .platform-ic  { fill: #1877F2; }

@media (min-width: 760px) {
  .platform-feature { display: flex; }
  .platform-feature .platform-name { font-size: 1.45rem; }
  .platform-feature .platform-ic { width: 40px; height: 40px; }
}

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: flex; flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.cat-ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(23,178,87,.16), rgba(14,143,69,.08));
  color: var(--green-700);
  margin-bottom: 18px;
}
.cat-ic svg { width: 26px; height: 26px; }
.cat-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -.01em; }
.cat-desc { margin-top: 8px; color: var(--muted); font-size: .98rem; flex: 1; }
.cat-go {
  margin-top: 18px; display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); font-weight: 700;
}
.cat-go .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cat-card:hover .cat-go .ic { transform: translateX(4px); }

/* ---------- Episodes ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ep-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.ep-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.ep-art {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  padding: 18px;
  color: #fff; overflow: hidden;
}
.ep-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.3px, transparent 1.4px);
  background-size: 16px 16px; opacity: .5; mix-blend-mode: overlay;
}
.ep-cat {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,0,0,.32); padding: 5px 10px; border-radius: 999px; align-self: flex-start;
  display: inline-block;
}
.ep-art-title {
  position: absolute; left: 18px; bottom: 18px; z-index: 1;
  font-family: var(--font-display); font-weight: 800; line-height: .94;
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.3);
}
.ep-play {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-400); color: var(--emerald-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(54,216,122,.7);
  transform: translateY(6px) scale(.9); opacity: 0;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.ep-play .ic { width: 20px; height: 20px; margin-left: 2px; }
.ep-card:hover .ep-play, .ep-art:focus-visible .ep-play { transform: translateY(0) scale(1); opacity: 1; }
.ep-body { padding: 20px 22px 24px; }
.ep-title { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1.18; letter-spacing: -.01em; }
.ep-title a { transition: color .18s var(--ease); }
.ep-title a:hover { color: var(--green-ink); }
.ep-desc { margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.about-lead { margin-top: 18px; font-size: 1.18rem; color: var(--ink-soft); font-weight: 500; }
.about-copy p + p { margin-top: 16px; color: var(--muted); }
.about-list { margin-top: 26px; display: grid; gap: 13px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-soft); }
.about-list .ic {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  color: var(--green-600); stroke: var(--green-600); fill: none;
  background: rgba(23,178,87,.12); border-radius: 50%; padding: 3px;
}

.about-panel {
  position: relative;
  background: linear-gradient(150deg, var(--emerald-850), var(--emerald-950));
  color: var(--on-dark);
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-panel::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(54,216,122,.35), transparent 65%); filter: blur(20px);
}
.quote-mark { width: 44px; height: 44px; fill: var(--green-400); opacity: .9; margin-bottom: 10px; }
.about-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.25; letter-spacing: -.01em; position: relative; z-index: 1; }
.about-rate { margin-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.about-rate-num { color: var(--on-dark-mut); font-size: .96rem; }
.about-rate-num strong { color: #fff; }
.about-cta { margin-top: 26px; }
.about-host {
  display: block; position: relative; z-index: 1;
  width: auto; max-width: 100%; max-height: 320px;
  margin: 28px auto 0;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.45));
}

/* ---------- Responsible gambling ---------- */
.responsible { background: var(--emerald-950); color: var(--on-dark-mut); padding-block: 22px; border-top: 1px solid rgba(234,246,238,.08); }
.responsible-inner { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: center; font-size: .92rem; flex-wrap: wrap; }
.responsible .ic { width: 26px; height: 26px; color: var(--green-400); stroke: var(--green-400); fill: none; flex: none; }
.responsible strong { color: var(--on-dark); }
.responsible a { color: var(--green-400); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-900); color: var(--on-dark-mut); padding-top: clamp(56px, 7vw, 84px); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px 32px;
  padding-bottom: 48px;
}
/* let grid items shrink instead of forcing the page wider than the viewport */
.footer-brand, .footer-col { min-width: 0; }
.brand-footer .brand-mark { color: var(--green-400); }
.brand-footer .brand-word { color: #fff; }
.footer-tag { margin-top: 16px; max-width: 32ch; font-size: .98rem; line-height: 1.6; }
.footer-social { margin-top: 22px; display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(234,246,238,.06); border: 1px solid rgba(234,246,238,.1);
  color: var(--on-dark); transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { background: var(--green-400); color: var(--emerald-950); transform: translateY(-2px); }
.footer-social .ic { width: 20px; height: 20px; }

.footer-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 16px; letter-spacing: .01em; }
.footer-col a, .footer-contact {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0; font-size: .98rem; color: var(--on-dark-mut);
  transition: color .18s var(--ease);
  min-width: 0; overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--green-400); }
.footer-contact { margin: 0; }
.footer-col .ic-inline { color: var(--green-400); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block: 24px; border-top: 1px solid rgba(234,246,238,.1);
  font-size: .88rem;
}
.footer-meta { font-family: var(--font-mono); letter-spacing: .04em; }

/* Footer collapses from 4 columns → 2 → 1 so it never forces a wider page */
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Reveal animation (progressive enhancement: only hide when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .ep-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-feature { grid-column: span 2; }
}

@media (max-width: 820px) {
  /* Drop the header's backdrop-filter on mobile: a filtered ancestor traps
     position:fixed (it becomes the containing block), which on iOS pinned the
     open menu to the top of the page. Without it the menu anchors to the
     viewport and stays in view however far you've scrolled. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0;
    padding: 16px max(var(--gutter), env(safe-area-inset-right, 0px))
             calc(24px + env(safe-area-inset-bottom, 0px))
             max(var(--gutter), env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(243,246,241,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav[data-open] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: inline-flex; }
  /* nav is taken out of flow here, so push the actions to the right edge */
  .header-actions { margin-left: auto; }
}

@media (max-width: 560px) {
  .ep-grid, .cat-grid, .platform-grid { grid-template-columns: 1fr; }
  .platform-feature { grid-column: auto; }
  .section-head-row { align-items: flex-start; }
  .header-actions .btn span { display: none; }
  .header-actions .btn-sm { padding: 0 12px; }
  .hero-cta .btn { width: 100%; }

  /* Three big stats stack into a single column */
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid rgba(234,246,238,.12); }

  /* Episodes toolbar: search on its own line, the two dropdowns share the next
     row, and the Spotify CTA drops to a full-width button below them. */
  .ep-toolbar { gap: 10px; }
  .ep-search { flex-basis: 100%; max-width: none; }
  .ep-dd { flex: 1 1 auto; }
  .ep-dd-btn { width: 100%; }
  .ep-toolbar-cta { flex: 1 1 100%; }

  /* Episode-detail actions read as full-width buttons */
  .ep-detail-actions { width: 100%; }
  .ep-detail-actions .btn { flex: 1 1 140px; }
}

/* (stats stacking is handled in the 560px breakpoint above) */

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker-track { animation: none; }
  .feature-card { transform: none; }
  .btn:hover, .platform:hover, .cat-card:hover, .ep-card:hover { transform: none; }
}

/* =================================================================
   Hero figure (host cut-out)
   ================================================================= */
.hero-figure {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 380px;
}
.hero-figure::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 118%; height: 92%; z-index: 0;
  background: radial-gradient(58% 56% at 50% 62%, rgba(54,216,122,.34), transparent 70%);
  filter: blur(8px);
}
.hero-host {
  position: relative; z-index: 1;
  width: auto; max-height: min(70vh, 600px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
  animation: hero-float 6.5s ease-in-out infinite;
}
/* gentle life: the host drifts and the glow behind it breathes */
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hero-glow { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
.hero-figure::before { animation: hero-glow 6.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-host, .hero-figure::before { animation: none; }
}

/* =================================================================
   Episode toolbar dropdowns (category + sort): custom & themed
   ================================================================= */
.ep-dd { position: relative; flex: none; }

.ep-dd-btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 14px 0 16px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.ep-dd-btn:hover { border-color: var(--green-400); }
.ep-dd-btn:focus-visible { border-color: var(--green-400); outline: none; }
.ep-dd.is-open .ep-dd-btn { border-color: var(--green-400); background: var(--surface-2); }
.ep-dd-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ep-dd-value { color: var(--ink); }
.ep-dd-caret { width: 16px; height: 16px; margin-left: auto; color: var(--muted); fill: none; transition: transform .2s var(--ease); }
.ep-dd.is-open .ep-dd-caret { transform: rotate(180deg); }

.ep-dd-menu {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0;
  min-width: 100%; max-width: calc(100vw - 32px); width: max-content;
  max-height: min(340px, 60vh); overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
  margin: 0; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  animation: ep-dd-in .16s var(--ease);
}
/* the right-hand (sort) menu opens leftward so it never spills past the edge */
#ep-sort-dd .ep-dd-menu { left: auto; right: 0; }
@keyframes ep-dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.ep-dd-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 40px; padding: 8px 12px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; text-align: left; white-space: nowrap;
  color: var(--ink-soft); background: none; border: 0; border-radius: 10px; cursor: pointer;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.ep-dd-opt:hover, .ep-dd-opt:focus-visible { background: rgba(255,255,255,.06); color: var(--ink); outline: none; }
.ep-dd-opt.is-active { color: var(--ink); }
.ep-dd-check { width: 16px; height: 16px; flex: none; color: var(--green-400); fill: none; opacity: 0; }
.ep-dd-opt.is-active .ep-dd-check { opacity: 1; }
.ep-dd-opt-label { flex: 1; }
.ep-dd-n { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.ep-dd-opt.is-active .ep-dd-n { color: var(--green-300); }

@media (prefers-reduced-motion: reduce) {
  .ep-dd-menu { animation: none; }
  .ep-dd-caret { transition: none; }
}

/* =================================================================
   Episode cards (dynamic, from RSS)
   ================================================================= */
.ep-card { animation: epIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * .04s); }
@keyframes epIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ep-cover { position: relative; aspect-ratio: 1 / 1; cursor: pointer; background: var(--emerald-900); }
.ep-cover img { width: 100%; height: 100%; object-fit: cover; }
.ep-badge {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(4,21,14,.72); color: #fff; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ep-playbtn {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--green-400); color: var(--emerald-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(54,216,122,.7);
  transform: translateY(6px) scale(.92); opacity: 0;
  transition: transform .25s var(--ease), opacity .25s var(--ease), background .2s var(--ease);
}
.ep-card:hover .ep-playbtn, .ep-playbtn:focus-visible { transform: none; opacity: 1; }
.ep-playbtn:hover { background: var(--green-300); }
.ep-playbtn .ic { width: 22px; height: 22px; margin-left: 2px; }
@media (hover: none) { .ep-playbtn { opacity: 1; transform: none; } }
.ep-card .ep-body { padding: 16px 18px 20px; }
.ep-card .ep-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-meta { margin-top: 8px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .03em; color: var(--muted); }
.ep-empty { grid-column: 1 / -1; color: var(--muted); padding: 30px 2px; }

/* skeleton loading */
.ep-skel { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ep-skel .sk { aspect-ratio: 1 / 1; background: linear-gradient(100deg, var(--bg-alt) 30%, #f4f8f2 50%, var(--bg-alt) 70%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
.ep-skel .sk2 { height: 56px; aspect-ratio: auto; }
@keyframes sk { to { background-position: -200% 0; } }

.ep-more-wrap { display: flex; justify-content: center; margin-top: 38px; }

.ep-fallback { grid-column: 1 / -1; text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--muted); }
.ep-fallback iframe { width: 100%; max-width: 560px; border-radius: 14px; border: 0; }

/* =================================================================
   Sticky in-page player
   ================================================================= */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; align-items: center; gap: 14px;
  padding: 11px clamp(14px, 4vw, 28px);
  padding-left: max(clamp(14px, 4vw, 28px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(14px, 4vw, 28px), env(safe-area-inset-right, 0px));
  padding-bottom: calc(11px + env(safe-area-inset-bottom, 0px));
  background: rgba(6,37,24,.93); backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid rgba(234,246,238,.14);
  box-shadow: 0 -10px 30px -14px rgba(0,0,0,.55);
  color: var(--on-dark);
  transform: translateY(110%); transition: transform .32s var(--ease);
}
.player.is-on { transform: none; }
.player-art { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--emerald-950); }
.player-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; width: clamp(120px, 22vw, 260px); }
.player-now { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-400); }
.player-title { font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--green-400); color: var(--emerald-950);
  display: flex; align-items: center; justify-content: center;
}
.player-btn .ic { width: 22px; height: 22px; }
.player-seekwrap { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.player-time { font-family: var(--font-mono); font-size: .74rem; color: var(--on-dark-mut); flex: none; }
.player-seek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: rgba(234,246,238,.22); cursor: pointer;
}
.player-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--green-400); border: none; }
.player-seek::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background: var(--green-400); }
.player-close {
  flex: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(234,246,238,.18); background: rgba(255,255,255,.06); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
}
.player-close .ic { width: 18px; height: 18px; }
body.player-open { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 680px) {
  /* wrap the scrubber onto its own full-width row so you can seek on mobile */
  .player { flex-wrap: wrap; row-gap: 10px; }
  .player-info { flex: 1; width: auto; }
  .player-seekwrap { order: 1; flex-basis: 100%; }
  .player-seek { height: 8px; }
  .player-seek::-webkit-slider-thumb { width: 18px; height: 18px; }
  .player-seek::-moz-range-thumb { width: 18px; height: 18px; }
  /* the player is now two rows tall here, so reserve a bit more space */
  body.player-open { padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px)); }
}

/* hero host responsive */
@media (max-width: 1000px) { .hero-figure { min-height: auto; } .hero-host { max-height: 440px; margin-top: 6px; } }
@media (max-width: 560px) { .hero-host { max-height: 360px; } }

/* =================================================================
   Contact page
   ================================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 28px; background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.contact-ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(23,178,87,.16), rgba(14,143,69,.08)); color: var(--green-700);
}
.contact-ic svg { width: 26px; height: 26px; }
.contact-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); word-break: break-word; }
.contact-socials { display: flex; gap: 10px; margin-top: 8px; }
.contact-socials a {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.contact-socials a:hover { background: var(--green-400); color: var(--emerald-950); transform: translateY(-2px); }
.contact-socials .ic { width: 20px; height: 20px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* =================================================================
   DARK THEME fixes + search toolbar + detail modal
   (base tokens above are dark; these fix components that hard-coded
    light styling, restyle the filters, and add the new UI)
   ================================================================= */

/* ambient brand glow behind every page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(58% 46% at 86% -6%, rgba(54,216,122,.10), transparent 60%),
    radial-gradient(46% 40% at -6% 4%, rgba(23,178,87,.08), transparent 60%);
}

/* green text accents readable on dark */
.eyebrow { color: var(--green-400); }
.cat-go { color: var(--green-400); }
.ep-title a:hover { color: var(--green-300); }
.cat-ic, .contact-ic { color: var(--green-300); background: linear-gradient(140deg, rgba(54,216,122,.18), rgba(23,178,87,.06)); }
.about-list .ic { color: var(--green-400); stroke: var(--green-400); background: rgba(54,216,122,.14); }
.platform:hover .platform-go { color: var(--green-300); }
.platform.brand-tiktok:hover .platform-ic { fill: var(--ink); }

/* header: dark translucent */
.site-header { background: rgba(4,21,14,.72); }
.site-header[data-scrolled] { background: rgba(4,21,14,.92); border-bottom-color: rgba(233,246,238,.1); box-shadow: 0 6px 24px -18px #000; }

/* elevated cards on the dark base */
.about-panel { border: 1px solid rgba(233,246,238,.1); }

/* outline button on dark */
.btn-outline { --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: rgba(255,255,255,.06); border-color: var(--green-400); color: #fff; }

/* episode skeleton shimmer on dark */
.ep-skel { background: var(--surface); border-color: var(--line); }
.ep-skel .sk { background: linear-gradient(100deg, rgba(255,255,255,.03) 30%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.03) 70%); background-size: 200% 100%; }

/* mobile nav dropdown: dark */
@media (max-width: 820px) {
  .nav { background: rgba(4,21,14,.97); border-bottom-color: rgba(233,246,238,.1); }
  .nav a { border-bottom-color: rgba(233,246,238,.08); }
}

/* ---------- Episodes toolbar: search + dropdowns + Spotify CTA, one row ---------- */
.ep-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 30px; }
/* the dropdowns are built by JS; without it, the <noscript> embed stands in */
html:not(.js) .ep-toolbar { display: none; }
.ep-search {
  display: inline-flex; align-items: center; gap: 10px;
  flex: 1 1 260px; min-width: 0; max-width: none; height: 46px; padding: 0 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted);
  transition: border-color .18s var(--ease);
}
.ep-search:focus-within { border-color: var(--green-400); }
.ep-search .ic { width: 18px; height: 18px; flex: none; }
.ep-search input { flex: 1; min-width: 0; border: none; background: none; outline: none; font-family: var(--font-body); font-size: 16px; color: var(--ink); }
.ep-search input::placeholder { color: var(--muted); }

/* ---------- Episode detail modal ---------- */
.ep-modal { border: none; padding: 0; background: transparent; width: min(640px, 92vw); color: var(--ink); }
.ep-modal::backdrop { background: rgba(2,10,6,.74); backdrop-filter: blur(4px); }
.em-inner {
  position: relative; background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); max-height: 88vh; overflow: auto;
}
.em-close {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.em-close:hover { background: rgba(255,255,255,.12); }
.em-close .ic { width: 18px; height: 18px; }
.em-head { display: flex; gap: 18px; align-items: flex-start; padding-right: 40px; }
.em-art { width: 116px; height: 116px; border-radius: 14px; object-fit: cover; flex: none; background: var(--emerald-900); box-shadow: var(--shadow-md); }
.em-badge { display: inline-block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-950); background: var(--green-400); padding: 4px 10px; border-radius: 999px; }
.em-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.85rem); line-height: 1.12; letter-spacing: -.02em; margin-top: 10px; color: #fff; }
.em-sub { margin-top: 7px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.em-desc { margin-top: 18px; color: var(--ink-soft); white-space: pre-line; line-height: 1.6; }
.em-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.em-actions .btn { min-height: 46px; }
@media (max-width: 520px) {
  .em-head { flex-direction: column; }
  .em-art { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .em-actions .btn { flex: 1 1 100%; }
}

/* ---------- Episode cards as links + toolbar spacing ---------- */
.ep-card { display: block; color: inherit; }
.ep-card .ep-cover, .ep-card .ep-body, .ep-card .ep-meta { display: block; }
.ep-toolbar { margin-bottom: clamp(22px, 3vw, 30px); }
/* Spotify CTA sits inline at the end of the toolbar; match the 46px control height */
.ep-toolbar-cta { min-height: 46px; white-space: nowrap; }

/* ---------- Episode detail page ---------- */
.ep-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em; color: var(--green-400); margin-bottom: 28px; }
.ep-back:hover { color: var(--green-300); }
.ep-detail-head { display: flex; gap: clamp(20px, 4vw, 40px); align-items: flex-start; flex-wrap: wrap; }
.ep-detail-art { width: clamp(200px, 32vw, 320px); aspect-ratio: 1 / 1; height: auto; flex: none; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-lg); background: var(--emerald-900); }
.ep-detail-info { flex: 1 1 340px; min-width: 0; }
.ed-badge { display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-950); background: var(--green-400); padding: 5px 11px; border-radius: 999px; }
.ep-detail-meta { margin-top: 14px; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; color: var(--muted); }
.ep-detail-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-top: 10px; }
.ep-detail-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.ep-detail-desc { margin-top: clamp(28px, 4vw, 40px); max-width: 70ch; color: var(--ink-soft); line-height: 1.7; font-size: 1.05rem; }
.ep-detail-desc p + p { margin-top: 1em; }
.ep-detail-status { color: var(--muted); padding: 20px 0; }
@media (max-width: 680px) { .ep-detail-art { width: 100%; max-width: 320px; } }

/* =================================================================
   Owner update: hero cover art, video, clips,
   and the contact-page about stats
   ================================================================= */

/* Hero: cover-art album card (replaces the host cut-out) */
.hero-figure { align-items: center; }
.hero-cover {
  position: relative; z-index: 1;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(-1.4deg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(234,246,238,.08);
  animation: cover-float 6.5s ease-in-out infinite;
}
@keyframes cover-float {
  0%, 100% { transform: translateY(0) rotate(-1.4deg); }
  50%      { transform: translateY(-12px) rotate(-1.4deg); }
}
.hero-cover:hover { animation-play-state: paused; }
.hero-cover-img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; cursor: pointer; border: none;
  background: var(--green-400); color: var(--emerald-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px -10px rgba(54,216,122,.8);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.hero-cover-play .ic { width: 34px; height: 34px; margin-left: 4px; }
.hero-cover-play:hover { background: var(--green-300); transform: translate(-50%, -50%) scale(1.06); }
.hero-cover-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(4,21,14,.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(234,246,238,.14);
}
@media (prefers-reduced-motion: reduce) { .hero-cover { animation: none; } }

/* Screen-reader-only utility (used by the clip slideshow live region) */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Clip slideshow (Instagram) ----------
   A cinematic, auto-advancing coverflow carousel of Instagram embeds.
   Active slide centred; neighbours peeled back in 3D. Progressive: without
   JS it degrades to a simple grid of links (see html:not(.js) rules). */
.clipshow { position: relative; margin-top: 8px; }

.clipshow-stage {
  position: relative;
  height: clamp(470px, 62vh, 540px);
  perspective: 1700px;
  /* The peeled-back 3D neighbour slides reach far past the deck on both sides.
     Clip them horizontally so they never widen the page, that horizontal
     overflow is what let mobile Safari pinch-zoom out and stick. overflow-x:clip
     keeps the vertical glow/shadow visible; overflow-x:hidden is the Safari <16
     fallback. */
  overflow-x: hidden;
  overflow-x: clip;
}
.clipshow-stage::before { /* ambient brand glow behind the deck */
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 0;
  width: min(92%, 560px); height: 72%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(23,178,87,.34), transparent 72%);
  filter: blur(22px); pointer-events: none;
}

.clipshow-viewport {
  position: absolute; inset: 0; margin: 0; padding: 0; list-style: none;
  transform-style: preserve-3d;
}

.clipshow-slide {
  position: absolute; top: 50%; left: 50%; margin: 0;
  width: min(90vw, 360px); height: auto;
  pointer-events: none;
  transition: transform .6s var(--ease), opacity .55s var(--ease), filter .55s var(--ease);
  will-change: transform, opacity;
}
.clipshow-slide[data-pos="active"] {
  z-index: 6; opacity: 1; filter: none; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
}
.clipshow-slide[data-pos="prev"] {
  z-index: 4; opacity: .5; filter: brightness(.62) saturate(.85); cursor: pointer; pointer-events: auto;
  transform: translate(-118%, -50%) scale(.8) rotateY(22deg);
}
.clipshow-slide[data-pos="next"] {
  z-index: 4; opacity: .5; filter: brightness(.62) saturate(.85); cursor: pointer; pointer-events: auto;
  transform: translate(18%, -50%) scale(.8) rotateY(-22deg);
}
.clipshow-slide[data-pos="far-prev"] {
  z-index: 2; opacity: 0; transform: translate(-150%, -50%) scale(.62) rotateY(26deg);
}
.clipshow-slide[data-pos="far-next"] {
  z-index: 2; opacity: 0; transform: translate(50%, -50%) scale(.62) rotateY(-26deg);
}
.clipshow-slide[data-pos="prev"]:hover,
.clipshow-slide[data-pos="next"]:hover { opacity: .72; filter: brightness(.78) saturate(.95); }

.clipshow-card {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--green-700), var(--emerald-950));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.clipshow-slide:nth-child(3n+2) .clipshow-card { background: linear-gradient(160deg, var(--green-600), #052B30); }
.clipshow-slide:nth-child(3n)   .clipshow-card { background: linear-gradient(160deg, var(--green-500), #0A3322); }
.clipshow-slide[data-pos="active"] .clipshow-card {
  border-color: rgba(124,235,168,.42);
  box-shadow: 0 30px 80px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(124,235,168,.22), 0 0 60px -12px rgba(23,178,87,.5);
}

/* Media: blurred backdrop fills the frame, foreground media is letterboxed
   so clips of any aspect ratio (9:16, 4:5, 1:1) sit cleanly inside it */
.clipshow-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(26px) saturate(1.2) brightness(.62); transform: scale(1.2);
}
.clipshow-media {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.clipshow-slide[data-pos="active"] .clipshow-media { cursor: pointer; }
/* Neighbours are a preview only, clicks select the slide, not the media */
.clipshow-slide:not([data-pos="active"]) .clipshow-media { pointer-events: none; }

/* Media-type chip (video / photo) */
.clipshow-chip {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  color: #fff; background: rgba(4,21,14,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(234,246,238,.16);
}
.clipshow-chip .ic { width: 15px; height: 15px; }

/* Buffering spinner (active video only) */
.clipshow-spin {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff;
  animation: clipshow-spin .8s linear infinite; opacity: 0; transition: opacity .2s var(--ease);
  pointer-events: none;
}
@keyframes clipshow-spin { to { transform: rotate(360deg); } }
.clipshow-slide.is-buffering[data-pos="active"] .clipshow-spin { opacity: 1; }

/* Touch swipe layer (added by JS on coarse pointers only) */
.clipshow-swipe { position: absolute; inset: 0; z-index: 8; touch-action: pan-y; }

/* Arrows */
.clipshow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--ink);
  background: rgba(7,34,26,.66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.clipshow-arrow:hover { background: var(--green-700); border-color: var(--green-400); color: #fff; transform: translateY(-50%) scale(1.06); }
.clipshow-arrow:active { transform: translateY(-50%) scale(.98); }
.clipshow-arrow .ic { width: 22px; height: 22px; }
.clipshow-arrow-prev { left: clamp(2px, 3vw, 26px); }
.clipshow-arrow-prev .ic { transform: scaleX(-1); }
.clipshow-arrow-next { right: clamp(2px, 3vw, 26px); }

/* Controls */
.clipshow-controls {
  margin-top: clamp(20px, 3vw, 30px);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.clipshow-play {
  flex: none; width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .18s var(--ease);
}
.clipshow-play:hover { background: var(--surface-2); border-color: var(--green-400); color: #fff; transform: translateY(-2px); }
.clipshow-play .ic { width: 22px; height: 22px; }
.clipshow-play .ic-play { margin-left: 2px; }
.clipshow-play .ic-pause { display: none; }
.clipshow-play.is-playing .ic-play { display: none; }
.clipshow-play.is-playing .ic-pause { display: block; }

.clipshow-mute {
  flex: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .18s var(--ease);
}
.clipshow-mute:hover { background: var(--surface-2); border-color: var(--green-400); color: #fff; transform: translateY(-2px); }
.clipshow-mute .ic { width: 20px; height: 20px; }
.clipshow-mute .ic-sound { display: none; }
.clipshow-mute.is-on { border-color: var(--green-500); color: var(--green-300); }
.clipshow-mute.is-on .ic-muted { display: none; }
.clipshow-mute.is-on .ic-sound { display: block; }

.clipshow-progress {
  position: relative; flex: 1 1 150px; max-width: 320px; height: 6px;
  border-radius: 999px; background: var(--line); overflow: hidden;
}
.clipshow-progress-bar {
  position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green-500), var(--green-300)); border-radius: 999px;
}

.clipshow-counter {
  font-family: var(--font-mono); font-size: .9rem; letter-spacing: .04em;
  display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; color: var(--ink-soft);
}
.clipshow-counter-sep { color: var(--green-700); }
.clipshow-counter span:last-child { color: var(--muted); }

.clipshow-open { flex: none; }

/* Dots */
.clipshow-dots { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.clipshow-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--line-strong); transition: width .25s var(--ease), background .2s var(--ease);
}
.clipshow-dot:hover { background: var(--green-600); }
.clipshow-dot[aria-current="true"] { width: 26px; background: var(--green-400); }

/* ---------- Event video (Viðburðir, auto-loop highlight) ----------
   Vertical "reel" card: portrait 9:16 clip, centered, capped so it reads
   as a featured short rather than a full-bleed player. */
.eventvideo {
  position: relative;
  width: 100%; max-width: 412px; margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--green-800), var(--emerald-950));
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(234,246,238,.06);
}
.eventvideo-media {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Tap-to-unmute toggle */
.eventvideo-mute {
  position: absolute; right: 16px; bottom: 16px; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--ink);
  background: rgba(4,21,14,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .18s var(--ease);
}
.eventvideo-mute:hover { background: var(--green-700); border-color: var(--green-400); color: #fff; transform: translateY(-2px); }
.eventvideo-mute .ic { width: 20px; height: 20px; }
.eventvideo-mute .ic-sound { display: none; }
.eventvideo-mute.is-on { border-color: var(--green-500); color: var(--green-300); }
.eventvideo-mute.is-on .ic-muted { display: none; }
.eventvideo-mute.is-on .ic-sound { display: block; }

/* Contact page: about stats trio (replaces the old rating block) */
.about-stats { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 22px 26px; position: relative; z-index: 1; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1;
  letter-spacing: -.02em; color: var(--green-400); font-variant-numeric: tabular-nums;
}
.about-stats span { margin-top: 5px; font-size: .82rem; color: var(--on-dark-mut); }

/* Responsive for the new sections */
@media (max-width: 720px) {
  /* On phones the deck collapses to a single focused clip, neighbours slide
     fully out and swipe/dots drive navigation. */
  .clipshow-stage { height: clamp(430px, 64vh, 500px); perspective: none; }
  .clipshow-slide { width: min(86vw, 330px); transition: transform .45s var(--ease), opacity .45s var(--ease); }
  .clipshow-slide[data-pos="prev"]  { opacity: 0; transform: translate(-150%, -50%) scale(.82); }
  .clipshow-slide[data-pos="next"]  { opacity: 0; transform: translate(50%, -50%) scale(.82); }
  .clipshow-arrow { width: 44px; height: 44px; }
  .clipshow-arrow .ic { width: 19px; height: 19px; }
}
@media (max-width: 560px) {
  .hero-cover { width: min(86%, 360px); margin-inline: auto; }
  .hero-cover-play { width: 70px; height: 70px; }
  .hero-cover-play .ic { width: 28px; height: 28px; }
}

/* Reduced motion: kill 3D transitions + spinner (autoplay is off in JS too) */
@media (prefers-reduced-motion: reduce) {
  .clipshow-slide { transition: none; }
  .clipshow-spin { animation: none; }
}

/* No-JS fallback: a plain, tappable grid of clip links */
html:not(.js) .clipshow-stage { height: auto; perspective: none; }
html:not(.js) .clipshow-stage::before { display: none; }
html:not(.js) .clipshow-viewport {
  position: static; transform: none; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
html:not(.js) .clipshow-slide {
  position: static; width: auto; height: auto; pointer-events: auto;
  transform: none !important; opacity: 1 !important; filter: none !important;
}
html:not(.js) .clipshow-spin { display: none; }
html:not(.js) .clipshow-arrow,
html:not(.js) .clipshow-controls,
html:not(.js) .clipshow-dots { display: none; }

/* Partnership packages (contact page) */
.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.package-card {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-300); }
.package-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); letter-spacing: -.01em; color: #fff;
}
.package-list { margin-top: 18px; display: grid; gap: 12px; }
.package-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-soft); }
.package-list .ic {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  color: var(--green-400); stroke: var(--green-400); fill: none;
  background: rgba(54,216,122,.14); border-radius: 50%; padding: 3px;
}
.package-note { margin-top: clamp(24px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.package-note-text { color: var(--muted); font-size: .98rem; max-width: 52ch; }
@media (max-width: 760px) { .package-grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .ticker, .nav-toggle, .player { display: none; }
  .hero, .stats, .about-panel, .site-footer { background: #fff !important; color: #000 !important; }
}
