/* ==========================================================================
   NLBG · DE REISGENOOT — MID-MARKET (3-20 unit transformations)
   Warm terracotta + cream, transformation-focused, vastgoed-eigenaren
   ========================================================================== */

:root {
  --terra-900: #4A1F0F;
  --terra-700: #8C3A1A;
  --terra-600: #B5471F;
  --terra-500: #D4622E;
  --terra-400: #E8884F;
  --terra-200: #F5C5A5;
  --terra-100: #FAE5D3;
  --terra-50:  #FDF4EC;

  --cream: #FBF7F0;
  --cream-2: #F3ECDD;
  --cream-3: #E8DFC9;

  --moss: #5C7A4F;
  --moss-light: #8AB07B;
  --gold: #D4A017;
  --ink: #2A1A0E;

  --line: rgba(74,31,15,0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --wrap-max: 1360px;
  --shadow: 0 1px 2px rgba(74,31,15,0.06), 0 8px 24px rgba(74,31,15,0.08);
  --shadow-lift: 0 16px 48px rgba(74,31,15,0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body);
  font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: var(--wrap-max); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
em { font-style: italic; color: var(--terra-600); }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--terra-700);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--terra-500); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ---------- Companion ---------- */
.companion {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  display: flex; align-items: flex-end; gap: 12px;
  animation: float 3s ease-in-out infinite;
}
.companion .bubble {
  background: white; padding: 12px 16px; border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow); max-width: 260px; font-size: 13px; position: relative;
  border: 2px solid var(--terra-200);
}
.companion .bubble::after { content: ""; position: absolute; right: -8px; bottom: 12px; border: 6px solid transparent; border-left-color: var(--terra-200); }
.companion .bubble strong { color: var(--terra-700); }
.companion .close { position: absolute; top: 4px; right: 8px; cursor: pointer; opacity: 0.5; font-size: 16px; }
.companion img { width: 70px; transition: transform 0.3s; }
.companion:hover img { transform: rotate(-8deg) scale(1.05); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,247,240,0.92); backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav .inner { display: flex; align-items: center; gap: 32px; padding: 18px 32px; }
.logo { display: inline-flex; align-items: center; }

/* Wordmark — Brand-Assets nlbg-showcase-01-fundament.html "Wordmark & monochroom" row */
.wordmark {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-decoration: none;
  display: inline-block;
}
.wordmark em { font-style: normal; }
.wordmark .wm-sub {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Variant: Monochroom — ink (for light backgrounds, e.g. nav) */
.wordmark--ink { color: var(--terra-900); }
.wordmark--ink em { color: var(--terra-900); }
.wordmark--ink .wm-sub { color: var(--terra-700); }

/* Variant: Reversed (for dark backgrounds, e.g. footer on terra-900) */
.wordmark--reversed { color: var(--cream); }
.wordmark--reversed em { color: var(--gold); }
.wordmark--reversed .wm-sub { color: var(--gold); opacity: 0.85; }

/* Sizing — header (nav) */
.wordmark--nav { font-size: 19px; }
@media (max-width: 720px) { .wordmark--nav { font-size: 17px; } }

/* Sizing — footer */
.wordmark--footer { font-size: 32px; margin-bottom: 8px; }
.wordmark--footer .wm-sub { margin-top: 14px; }
@media (max-width: 720px) { .wordmark--footer { font-size: 28px; } }

/* Subtle hover */
.wordmark:hover em { transition: color 0.2s; }
.wordmark--ink:hover em { color: var(--terra-600); }
.wordmark--reversed:hover em { color: #F0D068; }

.nav ul { display: flex; gap: 28px; margin-left: auto; }
.nav ul a { font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--terra-500); transition: width 0.3s; }
.nav ul a:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1); cursor: pointer;
}
.btn-primary { background: var(--terra-600); color: white; }
.btn-primary:hover { background: var(--terra-500); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181,71,31,0.4); }
.btn-ghost { border: 1.5px solid var(--terra-700); color: var(--terra-700); }
.btn-ghost:hover { background: var(--terra-700); color: white; }

