/* ==========================================================================
   Boomes Tuinonderhoud — Design System
   Mobile-first. Base styles = mobile; min-width media queries layer up.
   ========================================================================== */

/*
  Color hierarchy (kept deliberately small, one job per color):
  — Neutrals (~60%): white / cream / ink shades — carry all backgrounds & text.
  — Green   (~30%): primary / primary-dark / deep / light — brand identity.
                     Logo, hero, footer, decorative icons, checkmarks. "This is Boomes."
  — Gold    (~10%): the ONLY interactive/action color, plus the eyebrow dash
                     (a deliberate brand signature). Primary buttons, active nav
                     state, hovers, process-step markers. "Do this."
*/
:root {
  /* Color tokens (brand) */
  --primary: #2d5a1b;
  --primary-dark: #1e3f11;
  --deep: #1a2010;
  --gold: #c8861a;
  --gold-dark: #a8710f;
  --light: #eaf3de;

  /* Neutrals */
  --cream-50: #f7f5f0;
  --ink-900: #1c2117;
  --ink-700: #3d4136;
  --ink-500: #666b5c;
  --ink-300: #9a9d8f;
  --line-200: #e2e6d6;
  --white: #ffffff;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.25rem;
  --space-7: 3.25rem;
  --space-8: 4.5rem;
  --space-9: 7rem;

  /* Layout */
  --container-w: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 63, 17, 0.07), 0 1px 1px rgba(30, 63, 17, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 63, 17, 0.10), 0 2px 8px rgba(30, 63, 17, 0.06);
  --shadow-lg: 0 24px 48px rgba(30, 63, 17, 0.16), 0 8px 16px rgba(30, 63, 17, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink-900); margin-bottom: var(--space-4); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 640px) { .container { padding-inline: var(--space-7); } }
@media (min-width: 1280px) { .container { padding-inline: var(--space-5); } }

.section { padding-block: var(--space-8); }
.section-tight { padding-block: var(--space-7); }
@media (min-width: 900px) {
  .section { padding-block: var(--space-9); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-500);
  max-width: 54ch;
}
.section-head { margin-bottom: var(--space-8); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 0.25rem; }

.portfolio-cta { text-align: center; margin-top: var(--space-7); }

.portfolio-hero { padding-block: var(--space-6) var(--space-8); }
.portfolio-hero-head { margin-bottom: var(--space-6); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -60px;
  background: var(--primary-dark); color: var(--white);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Buttons (two variants only, kept consistent everywhere) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 48px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--gold); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-outline { background: var(--white); color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 0.7rem 1.2rem; min-height: 40px; font-size: 0.9rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line-200); box-shadow: var(--shadow-sm); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: var(--space-4); }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; }
.footer-brand .brand-logo { height: 46px; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: var(--space-7); }
.nav-desktop a { font-weight: 600; font-size: 0.96rem; color: var(--ink-900); padding: 0.4rem 0.1rem; position: relative; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--gold); transition: right 0.25s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-cta { display: none; }
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  color: var(--ink-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 960px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 78px 0 0 0; z-index: 99;
  background: var(--cream-50);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-menu .container { padding-block: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); height: 100%; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.6rem; padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line-200); color: var(--ink-900);
}
.mobile-contact { margin-top: auto; padding-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.mobile-contact a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; border: none; display: flex; align-items: center; gap: 0.6rem; padding: 0; color: var(--ink-900); }
.mobile-contact svg { width: 20px; height: 20px; color: var(--gold); }
@media (min-width: 960px) { .mobile-menu { display: none; } }

