/* ==========================================================================
   DK Buitenonderhoud — stylesheet
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Base
   3.  Layout helpers & typography
   4.  Buttons & links
   5.  Header / navigation / dropdown
   6.  Home hero banner (kept as original, scoped)
   7.  Marquee strip
   8.  Page hero (inner pages)
   9.  Service cards (home)
   10. About blocks
   11. Services page
   12. Process steps
   13. FAQ
   14. CTA band
   15. Contact page
   16. Footer
   17. Motion (reveal, split text, brush strokes)
   18. Responsive
   ========================================================================== */


/* 1. Tokens
   ========================================================================== */
:root {
  --lime: #a5e600;
  --lime-deep: #7eb800;
  --ink: #0a0a0a;
  --ink-2: #111210;
  --panel: #161714;
  --panel-2: #1d1f1a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f3ee;
  --muted: #a3a79c;
  --paper: #efefe9;
  --paper-ink: #111;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 92px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Clip decorative overflow (tilted marquee) without breaking position: sticky */
main {
  overflow-x: clip;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}


/* 3. Layout helpers & typography
   ========================================================================== */
.container {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}

.section--tight {
  padding-block: clamp(56px, 7vw, 90px);
}

.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.section--panel {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(52px, 8.5vw, 116px);
}

h2 {
  font-size: clamp(40px, 5.6vw, 76px);
}

h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1;
}

p {
  margin: 0 0 1em;
}

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

.hl {
  color: var(--lime);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section--paper .eyebrow {
  color: #5d8700;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: #cfd2c8;
  max-width: 60ch;
}

.section--paper .lead {
  color: #3b3d37;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head .lead {
  margin: 0;
}

/* Tick list used in about/services */
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.ticks li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* 4. Buttons & links
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), color 0.3s ease, border-color 0.3s ease;
}

/* Fill that wipes in from the bottom on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover, #fff);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .icon {
  font-size: 20px;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn-primary {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  --btn-hover: #fff;
}

.btn-outline {
  --btn-fg: var(--text);
  --btn-hover: var(--lime);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--lime);
}

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-hover: #2a2c26;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.35s var(--ease-out);
}

.link-arrow:hover {
  background-size: 100% 2px;
}

.link-arrow .icon {
  font-size: 20px;
  transition: transform 0.3s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translateX(5px);
}


/* 5. Header / navigation / dropdown
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s var(--ease-out);
}

/* Near-solid instead of a backdrop blur: the blur had to be recalculated
   across the full screen width on every scroll frame, which made scrolling
   on large desktop screens noticeably heavier than on phones. */
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--line);
}

/* Header slides away while scrolling down, returns when scrolling up */
.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.35s var(--ease-out);
}

.site-header.is-scrolled .nav {
  height: 76px;
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  width: 76px;
  height: auto;
  transition: width 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.site-header.is-scrolled .brand img {
  width: 62px;
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.04);
}

/* Home: the hero banner already shows the brand, so the header logo
   only fades in once the visitor starts scrolling (or opens the menu) */
.brand {
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out), visibility 0s;
}

.page-home .site-header:not(.is-scrolled) .brand {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}

.page-home.menu-open .site-header .brand {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: #e4e6df;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.has-dropdown:hover > .nav-link::after,
.has-dropdown.is-open > .nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 46px;
  padding: 0 22px;
  font-size: 16px;
}

/* --- Dropdown ---------------------------------------------------------- */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.dropdown-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--lime);
  cursor: pointer;
  transition: background 0.2s ease;
}

.dropdown-btn:hover {
  background: rgba(165, 230, 0, 0.12);
}

.dropdown-btn .icon {
  font-size: 16px;
  stroke-width: 2.4;
  transition: transform 0.35s var(--ease-out);
}

.has-dropdown:hover .dropdown-btn .icon,
.has-dropdown.is-open .dropdown-btn .icon {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 560px;
  padding-top: 18px; /* invisible hover bridge between link and panel */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out), visibility 0s;
}