/* ---------- HERO ---------- */
.hero {
  position: relative; padding: 80px 0 100px; overflow: hidden;
  background: linear-gradient(180deg, var(--cream), var(--terra-50));
}
.hero::before {
  content: ""; position: absolute; top: 5%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, var(--terra-100), transparent 60%); opacity: 0.6;
  animation: drift 12s ease-in-out infinite;
}
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 20px); } }

.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.hero h1 { margin: 16px 0 24px; }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--terra-900); max-width: 560px; }
.hero .cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* Hero "before/after" slider */
.transform-card {
  position: relative; aspect-ratio: 4/5; border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow-lift);
  cursor: ew-resize;
}
.transform-card .img-before, .transform-card .img-after {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.transform-card .img-after { clip-path: inset(0 0 0 50%); transition: clip-path 0.1s; }
.transform-card .divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: white; pointer-events: none; transition: left 0.1s;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.transform-card .divider::before {
  content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: white; color: var(--terra-700);
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
}
.transform-card .label-before, .transform-card .label-after {
  position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.6); color: white; backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
}
.transform-card .label-before { left: 16px; }
.transform-card .label-after { right: 16px; }

.zach-pose {
  position: absolute; bottom: -30px; left: -40px; width: 150px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
  animation: gentle-rock 4s ease-in-out infinite; z-index: 2;
}
@keyframes gentle-rock { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

.hero .speech {
  position: absolute; top: 5%; left: -10px; background: white; padding: 14px 18px;
  border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow);
  font-family: var(--font-display); font-style: italic; font-size: 15px; max-width: 220px;
  border: 2px solid var(--terra-200); transform: rotate(-3deg);
  z-index: 3;
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--terra-700); color: var(--cream); padding: 24px 0;
  overflow: hidden; position: relative;
}
.ticker-row {
  display: flex; gap: 60px; animation: ticker-scroll 40s linear infinite;
  white-space: nowrap; width: max-content;
}
.ticker-row span {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 12px;
}
.ticker-row span::before { content: "✦"; color: var(--gold); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- TRUST CARDS ---------- */
.trust { padding: 100px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust-card {
  background: var(--cream-2); padding: 40px 32px; border-radius: 24px;
  position: relative; overflow: hidden; transition: all 0.4s;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); background: white; }
.trust-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px;
  background: radial-gradient(circle, var(--terra-200), transparent 70%); opacity: 0.5;
  transition: transform 0.6s;
}
.trust-card:hover::before { transform: scale(1.4); }
.trust-card .num {
  font-family: var(--font-display); font-size: 88px; font-weight: 600;
  line-height: 1; color: var(--terra-600); margin-bottom: 8px;
}
.trust-card .num small { font-size: 32px; opacity: 0.7; }
.trust-card .label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--terra-700); margin-bottom: 12px;
}
.trust-card p { color: var(--terra-900); font-size: 15px; line-height: 1.5; }

/* ---------- HOE WIJ TRANSFORMEREN ---------- */
.transform { padding: 120px 0; background: var(--terra-50); position: relative; }
.transform .head { text-align: center; max-width: 700px; margin: 0 auto 80px; }
.transform .head h2 { margin-top: 12px; }
.transform .head p { margin-top: 24px; color: var(--terra-900); font-size: 17px; }

.journey-path {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  position: relative;
}
.journey-path::before {
  content: ""; position: absolute; top: 60px; left: 8%; right: 8%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--terra-300, var(--terra-400)) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}
.j-step {
  position: relative; text-align: center; transition: transform 0.4s;
}
.j-step:hover { transform: translateY(-8px); }
.j-step .icon-circle {
  width: 120px; height: 120px; border-radius: 50%; background: white;
  border: 3px solid var(--terra-200); margin: 0 auto 20px;
  display: grid; place-items: center; transition: all 0.5s;
  box-shadow: var(--shadow);
  position: relative;
}
.j-step:hover .icon-circle { background: var(--terra-600); border-color: var(--terra-600); transform: rotate(-8deg) scale(1.05); }
.j-step .icon-circle img { width: 80px; height: 80px; object-fit: contain; }
.j-step .icon-circle .stamp {
  position: absolute; top: -6px; right: -6px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--gold); color: var(--terra-900);
  display: grid; place-items: center; font-family: var(--font-display);
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow);
}
.j-step h4 { font-size: 22px; margin-bottom: 8px; }
.j-step p { font-size: 14px; color: var(--terra-900); padding: 0 8px; }
.j-step .duration { font-family: var(--font-mono); font-size: 11px; color: var(--terra-700); margin-top: 8px; }