/* Breadcrumbs */
.breadcrumbs { padding-block: var(--space-4); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--ink-500); }
.breadcrumbs a { color: var(--ink-500); font-weight: 600; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs li[aria-current] { color: var(--ink-900); font-weight: 600; }
.breadcrumbs .sep { color: var(--ink-300); }

/* ==========================================================================
   Hero — clean, no CTAs, subtle load-in + floating animation
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding-block: var(--space-8) calc(var(--space-8) + 3rem);
  background:
    radial-gradient(65% 60% at 88% 4%, rgba(45, 90, 27, 0.4), transparent 68%),
    radial-gradient(55% 50% at 3% 105%, rgba(200, 134, 26, 0.12), transparent 70%),
    linear-gradient(160deg, #212b16 0%, var(--deep) 42%, #12160b 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
  pointer-events: none;
}
.hero .container { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.hero-copy { color: var(--cream-50); }
.hero .eyebrow { color: var(--light); animation: heroFadeUp 0.8s var(--ease) both; }
.hero h1 { color: var(--white); animation: heroFadeUp 0.9s var(--ease) 0.06s both; }
.hero .lede { color: rgba(251, 249, 244, 0.78); margin-top: var(--space-5); animation: heroFadeUp 0.9s var(--ease) 0.16s both; }

.hero-visual { position: relative; animation: heroFadeUp 1s var(--ease) 0.2s both; }
.leaf-figure { position: relative; width: min(430px, 80vw); margin-inline: auto; aspect-ratio: 1 / 1.05; animation: leafFloat 7s ease-in-out infinite; }
.leaf-figure .leaf-bg {
  position: absolute; inset: 0; background: var(--primary);
  clip-path: url(#leafClip); transform: rotate(8deg) scale(1.06); opacity: 0.5;
}
.leaf-figure img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: url(#leafClip);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes leafFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(251,249,244,0.7); border: 1px solid rgba(255,255,255,0.25);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero-scroll-cue:hover { color: var(--gold); border-color: var(--gold); }
.hero-scroll-cue svg { width: 16px; height: 16px; }

@media (min-width: 900px) {
  .hero { padding-block: var(--space-8) calc(var(--space-8) + 3rem); }
  .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
  .hero-copy { max-width: 560px; }
}

/* ==========================================================================
   Two-column / about
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-body p + p { margin-top: var(--space-4); }
.split-body { color: var(--ink-700); }
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
  .split.reverse { direction: rtl; }
  .split.reverse > * { direction: ltr; }
}

/* ==========================================================================
   Cards: features / services / portfolio
   ========================================================================== */
.grid-2 { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
.grid-4 { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  background: var(--white); border: 1px solid var(--line-200); border-radius: var(--radius-md);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--ink-500); font-size: 0.96rem; }

/* Feature cards ("Waarom kiezen voor Boomes"): a gold-to-green accent bar
   is the only mark, no icon set. */
.feature-card { position: relative; overflow: hidden; padding-top: calc(var(--space-6) + 4px); }
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
}

.service-card { position: relative; overflow: hidden; }
.service-card .service-photo { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: var(--space-5); aspect-ratio: 16/10; }
.service-card .service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-photo img { transform: scale(1.05); }
.service-card .service-list { margin-top: var(--space-4); display: flex; flex-direction: column; gap: 0.6rem; }
.service-card .service-list li { display: flex; gap: 0.6rem; font-size: 0.94rem; color: var(--ink-700); align-items: flex-start; }
.service-card .service-list svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Portfolio grid */
.portfolio-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item .cap {
  position: absolute; inset: auto 0 0 0; padding: var(--space-4);
  background: linear-gradient(0deg, rgba(30,63,17,0.85), transparent);
  color: var(--white); font-weight: 700; font-size: 0.88rem; opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.portfolio-item:hover .cap { opacity: 1; transform: translateY(0); }
.portfolio-item:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16/10; }
@media (min-width: 720px) {
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio-item:nth-child(3n+1) { grid-column: span 1; aspect-ratio: 4/3; }
  .portfolio-item:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 16/10; }
}