.dropdown-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
  background: #121310;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.dropdown-panel a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.2s ease;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.dd-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(165, 230, 0, 0.1);
  color: var(--lime);
  font-size: 22px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-panel a:hover .dd-icon {
  background: var(--lime);
  color: var(--ink);
}

.dd-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.dd-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.dropdown-panel .dd-all {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 14px 16px;
  background: rgba(165, 230, 0, 0.08);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dropdown-panel .dd-all:hover {
  background: var(--lime);
  color: var(--ink);
}

/* --- Mobile toggle ------------------------------------------------------ */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 12px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.menu-toggle-bars {
  position: relative;
  width: 26px;
  height: 12px;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}

.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { top: 10px; }

.menu-open .menu-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle-bars::after { top: 5px; transform: rotate(-45deg); }


/* 6. Home hero banner — original design, scoped so it no longer
      resets the rest of the site. Visual output is unchanged.
   ========================================================================== */
.hero-banner {
  --brand-green: #96b400;
  --gap-grey: #2e2e2b;
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: none;
  margin: -90px 0 0;
  aspect-ratio: 1600 / 560;
  overflow: hidden;
  background: var(--gap-grey);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: normal;
}

.hero-banner .panel {
  position: absolute;
  top: 0;
  height: 100%;
  background-size: 100% 100%;
  background-position: center;
  filter: saturate(1.06) contrast(1.03);
  opacity: 0;
  animation: reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes reveal {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

.hero-banner .tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(150, 180, 0, 0.42) 0%, rgba(13, 15, 10, 0.24) 38%, rgba(92, 112, 0, 0.36) 68%, rgba(150, 180, 0, 0.3) 100%);
  mix-blend-mode: multiply;
}

.hero-banner .tint-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(150, 180, 0, 0.2) 0%, rgba(150, 180, 0, 0.02) 45%, rgba(150, 180, 0, 0.14) 100%);
  mix-blend-mode: overlay;
}

.hero-banner .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 20%);
}

.hero-banner .text-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 8, 4, 0.82) 0%, rgba(6, 8, 4, 0.55) 32%, rgba(6, 8, 4, 0) 60%);
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6% 4.5%;
  max-width: 640px;
  color: #fff;
}

.hero-content .eyebrow-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: clamp(14px, 2.6vw, 26px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-content .eyebrow-logo span {
  color: var(--brand-green);
}

.hero-content h1 {
  font-family: inherit;
  text-transform: none;
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.2px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--brand-green);
}