/* ---------- BEFORE/AFTER GALLERY ---------- */
.gallery { padding: 120px 0; }
.gallery .head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; align-items: end; }
.gallery .head .zach-intro { display: flex; gap: 16px; align-items: center; }
.gallery .head .zach-intro img { width: 80px; }
.gallery .head .zach-intro .bubble {
  background: white; padding: 14px 18px; border-radius: 18px 18px 18px 4px;
  box-shadow: var(--shadow); font-size: 14px; max-width: 320px;
  border: 2px solid var(--terra-200);
}

.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gal-card {
  background: white; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); transition: all 0.4s;
  display: flex; flex-direction: column;
}
.gal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.gal-card .photo { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.gal-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.gal-card:hover .photo img { transform: scale(1.08); }
.gal-card .corner-badge {
  position: absolute; top: 16px; right: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.95); font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; color: var(--terra-700); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 6px;
}
.gal-card .corner-badge::before { content: "●"; color: var(--moss); }

.gal-card .body { padding: 24px; flex: 1; }
.gal-card .body .meta { font-family: var(--font-mono); font-size: 11px; color: var(--terra-700); text-transform: uppercase; letter-spacing: 0.1em; }
.gal-card .body h3 { font-size: 22px; margin: 8px 0; }
.gal-card .body p { color: var(--terra-900); font-size: 14px; }
.gal-card .stat-row {
  display: flex; gap: 24px; margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: 12px;
}
.gal-card .stat-row strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--terra-700); font-weight: 600; }
.gal-card .stat-row small { color: var(--terra-900); opacity: 0.7; }

/* ---------- ZACH PORTRAIT ---------- */
.about { padding: 120px 0; background: var(--cream-2); position: relative; overflow: hidden; }
.about::before {
  content: ""; position: absolute; top: 20%; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent 60%); opacity: 0.15;
}
.about .grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; }
.about .portrait {
  position: relative; aspect-ratio: 3/4;
}
.about .portrait::before {
  content: ""; position: absolute; inset: -16px; border: 3px solid var(--terra-600);
  border-radius: 24px; transform: rotate(-3deg);
}
.about .portrait .frame {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
  background: var(--terra-100); display: grid; place-items: end center;
  border: 8px solid white; box-shadow: var(--shadow-lift);
}
.about .portrait .frame img { max-width: 90%; height: 95%; object-fit: contain; }
.about .portrait .tape {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--gold); color: var(--terra-900); padding: 6px 24px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; z-index: 2;
}
.about .portrait .name-card {
  position: absolute; bottom: -30px; right: -30px; background: white;
  padding: 16px 24px; border-radius: 12px; box-shadow: var(--shadow-lift);
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--terra-700);
}
.about .portrait .name-card strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--ink); text-transform: none; letter-spacing: 0; margin-top: 4px; font-weight: 600; }

.about h2 { margin: 16px 0 24px; }
.about p { font-size: 17px; color: var(--terra-900); margin-bottom: 16px; }
.about .signature {
  margin-top: 32px; font-family: 'Fraunces', serif; font-style: italic; font-size: 32px; color: var(--terra-700);
  transform: rotate(-2deg); display: inline-block;
}
.about .signature small { display: block; font-family: var(--font-mono); font-style: normal; font-size: 11px; color: var(--terra-900); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; background: var(--terra-700); color: white; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent 60%); opacity: 0.2;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.cta .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.cta h2 { color: white; }
.cta p { color: var(--terra-100); margin: 20px 0 32px; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-primary { background: var(--gold); color: var(--terra-900); }
.cta-actions .btn-primary:hover { background: white; }
.cta-visual { position: relative; }
.cta-visual img { width: 100%; max-width: 420px; }
.cta-callout {
  position: absolute; top: 5%; right: -20px; background: white; color: var(--terra-700);
  padding: 14px 18px; border-radius: 16px; transform: rotate(4deg);
  font-family: var(--font-display); font-size: 18px; font-weight: 600; max-width: 220px;
  animation: gentle-rock 3s ease-in-out infinite;
  border: 3px solid var(--gold);
}

/* ---------- FOOTER ---------- */
.footer { background: var(--terra-900); color: var(--terra-100); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px; }
.footer ul li { padding: 4px 0; font-size: 14px; }
.footer ul a:hover { color: white; }
.footer .tagline { color: var(--terra-200); font-size: 14px; max-width: 360px; margin-top: 16px; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--terra-200);
  font-family: var(--font-mono);
}

