/* ============================================================
   Studio Balearic — shared design system
   Rebuilt against real screenshots of studiobalearic.be (Wix).
   Real colors/fonts confirmed from the live site's own CSS.
   ============================================================ */

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

:root {
  --cream:      #f9f0df; /* pale cream section bg */
  --tan:        #e5d5bc; /* warm tan — nav bar + divider bg */
  --tan-dark:   #bfb08f; /* muted khaki */
  --blush:      #f4d2c6; /* soft peach — ACCENTS ONLY (hover states, badges,
                            underlines/borders, thin decorative bands).
                            Not for full-section backgrounds. */
  --grey-bg:    #f0e9de; /* warm cream section bg (wax-seal rows) */
  --accent:     #70635c; /* dark warm brown, used for headings + links */
  --accent-2:   #cdb27d; /* warm gold, secondary accents + CTAs */
  --ink:        #212121;
  --muted:      #70635c; /* = --accent: één grijs voor alle lopende tekst (2026-10-31) */
  --muted-light: #7d6f67; /* iets lichtere taupe voor kleine lettertjes (.small-print) */
  --white:      #f8f7f3; /* near-white (warmer than pure #fff) */

  /* Real site fonts: Fraunces (serif) is used for BOTH headings and body
     copy on the live site (Google Fonts, as-is). Nav/utility text uses a
     plain sans (Arial on the live site) — Outfit substituted for a cleaner
     web-font version. A script font approximates the "Balearic" signature
     logotype (exact font not identifiable without file access). */
  --font-display: "Fraunces", serif;
  --font-body:    "Fraunces", serif;
  --font-nav:     "Outfit", sans-serif;
  --font-script:  "Mrs Saint Delafield", cursive;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius: 2px;
  --radius-pill: 999px;
  --max-width: 1200px;
}

/* overflow-x: clip i.p.v. hidden: hidden maakt van body een eigen scrollcontainer,
   waardoor het sticky menu niet meer bovenaan bleef staan. (hidden blijft als
   fallback voor browsers zonder clip.) */
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  background: var(--white);
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-style: italic; color: var(--accent); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }

p { margin-bottom: var(--space-2); }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ── Section rhythm ─────────────────────────────────────────── */
.section { padding: var(--space-6) 0; }
.section-cream { background: var(--cream); }
/* Neutral cream, not --blush: this class backs full-width sections (and on
   realisaties/b2baanbod every section on the page), which is too much area
   for the peach. --blush is reserved for small accents only — see :root. */
.section-blush { background: var(--cream); }
.section-grey  { background: var(--grey-bg); }
.section-white { background: var(--white); }

/* ── Nav ─────────────────────────────────────────────────────── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--tan);
}
nav.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  font-family: var(--font-nav);
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
/* 8 menu-items sinds "Agenda & Events": nooit over twee regels breken, en net
   boven de mobiele breedte wat minder ruimte tussen de items. */
.nav-links > li > a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1150px) {
  .nav-links { gap: var(--space-3); }
}
@media (min-width: 761px) and (max-width: 860px) {
  .nav-links { gap: var(--space-2); }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.1em; }
}
/* Klein woordmerk links in de balk — enkel op gsm (zie hieronder). */
.nav-logo { display: none; }
.nav-logo img { height: 18px; width: auto; }
/* Diensten-submenu (extra dienstenpagina's uit de admin) — dropdown op desktop */
.nav-links .has-sub { position: relative; }
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: var(--space-3) var(--space-3) var(--space-2);
  background: var(--tan);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.nav-links .sub-menu li + li { margin-top: var(--space-2); }
.nav-links .has-sub:hover .sub-menu,
.nav-links .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  line-height: 1;
}