.hero-content p {
  margin: clamp(12px, 2vw, 20px) 0 0;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.5;
  color: #e9edd9;
  max-width: 46ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-content .cta-row {
  margin-top: clamp(20px, 3vw, 32px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-content .btn {
  min-height: 0;
  padding: 13px 26px;
  border: 0;
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  overflow: visible;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-content .btn::before {
  content: none;
}

.hero-content .btn-primary {
  background: var(--brand-green);
  color: #0d0f0a;
}

.hero-content .btn-primary:hover {
  background: #a8c700;
  transform: translateY(-1px);
}

.hero-content .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.hero-content .btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-1px);
}

/* Tablet & phone: the wide sliced banner gets too short to hold the text,
   so it becomes a full-height hero with a single photo instead. */
@keyframes heroPhotoIn {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: none; }
}

/* Small laptops: keep the banner, but start the text below the header */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-content {
    padding-top: calc(var(--header-h) + 4px);
    padding-bottom: 2%;
  }

  .hero-content .eyebrow-logo {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-banner {
    display: flex;
    aspect-ratio: auto;
    min-height: min(100svh, 820px);
    margin-top: calc(-1 * var(--header-h));
    background: #0b0c09;
  }

  .hero-banner .panel {
    display: none;
  }

  .hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    /* shifted right a little to hide the lime edge baked into the photo */
    background: url("Images/DK_index.png") right -24px top / auto 100% no-repeat;
    animation: heroPhotoIn 1.4s var(--ease-out) both;
  }

  .hero-banner .text-scrim {
    background: linear-gradient(90deg, rgba(6, 8, 4, 0.96) 0%, rgba(6, 8, 4, 0.75) 45%, rgba(6, 8, 4, 0) 80%);
  }

  .hero-content {
    height: auto;
    width: 100%;
    max-width: 560px;
    padding: calc(var(--header-h) + 40px) var(--gutter) 64px;
    justify-content: flex-end;
  }

  .hero-content h1 {
    font-size: clamp(38px, 7vw, 56px);
  }

  .hero-content p {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .hero-banner::before {
    background-size: cover;
    background-position: center 15%;
  }

  .hero-banner .text-scrim {
    background: linear-gradient(180deg, rgba(6, 8, 4, 0.15) 0%, rgba(6, 8, 4, 0.35) 40%, rgba(6, 8, 4, 0.94) 78%);
  }

  .hero-content {
    max-width: none;
    padding-bottom: 44px;
  }

  .hero-content .cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}


/* 7. Marquee strip
   ========================================================================== */
.marquee {
  --speed: 38s;
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.marquee--dark {
  background: var(--ink);
  color: var(--text);
  border-block: 1px solid var(--line);
}

.marquee--tilt {
  transform: rotate(-1.6deg);
  margin-block: 40px;
  width: 104%;
  margin-left: -2%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--speed) linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.marquee-group span::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.marquee--dark .marquee-group span::after {
  background: var(--lime);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}


/* 8. Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}

/* Soft lime glow + faint grid behind the hero */
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(165, 230, 0, 0.16), transparent 62%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 28px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

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

/* Portrait with rotating text badge (about page) */
.portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}

.portrait-frame {
  position: relative;
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 478 / 640;
  background: var(--panel);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent 40%);
}

.portrait figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.spin-badge {
  position: absolute;
  left: -54px;
  bottom: 70px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 8px var(--ink);
}

.spin-badge svg.ring {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  animation: spin 18s linear infinite;
}

.spin-badge text {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  fill: var(--ink);
}

.spin-badge img {
  width: 58px;
  filter: brightness(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Services index list with hover preview (services hero) */
.svc-index {
  list-style: none;
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  counter-reset: svc;
}

.svc-index a {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 40px;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line-strong);
  transition: padding 0.4s var(--ease-out), color 0.3s ease;
}

.svc-index a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}

.svc-index a:hover {
  color: var(--ink);
  padding-left: 24px;
  padding-right: 24px;
}

.svc-index a:hover::before {
  transform: scaleY(1);
}

.svc-index li {
  position: relative;
  z-index: 0;
}

.svc-index .name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.svc-index .desc {
  color: var(--muted);
  font-size: 15px;
  text-align: right;
  transition: color 0.3s ease;
}

.svc-index a:hover .desc {
  color: rgba(10, 10, 10, 0.75);
}

.svc-index .icon {
  font-size: 30px;
  justify-self: end;
  transition: transform 0.4s var(--ease-out);
}

.svc-index a:hover .icon {
  transform: rotate(45deg);
}

/* Floating image that follows the cursor over the list */
.svc-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7) rotate(-6deg);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7);
}

.svc-preview.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-3deg);
}

.svc-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 9. Service cards (home)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 34px 32px;
  background: var(--ink);
  overflow: hidden;
  transition: background 0.4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(165, 230, 0, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.service-card .svc-ico {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(165, 230, 0, 0.1);
  color: var(--lime);
  font-size: 30px;
  transition: transform 0.5s var(--ease-out), background 0.3s ease, color 0.3s ease;
}

.service-card:hover .svc-ico {
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-8deg) scale(1.06);
}

.service-card h3 {
  margin-top: 36px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out);
}

.service-card:hover .more,
.service-card:focus-visible .more {
  opacity: 1;
  transform: none;
}


