/* =========================================================
   Somna med Henrik – stilmall
   Färger: natt-svart #050505 · magenta #f550fa · turkos #63efe3
   Typsnitt: Rubik (variabel, självhostad)
   ========================================================= */

@font-face {
  font-family: "Rubik";
  src: url("/fonts/rubik-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/fonts/rubik-italic-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-2: #0b0b0d;
  --bg-3: #121215;
  --fg: rgba(255, 255, 255, 0.92);
  --fg-2: rgba(255, 255, 255, 0.68);
  --fg-3: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --pink: #f550fa;
  --pink-2: #ff7dff;
  --pink-dim: rgba(245, 80, 250, 0.16);
  --teal: #63efe3;
  --teal-dim: rgba(99, 239, 227, 0.14);
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.085);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --header-h: 76px;
  --player-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
body.has-player { padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px)); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
p a, .prose a, .lede a { color: var(--pink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 125, 255, 0.5); }
p a:hover, .prose a:hover { color: #fff; text-decoration-color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--card); padding: 0.2em 0.5em; border-radius: 6px; }
time { font-variant-numeric: tabular-nums; }
.dot { opacity: 0.45; margin: 0 0.5em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--pink); color: #000; padding: 0.6rem 1rem; border-radius: 999px; z-index: 200; font-weight: 600; }
.skip-link:focus { top: 1rem; }
::selection { background: var(--pink); color: #000; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }
.page { min-height: 60vh; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section__foot { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-2); font-weight: 600; margin: 0 0 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.eyebrow a { color: inherit; }
.eyebrow__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(245, 80, 250, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 80, 250, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(245, 80, 250, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 80, 250, 0); } }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--fg-2); line-height: 1.6; max-width: 62ch; }
.link-arrow { color: var(--fg-2); font-weight: 500; display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-btn { color: var(--pink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- knappar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.8em 1.5em; border-radius: 999px; font-weight: 600; font-size: 0.95rem; line-height: 1; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; white-space: nowrap; border: 1px solid transparent; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--pink); color: #120013; box-shadow: 0 8px 30px rgba(245, 80, 250, 0.28); }
.btn--primary:hover { background: var(--pink-2); color: #120013; box-shadow: 0 10px 36px rgba(245, 80, 250, 0.4); }
.btn--outline { border-color: var(--line-2); color: var(--fg); background: rgba(255, 255, 255, 0.02); }
.btn--outline:hover { border-color: var(--pink); color: #fff; background: var(--pink-dim); }
.btn--ghost { color: var(--fg-2); padding-inline: 1.1em; }
.btn--ghost:hover { color: #fff; background: var(--card); }
.btn--sm { font-size: 0.85rem; padding: 0.65em 1.15em; }
.prose a.btn, p a.btn { text-decoration: none; }
.prose a.btn--primary, p a.btn--primary { color: #120013; }
.prose a.btn--ghost, p a.btn--ghost { color: var(--fg-2); }
.prose a.btn--ghost:hover, p a.btn--ghost:hover { color: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0)); pointer-events: none; transition: opacity 0.3s; }
.site-header.is-scrolled { background: rgba(5, 5, 5, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { position: relative; height: 100%; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; height: 100%; margin-right: auto; }
.brand__mark { width: auto; height: 56px; transition: opacity 0.2s, transform 0.3s var(--ease); filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5)); }
.brand:hover .brand__mark { opacity: 0.85; }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav a { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--fg-2); padding: 0.5rem 0; position: relative; transition: color 0.2s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.site-nav a:hover, .site-nav a.is-active { color: #fff; }
.site-nav a.is-active::after, .site-nav a:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; flex-direction: column; gap: 6px; align-items: center; justify-content: center; background: var(--card); }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .brand__mark { height: 46px; }
  .mobile-menu { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(5, 5, 5, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 2rem 1.5rem; overflow: auto; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul { display: grid; gap: 0.2rem; }
  .mobile-menu a { display: block; padding: 0.9rem 0.5rem; font-size: 1.6rem; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--fg); }
  .mobile-menu a.is-active { color: var(--pink-2); }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 0px); display: grid; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(46px) saturate(1.2) brightness(0.55); transform: scale(1.25); opacity: 0.9; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5, 5, 5, 0.45) 0%, rgba(5, 5, 5, 0.55) 45%, var(--bg) 100%), radial-gradient(80% 60% at 30% 40%, rgba(0, 0, 0, 0) 0%, rgba(5, 5, 5, 0.5) 100%); }
.hero__glow { position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; right: -15vw; top: -10vw; background: radial-gradient(circle, rgba(245, 80, 250, 0.22) 0%, rgba(245, 80, 250, 0) 60%); filter: blur(30px); pointer-events: none; }
.hero__inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__cover { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 120px rgba(245, 80, 250, 0.12); transform: rotate(-1.2deg); transition: transform 0.6s var(--ease); aspect-ratio: 1; }
.hero__cover:hover { transform: rotate(0deg) scale(1.015); }
.hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.hero__title { font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 650; line-height: 1.03; margin: 0 0 0.8rem; letter-spacing: -0.025em; }
.hero__title a:hover { color: #fff; }
.hero__meta { color: var(--fg-2); font-size: 1rem; margin-bottom: 1.2rem; }
.hero__excerpt { color: var(--fg-2); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 58ch; margin-bottom: 2rem; line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__play-label { font-weight: 600; margin-left: -0.2rem; }
.hero__new { margin-top: 2rem; }

/* play-knappar */
.play-btn { display: inline-grid; place-items: center; border-radius: 50%; background: var(--pink); color: #120013; box-shadow: 0 10px 30px rgba(245, 80, 250, 0.35); transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s; flex: none; }
.play-btn svg { fill: currentColor; }
.play-btn .i-pause { display: none; }
.play-btn.is-playing .i-pause { display: block; }
.play-btn.is-playing .i-play { display: none; }
.play-btn.is-playing { background: #fff; }
.play-btn:hover { transform: scale(1.06); box-shadow: 0 14px 40px rgba(245, 80, 250, 0.5); background: var(--pink-2); }
.play-btn.is-playing:hover { background: #fff; }
.play-btn--lg { width: 72px; height: 72px; }
.play-btn--lg svg { width: 34px; height: 34px; margin-left: 3px; }
.play-btn--lg.is-playing svg { margin-left: 0; }
.play-btn--md { width: 52px; height: 52px; }
.play-btn--md svg { width: 24px; height: 24px; margin-left: 2px; }
.play-btn--sm { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: none; }
.play-btn--sm svg { width: 20px; height: 20px; margin-left: 2px; }
.play-btn--sm.is-playing svg { margin-left: 0; }
.play-btn--sm:hover { background: var(--pink); color: #120013; box-shadow: 0 8px 24px rgba(245, 80, 250, 0.35); }
.play-btn--sm.is-playing { background: var(--pink); color: #120013; }

/* ---------- statement ---------- */
.statement { padding: clamp(3rem, 7vw, 6rem) 0 clamp(1rem, 3vw, 2rem); text-align: center; }
.statement__text { font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; color: var(--fg); max-width: 30ch; margin: 0 auto 2.6rem; text-wrap: balance; }
.statement__text em { font-style: normal; color: var(--pink-2); }
.facts { display: flex; justify-content: center; gap: clamp(1.5rem, 4vw, 4rem); flex-wrap: wrap; margin: 0; }
.facts div { display: grid; gap: 0.15rem; }
.facts dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.facts dd { margin: 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- avsnittslista ---------- */
.ep-list { display: grid; }
.ep-row { display: grid; grid-template-columns: auto 56px 1fr auto; gap: 1.1rem; align-items: center; padding: 1rem 0.75rem; margin: 0 -0.75rem; border-top: 1px solid var(--line); border-radius: 12px; transition: background 0.2s; position: relative; content-visibility: auto; contain-intrinsic-size: auto 112px; }
.ep-row:last-child { border-bottom: 1px solid var(--line); }
.ep-row:hover, .ep-row.is-current { background: var(--card); border-top-color: transparent; }
.ep-row:hover + .ep-row, .ep-row.is-current + .ep-row { border-top-color: transparent; }
.ep-row__num { width: 2.6rem; font-variant-numeric: tabular-nums; color: var(--fg-3); font-size: 0.85rem; font-weight: 500; text-align: right; }
.ep-row__num--dot { color: var(--pink); }
.ep-row__cover { border-radius: 9px; overflow: hidden; width: 56px; height: 56px; background: var(--bg-3); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); }
.ep-row__cover img { width: 100%; height: 100%; object-fit: cover; }
.ep-row__body { min-width: 0; }
.ep-row__title { font-weight: 600; font-size: 1.05rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-row__title::before { content: ""; position: absolute; inset: 0; }
.ep-row__title:hover { color: var(--pink-2); }
.ep-row__meta { font-size: 0.82rem; color: var(--fg-3); display: flex; align-items: center; flex-wrap: wrap; margin-top: 0.1rem; }
.ep-row__meta .dot { margin: 0 0.4em; }
.ep-row__resume { color: var(--teal); font-weight: 500; }
.ep-row__resume::before { content: "·"; opacity: 0.45; margin: 0 0.4em; color: var(--fg-3); }
.ep-row__excerpt { margin: 0.25rem 0 0; color: var(--fg-2); font-size: 0.9rem; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.ep-row .play-btn { position: relative; z-index: 1; }
.ep-row.is-hidden { display: none; }
@media (max-width: 640px) {
  .ep-row { grid-template-columns: 48px 1fr auto; gap: 0.8rem; padding: 0.85rem 0.5rem; margin: 0 -0.5rem; }
  .ep-row__num { display: none; }
  .ep-row__cover { width: 48px; height: 48px; }
  .ep-row__excerpt { display: none; }
  .ep-row__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 1rem; }
}

/* ---------- om-teaser ---------- */
.about-teaser { padding: clamp(3rem, 7vw, 6rem) 0; }
.about-teaser__inner { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-teaser__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); position: relative; }
.about-teaser__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 5, 5, 0.35), transparent 50%); }
.about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__text h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1.2rem; }
.about-teaser__text p { color: var(--fg-2); font-size: 1.05rem; }

/* ---------- recensioner ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.review { margin: 0; padding: 1.5rem 1.5rem 1.3rem; background: var(--card); border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; gap: 0.7rem; break-inside: avoid; transition: background 0.2s, transform 0.3s var(--ease); }
.review:hover { background: var(--card-hover); }
.review__stars { display: flex; gap: 2px; }
.review__stars svg { width: 15px; height: 15px; fill: var(--pink); }
.review blockquote { margin: 0; }
.review__title { font-weight: 600; margin-bottom: 0.3rem; }
.review blockquote p:last-child { margin: 0; color: var(--fg-2); font-size: 0.97rem; line-height: 1.55; }
.review figcaption { font-size: 0.8rem; color: var(--fg-3); margin-top: auto; }
.review__source { opacity: 0.7; }
.reviews-grid--all { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.reviews-page { padding-bottom: 5rem; }

/* ---------- lyssna-band ---------- */
.listen-band { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }
.listen-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(245, 80, 250, 0.12), rgba(99, 239, 227, 0.06) 60%, rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.06); }
.listen-band h2 { margin-bottom: 0.6rem; }
.listen-band p { color: var(--fg-2); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.55em 1em 0.55em 0.8em; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.9rem; font-weight: 500; color: var(--fg); transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.chip svg { width: 20px; height: 20px; fill: currentColor; opacity: 0.9; }
.chip:hover { background: var(--pink-dim); border-color: rgba(245, 80, 250, 0.5); transform: translateY(-1px); color: #fff; }
.chips--col { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.chips--col .chip { background: transparent; border-color: transparent; padding-left: 0; }
.chips--col .chip:hover { background: transparent; color: var(--pink-2); transform: translateX(3px); }
.chips--big { gap: 0.8rem; justify-content: center; }
.chips--big .chip { font-size: 1.05rem; padding: 0.9em 1.4em 0.9em 1.1em; }
.chips--big .chip svg { width: 26px; height: 26px; }

/* ---------- sidhuvud för undersidor ---------- */
.page-head { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(1.5rem, 4vw, 3rem); position: relative; }
.page-head--center { text-align: center; }
.page-head--center .lede { margin-inline: auto; }
.page-head--center .eyebrow { justify-content: center; }
.page-head h1 { margin-bottom: 1rem; }
.page-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 70vh; background: radial-gradient(60% 50% at 50% 0%, rgba(245, 80, 250, 0.14), transparent 70%); pointer-events: none; z-index: -1; }

/* ---------- prosa ---------- */
.prose { font-size: 1.05rem; line-height: 1.7; color: var(--fg); }
.prose--lg { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.prose p { margin-bottom: 1.2em; color: var(--fg-2); }
.prose p:first-child { color: var(--fg); }
.prose h2 { font-size: 1.45rem; margin: 2.2em 0 0.7em; }
.prose ul { list-style: disc; padding-left: 1.3em; color: var(--fg-2); }
.prose li { margin-bottom: 0.5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose em { color: var(--fg); }
.pull { margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--pink); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--fg); }
.pull p { margin: 0; color: inherit; }
.about-body { padding-bottom: clamp(3rem, 8vw, 6rem); }

/* ---------- om-sidan ---------- */
.about-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-hero h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; margin-bottom: 1.2rem; }
.about-hero__photo { margin: 0; position: relative; }
.about-hero__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 2/3; object-fit: cover; mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
.about-hero__photo figcaption { position: absolute; left: 0; bottom: 0.6rem; font-size: 0.78rem; color: var(--fg-3); }

/* ---------- avsnittssida ---------- */
.episode { position: relative; }
.episode__bg { position: absolute; inset: 0 0 auto 0; height: min(90vh, 820px); z-index: -1; overflow: hidden; mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
.episode__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) brightness(0.5) saturate(1.15); transform: scale(1.3); }
.episode__head { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.episode__cover { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06); aspect-ratio: 1; }
.episode__cover img { width: 100%; height: 100%; object-fit: cover; }
.episode__intro h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; margin-bottom: 0.8rem; }
.episode__meta { color: var(--fg-2); margin-bottom: 1.5rem; }
.episode__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.episode__body { padding-bottom: 2rem; }
.episode__body .prose { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.episode__body .prose p { color: var(--fg); }
.episode__body .prose p:last-child { color: var(--fg-2); }
.episode__links { font-size: 0.9rem; color: var(--fg-3); margin-top: 2rem; }
.episode__links a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.episode__links a:hover { color: #fff; }
.listen-inline { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.listen-inline p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-3); font-weight: 600; margin-bottom: 0.8rem; }
.ep-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 3rem 0 5rem; }
.ep-nav__link { display: grid; gap: 0.3rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--card); transition: background 0.2s; min-width: 0; }
.ep-nav__link:hover { background: var(--card-hover); }
.ep-nav__link small { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.ep-nav__link span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-nav__link--older { text-align: right; grid-column: 2; }
.ep-nav__link--newer { grid-column: 1; }
.ep-nav__link--newer small::before { content: "← "; }
.ep-nav__link--older small::after { content: " →"; }

/* ---------- arkiv ---------- */
.search { display: flex; align-items: center; gap: 0.6rem; margin: 1.5rem 0 0.5rem; padding: 0.35rem 0.5rem 0.35rem 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; max-width: 640px; transition: border-color 0.2s, box-shadow 0.2s; }
.search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-dim); }
.search svg { width: 20px; height: 20px; fill: var(--fg-3); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 1.05rem; padding: 0.55rem 0; outline: none; }
.search input::placeholder { color: var(--fg-3); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__status { font-size: 0.85rem; color: var(--fg-3); min-height: 1.3em; margin: 0.4rem 0 0; }
.search__empty { padding: 3rem 0; color: var(--fg-2); text-align: center; }
.year-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.year-nav a { font-size: 0.8rem; padding: 0.35em 0.8em; border-radius: 999px; background: var(--card); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.year-nav a:hover { background: var(--pink-dim); color: #fff; }
.episodes-archive { padding-bottom: 5rem; }
.ep-year { padding-top: 2.2rem; }
.ep-year__title { display: flex; align-items: baseline; gap: 0.8rem; font-size: 1.4rem; margin-bottom: 0.6rem; position: sticky; top: var(--header-h); background: linear-gradient(to bottom, var(--bg) 70%, transparent); padding: 0.6rem 0; z-index: 2; }
.ep-year__title small { font-size: 0.8rem; color: var(--fg-3); font-weight: 500; }
.ep-year.is-hidden { display: none; }

/* ---------- formulär ---------- */
.contact-page { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 5rem; }
@media (min-width: 900px) { .contact-page { grid-template-columns: 1.3fr 0.7fr; } }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 0.4rem; }
.form label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); font-weight: 600; }
.form input, .form textarea { width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); border-radius: 12px; color: #fff; font: inherit; font-size: 1.05rem; padding: 0.85rem 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-dim); }
.form textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.form__row--hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form__privacy { font-size: 0.8rem; color: var(--fg-3); margin: 0; }
.form__status { font-size: 0.95rem; margin: 0; min-height: 1.5em; }
.form__status.is-error { color: #ff8a8a; }
.form__status.is-ok { color: var(--teal); }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }
.contact-aside { color: var(--fg-2); font-size: 0.97rem; }
.contact-aside h2 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.cf-turnstile { min-height: 65px; }
.cf-turnstile[data-sitekey=""] { display: none; }

