/* ==========================================================================
   Macro Business Software (MBS 5.0) — Custom Organic & Humanist Studio Design
   Colors: Untouched MBS Palette (Royal Navy • Ocean Blue • Leaf Green • Pure White)
   Feel: Warm, Abstract, Custom-Crafted, Clear Human Language — Zero Cold Tech Wireframes
   ========================================================================== */

/* Zero-CLS Font Metric Fallbacks */
@font-face {
  font-family: 'Jakarta Fallback';
  src: local('Segoe UI'), local('Arial');
  font-weight: 400 800;
  size-adjust: 104.9%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Fraunces Fallback';
  src: local('Georgia'), local('Times New Roman');
  font-weight: 400 700;
  size-adjust: 103%;
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  /* Untouched MBS Brand Colors */
  --bg-pure: #ffffff;
  --bg-ice: #f3f7fb;
  --bg-mint: #eef6f0;
  --bg-subtle: #e6eff6;

  --navy-950: #101c3d;
  --navy-900: #162652;
  --navy-800: #1e336b;
  --navy-700: #294487;

  --ocean-700: #095e75; /* 7.1:1 on white */
  --ocean-600: #0b6e87; /* 5.8:1 on white */
  --ocean-500: #0e8aad;
  --ocean-400: #38bdf8;
  --ocean-tint: #e3f3f8;

  --green-700: #24661d; /* 7.0:1 on white */
  --green-600: #2d7a25; /* 5.4:1 on white */
  --green-500: #5d9433; /* Exact logo leaf wing */
  --green-400: #78b348;
  --green-300: #6ee7b7;
  --green-tint: #e6f4e4;

  /* Warm, Readable Ink Hierarchy */
  --ink-strong: #101c3d;
  --ink-body: #334566;
  --ink-muted: #506485;

  --text-on-navy: #ffffff;
  --text-muted-navy: #cddaf0;
  --text-dim-navy: #a0b5d6;

  --danger-600: #c81e1e;

  /* Soft, Subtle Borders & Organic Ambient Depth (Never Harsh Wireframes) */
  --border-light: rgba(22, 38, 82, 0.08);
  --border-light-strong: rgba(11, 110, 135, 0.22);
  --border-navy: rgba(205, 218, 240, 0.15);
  --border-navy-strong: rgba(110, 231, 183, 0.32);

  --shadow-soft: 0 18px 44px -14px rgba(16, 28, 61, 0.08), 0 4px 14px -4px rgba(11, 110, 135, 0.05);
  --shadow-lift: 0 26px 58px -16px rgba(16, 28, 61, 0.13), 0 8px 22px -6px rgba(11, 110, 135, 0.07);

  /* Humanist Typography — Friendly Sans + Expressive Serif Accent (No Cold Monospace!) */
  --font-display: 'Plus Jakarta Sans', 'Jakarta Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Jakarta Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Plus Jakarta Sans', 'Jakarta Fallback', sans-serif;

  /* Custom Signature Silhouette: Asymmetric Leaf-Sail Cut inspired by logo.png */
  --container-max: 1180px;
  --header-h: 80px;
  --leaf-cut: 24px 6px 24px 6px;
  --leaf-cut-lg: 34px 8px 34px 8px;
  --leaf-btn: 16px 4px 16px 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.66;
  color: var(--ink-strong);
  background-color: var(--bg-pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.sr-only {
  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: fixed;
  top: -120px;
  left: 16px;
  z-index: 1000;
  background: var(--navy-900);
  color: var(--bg-pure);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--leaf-btn);
  transition: top 0.18s var(--ease-out);
}

.skip-link:focus {
  top: 14px;
  outline: 3px solid var(--ocean-400);
}

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

/* ==========================================================================
   Warm, Clear Typography & Handcrafted Brush Accents
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.52em 0;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.13;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  letter-spacing: -0.032em;
  line-height: 1.09;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.14;
}

h3 {
  font-size: clamp(1.18rem, 1.65vw, 1.42rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.018em;
}

/* Expressive Editorial Italic Highlight (Humanist Touch) */
.serif-accent,
.accent-brand,
.accent-teal {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ocean-700);
  position: relative;
  display: inline-block;
}

.accent-green {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-700);
}

/* Subtle Hand-Drawn Organic Curve Under Highlighted Words */
h1 .accent-brand::after,
h1 .accent-green::after,
h1 .serif-accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -4px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9C55 2 142 2 197 8' fill='none' stroke='%235d9433' stroke-width='3.2' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.section-dark .accent-teal,
.section-dark .accent-brand,
.section-navy .accent-teal,
.section-navy .accent-brand {
  color: var(--green-300);
}

p {
  margin: 0 0 1rem 0;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

p a:not(.btn):not(.link-arrow) {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  color: var(--ocean-700);
}

.section-dark p a:not(.btn):not(.link-arrow),
.section-navy p a:not(.btn):not(.link-arrow),
.site-footer p a:not(.btn):not(.link-arrow) {
  color: var(--green-300);
}

.lead {
  font-size: clamp(1.08rem, 1.32vw, 1.22rem);
  line-height: 1.64;
  max-width: 54ch;
  color: var(--ink-body);
}

.section-dark .lead,
.section-navy .lead {
  color: var(--text-muted-navy);
}

.mono, .tabular {
  font-variant-numeric: tabular-nums;
}

/* Warm Organic Section Kicker (Soft Leaf Motif — Not a Pill, Not a Tech Slash!) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ocean-700);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 9px 2px 9px 2px;
  background: linear-gradient(135deg, var(--ocean-600), var(--green-500));
  flex-shrink: 0;
}

.section-dark .eyebrow,
.section-navy .eyebrow,
.scan-banner .eyebrow,
.calc-box .eyebrow {
  color: var(--green-300);
}

.section-dark .eyebrow::before,
.section-navy .eyebrow::before,
.scan-banner .eyebrow::before,
.calc-box .eyebrow::before {
  background: linear-gradient(135deg, var(--ocean-400), var(--green-300));
}

/* ==========================================================================
   Containers & Flowing Organic Sections (No Harsh Straight Divider Rules!)
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  padding: clamp(64px, 7.8vw, 112px) 0;
}

.section-white {
  background-color: var(--bg-pure);
  color: var(--ink-strong);
}

.section-white p,
.section-white .muted {
  color: var(--ink-body);
}

.section-light {
  background-color: var(--bg-ice);
  color: var(--ink-strong);
}

.section-light p,
.section-light .muted {
  color: var(--ink-body);
}

.section-paper,
.section-mint {
  background-color: var(--bg-mint);
  color: var(--ink-strong);
}

.section-paper p,
.section-paper .muted,
.section-mint p,
.section-mint .muted {
  color: var(--ink-body);
}

/* Organic Curved Section Dividers */
.wave-divider {
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 68px);
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Warm, Abstract Hero Stage with Flowing Ambient Ribbons */
.hero-stage {
  background-color: var(--bg-pure);
  background-image:
    radial-gradient(ellipse 760px 520px at 88% 22%, rgba(14, 138, 173, 0.09), transparent 70%),
    radial-gradient(ellipse 660px 480px at 68% 88%, rgba(93, 148, 51, 0.10), transparent 72%);
  color: var(--ink-strong);
  overflow: hidden;
}

.hero-stage p,
.hero-stage .muted {
  color: var(--ink-body);
}

.section-dark,
.section-navy {
  background-color: var(--navy-950);
  background-image:
    radial-gradient(circle at 14% 22%, rgba(14, 138, 173, 0.18), transparent 52%),
    radial-gradient(circle at 86% 80%, rgba(93, 148, 51, 0.14), transparent 50%);
  color: var(--text-on-navy);
}

.section-dark p,
.section-dark .muted,
.section-navy p,
.section-navy .muted {
  color: var(--text-muted-navy);
}

.section-header {
  max-width: 660px;
  margin-bottom: clamp(34px, 4.5vw, 52px);
}

.section-header-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(34px, 4.5vw, 52px);
}

.section-header-split > div:first-child {
  max-width: 620px;
}

