/* =========================================================================
   WVB — Aannemer & Klusbedrijf
   Design system
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */

:root {
  /* Ink — warm near-black */
  --ink-900: #14120f;
  --ink-800: #1c1a16;
  --ink-700: #272420;
  --ink-600: #3a352e;
  --ink-400: #6b635a;
  --ink-300: #8e857a;

  /* Sand — warm paper */
  --sand-50: #fdfbf7;
  --sand-100: #f7f3ec;
  --sand-200: #f0eae0;
  --sand-300: #e4dcce;
  --sand-400: #d3c8b5;

  /* Accent — terracotta */
  --accent: #d97a24;
  --accent-600: #bd6216;
  --accent-700: #974d10;
  --accent-100: #fbeeda;
  --accent-050: #fdf7ee;

  /* Support */
  --moss: #4a5d4e;
  --white: #ffffff;

  --line: rgba(20, 18, 15, 0.10);
  --line-strong: rgba(20, 18, 15, 0.18);
  --line-dark: rgba(253, 251, 247, 0.14);

  /* Typography */
  --font-sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.6vw, 3.9rem);
  --step-5: clamp(2.7rem, 1.6rem + 4.6vw, 5.6rem);

  /* Space */
  --gap: clamp(1rem, 0.7rem + 1.2vw, 1.5rem);
  --pad-x: clamp(1.15rem, 0.6rem + 2.4vw, 3rem);
  --section-y: clamp(4rem, 2.4rem + 6vw, 8.5rem);
  --shell: 1320px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20, 18, 15, 0.05), 0 2px 8px rgba(20, 18, 15, 0.04);
  --shadow-md: 0 2px 4px rgba(20, 18, 15, 0.04), 0 12px 28px -8px rgba(20, 18, 15, 0.12);
  --shadow-lg: 0 4px 8px rgba(20, 18, 15, 0.04), 0 28px 60px -18px rgba(20, 18, 15, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--accent); color: var(--white); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 999;
  background: var(--ink-900);
  color: var(--sand-50);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* -------------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3.5vw, 5rem); }
.section--flush-top { padding-top: 0; }

.section--dark {
  background: var(--ink-900);
  color: var(--sand-100);
}
.section--sand { background: var(--sand-100); }
.section--paper { background: var(--white); }

/* -------------------------------------------------------------------------
   4. Typography helpers
   ------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-600);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section--dark .eyebrow { color: var(--accent); }

.h-xl { font-size: var(--step-5); letter-spacing: -0.04em; }
.h-lg { font-size: var(--step-4); letter-spacing: -0.035em; }
.h-md { font-size: var(--step-3); letter-spacing: -0.03em; }
.h-sm { font-size: var(--step-2); letter-spacing: -0.02em; }
.h-xs { font-size: var(--step-1); letter-spacing: -0.015em; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-400);
  max-width: 62ch;
  font-weight: 400;
}
.section--dark .lede { color: var(--sand-300); }

.muted { color: var(--ink-400); }
.section--dark .muted { color: var(--sand-300); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: end;
  }
}
.section-head__aside { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }

/* -------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--sand-50);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.95em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), box-shadow 0.35s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--white); }
.btn--accent:hover { --btn-bg: var(--accent-600); }

.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink-900); box-shadow: var(--shadow-sm); }
.btn--light:hover { --btn-bg: var(--sand-100); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--ink-900); --btn-fg: var(--sand-50); box-shadow: var(--shadow-md); }

.section--dark .btn--ghost,
.hero .btn--ghost,
.page-hero .btn--ghost,
.footer .btn--ghost,
.cta-band .btn--ghost {
  --btn-fg: var(--sand-100);
  box-shadow: inset 0 0 0 1.5px rgba(253, 251, 247, 0.28);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover,
.footer .btn--ghost:hover,
.cta-band .btn--ghost:hover { --btn-bg: var(--sand-50); --btn-fg: var(--ink-900); }

.btn--lg { padding: 1.15em 2em; font-size: 1rem; }
.btn--sm { padding: 0.7em 1.15em; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-900);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow:hover { color: var(--accent-600); border-color: var(--accent); gap: 0.8em; }
.link-arrow svg { width: 0.95em; height: 0.95em; }
.section--dark .link-arrow { color: var(--sand-50); border-color: var(--line-dark); }
.section--dark .link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* -------------------------------------------------------------------------
   6. Header
   ------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.45s var(--ease);

  /* Elke pagina opent met een donkere hero: de header start dus licht
     en wisselt naar donker zodra hij vastplakt op de lichte achtergrond. */
  --header-fg: var(--sand-50);
  --header-fg-dim: rgba(253, 251, 247, 0.75);
  --header-hover: rgba(253, 251, 247, 0.12);
  --logo-plate: rgba(253, 251, 247, 0.14);
}
.header.is-stuck {
  --header-fg: var(--ink-900);
  --header-fg-dim: var(--ink-600);
  --header-hover: rgba(20, 18, 15, 0.05);
  --logo-plate: #14120f;
}
.header .logo__name,
.header .header__phone { color: var(--header-fg); }
.header .logo__sub { color: var(--header-fg-dim); }
.header .burger span { background: var(--header-fg); }
.header .logo__plate { fill: var(--logo-plate); transition: fill 0.35s var(--ease); }
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253, 251, 247, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease);
}
.header.is-stuck::before { opacity: 1; border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-104%); }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  height: var(--header-h);
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink-900);
  transition: color 0.35s var(--ease);
}
.logo__sub {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-top: 3px;
  transition: color 0.35s var(--ease);
}