/* 10. About blocks
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.story-grid h2 {
  position: sticky;
  top: 120px;
}

.story-copy p {
  font-size: 19px;
  color: #34362f;
}

.story-copy p.first {
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.45;
  color: var(--paper-ink);
  font-weight: 500;
}

.pull-quote {
  margin: 40px 0 0;
  padding: 30px 0 0 0;
  border-top: 2px solid var(--paper-ink);
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.pull-quote figcaption {
  margin-top: 12px;
  color: #5b5e55;
  font-size: 15px;
}

/* Big typographic promise: NETJES. STIPT. EERLIJK. */
.promise {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.promise-row {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 30px;
  align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line-strong);
}

.promise-word {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 2vw, 30px);
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 176px);
  font-weight: 800;
  line-height: 0.85;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  background: linear-gradient(90deg, var(--lime) 0 50%, transparent 50% 100%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1.1s var(--ease-out), -webkit-text-stroke-color 0.6s ease;
}

.promise-word small {
  font-size: 18px;
  font-weight: 700;
  -webkit-text-stroke: 0;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.promise-row.is-in .promise-word {
  background-position: 0 0;
  -webkit-text-stroke-color: transparent;
}

.promise-row p {
  margin: 0;
  color: #cfd2c8;
  font-size: 18px;
}

/* Expectation grid */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expect-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.expect-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.35);
}

.expect-card .ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--lime);
  font-size: 26px;
}

.expect-card h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.expect-card p {
  margin: 0;
  color: #4a4c45;
  font-size: 16px;
}

/* Audience split: particulier / zakelijk */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.audience-card {
  position: relative;
  padding: clamp(30px, 4vw, 50px);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.audience-card::after {
  content: attr(data-bg);
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-family: var(--font-display);
  font-size: 170px;
  font-weight: 800;
  line-height: 1;
  color: rgba(165, 230, 0, 0.06);
  pointer-events: none;
}

.audience-card.is-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: transparent;
}

.audience-card.is-lime::after {
  color: rgba(0, 0, 0, 0.07);
}

.audience-card .eyebrow {
  margin-bottom: 14px;
}

.audience-card.is-lime .eyebrow {
  color: var(--ink);
}

.audience-card h3 {
  font-size: clamp(32px, 3.4vw, 44px);
  margin-bottom: 18px;
}

.audience-card p {
  color: var(--muted);
  max-width: 44ch;
}

.audience-card.is-lime p {
  color: rgba(10, 10, 10, 0.78);
}

.audience-card .ticks {
  margin-top: 24px;
}

.audience-card.is-lime .ticks li::before {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5e600' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

/* Home "about preview" */
.about-preview {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 20%;
}

.about-photo .tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-preview h2 {
  margin-bottom: 24px;
}

.about-preview .ticks {
  margin: 28px 0 36px;
}


/* 11. Services page
   ========================================================================== */
.svc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

/* Sticky scroll-spy navigation */
.svc-nav {
  position: sticky;
  top: 110px;
}

.svc-nav p {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line-strong);
}

.svc-nav ol a {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 0 10px 20px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.25s ease, padding 0.35s var(--ease-out);
}

.svc-nav ol a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-out);
}

.svc-nav ol a:hover {
  color: #fff;
}

.svc-nav ol a.is-active {
  color: #fff;
  padding-left: 26px;
}

.svc-nav ol a.is-active::before {
  transform: scaleY(1);
}

.svc-nav .btn {
  width: 100%;
  margin-top: 30px;
}

/* Service detail article */
.svc {
  padding-bottom: clamp(70px, 9vw, 120px);
  margin-bottom: clamp(70px, 9vw, 120px);
  border-bottom: 1px solid var(--line);
}

.svc:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.svc-media {
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  margin-bottom: clamp(30px, 4vw, 48px);
}

.svc-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

/* Parallax images move via the `translate` property (set in script.js);
   giving them their own layer keeps that movement off the main paint. */
[data-parallax] {
  will-change: translate;
}

.svc-media .svc-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 28px;
}

