/* ===================================================================
   Pro-Monty — sitestijl (bouwt op tokens.css / --pm-*)
   Palet: Antraciet × Oranje + neutralen · Instrument Serif × Geist × JetBrains Mono
   =================================================================== */

/* ---------- reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--pm-bone);
  color: var(--pm-graphite);
  font-family: var(--pm-font-body);
  font-size: var(--pm-size-body-lg);
  line-height: var(--pm-lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 { color: var(--pm-ink); text-wrap: balance; font-weight: 400; overflow-wrap: break-word; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--pm-anthracite); color: var(--pm-surface);
  padding: 10px 16px; border-radius: var(--pm-radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: 28px; }

.eyebrow {
  font-family: var(--pm-font-mono);
  font-size: var(--pm-size-label);
  font-weight: 500;
  letter-spacing: var(--pm-ls-label);
  text-transform: uppercase;
  color: var(--pm-orange-cta-deep);
}

.section {
  padding-block: clamp(62px, 8.5vw, 90px);
  border-top: 1px solid var(--pm-line);
}

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px 40px; flex-wrap: wrap; margin-bottom: 40px;
}
.section__head h2 {
  font-family: var(--pm-font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1; letter-spacing: var(--pm-ls-tight);
  margin-top: 10px;
}
.section__intro { color: var(--pm-graphite); max-width: 52ch; }

.section__more { margin-top: 30px; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pm-font-body); font-weight: 600; font-size: 15px;
  line-height: 1; cursor: pointer; border: 1px solid transparent;
  border-radius: var(--pm-radius-pill); padding: 12px 22px;
  transition: background var(--pm-duration-fast) var(--pm-ease-out),
              transform var(--pm-duration-fast) var(--pm-ease-out),
              box-shadow var(--pm-duration-base) var(--pm-ease-out),
              border-color var(--pm-duration-fast) var(--pm-ease-out),
              color var(--pm-duration-fast) var(--pm-ease-out);
}
.btn--primary { background: var(--pm-anthracite); color: var(--pm-surface); }
.btn--primary:hover { background: var(--pm-ink); transform: translateY(-1px); }
.btn--accent { background: var(--pm-orange-cta); color: var(--pm-surface); }
.btn--accent:hover { background: var(--pm-orange-cta-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--pm-ink); border-color: var(--pm-line-dark); }
.btn--ghost:hover { border-color: var(--pm-orange); color: var(--pm-orange-cta-deep); background: color-mix(in srgb, var(--pm-orange) 8%, transparent); }
.btn:active { transform: translateY(0) scale(0.985); }

/* ---------- statusbadges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--pm-font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--pm-radius-pill); white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge--live    { background: var(--pm-ok-bg);      color: var(--pm-ok); }
.badge--livedev { background: var(--pm-ok-bg);      color: var(--pm-ok); }
.badge--dev     { background: var(--pm-attn-bg);    color: #7A5410; }
.badge--test    { background: var(--pm-orange-soft); color: #8A3D10; }
.badge--soon    { background: var(--pm-info-bg);    color: var(--pm-info); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--pm-anthracite) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(247, 245, 242, 0.10);
  transition: background var(--pm-duration-base) var(--pm-ease-out),
              box-shadow var(--pm-duration-base) var(--pm-ease-out),
              border-color var(--pm-duration-base) var(--pm-ease-out);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--pm-anthracite) 97%, transparent);
  border-bottom-color: rgba(247, 245, 242, 0.16);
  box-shadow: 0 10px 30px -18px rgba(17, 22, 28, 0.8);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 34px; height: 34px; }
/* Header (navy): plaatloze variant (on-dark) — de plaat zou wegvallen tegen de navy achtergrond.
   Iets groter, omdat de M zonder plaat optisch kleiner is. */
.site-header .brand__plate { display: none; }
.site-header .brand__mark { width: 38px; height: 38px; }
.brand__name { font-family: var(--pm-font-display); font-size: 27px; color: var(--pm-anthracite); line-height: 1; letter-spacing: -0.01em; } /* = exports (#1A2230) */

.site-nav { display: flex; align-items: center; gap: 32px; }
/* Tekstlinks in de nav — de CTA-knop (.btn) is bewust uitgesloten, zodat
   knop-padding en witte knoptekst (AA) niet door deze regels worden overschreven */