/* Desktop nav */
.nav { display: none; margin-inline-start: auto; }
@media (min-width: 1060px) { .nav { display: flex; align-items: center; gap: 0.15rem; } }

.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.6rem 0.85rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--header-fg-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover, .nav__item:focus-within .nav__link { color: var(--header-fg); background: var(--header-hover); }
.nav__link[aria-current='page'] { color: var(--header-fg); font-weight: 600; }
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__chev { width: 11px; height: 11px; opacity: 0.5; transition: transform 0.3s var(--ease); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: min(920px, calc(100vw - 3rem));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav__item:hover .mega, .nav__item:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega__intro {
  background: var(--sand-100);
  border-radius: var(--r-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mega__intro h3 { font-size: 1.15rem; }
.mega__intro p { font-size: 0.88rem; color: var(--ink-400); line-height: 1.5; }
.mega__intro .link-arrow { margin-top: auto; font-size: 0.87rem; align-self: flex-start; }

.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.2rem; align-content: start; }
.mega__link {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.62rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-600);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.mega__link:hover { background: var(--accent-050); color: var(--ink-900); }
.mega__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  flex: none;
}

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 0.6rem; margin-inline-start: auto; }
@media (min-width: 1060px) { .header__actions { margin-inline-start: 0; } }

.header__phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--header-fg);
  padding: 0.5rem 0.75rem;
  border-radius: 100px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.header__phone:hover { background: var(--header-hover); }
.header__phone svg { width: 15px; height: 15px; color: var(--accent); }
@media (min-width: 720px) { .header__phone { display: inline-flex; } }
@media (min-width: 1060px) and (max-width: 1200px) { .header__phone { display: none; } }

.header .btn { padding: 0.75em 1.25em; font-size: 0.88rem; }
@media (max-width: 560px) { .header .btn--accent { display: none; } }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 11px;
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.burger:hover { background: var(--header-hover); }
@media (min-width: 1060px) { .burger { display: none; } }
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--header-fg); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), background 0.35s var(--ease);
}
/* Bij een geopend menu staat de header altijd op de lichte drawer-achtergrond. */
body.nav-open .header { --header-fg: var(--ink-900); --header-fg-dim: var(--ink-600); --header-hover: rgba(20,18,15,.05); --logo-plate: #14120f; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--sand-50);
  padding: calc(var(--header-h) + 1.5rem) var(--pad-x) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1060px) { .drawer { display: none; } }