/* ==========================================================================
   Clean, Airy Header (No Pill Box, No Harsh Tech Grid)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(22, 38, 82, 0.06);
  color: var(--ink-strong);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.28s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark {
    transform: rotate(-4deg) scale(1.05);
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.site-footer .brand-name {
  color: var(--bg-pure);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ocean-700);
  margin-top: 1px;
}

.site-footer .brand-sub {
  color: var(--green-300);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  position: relative;
  padding: 6px 2px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-body);
  transition: color 0.18s var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ocean-600), var(--green-500));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--navy-900);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
  }
}

.nav-link[aria-current="page"] {
  color: var(--navy-900);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Custom Leaf-Cut Studio Buttons (Inspired by MBS Logo Silhouette!)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: var(--leaf-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background-color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), color 0.2s var(--ease-out), border-radius 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 0.98rem;
}

/* Primary Button: Warm Royal Navy with Leaf-Cut Silhouette, Morphs Gently on Hover */
.btn-primary,
.btn-teal,
.btn-green {
  background-color: var(--navy-900);
  color: var(--bg-pure) !important;
  box-shadow: 0 12px 26px -8px rgba(22, 38, 82, 0.34);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-teal:hover,
  .btn-green:hover {
    background-color: var(--ocean-700);
    border-radius: 6px 18px 6px 18px;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(9, 94, 117, 0.38);
  }
}

.section-dark .btn-primary,
.section-navy .btn-primary,
.scan-banner .btn-primary,
.calc-box .btn-primary,
.bento-card-navy .btn-primary {
  background-color: var(--green-600);
  color: var(--bg-pure) !important;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .section-dark .btn-primary:hover,
  .section-navy .btn-primary:hover,
  .scan-banner .btn-primary:hover,
  .calc-box .btn-primary:hover,
  .bento-card-navy .btn-primary:hover {
    background-color: var(--ocean-600);
  }
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-900);
  border-color: rgba(22, 38, 82, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-light:hover {
    background: var(--bg-pure);
    border-color: var(--ocean-600);
    color: var(--ocean-700);
    border-radius: 6px 18px 6px 18px;
    transform: translateY(-1px);
  }
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.09);
  color: var(--bg-pure);
  border-color: rgba(255, 255, 255, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--green-300);
  }
}

.hero-stage .btn-outline-dark,
.section-white .btn-outline-dark,
.section-light .btn-outline-dark {
  background: var(--bg-pure);
  color: var(--navy-900);
  border-color: rgba(22, 38, 82, 0.18);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ocean-700);
  transition: gap 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.section-dark .link-arrow,
.section-navy .link-arrow,
.bento-card-navy .link-arrow,
.service-leaf.is-navy .link-arrow {
  color: var(--green-300);
}

@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover {
    gap: 11px;
    color: var(--green-700);
  }
  .section-dark .link-arrow:hover,
  .section-navy .link-arrow:hover,
  .bento-card-navy .link-arrow:hover,
  .service-leaf.is-navy .link-arrow:hover {
    color: var(--bg-pure);
  }
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: 12px 4px 12px 4px;
  color: var(--navy-900);
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 490;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 22px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease-drawer), transform 0.2s var(--ease-drawer), visibility 0.2s;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  border-radius: 14px 4px 14px 4px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link[aria-current="page"] {
  background: var(--bg-mint);
  color: var(--green-700);
  border-bottom-color: transparent;
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: grid;
  gap: 10px;
}

.mobile-drawer-footer .btn-outline-dark {
  background: var(--bg-ice);
  color: var(--navy-900);
  border-color: var(--border-light-strong);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb-bar {
  padding: 2px 0 0 0;
  margin-bottom: 16px;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li + li::before {
  content: "›";
  opacity: 0.55;
}

.breadcrumb-list a:hover {
  color: var(--ocean-700);
  text-decoration: underline;
}

/* ==========================================================================
   Hero & Abstract Organic Artwork Stage (Inspired by MBS Logo Sails!)
   ========================================================================== */
.hero {
  padding: clamp(40px, 5.5vw, 76px) 0 clamp(54px, 6.5vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Friendly Reassurance Strip under Hero Buttons */
.trust-strip {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-metric-val {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.trust-metric-lbl {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Editorial Documentary Hero Photo Frame (Leaf-Cut Silhouette + Organic Wash) */
.hero-photo-frame {
  position: relative;
  padding: 10px 14px 14px 6px;
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 0;
  left: 22px;
  border-radius: var(--leaf-cut-lg);
  background: linear-gradient(135deg, var(--ocean-tint) 0%, var(--green-tint) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--leaf-cut-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background-color: var(--bg-ice);
}

.photo-caption-note {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 14px 32px -10px rgba(16, 28, 61, 0.18);
  border: 1px solid rgba(22, 38, 82, 0.08);
  max-width: 265px;
}

.photo-caption-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.photo-caption-sub {
  font-size: 0.79rem;
  color: var(--ink-body);
  line-height: 1.38;
}

/* Abstract Custom Canvas (Legacy Fallback) */
.abstract-canvas {
  position: relative;
  padding: 20px;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-art-svg {
  width: 100%;
  max-width: 490px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(16, 28, 61, 0.11));
}

.abstract-float-note {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--leaf-cut);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(22, 38, 82, 0.08);
  max-width: 235px;
}

.abstract-float-note.is-top {
  top: 18px;
  right: 6px;
}

.abstract-float-note.is-bottom {
  bottom: 18px;
  left: 4px;
}

.abstract-note-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.abstract-note-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.38;
}

/* ==========================================================================
   Custom Leaf-Cut Service Blocks & Open Editorial Flow
   ========================================================================== */
.services-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-leaf {
  background: var(--bg-pure);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(28px, 3.6vw, 40px);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-leaf:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }
}

.service-leaf.is-ocean {
  background: linear-gradient(155deg, #ffffff 45%, #e9f5fa 100%);
}

.service-leaf.is-mint {
  background: linear-gradient(155deg, #ffffff 45%, #eaf5e9 100%);
}

.service-leaf.is-navy {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--bg-pure);
  border-color: transparent;
}

.service-leaf.is-navy p,
.service-leaf.is-navy .muted {
  color: var(--text-muted-navy);
}

.service-emblem {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.service-highlights {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.service-leaf.is-navy .service-highlights {
  color: var(--green-300);
}

.service-highlights li::before {
  content: "✓ ";
  color: var(--green-600);
  font-weight: 800;
}

.service-leaf.is-navy .service-highlights li::before {
  color: var(--green-300);
}

/* ==========================================================================
   "Wat kunt u verwachten?" — Warm 4-Step Customer Journey
   ========================================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.journey-step {
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--leaf-cut);
  border: 1px solid rgba(36, 102, 29, 0.12);
}

.journey-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ocean-600);
  margin-bottom: 12px;
}

.journey-step h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}

.journey-step p {
  font-size: 0.92rem;
  color: var(--ink-body);
  line-height: 1.56;
}

/* ==========================================================================
   Warm Story-Driven Portfolio Showcase (Zero Screenshots, Zero Tech Jargon!)
   ========================================================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.story-feature {
  background: var(--bg-ice);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(26px, 3.4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.24s var(--ease-out), background-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .story-feature:hover {
    background: var(--bg-pure);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
  }
}

.story-feature.is-mint {
  background: var(--bg-mint);
}

@media (hover: hover) and (pointer: fine) {
  .story-feature.is-mint:hover {
    background: var(--bg-pure);
  }
}

.story-watermark {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 130px;
  height: 130px;
  opacity: 0.14;
  pointer-events: none;
}

.story-sector {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ocean-700);
  margin-bottom: 6px;
}

.story-feature.is-mint .story-sector {
  color: var(--green-700);
}

.story-feature h3 {
  font-size: 1.38rem;
  margin-bottom: 8px;
}

.story-feature p {
  font-size: 0.96rem;
  color: var(--ink-body);
  line-height: 1.6;
}

.story-outcome {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.story-result-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* ==========================================================================
   Compatibility Styles for Subpages (Softened & Warmed Up!)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-6 { grid-column: span 6; }
.bento-span-4 { grid-column: span 4; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

.bento-card,
.surface-card,
.arch-panel,
.dossier-stage {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover,
  .surface-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
  }
}

.bento-card-ocean {
  background: linear-gradient(155deg, #ffffff 45%, #eaf5fa 100%);
}

.bento-card-mint {
  background: linear-gradient(155deg, #ffffff 45%, #ebf5ea 100%);
}

.bento-card-navy {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--bg-pure);
  border-color: transparent;
}

.bento-card-navy p,
.bento-card-navy .muted {
  color: var(--text-muted-navy);
}

.surface-card-featured {
  border: 2px solid var(--ocean-600) !important;
  background: linear-gradient(160deg, #ffffff 40%, #ecf7fb 100%);
  position: relative;
}

.badge-featured {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--green-700);
  color: var(--bg-pure);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px 3px 12px 3px;
}

/* Softened Dossier / Feature Panel for Subpages */
.dossier-stage {
  padding: 0;
  overflow: hidden;
}

.dossier-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: var(--navy-900);
  color: var(--bg-pure);
  font-size: 0.8rem;
  font-weight: 700;
}

.dossier-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-300);
}

.dossier-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
}

.dossier-panel {
  display: none;
  padding: 24px;
}

.dossier-panel.is-active {
  display: block;
}

.dossier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.dossier-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean-700);
  margin-bottom: 4px;
}

.dossier-title {
  font-size: 1.26rem;
  margin: 0;
}

.dossier-kpi {
  text-align: right;
  flex-shrink: 0;
}

.dossier-kpi-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-700);
}

