.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), height .5s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--c-linen) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--c-line-soft);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.site-header.is-scrolled { height: 68px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-104%); }
.menu-open .site-header { transform: none; }
.menu-open .site-header::before { opacity: 0; }
.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--side);
}
.logo {
  display: inline-flex;
  color: var(--c-bordeaux);
  border-radius: var(--r-xs);
  padding: 6px;
  margin: -6px;
}
.logo svg {
  height: 82px;
  width: auto;
  transition: height .5s var(--ease-out), opacity var(--dur-fast);
}
.site-header.is-scrolled .logo svg { height: 38px; }
.logo:hover svg { opacity: .8; }
@media (max-width: 767px) {
  .logo svg { height: 54px; }
  .site-header.is-scrolled .logo svg { height: 34px; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
}
.gooey {
  position: relative;
  display: none;
  padding: 5px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--c-paper) 72%, transparent);
  box-shadow: inset 0 0 0 1px var(--c-line-soft);
}
@media (min-width: 1024px) { .gooey { display: block; } }
.gooey__layer {
  position: absolute;
  inset: 5px;
  filter: url(#gooey-filter);
  pointer-events: none;
}
.gooey__blob,
.gooey__drop {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--c-sage);
  border-radius: var(--r-pill);
  opacity: 0;
}
.gooey__blob {
  width: var(--w, 0px);
  transform: translateX(var(--x, 0px));
  transition: transform .55s var(--ease-spring), width .55s var(--ease-spring), opacity .3s;
}
.gooey__drop {
  width: var(--dw, 0px);
  transform: translateX(var(--dx, 0px)) scale(var(--ds, .7));
  transition: transform .62s var(--ease-spring), width .62s var(--ease-spring), opacity .3s;
}
.gooey.is-ready .gooey__blob { opacity: 1; }
.gooey.is-ready .gooey__drop { opacity: 1; }
.gooey.no-active:not(.is-hovering) .gooey__blob,
.gooey.no-active:not(.is-hovering) .gooey__drop { opacity: 0; }
.gooey__list {
  position: relative;
  display: flex;
  gap: 2px;
}
.gooey__link {
  position: relative;
  display: block;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-family: var(--ff-display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-bordeaux);
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.gooey__link[aria-current="page"] { font-weight: 600; }
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-muted);
}
.lang a { padding: 6px 2px; transition: color var(--dur-fast); }
.lang a[aria-current="true"] { color: var(--c-bordeaux); }
.lang a:hover { color: var(--c-bordeaux); }
.lang__sep { opacity: .5; }
.header-actions .lang { display: none; }
@media (min-width: 1024px) { .header-actions .lang { display: flex; } }
.btn.header-cta { display: none; }
@media (min-width: 768px) { .btn.header-cta { display: inline-flex; } }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 8px 0 18px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  box-shadow: inset 0 0 0 1px var(--c-line-soft);
  color: var(--c-bordeaux);
}
.menu-toggle__icon {
  position: relative;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-sage);
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle__icon::before { top: 12px; }
.menu-toggle__icon::after { top: 17px; }
.menu-open .menu-toggle__icon::before { top: 14.5px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 14.5px; transform: rotate(-45deg); }
.menu-toggle__label { position: relative; overflow: hidden; height: 1.4em; }
.menu-toggle__label span { display: block; transition: transform .45s var(--ease-out); }
.menu-open .menu-toggle__label span { transform: translateY(-100%); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--side) 32px;
  background: var(--c-linen);
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0 round 0 0 var(--r-xl) var(--r-xl));
}
.mobile-menu[data-open="true"] { visibility: visible; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu__label { color: var(--c-muted); margin-bottom: 12px; }
.mobile-menu__projects { display: grid; }
.mobile-menu__projects a {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line-soft);
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(1.625rem, 1.2rem + 2.4vw, 2.5rem);
  line-height: 1.15;
  color: var(--c-bordeaux);
}
.mobile-menu__projects .rail__num {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}
.mobile-menu__practical {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.mobile-menu__practical a {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  font-size: .9375rem;
  color: var(--c-bordeaux);
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 4px;
  font-size: .9375rem;
  color: var(--c-muted);
}
.mobile-menu__foot a { color: var(--c-bordeaux); }
.mobile-menu [data-stagger] { will-change: transform, opacity; }
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(64px, 9vw, 120px) var(--side) 28px;
  background: var(--c-paper);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
}
.footer-logo {
  display: flex;
  justify-content: center;
  color: var(--c-bordeaux);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.footer-logo svg { width: clamp(150px, 18vw, 240px); height: auto; }
.footer-cols {
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: 40px;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 900px) {
  .footer-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-col__title { color: var(--c-muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a,
.footer-col address {
  font-style: normal;
  font-size: .9375rem;
  color: var(--c-ink);
  line-height: 1.6;
}
.footer-col--contact { grid-column: 1 / -1; }
.footer-col__note { margin-top: 12px; font-size: .875rem; }
.footer-link {
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color var(--dur-fast);
}
.footer-link:hover, .footer-link:focus-visible { background-size: 100% 1px; color: var(--c-bordeaux); }
.footer-lang { margin-top: 24px; }
@media (min-width: 900px) { .footer-col--contact { grid-column: auto; } }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: .8125rem;
  color: var(--c-muted);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a { transition: color var(--dur-fast); }
.footer-bottom a:hover { color: var(--c-bordeaux); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-bordeaux);
}
.to-top__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: background var(--dur-fast), box-shadow var(--dur-fast);
}
.to-top__icon svg { width: 14px; height: 14px; transition: transform .45s var(--ease-out); }
.to-top:hover .to-top__icon { background: var(--c-sage); box-shadow: inset 0 0 0 1px transparent; }
.to-top:hover .to-top__icon svg { transform: translateY(-3px); }
.footer-social { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }
.site-footer { padding: clamp(48px, 6vw, 80px) var(--side) 24px; margin-top: 0; }
.footer-main {
  display: grid;
  gap: 32px var(--gutter);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: clamp(32px, 4vw, 48px);
}
.footer-main .footer-logo { grid-column: 1 / -1; justify-content: flex-start; padding: 0; color: var(--c-bordeaux); }
.footer-main .footer-logo svg { width: 96px; height: auto; }
.footer-main .footer-col--contact { grid-column: 1 / -1; }
.footer-main address { font-style: normal; font-size: .9375rem; line-height: 1.7; color: var(--c-ink); }
.footer-main ul { display: grid; gap: 4px; }
.footer-main .footer-link { font-size: .9375rem; }
@media (min-width: 900px) {
  .footer-main { grid-template-columns: 1.2fr 1.4fr 1fr 1fr; align-items: start; }
  .footer-main .footer-logo, .footer-main .footer-col--contact { grid-column: auto; }
}
.footer-bottom { padding-top: 20px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.to-top__icon { width: 34px; height: 34px; }
.mobile-menu { gap: 0; }
.mm-main { display: grid; gap: 2px; }
.mm-main a {
  display: block;
  padding: 6px 0;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.5rem);
  line-height: 1.15;
  color: var(--c-bordeaux);
}
.mm-main a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.mm-sub { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.mm-sub__title { color: var(--c-muted); margin-bottom: 10px; }
.mm-sub ul { display: flex; flex-wrap: wrap; gap: 6px; }
.mm-sub a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  font-size: .875rem;
  color: var(--c-bordeaux);
}
.mm-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: .875rem;
}
.mm-foot a:not(.btn) { color: var(--c-bordeaux); }
.mm-foot .btn { margin-top: 8px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-bordeaux);
}
.eyebrow__num { font-variant-numeric: tabular-nums; }
.eyebrow--muted { color: var(--c-muted); }
.eyebrow--muted .eyebrow__num { color: var(--c-bordeaux); }
.btn {
  --btn-bg: var(--c-sage);
  --btn-fg: var(--c-bordeaux);
  --btn-fill: var(--c-paper);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
  overflow: hidden;
  transform: translateZ(0);
  transition: color .45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: translateX(-101%);
  transition: transform .55s var(--ease-out);
}
.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-bordeaux);
  color: var(--c-linen);
  overflow: hidden;
}
.btn__icon svg {
  width: 15px;
  height: 15px;
  transition: transform .5s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  /* pijl in het ronde vlak: schuift rechts naar buiten en komt links weer binnen */
  .btn:hover .btn__icon svg { animation: btn-arrow .6s var(--ease-io) 1; }
}
@keyframes btn-arrow {
  0% { transform: translateX(0); }
  48% { transform: translateX(26px); }
  49% { transform: translateX(-26px); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .btn:hover .btn__icon svg { animation: none; } }
.btn--sm {
  min-height: 44px;
  padding: 4px 4px 4px 18px;
  gap: 10px;
  font-size: .875rem;
}
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--sm .btn__icon svg { width: 13px; height: 13px; }
.btn--dark {
  --btn-bg: var(--c-bordeaux);
  --btn-fg: var(--c-linen);
  --btn-fill: var(--c-sage);
}
.btn--dark .btn__icon { background: var(--c-linen); color: var(--c-bordeaux); }
@media (hover: hover) {
  .btn--dark:hover { color: var(--c-bordeaux); }
  .btn--dark:hover .btn__icon { background: var(--c-bordeaux); color: var(--c-linen); }
}
.btn--dark .btn__icon { transition: background .45s var(--ease-out), color .45s var(--ease-out); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fill: var(--c-sage);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.btn--light {
  --btn-bg: var(--c-linen);
  --btn-fill: var(--c-white);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--c-bordeaux);
}
.link-arrow__text {
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .55s var(--ease-out);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .5s var(--ease-out); }
.link-arrow:hover .link-arrow__text,
.link-arrow:focus-visible .link-arrow__text { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }
.prose a {
  color: var(--c-bordeaux);
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size .55s var(--ease-out);
}
.prose a:hover { background-size: 100% 1px; }
.badge {
  --size: clamp(156px, 13.5vw, 204px);
  position: relative;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--c-sage);
  color: var(--c-bordeaux);
  box-shadow: 0 0 0 8px var(--c-linen);
  transition: transform .6s var(--ease-out);
}
.badge:hover { transform: scale(1.05); }
.badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  isolation: isolate;
  transform: translateZ(0);
  background: var(--c-sage-soft);
}
.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cursor-label {
  position: fixed;
  left: 0; top: 0;
  z-index: 60;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--c-paper);
  color: var(--c-bordeaux);
  font-family: var(--ff-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.6);
  box-shadow: 0 6px 24px -10px rgba(43, 31, 31, .35);
}
@media (hover: none), (pointer: coarse) { .cursor-label { display: none; } }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
}
.video-frame video,
.video-frame img { position: absolute; inset: 0; }