.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 1.05rem 0;
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink-900);
  text-align: left;
}
.drawer__top svg { width: 18px; height: 18px; color: var(--ink-300); transition: transform 0.3s var(--ease); }
.drawer__top[aria-expanded='true'] svg { transform: rotate(180deg); }
.drawer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.drawer__panel.is-open { grid-template-rows: 1fr; }
.drawer__panel > div { overflow: hidden; }
.drawer__sub { display: flex; flex-direction: column; padding-bottom: 0.9rem; }
.drawer__sub a {
  padding: 0.55rem 0; font-size: 1rem; color: var(--ink-400);
  display: flex; gap: 0.7rem; align-items: baseline;
}
.drawer__sub a:hover { color: var(--accent-600); }
.drawer__foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.drawer__foot .btn { width: 100%; }

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 6rem));
  padding-bottom: clamp(2.5rem, 1rem + 5vw, 5rem);
  background: var(--ink-900);
  color: var(--sand-50);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 15, 0.94) 0%, rgba(20, 18, 15, 0.72) 38%, rgba(20, 18, 15, 0.9) 100%),
    radial-gradient(120% 90% at 15% 20%, rgba(217, 122, 36, 0.22), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(253, 251, 247, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(253, 251, 247, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 50% 10%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 10%, #000 35%, transparent 78%);
}

.hero__inner { position: relative; max-width: 900px; }
.hero__eyebrow { color: var(--accent); }
.hero h1 {
  font-size: var(--step-5);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
  color: rgba(253, 251, 247, 0.78);
  max-width: 60ch;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}
.hero .btn-row { gap: 0.9rem; }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1.5rem;
  margin-top: 2.25rem;
  font-size: 0.86rem;
  color: rgba(253, 251, 247, 0.62);
}
.hero__trust-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust-item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* Stat strip */
.statbar {
  position: relative;
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(253, 251, 247, 0.13);
  border: 1px solid rgba(253, 251, 247, 0.13);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 800px) { .statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.statbar__cell {
  background: rgba(20, 18, 15, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.25rem, 1rem + 1vw, 1.85rem);
}
.statbar__val {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--sand-50);
  display: flex; align-items: baseline;
}
.statbar__val span { color: var(--accent); }
.statbar__label { font-size: 0.9rem; font-weight: 600; margin-top: 0.65rem; color: var(--sand-100); }
.statbar__sub { font-size: 0.78rem; color: rgba(253, 251, 247, 0.5); margin-top: 0.15rem; }

/* -------------------------------------------------------------------------
   8. Marquee
   ------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line);
  background: var(--sand-100);
  padding-block: 1.05rem;
  overflow: hidden;
  --marquee-duration: 42s;
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-duration) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 2.75rem; padding-inline-end: 2.75rem; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-400);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
a.marquee__item:hover { color: var(--accent-600); }
.marquee__item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------
   9. Bento tiles
   ------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.bento > * { grid-column: span 2; }
@media (min-width: 760px) {
  .sp-2, .sp-3, .sp-4 { grid-column: span 3; }
  .sp-5, .sp-6, .sp-7, .sp-8, .sp-12 { grid-column: span 6; }
}
@media (min-width: 1100px) {
  .sp-2 { grid-column: span 2; }
  .sp-3 { grid-column: span 3; }
  .sp-4 { grid-column: span 4; }
  .sp-5 { grid-column: span 5; }
  .sp-6 { grid-column: span 6; }
  .sp-7 { grid-column: span 7; }
  .sp-8 { grid-column: span 8; }
  .sp-12 { grid-column: span 12; }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 210px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  will-change: transform;
}
a.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.tile__media { position: relative; overflow: hidden; aspect-ratio: 16 / 7; background: var(--sand-200); }
.tile__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
a.tile:hover .tile__media img { transform: scale(1.055); }
.tile__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 18, 15, 0.35) 100%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
a.tile:hover .tile__media::after { opacity: 1; }

.tile__body {
  padding: clamp(1.15rem, 1rem + 0.6vw, 1.7rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.tile__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.tile__title { font-size: var(--step-1); letter-spacing: -0.02em; }
.tile__text { font-size: 0.92rem; color: var(--ink-400); line-height: 1.55; }
.tile__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink-900);
}
.tile__arrow {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand-100);
  color: var(--ink-900);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.tile__arrow svg { width: 14px; height: 14px; }
a.tile:hover .tile__arrow { background: var(--accent); color: var(--white); transform: rotate(-45deg); }

/* Tile variants */
.tile--dark { background: var(--ink-900); border-color: transparent; color: var(--sand-100); }
.tile--dark .tile__text { color: rgba(253, 251, 247, 0.62); }
.tile--dark .tile__foot { color: var(--sand-50); }
.tile--dark .tile__arrow { background: rgba(253, 251, 247, 0.1); color: var(--sand-50); }

.tile--accent { background: var(--accent); border-color: transparent; color: var(--white); }
.tile--accent .tile__num { color: rgba(255, 255, 255, 0.72); }
.tile--accent .tile__text { color: rgba(255, 255, 255, 0.85); }
.tile--accent .tile__foot { color: var(--white); }
.tile--accent .tile__arrow { background: rgba(255, 255, 255, 0.18); color: var(--white); }

.tile--sand { background: var(--sand-100); }

.tile--tall .tile__media { aspect-ratio: auto; flex: 1; min-height: 190px; }

.tile--feature { min-height: 340px; }
.tile--feature .tile__media { aspect-ratio: 16 / 8; }
.tile--feature .tile__title { font-size: var(--step-2); }

/* Overlay tile: image with text on top */
.tile--overlay { min-height: 300px; border-color: transparent; }
.tile--overlay .tile__media { position: absolute; inset: 0; aspect-ratio: auto; }
.tile--overlay .tile__media::after {
  opacity: 1;
  background: linear-gradient(180deg, rgba(20,18,15,0.12) 0%, rgba(20,18,15,0.5) 45%, rgba(20,18,15,0.93) 100%);
}
.tile--overlay .tile__body { position: relative; color: var(--sand-50); flex: 0 0 auto; margin-top: auto; }
.tile--overlay .tile__text { color: rgba(253, 251, 247, 0.75); }
.tile--overlay .tile__foot { color: var(--sand-50); }
.tile--overlay .tile__arrow { background: rgba(253, 251, 247, 0.16); color: var(--sand-50); backdrop-filter: blur(6px); }

/* Stat tile */
.tile--stat { justify-content: center; align-items: flex-start; padding: clamp(1.35rem, 1rem + 1vw, 2rem); gap: 0.4rem; min-height: 190px; }
.tile--stat .tile__val {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.055em; line-height: 0.9;
}
.tile--stat .tile__val span { color: var(--accent); }

/* Quote tile */
.tile--quote { padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem); justify-content: space-between; gap: 1.5rem; }
.tile--quote blockquote { font-size: var(--step-1); line-height: 1.45; letter-spacing: -0.018em; font-weight: 500; }