.site-nav a:not(.btn) {
  font-size: 16px; font-weight: 500; color: var(--pm-graphite);
  position: relative; padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--pm-orange); transition: width var(--pm-duration-base) var(--pm-ease-out);
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after { width: 100%; }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--pm-ink); }

/* Donkere (navy) header — lichte/gekleurde letters, zwevend merk */
.brand__name-accent { color: var(--pm-orange); }
.site-header .brand__name { color: var(--pm-bone); }
.site-header .site-nav a:not(.btn) { color: rgba(247, 245, 242, 0.82); }
.site-header .site-nav a:not(.btn):hover,
.site-header .site-nav a:not(.btn)[aria-current="page"] { color: var(--pm-bone); }
.site-header .nav-toggle { border-color: rgba(247, 245, 242, 0.28); color: var(--pm-bone); }
.site-header .nav-toggle:hover { border-color: var(--pm-orange); color: var(--pm-orange); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 1px solid var(--pm-line-dark);
  border-radius: var(--pm-radius-sm); color: var(--pm-ink); cursor: pointer;
}
.nav-toggle:hover { border-color: var(--pm-orange); color: var(--pm-orange-deep); }
.site-nav__cta { margin-left: 6px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 88px) clamp(48px, 7vw, 72px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pm-orange); box-shadow: 0 0 0 4px var(--pm-orange-soft); }
.hero h1 {
  font-family: var(--pm-font-display);
  font-size: clamp(40px, 7vw, 92px); line-height: 0.98;
  letter-spacing: var(--pm-ls-tight); margin-bottom: 26px; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--pm-orange-hero); }
.hero__lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--pm-graphite); max-width: 54ch; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: 14px; color: var(--pm-muted); }

/* ---------- werk: beeld-kaarten (website-screenshots) ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work { position: relative; display: flex; flex-direction: column; }
.work__frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--pm-line); border-radius: var(--pm-radius-lg);
  background: var(--pm-surface);
  box-shadow: var(--pm-shadow-sm);
  transition: box-shadow var(--pm-duration-base) var(--pm-ease-out),
              border-color var(--pm-duration-base) var(--pm-ease-out),
              transform var(--pm-duration-base) var(--pm-ease-out);
}
.work__shot {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top center;
  transition: transform 0.7s var(--pm-ease-out);
}
.work--link:hover .work__shot { transform: scale(1.045); }
.work--link:hover .work__frame { box-shadow: var(--pm-shadow-md); border-color: var(--pm-line-dark); }
.work:focus-within .work__frame { box-shadow: var(--pm-shadow-md); border-color: var(--pm-line-dark); }
.work:focus-within .work__frame { outline: 2px solid var(--pm-orange-cta); outline-offset: 3px; }
.work__badge { position: absolute; top: 14px; left: 14px; z-index: 2; box-shadow: var(--pm-shadow-sm); }
.work__meta { padding: 18px 2px 0; }
.work__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.work__title { font-family: var(--pm-font-display); font-weight: 400; color: var(--pm-ink); font-size: 28px; line-height: 1; letter-spacing: -0.01em; }
.work__title a { color: inherit; }
.work--link .work__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work__domain { font-family: var(--pm-font-mono); font-size: 13px; color: var(--pm-muted); white-space: nowrap; }
.work__pitch { margin-top: 10px; font-size: 15px; color: var(--pm-graphite); }
.work__detail { margin-top: 8px; font-size: 13.5px; color: var(--pm-muted); display: flex; align-items: baseline; gap: 8px; }
.work__detail-mark { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--pm-orange); transform: translateY(-1px); }

.werk-note {
  margin-top: 26px; display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--pm-line-dark); border-bottom: 1px solid var(--pm-line);
  color: var(--pm-graphite); font-size: 14.5px;
}
.werk-note .k { font-family: var(--pm-font-mono); font-size: 11px; letter-spacing: var(--pm-ls-label); text-transform: uppercase; color: var(--pm-orange-cta-deep); }

/* ---------- werk: uitgelicht project (groot beeld + korte case) ---------- */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.feature__frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  border: 1px solid var(--pm-line); border-radius: var(--pm-radius-lg);
  background: var(--pm-surface); box-shadow: var(--pm-shadow-sm);
  transition: box-shadow var(--pm-duration-base) var(--pm-ease-out),
              border-color var(--pm-duration-base) var(--pm-ease-out);
}
.feature__shot { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; transition: transform 0.7s var(--pm-ease-out); }
.feature--link:hover .feature__shot { transform: scale(1.03); }
.feature--link:hover .feature__frame,
.feature:focus-within .feature__frame { box-shadow: var(--pm-shadow-md); border-color: var(--pm-line-dark); }
.feature__title { font-family: var(--pm-font-display); font-weight: 400; color: var(--pm-ink); font-size: clamp(30px, 3.4vw, 42px); line-height: 1; letter-spacing: -0.01em; }
.feature__title a { color: inherit; }
.feature__title a:hover { color: var(--pm-orange-cta-deep); }
.feature__facts { margin-top: 22px; border-top: 1px solid var(--pm-line-dark); }
.feature__facts > div { padding: 16px 0; border-bottom: 1px solid var(--pm-line); }
.feature__facts dt { font-family: var(--pm-font-mono); font-size: 11px; font-weight: 500; letter-spacing: var(--pm-ls-label); text-transform: uppercase; color: var(--pm-orange-cta-deep); margin-bottom: 6px; }
.feature__facts dd { font-size: 15px; color: var(--pm-graphite); }
.feature__links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; font-weight: 600; }
.feature__links a { color: var(--pm-orange-cta-deep); background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px; padding-bottom: 1px; }
.feature__links a:hover { color: var(--pm-ink); }