@media (max-width: 760px) {
  nav.site-nav .container { justify-content: space-between; padding-top: var(--space-2); padding-bottom: var(--space-2); }
  .nav-logo { display: block; }
  .nav-toggle { display: block; margin-right: -0.6rem; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-3) var(--space-4);
    background: var(--tan);
    border-top: 1px solid var(--tan-dark);
    max-height: calc(100svh - 60px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  /* Mobiel: submenu altijd open, ingesprongen onder "Diensten" */
  .nav-links .has-sub { text-align: center; }
  .nav-links .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: var(--space-2) 0 0;
    background: none;
  }
  .nav-links .sub-menu a { font-size: 0.66rem; color: var(--muted); }
  .nav-links .sub-menu a.active { color: var(--accent); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .nav-links { transition: none; transform: none; }
}

/* ── Buttons — pill-shaped, understated, matches the real site ──── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-nav);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--tan-dark);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: var(--tan);
  color: var(--ink);
}
.btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-link {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-link:hover { color: var(--accent); }

/* ── Hero (beginpagina) — logo links op crème, spiegelfoto rechts ── */
/* De foto vloeit via een masker over in de crème (naar links en onderaan) en
   krijgt via een crème multiply-laag dezelfde warme tint als de pagina — het
   originele bestand blijft dus ongewijzigd. De spiegel in hero.jpg zit rechts
   (x ≈ 50–94%, y ≈ 20–74%): de uitsnede staat daarom helemaal rechts, en het
   fotovlak wordt nooit breder dan de foto zelf (1,25 : 1), zodat er boven en
   onder nooit iets van de spiegel wegvalt — ook niet op brede, lage schermen. */
.home-hero {
  position: relative;
  /* 85vh (min. 560px); op staande tablets begrensd zodat de smalle fotokolom
     niet zo hoog wordt dat de spiegel aan de zijkant wegvalt. */
  --home-hero-h: max(560px, min(85vh, 72vw));
  height: var(--home-hero-h);
  background: var(--cream);
  overflow: hidden;
}
.home-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(52%, calc(var(--home-hero-h) * 1.25));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.home-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.home-hero-photo picture, .home-hero-photo img { display: block; width: 100%; height: 100%; }
.home-hero-photo img { object-fit: cover; object-position: 100% 50%; }
.home-hero-brand {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* zelfde linkerrand als de gecentreerde container op brede schermen */
  padding-left: max(var(--space-4), calc((100vw - var(--max-width)) / 2 + var(--space-3)));
  padding-right: var(--space-3);
}
/* Het logo zelf staat verticaal in het midden; de kleine regel hangt eronder
   zonder mee te tellen voor de centrering. */
.home-hero-mark { position: relative; }
.home-hero-brand .logo { width: clamp(220px, 26vw, 400px); height: auto; } /* bijgesneden logo: breedte = de letters zelf */
.home-hero-line {
  position: absolute;
  top: 100%;
  left: 0;
  white-space: nowrap;
  margin: var(--space-3) 0 0;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Gsm: foto bovenaan (volle breedte, spiegel gecentreerd), logo eronder. */
@media (max-width: 760px) {
  .home-hero { height: auto; }
  .home-hero-photo {
    position: relative;
    width: 100%;
    /* ca. 60svh, maar nooit breder dan 1,25 : 1 (liggende gsm), anders valt de spiegel boven/onder weg */
    height: max(60svh, 80vw);
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .home-hero-photo img { object-position: 100% 50%; }
  /* Een aparte gsm-foto (admin) is al op maat gemaakt: gewoon centreren. */
  .home-hero.has-mobile-photo .home-hero-photo img { object-position: center; }
  .home-hero-brand {
    width: 100%;
    height: auto;
    align-items: center;
    text-align: center;
    padding: var(--space-3) var(--space-3) var(--space-5);
  }
  .home-hero-mark { display: flex; flex-direction: column; align-items: center; }
  .home-hero-brand .logo { width: min(72vw, 300px); }
  .home-hero-line { position: static; white-space: normal; padding-left: 0.32em; } /* letterafstand compenseren voor echte centrering */
}

/* ── Welcome section (below hero) ─────────────────────────────── */
.welcome {
  text-align: center;
  /* Top padding trimmed 6rem -> 4rem so the seal reads as anchored to the
     section rather than floating; the bottom keeps the 6rem rhythm. */
  padding: var(--space-5) 0 var(--space-6);
  background: var(--cream);
}
/* Replaces the old text lockup (STUDIO + script "Balearic"). The ammonite is
   981x824 of ink inside a 1080px square, so 115px renders it ~104x88px. */
.welcome-seal {
  display: block;
  width: 115px;
  max-width: 40%;
  height: auto;
  margin: 0 auto var(--space-2);
}
.welcome-tagline {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.welcome-text {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
}

/* ── Gallery strip (home) ─────────────────────────────────────── */
/* Flush 4-up row: one shared aspect-ratio on every item instead of the old
   per-item 3/4 · 1/1 · 1/1 · 3/4 stagger, so all four tops and bottoms line
   up. aspect-ratio rather than a fixed height keeps the row scaling with the
   viewport — at 1280px each cell is ~296x395px. */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  align-items: start;
  padding: 0 var(--space-3);
}
.strip-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tan);
  aspect-ratio: 3/4;
}
.strip-item img { width: 100%; height: 100%; object-fit: cover; }
.strip-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .strip { grid-template-columns: 1fr; }
}