/* -------------------------------------------------------------------------
   10. Split section
   ------------------------------------------------------------------------- */

.split { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--flip .split__media { order: 2; }
}
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split__media--stack { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
.split__media--stack img { aspect-ratio: 1 / 1; border-radius: var(--r-md); }
.split__media--stack img:first-child { grid-column: span 2; aspect-ratio: 16 / 8; }
.split__body { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }

.badge-float {
  position: absolute;
  right: clamp(0.85rem, 2vw, 1.5rem);
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 0.15rem;
  max-width: 220px;
}
.badge-float__val { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.badge-float__val span { color: var(--accent); }
.badge-float__label { font-size: 0.78rem; color: var(--ink-400); line-height: 1.35; }

/* Checklist */
.checklist { display: grid; gap: 0.75rem; }
@media (min-width: 620px) { .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; }
.checklist li::before {
  content: '';
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bd6216' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(217, 122, 36, 0.22); }

/* Feature grid (icon cards) */
.feature-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature {
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-050); color: var(--accent-600);
  display: grid; place-items: center; margin-bottom: 0.35rem;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.08rem; letter-spacing: -0.02em; }
.feature p { font-size: 0.9rem; color: var(--ink-400); line-height: 1.55; }

.section--dark .feature { background: rgba(253, 251, 247, 0.035); border-color: var(--line-dark); }
.section--dark .feature p { color: rgba(253, 251, 247, 0.6); }
.section--dark .feature__icon { background: rgba(217, 122, 36, 0.15); color: var(--accent); }

/* -------------------------------------------------------------------------
   11. Steps
   ------------------------------------------------------------------------- */

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: clamp(1.5rem, 1.2rem + 1.2vw, 2.35rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.section--dark .step { border-color: var(--line-dark); }
.step:last-child { border-bottom: 1px solid var(--line); }
.section--dark .step:last-child { border-color: var(--line-dark); }
@media (min-width: 800px) { .step { grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.6fr); gap: 2.5rem; } }

.step__n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.35rem;
}
.step__title { font-size: var(--step-2); letter-spacing: -0.028em; }
.step__text { font-size: 0.97rem; color: var(--ink-400); line-height: 1.6; max-width: 58ch; }
.section--dark .step__text { color: rgba(253, 251, 247, 0.6); }

/* -------------------------------------------------------------------------
   12. Projects
   ------------------------------------------------------------------------- */

.project-card {
  position: relative;
  display: block;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-900);
  min-height: clamp(340px, 30vw, 480px);
  isolation: isolate;
}
.project-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.project-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,15,0.1) 0%, rgba(20,18,15,0.4) 45%, rgba(20,18,15,0.92) 100%);
}
.project-card:hover img { transform: scale(1.05); }
.project-card__body {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 0.75rem;
  padding: clamp(1.4rem, 1.1rem + 1.5vw, 2.5rem);
  color: var(--sand-50);
}
.project-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(253, 251, 247, 0.68);
}
.project-card__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.project-card__meta span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.project-card h3 { font-size: var(--step-3); letter-spacing: -0.035em; }
.project-card p { font-size: 0.98rem; color: rgba(253, 251, 247, 0.72); max-width: 52ch; line-height: 1.55; }
.project-card .link-arrow { margin-top: 0.5rem; align-self: flex-start; color: var(--sand-50); border-color: rgba(253,251,247,0.3); }
.project-card:hover .link-arrow { color: var(--accent); border-color: var(--accent); }

