/* ============================================================
   DDI — Dansk Dødsdoula Institut
   Warm, calm, dignified. Cream / sand / gold / dark olive.
   ============================================================ */

:root {
  /* core palette */
  --cream:        #EDE9E0;
  --cream-light:  #F5F2EA;
  --sand:         #C8BFA0;
  --sand-soft:    #D9D2B8;
  --gold:         #C8C280;     /* softer, less curry — more baby yellow */
  --gold-deep:    #8A8840;     /* warmer yellow, less olive */
  --ink:          #2E2E1B;     /* darker olive — stronger contrast */
  --ink-soft:     #50502F;
  --ink-muted:    rgba(46, 46, 27, 0.72);
  --hairline:     rgba(46, 46, 27, 0.28);

  /* tweakable surfaces (overridden by tweaks panel) */
  --bg-cream:     var(--cream);
  --bg-sand:      #DDD4B5;
  --hero-overlay-alpha: 0.42;

  /* type */
  --serif: "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* rhythm */
  --max:   1200px;
  --narrow: 760px;
  --radius: 2px;
  --shadow-card: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 40px -28px rgba(46,46,27,.22), 0 4px 12px -8px rgba(46,46,27,.12);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--cream-light); }

/* ────────── REVEAL (scroll fade-in) ────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none !important; }
}

/* ────────── TYPE PRIMITIVES ────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.2em;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 .6em;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

.display-sm {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.003em;
  color: var(--ink);
  margin: 0 0 .8em;
  text-wrap: balance;
}

.display-xs {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.003em;
  color: var(--ink);
  margin: 0 0 .6em;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.6em;
  max-width: 52ch;
}

.prose {
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink);
}
.prose p { margin: 0 0 1.1em; }
.prose-narrow {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 44ch;
  margin: 0 0 1.4em;
}

/* ────────── BUTTONS ────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .25s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream-light);
}
.btn-primary:hover {
  background: #3a3a23;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream-light);
}
.btn-link {
  background: transparent;
  border: none;
  color: var(--ink);
  height: auto;
  padding: 0;
  letter-spacing: 0.22em;
}
.btn-link svg { transition: transform .35s ease; }
.btn-link:hover svg { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ────────── HEADER ────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(242, 238, 228, 0.93);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  transition: background .4s ease, border-color .4s ease, padding .35s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(242, 238, 228, 0.97);
  border-bottom-color: var(--hairline);
  padding: 10px 0;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark {
  height: 38px;
  width: auto;
  transition: height .35s ease;
}
.site-header.is-scrolled .brand-mark { height: 30px; }
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--serif);
  color: var(--ink);
}
.brand-line-1 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand-line-2 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
  font-family: var(--sans);
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  transition: color .3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s ease;
}
.nav a:hover { color: var(--gold-deep); }
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { height: 38px; padding: 0 18px; font-size: 11px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
}

/* ────────── HERO ────────── */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream-light);
}
.hero-media { position: absolute; inset: 0; }
.hero-img {
  position: absolute;
  inset: -2% -2% -2% -2%;
  background-size: cover;
  background-position: 60% 50%;
  animation: kenburns 14s ease-out forwards;
  filter: saturate(0.78) contrast(0.97) brightness(1.04) sepia(0.08);
}
@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
/* Warm dusk colour wash — adds the sunset glow even on cooler photos */
.hero-dusk {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(232, 199, 156, 0.42) 0%,
      rgba(212, 168, 132, 0.30) 28%,
      rgba(160, 130, 110, 0.18) 55%,
      rgba(74, 74, 46, 0.20) 100%),
    radial-gradient(ellipse at 70% 18%, rgba(245, 218, 168, 0.55) 0%, transparent 55%);
  mix-blend-mode: soft-light;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(237, 233, 224, 0.88) 0%,
    rgba(237, 233, 224, 0.80) 40%,
    rgba(237, 233, 224, 0.68) 70%,
    rgba(237, 233, 224, 0.62) 100%);
}
@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(237, 233, 224, 0.80);
  }
  .hero-scroll { display: none; }
}

/* ────────── HERO STARS ────────── */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-stars .star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFF3D0;
  box-shadow: 0 0 6px rgba(255, 243, 208, 1), 0 0 14px rgba(255, 243, 208, 0.7);
  opacity: 0;
  animation: twinkle var(--twk-dur, 4s) ease-in-out var(--twk-delay, 0s) infinite;
}
.hero-stars .star.lg {
  width: 4px;
  height: 4px;
  box-shadow: 0 0 9px rgba(255, 243, 208, 1), 0 0 20px rgba(255, 243, 208, 0.85);
}
.hero-stars .star.gold {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 194, 138, 1), 0 0 18px rgba(212, 194, 138, 0.75);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-sparkles .sparkle {
  position: absolute;
  fill: #F5E6BD;
  filter: drop-shadow(0 0 6px rgba(245, 230, 189, 0.7));
  opacity: 0;
  animation: sparkle 7s ease-in-out infinite;
}
.sparkle-1 { top: 14%;  left: 12%; width: 18px; height: 18px; animation-delay: 0.4s; }
.sparkle-2 { top: 22%;  left: 78%; width: 22px; height: 22px; animation-delay: 2.1s; fill: #E8D08A; }
.sparkle-3 { top: 38%;  left: 38%; width: 14px; height: 14px; animation-delay: 3.6s; }
.sparkle-4 { top: 54%;  left: 86%; width: 16px; height: 16px; animation-delay: 1.3s; fill: var(--gold); }
.sparkle-5 { top: 18%;  left: 56%; width: 12px; height: 12px; animation-delay: 5.0s; }
@keyframes sparkle {
  0%, 100%   { opacity: 0;   transform: scale(0.6) rotate(0deg); }
  45%, 55%   { opacity: 0.95; transform: scale(1)   rotate(15deg); }
  70%        { opacity: 0;   transform: scale(0.6) rotate(30deg); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(237,233,224,.18) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 32px 120px;
  width: 100%;
}
.hero .eyebrow { color: var(--gold-deep); }
.hero .display { color: var(--ink); max-width: 18ch; }
.hero .display em { color: var(--gold-deep); }
.hero .lede {
  color: var(--ink-soft);
  max-width: 50ch;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--ink);
  color: var(--cream-light);
}
.hero .btn-primary:hover {
  background: #3a3a23;
  color: #fff;
}
.hero .btn-link { color: var(--ink); }
.hero .btn-link:hover { color: var(--gold-deep); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
  color: var(--ink);
}
.hero-scroll-label {
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--cream-light));
  animation: scrollPulse 2.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { top: -40%; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ────────── DIVIDER ────────── */
.divider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.divider-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.55;
  max-width: 280px;
}
.divider-bird {
  height: 46px;
  width: auto;
  opacity: 0.85;
}