/* Uitklapmenu "Over ons" in de header */
.gooey__item { position: relative; }
.gooey__link--parent { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.gooey__chevron {
  width: 10px; height: 10px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3.75 5 6.75 8 3.75'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3.75 5 6.75 8 3.75'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .7;
  transition: transform .35s var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.gooey__link--parent:hover .gooey__chevron { opacity: 1; }
.gooey__item.is-open .gooey__chevron { transform: rotate(180deg); opacity: 1; }
.gooey__sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 10;
  min-width: 220px;
  padding: 8px;
  border-radius: var(--r-md);
  background: var(--c-paper);
  box-shadow: 0 18px 40px -24px rgba(43, 31, 31, .45), inset 0 0 0 1px var(--c-line-soft);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity var(--dur-fast) var(--ease-out), transform .35s var(--ease-out);
}
.gooey__item.is-open .gooey__sub { opacity: 1; transform: translate(-50%, 0); }
.gooey__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* brug: de muis blijft binnen het menu */
.gooey__sublink {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-family: var(--ff-display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-bordeaux);
  white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.gooey__sublink:hover, .gooey__sublink:focus-visible { background: var(--c-sage); }
.gooey__sublink[aria-current="page"] { font-weight: 600; background: color-mix(in srgb, var(--c-sage) 55%, transparent); }
.gooey__link--parent[aria-current] { font-weight: 600; }

/* Mobiel menu: groep met kleinere onderliggende links */
.mm-group__toggle {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 6px 0;
  border: 0; background: none; text-align: left; cursor: pointer;
  font-family: var(--ff-display); font-weight: 300;
  font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.5rem);
  line-height: 1.15; color: var(--c-bordeaux);
}
.mm-group__toggle .gooey__chevron { width: 16px; height: 16px; margin-top: 4px; }
.mm-group.is-open .gooey__chevron { transform: rotate(180deg); opacity: 1; }
.mm-group__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.mm-group.is-open .mm-group__panel { grid-template-rows: 1fr; }
.mm-group__panel > .mm-group__list { overflow: hidden; min-height: 0; padding-left: 16px; border-left: 1px solid var(--c-line); margin-left: 2px; }
.mm-group__list { display: grid; gap: 2px; padding-left: 0; }
.mm-group__list a {
  display: block;
  padding: 4px 0;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(1.375rem, 1.1rem + 1.6vw, 1.75rem);
  line-height: 1.2;
  color: var(--c-bordeaux);
}
.mm-group__list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