.dossier-kpi-lbl {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.dossier-schematic {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-ice);
  border-radius: 16px 4px 16px 4px;
}

.dossier-schematic-lbl {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.schematic-chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.schematic-node {
  background: var(--bg-pure);
  padding: 9px 11px;
  border-radius: 10px 3px 10px 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: 0 2px 6px rgba(16, 28, 61, 0.04);
}

.schematic-node.is-core {
  background: var(--bg-mint);
  color: var(--green-700);
}

.schematic-sep {
  color: var(--ocean-600);
  font-weight: 700;
}

.dossier-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dossier-spec-key {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.dossier-spec-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.dossier-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px;
  background: var(--bg-ice);
}

.dossier-domain {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Arch Panel & Router Options */
.arch-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 5px 1px 5px 1px;
  background: var(--navy-800);
}
.window-dots span:nth-child(2) { background: var(--ocean-500); }
.window-dots span:nth-child(3) { background: var(--green-500); }

.router-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px 4px 16px 4px;
  background: var(--bg-ice);
  margin-bottom: 10px;
  transition: background-color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.router-option:last-child {
  margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .router-option:hover {
    background: var(--bg-mint);
    transform: translateX(3px);
  }
}

.router-option-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ocean-700);
  flex-shrink: 0;
}

.router-option-body { flex: 1; }
.router-option-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}
.router-option-desc {
  font-size: 0.83rem;
  color: var(--ink-muted);
}
.router-option-arrow {
  color: var(--ocean-700);
  font-weight: 700;
}

/* Speed Meter & Flow Diagram */
.speed-meter-box {
  background: var(--bg-ice);
  border-radius: 16px 4px 16px 4px;
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}

.speed-bar-row { display: grid; gap: 5px; }
.speed-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
}

.speed-track {
  height: 8px;
  border-radius: 6px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.speed-fill-mbs {
  height: 100%;
  width: 14%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--ocean-600), var(--green-500));
}

.speed-fill-wp {
  height: 100%;
  width: 86%;
  border-radius: 6px;
  background: #94a3b8;
}

.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--bg-ice);
  border-radius: 16px 4px 16px 4px;
}

.flow-node {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px 3px 10px 3px;
  background: var(--bg-pure);
  color: var(--navy-900);
}

.flow-node.is-active {
  background: var(--green-tint);
  color: var(--green-700);
}

.flow-arrow {
  color: var(--ocean-600);
  font-weight: 700;
}

/* Subtle Leaf-Cut Labels (Not Pills, Not Cold Tech Stamps) */
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 10px 3px 10px 3px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-ice);
  color: var(--ink-body);
}

.section-dark .tag,
.section-navy .tag,
.bento-card-navy .tag {
  background: rgba(255, 255, 255, 0.10);
  color: var(--bg-pure);
}

.tag-teal,
.tag-ocean {
  background: var(--ocean-tint) !important;
  color: var(--ocean-700) !important;
}

.tag-green {
  background: var(--green-tint) !important;
  color: var(--green-700) !important;
}

/* Cases Grid & Filterable Portfolio on werk.html */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.case-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }
}

.case-dossier-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.case-sector {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ocean-700);
}

.case-metric-stamp {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-700);
}

.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-body h3 { margin-bottom: 8px; }
.case-body p { font-size: 0.95rem; color: var(--ink-body); }

.case-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 14px 4px 14px 4px;
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--bg-pure);
  color: var(--ink-body);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .filter-btn:hover {
    border-color: var(--ocean-600);
    color: var(--navy-900);
  }
}

.filter-btn.is-active {
  background: var(--navy-900);
  color: var(--bg-pure);
  border-color: var(--navy-900);
}

.studio-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-pure);
  border-radius: var(--leaf-cut);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.studio-table th,
.studio-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  font-size: 0.93rem;
}

.studio-table th {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--bg-ice);
}

.studio-table tr:last-child td { border-bottom: none; }
.studio-table tr.is-hidden { display: none; }

/* Grids, Lists, Tables & Process Steps */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--leaf-cut);
  background: var(--bg-pure);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.93rem;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table th {
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--bg-ice);
  color: var(--navy-900);
}

.compare-table .col-mbs {
  background: var(--bg-mint);
  color: var(--navy-900);
  font-weight: 700;
}

.compare-table th.col-mbs {
  background: var(--navy-900);
  color: var(--bg-pure);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.process-step {
  padding: 26px 24px;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut);
  box-shadow: var(--shadow-soft);
}

.process-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ocean-600);
  margin-bottom: 10px;
}

/* ==========================================================================
   Calculators, Quickscan & Offerte-Formulieren
   ========================================================================== */
.calc-box {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--bg-pure);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lift);
}

.calc-box p { color: var(--text-muted-navy); }
.range-group { margin-bottom: 18px; }
.range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green-400);
  cursor: pointer;
}

.calc-result-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-navy-strong);
  border-radius: var(--leaf-cut);
  padding: 28px;
}

.calc-big-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 2.75rem);
  font-weight: 800;
  color: var(--green-300);
  line-height: 1.08;
  margin: 8px 0 10px;
}

.scan-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, #104568 58%, #216136 100%);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(30px, 4.2vw, 48px);
  color: var(--bg-pure);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.scan-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.scan-form-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 14px;
  margin-top: 22px;
}

.intake-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(30px, 4.5vw, 58px);
  align-items: start;
}

.form-card {
  background: var(--bg-pure);
  color: var(--ink-strong);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(26px, 3.8vw, 42px);
  box-shadow: var(--shadow-lift);
}

.form-card p,
.form-card .muted {
  color: var(--ink-body);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.scan-banner .form-label { color: var(--bg-pure); }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px 4px 12px 4px;
  border: 1px solid rgba(22, 38, 82, 0.18);
  background: var(--bg-ice);
  color: var(--ink-strong);
  transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out);
}

.scan-banner .form-input {
  background: rgba(255, 255, 255, 0.97);
  border-color: transparent;
  color: var(--navy-950);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  background: var(--bg-pure);
  border-color: var(--ocean-600);
  box-shadow: 0 0 0 3px rgba(11, 110, 135, 0.15);
}

.form-input.has-error,
.form-textarea.has-error {
  border-color: var(--danger-600);
}

.field-error-msg {
  color: var(--danger-600);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 5px;
}