/* ────────── SECTIONS ────────── */
.section {
  padding: 110px 32px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.section-narrow {
  max-width: calc(var(--narrow) + 64px);
  text-align: center;
}
.section-narrow .prose,
.section-narrow .lede {
  max-width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.section-narrow .center-cta,
.section-narrow .steps { margin-top: 36px; }

/* full-bleed sand section */
.section-sand {
  background: var(--bg-sand);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.section-sand > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.section-sand > .section-head { margin-bottom: 60px; text-align: center; }
.section-sand > .section-head .section-lede {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}

.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ────────── AUDIENCE PATHS ────────── */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.path-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 54px 38px 44px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .5s ease, box-shadow .5s ease, background .5s ease;
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/logo.webp');
  background-size: 280px auto;
  background-position: right -80px top -50px;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  transition: opacity .6s ease, transform .6s ease;
  transform: rotate(-6deg);
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 38px -22px rgba(46,46,27,.22);
}
.path-card:hover::before { opacity: 0.09; }
.path-card > * { position: relative; z-index: 1; }
.path-card-feature {
  background: var(--cream-light);
}
.path-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
}
.path-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.path-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.path-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  transition: color .3s ease;
}
.path-link svg { transition: transform .35s ease; }
.path-link:hover { color: var(--gold-deep); }
.path-link:hover svg { transform: translateX(4px); }

/* ────────── BAND (quote + image) ────────── */
.band {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--cream-light);
}
.band-img {
  position: absolute;
  inset: -8% 0 -8% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  filter: saturate(.90) contrast(1.02) brightness(1.18);
}
.band-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(74,74,46,0.55) 0%, rgba(74,74,46,0.75) 100%),
    linear-gradient(180deg, rgba(74,74,46,0.2), rgba(74,74,46,0.45));
}
.band-quote {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0;
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.quote-mark { color: var(--gold); opacity: 0.7; width: 32px; height: 24px; }
.band-quote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  margin: 0;
  color: var(--cream-light);
  text-wrap: balance;
}
.band-quote figcaption {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
}

/* ────────── SPLIT (about) ────────── */
.section-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 130px;
}
.split-media { position: relative; }
.split-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  filter: saturate(.95) contrast(1.05);
  box-shadow: 0 18px 50px -24px rgba(46,46,27,.32);
}
.split-img-portrait { background-position: center 25%; filter: saturate(.92) contrast(1.02); clip-path: inset(0 0 50px 0); }

/* Classical mat-and-frame around the founder portrait */
.portrait-frame {
  position: relative;
  padding: 22px;
  background:
    radial-gradient(120% 90% at 50% 0%, #f8f1dd 0%, #ece1c2 60%, #d9cba3 100%);
  box-shadow:
    0 26px 60px -32px rgba(46,46,27,.45),
    0 0 0 1px rgba(120, 102, 56, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(46, 46, 27, 0.08);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(120, 102, 56, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  pointer-events: none;
}
.portrait-frame::after { display: none; }
.portrait-frame .split-img {
  position: relative;
  z-index: 1;
  margin: 0;
  box-shadow:
    0 0 0 1px rgba(120, 102, 56, 0.55),
    0 10px 22px -14px rgba(46, 46, 27, 0.45);
}
.split-img-cap {
  position: absolute;
  left: 0;
  bottom: -28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}
.split-text .btn-link { margin-top: 8px; display: inline-flex; }
/* portrait-frame — lift image above ::after cream mat (z-index:0)
   Handles both: direct <img> AND widget-container wrapper */
.portrait-frame > .elementor-widget-container,
.portrait-frame > img {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
}
.portrait-frame .elementor-image img,
.portrait-frame > img {
  display: block;
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(120,102,56,.55),
    0 10px 22px -14px rgba(46,46,27,.45);
}

/* ────────── MODULES ────────── */
.modules-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: var(--shadow-card);
  margin-top: 10px;
}
.modules-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 56px;
}
.modules-grid li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.modules-grid li:nth-last-child(-n+2) { border-bottom: none; }
.mod-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
  min-width: 38px;
}
.mod-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}

.modules-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.meta-icon {
  color: var(--gold-deep);
  line-height: 0;
}
.meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.meta-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.meta-divider {
  width: 1px;
  height: 28px;
  background: var(--hairline);
}

