/* ==========================================================================
   De Kracht van Verbinding — "Warme bedding"
   Shared stylesheet (plain CSS, mobile-first)
   Palette: cream #FBF6EE · sand #F3E9DA · espresso #3B2F28 · muted #7A6A5D
            terracotta #D4643C · hover #B84E2B · ocher #E0A458 · sage #8A9B6E
            dark #3A2B29 · logo swatch #B56233
   ========================================================================== */

/* ---------- 1. Custom properties ---------- */
:root {
  --cream: #FBF6EE;
  --sand: #F3E9DA;
  --espresso: #3B2F28;
  --muted: #7A6A5D;
  --terracotta: #D4643C;
  --hover: #B84E2B;
  --ocher: #E0A458;
  --sage: #8A9B6E;
  --dark: #3A2B29;
  --white: #FFFFFF;
  --swatch: #B56233;
  --error: #B0301F;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --radius-arch: 999px 999px 24px 24px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 32px rgba(59, 47, 40, 0.09);
  --shadow-lift: 0 22px 48px rgba(59, 47, 40, 0.16);

  --container: 1200px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.98rem + 0.15vw, 1.125rem);
  line-height: 1.7;
  color: var(--espresso);
  background-color: var(--cream);
  /* Subtle paper grain via inline SVG noise data-URI */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
a { color: var(--terracotta); }
a:hover { color: var(--hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.7rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); }

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

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Layout utilities ---------- */
.container {
  width: min(var(--container), 100% - clamp(2rem, 6vw, 4rem));
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { color: var(--muted); }
.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.9rem;
}
.section-head .eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ocher);
  border-radius: 2px;
}

.text-center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1.05rem + 0.35vw, 1.3rem); color: var(--muted); }

/* ---------- 4. Buttons & badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--hover); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-light { background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: var(--sand); color: var(--espresso); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-outline { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }

.btn-ghost { background: transparent; color: var(--terracotta); }
.btn-ghost:hover { background: rgba(212, 100, 60, 0.1); color: var(--hover); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 1rem 0.4rem;
  border-radius: var(--radius-pill);
  background: var(--sage);
  color: #fff;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.badge--ocher { background: var(--ocher); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.86);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  background: rgba(251, 246, 238, 0.93);
  border-bottom-color: rgba(212, 100, 60, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--espresso);
}
.brand:hover { color: var(--espresso); }
.brand-mark {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--swatch);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(181, 98, 51, 0.35);
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.28rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 12px;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  z-index: 130;
}
.nav-toggle-bar {
  display: block;
  width: 100%; height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen overlay menu (default) */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 4vh, 3rem) clamp(1.5rem, 6vw, 3rem) 5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              visibility 0.35s;
  overflow-y: auto;
}
.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  color: var(--espresso);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--terracotta); background: rgba(212, 100, 60, 0.08); }
.nav-link.is-active { color: var(--terracotta); }

/* Large Fraunces links inside the mobile overlay */
.menu-open .nav-list > .nav-item > .nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 500;
  padding: 0.3rem 0.6rem;
}

.submenu-toggle-arrow {
  width: 12px; height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  margin-left: 0.2rem;
  flex: none;
}
.submenu-open .submenu-toggle-arrow { transform: rotate(-135deg); }