.svc-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 60px);
}

/* --- Vastgoedonderhoud & Opleveringsservice ---------------------------- */

/* Full-width entry at the bottom of the Diensten dropdown */
.dropdown-panel .dd-wide {
  grid-column: 1 / -1;
}

.svc-groups-title {
  margin: clamp(40px, 5vw, 60px) 0 20px;
  font-size: clamp(26px, 2.6vw, 34px);
}

.svc-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-group {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.svc-group h4 {
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.svc-group .ticks {
  font-size: 15.5px;
  color: #e3e5de;
}

.svc-onestop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink);
}

.svc-onestop h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.6vw, 34px);
}

.svc-onestop p {
  max-width: 60ch;
  margin-bottom: 8px;
  font-size: 16px;
  color: rgba(10, 10, 10, 0.82);
}

.svc-onestop .btn-primary {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-hover: #2a2c26;
  flex-shrink: 0;
}

/* Homepage: small Vastgoedonderhoud & oplevering section */
.home-vastgoed-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.home-vastgoed-photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius);
  overflow: hidden;
}

.home-vastgoed-photo img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 35% 50%;
}

.home-vastgoed-body h2 {
  margin-bottom: 20px;
}

.home-vastgoed-for {
  margin-top: 4px;
  color: #cfd2c8;
  font-size: 16px;
}

.home-vastgoed-for strong {
  color: #fff;
}
@media (max-width: 900px) {
  .svc-groups {
    grid-template-columns: 1fr;
  }

  .svc-onestop {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-vastgoed-grid {
    grid-template-columns: 1fr;
  }

  .home-vastgoed-photo {
    aspect-ratio: 16 / 10;
  }
}

/* Softwash certification (Kroon Softwash Specialist) */
.svc-cert-tag {
  position: absolute;
  top: 24px;
  right: 18px;
  z-index: 1;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: #0b3a55;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.cert-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  margin: 22px 0 8px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--radius);
  background: #fff;
  color: #2c3a42;
  font-size: 14.5px;
  line-height: 1.5;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.7);
}

.cert-card img {
  width: 100%;
  height: auto;
}

.cert-text strong {
  display: block;
  margin-bottom: 2px;
  color: #0b3a55;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #1a86c8;
  font-weight: 600;
}

.cert-link .icon {
  font-size: 15px;
}

/* Certification row in the footer */
.footer-cert {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 44px;
  padding: 16px 22px 16px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-cert:hover {
  border-color: var(--lime);
  background: rgba(165, 230, 0, 0.06);
}

.footer-cert-logo {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
}

.footer-cert-logo img {
  display: block;
  width: 230px;
  height: auto;
}

.footer-cert-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.footer-cert-text span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: #c9ccc2;
}

.footer-cert:hover .footer-cert-text span {
  color: var(--lime);
}