/* ────────── STEPS (admission) ────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 0;
  max-width: var(--narrow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 1px;
  background: var(--hairline);
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--gold-deep);
  position: relative;
  z-index: 1;
}
.step-txt {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 18ch;
}
.center-cta { text-align: center; }

/* ────────── DIRECTORY ────────── */
.directory-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 40px 40px 32px;
  box-shadow: var(--shadow-card);
}
.directory-search {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.directory-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.directory-field span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.directory-field input,
.directory-field select {
  height: 46px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 0 0 4px;
  outline: none;
  font-weight: 400;
  transition: border-color .3s ease;
}
.directory-field input:focus,
.directory-field select:focus {
  border-bottom-color: var(--gold);
}
.directory-submit { align-self: end; height: 46px; padding: 0 24px; }

.directory-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.directory-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.4fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  transition: background .3s ease, padding .3s ease;
}
.directory-row:last-child { border-bottom: none; }
.directory-row:hover { background: rgba(181, 168, 122, .08); }
.dir-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
}
.dir-loc {
  font-size: 14px;
  color: var(--ink-soft);
}
.dir-tags {
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  font-family: var(--serif);
}
.dir-contact {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  transition: background .3s ease, color .3s ease;
}
.dir-contact:hover { background: var(--ink); color: var(--cream-light); border-color: var(--ink); }

.directory-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.directory-all svg { transition: transform .3s ease; }
.directory-all:hover { color: var(--gold-deep); }
.directory-all:hover svg { transform: translateX(4px); }

/* ────────── MEMBER LOCKED ────────── */
.member-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.member-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.member-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.member-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  filter: saturate(0.78) brightness(0.92);
  transform: scale(1.04);
}
.member-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(244, 238, 226, 0.22) 0%,
      rgba(244, 238, 226, 0.12) 20%,
      rgba(244, 238, 226, 0.08) 50%,
      rgba(244, 238, 226, 0.12) 80%,
      rgba(244, 238, 226, 0.22) 100%);
}
.member-bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(0,0,0,0) 0%,
    rgba(40, 28, 18, 0.18) 70%,
    rgba(40, 28, 18, 0.32) 100%);
  mix-blend-mode: multiply;
}
.member-card {
  background: rgba(248, 243, 232, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 185, 125, 0.28);
  border-radius: var(--radius);
  padding: 56px 56px 48px;
  box-shadow: 0 30px 60px -20px rgba(40, 28, 18, 0.45), var(--shadow-card);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.member-lock {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--cream);
  border: 1px solid var(--ink);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.member-cta-note {
  font-size: 13px;
  color: var(--ink);
  text-align: center;
  line-height: 1.8;
  background: rgba(242, 238, 228, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 40px;
  padding: 12px 26px;
}
.member-cta-note a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  font-weight: 500;
  transition: color .2s;
}
.member-cta-note a:hover { color: var(--ink); }
.member-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.member-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.member-forgot {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.member-forgot:hover { color: var(--gold-deep); }

/* Full-bleed override for the member section used inside the homepage */
.member-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
  isolation: isolate;
}

/* ────────── FORM FIELDS (shared) ────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.field input {
  height: 46px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 0 0 4px;
  outline: none;
  transition: border-color .3s ease;
}
.field input:focus { border-bottom-color: var(--gold); }
.field input::placeholder { color: rgba(74,74,46,.35); }

.field-set {
  border: none;
  padding: 0;
  margin: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-set legend {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background .25s ease;
}
.check input[type="checkbox"]:checked {
  background: var(--gold);
}
.check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--cream-light);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ────────── NEWSLETTER ────────── */
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.newsletter-text { padding-top: 12px; }
.newsletter-form {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 40px 40px 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fineprint {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  margin: 6px 0 0;
  line-height: 1.5;
}

/* ────────── TEAM SECTION ────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-avatar-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hairline);
  flex-shrink: 0;
  margin-bottom: 4px;
}
.team-avatar {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
}
.team-avatar-initials {
  background: var(--sand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.team-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.team-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
}
.team-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* ────────── FOOTER ────────── */
.site-footer {
  background: #3b3b25;
  color: rgba(245, 242, 234, 0.86);
  padding: 96px 32px 32px;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(245, 242, 234, 0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-mark {
  height: 44px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  align-self: flex-start;
  filter: brightness(1.15);
}
.footer-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  color: var(--cream-light);
  margin-top: 8px;
}
.footer-name span:nth-child(2) { color: var(--gold); }
.footer-tag {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(245, 242, 234, 0.7);
  line-height: 1.4;
  max-width: 30ch;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(245, 242, 234, 0.78);
  margin: 0 0 12px;
  line-height: 1.6;
  transition: color .3s ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-base {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(245, 242, 234, 0.55);
  letter-spacing: 0.06em;
}
.footer-base-links { display: flex; gap: 22px; }
.footer-base-links a:hover { color: var(--gold); }
.footer-credit {
  max-width: var(--max);
  margin: 10px auto 0;
  padding: 0 32px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 234, 0.28);
}
.footer-credit a { color: rgba(245,242,234,0.38); border-bottom: 1px solid rgba(245,242,234,0.15); transition: color .25s, border-color .25s; }
.footer-credit a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ────────── PAGE TRANSITIONS ────────── */
body { animation: pageFadeIn 0.5s ease both; }
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.page-exit {
  animation: pageFadeOut 0.3s ease forwards;
  pointer-events: none;
}
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-2px); }
}

/* ────────── RESPONSIVE ────────── */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .paths { grid-template-columns: 1fr; }
  .section-split { grid-template-columns: 1fr; gap: 48px; }
  .modules-grid { grid-template-columns: 1fr; }
  .modules-meta { gap: 18px; }
  .meta-divider { display: none; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .directory-search { grid-template-columns: 1fr; }
  .directory-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:not(:last-child)::after { display: none; }
  .modules-card { padding: 36px 24px; }
  .directory-card { padding: 28px 22px; }
  .section { padding: 70px 24px; }
  .hero-content { padding: 130px 24px 100px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-base { flex-direction: column; gap: 12px; }
  .member-card { padding: 44px 28px 32px; }
  .eyebrow { letter-spacing: 0.12em; }
  .btn-link { letter-spacing: 0.12em; font-size: 11px; }
  .section { padding: 60px 20px; }
  .hero-content { padding: 110px 20px 80px; }
  .hero-scroll { display: none; }
}

/* ────────── SECTION WITH SOFT BG IMAGE ────────── */
.section-bgimg {
  position: relative;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  isolation: isolate;
  overflow: hidden;
}
.section-bgimg > * {
  max-width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.section-bgimg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bgimg);
  background-size: cover;
  background-position: center;
  filter: saturate(.85) contrast(1.02);
  opacity: 0.22;
  z-index: -2;
}
.section-bgimg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-cream) 0%, rgba(237,233,224,.72) 18%, rgba(237,233,224,.72) 82%, var(--bg-cream) 100%);
  z-index: -1;
}

