/* ===========================================================
   Drömklubben — magisk natthimmel-temad stylesheet
   =========================================================== */

:root {
  /* Night palette */
  --night-0: #070a1f;
  --night-1: #0b1026;
  --night-2: #131a3f;
  --night-3: #1d2456;
  --indigo:  #2c2e74;

  /* Moon & stars */
  --moon-core: #fff6d6;
  --moon-glow: #ffe6a0;
  --star: #fbfcff;

  /* Accents */
  --pink: #ff9ec7;
  --lav:  #b6a8ff;
  --teal: #7fe3d4;
  --gold: #ffd27d;

  /* Text */
  --ink:   #f2f0ff;
  --muted: #b7b4e2;
  --muted-2: #8d8bc0;

  /* Surfaces */
  --card: rgba(255, 255, 255, 0.045);
  --card-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(182, 168, 255, 0.18);

  --radius: 22px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px -8px rgba(255, 230, 160, 0.35);

  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Gradienten läggs även på rot-elementets canvas. Webbläsaren målar canvasen
     över HELA fönstret (även där mobilens verktygsfält glider bort och vid
     överskroll), oberoende av när fixed-element ritas om → ingen mörk glipa. */
  background-color: var(--night-1);
  background-image:
    radial-gradient(120% 80% at 80% -10%, rgba(60, 50, 130, 0.55), transparent 60%),
    radial-gradient(90% 70% at 10% 110%, rgba(40, 70, 120, 0.45), transparent 55%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 35%, var(--night-2) 75%, var(--night-3) 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  /* Genomskinlig: bakgrunden ligger på html-canvasen (annars målar body över
     de negativt z-indexerade stjärn-/mån-lagren och döljer dem). */
  background: transparent;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ---------- The living night sky (fixed background) ---------- */
.sky {
  position: fixed;
  /* Ankra i toppen och ge höjd från STORA viewporten (lvh) i stället för att
     botten-ankra (inset:0). Då täcker bakgrunden hela skärmen även när mobilens
     verktygsfält glider bort under scroll – inget mörkt block i botten. */
  inset: 0 0 auto 0;
  height: 100vh;   /* fallback för äldre webbläsare */
  height: 100lvh;  /* large viewport height – verktygsfältsytan inräknad */
  z-index: -3;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(60, 50, 130, 0.55), transparent 60%),
    radial-gradient(90% 70% at 10% 110%, rgba(40, 70, 120, 0.45), transparent 55%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 35%, var(--night-2) 75%, var(--night-3) 100%);
}

/* star layers — moved with parallax via JS (translate3d on --p) */
.stars {
  position: fixed;
  inset: -10% 0;
  z-index: -2;
  pointer-events: none;
}
.stars span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--star);
  border-radius: 50%;
  opacity: 0.85;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.6);
  animation: twinkle var(--tw, 4s) ease-in-out infinite;
}
.stars .big { width: 3px; height: 3px; box-shadow: 0 0 10px 2px rgba(255,255,255,0.8); }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1;    transform: scale(1.2); }
}

/* drifting clouds */
.cloud {
  position: fixed;
  z-index: -2;
  opacity: 0.3;
  pointer-events: none;
  background: radial-gradient(55% 70% at 50% 50%, rgba(120,130,200,0.4), transparent 72%);
  border-radius: 50%;
  animation: drift linear infinite;
}
/* Molnen kan ge kompositerings-artefakter på mobil – dölj dem där */
@media (max-width: 720px) { .cloud { display: none !important; } }
@keyframes drift {
  from { transform: translateX(-30vw); }
  to   { transform: translateX(130vw); }
}