@media (max-width: 600px) {
  .footer-cert {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-cert-logo img {
    width: 200px;
  }

  .footer-cert-text strong {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  .cert-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cert-card img {
    max-width: 200px;
  }

  .svc-cert-tag {
    top: auto;
    bottom: 14px;
    right: 14px;
    font-size: 12px;
  }
}

.svc-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.svc-tagline {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.svc-body .intro p {
  color: #c9ccc2;
}

.svc-body .intro .link-arrow {
  margin-top: 18px;
}

.svc-side h4 {
  margin-bottom: 16px;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.svc-side .ticks {
  font-size: 16px;
  color: #e3e5de;
}

.svc-tip {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--panel);
  border-left: 3px solid var(--lime);
  font-size: 15.5px;
  color: #c9ccc2;
}

.svc-tip strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* Legal pages (privacy, voorwaarden) — reuse .svc-layout/.svc-nav for the sticky contents list */
.page-hero--compact {
  padding-bottom: clamp(44px, 6vw, 70px);
}

.page-hero--compact h1 {
  font-size: clamp(46px, 7vw, 96px);
  margin-bottom: 22px;
  hyphens: manual;
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.legal {
  max-width: 74ch;
  color: #cfd2c8;
}

.legal h2 {
  margin: 56px 0 16px;
  font-size: clamp(28px, 3vw, 38px);
  color: #fff;
  scroll-margin-top: 110px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal strong {
  color: #fff;
  font-weight: 600;
}

.legal ul,
.legal-list {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 8px;
}

.legal ul li::marker,
.legal-list li::marker {
  color: var(--lime);
}

.legal-list li::marker {
  font-family: var(--font-display);
  font-weight: 700;
}

.legal-details {
  list-style: none;
  padding: 0 !important;
  border-top: 1px solid var(--line);
}

.legal-details li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.legal-details strong {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
  font-size: 16px;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  border-bottom-color: var(--line-strong);
}

/* Details the owner still has to fill in before going live */
.fill-in {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(165, 230, 0, 0.18);
  color: var(--lime);
  font-weight: 600;
}

@media (max-width: 600px) {
  .legal-details li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}


/* 12. Process steps
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Line that draws itself between the step markers */
.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}

.steps.is-in::before {
  transform: scaleX(1);
}

.step-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  transition: background 0.3s ease, color 0.3s ease;
}

.section--panel .step-marker {
  background: var(--ink-2);
}

.step:hover .step-marker {
  background: var(--lime);
  color: var(--ink);
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  margin: 0;
  max-width: 34ch;
}


/* 13. FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq-grid .section-intro {
  position: sticky;
  top: 120px;
}

.faq-grid .section-intro h2 {
  margin-bottom: 24px;
}

.faq-grid .section-intro .lead {
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.25s ease;
}

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

.faq-list summary:hover {
  color: var(--lime);
}

.faq-list summary .plus {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: transform 0.4s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}

.faq-list summary .plus::before,
.faq-list summary .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-list summary .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.faq-answer {
  padding: 0 60px 26px 0;
  color: #c9ccc2;
}

.faq-list details[open] .faq-answer {
  animation: faqIn 0.45s var(--ease-out);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
}


/* 14. CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
}

.cta-band::after {
  content: "DK";
  position: absolute;
  right: -2vw;
  bottom: -9vw;
  font-family: var(--font-display);
  font-size: 34vw;
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: end;
}

.cta-band .eyebrow {
  color: var(--ink);
}

.cta-band h2 {
  font-size: clamp(48px, 7.5vw, 110px);
}

.cta-band p {
  margin: 20px 0 0;
  font-size: 19px;
  max-width: 44ch;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-actions .btn {
  width: 100%;
}

.cta-band .btn-outline {
  --btn-fg: var(--ink);
  --btn-hover: var(--ink);
  border-color: rgba(0, 0, 0, 0.35);
}

.cta-band .btn-outline:hover {
  color: #fff;
}


/* 15. Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out);
}

a.contact-item:hover {
  border-color: var(--lime);
  transform: translateX(6px);
}

.contact-item .ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 22px;
}

.contact-item small {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: 19px;
  font-weight: 600;
  word-break: break-word;
}

.contact-form {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  background: #fff;
  color: var(--paper-ink);
}

.contact-form h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 3.4vw, 46px);
}

.contact-form > p {
  color: #55584f;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #dcded6;
  border-radius: 10px;
  background: #f7f7f3;
  color: var(--paper-ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--lime-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(165, 230, 0, 0.25);
}

select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23111' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
  color: #6a6d64;
}

.form-note a,
.form-consent a {
  color: var(--paper-ink);
  font-weight: 600;
  text-decoration: underline;
}

/* Field validation */
label .optional {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #7a7d73;
}

.field-error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #c0321f;
}

.field-error:empty {
  display: none;
}

input.is-invalid,
textarea.is-invalid {
  border-color: #d93a2b;
  background: #fff6f5;
}

input.is-invalid:focus,
textarea.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(217, 58, 43, 0.18);
}

.form-consent {
  margin: 14px 0 0;
  font-size: 14px;
  color: #55584f;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  animation: faqIn 0.45s var(--ease-out);
}

.form-status.is-success {
  background: rgba(165, 230, 0, 0.22);
  border-left: 4px solid var(--lime-deep);
  color: #2c3d00;
}

.form-status.is-error {
  background: #fdecea;
  border-left: 4px solid #d93a2b;
  color: #7a1c13;
}

/* Spam trap for bots (Web3Forms botcheck) */
.botcheck {
  display: none;
}


/* 16. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 0 30px;
  background: #060606;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand img {
  width: 90px;
  margin-bottom: 22px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 34ch;
}

.site-footer h4 {
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer ul a {
  color: #d7d9d2;
  transition: color 0.2s ease, padding 0.3s var(--ease-out);
}

.site-footer ul a:hover {
  color: var(--lime);
  padding-left: 6px;
}

.footer-motto {
  font-family: var(--font-display);
  font-size: clamp(56px, 12.5vw, 190px);
  font-weight: 800;
  line-height: 0.82;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  user-select: none;
}

.footer-motto span {
  color: var(--lime);
  -webkit-text-stroke: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #7c8076;
  font-size: 14px;
}

.site-footer .footer-place {
  color: #a9ada2;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-legal a {
  color: #a9ada2;
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a[aria-current="page"] {
  color: var(--lime);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7d9d2;
}

.to-top:hover {
  color: var(--lime);
}

.to-top .icon {
  transition: transform 0.3s var(--ease-out);
}

.to-top:hover .icon {
  transform: translateY(-4px);
}


/* 17. Motion
   ========================================================================== */

/* Scroll reveal — only hidden when JS is running (html.js) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0 round var(--radius));
  transition: clip-path 1.2s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal="clip"] img {
  transform: scale(1.18);
  transition: transform 1.6s var(--ease-out);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0 round var(--radius));
}

.js [data-reveal="clip"].is-in img {
  transform: scale(1);
}

/* Split headline: each word slides up from behind a mask */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.2em; /* room for the brush stroke below the word */
  margin-bottom: -0.2em;
}