@media (max-width: 960px) {
  .hero-grid, .gallery .head, .cta .inner, .footer-grid, .about .grid { grid-template-columns: 1fr; }
  .trust-grid, .gal-grid { grid-template-columns: 1fr 1fr; }
  .journey-path { grid-template-columns: 1fr 1fr; }
  .journey-path::before { display: none; }
  .nav ul { display: none; }
  .companion .bubble { display: none; }
}
@media (max-width: 600px) {
  .trust-grid, .gal-grid, .journey-path { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  h1 { font-size: 40px; }
}

/* ============================================================
   Cycle 1 (2026-05-05) — Audit fixes
   ============================================================ */

/* Skip link — keyboard a11y */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--terra-900); color: var(--cream);
  padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 600; font-size: 14px;
  text-decoration: none; z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Reveal failsafe — when JS hasn't run, when reduced-motion is requested,
   and when print: show content immediately. .reveal stays opacity:0 only
   after JS adds .js-anim to <html>. */
html:not(.js-anim) .reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.delay-1, .reveal.delay-2, .reveal.delay-3 {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .companion, .nav-toggle { display: none !important; }
}

/* Nav: mobile hamburger toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px; gap: 5px;
  flex-direction: column; justify-content: center; align-items: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--terra-900); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav .inner { flex-wrap: wrap; padding: 14px 18px; gap: 12px; }
  .nav-cta { display: none; }
  .nav ul {
    display: flex !important; flex-direction: column;
    width: 100%; order: 99;
    gap: 0; margin: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.32s ease, padding 0.2s;
    padding: 0;
  }
  .nav-toggle[aria-expanded="true"] ~ ul {
    max-height: 480px;
    padding: 8px 0 16px;
  }
  .nav ul li { width: 100%; border-top: 1px solid var(--line); }
  .nav ul a {
    display: block; padding: 14px 4px; font-size: 16px;
  }
  .nav ul a::after { display: none; }
  .nav ul li:last-child {
    border-bottom: 1px solid var(--line);
    margin-top: 8px;
  }
  /* Mobile-only inline CTA inside the open menu */
  .nav ul .nav-mobile-cta { display: block; }
  .nav ul .nav-mobile-cta a {
    background: var(--terra-600); color: white;
    text-align: center; padding: 14px; display: block;
    border-radius: 8px; font-weight: 600; font-size: 15px;
    margin: 16px 4px 0;
  }
  .nav ul .nav-mobile-cta { border: 0 !important; }
}
.nav ul .nav-mobile-cta { display: none; }

/* Smoother focus visible across links + buttons */
:focus-visible { outline: 2px solid var(--terra-500); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

/* Tighten gallery h3 (now "Transformatie") line-height */
.gal-card h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-600);
  line-height: 1.2;
  margin: 0 0 10px;
}

/* Subtle image hover on gal-card */
.gal-card .photo { overflow: hidden; }
.gal-card .photo img { transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.gal-card:hover .photo img { transform: scale(1.04); }

/* ============================================================
   Cycle 2 (2026-05-05) — Visual polish
   ============================================================ */

/* Scroll progress bar — sits above nav, fills as you scroll */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--terra-600), var(--gold));
  z-index: 60; pointer-events: none;
  transition: width 0.06s linear;
}

/* Hero entrance stagger — eyebrow, h1, lede, CTA-row */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
html.js-anim .hero .eyebrow,
html.js-anim .hero h1,
html.js-anim .hero .lede,
html.js-anim .hero .cta-row,
html.js-anim .hero .speech,
html.js-anim .hero .transform-card,
html.js-anim .hero .zach-pose {
  opacity: 0; animation: heroFade 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}