/* Gallery */
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.gallery__item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand-200);
}
.gallery__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(20, 18, 15, 0.25);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__item--wide img { aspect-ratio: 21 / 9; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 11, 9, 0.94);
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--r-md); }
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(253, 251, 247, 0.12);
  color: var(--sand-50);
  display: grid; place-items: center;
}
.lightbox__close:hover { background: rgba(253, 251, 247, 0.22); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(253, 251, 247, 0.12); color: var(--sand-50);
  display: grid; place-items: center;
}
.lightbox__nav:hover { background: rgba(253, 251, 247, 0.22); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); }
.lightbox__count {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; translate: -50% 0;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em;
  color: rgba(253, 251, 247, 0.6);
}

/* -------------------------------------------------------------------------
   13. Reviews
   ------------------------------------------------------------------------- */

.review {
  display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) { .review { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

.review__quote {
  font-size: clamp(1.25rem, 1.05rem + 1.1vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-wrap: pretty;
}
.review__quote::before { content: '\201C'; color: var(--accent); }
.review__quote::after { content: '\201D'; color: var(--accent); }
.review__author { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.02em;
  flex: none;
}
.review__name { font-weight: 600; font-size: 0.97rem; }
.review__role { font-size: 0.85rem; color: var(--ink-400); }
.section--dark .review__role { color: rgba(253, 251, 247, 0.55); }

.rating-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.section--dark .rating-card { background: rgba(253, 251, 247, 0.04); border-color: var(--line-dark); box-shadow: none; }
.rating-card__score { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.rating-card__stars { display: flex; justify-content: center; gap: 0.25rem; margin: 0.85rem 0 0.6rem; }
.rating-card__stars svg { width: 20px; height: 20px; color: var(--accent); }
.rating-card__label { font-size: 0.87rem; color: var(--ink-400); }
.section--dark .rating-card__label { color: rgba(253, 251, 247, 0.58); }

/* -------------------------------------------------------------------------
   14. Areas / werkgebied
   ------------------------------------------------------------------------- */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.section--dark .areas { background: var(--line-dark); border-color: var(--line-dark); }
.area {
  background: var(--white);
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: background 0.3s var(--ease);
}
.section--dark .area { background: var(--ink-900); }
a.area:hover { background: var(--accent-050); }
.section--dark a.area:hover { background: rgba(217, 122, 36, 0.12); }
.area__name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem; }
.area__name svg { width: 13px; height: 13px; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: all 0.3s var(--ease); }
a.area:hover .area__name svg { opacity: 1; transform: none; }
.area__note { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-300); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-size: 0.83rem;
  padding: 0.45em 0.95em;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-600);
  transition: all 0.25s var(--ease);
}
a.chip:hover { background: var(--ink-900); color: var(--sand-50); border-color: transparent; }
.section--dark .chip { background: rgba(253,251,247,0.06); border-color: var(--line-dark); color: var(--sand-200); }

/* -------------------------------------------------------------------------
   15. FAQ
   ------------------------------------------------------------------------- */

.faq { display: grid; gap: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.section--dark .faq__item { border-color: var(--line-dark); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.15rem, 1rem + 0.5vw, 1.6rem) 0;
  text-align: left;
  font-size: clamp(1.02rem, 0.97rem + 0.35vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  transition: color 0.25s var(--ease);
}
.section--dark .faq__q { color: var(--sand-50); }
.faq__q:hover { color: var(--accent-600); }
.section--dark .faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sand-100); color: var(--ink-900);
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.35s var(--ease);
}
.section--dark .faq__icon { background: rgba(253,251,247,0.08); color: var(--sand-50); }
.faq__icon svg { width: 13px; height: 13px; }
.faq__q[aria-expanded='true'] .faq__icon { background: var(--accent); color: var(--white); transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.42s var(--ease); }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: 1.5rem;
  max-width: 72ch;
  color: var(--ink-400);
  font-size: 0.97rem;
  line-height: 1.65;
}
.section--dark .faq__a p { color: rgba(253, 251, 247, 0.62); }