.scan-banner .field-error-msg { color: #fecaca; }

.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.choice-pill {
  padding: 9px 15px;
  border-radius: 12px 4px 12px 4px;
  border: 1px solid rgba(22, 38, 82, 0.16);
  background: var(--bg-ice);
  color: var(--ink-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .choice-pill:hover {
    border-color: var(--ocean-600);
    color: var(--navy-900);
    background: var(--bg-pure);
  }
}

.choice-pill[aria-pressed="true"] {
  background: var(--navy-900);
  color: var(--bg-pure);
  border-color: var(--navy-900);
}

.form-status-box {
  padding: 24px;
  border-radius: var(--leaf-cut);
  background: var(--bg-mint);
  border: 1px solid rgba(36, 102, 29, 0.25);
  color: var(--navy-900);
}

.scan-banner .form-status-box {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--green-300);
  color: var(--bg-pure);
}

/* ==========================================================================
   Friendly Open FAQs
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 840px;
}

.faq-item {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: 18px 4px 18px 4px;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease-out);
}

.faq-item[open] {
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px 2px 9px 2px;
  background: var(--bg-ice);
  color: var(--ocean-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--green-tint);
  color: var(--green-700);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.96rem;
  line-height: 1.66;
  color: var(--ink-body);
}

/* ==========================================================================
   Editorial Articles (inzichten/)
   ========================================================================== */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
  align-items: start;
}

.prose {
  font-size: 1.03rem;
  line-height: 1.74;
  color: var(--ink-body);
}

.prose h2 {
  color: var(--navy-900);
  margin-top: 2em;
  margin-bottom: 0.55em;
  font-size: clamp(1.38rem, 2.2vw, 1.8rem);
}

.prose h3 {
  color: var(--navy-900);
  margin-top: 1.5em;
  margin-bottom: 0.45em;
  font-size: 1.18rem;
}

.prose p, .prose ul, .prose ol { margin-bottom: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--navy-900); font-weight: 700; }

.prose-callout {
  margin: 1.8rem 0;
  padding: 22px 26px;
  background: var(--bg-mint);
  border-radius: var(--leaf-cut);
}

.article-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 18px;
}

.toc-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
}

.toc-list a {
  color: var(--ink-body);
  font-weight: 600;
  display: block;
}

.toc-list a:hover { color: var(--ocean-700); }

/* Gentle Scroll Reveal */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--text-muted-navy);
  padding: 64px 0 36px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-navy);
}

.footer-heading {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--bg-pure);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted-navy);
  transition: color 0.15s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--green-300); }
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-dim-navy);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links a:hover { color: var(--bg-pure); }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-desktop,
  .header-actions .btn-hide-tablet {
    display: none;
  }

  .menu-toggle { display: inline-flex; }

  .hero-grid,
  .calc-box,
  .intake-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .bento-span-7,
  .bento-span-5,
  .bento-span-8,
  .bento-span-4 {
    grid-column: span 12;
  }

  .journey-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .services-editorial,
  .stories-grid,
  .cases-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-row-2,
  .scan-form-row,
  .journey-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .bento-span-6 { grid-column: span 12; }

  .abstract-float-note,
  .photo-caption-note {
    position: static;
    max-width: 100%;
    margin-top: 12px;
  }

  .hero-photo-frame {
    padding: 0;
  }

  .hero-photo-frame::before {
    display: none;
  }

  .abstract-canvas {
    flex-direction: column;
    min-height: auto;
    padding: 0;
  }

  .schematic-chain { grid-template-columns: 1fr; gap: 6px; }
  .schematic-sep { display: none; }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .studio-table thead { display: none; }
  .studio-table, .studio-table tbody, .studio-table tr, .studio-table td {
    display: block;
    width: 100%;
  }
  .studio-table tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
  }
  .studio-table td { padding: 4px 0; border: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   MBS 6.0 — Service Starting Price Hints & Ownership Guarantee Strip
   ========================================================================== */
.service-price-hint {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(22, 38, 82, 0.14);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ocean-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-leaf.is-mint .service-price-hint {
  color: var(--green-700);
}

.service-leaf.is-navy .service-price-hint {
  border-top-color: rgba(255, 255, 255, 0.18);
  color: var(--green-300);
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ownership-card {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut);
  padding: 26px 26px;
  box-shadow: var(--shadow-soft);
}

.ownership-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-700);
  background: var(--green-tint);
  padding: 4px 12px;
  border-radius: 10px 3px 10px 3px;
  margin-bottom: 12px;
}

.ownership-card h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}

.ownership-card p {
  font-size: 0.92rem;
  color: var(--ink-body);
  line-height: 1.58;
}

/* ==========================================================================
   Interactive 5-Design Live Studio Switcher Section
   ========================================================================== */
.design-showcase-box {
  background: var(--bg-pure);
  border: 1.5px solid var(--border-light-strong);
  border-radius: var(--leaf-cut-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lift);
  position: relative;
}

.design-switcher-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.design-option-btn {
  appearance: none;
  text-align: left;
  background: var(--bg-ice);
  border: 2px solid transparent;
  border-radius: 18px 5px 18px 5px;
  padding: 16px 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-strong);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .design-option-btn:hover {
    transform: translateY(-3px);
    background: var(--bg-pure);
    border-color: rgba(11, 110, 135, 0.35);
    box-shadow: var(--shadow-soft);
  }
}

.design-option-btn[aria-pressed="true"] {
  background: var(--bg-pure);
  border-color: var(--ocean-600);
  box-shadow: 0 14px 30px -10px rgba(9, 94, 117, 0.22);
}

.design-swatches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.swatch-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.design-num-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.design-option-btn[aria-pressed="true"] .design-num-tag {
  color: var(--ocean-700);
}

.design-option-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1.22;
  color: var(--ink-strong);
  margin-bottom: 4px;
}

.design-option-sector {
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--ink-muted);
}

.design-active-bar {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
}

.selected-style-pill {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 12px 4px 12px 4px;
  background: var(--bg-mint);
  border: 1px solid rgba(36, 102, 29, 0.22);
  font-size: 0.85rem;
  color: var(--ink-strong);
}

.selected-style-pill.is-shown {
  display: flex;
}

/* ==========================================================================
   Floating WhatsApp Button (Bottom-Right) & Compact Style Dock (Bottom-Left)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 440;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #156d3b; /* 6.3:1 WCAG AA contrast with pure white text */
  color: #ffffff !important;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 32px -8px rgba(16, 28, 61, 0.32);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover {
    background: #11582f;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -8px rgba(17, 88, 47, 0.44);
  }
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.style-dock {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 440;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px 7px 13px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(22, 38, 82, 0.15);
  border-radius: 999px;
  box-shadow: 0 14px 34px -8px rgba(16, 28, 61, 0.22);
  color: #101c3d;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.23, 1, 0.32, 1), transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.style-dock.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.style-dock-label {
  margin-right: 4px;
  white-space: nowrap;
  color: #334566;
}

.style-dock-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(22, 38, 82, 0.16);
  background: #f3f7fb;
  color: #162652;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

.style-dock-num[aria-pressed="true"] {
  background: #162652;
  color: #ffffff;
  border-color: #162652;
}

@media (hover: hover) and (pointer: fine) {
  .style-dock-num:hover:not([aria-pressed="true"]) {
    background: #e3f3f8;
    transform: translateY(-1px);
  }
}

body.menu-open .whatsapp-float,
body.menu-open .style-dock {
  display: none;
}