/* ── Wax-seal service rows ─────────────────────────────────────── */
.seal-rows { background: var(--grey-bg); }
.seal-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.seal-row:last-child { border-bottom: none; }
.seal-row img { width: 220px; height: 220px; object-fit: contain; }
.seal-row h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: 0.5rem; color: var(--ink); }
.seal-row p { color: var(--muted); margin-bottom: var(--space-3); }
@media (max-width: 700px) {
  .seal-row { grid-template-columns: 1fr; text-align: center; }
  .seal-row img { width: 160px; height: 160px; margin: 0 auto; }
}

/* ── Testimonials — cards floating over a photo background ──────── */
.testimonial-section {
  position: relative;
  background: linear-gradient(rgba(40,32,24,0.35), rgba(40,32,24,0.35)), var(--ink);
  background-size: cover;
  background-position: center;
  padding: var(--space-6) var(--space-3);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: var(--max-width);
  margin: 0 auto;
}
/* Column flex so the author can be pushed to the bottom with margin-top:auto —
   otherwise its position follows the quote length and the three names sit at
   different heights. No height:100% needed: the cards are grid items and grid
   stretches them to the row height by default, which is what gives the flex
   column something to distribute. */
.testimonial-card {
  background: var(--cream);
  border-radius: 6px;
  padding: var(--space-4) var(--space-3);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin-bottom: var(--space-1); }
.testimonial-card p.quote { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: var(--space-2); }
.testimonial-card .author { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-top: auto; }
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ── Diensten (services) — minimal photo + italic text, no card box ── */
.services-title { text-align: center; padding: var(--space-5) 0 var(--space-4); }
.services-title h2 { font-style: italic; }
/* Flex rather than a fixed 2-column grid: a category with an odd number of
   formulas (Kleuradvies has one) would otherwise drop its card into column 1
   and leave column 2 empty, reading as left-aligned. The basis matches what a
   50/50 grid column was, so full rows look exactly as before — but a partial
   row now centres. */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5) var(--space-4);
}
/* Column flex so the CTA can be pushed down with margin-top:auto — otherwise
   its position follows the description length (Blueprint runs longer than
   Boost) and the buttons sit at different heights. No height:100% needed: the
   items are flex children of .service-grid, which stretches them to the row
   height by default. */
.service-item { flex: 0 1 calc(50% - (var(--space-4) / 2)); min-width: 0; display: flex; flex-direction: column; }
/* padding rather than margin for the gap above the button: margin-top is doing
   the auto-push, and on the tallest card in a row there is no slack left, so a
   margin would collapse to nothing and the button would hug the price. */
.service-cta { margin-top: auto; padding-top: var(--space-4); text-align: center; }
.service-item .photo { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--tan); margin-bottom: var(--space-2); }
.service-item .photo img { width: 100%; height: 100%; object-fit: cover; }
.service-item h3 { text-align: center; font-style: italic; font-weight: 500; margin-bottom: var(--space-2); }
.service-item .tagline { text-align: center; font-weight: 600; font-style: italic; margin-bottom: var(--space-1); }
.service-item .desc { text-align: center; font-style: italic; color: var(--muted); font-size: 0.95rem; }
/* The description is rendered through sb_paragraphs(), so it is a <div> of
   <p> blocks rather than one <p> — the last one's margin would otherwise
   double up with the next element's own top margin. */
.service-item .desc p:last-child { margin-bottom: 0; }
/* Same em-dash idiom as .dash-list on the Partnerships page. width:fit-content
   centres the block inside the centred card while the items themselves stay
   left-aligned, so the dashes line up under each other. */
.service-item .included-list {
  list-style: none;
  width: fit-content;
  max-width: 100%;
  margin: var(--space-2) auto 0;
  text-align: left;
}
.service-item .included-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.service-item .included-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.service-item .meta { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: var(--space-2); }
.service-item .price { text-align: center; font-family: var(--font-display); color: var(--accent); font-size: 1.4rem; margin-top: var(--space-2); }
@media (max-width: 760px) {
  .service-item { flex-basis: 100%; }
}

/* ── Diensten — service categories, each grouping its own formulas ────────── */
.service-category { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--tan-dark); }
.service-category:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.service-category-head { text-align: center; margin-bottom: var(--space-4); }
.service-category-head h2 { font-style: italic; }
.service-category-head p { color: var(--muted); max-width: 62ch; margin: var(--space-2) auto 0; }