.submenu {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0 0.6rem 1.2rem;
}
.submenu-open .submenu { display: flex; }
.submenu-link {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.submenu-link:hover { color: var(--terracotta); background: var(--sand); }

.nav-cta { margin-top: 1.1rem; }
.menu-open .nav-cta .btn { font-family: var(--font-body); font-size: 1rem; }

.nav-social {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 2.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--espresso);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.social-link:hover { background: var(--terracotta); color: var(--cream); transform: translateY(-2px); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 50vh;
  max-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(251, 246, 238, 0.22) 0%,
    rgba(251, 246, 238, 0.04) 42%,
    rgba(251, 246, 238, 0.9) 88%,
    var(--cream) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2rem, 6vh, 3.5rem);
  padding-top: 6rem;
}
.hero-quote {
  max-width: 880px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.65rem, 1.05rem + 3.1vw, 3.4rem);
  line-height: 1.28;
  margin: 0;
}
.hero-quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hero-scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 5vh, 3rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.hero-scroll-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: scrollBounce 2.2s var(--ease) infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(-4px); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Drifting decorative blobs */
.blob-drift {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.13;
  animation: drift 36s ease-in-out infinite alternate;
}
.blob-drift--a { width: 340px; height: 340px; background: var(--terracotta); top: 12%; left: -8%; }
.blob-drift--b { width: 260px; height: 260px; background: var(--ocher); bottom: 8%; right: -6%; animation-delay: -12s; }
.blob-drift--c { width: 200px; height: 200px; background: var(--sage); top: 30%; right: 12%; animation-delay: -24s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1) rotate(0deg); }
  to { transform: translate(42px, -56px) scale(1.12) rotate(24deg); }
}

/* ---------- 7. Blob section dividers ---------- */
.blob-wrap { line-height: 0; }
.blob-wrap svg { width: 100%; height: clamp(46px, 9vw, 130px); display: block; }
.blob-wrap--flip svg { transform: rotate(180deg); }

/* ---------- 8. Intro band ---------- */
.intro { text-align: center; }
.intro h1 { margin-bottom: 0.4em; }
.intro .tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.05rem + 0.9vw, 1.75rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1.2em;
  line-height: 1.45;
}
.intro-duo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.6rem;
  margin: 1.6rem 0 0.4rem;
}
.duo-name {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--espresso);
}
.duo-name::before {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
}
.duo-name:last-child::before { background: var(--ocher); }
.duo-amp {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--terracotta);
}
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  min-height: 44px;
}
.intro-link .arrow { transition: transform 0.25s var(--ease); }
.intro-link:hover .arrow { transform: translateX(5px); }

/* ---------- 9. Organic cards (Aanbod) ---------- */
.card-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--sand);
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card:hover .card-media img { transform: scale(1.04); }

.card-media { background: var(--white); overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card-media--flyer img { aspect-ratio: auto; object-fit: contain; }

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
  padding: 1.6rem 1.6rem 1.9rem;
}
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  align-self: flex-start;
  min-height: 44px;
  position: relative;
}
.card-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover .card-link::after { transform: scaleX(1); }
.card-link .arrow { transition: transform 0.25s var(--ease); }
.card-link:hover .arrow { transform: translateX(5px); }

.event-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  align-self: flex-start;
  min-height: 44px;
  position: relative;
}
.event-cta::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.card:hover .event-cta::after { transform: scaleX(1); }
.event-cta .arrow { transition: transform 0.25s var(--ease); }
.event-cta:hover .arrow { transform: translateX(5px); }

/* ---------- 10. Split layouts ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split--media-left .split-media { order: -1; }

.split-media { max-width: 560px; }
.split-body h2 { margin-bottom: 0.4em; }
.split-body p { color: var(--muted); max-width: 56ch; }
.split-body .btn, .split-body .intro-link { margin-top: 0.8rem; }

.arch-img {
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-img--portrait { aspect-ratio: 3 / 4; }
.arch-img--landscape { aspect-ratio: 4 / 3; }
.arch-img--small { max-width: 420px; }

/* ---------- 11. Dark quote band ---------- */
.quote-band {
  position: relative;
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.quote-band .blob-drift { opacity: 0.1; }
.quote-band blockquote {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.15rem + 1.9vw, 2.6rem);
  line-height: 1.35;
}
.quote-band blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.4;
  color: var(--terracotta);
  margin-bottom: 1.4rem;
}
.quote-band .quote-band-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- 12. Contact CTA band ---------- */
.cta-band { text-align: center; position: relative; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band .lead { max-width: 520px; margin: 0 auto 1.8rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(251, 246, 238, 0.82);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 1.1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo .brand-mark { width: 44px; height: 44px; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--cream);
}
.footer-mission { max-width: 34ch; margin: 0; font-size: 0.95rem; }

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(251, 246, 238, 0.82);
  text-decoration: none;
  font-size: 0.98rem;
  min-height: 40px;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: var(--ocher); transform: translateX(3px); }