/* Smooth Morphing When Visitor Clicks Another Design */
body,
.site-header,
section,
.hero-photo,
.service-leaf,
.story-feature,
.surface-card,
.bento-card,
.ownership-card,
.journey-step,
.form-card,
.btn {
  transition: background-color 0.28s var(--ease-out), color 0.24s var(--ease-out), border-color 0.24s var(--ease-out), border-radius 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

/* ==========================================================================
   DESIGN 2: "ATELIER" — Warm & Luxe (Horeca, Interieur, Salon, Makelaardij)
   ========================================================================== */
html[data-design="atelier"] {
  --bg-pure: #faf6f0;
  --bg-ice: #f2ebe1;
  --bg-mint: #ece6dc;
  --bg-subtle: #e5ddd0;

  --navy-950: #211914;
  --navy-900: #2b211a;
  --navy-800: #3d2f25;

  --ocean-700: #8a3f1d; /* Warm Terracotta Bronze — 6.8:1 on #faf6f0 */
  --ocean-600: #9e4b25;
  --ocean-500: #b55a30;
  --ocean-tint: #f5e6dc;

  --green-700: #4c5929; /* Tuscan Olive — 6.8:1 on #faf6f0 */
  --green-600: #5c6b33;
  --green-500: #6f8040;
  --green-300: #e7c9a9;
  --green-tint: #eaeede;

  --ink-strong: #211914;
  --ink-body: #46382e;
  --ink-muted: #665447;

  --border-light: rgba(43, 33, 26, 0.11);
  --border-light-strong: rgba(138, 63, 29, 0.28);

  --font-display: 'Playfair Display', 'Fraunces', Georgia, serif;
  --leaf-cut: 16px;
  --leaf-cut-lg: 22px;
  --leaf-btn: 999px;
}

html[data-design="atelier"] h1,
html[data-design="atelier"] h2,
html[data-design="atelier"] h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

html[data-design="atelier"] .site-header {
  background: rgba(250, 246, 240, 0.92);
  border-bottom: 1px solid rgba(43, 33, 26, 0.09);
}

html[data-design="atelier"] .hero-stage {
  background-image:
    radial-gradient(ellipse 740px 500px at 85% 20%, rgba(181, 90, 48, 0.09), transparent 70%),
    radial-gradient(ellipse 640px 460px at 65% 85%, rgba(111, 128, 64, 0.09), transparent 72%);
}

html[data-design="atelier"] .hero-photo {
  border-radius: 160px 160px 18px 18px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(43, 33, 26, 0.14);
}

html[data-design="atelier"] .hero-photo-frame::before {
  border-radius: 160px 160px 18px 18px;
  background: linear-gradient(135deg, #f3e2d6 0%, #e7ead9 100%);
}

html[data-design="atelier"] .wave-divider {
  display: none;
}

html[data-design="atelier"] .service-leaf.is-ocean,
html[data-design="atelier"] .bento-card-ocean {
  background: linear-gradient(155deg, #fffcf8 45%, #f5e8de 100%);
}

html[data-design="atelier"] .service-leaf.is-mint,
html[data-design="atelier"] .bento-card-mint {
  background: linear-gradient(155deg, #fffcf8 45%, #ecefe2 100%);
}

html[data-design="atelier"] .scan-banner {
  background: linear-gradient(135deg, #2b211a 0%, #5c311c 62%, #444f27 100%);
}

/* ==========================================================================
   DESIGN 3: "INDUSTRIEEL" — Stoer & Krachtig Donker (Bouw, Techniek, Sport)
   ========================================================================== */
html[data-design="industrieel"] {
  --bg-pure: #11151c;
  --bg-ice: #171d26;
  --bg-mint: #1b222d;
  --bg-subtle: #242d3b;

  --ocean-700: #fbbf24; /* High-contrast Signal Amber on dark — 11.4:1 */
  --ocean-600: #f59e0b;
  --ocean-500: #f59e0b;
  --ocean-tint: rgba(245, 158, 11, 0.15);

  --green-700: #38bdf8; /* Crisp Steel Cyan on dark — 9.2:1 */
  --green-600: #0284c7;
  --green-500: #f59e0b;
  --green-300: #fbbf24;
  --green-tint: rgba(56, 189, 248, 0.14);

  --ink-strong: #f8fafc;
  --ink-body: #cbd5e1;
  --ink-muted: #94a3b8;

  --border-light: rgba(255, 255, 255, 0.11);
  --border-light-strong: rgba(245, 158, 11, 0.45);

  --shadow-soft: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 24px 54px -14px rgba(0, 0, 0, 0.72);

  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --leaf-cut: 4px;
  --leaf-cut-lg: 4px;
  --leaf-btn: 4px;
}

html[data-design="industrieel"] .site-header {
  background: rgba(17, 21, 28, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-design="industrieel"] .brand-name,
html[data-design="industrieel"] .nav-link[aria-current="page"],
html[data-design="industrieel"] .trust-metric-val,
html[data-design="industrieel"] .service-highlights,
html[data-design="industrieel"] .story-result-text,
html[data-design="industrieel"] .form-label,
html[data-design="industrieel"] .faq-item summary,
html[data-design="industrieel"] .prose h2,
html[data-design="industrieel"] .prose h3,
html[data-design="industrieel"] .prose strong,
html[data-design="industrieel"] .studio-table th,
html[data-design="industrieel"] .compare-table th {
  color: #f8fafc;
}

html[data-design="industrieel"] .nav-link:hover {
  color: #fbbf24;
}

html[data-design="industrieel"] .menu-toggle {
  background: #1e2633;
  color: #f8fafc;
}

html[data-design="industrieel"] .mobile-drawer {
  background: rgba(17, 21, 28, 0.98);
}

html[data-design="industrieel"] .mobile-nav-link {
  color: #f8fafc;
}

html[data-design="industrieel"] .btn-primary,
html[data-design="industrieel"] .btn-teal,
html[data-design="industrieel"] .btn-green,
html[data-design="industrieel"] .scan-banner .btn-primary,
html[data-design="industrieel"] .calc-box .btn-primary {
  background-color: #f59e0b !important;
  color: #11151c !important;
  font-weight: 800;
  box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.35);
}

html[data-design="industrieel"] .btn-outline-light,
html[data-design="industrieel"] .hero-stage .btn-outline-dark,
html[data-design="industrieel"] .section-white .btn-outline-dark,
html[data-design="industrieel"] .section-light .btn-outline-dark {
  background: #1d2430;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.24);
}

html[data-design="industrieel"] .wave-divider {
  display: none;
}

html[data-design="industrieel"] .hero-stage {
  background-image:
    radial-gradient(ellipse 700px 460px at 85% 20%, rgba(245, 158, 11, 0.12), transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-design="industrieel"] .hero-photo {
  border-color: rgba(245, 158, 11, 0.4);
}

html[data-design="industrieel"] .photo-caption-note {
  background: rgba(23, 29, 38, 0.95);
  border-color: rgba(245, 158, 11, 0.4);
  border-radius: 4px;
}

html[data-design="industrieel"] .photo-caption-title {
  color: #fbbf24;
}

html[data-design="industrieel"] .photo-caption-sub {
  color: #cbd5e1;
}

html[data-design="industrieel"] .service-leaf,
html[data-design="industrieel"] .service-leaf.is-ocean,
html[data-design="industrieel"] .service-leaf.is-mint,
html[data-design="industrieel"] .story-feature,
html[data-design="industrieel"] .story-feature.is-mint,
html[data-design="industrieel"] .surface-card,
html[data-design="industrieel"] .bento-card,
html[data-design="industrieel"] .bento-card-ocean,
html[data-design="industrieel"] .bento-card-mint,
html[data-design="industrieel"] .ownership-card,
html[data-design="industrieel"] .journey-step,
html[data-design="industrieel"] .form-card,
html[data-design="industrieel"] .faq-item,
html[data-design="industrieel"] .design-showcase-box {
  background: #1a212c;
  border-color: rgba(255, 255, 255, 0.11);
  border-left: 4px solid #f59e0b;
}

html[data-design="industrieel"] .service-price-hint {
  border-top-color: rgba(255, 255, 255, 0.14);
}

html[data-design="industrieel"] .form-input,
html[data-design="industrieel"] .form-textarea,
html[data-design="industrieel"] .form-select {
  background: #11151c;
  border-color: rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  border-radius: 4px;
}

html[data-design="industrieel"] .choice-pill {
  background: #11151c;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

html[data-design="industrieel"] .choice-pill[aria-pressed="true"] {
  background: #f59e0b;
  color: #11151c;
  border-color: #f59e0b;
}

html[data-design="industrieel"] .scan-banner,
html[data-design="industrieel"] .calc-box {
  background: linear-gradient(135deg, #1e2633 0%, #11151c 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

html[data-design="industrieel"] .site-footer {
  background: #0b0e13;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   DESIGN 4: "ZAKELIJK" — Strak & Zakelijk (Finance, B2B, Consultancy, Recht)
   ========================================================================== */
html[data-design="zakelijk"] {
  --bg-pure: #ffffff;
  --bg-ice: #f4f6f9;
  --bg-mint: #eef2f7;
  --bg-subtle: #e2e8f0;

  --navy-950: #0f172a;
  --navy-900: #0f172a;
  --navy-800: #1e293b;

  --ocean-700: #1d4ed8; /* Corporate Royal Blue — 6.7:1 on white */
  --ocean-600: #2563eb;
  --ocean-500: #3b82f6;
  --ocean-tint: #dbeafe;

  --green-700: #047857; /* Executive Emerald — 5.5:1 on white */
  --green-600: #059669;
  --green-500: #10b981;
  --green-tint: #d1fae5;

  --ink-strong: #0f172a;
  --ink-body: #334155;
  --ink-muted: #475569;

  --border-light: #cbd5e1;
  --border-light-strong: #94a3b8;
  --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 8px 24px rgba(15, 23, 42, 0.09);

  --leaf-cut: 8px;
  --leaf-cut-lg: 10px;
  --leaf-btn: 6px;
}

html[data-design="zakelijk"] .serif-accent,
html[data-design="zakelijk"] .accent-brand,
html[data-design="zakelijk"] .accent-green {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
}

html[data-design="zakelijk"] h1 .accent-brand::after,
html[data-design="zakelijk"] h1 .accent-green::after {
  display: none;
}

html[data-design="zakelijk"] .wave-divider {
  display: none;
}

html[data-design="zakelijk"] section {
  border-bottom: 1px solid #e2e8f0;
}

html[data-design="zakelijk"] .btn-primary {
  background-color: #1d4ed8;
}

html[data-design="zakelijk"] .service-leaf,
html[data-design="zakelijk"] .service-leaf.is-ocean,
html[data-design="zakelijk"] .service-leaf.is-mint,
html[data-design="zakelijk"] .surface-card,
html[data-design="zakelijk"] .ownership-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 3px solid #1d4ed8;
}

html[data-design="zakelijk"] .service-leaf.is-navy {
  background: #0f172a;
  border-top: 3px solid #38bdf8;
}

html[data-design="zakelijk"] .scan-banner {
  background: #0f172a;
}

/* ==========================================================================
   DESIGN 5: "CREATIEF" — Levendig & Eigentijds (Webshops, Retail, Events)
   ========================================================================== */
html[data-design="creatief"] {
  --bg-pure: #fffdf9;
  --bg-ice: #f5f0ff;
  --bg-mint: #e8fbf5;
  --bg-subtle: #ede4ff;

  --navy-950: #1c1236;
  --navy-900: #1c1236;
  --navy-800: #2e1d59;

  --ocean-700: #5b21b6; /* Vibrant Studio Violet — 8.4:1 on cream */
  --ocean-600: #6d28d9;
  --ocean-500: #7c3aed;
  --ocean-tint: #ede9fe;

  --green-700: #0f766e; /* Fresh Mint-Teal — 5.4:1 on cream */
  --green-600: #0d9488;
  --green-500: #14b8a6;
  --green-tint: #ccfbf1;

  --ink-strong: #1c1236;
  --ink-body: #362859;
  --ink-muted: #55447a;

  --border-light: #1c1236;
  --border-light-strong: #1c1236;
  --shadow-soft: 5px 5px 0px #1c1236;
  --shadow-lift: 7px 7px 0px #1c1236;

  --leaf-cut: 22px;
  --leaf-cut-lg: 26px;
  --leaf-btn: 999px;
}

html[data-design="creatief"] .service-leaf,
html[data-design="creatief"] .story-feature,
html[data-design="creatief"] .surface-card,
html[data-design="creatief"] .bento-card,
html[data-design="creatief"] .ownership-card,
html[data-design="creatief"] .journey-step,
html[data-design="creatief"] .form-card,
html[data-design="creatief"] .faq-item,
html[data-design="creatief"] .hero-photo,
html[data-design="creatief"] .design-showcase-box {
  border: 2px solid #1c1236 !important;
}

html[data-design="creatief"] .btn {
  border: 2px solid #1c1236 !important;
  box-shadow: 4px 4px 0px #1c1236;
}

html[data-design="creatief"] .btn-primary {
  background-color: #5b21b6;
}

@media (hover: hover) and (pointer: fine) {
  html[data-design="creatief"] .btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #1c1236;
    border-radius: 999px;
  }
}

html[data-design="creatief"] .scan-banner {
  background: linear-gradient(135deg, #2e1065 0%, #5b21b6 60%, #0f766e 100%);
  border: 2px solid #1c1236;
  box-shadow: 7px 7px 0px #1c1236;
}

/* Responsive adjustments for 5-Design Grid & Floating Bars */
@media (max-width: 1024px) {
  .design-switcher-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ownership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .design-switcher-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float-text {
    display: none;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    right: 14px;
    bottom: 14px;
  }

  .style-dock {
    left: 14px;
    bottom: 14px;
    padding: 6px 9px;
    gap: 4px;
  }

  .style-dock-label {
    font-size: 0.73rem;
  }

  .style-dock-num {
    width: 25px;
    height: 25px;
    font-size: 0.74rem;
  }
}


/* ==========================================================================
   MBS 6.2 — Homepage Interactive 3-Scene Hero Animation Stage
   Crafted following Emil Kowalski principles:
   - GPU-only transform & opacity animations
   - Custom cubic-bezier(0.23, 1, 0.32, 1) ease-out curves
   - Subtle 2px blur bridge between scene transitions
   - Adapts seamlessly to all 5 live design examples
   ========================================================================== */
.hero-motion-wrap {
  position: relative;
  padding: 10px 14px 14px 6px;
}

.hero-motion-wrap::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 0;
  left: 22px;
  border-radius: var(--leaf-cut-lg);
  background: linear-gradient(135deg, var(--ocean-tint) 0%, var(--green-tint) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-motion-card {
  position: relative;
  z-index: 1;
  background: var(--bg-pure);
  border: 1px solid var(--border-light-strong);
  border-radius: var(--leaf-cut-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-ice);
  border-bottom: 1px solid var(--border-light);
}

.hm-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hm-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(22, 38, 82, 0.16);
}

.hm-dots span:nth-child(1) { background: var(--navy-900); opacity: 0.65; }
.hm-dots span:nth-child(2) { background: var(--ocean-600); opacity: 0.75; }
.hm-dots span:nth-child(3) { background: var(--green-500); opacity: 0.85; }

.hm-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hm-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--leaf-btn);
  cursor: pointer;
  transition: transform 150ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hm-tab:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .hm-tab:hover:not([aria-selected="true"]) {
    color: var(--ink-strong);
    background: rgba(14, 138, 173, 0.08);
  }
}

.hm-tab[aria-selected="true"] {
  background: var(--navy-900);
  color: #ffffff;
}

html[data-design="industrieel"] .hm-tab[aria-selected="true"] {
  background: #f59e0b;
  color: #11151c;
}

/* Progress bar driven smoothly on GPU via scaleX */
.hm-progress-track {
  height: 2.5px;
  width: 100%;
  background: rgba(14, 138, 173, 0.1);
  overflow: hidden;
}

.hm-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--ocean-600), var(--green-500));
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-motion-card:not(.is-paused) .hm-progress-fill.is-running {
  animation: hmProgressFill 4800ms linear forwards;
}

@keyframes hmProgressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hm-stage {
  position: relative;
  min-height: 336px;
  padding: 24px 24px 22px;
  display: grid;
}

.hm-scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.985);
  filter: blur(2px);
  transition:
    opacity 260ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 280ms cubic-bezier(0.23, 1, 0.32, 1),
    filter 240ms ease,
    visibility 260ms;
}

.hm-scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Scene 1: Website & Quote Conversion */
.hm-browser-mock {
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.hm-kicker-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ocean-700);
  background: var(--ocean-tint);
  padding: 3px 10px;
  border-radius: 8px 2px 8px 2px;
  margin-bottom: 10px;
}

.hm-mock-heading {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.22;
  margin-bottom: 8px;
}

.hm-mock-lines {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.hm-mock-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(80, 100, 133, 0.16);
  width: 88%;
}

.hm-mock-line.is-short {
  width: 62%;
}

.hm-cta-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--leaf-btn);
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  transform-origin: center;
}