/* ── Grote foto bovenaan een pagina (Realisaties, Agenda) — rand tot rand ── */
.page-hero-photo {
  height: var(--hero-h, 55vh);
  overflow: hidden;
  background: var(--tan);
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) {
  .page-hero-photo { height: min(var(--hero-h, 55vh), 55vh); }
}

/* ── Realisaties — masonry, elke foto in haar eigen verhouding ──── */
/* Paginatitel onder de grote foto (Realisaties, Agenda). Zelfde maat als een h2,
   ook als het element een h1 is. */
.page-body { padding: var(--space-5) 0 var(--space-6); }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); font-style: italic; color: var(--accent); text-align: center; margin-bottom: var(--space-4); }
/* Fallback zonder JS: CSS columns (vult per kolom van boven naar onder). */
.rgrid { columns: 3; column-gap: var(--space-2); }
.rgrid-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tan);
  break-inside: avoid;
  margin-bottom: var(--space-2);
}
.rgrid-item img { width: 100%; height: auto; transition: transform 0.6s ease; }
@media (hover: hover) {
  .rgrid-item:hover img { transform: scale(1.05); }
}
.rgrid-item:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Met JS (realisaties.js): echte kolommen, gevuld van links naar rechts. */
.rgrid.is-js { columns: auto; display: flex; gap: var(--space-2); align-items: flex-start; }
.rgrid-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.rgrid.is-js .rgrid-item { margin-bottom: 0; }
@media (max-width: 900px) { .rgrid { columns: 2; } }
@media (max-width: 560px) { .rgrid { columns: 1; } }
@media (prefers-reduced-motion: reduce) {
  .rgrid-item img { transition: none; }
  .rgrid-item:hover img { transform: none; }
}

/* ── Lightbox (lightbox.js) ────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 15, 0.94);
  padding: var(--space-4) var(--space-5);
  touch-action: pan-y;
}
.lb[hidden] { display: none; }
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  user-select: none;
  -webkit-user-drag: none;
}
.lb-btn {
  position: absolute;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 2.6rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.lb-btn:hover, .lb-btn:focus-visible { opacity: 1; }
.lb-btn:focus-visible { outline: 1px solid var(--cream); }
.lb-close { top: var(--space-2); right: var(--space-2); }
.lb-prev  { left: var(--space-1); top: 50%; transform: translateY(-50%); }
.lb-next  { right: var(--space-1); top: 50%; transform: translateY(-50%); }
.lb.single .lb-prev, .lb.single .lb-next, .lb.single .lb-count { display: none; }
.lb-count {
  position: absolute;
  bottom: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--font-nav);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
html.lb-open { overflow: hidden; }
@media (max-width: 560px) {
  /* Op gsm: foto zo groot mogelijk, pijlen over de foto heen (swipen kan ook). */
  .lb { padding: var(--space-5) 0; }
  .lb-prev, .lb-next { background: rgba(20, 18, 15, 0.35); border-radius: 50%; }
}

/* ── Split hero (workshops) ────────────────────────────────────── */
.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: stretch;
}
.split-hero .photo { background: var(--tan); overflow: hidden; }
.split-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.split-hero .text { display: flex; align-items: center; padding: var(--space-4); }
.split-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; }
  .split-hero .photo { aspect-ratio: 4/3; }
}

.feature-section {
  position: relative;
  background: linear-gradient(rgba(243,227,218,0.88), rgba(243,227,218,0.88)), var(--tan);
  background-size: cover;
  background-position: center;
  padding: var(--space-6) 0;
}
.feature-label {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: var(--space-3);
}

/* ── Grids / generic cards (used on b2b, workshop practical box) ── */
.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4);
  border: 1px solid var(--tan);
}
.card h3 { margin-bottom: var(--space-1); }
.card .price { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); margin: var(--space-2) 0; }

/* ── Partner / collaborator logos ─────────────────────────────────── */
/* Staat bovenaan de Partnerships-pagina: op desktop alle 6 op één rij. */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}
.partner-cell {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.partner-cell a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
}

/* ── Samenwerkingen — kolommen, altijd gecentreerd ──────────────── */
/* Elke kolom is een derde breed: 3 kolommen vullen de pagina, 1 of 2 staan
   in het midden, en een 4de begint gecentreerd op een nieuwe rij. */