.footer-col a .arrow { font-size: 0.8rem; opacity: 0.7; }
.footer-contact p { margin: 0 0 0.4rem; font-size: 0.95rem; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1rem; }
.footer-social .social-link { background: rgba(251, 246, 238, 0.1); color: var(--cream); width: 44px; height: 44px; }
.footer-social .social-link:hover { background: var(--terracotta); color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(251, 246, 238, 0.14);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 1.35rem 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(251, 246, 238, 0.6);
  text-align: center;
}

/* ---------- 14. Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ---------- 15. Poetic lines (Visie) ---------- */
.poem-lines {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.4;
  margin: 0;
  padding: 0;
}
.poem-lines li { margin-bottom: 0.35em; }
.poem-lines li:last-child { color: var(--terracotta); font-style: italic; }

/* ---------- 16. Method pillars ---------- */
.pillars {
  display: grid;
  gap: clamp(1rem, 3vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(5, 1fr); } }

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.8rem 1.1rem;
  background: var(--cream);
  border: 1px solid rgba(212, 100, 60, 0.16);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(212, 100, 60, 0.4); }
.pillar svg { width: 44px; height: 44px; color: var(--terracotta); }
.pillar h3 { font-size: 1.12rem; margin: 0; }

/* ---------- 17. Prose (long vision texts) ---------- */
.prose {
  max-width: 65ch;
  margin-inline: auto;
  font-size: clamp(1.02rem, 1rem + 0.2vw, 1.15rem);
  line-height: 1.85;
}
.prose p { margin-bottom: 1.35em; }
.prose .dropcap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 3.6em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--terracotta);
}

/* Editorial full-width image break */
.editorial-break { margin-block: clamp(2.5rem, 6vw, 4.5rem); }
.editorial-break img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.image-caption {
  margin: 1.1rem auto 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

/* ---------- 18. Program cards (Jaartrainingen) ---------- */
.program-list { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.program-card {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .program-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .program-card--flip .program-media { order: 2; }
}
.program-media { display: flex; flex-direction: column; gap: 0.8rem; }
.flyer-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(59, 47, 40, 0.1);
}
.flyer-card img { width: 100%; height: auto; border-radius: 10px; }
.flyer-hint {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.lightbox-trigger {
  display: block;
  cursor: zoom-in;
  border-radius: var(--radius-md);
}
.lightbox-trigger:focus-visible { outline: 3px solid var(--terracotta); }

.program-body { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.program-body .badge { margin-bottom: 0.2rem; }
.program-body h3 { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.2rem); margin: 0; }
.program-meta {
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}
.program-copy { margin: 0; color: var(--muted); }

/* Accordion */
.accordion {
  width: 100%;
  margin-top: 0.6rem;
  border: 1px solid rgba(212, 100, 60, 0.3);
  border-radius: var(--radius-md);
  background: var(--cream);
  overflow: hidden;
}
.accordion summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  user-select: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  margin-top: -4px;
}
.accordion[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.accordion-body { padding: 0 1.2rem 1.2rem; color: var(--muted); font-size: 0.97rem; }
.accordion-body p { margin-bottom: 0.8em; }

/* Coming soon card */
.coming-soon {
  border: 2px dashed var(--ocher);
  border-radius: var(--radius-lg);
  background: var(--cream);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}
.coming-soon svg { width: 40px; height: 40px; color: var(--ocher); }
.coming-soon .coming-soon-label {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--hover);
}
.coming-soon p { color: var(--muted); margin: 0; max-width: 44ch; }

/* Atmospheric band */
.atmo-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.atmo-band img { width: 100%; max-height: 62vh; object-fit: cover; }

/* ---------- 19. Videos ---------- */
.video-list { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.video-item h3 { margin-bottom: 0.2em; }
.video-item .video-sub { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }
.video-frame {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-soft);
}
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #1d1513; }
.video-download { font-size: 0.88rem; color: var(--muted); margin-top: 0.7rem; }
.video-download a { font-weight: 700; }

/* ---------- 20. Bio pages ---------- */
.bio-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.monogram {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--cream);
}
.monogram--terracotta { background: var(--terracotta); }
.monogram--ocher { background: var(--ocher); }
.bio-header h1 { margin: 0; }
.bio-header .bio-name { color: var(--muted); font-weight: 600; }

