/* Self-hosted fonts (latin + latin-ext for Danish) */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/lora-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/lora-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/lora-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/lora-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f4ef;
  --bg-soft: #faf8f5;
  --bg-muted: #f0ebe3;
  /* Darker warm beige for Aida forside section bands (sampled from hero→selftest shift) */
  --bg-band: #f4f1eb;
  --card: #ffffff;
  --text: #1e3a32;
  --text-muted: #4a5c55;
  --accent: #1e3a32;
  --accent-hover: #152e28;
  --time: #a84c1d;
  --badge-accent: #94543a;
  --icon-bg: #dce5df;
  --border: #e8e4de;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 4px 24px rgba(30, 58, 50, 0.06);
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Lora", "Georgia", "Times New Roman", serif;
  --header-h: 72px;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--bg);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.home-meeting-band :focus-visible {
  outline-color: #f7f4ef;
}

/* Facades sit in overflow:hidden frames; paint the ring on the frame instead. */
.video-frame:has(> .embed-facade:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ========== Header / Nav ========== */
header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  color: var(--accent);
}

.logo-icon--img {
  width: 40px;
  height: 40px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
}

nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: center;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  background: var(--accent);
  color: white !important;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--accent-hover); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.9rem; }

.btn-outline {
  background: transparent;
  color: var(--accent) !important;
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white !important;
}

.btn-ghost {
  background: var(--card);
  color: var(--text) !important;
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--bg-soft);
}

.btn-youtube {
  background: #c62828;
}
.btn-youtube:hover { background: #b71c1c; }

/* ========== Page hero ========== */
.page-header {
  text-align: center;
  padding: 3.75rem 1.5rem 2.75rem;
  max-width: 780px;
  margin: 0 auto;
}

.page-header.with-backdrop {
  position: relative;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.92) 0%, rgba(247, 244, 239, 0.97) 70%, var(--bg) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(196, 92, 38, 0.06), transparent 55%);
}

.page-header.with-backdrop > * {
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  background: #ebe6df;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.badge.accent {
  background: transparent;
  color: var(--badge-accent);
  padding: 0;
  letter-spacing: 0.14em;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== Content ========== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-block {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon svg {
  width: 18px;
  height: 18px;
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  max-width: 640px;
}

/* Trin: section intros match the full step-card column width */
.page-trin .section-lead {
  max-width: none;
  text-align: left;
}

.page-trin .prose {
  max-width: none;
  text-align: left;
}

/* ========== Meeting cards ========== */
.meeting-grid {
  max-width: 720px;
  margin-inline: auto;
}

.day-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2.75rem 0 1rem;
  max-width: 720px;
  margin-inline: auto;
  color: var(--text);
}

.day-title:first-child { margin-top: 0.5rem; }

.meeting-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.meeting-card .badge--meeting {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.meeting-card .badge--online {
  background: var(--icon-bg);
  color: var(--text);
}

.meeting-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.time {
  color: var(--time);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.55rem;
}

.meeting-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin: 0.28rem 0;
}

.meeting-card .btn { margin-top: 0.9rem; }

/* ========== Speaks ========== */
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-top: 0.75rem;
  margin-inline: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.episode-list > .embed-facade + .embed-facade,
.episode-list > .spotify-embed + .embed-facade,
.episode-list > .embed-facade + .spotify-embed,
.episode-list > .spotify-embed + .spotify-embed {
  border-top: 1px solid var(--border);
}

.speak-card--after-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 720px;
  margin-top: 1rem;
  margin-inline: 0;
  min-height: 98px;
  padding: 0.75rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.speak-card--after-list:hover {
  background: var(--bg-muted);
}

.speak-card--after-list:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.speak-card.youtube.speak-card--after-list {
  background: var(--card);
  flex-direction: row;
  min-height: 98px;
}

.speak-card.youtube.speak-card--after-list:hover {
  background: var(--bg-muted);
}

.speak-art {
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg-muted);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.speak-card--after-list .speak-art {
  width: 80px;
  height: 45px;
}

.speak-card.youtube .speak-art--yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speak-card.youtube .speak-art::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 20px;
  background: #ff0000;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.speak-card.youtube .speak-art::before {
  content: "▶";
  position: absolute;
  z-index: 3;
  color: white;
  font-size: 0.62rem;
  clip-path: none;
  background: none;
  width: auto;
  height: auto;
  opacity: 1;
  padding-left: 1px;
}

.speak-info {
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  position: relative;
}