.collab-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.collab-col { flex: 0 1 calc((100% - 4rem) / 3); min-width: 0; text-align: center; }
.collab-col .photo {
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tan);
  margin-bottom: var(--space-3);
}
.collab-col .photo img { width: 100%; height: 100%; object-fit: cover; }
.collab-col h3 { font-weight: 400; margin-bottom: var(--space-2); }
.collab-col p { color: var(--muted); }
.collab-col .dash-list { list-style: none; margin: var(--space-1) 0 var(--space-3); }
.collab-col .dash-list li { margin-bottom: 0.5rem; }
.collab-col .dash-list li::before { content: "—"; margin-right: 0.5rem; color: var(--accent); }
.collab-col .contact-block { margin-top: var(--space-3); }
.collab-col .contact-block p { margin-bottom: 0.4rem; }
.collab-col .contact-block a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--tan-dark); text-underline-offset: 0.15em; }
@media (max-width: 860px) {
  .collab-col { flex-basis: 100%; }
}

/* ── Contact page ──────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
/* Social icon links — 80px source art rendered at 40px so it stays crisp on
   retina. Hover uses --blush, one of the small accent roles that colour is
   reserved for (see :root). */
.social-links {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  gap: var(--space-1);
}
.social-links a {
  display: inline-flex;
  padding: 0.45rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}
.social-links a:hover { background: var(--blush); }
.social-links img { width: 40px; height: 40px; display: block; }

.contact-split .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.contact-split .photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-split h1 { text-decoration: underline; text-decoration-color: var(--tan-dark); text-underline-offset: 0.15em; margin-bottom: var(--space-3); }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

/* ── Business / B2B page ───────────────────────────────────────── */
.b2b-intro { text-align: center; }
.b2b-intro h1 { margin-bottom: var(--space-3); }
.b2b-intro .tagline { font-style: italic; color: var(--accent); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 54ch; margin: 0 auto var(--space-3); }

.b2b-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
/* No photo uploaded yet — the text takes the full width instead of leaving
   an empty tan panel next to it. */
.b2b-block.no-photo { grid-template-columns: 1fr; max-width: 74ch; margin: 0 auto; }
.b2b-block .photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--tan); }
.b2b-block .photo img { width: 100%; height: 100%; object-fit: cover; }
.b2b-block.reverse .photo { order: 2; }
.b2b-block h2 { font-style: italic; margin-bottom: var(--space-2); }
.b2b-block .subtitle { font-family: var(--font-display); font-size: 1.15rem; color: var(--muted); margin-bottom: var(--space-3); }
.b2b-block .body p { color: var(--muted); margin-bottom: var(--space-2); }
.b2b-block .body p:last-child { margin-bottom: 0; }
.b2b-block .cta { margin-top: var(--space-4); }
.b2b-block .cta p { font-style: italic; color: var(--accent); margin-bottom: var(--space-2); }
@media (max-width: 860px) {
  .b2b-block, .b2b-block.reverse { grid-template-columns: 1fr; gap: var(--space-4); }
  .b2b-block.reverse .photo { order: 0; }
}

/* ── Forms ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-3); }
.form-label { display: block; font-family: var(--font-nav); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.form-input, .form-textarea {
  width: 100%; background: var(--white); border: 1px solid var(--tan-dark); border-radius: var(--radius);
  padding: 0.8rem 1rem; font-family: var(--font-body); font-size: 1rem; color: var(--ink); outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-success { display: none; color: var(--accent); font-size: 0.85rem; margin-top: var(--space-2); }
.form-error { display: none; color: #b23b3b; font-size: 0.85rem; margin-top: var(--space-2); }
.form-checkbox-group { display: flex; align-items: flex-start; gap: 0.6rem; margin: var(--space-2) 0; font-family: var(--font-nav); }
.form-checkbox-group input { margin-top: 0.3rem; accent-color: var(--accent); }
.form-checkbox-group label { font-size: 0.8rem; color: var(--muted); }
.form-checkbox-group a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }

/* ── Footer ────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--cream); padding: var(--space-5) 0 var(--space-3); }
footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
@media (max-width: 860px) { footer .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); } }
footer .footer-logo { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: var(--space-2); }
footer h4 { font-family: var(--font-nav); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: var(--space-2); }
footer a { color: var(--cream); opacity: 0.85; }
footer a:hover { opacity: 1; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; font-size: 0.9rem; }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--space-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); font-family: var(--font-nav); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--accent-2); }

/* ── Utility ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Kleine lettertjes (ingrediënten, details…). Bruikbaar rond een <p> of rond
   een blok alinea's; staat na de pagina-regels zodat het die p-kleuren overschrijft. */