html[data-design="industrieel"] .hm-cta-demo {
  background: #f59e0b;
  color: #11151c;
}

.hm-scene.is-active .hm-cta-demo {
  animation: hmButtonPress 4800ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmButtonPress {
  0%, 26% { transform: scale(1); }
  32% { transform: scale(0.94); box-shadow: 0 0 0 6px rgba(93, 148, 51, 0.22); }
  40%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(93, 148, 51, 0); }
}

/* Smooth animated cursor arrow in Scene 1 */
.hm-cursor {
  position: absolute;
  right: 36px;
  bottom: 12px;
  width: 22px;
  height: 22px;
  color: var(--ink-strong);
  filter: drop-shadow(0 4px 8px rgba(16, 28, 61, 0.22));
  pointer-events: none;
}

.hm-scene.is-active .hm-cursor {
  animation: hmCursorGlide 4800ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmCursorGlide {
  0% { transform: translate(34px, 18px); opacity: 0; }
  12% { opacity: 1; }
  28% { transform: translate(-118px, -10px) scale(1); opacity: 1; }
  33% { transform: translate(-118px, -10px) scale(0.86); opacity: 1; }
  40%, 86% { transform: translate(-106px, -2px) scale(1); opacity: 0.92; }
  96%, 100% { transform: translate(-106px, -2px); opacity: 0; }
}

/* Scene 2: Webshop Product Cards & Order Sync */
.hm-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hm-product-card {
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: var(--leaf-cut);
  padding: 13px;
  position: relative;
}

.hm-product-card.is-picked {
  border-color: var(--green-600);
  background: var(--bg-mint);
}

.hm-product-thumb {
  height: 54px;
  border-radius: 10px 3px 10px 3px;
  background: linear-gradient(135deg, var(--ocean-tint), var(--bg-pure));
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.hm-scene.is-active .hm-product-card.is-picked {
  animation: hmCardHighlight 4800ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmCardHighlight {
  0%, 18% { transform: scale(1); }
  26% { transform: scale(0.97); }
  34%, 100% { transform: translateY(-2px) scale(1); }
}

/* Scene 3: Business System / Automated Workflow Checklist */
.hm-system-list {
  display: grid;
  gap: 9px;
}

.hm-sys-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: 14px 4px 14px 4px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-strong);
  opacity: 0;
  transform: translateY(8px);
}

.hm-scene.is-active .hm-sys-row {
  animation: hmRowEnter 520ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hm-scene.is-active .hm-sys-row:nth-child(1) { animation-delay: 60ms; }
.hm-scene.is-active .hm-sys-row:nth-child(2) { animation-delay: 190ms; }
.hm-scene.is-active .hm-sys-row:nth-child(3) { animation-delay: 320ms; }

@keyframes hmRowEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hm-sys-status {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--green-700);
  background: var(--green-tint);
  padding: 3px 9px;
  border-radius: 8px 2px 8px 2px;
  white-space: nowrap;
}

/* Shared Live Result Toast inside each scene */
.hm-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: var(--bg-mint);
  border: 1px solid rgba(36, 102, 29, 0.22);
  border-radius: 16px 4px 16px 4px;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

html[data-design="industrieel"] .hm-toast {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.38);
}