/* -------------------------------------------------------------------------
   16. CTA band
   ------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--ink-900);
  color: var(--sand-50);
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 1.6rem + 3.5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 130% at 88% 15%, rgba(217, 122, 36, 0.4), transparent 62%),
    radial-gradient(70% 110% at 8% 95%, rgba(217, 122, 36, 0.16), transparent 58%);
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0; z-index: -1; opacity: 0.4;
  background-image:
    linear-gradient(to right, rgba(253, 251, 247, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(253, 251, 247, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 75%);
}
.cta-band__grid { display: grid; gap: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.cta-band h2 { font-size: var(--step-4); letter-spacing: -0.04em; margin-bottom: 1rem; }
.cta-band p { color: rgba(253, 251, 247, 0.72); max-width: 48ch; font-size: 1.03rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) { .cta-band__actions { align-items: flex-start; } }
.cta-band__direct {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding-top: 1.25rem; margin-top: 0.35rem;
  border-top: 1px solid rgba(253, 251, 247, 0.16);
  width: 100%;
}
.cta-band__direct a {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.95rem; color: rgba(253, 251, 247, 0.85);
  transition: color 0.25s var(--ease);
}
.cta-band__direct a:hover { color: var(--accent); }
.cta-band__direct svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* -------------------------------------------------------------------------
   17. Page hero (inner pages)
   ------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  background: var(--ink-900);
  color: var(--sand-50);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,18,15,0.92) 0%, rgba(20,18,15,0.78) 50%, rgba(20,18,15,0.95) 100%),
    radial-gradient(100% 90% at 12% 10%, rgba(217, 122, 36, 0.2), transparent 62%);
}
.page-hero--plain { background: var(--ink-900); }
.page-hero__inner { max-width: 880px; }
.page-hero h1 { font-size: var(--step-4); letter-spacing: -0.04em; margin-bottom: 1.15rem; }
.page-hero__lede { font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.25rem); color: rgba(253, 251, 247, 0.75); max-width: 62ch; line-height: 1.55; }
.page-hero .btn-row { margin-top: 2rem; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(253, 251, 247, 0.5);
  margin-bottom: 1.5rem;
}
.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 10px; height: 10px; opacity: 0.5; }
.breadcrumb [aria-current] { color: rgba(253, 251, 247, 0.85); }

/* -------------------------------------------------------------------------
   18. Content layout (detail pages)
   ------------------------------------------------------------------------- */

.layout { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 360px; } }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--step-3); margin-top: 2.75rem; margin-bottom: 0.35rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; margin-bottom: 0.15rem; }
.prose p { color: var(--ink-600); line-height: 1.72; }
.prose strong { font-weight: 600; color: var(--ink-900); }
.prose a:not(.btn):not(.link-arrow) { color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul { display: grid; gap: 0.6rem; }
.prose ul li { display: flex; gap: 0.7rem; color: var(--ink-600); line-height: 1.6; }
.prose ul li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 0.65em; border-radius: 50%; background: var(--accent); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.35rem 0 0.35rem 1.35rem;
  font-size: var(--step-1);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink-800);
}

/* Definition list */
.spec-list { border-top: 1px solid var(--line); }
.spec-list div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec-list dt { color: var(--ink-400); }
.spec-list dd { font-weight: 600; text-align: right; }