/* ---------- huisstijlkaart-feature ---------- */
.hs-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center;
  text-decoration: none; color: inherit; margin-bottom: 34px;
}
.hs-feature__frame {
  overflow: hidden; border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-lg); background: var(--pm-surface);
  box-shadow: var(--pm-shadow-sm);
  transition: box-shadow var(--pm-duration-base) var(--pm-ease-out);
}
.hs-feature__frame img { width: 100%; height: auto; display: block; transition: transform 0.8s var(--pm-ease-out); }
.hs-feature:hover .hs-feature__frame { box-shadow: var(--pm-shadow-md); }
.hs-feature:hover .hs-feature__frame img { transform: scale(1.03); }
.hs-feature__meta h3 { font-family: var(--pm-font-display); font-weight: 400; color: var(--pm-ink); font-size: clamp(28px, 3vw, 40px); line-height: 1.02; letter-spacing: -0.01em; margin: 10px 0 12px; }
.hs-feature__meta p { color: var(--pm-graphite); max-width: 46ch; }
.hs-feature__cta { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--pm-orange-cta-deep); }

/* ---------- drukwerk-galerij (masonry) ---------- */
.drukwerk { columns: 3 240px; column-gap: 16px; }
.drukwerk__item {
  break-inside: avoid; margin: 0 0 16px;
  background: var(--pm-surface); border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius-lg); overflow: hidden;
  box-shadow: var(--pm-shadow-sm);
}
.drukwerk__item img { width: 100%; height: auto; display: block; }
.drukwerk__item figcaption {
  font-family: var(--pm-font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pm-muted); padding: 11px 15px;
}

/* ---------- diensten ---------- */
.diensten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
/* Rustige tekstblokken met haarlijn i.p.v. witte schaduwkaarten */
.dienst { padding: 26px 0 6px; border-top: 1px solid var(--pm-line-dark); }
.dienst__nr { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; font-family: var(--pm-font-mono); font-size: 12px; text-transform: uppercase; color: var(--pm-orange-cta-deep); letter-spacing: var(--pm-ls-label); }
.dienst__title { font-family: var(--pm-font-display); font-weight: 400; color: var(--pm-ink); font-size: 26px; margin: 14px 0 10px; line-height: 1.05; }
.dienst p:not(.dienst__nr) { font-size: 15px; color: var(--pm-graphite); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- home: statement (één zin, geen kaarten) ---------- */
.statement {
  margin-top: 18px;
  font-family: var(--pm-font-display); font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18; letter-spacing: -0.01em; color: var(--pm-ink);
  max-width: 30ch; text-wrap: balance;
}

/* ---------- home: diensten als rustige lijst ---------- */
.diensten-lijst { list-style: none; border-top: 1px solid var(--pm-line-dark); }
.diensten-lijst__row {
  display: grid; grid-template-columns: 64px 1fr 1.5fr; gap: 10px 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--pm-line);
}
.diensten-lijst__nr { font-family: var(--pm-font-mono); font-size: 12px; letter-spacing: var(--pm-ls-label); color: var(--pm-orange-cta-deep); }
.diensten-lijst__title { font-family: var(--pm-font-display); font-weight: 400; font-size: 26px; line-height: 1.05; color: var(--pm-ink); }
.diensten-lijst p { font-size: 15px; color: var(--pm-graphite); }