.speak-info h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.speak-meta {
  font-size: 0.8rem;
  opacity: 0.72;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.speak-meta .preview {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
}

.spotify-mark {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1db954;
  opacity: 0.95;
}

.spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1db954;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.25rem;
  text-decoration: none;
}

.speak-play {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}



.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.speak-card--after-list + .platform-row {
  max-width: 720px;
  margin-top: 1rem;
  margin-inline: 0;
}

.cta-box .platform-row {
  justify-content: center;
}

/* ========== CTA box ========== */
.cta-box {
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  margin: 2.75rem 0 0.5rem;
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 0.55rem;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

/* ========== Stub / shared cards ========== */
.stub-note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  color: var(--text-muted);
  max-width: 720px;
}

.stub-note a {
  color: var(--accent);
  font-weight: 600;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.step-card .num {
  color: var(--badge-accent);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-right: 0.35rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "▾";
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item[open] summary::after { content: "▴"; }

.faq-item .faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
}

.doc-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  box-shadow: var(--shadow);
}

.doc-row .doc-icon {
  width: 28px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--badge-accent);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.doc-row .doc-icon::before {
  content: "PDF";
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1rem 0 2.5rem;
}

.doc-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.doc-stack .text-muted-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1.75rem 0 2.5rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  text-align: center;
}

.info-card .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.info-card .value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* Old-site / Aida wavy section break — thin light-grey wave, ~330px centered */
.section-divider {
  border: 0;
  display: block;
  width: min(330px, 72vw);
  max-width: 330px;
  height: 14px;
  margin: 2.75rem auto 2.5rem;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 14' fill='none' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' y1='0' x2='330' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23c5c0b8' stop-opacity='0'/%3E%3Cstop offset='0.1' stop-color='%23c5c0b8' stop-opacity='1'/%3E%3Cstop offset='0.9' stop-color='%23c5c0b8' stop-opacity='1'/%3E%3Cstop offset='1' stop-color='%23c5c0b8' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1 7C42 7 52 3.2 82.5 3.2C113 3.2 123 10.8 165 10.8C207 10.8 217 3.2 247.5 3.2C278 3.2 288 7 329 7' stroke='url(%23w)' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

@media (max-width: 390px) {
  .section-divider {
    width: min(240px, 78vw);
    max-width: 240px;
    height: 12px;
  }
}

.faq-item .faq-body a {
  color: var(--accent);
  font-weight: 600;
}

.doc-row .ext {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.material-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-muted);
  border: 1px solid transparent;
  box-shadow: none;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.material-row img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 220px;
  background: #e8e4de;
}

.material-row.reverse {
  grid-template-columns: 1fr 280px;
}

.material-row.reverse img { order: 2; }

.material-row h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.program-card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.program-card h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.45rem;
}

.program-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ========== Footer ========== */
footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.75rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4,
.footer-title {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin: 0.35rem 0;
}

.footer-grid a:hover { color: var(--text); }

.footer-grid a.email-link {
  color: var(--accent);
  font-weight: 600;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  nav { gap: 0.85rem; }
  nav a { font-size: 0.86rem; }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.75rem;
    box-shadow: 0 12px 30px rgba(30, 58, 50, 0.08);
  }

  .nav-panel.open { display: flex; }

  nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav a {
    padding: 0.7rem 0.35rem;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }

  .program-grid,
  .doc-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) and (min-width: 701px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .material-row,
  .material-row.reverse {
    grid-template-columns: 1fr;
  }
  .material-row.reverse img { order: 0; }

  .info-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2rem; }
}

@media (max-width: 390px) {
  .speak-card--after-list,
  .speak-card.youtube.speak-card--after-list {
    min-height: 89px;
    padding: 0.55rem 0.75rem;
    gap: 0.65rem;
  }

  .speak-card--after-list .speak-art {
    width: 64px;
    height: 36px;
  }

  .speak-info h3 {
    font-size: 0.92rem;
  }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}


.episode-list iframe.spotify-embed,
iframe.spotify-embed {
  width: 100%;
  min-height: 152px;
  border: 0;
  border-radius: 0;
  /* Matches Spotify embed theme=0 so unused iframe space is not cream */
  background: #282828;
  display: block;
}

.episode-list iframe.spotify-embed {
  border-radius: 0;
}

.embed-facade {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 56px;
  max-height: none;
  padding: 0.7rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  box-shadow: none;
  transition: background 0.15s ease;
}

.embed-facade:hover {
  background: var(--bg-muted);
}

.embed-facade:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
  z-index: 1;
  position: relative;
}

.episode-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.embed-facade-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
  background: #fff;
  object-fit: contain;
}

.embed-facade-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.episode-date {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--badge-accent);
}