.hm-scene.is-active .hm-toast {
  animation: hmToastPop 4800ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmToastPop {
  0%, 34% { opacity: 0; transform: translateY(10px) scale(0.96); }
  44%, 92% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-3px) scale(0.98); }
}

.hm-toast-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-600);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.hm-toast-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.25;
}

.hm-toast-sub {
  font-size: 0.76rem;
  color: var(--ink-body);
}

@media (max-width: 680px) {
  .hero-motion-wrap {
    padding: 0;
  }
  .hero-motion-wrap::before {
    display: none;
  }
  .hm-topbar {
    padding: 12px 14px;
  }
  .hm-dots {
    display: none;
  }
  .hm-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .hm-stage {
    padding: 18px 16px;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-scene,
  .hm-sys-row,
  .hm-toast {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}


/* ==========================================================================
   MBS 6.3 — Rich, Meaningful 3-Act Choreographed Hero Story Enhancements
   ========================================================================== */
.hm-stage {
  min-height: 356px;
  padding: 20px 22px 18px;
}

.hm-caption-footer {
  padding: 11px 22px;
  background: var(--bg-ice);
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* --- SCENE 1: Real Mini-Website + Synced Mobile Phone + Live Lead --- */
.hm-s1-workspace {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 12px;
  align-items: stretch;
}

.hm-s1-desktop {
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: 16px 4px 16px 4px;
  padding: 12px 14px 14px;
  position: relative;
  overflow: hidden;
}

.hm-s1-urlbar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--bg-pure);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 11px;
  border: 1px solid var(--border-light);
}

.hm-s1-live-counter {
  margin-left: auto;
  color: var(--ocean-700);
  background: var(--ocean-tint);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.7rem;
}

.hm-s1-hero-preview {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 10px;
  align-items: center;
}

.hm-s1-stars {
  font-size: 0.7rem;
  font-weight: 800;
  color: #d97706;
  margin-bottom: 4px;
}

.hm-s1-stars span {
  color: var(--ink-muted);
  font-weight: 600;
  margin-left: 3px;
}

.hm-s1-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-strong);
  margin-bottom: 10px;
}

.hm-s1-form-sim {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hm-s1-typing-box {
  flex: 1;
  background: var(--bg-pure);
  border: 1px solid var(--border-light-strong);
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--ink-strong);
  overflow: hidden;
  white-space: nowrap;
}

.hm-s1-typed-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
}