html.js-anim .hero .eyebrow      { animation-delay: 0.05s; }
html.js-anim .hero h1            { animation-delay: 0.18s; }
html.js-anim .hero .lede         { animation-delay: 0.32s; }
html.js-anim .hero .cta-row      { animation-delay: 0.46s; }
html.js-anim .hero .speech       { animation-delay: 0.30s; }
html.js-anim .hero .transform-card { animation-delay: 0.20s; }
html.js-anim .hero .zach-pose    { animation-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .hero * { animation: none !important; opacity: 1 !important; }
}

/* Hero before/after slider — pop the divider + labels */
.transform-card .divider {
  width: 4px; box-shadow: 0 0 0 1px rgba(74,31,15,0.18), 0 0 24px rgba(0,0,0,0.25);
}
.transform-card .divider::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; background: white;
  border-radius: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  display: grid; place-items: center;
}
.transform-card .divider::after {
  content: "‹›"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: 16px; font-weight: 700;
  color: var(--terra-700); letter-spacing: -0.05em; pointer-events: none;
}

.transform-card .label-before, .transform-card .label-after {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(8px) saturate(180%);
}
.transform-card .label-before {
  background: rgba(74,31,15,0.85); color: var(--cream);
}
.transform-card .label-after {
  background: rgba(212,160,23,0.92); color: var(--terra-900);
}

/* Companion: nicer dismiss + persistent close */
.companion[data-state="dismissed"] { display: none; }

/* Smoother button transitions everywhere */
.btn { will-change: transform; }
.btn-primary:active { transform: translateY(0); }

/* trust-card hover lift */
.trust-card { transition: transform 0.3s, box-shadow 0.3s; }
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(74,31,15,0.12); }

/* gal-card body — softer eyebrow color matching meta */
.gal-card .meta {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terra-700); opacity: 0.85;
}

/* Footer-bottom: add a subtle gold underline divider */
.footer-bottom {
  border-top: 1px solid rgba(212,160,23,0.18) !important;
  padding-top: 22px;
}

/* ============================================================
   Cycle 3 (2026-05-05) — Mobile + responsive polish
   ============================================================ */

/* Hero mascot: smaller on phones, hidden on very narrow */
@media (max-width: 760px) {
  .zach-pose {
    width: 88px !important; bottom: -16px; left: -12px;
  }
  .hero { padding: 56px 0 64px; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(40px, 9.5vw, 60px) !important; }
  .hero .lede { font-size: 16px; line-height: 1.55; }
  .hero .speech {
    font-size: 12px; padding: 10px 14px;
    max-width: 85%;
  }
  .transform-card .label-before, .transform-card .label-after {
    font-size: 10px; padding: 5px 10px;
  }
  .transform-card .divider::before {
    width: 36px; height: 36px;
  }
}

/* Companion: smaller + offset on mobile so it doesn't cover footer copy */
@media (max-width: 760px) {
  .companion {
    bottom: 16px; right: 16px; gap: 8px;
  }
  .companion img { width: 52px; }
  .companion .bubble {
    max-width: 200px; padding: 9px 12px; font-size: 12px;
    border-radius: 14px 14px 4px 14px;
  }
}

/* Gallery: smaller photo aspect on phones for tighter scroll */
@media (max-width: 760px) {
  .gal-card .photo { aspect-ratio: 3/2; }
  .gal-card .body { padding: 18px 18px 20px; }
  .gal-card .body p { font-size: 14px; }
  .gal-card .stat-row { gap: 14px; padding-top: 10px; }
  .gal-card .stat-row strong { font-size: 18px; }
}

/* Trust cards: smaller padding, smaller .num on phones */
@media (max-width: 760px) {
  .trust-card { padding: 28px 24px; }
  .trust-card .num { font-size: 56px; }
  .trust-card .num small { font-size: 18px; }
}