.embed-facade-play {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding-left: 2px;
}

.embed-facade:not(.embed-facade--youtube):hover .embed-facade-play {
  background: var(--accent-hover);
}

@media (max-width: 390px) {
  .embed-facade:not(.embed-facade--youtube) {
    min-height: 56px;
    padding: 0.55rem 0.75rem;
    gap: 0.65rem;
  }

  .embed-facade-title {
    font-size: 0.88rem;
  }

  .episode-date {
    font-size: 0.75rem;
  }

  .embed-facade-play {
    width: 2rem;
    height: 2rem;
    font-size: 0.7rem;
  }
}

.embed-facade--youtube {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.embed-facade--youtube:hover {
  background: #111;
}

.embed-facade-thumb--yt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0.88;
}

.embed-facade-play--yt {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.4rem;
  height: 3.4rem;
  background: #c62828;
  font-size: 1.1rem;
  z-index: 1;
}

.embed-facade-title--yt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 0.9rem;
  line-height: 1.35;
  color: #fff;
}

.embed-facade--youtube .embed-facade-play {
  background: #c62828;
}

.video-frame .embed-loaded--youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-note {
  max-width: 720px;
  margin-top: 0.75rem;
  margin-inline: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}




/* ========== Forside / home ========== */
.page-home {
  background: var(--bg-soft);
}

.home-hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  background:
    linear-gradient(180deg, rgba(250,248,245,0.78) 0%, rgba(250,248,245,0.88) 65%, var(--bg-soft) 100%),
    url("assets/img/hero-forest.jpg") center/cover;
}

.home-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.home-hero .lead {
  max-width: 640px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.home-section {
  padding: 3rem 0 1rem;
}

/* Alternating forside bands: darker warm beige vs light page cream */
.home-band {
  background: var(--bg-band);
}

.home-section.home-band {
  padding: 3.25rem 0;
}

.page-home footer {
  background: var(--bg-band);
  border-top-color: transparent;
}

.assess-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  max-width: 900px;
  margin: 1.5rem auto 1.75rem;
}

.assess-list {
  list-style: none;
  padding: 0;
}

.assess-list li {
  position: relative;
  padding-left: 1.15rem;
  margin: 0.85rem 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.assess-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--badge-accent);
}

.assess-summary {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 1.05rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
}

.assess-summary p {
  margin: 0.4rem 0;
}

.assess-summary p:first-child {
  margin-top: 0;
}

.assess-summary p:last-child {
  margin-bottom: 0;
}

.assess-summary strong {
  color: var(--text);
}

/* Bridge self-test closing box → Sygdomsbegrebet video (stacked unit) */
.home-section.home-band:has(+ .home-video) {
  padding-bottom: 1rem;
}

.home-section.home-band:has(+ .home-video) > .container {
  padding-bottom: 0;
}

.home-section.home-video.home-band {
  padding-top: 1rem;
}

.video-frame {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: var(--accent);
  line-height: 1.45;
  margin: 0 auto 0.5rem;
}

/* Forside closing Sindsrobøn — poster-inspired hierarchy, real text */
.home-sindsro {
  padding: 2.5rem 0 4.5rem;
}

.home-sindsro .section-divider {
  margin-top: 0.5rem;
  margin-bottom: 2.75rem;
}

.sindsro-prayer {
  margin: 0 auto;
  max-width: 36rem;
  padding: 0 0.5rem;
  border: 0;
}

.sindsro-prayer p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.15rem, 3.6vw, 1.55rem);
  line-height: 1.85;
  color: var(--text);
  text-align: center;
  text-wrap: balance;
}

.sindsro-emph {
  display: inline;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.45rem, 5.2vw, 2.15rem);
  letter-spacing: 0.14em;
  line-height: 1.35;
  color: var(--accent);
  text-transform: uppercase;
}

@media (max-width: 390px) {
  .home-sindsro {
    padding: 2rem 0 3.5rem;
  }

  .sindsro-prayer {
    padding: 0 0.25rem;
    max-width: 100%;
  }

  .sindsro-prayer p {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    line-height: 1.75;
  }

  .sindsro-emph {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
    letter-spacing: 0.1em;
  }
}

.prose {
  text-align: left;
  color: var(--text-muted);
}

.prose p { margin: 0.9rem 0; }

.prose ul {
  margin: 0.9rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.prose li {
  margin: 0.35rem 0;
}

.home-meeting-band {
  background: var(--accent);
  color: #fff;
  padding: 3.25rem 0;
  margin: 2rem 0 0;
}

.home-meeting-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.home-meeting-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.home-meeting-band p {
  opacity: 0.92;
  margin: 0.75rem 0;
  font-size: 0.98rem;
}

.home-meeting-band img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 22%;
  max-height: 420px;
}