/* ---------- home: over-teaser (één kolom) ---------- */
.over.over--teaser { display: block; max-width: 58ch; }

/* ---------- werk: groep-koppen (Live / In ontwikkeling) ---------- */
.group-title { font-family: var(--pm-font-mono); font-size: 13px; font-weight: 500; letter-spacing: var(--pm-ls-label); text-transform: uppercase; color: var(--pm-muted); margin-bottom: 22px; }


/* ---------- diensten: zo werkt het (stappen) ---------- */
.stappen { list-style: none; max-width: 760px; border-top: 1px solid var(--pm-line-dark); }
.stap { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--pm-line); }
.stap__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pm-anthracite); color: var(--pm-bone); display: grid; place-items: center; font-family: var(--pm-font-display); font-size: 20px; line-height: 1; }
.stap__body h3 { font-family: var(--pm-font-display); font-weight: 400; color: var(--pm-ink); font-size: 22px; line-height: 1.05; margin-bottom: 6px; }
.stap__body p { font-size: 14.5px; color: var(--pm-graphite); }

/* ---------- contact: meesturen-lijst ---------- */
.meesturen { list-style: none; display: grid; gap: 12px; max-width: 60ch; }
.meesturen li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--pm-graphite); }
.meesturen li::before { content: "→"; position: absolute; left: 0; color: var(--pm-orange-cta); }
.meesturen strong { color: var(--pm-ink); }

/* ---------- werk-note nadruk ---------- */
.werk-note strong { color: var(--pm-ink); }

/* ---------- privacy / prose ---------- */
.prose__body { max-width: 62ch; }
.prose__body h2 { font-family: var(--pm-font-display); font-weight: 400; font-size: 26px; color: var(--pm-ink); margin: 28px 0 10px; }
.prose__body h2:first-child { margin-top: 0; }
.prose__body p { color: var(--pm-graphite); margin-bottom: 8px; }
.prose__body a { color: var(--pm-orange-cta-deep); } /* ~5,5:1 op bone — gewone tekst AA */