/* shooting star */
.shooter {
  position: fixed;
  top: 12%;
  left: -10%;
  width: 140px; height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  z-index: -2;
  opacity: 0;
  border-radius: 2px;
  filter: drop-shadow(0 0 6px #fff);
  animation: shoot 11s ease-in infinite;
}
@keyframes shoot {
  0%   { transform: translate(0,0) rotate(18deg); opacity: 0; }
  3%   { opacity: 1; }
  10%  { transform: translate(75vw, 24vw) rotate(18deg); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- The moon ---------- */
.moon {
  position: fixed;
  top: 8%; right: 9%;
  width: 130px; height: 130px;
  z-index: -1;   /* bakom text & bilder, framför stjärnorna – samma som startsidans måne */
}
.moon img { width: 100%; height: 100%; display: block; animation: moon-bob 7s ease-in-out infinite; }
@keyframes moon-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (max-width: 640px) {
  .moon { width: 86px; height: 86px; top: 5%; right: 7%; }
}

@media (prefers-reduced-motion: reduce) {
  *, .moon, .stars span, .cloud, .shooter { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before { content: "✦"; color: var(--lav); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0.7rem 0 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p  { color: var(--muted); }
a  { color: var(--lav); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink); }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* gradient text utility */
.grad {
  background: linear-gradient(100deg, var(--gold), var(--pink) 45%, var(--lav) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7,10,31,0.85), rgba(7,10,31,0.35));
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display);
  font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--moon-core), var(--moon-glow) 65%, #eab84e);
  box-shadow: 0 0 18px rgba(255,220,140,0.6); position: relative;
}
.brand .logo::after {
  content: "☾"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #5a4410; font-size: 1.1rem;
}
.brand-logo { display: block; height: 44px; width: auto; }
@media (max-width: 860px) { .brand-logo { height: 36px; } }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0.4rem;
    background: rgba(11,16,38,0.97); padding: 1rem 1.2rem 1.4rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 0.5rem 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 100px; cursor: pointer; border: 0;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  color: #2a1d00;
  background: linear-gradient(100deg, var(--gold), var(--moon-glow));
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-3px); color: #2a1d00; box-shadow: 0 0 60px -4px rgba(255,220,140,0.6); }
.btn-ghost {
  color: var(--ink); background: var(--card-strong);
  border: 1px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); color: var(--ink); background: rgba(255,255,255,0.12); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 10vw, 6rem); text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.02em; }
.hero .lead { margin: 1.3rem auto 2rem; }
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.6rem; color: var(--muted-2); font-size: 0.9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* sleeping moon mascot */
.mascot-slot {
  --m: clamp(150px, 30vw, 240px);
  width: var(--m); aspect-ratio: 1; margin: 0 auto 1.5rem;
}
.mascot {
  width: 100%; height: 100%;
  position: relative; z-index: -1;   /* bakom text & bilder, framför stjärnorna */
  will-change: transform;
}
.mascot img { width: 100%; height: 100%; display: block; animation: moon-bob 7s ease-in-out infinite; }
.mascot .zzz { position: absolute; top: -8%; right: -4%; font-family: var(--font-display);
  color: var(--lav); font-size: 1.6rem; animation: floatz 4s ease-in-out infinite; }
.mascot .zzz:nth-child(2) { right: 6%; top: 2%; font-size: 1.1rem; animation-delay: 0.6s; opacity: 0.7; }
@keyframes floatz { 0%,100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-10px); opacity: 1; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; backdrop-filter: blur(8px);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,210,125,0.45); background: var(--card-strong); }
.card .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255,210,125,0.2), rgba(182,168,255,0.2));
  border: 1px solid var(--line);
}
.card h3 { margin-bottom: 0.5rem; color: var(--ink); }
.card p { font-size: 0.97rem; }

/* section heading block */
.sec-head { max-width: 60ch; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* FAQ – accordion */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.3rem; backdrop-filter: blur(8px);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 1.1rem; margin: 0; color: var(--muted); }

/* "Om oss" – luft mellan styckena */
#om-oss p + p { margin-top: 1rem; }