/* Sticky aside */
.aside { display: grid; gap: var(--gap); position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.aside-card--dark { background: var(--ink-900); border-color: transparent; color: var(--sand-100); }
.aside-card--dark .aside-card__text { color: rgba(253, 251, 247, 0.65); }
.aside-card--accent { background: var(--accent-050); border-color: var(--accent-100); }
.aside-card h3 { font-size: var(--step-1); letter-spacing: -0.025em; }
.aside-card__text { font-size: 0.9rem; color: var(--ink-400); line-height: 1.6; }
.aside-card .btn { width: 100%; }

.price-tag { display: flex; flex-direction: column; gap: 0.15rem; }
.price-tag__val { font-size: clamp(1.6rem, 1.4rem + 1vw, 2.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.price-tag__unit { font-size: 0.85rem; color: var(--ink-400); }
.price-tag__note { font-size: 0.82rem; color: var(--ink-400); line-height: 1.55; margin-top: 0.6rem; }

.contact-lines { display: grid; gap: 0.35rem; }
.contact-lines a, .contact-lines span {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.92rem; padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
}
.contact-lines a:hover { color: var(--accent-600); }
.contact-lines svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.aside-card--dark .contact-lines a:hover { color: var(--accent); }

/* Table of contents */
.toc { display: grid; gap: 0.1rem; }
.toc a {
  display: block; padding: 0.5rem 0.75rem;
  border-left: 2px solid var(--line);
  font-size: 0.88rem; color: var(--ink-400);
  transition: all 0.25s var(--ease);
}
.toc a:hover, .toc a.is-active { border-color: var(--accent); color: var(--ink-900); background: var(--accent-050); }

/* -------------------------------------------------------------------------
   19. Forms
   ------------------------------------------------------------------------- */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: -0.005em; }
.field label span { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-100);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.form__note { font-size: 0.8rem; color: var(--ink-400); line-height: 1.5; }
.form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  background: var(--accent-050);
  border: 1px solid var(--accent-100);
  color: var(--accent-700);
}
.form-status.is-visible { display: block; }

/* -------------------------------------------------------------------------
   20. Footer
   ------------------------------------------------------------------------- */

.footer {
  background: var(--ink-900);
  color: var(--sand-200);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 85% 0%, rgba(217, 122, 36, 0.13), transparent 60%);
  pointer-events: none;
}
.footer__inner { position: relative; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }

.footer__top {
  display: grid; gap: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }
.footer__pitch h2 { font-size: var(--step-3); letter-spacing: -0.035em; color: var(--sand-50); margin-bottom: 1rem; max-width: 18ch; }
.footer__pitch p { color: rgba(253, 251, 247, 0.62); max-width: 46ch; margin-bottom: 1.75rem; }

.footer__contact { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 560px) { .footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer__contact-cell { background: var(--ink-900); padding: 1.35rem; display: flex; flex-direction: column; gap: 0.4rem; transition: background 0.3s var(--ease); }
a.footer__contact-cell:hover { background: rgba(253, 251, 247, 0.04); }
.footer__contact-label {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(253, 251, 247, 0.42);
  display: flex; align-items: center; gap: 0.5rem;
}
.footer__contact-label svg { width: 13px; height: 13px; color: var(--accent); }
.footer__contact-val { font-size: 1.02rem; font-weight: 600; color: var(--sand-50); letter-spacing: -0.02em; line-height: 1.35; }
.footer__contact-sub { font-size: 0.85rem; color: rgba(253, 251, 247, 0.55); }

.footer__nav {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
}
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a {
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.6);
  transition: color 0.2s var(--ease), transform 0.25s var(--ease);
  display: inline-block;
}
.footer__col a:hover { color: var(--sand-50); transform: translateX(3px); }

.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
  color: rgba(253, 251, 247, 0.45);
}
.footer__bar a { transition: color 0.2s var(--ease); }
.footer__bar a:hover { color: var(--sand-50); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

.footer__wordmark {
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.78;
  color: rgba(253, 251, 247, 0.045);
  text-align: center;
  user-select: none;
  padding-bottom: 0.15em;
  margin-top: -0.1em;
}

/* Floating call button (mobile) */
.fab {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.3rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.92rem; font-weight: 600;
  box-shadow: 0 8px 28px -6px rgba(217, 122, 36, 0.6);
  transform: translateY(120%);
  transition: transform 0.45s var(--ease), background 0.25s var(--ease);
}
.fab.is-visible { transform: none; }
.fab:hover { background: var(--accent-600); }
.fab svg { width: 17px; height: 17px; }
@media (min-width: 720px) { .fab { display: none; } }

/* -------------------------------------------------------------------------
   21. Reveal animations
   ------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* -------------------------------------------------------------------------
   22. Utilities
   ------------------------------------------------------------------------- */

.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;
}
.stack { display: grid; gap: 1.25rem; }
.stack--sm { gap: 0.75rem; }
.stack--lg { gap: 2rem; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.divider { height: 1px; background: var(--line); border: 0; }
.section--dark .divider { background: var(--line-dark); }