.split-word > span {
  display: inline-block;
  transform: translateY(130%);
  animation: wordUp 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.08s * var(--i) + 0.1s);
}

@keyframes wordUp {
  to { transform: none; }
}

/* Hand-drawn brush stroke under a highlighted word (SVG injected by script.js) */
.brush {
  position: relative;
  display: inline-block;
  color: var(--lime);
  white-space: nowrap;
}

.brush svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.28em;
  overflow: visible;
  pointer-events: none;
}

.brush path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: brushDraw 0.9s var(--ease-out) forwards;
  animation-delay: var(--brush-delay, 0.9s);
}

@keyframes brushDraw {
  to { stroke-dashoffset: 0; }
}

/* Reduced motion (e.g. Windows "Animation effects" turned off):
   remove movement — sliding, zooming, drifting, scrolling banners —
   but keep soft fades and short hover transitions, so the site still
   feels finished instead of everything snapping into place. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Reveal: fade in place instead of sliding up or wiping open */
  .js [data-reveal] {
    transform: none;
    transition: opacity 0.7s ease;
    transition-delay: var(--delay, 0s);
  }

  .js [data-reveal="clip"] {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.7s ease;
  }

  .js [data-reveal="clip"].is-in {
    clip-path: none;
    opacity: 1;
  }

  .js [data-reveal="clip"] img {
    transform: none;
    transition: none;
  }

  /* Headlines: words fade in instead of sliding up */
  .split-word > span {
    transform: none;
    opacity: 0;
    animation: wordFade 0.6s ease forwards;
    animation-delay: calc(0.06s * var(--i) + 0.1s);
  }

  /* Home hero panels: fade only, no zoom */
  .hero-banner .panel,
  .hero-banner::before {
    animation-name: wordFade;
  }

  /* No continuous or scroll-linked movement */
  .marquee-track,
  .spin-badge svg.ring {
    animation: none;
  }

  .steps::before {
    transform: none;
    transition: none;
  }

  .promise-word {
    transition: none;
  }

  .btn:hover,
  .expect-card:hover,
  .cert-card:hover,
  a.contact-item:hover {
    transform: none;
  }
}