/* Process */
.process-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); counter-reset: step; }
.process-item { position: relative; padding-left: 3.4rem; }
.process-item::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 999px;
  background: var(--gold); color: var(--white); font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.process-item h3 { margin-bottom: 0.35rem; }
.process-item p { color: var(--ink-500); font-size: 0.95rem; }
@media (min-width: 860px) { .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Response-time promise band */
.promise-band { background: var(--light); border-top: 1px solid var(--line-200); border-bottom: 1px solid var(--line-200); }
.promise-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); padding-block: var(--space-6); }
.promise-inner svg { width: 34px; height: 34px; color: var(--primary); }
.promise-inner strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary-dark); }
.promise-inner span { color: var(--ink-500); font-size: 0.92rem; }
@media (min-width: 700px) { .promise-inner { flex-direction: row; justify-content: center; text-align: left; gap: var(--space-4); } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.contact-info-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-info-item .ico {
  width: 46px; height: 46px; color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .ico svg { width: 24px; height: 24px; }
.contact-info-item strong { display: block; font-size: 0.85rem; color: var(--ink-500); font-weight: 600; }
.contact-info-item a, .contact-info-item span.val { font-weight: 700; color: var(--ink-900); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); border: 1px solid var(--line-200); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); margin-bottom: var(--space-4); }
@media (min-width: 560px) { .form-row.cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line-200); border-radius: var(--radius-sm); padding: 0.85rem 1rem;
  background: var(--cream-50); font-size: 0.96rem; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--white); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-500); margin-top: var(--space-3); text-align: center; }
.form-note.is-error { color: #b3261e; font-weight: 600; }
.field input:invalid:not(:placeholder-shown) { border-color: #b3261e; }

@media (min-width: 900px) { .contact-wrap { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }

/* ==========================================================================
   Final CTA band (used standalone, e.g. on the Portfolio page)
   ========================================================================== */
.cta-band {
  background: var(--cream-50); color: var(--ink-900); text-align: center; position: relative;
}
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--ink-900); }
.cta-band .lede { margin-inline: auto; margin-top: var(--space-3); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-6); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--deep); color: rgba(251,249,244,0.85); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); padding-block: var(--space-8) var(--space-6); }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: var(--space-3); color: rgba(251,249,244,0.65); max-width: 32ch; font-size: 0.92rem; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-social a { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease); }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(251,249,244,0.55); margin-bottom: var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-weight: 600; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-block: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); font-size: 0.82rem; color: rgba(251,249,244,0.55); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
@media (min-width: 780px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }

/* ==========================================================================
   Sticky mobile CTA bar
   ========================================================================== */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line-200); box-shadow: 0 -8px 24px rgba(30,63,17,0.12);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
.mobile-cta-bar a { flex: 1; }
.mobile-cta-bar .btn { width: 100%; }
@media (min-width: 960px) { .mobile-cta-bar { display: none; } }

/* ==========================================================================
   404 page
   ========================================================================== */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-inner { text-align: center; max-width: 560px; margin-inline: auto; }
.error-icon { color: var(--primary); margin-inline: auto; margin-bottom: var(--space-4); }
.error-code { font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 14vw, 7rem); color: var(--primary); line-height: 1; }
.error-inner .lede { margin-inline: auto; }
.error-inner .btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-6); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
/* Reveal animations are opt-in via the .js class (set by an inline script in <head>)
   so content stays visible by default without JavaScript. */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.09s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.23s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.30s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.37s; }

/* Prevent CSS Grid/Flex intrinsic-sizing blowout on narrow viewports:
   grid/flex items default to a content-based minimum width, which can
   force a track (and the whole page) wider than the viewport. */
.hero .container > *,
.split > *,
.grid-2 > *,
.grid-4 > *,
.contact-wrap > *,
.footer-grid > *,
.process-list > *,
.form-row > *,
.cta-band .actions,
.cta-band .actions > *,
.btn-row > * {
  min-width: 0;
}

.bg-cream { background: var(--cream-50); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