/* CTA section: keep CTA buttons usable + visible at thumb-zone */
@media (max-width: 760px) {
  .cta { padding: 60px 0 80px; }
  .cta h2 { font-size: clamp(36px, 8vw, 52px); }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* Footer: tighter spacing on phones */
@media (max-width: 760px) {
  .footer { padding: 60px 0 40px; }
  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; }
  .footer-bottom span:last-child { opacity: 0.6; }
}

/* Touch-target sizing — ensure all inline links/buttons hit 44×44 */
@media (max-width: 760px) {
  .btn { min-height: 44px; }
  .nav ul a { min-height: 44px; display: flex; align-items: center; }
  .footer ul li a { padding: 6px 0; min-height: 32px; }
}

/* Tablet — smooth the hero grid breakpoint */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-grid { gap: 48px; }
  .hero h1 { font-size: clamp(56px, 7vw, 78px); }
  .zach-pose { width: 130px; bottom: -20px; left: -28px; }
}

/* Reduce hero divider drift on small screens (matches above) */
@media (max-width: 760px) {
  .hero::before {
    width: 320px; height: 320px;
  }
}

/* ============================================================
   Cycle 5 (2026-05-05) — Final polish + delight
   ============================================================ */

/* Subtle grain texture on body — 2% opacity, tiny SVG noise */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply; opacity: 1;
}
@media (max-width: 760px) { body::after { background-size: 160px 160px; opacity: 0.7; } }

/* Hero: move zach-pose to right edge, shrink, peek-up motion */
.zach-pose {
  position: absolute; bottom: -24px; right: -16px; left: auto !important;
  width: 130px; z-index: 3;
}
@media (max-width: 760px) {
  .zach-pose { width: 92px !important; bottom: -10px; right: 6px; }
}

/* Caveat handwritten "← schuif" hint over the divider on first load */
.transform-card .slider-hint {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: "Caveat", cursive;
  font-weight: 700; font-size: 22px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  pointer-events: none; z-index: 5;
  animation: hint-pulse 2.6s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 1.0; transform: translateX(-50%) translateY(-4px); }
}
.transform-card[data-touched="1"] .slider-hint { display: none; }

/* Section divider — subtle gold dashed line between major sections */
.section-divider {
  height: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(212,160,23,0.4) 0 8px,
    transparent 8px 16px);
  max-width: 240px;
  margin: 0 auto;
  position: relative;
}
.section-divider::before, .section-divider::after {
  content: "◆"; position: absolute; top: -7px;
  color: var(--gold); font-size: 12px; opacity: 0.6;
}
.section-divider::before { left: -22px; }
.section-divider::after  { right: -22px; }

/* Back-to-top floating button — appears after hero scroll */
.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 45;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terra-700); color: white;
  display: grid; place-items: center;
  font-size: 18px; line-height: 1;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: all 0.32s cubic-bezier(0.16,1,0.3,1);
  border: 0; cursor: pointer;
}
.back-to-top.visible {
  opacity: 0.92; pointer-events: auto; transform: translateY(0);
}
.back-to-top:hover { opacity: 1; transform: translateY(-2px); background: var(--terra-600); }
@media (max-width: 760px) { .back-to-top { left: 16px; bottom: 16px; width: 40px; height: 40px; } }

/* Subtle ambient pulse on .btn-primary for perceived life */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0s;
}
.btn-primary:hover::before {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

/* Trust card numerical accent — gold underline beneath the .num */
.trust-card .num {
  position: relative; display: inline-block;
}
.trust-card .num::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 32px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.7;
}

/* Polish: gallery card overlay sheen on hover */
.gal-card .photo {
  position: relative;
}
.gal-card .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(74,31,15,0.25));
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.gal-card:hover .photo::after { opacity: 1; }

/* About: gold tape badge accent */
.portrait .tape {
  background: var(--gold) !important; color: var(--terra-900) !important;
  box-shadow: 0 4px 12px rgba(212,160,23,0.32);
}

/* Footer "Gemaakt in Leiden" — make it a hand-drawn flourish */
.footer-bottom span:last-child {
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: 18px !important;
  color: var(--gold) !important;
  opacity: 1 !important;
  white-space: nowrap;
}
.footer-bottom span:last-child::before { content: "↬ "; opacity: 0.7; }