.hm-scene.is-active .hm-s1-typed-text {
  animation: hmTypeReveal 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmTypeReveal {
  0%, 6% { clip-path: inset(0 100% 0 0); }
  28%, 92% { clip-path: inset(0 0% 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}

.hm-s1-send-btn {
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 7px 2px 7px 2px;
  white-space: nowrap;
}

html[data-design="industrieel"] .hm-s1-send-btn {
  background: #f59e0b;
  color: #11151c;
}

.hm-scene.is-active .hm-s1-send-btn {
  animation: hmSendPulse 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmSendPulse {
  0%, 31% { transform: scale(1); }
  36% { transform: scale(0.91); background-color: var(--green-600); }
  43%, 100% { transform: scale(1); }
}

.hm-s1-illo {
  width: 82px;
  height: 70px;
  transform-origin: center;
}

.hm-scene.is-active .hm-s1-illo {
  animation: hmIlloBuild 600ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes hmIlloBuild {
  from { opacity: 0; transform: scale(0.92) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Override cursor glide to hit the Verstuur button precisely */
.hm-scene.is-active .hm-cursor {
  animation: hmCursorClickSend 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmCursorClickSend {
  0%, 14% { transform: translate(24px, 16px); opacity: 0; }
  22% { opacity: 1; }
  32% { transform: translate(-64px, -4px) scale(1); opacity: 1; }
  36% { transform: translate(-64px, -4px) scale(0.84); opacity: 1; }
  44%, 84% { transform: translate(-50px, 4px) scale(1); opacity: 0.9; }
  94%, 100% { transform: translate(-50px, 4px); opacity: 0; }
}

/* Synced Mobile Device beside Desktop */
.hm-s1-phone {
  background: var(--bg-pure);
  border: 2px solid var(--navy-900);
  border-radius: 16px;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 22px -8px rgba(16, 28, 61, 0.18);
}

html[data-design="industrieel"] .hm-s1-phone {
  border-color: #f59e0b;
  background: #171d26;
}

.hm-scene.is-active .hm-s1-phone {
  animation: hmPhoneSync 650ms cubic-bezier(0.23, 1, 0.32, 1) 120ms both;
}

@keyframes hmPhoneSync {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hm-s1-phone-notch {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: rgba(22, 38, 82, 0.2);
}

.hm-s1-phone-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.hm-s1-phone-url {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-align: center;
  background: var(--bg-ice);
  border-radius: 4px;
  padding: 2px 4px;
}

.hm-s1-phone-illo {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hm-s1-phone-ping {
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
  background: var(--green-tint);
  color: var(--green-700);
  border-radius: 4px;
  padding: 2px 3px;
  opacity: 0;
  transform: scale(0.92);
}

.hm-scene.is-active .hm-s1-phone-ping {
  animation: hmPhonePing 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmPhonePing {
  0%, 38% { opacity: 0; transform: scale(0.9); }
  46%, 92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.95); }
}

.hm-s1-phone-btn {
  width: 100%;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 0;
  border-radius: 5px;
  background: var(--navy-900);
  color: #ffffff;
}

html[data-design="industrieel"] .hm-s1-phone-btn {
  background: #f59e0b;
  color: #11151c;
}

.hm-s1-phone-tag {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--green-700);
}

/* --- SCENE 2: Webshop Cart Bounce + iDEAL + Live 3-Step Pipeline --- */
.hm-s2-shop {
  background: var(--bg-ice);
  border: 1px solid var(--border-light);
  border-radius: 16px 4px 16px 4px;
  padding: 13px 15px;
  display: grid;
  gap: 11px;
}

.hm-s2-shopbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hm-s2-cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--bg-pure);
  color: var(--ocean-700);
  border: 1px solid var(--border-light-strong);
  padding: 4px 10px;
  border-radius: 999px;
}

.hm-scene.is-active .hm-s2-cart-pill {
  animation: hmCartBounce 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmCartBounce {
  0%, 14% { transform: scale(1); }
  20% { transform: scale(1.09); background: var(--green-tint); color: var(--green-700); }
  28%, 100% { transform: scale(1); }
}

.hm-s2-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: 12px 3px 12px 3px;
  padding: 9px 12px;
}

.hm-s2-prod-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-s2-prod-info {
  flex: 1;
}

.hm-s2-prod-name {
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--ink-strong);
}

.hm-s2-prod-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-body);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.hm-s2-ideal-badge {
  font-size: 0.69rem;
  font-weight: 800;
  color: #ffffff;
  background: #b91c68; /* Recognizable Dutch iDEAL magenta-berry tone */
  padding: 2px 7px;
  border-radius: 5px;
  opacity: 0;
  transform: scale(0.9);
}

.hm-scene.is-active .hm-s2-ideal-badge {
  animation: hmIdealAppear 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmIdealAppear {
  0%, 22% { opacity: 0; transform: scale(0.9); }
  30%, 94% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}

.hm-s2-buy-btn {
  font-size: 0.73rem;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 8px 2px 8px 2px;
  background: var(--green-tint);
  color: var(--green-700);
}

/* 3-Step Animated Beam Pipeline */
.hm-s2-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 2px;
}

.hm-s2-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--ink-strong);
  white-space: nowrap;
}

.hm-s2-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-600);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hm-s2-connector {
  flex: 1;
  height: 3px;
  background: rgba(14, 138, 173, 0.15);
  border-radius: 3px;
  overflow: hidden;
  min-width: 14px;
}

.hm-s2-beam {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ocean-600), var(--green-500));
  transform-origin: left center;
  transform: scaleX(0);
}

.hm-scene.is-active .hm-s2-beam {
  animation: hmBeamFlow 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

.hm-scene.is-active .hm-s2-beam.is-delayed {
  animation-delay: 220ms;
}

@keyframes hmBeamFlow {
  0%, 26% { transform: scaleX(0); }
  42%, 94% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* --- SCENE 3: Scatter Notes Snapping Into Clean System --- */
.hm-s3-transform {
  display: grid;
  gap: 10px;
}

.hm-s3-chaos-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hm-chaos-chip {
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(200, 30, 30, 0.08);
  color: var(--ink-muted);
  text-decoration: line-through;
  display: inline-block;
}

.hm-scene.is-active .hm-chaos-chip.c1 {
  animation: hmChaosLoop1 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.hm-scene.is-active .hm-chaos-chip.c2 {
  animation: hmChaosLoop2 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.hm-scene.is-active .hm-chaos-chip.c3 {
  animation: hmChaosLoop3 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmChaosLoop1 {
  0%, 6% { transform: rotate(-6deg) translateY(-4px); opacity: 0.85; text-decoration: none; background: rgba(200, 30, 30, 0.13); color: #991b1b; }
  18%, 93% { transform: rotate(0deg) translateY(0); opacity: 0.72; text-decoration: line-through; background: rgba(200, 30, 30, 0.07); color: var(--ink-muted); }
  100% { transform: rotate(-6deg) translateY(-4px); opacity: 0.85; text-decoration: none; }
}

@keyframes hmChaosLoop2 {
  0%, 8% { transform: rotate(5deg) translateY(4px); opacity: 0.85; text-decoration: none; background: rgba(200, 30, 30, 0.13); color: #991b1b; }
  20%, 93% { transform: rotate(0deg) translateY(0); opacity: 0.72; text-decoration: line-through; background: rgba(200, 30, 30, 0.07); color: var(--ink-muted); }
  100% { transform: rotate(5deg) translateY(4px); opacity: 0.85; text-decoration: none; }
}

@keyframes hmChaosLoop3 {
  0%, 10% { transform: rotate(-4deg) translateY(3px); opacity: 0.85; text-decoration: none; background: rgba(200, 30, 30, 0.13); color: #991b1b; }
  22%, 93% { transform: rotate(0deg) translateY(0); opacity: 0.72; text-decoration: line-through; background: rgba(200, 30, 30, 0.07); color: var(--ink-muted); }
  100% { transform: rotate(-4deg) translateY(3px); opacity: 0.85; text-decoration: none; }
}

.hm-scene.is-active .hm-sys-row:nth-child(1) {
  animation: hmSysRow1 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.hm-scene.is-active .hm-sys-row:nth-child(2) {
  animation: hmSysRow2 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.hm-scene.is-active .hm-sys-row:nth-child(3) {
  animation: hmSysRow3 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmSysRow1 {
  0%, 10% { opacity: 0; transform: translateY(8px); }
  20%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-3px); }
}

@keyframes hmSysRow2 {
  0%, 18% { opacity: 0; transform: translateY(8px); }
  28%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-3px); }
}

@keyframes hmSysRow3 {
  0%, 26% { opacity: 0; transform: translateY(8px); }
  36%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-3px); }
}

.hm-chaos-arrow {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green-700);
  margin-left: auto;
}

.hm-sys-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hm-sys-avatar {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-sys-avatar.is-alt { background: var(--ocean-600); }
.hm-sys-avatar.is-green { background: var(--green-600); }

/* Drawn SVG checkmark inside toast + updated 5400ms cycle */
.hero-motion-card:not(.is-paused) .hm-progress-fill.is-running {
  animation-duration: 5400ms;
}

.hm-scene.is-active .hm-toast {
  animation: hmToastPopRich 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmToastPopRich {
  0%, 37% { opacity: 0; transform: translateY(10px) scale(0.96); }
  46%, 93% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-3px) scale(0.98); }
}

.hm-draw-check {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

.hm-scene.is-active .hm-draw-check {
  animation: hmDrawTick 5400ms cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes hmDrawTick {
  0%, 40% { stroke-dashoffset: 24; }
  50%, 95% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 24; }
}

@media (max-width: 680px) {
  .hm-s1-workspace {
    grid-template-columns: 1fr;
  }
  .hm-s1-phone {
    display: none;
  }
  .hm-s2-pipeline {
    flex-wrap: wrap;
  }
  .hm-s2-connector {
    display: none;
  }
}