/* ────────── HERO PATHS (audience entry, just below hero) ────────── */
.hero-paths {
  position: relative;
  z-index: 3;
  background: transparent;
  max-width: var(--max);
  margin: -50px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 32px 28px;
  background: var(--cream-light);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border-right: 1px solid rgba(46,46,27,.12);
  color: var(--ink);
  transition: background .5s ease, transform .5s ease, box-shadow .5s ease;
  overflow: hidden;
}
.hp-card:last-child { border-right: none; }
.hp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181,168,122,0) 0%, rgba(181,168,122,.18) 100%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.hp-card:hover {
  background: #E8E2CE;
  box-shadow: 0 18px 38px -22px rgba(46,46,27,.28);
}
.hp-card:hover::before { opacity: 1; }
.hp-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.hp-label {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 2px;
}
.hp-arrow {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  color: var(--gold-deep);
  transition: transform .5s ease, color .35s ease;
}
.hp-card:hover .hp-arrow { transform: translateX(6px); color: var(--ink); }

@media (max-width: 720px) {
  .hero-paths { grid-template-columns: 1fr; gap: 0; margin: -60px auto 0; padding: 0 24px; }
  .hp-card { border-right: none; border-bottom: 1px solid rgba(46,46,27,.12); }
  .hp-card:last-child { border-bottom: none; }
}
.interlude {
  position: relative;
  height: 52vh;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.interlude-tall { height: 64vh; min-height: 460px; }
.interlude-img {
  position: absolute;
  inset: -8% -2% -8% -2%;
  background-size: cover;
  background-position: center;
  filter: saturate(.88) contrast(1.02);
}
.interlude-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(46,46,27,.35) 0%, rgba(46,46,27,.55) 100%),
    linear-gradient(180deg, rgba(237,233,224,.6), rgba(237,233,224,0) 18%, rgba(237,233,224,0) 82%, rgba(237,233,224,.6));
}
.interlude-line {
  position: relative; z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--cream-light);
  margin: 0;
  text-shadow: 0 1px 16px rgba(46,46,27,.55);
}

/* Slow Ken-Burns for any image with this class */
.zoom-slow { animation: zoomSlow 18s ease-in-out infinite alternate; }
@keyframes zoomSlow {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .zoom-slow { animation: none; }
}

/* ────────── TRIPTYCH ────────── */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0;
  margin: 0;
  background: var(--bg-cream);
}
.trip-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.trip-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.88) contrast(1.02);
  transition: filter 1.2s ease, transform 1.4s ease;
}
.trip-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,46,27,0) 40%, rgba(46,46,27,.72) 100%);
  pointer-events: none;
}
.trip-item figcaption {
  position: absolute;
  left: 32px; right: 32px; bottom: 28px;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--cream-light);
  line-height: 1.3;
  text-wrap: balance;
}
.trip-item:hover .trip-img { filter: saturate(1) contrast(1.05) brightness(1.05); }

/* ────────── SOFT TRANSITIONS BETWEEN SECTIONS ────────── */
.section-sand {
  background: var(--bg-sand);
}
#veje.section-sand,
#doulaer.section-sand,
#nyhedsbrev.section-sand {
  background: color-mix(in oklab, var(--bg-sand) 45%, var(--cream) 55%);
}

/* Gentle breathing on bird dividers */
.divider-bird {
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50%      { opacity: 0.96; transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .divider-bird { animation: none; }
}

/* Responsive interlude / triptych */
@media (max-width: 720px) {
  .triptych { grid-template-columns: 1fr; }
  .trip-item { aspect-ratio: 4/3; }
  .interlude { height: 42vh; min-height: 300px; }
  .interlude-tall { height: 48vh; min-height: 340px; }
}

/* ────────── BIRD WATERMARK (section-level) ────────── */
.watermark-bird,
.watermark-section {
  position: relative;
  overflow: hidden;
}
.watermark-bird::before,
.watermark-section::before {
  content: "";
  position: absolute;
  background-image: url('assets/logo.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}
.watermark-bird::before {
  top: 8%;
  right: -120px;
  width: 460px;
  height: 460px;
  opacity: 0.06;
  transform: rotate(-8deg);
  z-index: 0;
}
.section-split.watermark-bird > * { position: relative; z-index: 1; }

.watermark-section::before {
  top: 50%;
  left: 50%;
  width: 720px;
  height: 720px;
  opacity: 0.05;
  transform: translate(-50%, -50%) rotate(-6deg);
  z-index: 0;
}
.watermark-section > * { position: relative; z-index: 1; }

/* ────────── SUBPAGE HERO (compact) ────────── */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream-light);
  isolation: isolate;
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-img {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center 45%;
  filter: saturate(.90) contrast(1.02) brightness(1.14);
  animation: kenburns 18s ease-out forwards;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(46,46,27,.55) 0%,
      rgba(46,46,27,.40) 40%,
      rgba(46,46,27,.78) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 180px 32px 60px;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--cream-light);
  margin: 0 0 18px;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}
.page-hero-lede {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
  color: rgba(245, 242, 234, 0.88);
  max-width: 56ch;
  margin: 0;
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.page-breadcrumb a { color: rgba(245, 242, 234, 0.7); }
.page-breadcrumb a:hover { color: var(--gold); }
.page-breadcrumb .crumb-sep { opacity: 0.5; }

.panel {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 48px 48px;
  box-shadow: var(--shadow-card);
}
.panel + .panel { margin-top: 28px; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: 0 0 60px;
}
.fact {
  padding: 28px 24px;
  border-right: 1px solid var(--hairline);
  text-align: center;
}
.fact:last-child { border-right: none; }
.fact-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.fact-num em { font-style: italic; font-weight: 300; }
.fact-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.module-detail {
  list-style: none;
  padding: 0;
  margin: 0;
}
.module-detail > li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}
.module-detail > li:last-child { border-bottom: none; }
.module-detail .m-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}
.module-detail .m-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
}
.module-detail .m-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 60ch;
}