.bio-quote {
  margin: 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--ocher);
  background: var(--sand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--espresso);
}
.bio-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(122, 106, 93, 0.18);
}
.bio-list li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: translateY(-2px);
}
.bio-list--ocher li::before { background: var(--ocher); }
.bio-list .placeholder { color: var(--muted); font-style: italic; }

/* Placeholder styling for open content gaps */
.placeholder {
  color: var(--muted);
  font-style: italic;
}
.placeholder-block {
  background: var(--sand);
  border: 1px dashed rgba(122, 106, 93, 0.45);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- 21. Contact page ---------- */
.contact-info-list { display: grid; gap: 1.1rem; margin: 1.6rem 0; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--sand);
  border-radius: var(--radius-md);
  font-weight: 600;
}
.contact-info-item svg { flex: none; width: 22px; height: 22px; color: var(--terracotta); }
.contact-info-item .placeholder { font-weight: 400; }

.contact-form {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}
.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(122, 106, 93, 0.35);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--espresso);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(212, 100, 60, 0.18);
}
.form-field--error input,
.form-field--error textarea { border-color: var(--error); }
.field-error {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.4rem;
}
.form-field--error .field-error { display: block; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }
.form-success {
  display: none;
  background: rgba(138, 155, 110, 0.16);
  border: 1px solid var(--sage);
  color: #4c5a38;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.form-success.show { display: block; }

/* ---------- 22. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(58, 43, 41, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(94vw, 1100px);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.lightbox-caption {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 0.9rem;
  text-align: center;
  max-width: 90vw;
  background: rgba(58, 43, 41, 0.7);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
}
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(251, 246, 238, 0.5);
  background: rgba(58, 43, 41, 0.6);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lightbox-btn:hover { background: var(--terracotta); border-color: var(--terracotta); transform: scale(1.05); }
.lightbox-close { top: clamp(1rem, 4vw, 2rem); right: clamp(1rem, 4vw, 2rem); }
.lightbox-prev { left: clamp(0.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(0.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

/* ---------- 23. Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--terracotta);
  color: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0.3s, background 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--hover); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 24. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  background: var(--sand);
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 0.25em; }
.page-hero .page-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.7rem);
  color: var(--muted);
  margin: 0;
  max-width: 640px;
}

/* ---------- 25. Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 500;
  background: var(--terracotta);
  color: var(--cream);
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-scroll-dot { animation: none; }
}

/* ---------- 27. Breakpoint refinements ---------- */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    inset: auto;
    z-index: auto;
    background: transparent;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }
  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .menu-open .nav-list > .nav-item > .nav-link {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 0.65rem 0.9rem;
  }
  .nav-cta { margin-top: 0; margin-left: 0.4rem; }
  .nav-cta .btn { min-height: 44px; padding: 0.6rem 1.4rem; font-size: 0.95rem; }
  .nav-social { display: none; }

  /* Desktop dropdown */
  .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 230px;
    padding: 0.55rem;
    background: var(--cream);
    border: 1px solid rgba(212, 100, 60, 0.25);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
                visibility 0.25s;
  }
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu,
  .has-submenu.submenu-open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .submenu::before {
    content: "";
    position: absolute;
    top: -10px; left: 0; right: 0;
    height: 10px;
  }
  .submenu-link { white-space: nowrap; padding: 0.55rem 1rem; }
  .submenu-toggle-arrow { transform: rotate(45deg); }
}