/* "Om oss" – bild på syskonen (fyller en ruta i kortrutnätet) */
.about-photo {
  margin: 0; align-self: start; position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.about-photo img { width: 100%; height: auto; display: block; }
.about-photo .photo-badge {
  position: absolute; bottom: 0.85rem; left: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  background: rgba(11,16,38,0.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  color: var(--gold); font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.about-photo .photo-badge .heart { font-size: 0.9em; line-height: 1; }

/* ---------- Books ---------- */
.book {
  display: block; text-align: center;
}
.book .cover {
  aspect-ratio: 1; border-radius: 14px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.3s;
}
.book .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book:hover .cover { transform: translateY(-8px) rotate(-1.5deg); }
.book .cover h4 { font-size: 1.25rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.book .cover small { color: rgba(255,255,255,0.85); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.65rem; }
.book p { margin-top: 0.7rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.book span { font-size: 0.85rem; color: var(--muted-2); }

.cv1 { background: linear-gradient(160deg, #2b3a8c, #6a4fb5); }
.cv2 { background: linear-gradient(160deg, #1f6f6b, #3aa597); }
.cv3 { background: linear-gradient(160deg, #8a3d6e, #d8729f); }
.cv4 { background: linear-gradient(160deg, #34307a, #4a6bd0); }

/* ---------- Album cards (riktiga Spotify-omslag) ---------- */
.album { display: block; }
.album .art {
  position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.1);
}
.album .art img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s; }
.album:hover .art img { transform: scale(1.06); }
.album .art::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: linear-gradient(180deg, transparent 40%, rgba(7,10,31,0.55));
}
.album:hover .art::after { opacity: 1; }
.album .play-spotify {
  position: absolute; right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 50%;
  background: #1DB954; display: grid; place-items: center; transform: translateY(8px); opacity: 0;
  transition: 0.3s; box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 2;
}
.album:hover .play-spotify { transform: none; opacity: 1; }
.album .play-spotify svg { width: 24px; height: 24px; fill: #fff; }
.album h3 { margin-top: 0.9rem; color: var(--ink); font-size: 1.08rem; }
.album span { font-size: 0.86rem; color: var(--muted-2); }

/* Brand-färgade knappar */
.btn-spotify { color: #fff; background: #1DB954; }
.btn-spotify:hover { color: #fff; background: #1ed760; transform: translateY(-3px); box-shadow: 0 0 40px -8px rgba(30,215,96,0.6); }
.btn-youtube { color: #fff; background: #FF0000; }
.btn-youtube:hover { color: #fff; background: #ff2424; transform: translateY(-3px); box-shadow: 0 0 40px -8px rgba(255,0,0,0.5); }
.btn .i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Brand-ikoner i text/footer */
.brand-ico { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.contact-list { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.contact-list li { display: flex; align-items: center; gap: 0.7rem; }
.contact-list .ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--card-strong); border: 1px solid var(--line); }
.contact-list .ic svg { width: 18px; height: 18px; }
.contact-list strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.social a svg { width: 18px; height: 18px; fill: var(--muted); transition: fill 0.2s; }
.social a:hover svg { fill: var(--ink); }

/* ---------- Spotify / media embeds ---------- */
.embed-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2,1fr); }
@media (max-width: 760px){ .embed-grid { grid-template-columns: 1fr; } }
.embed-grid iframe { width: 100%; border: 0; border-radius: 16px; box-shadow: var(--shadow-soft); }

.video-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  aspect-ratio: 16/9; box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.video-card .thumb { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); color: #fff; text-align: center; padding: 1rem; transition: transform 0.4s; }
.video-card:hover .thumb { transform: scale(1.05); }
.video-card .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: grid; place-items: center; color: #d8729f; font-size: 1.6rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.video-card .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; font-weight: 700; font-family: var(--font-display); }

/* Riktiga YouTube-inbäddningar */
.yt-embed {
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line); background: #000;
}
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 0.7rem; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: 0.98rem; }
.video-caption span { display: block; font-family: var(--font-body); font-weight: 600;
  color: var(--muted-2); font-size: 0.84rem; }
.vt1 { background: linear-gradient(135deg,#243b8c,#7350b8); }
.vt2 { background: linear-gradient(135deg,#1d6e6a,#39a596); }
.vt3 { background: linear-gradient(135deg,#7a356b,#d36fa0); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 1.6rem 1.6rem; position: relative; backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
}
.quote::before { content: "“"; position: absolute; top: 0.55rem; left: 1.3rem; font-family: var(--font-display);
  font-size: 3.2rem; color: rgba(255,210,125,0.4); line-height: 1; pointer-events: none; }
.quote p { color: var(--ink); font-size: 1.02rem; position: relative; }
.quote .stars-row { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.7rem; font-size: 0.95rem; }
.quote .who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; padding-top: 1.1rem; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; color: #2a1d00;
  background: linear-gradient(135deg, var(--gold), var(--pink)); }
.quote .who strong { font-family: var(--font-display); color: var(--ink); font-weight: 600; display: block; }
.quote .who small { color: var(--muted-2); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
@media (max-width: 560px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stats .num { font-family: var(--font-display); font-size: clamp(2rem,5vw,2.8rem); color: var(--gold); line-height: 1; }
.stats .lbl { color: var(--muted-2); font-size: 0.9rem; margin-top: 0.3rem; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.4rem; align-items: start; }
@media (max-width: 800px){ .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; backdrop-filter: blur(10px); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 14px; font: inherit; color: var(--ink);
  background: rgba(7,10,31,0.5); border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,210,125,0.18); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted-2); margin-top: 0.8rem; }
.form-status { margin-top: 1rem; font-weight: 700; display: none; }
.form-status.ok { display: block; color: var(--teal); }
.form-status.err { display: block; color: var(--pink); }

/* ---------- Article / prose ---------- */
.prose { max-width: 72ch; margin-inline: auto; }
.prose p, .prose li { color: var(--muted); font-size: 1.06rem; }
.prose p { margin-bottom: 1.1rem; }
.prose li { margin-bottom: 0.15rem; }
.prose h2 { font-size: clamp(1.6rem,3.5vw,2.2rem); margin: 2.4rem 0 0.8rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 1.2rem; margin: 1.6rem 0;
  color: var(--ink); font-style: italic; }
.article-hero { text-align: center; padding-bottom: 1rem; }
.article-meta { color: var(--muted-2); font-size: 0.9rem; margin-top: 0.8rem; }

.breadcrumbs { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); }

/* blog cards */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .pc-img { aspect-ratio: 16/9; height: auto; border-radius: 16px; margin-bottom: 1rem;
  width: 100%; object-fit: cover; display: block; border: 1px solid var(--line); }
.post-card:hover .pc-img { border-color: rgba(255,210,125,0.4); }
.post-card h3 { color: var(--ink); margin-bottom: 0.5rem; }

/* Artikelbanner (illustration överst i artikel) */
.article-banner { width: 100%; aspect-ratio: 16/6; height: auto; object-fit: cover; display: block;
  border-radius: 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--line);
  margin-bottom: 1.6rem; }
.post-card .read { margin-top: auto; padding-top: 0.8rem; font-family: var(--font-display);
  font-weight: 600; color: var(--gold); }

/* ---------- Tips-/produktruta (affiliate) ---------- */
.tip {
  background: linear-gradient(135deg, rgba(255,210,125,0.12), rgba(182,168,255,0.1));
  border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 16px; padding: 1.3rem 1.4rem; margin: 1.8rem 0;
}
.tip strong.tip-h { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display);
  color: var(--ink); font-size: 1.05rem; margin-bottom: 0.4rem; }
.tip strong.tip-h::before { content: "💡"; }
.tip p { margin-bottom: 0.7rem !important; }
.tip .tip-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem; color: #2a1d00; background: linear-gradient(100deg, var(--gold), var(--moon-glow));
  padding: 0.5rem 1rem; border-radius: 100px; text-decoration: none; transition: transform 0.2s; }
.tip .tip-link:hover { transform: translateY(-2px); color: #2a1d00; }
.tip .tip-link::after { content: "↗"; font-size: 0.9em; }
.tip .tip-ad, .ad-note .ad-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255,210,125,0.5); border-radius: 100px;
  padding: 0.14rem 0.6rem;
}
.tip .tip-ad { margin-bottom: 0.6rem; }
.tip.has-img { display: flow-root; }
.tip .tip-img {
  float: right; width: 112px; height: 112px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 6px;
  margin: 0 0 0.6rem 1rem; box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
@media (max-width: 480px) { .tip .tip-img { width: 84px; height: 84px; } }
.ad-note { font-size: 0.85rem; color: var(--muted-2); max-width: 60ch; margin: 0.9rem auto 0; }
.ad-note .ad-tag { margin-right: 0.45rem; }

/* Nedladdningskort (t.ex. gratis PDF-guide) */
.dl-card {
  display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(255,210,125,0.1), rgba(182,168,255,0.08));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; margin: 2rem 0;
}
.dl-card .dl-preview {
  width: 210px; max-width: 42%; height: auto; border-radius: 10px; flex: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.dl-card .dl-body { flex: 1 1 240px; }
.dl-card .dl-title {
  display: block; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: 1.15rem; margin-bottom: 0.4rem;
}
.dl-card .dl-body p { margin-bottom: 0.9rem !important; color: var(--muted); }
.dl-card .dl-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem; color: #2a1d00; text-decoration: none;
  background: linear-gradient(100deg, var(--gold), var(--moon-glow));
  padding: 0.6rem 1.2rem; border-radius: 100px; transition: transform 0.2s;
}
.dl-card .dl-btn::before { content: "⬇"; font-size: 0.95em; }
.dl-card .dl-btn:hover { transform: translateY(-2px); color: #2a1d00; }
@media (max-width: 480px) { .dl-card .dl-preview { width: 100%; max-width: 100%; } }

/* ---------- /guide – landningssida för belöningsschemat ---------- */
.guide-split {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 2rem;
  align-items: center; max-width: 920px; margin: 0 auto;
}
@media (max-width: 860px) { .guide-split { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Förhandsbilden är en aptitretare, inte produkten – medvetet liten. */
.guide-preview { margin: 0; }
.guide-preview img {
  width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto;
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.guide-preview figcaption {
  margin-top: 0.7rem; text-align: center; font-size: 0.85rem; color: var(--muted-2);
}

/* Anmälningsformuläret – ärver kortet från .form, postar till vår egen PHP. */
.guide-form { min-width: 0; padding: 1.6rem; box-shadow: var(--shadow-soft); }
.guide-form-h { font-size: 1.45rem; margin: 0 0 0.5rem; }
.guide-form-p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.2rem; }
.guide-form .form-status { margin: 0 0 0.9rem; }
.guide-form-btn { width: 100%; justify-content: center; }
.guide-fineprint {
  margin: 0.9rem auto 0; max-width: 40ch; text-align: center;
  font-size: 0.82rem; line-height: 1.5; color: var(--muted-2);
}

/* Spotify-CTA – grön "sätt på musiken"-ruta för artiklar */
.spotify-cta {
  background: linear-gradient(135deg, rgba(29,185,84,0.15), rgba(29,185,84,0.05));
  border: 1px solid rgba(29,185,84,0.35); border-left: 4px solid #1DB954;
  border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 2rem 0;
}
.spotify-cta .spotify-cta-title {
  display: block; font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: 1.15rem; margin-bottom: 0.3rem;
}
.spotify-cta p { margin-bottom: 0.9rem !important; color: var(--muted); }
.spotify-cta .spotify-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display);
  font-weight: 700; font-size: 0.98rem; color: #fff !important; text-decoration: none;
  background: #1DB954; padding: 0.6rem 1.3rem; border-radius: 100px; transition: transform 0.2s, background 0.2s;
}
.spotify-cta .spotify-cta-btn::before { content: "▶"; font-size: 0.8em; }
.spotify-cta .spotify-cta-btn:hover { transform: translateY(-2px); background: #1ed760; }

/* Inbäddad Spotify-spelare via [spotify:...]-kortkod */
.spotify-embed { margin: 2rem 0; }
.spotify-embed iframe { width: 100%; display: block; border: 0; }

.aff-note { font-size: 0.82rem; color: var(--muted-2); font-style: italic;
  border-top: 1px dashed var(--line); padding-top: 1rem; margin-top: 2rem; }
.prose .aff-note a { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0.4rem 1.2rem;
  margin-bottom: 0.8rem; background: var(--card); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--ink);
  padding: 0.9rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; border-radius: var(--radius-lg); padding: clamp(2.5rem,6vw,4rem) 1.5rem;
  background: linear-gradient(135deg, rgba(108,79,181,0.3), rgba(58,165,151,0.18));
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 2rem;
  background: linear-gradient(180deg, transparent, rgba(7,10,31,0.6)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand-logo { max-width: 100%; height: auto; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 0.8rem; color: var(--ink); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--muted); font-size: 0.95rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted-2); font-size: 0.85rem; }
.footer-legal { margin-top: 1rem; text-align: center; color: var(--muted-2); font-size: 0.8rem; }
.social { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--card-strong); border: 1px solid var(--line); font-size: 1.1rem; }
.social a:hover { background: rgba(255,210,125,0.2); transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #2a1d00;
  padding: 0.6rem 1rem; border-radius: 0 0 10px 0; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }

/* ---------- Kära Drömklubben ---------- */
.letter-img { display: block; width: min(440px, 80%); height: auto; margin: 0 auto 1rem;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)); }
.muted-note { color: var(--muted-2); font-weight: 600; font-size: 0.85em; }
.mood-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-top: 0.5rem; }
.mood-pick label { display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 0.6rem; border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  background: var(--card); font-weight: 700; text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s; }
.mood-pick label:hover { border-color: rgba(255,210,125,0.45); }
.mood-pick label:has(input:checked) { border-color: var(--gold); background: rgba(255,210,125,0.12); color: var(--gold); }
/* återställ radions bredd (annars tar global .field input width:100% över) */
.mood-pick input { width: auto; margin: 0; accent-color: var(--gold); flex: none; }
@media (max-width: 560px) { .mood-pick { grid-template-columns: 1fr; } }
/* centrerad submit-knapp på brevsidan */
.form .form-submit { text-align: center; margin-top: 0.4rem; }
/* honeypot – dolt för människor, syns för bottar */
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* Startsidans brevlåde-sektion (bild utanför kortet) */
.kara-band { display: flex; align-items: center; gap: 2.5rem; }
.kara-img { width: 370px; max-width: 42%; height: auto; flex: none;
  filter: drop-shadow(0 16px 38px rgba(0,0,0,0.45)); }
.kara-text { flex: 1; margin: 0; }
@media (max-width: 680px) {
  .kara-band { flex-direction: column; text-align: center; }
  .kara-img { max-width: 72%; }
}

/* Startsidans band för belöningsschemat (bild till vänster, kort till höger) */
.guide-band { display: flex; align-items: center; gap: 2.5rem; }
.guide-band-img {
  width: 380px; max-width: 44%; height: auto; flex: none; background: #fff;
  border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.guide-band-text { flex: 1; margin: 0; }
@media (max-width: 680px) {
  .guide-band { flex-direction: column; text-align: center; }
  .guide-band-img { max-width: 78%; }
}