.faculty {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.faculty-card {
  background: var(--cream-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.faculty-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center 25%;
  filter: saturate(.92);
  margin-bottom: 8px;
  background-color: var(--sand-soft);
}
.faculty-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}
.faculty-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.faculty-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.longform {
  max-width: var(--narrow);
  margin: 0 auto;
}
.longform > * + * { margin-top: 1.2em; }
.longform h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin: 1.6em 0 .4em;
  color: var(--ink);
}
.longform p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink);
}
.longform .pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--gold-deep);
  text-align: center;
  margin: 60px auto;
  max-width: 28ch;
  text-wrap: balance;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 36px 0;
}

.timeline {
  list-style: none;
  padding: 0;
  position: relative;
  max-width: var(--narrow);
  margin: 40px auto 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  opacity: 0.55;
}
.timeline > li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 36px;
  padding: 22px 0;
  position: relative;
}
.timeline > li::before {
  content: "";
  position: absolute;
  left: 86px;
  top: 32px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1px solid var(--gold-deep);
}
.timeline .t-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--gold-deep);
  line-height: 1.4;
}
.timeline .t-body h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 4px 0 6px;
}
.timeline .t-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
.apply-form .field-wide { grid-column: 1 / -1; }
.apply-form textarea {
  min-height: 120px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
  outline: none;
  resize: vertical;
  line-height: 1.6;
  transition: border-color .3s ease;
}
.apply-form textarea:focus { border-bottom-color: var(--gold); }
.apply-form select {
  height: 46px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.apply-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 16px;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 36px;
}
.region-chip {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
  font-family: var(--sans);
}
.region-chip:hover { border-color: var(--ink); }
.region-chip.is-active { background: var(--ink); color: var(--cream-light); border-color: var(--ink); }

.doula-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.doula-card {
  background: var(--cream-light);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  box-shadow: var(--shadow-card);
  transition: transform .4s ease, box-shadow .4s ease;
}
.doula-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 22px 40px -22px rgba(46,46,27,.28);
}
.doula-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--sand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold-deep);
  border: 1px solid var(--hairline);
}
.doula-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin: 0;
}
.doula-loc {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 4px 0 12px;
}
.doula-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.doula-tag {
  font-size: 12px;
  font-style: italic;
  font-family: var(--serif);
  color: var(--ink-soft);
  background: rgba(181,168,122,.16);
  padding: 3px 10px;
}
.doula-contact {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  display: inline-block;
}
.doula-contact:hover { color: var(--gold-deep); }

@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: none; }
  .faculty { grid-template-columns: 1fr; }
  .doula-grid { grid-template-columns: 1fr; }
  .apply-form { grid-template-columns: 1fr; }
  .module-detail > li { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { left: 4px; }
  .timeline > li { grid-template-columns: 70px 1fr; gap: 18px; }
  .timeline > li::before { left: 0; }
  .panel { padding: 32px 24px; }
  .page-hero-content { padding: 140px 24px 48px; }
}

/* ────────── BAND STARS ────────── */
.band-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.band-stars .star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFF3D0;
  box-shadow: 0 0 6px rgba(255, 243, 208, 1), 0 0 14px rgba(255, 243, 208, 0.7);
  opacity: 0;
  animation: twinkle var(--twk-dur, 4s) ease-in-out var(--twk-delay, 0s) infinite;
}
.band-stars .star.lg {
  width: 4px; height: 4px;
  box-shadow: 0 0 9px rgba(255, 243, 208, 1), 0 0 20px rgba(255, 243, 208, 0.85);
}
.band-stars .star.gold {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212, 194, 138, 1), 0 0 18px rgba(212, 194, 138, 0.75);
}
.band-quote { isolation: isolate; }
.band-quote > .quote-mark,
.band-quote > blockquote,
.band-quote > figcaption { position: relative; z-index: 2; }

/* ── subpage additions ── */

/* Stars overlay inside subpage page-heroes */
.page-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.page-hero-stars .star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFF3D0;
  box-shadow: 0 0 6px rgba(255,243,208,1), 0 0 14px rgba(255,243,208,0.7);
  opacity: 0;
  animation: twinkle var(--twk-dur,4s) ease-in-out var(--twk-delay,0s) infinite;
}
.page-hero-stars .star.lg { width: 5px; height: 5px; }
.page-hero-stars .star.gold { background: var(--gold); box-shadow: 0 0 8px rgba(200,194,128,.8), 0 0 20px rgba(200,194,128,.4); }

/* CTA row at bottom of page hero */
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Short hero variant (e.g. member login) */
.page-hero--short { min-height: 42vh; }

/* Half-width form fields */
.apply-form .field-half {
  grid-column: span 1;
}
@media (max-width: 640px) {
  .apply-form .field-half { grid-column: 1 / -1; }
}

/* FAQ items */
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
  cursor: pointer;
}
/* ── Doula Loop Grid – CPT styles ───────────────────────────── */
.doula-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.doula-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft, #4a4a34);
  margin: 0 0 14px;
  flex-grow: 1;
}