.small-print { font-size: 0.8em; line-height: 1.9; color: var(--muted-light); }
.small-print p, .small-print li { color: inherit; }

/* ® achter de merknaam: klein en licht verhoogd, zonder de regelafstand te verstoren. */
.reg { font-size: 0.55em; line-height: 0; vertical-align: super; }

/* Algemene voorwaarden + privacybeleid (beheerbare tekst via admin → sb_rich) */
.legal-text h3 { margin: var(--space-4) 0 var(--space-2); }
.legal-text p, .legal-text li { color: var(--muted); }
.legal-text p { margin-bottom: var(--space-3); }
.legal-text ul { padding-left: 1.3rem; margin-bottom: var(--space-3); }

/* ── Agenda & Events — lijst (Datum | Event | Locatie) + maandkalender ───── */
.agenda-list { max-width: 960px; margin: var(--space-5) auto 0; }
.agenda-head,
.agenda-row { display: grid; grid-template-columns: 120px 1fr 200px; gap: var(--space-3); }
.agenda-head {
  font-family: var(--font-nav); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding-bottom: var(--space-2); border-bottom: 1px solid var(--tan-dark);
}
.agenda-row { padding: var(--space-3) 0; border-bottom: 1px solid var(--tan); transition: background 0.4s; }
.agenda-row.flash { animation: agenda-flash 1.6s ease; }
@keyframes agenda-flash { 0%, 40% { background: var(--grey-bg); } 100% { background: transparent; } }
.agenda-date { display: flex; flex-direction: column; line-height: 1.1; }
.agenda-date .day { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); }
.agenda-date .month { font-family: var(--font-nav); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.agenda-main h3 { font-style: italic; font-weight: 500; margin-bottom: 0.2rem; }
.agenda-main .agenda-when { font-family: var(--font-nav); font-size: 0.8rem; color: var(--muted); margin-bottom: var(--space-1); }
.agenda-main p { color: var(--muted); margin-bottom: 0.5rem; }
.agenda-more { font-family: var(--font-nav); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent-2); }
.agenda-more:hover { color: var(--ink); }
.agenda-location { color: var(--muted); font-size: 0.95rem; }
.agenda-location .label { display: none; }
.agenda-empty { padding: var(--space-4) 0; text-align: center; color: var(--muted); font-style: italic; }

.agenda-calendar { max-width: 420px; margin: var(--space-6) auto 0; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.cal-nav h3 { font-style: italic; font-weight: 500; text-transform: capitalize; margin: 0; }
.cal-nav button {
  background: none; border: 1px solid var(--tan-dark); border-radius: var(--radius-pill);
  width: 36px; height: 36px; font-size: 1.2rem; line-height: 1; color: var(--accent); cursor: pointer;
}
.cal-nav button:hover { background: var(--tan); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-family: var(--font-nav); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-nav); font-size: 0.85rem; color: var(--ink); border-radius: 50%;
  border: 1px solid transparent; background: none; padding: 0;
}
.cal-day.is-today { border-color: var(--tan-dark); }
.cal-day.has-event { background: var(--accent); color: #fff; cursor: pointer; font-weight: 500; }
.cal-day.has-event:hover { background: var(--accent-2); }
.cal-hint { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: var(--space-2); }

/* Events zonder vaste datum ("Datum op aanvraag") */
.agenda-subtitle { font-style: italic; color: var(--muted); margin-bottom: 0.3rem !important; }
.agenda-on-request { margin-top: var(--space-6); }
.agenda-on-request h2 { text-align: center; }
.agenda-on-request .agenda-list { margin-top: var(--space-3); border-top: 1px solid var(--tan); }
.agenda-date-request { justify-content: flex-start; padding-top: 0.5rem; }
.agenda-date-request .month { color: var(--accent); font-size: 0.78rem; }
.agenda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }

@media (max-width: 700px) {
  .agenda-head { display: none; }
  .agenda-row { grid-template-columns: 84px 1fr; row-gap: var(--space-1); }
  .agenda-date .month { white-space: nowrap; font-size: 0.66rem; }
  .agenda-date-request .month { white-space: normal; }
  .agenda-date .day { font-size: 1.9rem; }
  .agenda-location { grid-column: 2; font-size: 0.9rem; }
  .agenda-location .label { display: inline; font-family: var(--font-nav); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 0.5rem; }
}