/* ---------- live, lyssna, övrigt ---------- */
.live-body, .listen-page { padding-bottom: clamp(3rem, 8vw, 6rem); }
.live-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.live-note { font-size: 0.95rem; color: var(--fg-3); }
.listen-page__app { margin: 3rem 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(245, 80, 250, 0.14), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.06); }
.listen-page__app h2 { margin-bottom: 0.6rem; }
.listen-page__app p { color: var(--fg-2); }
.copy-row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.copy-row code { word-break: break-all; }
.notfound { padding-bottom: 6rem; }
.notfound .live-cta { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 0; background: linear-gradient(to bottom, var(--bg), #020202); }
.site-footer__inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 150px; opacity: 0.92; margin-bottom: 1.2rem; }
.site-footer__brand p { color: var(--fg-3); font-size: 0.95rem; max-width: 40ch; }
.socials { display: flex; gap: 0.4rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--fg-2); transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); }
.socials a svg { width: 18px; height: 18px; fill: currentColor; }
.socials a:hover { background: var(--pink); color: #120013; transform: translateY(-2px); }
.site-footer__col h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 1rem; }
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a { color: var(--fg-2); }
.footer-links a:hover { color: var(--pink-2); }
.site-footer__legal { border-top: 1px solid var(--line); padding: 1.2rem 0 calc(1.2rem + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 0.82rem; color: var(--fg-3); }
.site-footer__legal a:hover { color: #fff; }

/* ---------- spelaren ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; height: calc(var(--player-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(10, 10, 12, 0.82); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border-top: 1px solid rgba(255, 255, 255, 0.08); transform: translateY(110%); transition: transform 0.45s var(--ease); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4); }
.player[hidden] { display: block; }
.player.is-open { transform: translateY(0); }
.player__progress { position: absolute; left: 0; right: 0; top: -1px; height: 14px; transform: translateY(-50%); cursor: pointer; }
.player__bar { position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: rgba(255, 255, 255, 0.14); overflow: hidden; transition: height 0.15s; }
.player__progress:hover .player__bar { height: 6px; }
.player__buffered { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, 0.18); }
.player__played { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--pink), var(--pink-2)); box-shadow: 0 0 12px rgba(245, 80, 250, 0.6); }
.player__seek { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.player__inner { height: var(--player-h); width: min(100% - 1.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto auto; gap: 1rem; align-items: center; }
.player__cover { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__meta { min-width: 0; }
.player__title { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__title:hover { color: var(--pink-2); }
.player__time { font-size: 0.8rem; color: var(--fg-3); font-variant-numeric: tabular-nums; display: flex; align-items: center; }
.player__time .dot { margin: 0 0.35em; }
.player__timer-badge { margin-left: 0.8em; color: var(--teal); font-weight: 500; }
.player__controls { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--fg-2); transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); position: relative; }
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.icon-btn:hover { background: var(--card); color: #fff; }
.icon-btn--main { width: 56px; height: 56px; background: #fff; color: #050505; }
.icon-btn--main:hover { background: var(--pink); color: #120013; transform: scale(1.05); }
.icon-btn--main svg { width: 28px; height: 28px; }
.icon-btn--main .i-play { margin-left: 3px; }
.icon-btn--main .i-pause, .icon-btn--main .i-spin { display: none; }
.player.is-playing .icon-btn--main .i-play { display: none; }
.player.is-playing .icon-btn--main .i-pause { display: block; }
.player.is-loading .icon-btn--main .i-play, .player.is-loading .icon-btn--main .i-pause { display: none; }
.player.is-loading .icon-btn--main .i-spin { display: block; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn--text { width: auto; padding: 0 0.8rem; border-radius: 999px; gap: 0.4rem; display: inline-flex; height: 40px; font-size: 0.85rem; font-weight: 600; }
.icon-btn--text svg { width: 20px; height: 20px; }
.icon-btn--text.is-active { color: var(--teal); }
.player__extra { display: flex; align-items: center; gap: 0.2rem; }
.menu { position: relative; }
.menu__panel { position: absolute; bottom: calc(100% + 10px); right: 0; min-width: 200px; background: rgba(18, 18, 21, 0.98); border: 1px solid var(--line-2); border-radius: 14px; padding: 0.5rem; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); display: grid; gap: 2px; z-index: 5; }
.menu__panel[hidden] { display: none; }
.menu__title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin: 0.4rem 0.7rem 0.4rem; font-weight: 600; }
.menu__hint { font-size: 0.75rem; color: var(--fg-3); margin: 0.4rem 0.7rem 0.3rem; }
.menu__panel button { text-align: left; padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.92rem; color: var(--fg); }
.menu__panel button:hover, .menu__panel button.is-selected { background: var(--card-hover); color: #fff; }
.menu__panel button.is-selected { color: var(--teal); }
.menu__panel button.is-muted { color: var(--fg-3); }
@media (max-width: 760px) {
  :root { --player-h: 76px; }
  .player__inner { grid-template-columns: auto 1fr auto; gap: 0.7rem; }
  .player__extra { display: none; }
  .player.is-expanded .player__extra { display: flex; }
  .player__cover { width: 46px; height: 46px; }
  #player-back, #player-fwd { display: none; }
  .player__title { font-size: 0.95rem; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--player-h) + 1.2rem); transform: translate(-50%, 20px); background: #fff; color: #050505; padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.35s var(--ease); z-index: 150; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
body:not(.has-player) .toast { bottom: 1.5rem; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- nytt-avsnitt-kort (klientsidan) ---------- */
.new-ep { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--teal-dim); border: 1px solid rgba(99, 239, 227, 0.35); max-width: 720px; }
.new-ep img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.new-ep strong { display: block; }
.new-ep small { color: var(--fg-2); }
.new-ep .eyebrow { color: var(--teal); margin-bottom: 0.2rem; font-size: 0.7rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- responsivt ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__cover { width: min(62vw, 320px); transform: none; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
  .about-teaser__inner { grid-template-columns: 1fr; }
  .about-teaser__photo { max-width: 420px; }
  .listen-band__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__photo { max-width: 360px; }
  .episode__head { grid-template-columns: 1fr; }
  .episode__cover { width: min(60vw, 300px); }
  .ep-nav { grid-template-columns: 1fr; }
  .ep-nav__link--older { grid-column: 1; text-align: left; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__actions { gap: 0.8rem; }
  .play-btn--lg { width: 64px; height: 64px; }
  .facts { gap: 1.2rem 2rem; }
}