/* Equal height within loop grid */
.e-loop-item {
  display: flex;
  flex-direction: column;
}
.e-loop-item .elementor-widget-shortcode,
.e-loop-item .elementor-shortcode {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.e-loop-item .doula-card {
  height: 100%;
  box-sizing: border-box;
}

/* Section wrapper for loop grid */
.ddi-loop-section {
  background: var(--bg-sand);
  padding-block: 48px 80px;
  width: 100%;
}

/* Responsive doula grid */
@media (max-width: 767px) {
  .doula-card {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 22px 18px;
  }
  .doula-avatar {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }
  .doula-name { font-size: 20px; }
}


/* ================================================================
   ELEMENTOR NATIVE WIDGET COMPATIBILITY
   CSS classes on widget wrappers need these rules so Elementor's own
   heading element resets don't override the intended styles.
   ================================================================ */

/* Eyebrow heading widget */
.eyebrow .elementor-heading-title {
  font-family: var(--sans);
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
  line-height: inherit;
}
.page-hero .eyebrow .elementor-heading-title,
.page-hero-content .eyebrow .elementor-heading-title {
  color: var(--gold);
}

/* H2 display-sm heading widget */
.display-sm .elementor-heading-title {
  font-family: var(--serif) !important;
  font-size: clamp(34px, 4.2vw, 54px) !important;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.003em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 .8em;
}
.display-sm .elementor-heading-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

/* Page-hero lede text editor */
.page-hero-lede .elementor-widget-container,
.page-hero-lede .elementor-text-editor,
.page-hero-lede .elementor-text-editor p {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
  color: rgba(245, 242, 234, 0.88);
  max-width: 56ch;
  margin: 0;
}

/* Section-lede text editor */
.section-lede .elementor-text-editor,
.section-lede .elementor-text-editor p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

/* Section-head container text alignment */
.section-head .elementor-widget-wrap {
  align-items: center;
}

/* Ensure page-hero content container stacks properly */
.page-hero-content.e-con {
  position: relative;
  z-index: 2;
}

/* Remove default elementor widget top-margin inside page-hero-content */
.page-hero-content .elementor-widget + .elementor-widget {
  margin-top: 0;
}
.page-hero-content .e-con + .elementor-widget,
.page-hero-content .elementor-widget + .e-con {
  margin-top: 0;
}

/* ================================================
   Phase 2 — Buttons, FAQ, Form, Login native widgets
   ================================================ */

/* --- Button row containers: remove default widget margins --- */
.e-con[data-id="uh_btns"] > .elementor-widget,
.e-con[data-id="uc_btns"] > .elementor-widget {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* --- FAQ Accordion (ddi-faq) --- */
.elementor-widget-accordion.ddi-faq {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.ddi-faq .elementor-accordion-item {
  background: transparent;
  border: none !important;
  border-bottom: 1px solid rgba(46,46,27,0.1) !important;
}
.ddi-faq .elementor-accordion-item:last-child {
  border-bottom: none !important;
}
.ddi-faq .elementor-tab-title {
  background: transparent !important;
  border: none !important;
  padding: 22px 0 !important;
}
.ddi-faq .elementor-tab-content {
  padding: 0 0 20px !important;
  border: none !important;
}
.ddi-faq .elementor-accordion-icon {
  color: var(--gold-deep);
}

/* --- Application Form (ddi-form) --- */
.ddi-form .elementor-field-label {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  margin-bottom: 8px;
}
.ddi-form .elementor-field-group .elementor-field {
  background: var(--cream-light) !important;
  border: 1px solid rgba(46,46,27,0.2) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  padding: 12px 16px !important;
  border-radius: 2px !important;
  width: 100%;
  box-sizing: border-box;
}
.ddi-form .elementor-field-group .elementor-field:focus {
  outline: none;
  border-color: var(--gold-deep) !important;
}
.ddi-form .e-form__buttons .elementor-button {
  background: var(--ink) !important;
  color: var(--cream-light) !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  border: none !important;
  border-radius: 2px !important;
}
.ddi-form .e-form__buttons .elementor-button:hover {
  background: #3d3d28 !important;
}

/* --- Login panel max-width and centering --- */
.e-con[data-id="ml_pan"] {
  max-width: 480px !important;
  width: 100%;
}
/* Login panel heading */
.ddi-login-title .elementor-heading-title {
  font-family: var(--serif) !important;
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  text-align: center;
  margin: 0 0 8px;
}
/* Login panel subtitle */
.ddi-login-sub .elementor-text-editor,
.ddi-login-sub .elementor-text-editor p {
  color: #6b6b50 !important;
  font-size: .95rem !important;
  text-align: center;
  margin: 0 0 28px;
}
/* Login widget button full-width */
.e-con[data-id="ml_pan"] .elementor-login .elementor-button {
  width: 100%;
  justify-content: center;
  border-radius: 2px;
}
/* Login labels */
.e-con[data-id="ml_pan"] .elementor-field-label {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
/* Login fields */
.e-con[data-id="ml_pan"] .elementor-field {
  padding: 12px 16px !important;
  border-radius: 2px !important;
}
/* Lost password link */
.e-con[data-id="ml_pan"] .elementor-widget-login--lost-password a {
  color: var(--gold-deep);
  font-size: .9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(138,136,64,.3);
}
/* Hero min-height override for Elementor containers */
.e-con.page-hero { min-height: 56vh !important; }
.e-con.page-hero--short { min-height: 42vh !important; }

/* Ghost button fix: Elementor ignores rgba(0,0,0,0) — override via element ID */
.elementor-element-uh_g .elementor-button,
.elementor-element-uc_g .elementor-button {
    background-color: transparent !important;
    background-image: none !important;
}


.elementor-element-of_pan {
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 40px -28px rgba(46,46,27,.22), 0 4px 12px -8px rgba(46,46,27,.12);
}


.elementor-element-uf_hd > .e-con-inner,
.elementor-element-um_hd > .e-con-inner,
.elementor-element-uc_hd > .e-con-inner,
.elementor-element-os_hd > .e-con-inner,
.elementor-element-of_shd > .e-con-inner,
.elementor-element-of_hd > .e-con-inner {
    align-items: center;
}


.elementor-element-of_pan {
    max-width: 860px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.elementor-element-m_main > .e-con-inner {
    background: transparent;
}


/* Nav tiles width constraint — matches hero content 1200px */
#hp-cards {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* Homepage steps preview (.ddi-steps) */
.ddi-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.ddi-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.ddi-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(46,46,27,.2);
    background: rgba(46,46,27,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 19px;
    font-style: italic;
    color: var(--gold-deep);
    flex-shrink: 0;
}
.ddi-step-txt {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink);
}

/* ============================================
   Newsletter form (news007) — Elementor Pro Form
   ============================================ */
.elementor-element-news007 > .elementor-widget-container {
    background: #F5F2EA;
    padding: 40px 40px 36px;
    box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 40px -28px rgba(46,46,27,.22), 0 4px 12px -8px rgba(46,46,27,.12);
}
.elementor-element-news007 .elementor-form-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.elementor-element-news007 .elementor-field-group {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.elementor-element-news007 .elementor-field-label {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8A8840;
    margin-bottom: 6px;
    display: block;
}
.elementor-element-news007 .elementor-field-textual {
    height: 46px;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(46,46,27,0.28) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    padding: 0 0 4px !important;
    width: 100%;
    outline: none;
}
.elementor-element-news007 .elementor-field-textual::placeholder { color: rgba(46,46,27,0.4); }
.elementor-element-news007 .elementor-checkbox-items-wrapper { display: flex; flex-direction: column; gap: 10px; }
.elementor-element-news007 .elementor-field-option {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
}
.elementor-element-news007 .elementor-field-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--ink);
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 0;
    margin: 0;
}
.elementor-element-news007 .elementor-field-option input[type="checkbox"]:checked {
    background: var(--ink);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23F5F2EA' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}
.elementor-element-news007 .e-form__buttons__wrapper,
.elementor-element-news007 .elementor-button-wrapper { width: 100%; }
.elementor-element-news007 .elementor-button {
    width: 100% !important;
    height: 50px;
    background: var(--ink) !important;
    color: var(--cream-light) !important;
    border: none !important;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 0 !important;
}

/* ============================================
   Login widget (5b8d8f) — Elementor Pro Login
   ============================================ */
.elementor-element-5b8d8f { width: 100%; margin-top: 20px; }
.elementor-element-5b8d8f .elementor-login { display: flex; flex-direction: column; gap: 16px; }
.elementor-element-5b8d8f .elementor-field-label {
    display: block;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 8px;
}
.elementor-element-5b8d8f .elementor-field-textual,
.elementor-element-5b8d8f input[type="text"],
.elementor-element-5b8d8f input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: none !important;
    border-bottom: 1px solid rgba(46,46,27,.3) !important;
    background: transparent !important;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
}
.elementor-element-5b8d8f .elementor-button {
    width: 100%;
    padding: 14px;
    background: var(--ink) !important;
    color: #EDE9E0 !important;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: none !important;
    cursor: pointer;
    margin-top: 4px;
    border-radius: 0 !important;
}
.elementor-element-5b8d8f .elementor-login__lost-password a {
    display: block;
    text-align: center;
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 12px;
    text-decoration: none;
    border-bottom: none;
}

/* ============================================
   DDI Footer native (Template 203)
   ============================================ */
#ft-main {
    font-family: var(--sans);
    color: rgba(245,242,234,.86);
}

/* 4-column grid — override Elementor flexbox */
#ft-inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 60px;
    border-bottom: 1px solid rgba(245,242,234,.1);
    width: 100%;
    box-sizing: border-box;
}
/* Kill Elementor inner padding on grid children */
#ft-inner > .e-con { padding: 0 !important; background: transparent !important; }

/* ---- Brand column ---- */
.elementor-element-ft_logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.15);
}
.ft-brand-name {
    display: flex;
    flex-direction: column;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    line-height: 1.15;
    color: #F5F2EA;
    margin-top: 6px;
}
.ft-n { display: block; }
.ft-n-gold { color: #C8C280; }
.elementor-element-ft_name > .elementor-widget-container,
.elementor-element-ft_name p { margin: 0; padding: 0; }
.ft-tagline {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(245,242,234,.65);
    line-height: 1.4;
    max-width: 28ch;
    margin: 12px 0 0 !important;
}

/* ---- Column headings ---- */
.elementor-element-ft_h_udd .elementor-heading-title,
.elementor-element-ft_h_inst .elementor-heading-title,
.elementor-element-ft_h_kon .elementor-heading-title {
    font-family: var(--sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin: 0 0 20px !important;
    padding: 0;
    line-height: 1.2;
}

/* ---- Footer links (text-editor) ---- */
.elementor-element-ft_l_udd p,
.elementor-element-ft_l_inst p,
.elementor-element-ft_l_kon p {
    margin: 0 0 11px !important;
    line-height: 1.6;
}
.elementor-element-ft_l_udd a,
.elementor-element-ft_l_inst a {
    font-size: 14px;
    color: rgba(245,242,234,.75);
    text-decoration: none;
    transition: color .3s;
}
.elementor-element-ft_l_kon a,
.elementor-element-ft_l_kon p {
    font-size: 14px;
    color: rgba(245,242,234,.75);
    text-decoration: none;
    transition: color .3s;
    line-height: 1.6;
}
.elementor-element-ft_l_udd a:hover,
.elementor-element-ft_l_inst a:hover,
.elementor-element-ft_l_kon a:hover { color: #C8C280; }

/* ---- Base bar ---- */
#ft-base {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.elementor-element-ft_copy p,
.elementor-element-ft_blinks p {
    font-size: 12px;
    color: rgba(245,242,234,.45);
    letter-spacing: .05em;
    margin: 0 !important;
}
.ft-base-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.elementor-element-ft_blinks a {
    font-size: 12px;
    color: rgba(245,242,234,.45);
    text-decoration: none;
    transition: color .3s;
}
.elementor-element-ft_blinks a:hover { color: #C8C280; }

/* ---- Credit ---- */
.elementor-element-ft_credit > .elementor-widget-container { margin-top: 8px; }
.ft-credit-p {
    text-align: center;
    font-size: 11px;
    color: rgba(245,242,234,.25);
    letter-spacing: .05em;
    margin: 0 !important;
}
.ft-credit-p a {
    color: rgba(245,242,234,.32);
    text-decoration: none;
    border-bottom: 1px solid rgba(245,242,234,.12);
    transition: color .25s;
}
.ft-credit-p a:hover { color: #C8C280; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
    #ft-inner { grid-template-columns: 1fr 1fr !important; gap: 40px; }
}
@media (max-width: 560px) {
    #ft-main { padding-left: 24px !important; padding-right: 24px !important; }
    #ft-inner { grid-template-columns: 1fr !important; gap: 32px; }
    .elementor-element-ft_base { flex-direction: column !important; gap: 10px; text-align: center; }
    .ft-base-links { justify-content: center; gap: 14px; }
}

/* White image filter */
.elementor-element-1c30b92 img { filter: brightness(0) invert(1); }

/* Reusable white image filter */
.img-white img,
.img-white .elementor-widget-container img,
img.img-white { filter: brightness(0) invert(1) !important; }


/* ============================================
   Modul-oversigt: 6 synlige + 6 låste
   ============================================ */
.mod-overview { font-family: 'Cormorant Garamond', serif; }
.mod-item { display: flex; align-items: flex-start; gap: 32px; padding: 26px 0; border-bottom: 1px solid rgba(46,46,27,.1); }
.mod-item:last-child { border-bottom: none; }
.mod-n { font-size: 22px; font-style: italic; color: #C8C280; min-width: 44px; flex-shrink: 0; padding-top: 3px; line-height: 1; }
.mod-content { flex: 1; }
.mod-title { font-size: 20px; color: #2E2E1B; margin-bottom: 8px; font-weight: 500; line-height: 1.25; font-family: 'Cormorant Garamond', serif; }
.mod-desc { font-size: 14.5px; color: #6b5f45; line-height: 1.65; font-family: 'Inter', sans-serif; margin: 0; }
.mod-lock-wrap { position: relative; overflow: hidden; margin-top: -1px; }
.mod-lock-blur { filter: blur(4px); pointer-events: none; user-select: none; }
.mod-lock-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(245,242,234,0) 0%, rgba(245,242,234,.82) 32%, #F5F2EA 62%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 24px 40px; text-align: center; }
.mod-lock-msg { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-style: italic; color: #5c5038; margin-bottom: 8px; line-height: 1.3; }
.mod-lock-sub { font-family: 'Inter', sans-serif; font-size: 13px; color: #8a7d5a; margin-bottom: 24px; line-height: 1.5; }
.mod-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #3b3b25; color: #EDE9E0 !important; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .06em; padding: 14px 28px; border-radius: 4px; text-decoration: none !important; }
.mod-cta-btn:hover { background: #2a2a18; }
.mod-cta-arrow { color: #C8C280; }
/* Homepage locked version */
.mod-hp-lock-wrap { position: relative; overflow: hidden; }
.mod-hp-lock-blur { filter: blur(4px); pointer-events: none; user-select: none; }
.mod-hp-lock-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(245,242,234,0) 0%, rgba(245,242,234,.85) 38%, #F5F2EA 68%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 24px 32px; text-align: center; }


/* ============================================
   Medlemsområde: materiale-kort (native containere)
   ============================================ */
.mat-card { box-shadow: inset 3px 0 0 #C8C280; transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.mat-card:hover { background: #FBF9F4 !important; box-shadow: inset 3px 0 0 #C8C280, 0 10px 28px -18px rgba(46,46,27,.35); transform: translateY(-1px); }
.mat-body { flex: 1 1 auto; min-width: 0; }
.mat-dl { margin-left: auto; flex-shrink: 0; }
.mat-dl .elementor-icon:hover { color: #3b3b25; }
@media (max-width: 560px) { .mat-dl { margin-left: 0; } }

/* Adgangskode-skærm (the_password_form) */
.ddi-pw-section .field label { display: block; font-family: 'Inter', sans-serif; font-size: .85rem; color: #2E2E1B; margin-bottom: 8px; }
.ddi-pw-section .field input { width: 100%; }


/* ============================================
   Find en doula: liste (loop)
   ============================================ */
.doula-row { display:grid !important; grid-template-columns:1fr 1fr 1fr auto; gap:12px 24px; align-items:center; padding:16px 0; border-bottom:1px solid rgba(46,46,27,0.08); }
.doula-row .elementor-widget { margin:0 !important; }
.doula-row p { margin:0; }
.doula-link { font-family:'Inter',sans-serif; font-size:11px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:#2E2E1B; text-decoration:none; border-bottom:1px solid rgba(46,46,27,0.3); padding-bottom:1px; white-space:nowrap; }
.doula-link:hover { color:#8A8840; border-color:#8A8840; }
.doula-sep { display:inline-block; width:14px; }
@media (max-width:720px){ .doula-row{ grid-template-columns:1fr; gap:4px 0; } }