.lotus-story {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  max-width: 100%;
}

.lotus-story-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  grid-template-rows: auto 1fr;
  gap: 1.35rem 1.75rem;
  align-items: start;
}

.lotus-story-img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1183 / 676;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  display: block;
}

.lotus-story-body {
  grid-column: 2;
  grid-row: 1 / -1;
  min-width: 0;
}

.lotus-story-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.lotus-story-excerpt {
  font-style: italic;
  color: var(--text);
}

.lotus-story-page > p {
  margin: 0.85rem 0;
}

.lotus-story-page > p:first-child {
  margin-top: 0;
}

.lotus-story-page > p:last-child {
  margin-bottom: 0;
}

.lotus-story-page + .lotus-story-page {
  margin-top: 0.85rem;
}

/* JS-enhanced pager: stack pages so card height stays at the taller page */
.lotus-story-excerpt.is-paged .lotus-story-pages {
  display: grid;
}

.lotus-story-excerpt.is-paged .lotus-story-page {
  grid-area: 1 / 1;
  outline: none;
}

.lotus-story-excerpt.is-paged .lotus-story-page.is-active {
  visibility: visible;
  position: relative;
  z-index: 1;
}

.lotus-story-excerpt.is-paged .lotus-story-page:not(.is-active) {
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
}

.lotus-story-excerpt.is-paged .lotus-story-page + .lotus-story-page {
  margin-top: 0;
}

.lotus-story-excerpt.is-paged .lotus-story-page:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.lotus-story-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
  font-style: normal;
}

.lotus-story-page-status {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lotus-story-page-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.45rem 0.85rem;
  border-radius: calc(var(--radius) - 6px);
  cursor: pointer;
}

.lotus-story-page-btn:hover {
  background: var(--bg-muted);
  color: var(--accent-hover);
}

.lotus-story-page-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lotus-story-pager[hidden],
.lotus-story-page-btn[hidden] {
  display: none;
}

/* Text source (not an image caption): sits under the image on desktop */
.lotus-story-source {
  grid-column: 1;
  grid-row: 2;
  margin: 0.85rem 0 0;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.lotus-story-source a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.lotus-story-source a:hover,
.lotus-story-source a:focus-visible {
  color: var(--accent);
}

@media (max-width: 880px) {
  .lotus-story {
    padding: 1.15rem 1.1rem 1.25rem;
  }

  .lotus-story-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .lotus-story-img,
  .lotus-story-body,
  .lotus-story-source {
    grid-column: auto;
    grid-row: auto;
  }

  .lotus-story-img {
    max-width: 100%;
  }

  .lotus-story-source {
    margin-top: 1.25rem;
  }
}

@media (max-width: 880px) {
  .assess-grid,
  .home-meeting-grid {
    grid-template-columns: 1fr;
  }

  .home-meeting-band img {
    max-width: 480px;
    max-height: 600px;
    margin-inline: auto;
  }

  /* Stacked assess columns: drop column gap and cancel the second list's
     first-item top margin so bullet rhythm matches collapsed within-list spacing. */
  .assess-grid {
    gap: 0;
  }

  .assess-grid .assess-list:not(:first-child) > li:first-child {
    margin-top: 0;
  }
}


/* ========== Utility classes (ex-inline styles) ========== */
iframe { border: 0; }

.section-title--center {
  justify-content: center;
  text-align: center;
}

.section-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-lead--wide {
  max-width: 720px;
}

.section-title--spaced {
  margin-top: 2rem;
}

.doc-grid--spaced {
  margin-bottom: 2rem;
}

.card-list--spaced {
  margin-bottom: 1.5rem;
}

.card-list--narrow {
  max-width: 760px;
  margin: 0 auto;
}

.container--center {
  text-align: center;
}

.container--narrow-center {
  max-width: 760px;
  text-align: center;
}

.mt-075 {
  margin-top: 0.75rem;
}

.hero-cta-row--center {
  justify-content: center;
}

.program-grid--tight {
  margin-top: 1rem;
}

.text-muted-note {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.cta-intro {
  margin-bottom: 0.75rem;
}

.meeting-card--spaced {
  margin-top: 2rem;
}

.startpakke-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.doc-row--spaced {
  margin-top: 1rem;
}

.btn-youtube--static {
  pointer-events: none;
  width: fit-content;
  margin-top: 0;
  flex-shrink: 0;
}