/* ---------- over ---------- */
.over { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.over__big { font-family: var(--pm-font-display); font-size: clamp(26px, 3vw, 36px); line-height: 1.18; color: var(--pm-ink); letter-spacing: -0.01em; }
.over p + p { margin-top: 16px; }
.over strong { color: var(--pm-ink); font-weight: 600; }
.signature { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.signature__av { width: 46px; height: 46px; border-radius: 50%; background: var(--pm-anthracite); color: var(--pm-bone); display: grid; place-items: center; font-family: var(--pm-font-display); font-size: 22px; }
.signature__who b { color: var(--pm-ink); font-weight: 600; display: block; font-size: 14.5px; }
.signature__who span { font-size: 13px; color: var(--pm-muted); }

/* ---------- contact ---------- */
.contact { text-align: center; }
/* Contactpagina: primaire contactblok strak onder de intro i.p.v. zwevend in leegte */
.page-head + .contact { border-top: none; padding-top: clamp(24px, 4vw, 40px); }
.contact h2 { font-family: var(--pm-font-display); font-size: clamp(34px, 5vw, 60px); letter-spacing: var(--pm-ls-tight); margin: 0 auto 18px; max-width: 16ch; line-height: 1; }
.contact p { max-width: 48ch; margin: 0 auto 30px; color: var(--pm-graphite); }
.contact__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact__mail { font-family: var(--pm-font-mono); font-size: 14px; color: var(--pm-muted); margin-top: 18px; }
.contact__mail a:hover { color: var(--pm-orange-cta-deep); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--pm-line); padding-block: 34px 44px; margin-top: 20px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__inner .brand__name { font-size: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-nav a { color: var(--pm-muted); font-size: 14px; }
.footer-nav a:hover { color: var(--pm-orange-cta-deep); }
.footer-copy { font-family: var(--pm-font-mono); font-size: 13px; color: var(--pm-muted); letter-spacing: 0.04em; }

/* ---------- pagina-intro (subpagina's) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 80px) 8px; }
.page-head h1 { font-family: var(--pm-font-display); font-size: clamp(36px, 6vw, 72px); line-height: 0.98; letter-spacing: var(--pm-ls-tight); margin: 18px 0 20px; max-width: 16ch; }
.page-head p { font-size: clamp(16px, 2vw, 19px); color: var(--pm-graphite); max-width: 56ch; }

/* ---------- micro-animatie (respecteert voorkeur) ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: reveal 0.7s var(--pm-ease-out) forwards; }
.reveal--1 { animation-delay: 0.05s; }
.reveal--2 { animation-delay: 0.13s; }
.reveal--3 { animation-delay: 0.21s; }
.reveal--4 { animation-delay: 0.29s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- exclusieve beweging: scroll-reveal (opkomen + in-blurren) ---------- */
/* .js-reveal wordt in head.njk gezet; anim.js haalt 'm weg bij reduced-motion en
   base.njk bij een laadfout van het script — dan blijft alles gewoon zichtbaar */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
    transition: opacity 0.65s var(--pm-ease-out),
                transform 0.65s var(--pm-ease-out),
                filter 0.65s var(--pm-ease-out);
    transition-delay: min(calc(var(--i, 0) * 80ms), 320ms);
  }
  .js-reveal [data-reveal].is-visible {
    opacity: 1; transform: none; filter: none;
  }
}

/* ---------- vloeiende pagina-overgangen (View Transitions; Chromium) ----------
   De opt-in staat bewust binnen de voorkeurcheck: bij reduced-motion doet de
   site niet mee aan cross-document transitions. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.30s var(--pm-ease-out) both; }
  ::view-transition-new(root) { animation: vt-in 0.45s var(--pm-ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- premium polish: selectie, scrollbar, links, hero-sfeer ---------- */

/* Tekstselectie in huisstijl */
::selection { background: var(--pm-anthracite); color: var(--pm-bone); }

/* Ankers niet onder de sticky header laten verdwijnen */
:target { scroll-margin-top: 96px; }

/* Link-onderstreping: in lopende tekst altijd zichtbaar (1px), bij hover/focus
   iets sterker; in footer en contactregel groeit de lijn van links uit */
.prose__body a { background-size: 100% 1px; }
.prose__body a, .footer-nav a, .contact__mail a {
  background-image: linear-gradient(var(--pm-orange), var(--pm-orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: background-size var(--pm-duration-base) var(--pm-ease-out),
              color var(--pm-duration-fast) var(--pm-ease-out);
}
.footer-nav a, .contact__mail a { background-size: 0% 1.5px; }
.prose__body a:hover, .footer-nav a:hover, .contact__mail a:hover,
.prose__body a:focus-visible, .footer-nav a:focus-visible, .contact__mail a:focus-visible {
  background-size: 100% 1.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .works, .diensten, .duo, .over, .hs-feature, .feature { grid-template-columns: 1fr; }
  .diensten-lijst__row { grid-template-columns: 1fr; gap: 6px; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: color-mix(in srgb, var(--pm-anthracite) 96%, transparent);
    border-bottom: 1px solid rgba(247, 245, 242, 0.10);
    padding: 8px 28px 18px; box-shadow: var(--pm-shadow-md);
    display: none;
  }
  .site-nav[data-open] { display: flex; }
  .site-nav a:not(.btn) { padding: 13px 0; width: 100%; font-size: 16px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav__cta { margin: 10px 0 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; }
  /* decoratieve transforms ook uit — anders springen ze zonder overgang */
  .btn:hover, .btn:active, .work--link:hover .work__shot, .feature--link:hover .feature__shot, .hs-feature:hover .hs-feature__frame img { transform: none !important; }
}