@keyframes wordFade {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* 18. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .svc-layout {
    grid-template-columns: 1fr;
  }

  .svc-nav {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 82px;
  }

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

  .brand {
    position: relative;
    z-index: 2;
  }

  /* A transform would trap the fixed menu inside the header */
  .menu-open .site-header {
    transform: none;
  }

  /* Full-screen mobile menu */
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: var(--ink);
    overflow-y: auto;
    font-size: 34px;
    letter-spacing: 0.02em;
    clip-path: circle(0 at calc(100% - 50px) 40px);
    visibility: hidden;
    transition: clip-path 0.6s var(--ease-out), visibility 0s linear 0.6s;
  }

  .menu-open .nav-links {
    clip-path: circle(150% at calc(100% - 50px) 40px);
    visibility: visible;
    transition: clip-path 0.7s var(--ease-out), visibility 0s;
  }

  .nav-links > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  }

  .menu-open .nav-links > * {
    opacity: 1;
    transform: none;
  }

  .menu-open .nav-links > *:nth-child(1) { transition-delay: 0.15s; }
  .menu-open .nav-links > *:nth-child(2) { transition-delay: 0.2s; }
  .menu-open .nav-links > *:nth-child(3) { transition-delay: 0.25s; }
  .menu-open .nav-links > *:nth-child(4) { transition-delay: 0.3s; }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    color: var(--lime);
  }

  .has-dropdown {
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .has-dropdown > .nav-link {
    flex: 1;
    border-bottom: 0;
  }

  .dropdown-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-strong);
  }

  .dropdown-btn .icon {
    font-size: 20px;
  }

  /* No hover-open on touch layout; the button controls it */
  .has-dropdown:hover .dropdown-btn .icon {
    transform: none;
  }

  .has-dropdown.is-open .dropdown-btn .icon {
    transform: rotate(180deg);
  }

  .dropdown,
  .has-dropdown:hover .dropdown {
    position: static;
    width: 100%;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease-out);
  }

  .has-dropdown.is-open .dropdown {
    grid-template-rows: 1fr;
    transform: none;
  }

  .dropdown-panel {
    min-height: 0;
    overflow: hidden;
    grid-template-columns: 1fr;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .has-dropdown.is-open .dropdown-panel {
    padding: 4px 0 16px;
  }

  .dropdown-panel a {
    padding: 10px 4px;
  }

  .nav-cta {
    margin-top: 30px;
    min-height: 58px;
    font-size: 19px;
  }

  .page-hero-grid,
  .story-grid,
  .about-preview,
  .contact-grid,
  .faq-grid,
  .cta-inner,
  .section-head,
  .svc-body {
    grid-template-columns: 1fr;
  }

  .story-grid h2,
  .faq-grid .section-intro {
    position: static;
  }

  .portrait {
    justify-self: center;
    margin-top: 20px;
  }

  .spin-badge {
    left: -20px;
    width: 124px;
    height: 124px;
  }

  .services-grid,
  .expect-grid {
    grid-template-columns: 1fr 1fr;
  }

  .audience {
    grid-template-columns: 1fr;
  }

  .promise-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .svc-index a {
    grid-template-columns: 1fr 30px;
  }

  .svc-index .desc {
    display: none;
  }

  .svc-preview {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps::before {
    top: 32px;
    bottom: 32px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .steps.is-in::before {
    transform: scaleY(1);
  }

  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 24px;
  }

  .step-marker {
    grid-row: span 2;
    margin: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .services-grid,
  .expect-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card .more {
    opacity: 1;
    transform: none;
  }

  .svc-media {
    aspect-ratio: 4 / 3;
  }

  .faq-answer {
    padding-right: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}
