/* ==========================================================================
   Buro Ariëns — Website 2026
   Design system: 1 shared component set, themed per discipline via CSS vars.
   Breakpoints: mobile 390 · tablet 834 · desktop 1440 · wide 2560 (cap 1440)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts
   Headings: Futura Medium via Adobe Fonts.
   >>> ADD ADOBE FONTS KIT HERE (replace the placeholder in <head>):
       <link rel="stylesheet" href="https://use.typekit.net/XXXXXXX.css">
   Until the kit is live, the stack falls back to Montserrat (bundled).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../assets/fonts/work-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* neutral / base */
  --ink: #1F2321;
  --surface: #F6F5F3;
  --elev: #FFFFFF;
  --border: #D7DAD2;
  --muted: #6C6A63;

  /* discipline palettes (for reference & switcher rows) */
  --ro-accent: #EDD2C0; --ro-strong: #854D28; --ro-ink: #311C0C;
  --ar-accent: #C8D6E0; --ar-strong: #344B5F; --ar-ink: #233543;
  --in-accent: #B8C0AB; --in-strong: #68715C; --in-ink: #3E4337;

  /* active theme (ALG default: deliberately colourless) */
  --t-accent: #E3E1DC;
  --t-strong: #1F2321;
  --t-ink: #1F2321;

  /* type */
  --font-head: "futura-pt", "Futura PT", Futura, Avenir, "Montserrat", sans-serif;
  --font-body: "Work Sans", sans-serif;

  /* motion */
  --e: cubic-bezier(.66, 0, .2, 1);
  --dur: .3s;

  /* layout */
  --margin: 80px;
  --content-max: 1280px;
  --content-w: min(100vw - 2 * var(--margin), 1440px); /* fluid: 1280 @1440, caps 1440 wide */
  --gutter: 24px;
  --radius-tile: 12px;
  --radius-pill: 24px;
}
[data-theme="ro"] { --t-accent: var(--ro-accent); --t-strong: var(--ro-strong); --t-ink: var(--ro-ink); --t-contact: #EDD2C0; }
[data-theme="ar"] { --t-accent: var(--ar-accent); --t-strong: var(--ar-strong); --t-ink: var(--ar-ink); --t-contact: #CAD7E2; }
[data-theme="in"] { --t-accent: var(--in-accent); --t-strong: var(--in-strong); --t-ink: var(--in-ink); --t-contact: #D7DAD2; }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h4, h5 {
  font-family: var(--font-head);
  font-weight: 500;
  margin: 0 0 1rem;
  color: var(--ink);
}
h1 { font-size: 3.5rem; line-height: 1.143; }  /* 56/64 Futura Medium */
h2 { font-size: 2.25rem; line-height: 1.222; } /* 36/44 Futura Medium */
h3 {                                            /* 28/36 Work Sans Regular (per design) */
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.75rem; line-height: 1.3;
  margin: 0 0 1rem; color: var(--ink);
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.25rem; }    /* body large 20 */
.meta { font-size: .875rem; color: var(--muted); }
ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }
li { margin-bottom: .5rem; }

@media (max-width: 833px) {          /* mobile */
  h1 { font-size: 2rem; }            /* ~32 */
  h2 { font-size: 1.75rem; }         /* 28 */
  h3 { font-size: 1.375rem; }        /* 22 */
  .lead { font-size: 1.125rem; }
}
@media (min-width: 834px) and (max-width: 1279px) {  /* tablet */
  h1 { font-size: 2.5rem; }          /* ~40 */
  h2 { font-size: 1.75rem; }         /* ~28 */
  h3 { font-size: 1.5rem; }          /* 24 */
  .lead { font-size: 1.125rem; }
}

/* focus */
:focus-visible { outline: 2px solid var(--t-strong); outline-offset: 3px; border-radius: 2px; }

/* container: 100% width sections with an inner container (CMS briefing) */
.container {
  max-width: calc(var(--content-w) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}
@media (max-width: 1279px) { :root { --margin: 48px; } }
@media (max-width: 833px)  { :root { --margin: 24px; } }

section { width: 100%; }
.section { padding-block: 5rem; }
@media (max-width: 1279px) { .section { padding-block: 3.5rem; } }
@media (max-width: 833px) { .section { padding-block: 2.5rem; } }

/* skip link */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--elev); padding: .75rem 1.25rem; z-index: 200; }
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 500; font-size: .9375rem; /* 15 */
  line-height: 1; text-decoration: none; cursor: pointer;
  border: 0; border-radius: var(--radius-pill);
  height: 48px; padding: 15px 36px;
  transition: background-color var(--dur) var(--e), color var(--dur) var(--e), border-color var(--dur) var(--e);
}
.btn-primary { background: var(--t-strong); color: var(--surface); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--t-ink); color: var(--surface); }

.text-link {
  font-weight: 500; font-size: .9375rem;
  color: var(--ink); text-decoration: none;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%;
  background-size: 100% 1px;
  transition: color var(--dur) var(--e), background-size var(--dur) var(--e);
}
.text-link:hover { color: var(--t-strong); background-size: 100% 2px; }
.text-link--strong { color: var(--t-strong); font-size: 1rem; } /* prominent forward links */
.text-link--strong:hover { color: var(--t-ink); }
/* underlined links elsewhere (footer) get the same smooth lift */
.footer-brand .footer-contact-link {
  text-decoration: none; padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
  transition: background-size var(--dur) var(--e), opacity var(--dur) var(--e);
}
.footer-brand .footer-contact-link:hover { opacity: 1; background-size: 100% 2px; }

.pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 48px; padding: 15px 36px 15px 28px;
  background: var(--elev); border: 0; border-radius: var(--radius-pill);
  font-weight: 500; font-size: .9375rem; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--e);
}
.pill:hover, .pill.is-active { background: var(--t-accent); }
/* pills with a discipline shape hover/activate in their own discipline accent
   (startpagina disciplinekeuze, projectfilter) */
.pill:has(svg.shape-circle):hover, .pill:has(svg.shape-circle).is-active { background: var(--ro-accent); }
.pill:has(svg.shape-triangle):hover, .pill:has(svg.shape-triangle).is-active { background: var(--ar-accent); }
.pill:has(svg.shape-square):hover, .pill:has(svg.shape-square).is-active { background: var(--in-accent); }
svg.pill-dot { width: 14px; height: 14px; flex: none; display: inline-block; }
/* optical size balance: triangle reads smaller, square larger at equal boxes */
svg.shape-triangle { transform: scale(1.16); transform-origin: center; }
svg.shape-square { transform: scale(.88); transform-origin: center; }
.switcher[aria-expanded="true"] .switcher-toggle svg.shape-triangle,
.switcher[aria-expanded="true"] .switcher-toggle svg.shape-square { transform: scale(.5); } /* exit-anim overrides optical scale */

.nav-btn {
  width: 50px; height: 50px; border-radius: 50%;
  background: transparent; border: 1px solid var(--t-strong); color: var(--t-strong);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color var(--dur) var(--e), color var(--dur) var(--e), opacity var(--dur) var(--e);
}
.nav-btn:hover:not(:disabled) { background: var(--t-strong); color: var(--surface); }
.nav-btn:disabled { opacity: .35; cursor: default; border-color: var(--muted); color: var(--muted); }
.nav-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   4. Eyebrows & edge lines
   -------------------------------------------------------------------------- */
.eyebrow-row {
  position: relative; display: flex; align-items: center; gap: 24px;
  margin-bottom: 2.5rem;
}
.eyebrow {
  font-size: 1.25rem; /* 20 desktop */
  color: var(--ink); text-transform: lowercase; white-space: nowrap;
}
/* desktop: line from screen edge, vertically centred, stops 24px before text */
.eyebrow-row::before {
  content: ""; height: 1px; background: var(--t-accent);
  flex: none;
  width: calc((100vw - var(--content-w)) / 2 + var(--eb-indent, 0px) - 24px);
  margin-left: calc(-1 * ((100vw - var(--content-w)) / 2 + var(--eb-indent, 0px)));
}
.eyebrow-row--right { flex-direction: row-reverse; }
.eyebrow-row:has(+ .project-slider) { margin-bottom: 1.25rem; }
.eyebrow-row--right::before { margin-left: 0; margin-right: calc(-1 * (100vw - var(--content-w)) / 2); }
.eyebrow-row--plain::after { display: none; }
.eyebrow-row--noline::before { display: none; } /* e.g. andere diensten */
/* big section titles on homepages (36px, Futura, lowercase, same edge line) */
.eyebrow--big { font-family: var(--font-head); font-weight: 500; font-size: 2.25rem; }
.eyebrow-row--split { justify-content: space-between; }
.eyebrow-row--split .eyebrow-link { margin-left: auto; }
.eyebrow-row .eyebrow-link { white-space: nowrap; }
/* centered eyebrow with short lines both sides (andere diensten) */
.eyebrow-center { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 2.5rem; }
.eyebrow-center::before, .eyebrow-center::after { content: ""; width: 80px; height: 1px; background: var(--t-accent); }
@media (max-width: 1279px) { .eyebrow--big { font-size: 1.75rem; } }

@media (max-width: 1279px) {
  /* tablet & mobile: line sits ±10px above the eyebrow, edge -> end of text */
  .eyebrow-row { display: block; margin-bottom: 2rem; }
  .eyebrow-row::before { display: none; }
  .eyebrow { position: relative; display: inline-block; font-size: 1rem; padding-top: 10px; }
  .eyebrow::before {
    content: ""; position: absolute; top: 0; right: 0; height: 1px; background: var(--t-accent);
    width: calc(100% + var(--margin));
  }
  .eyebrow-row--right { text-align: right; }
  .eyebrow-row--right .eyebrow::before { right: auto; left: 0; }
  .eyebrow-row--split { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
}
.site-header { --hh: 96px; }
.site-header .container {
  display: flex; align-items: center; gap: 40px;
  height: var(--hh);
  transition: height var(--dur) var(--e);
}
/* right group: nav + contact + switcher; divider runs from the first menu item
   to the right screen edge (per design) */
.header-right {
  position: relative; margin-left: auto; display: flex; align-items: center;
  /* starts exactly on the hero-image column: content-left + 480px column + 64px gap */
  width: calc(var(--content-w) - 544px);
  min-width: fit-content; /* narrow desktop: never squeeze nav/buttons */
}
@media (max-width: 1380px) { .main-nav { gap: 32px; } }
.header-right::after {
  content: ""; position: absolute; height: 1px; background: var(--border);
  left: 0; right: calc(-1 * (100vw - var(--content-w)) / 2);
  bottom: calc((48px - var(--hh)) / 2);
}
.site-header.is-scrolled { --hh: 72px; }
.site-header.is-scrolled .header-logo img { height: 38px; }
.header-logo { margin-right: auto; display: block; flex: none; }
.header-logo img { height: 46px; width: auto; transition: height var(--dur) var(--e); }
.main-nav { display: flex; align-items: center; gap: 44px; margin-right: auto; }
.main-nav a {
  font-size: 1rem; text-decoration: none; opacity: .85;
  position: relative;
  transition: opacity var(--dur) var(--e);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
/* animated underline, only on hover */
.main-nav > a::after, .nav-item-diensten > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--e);
}
.main-nav > a:hover::after, .nav-item-diensten > a:hover::after { transform: scaleX(1); }
/* header Contact pill: discipline tint with deep-ink label (Figma Button/Pill);
   ALG keeps the neutral ink fill */
.btn-contact { background: var(--t-contact, var(--ink)); color: var(--t-ink); height: 48px; flex: none; }
[data-theme="alg"] .btn-contact { color: var(--surface); }
.btn-contact:hover { background: var(--t-strong); color: var(--surface); }
[data-theme="alg"] .btn-contact:hover { background: #000; }

/* mega menu (Diensten) — slides physically out of the header line */
.nav-item-diensten > a { position: relative; }
.nav-bridge { position: absolute; top: 100%; left: -48px; right: -48px; height: 44px; display: none; }
.nav-item-diensten:hover .nav-bridge, .nav-item-diensten:focus-within .nav-bridge { display: block; }
.mega-clip {
  position: absolute; top: calc(48px + (var(--hh) - 48px) / 2); left: -48px;
  padding: 0 48px 56px; overflow: hidden; pointer-events: none;
}
.mega-menu {
  display: flex; gap: 32px;
  min-width: 360px; padding: 28px 24px;
  background: var(--elev); border: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(31, 35, 33, 0);
  pointer-events: auto;
  visibility: hidden;
  transform: translateY(calc(-100% - 2px));
  transition: transform .4s var(--e), box-shadow .25s var(--e), visibility 0s .4s;
}
.nav-item-diensten:hover .mega-menu,
.nav-item-diensten:focus-within .mega-menu {
  visibility: visible; transform: translateY(0);
  box-shadow: 0 10px 24px rgba(31, 35, 33, .06);
  transition-delay: 0s, .2s, 0s; /* schaduw komt pas als het paneel er is */
}
/* while open, the clip zone itself keeps the hover chain alive */
.nav-item-diensten:hover .mega-clip,
.nav-item-diensten:focus-within .mega-clip { pointer-events: auto; }
.mega-items { display: block; }
.mega-items a {
  display: block; padding: 7px 0; font-size: 1rem; text-decoration: none; white-space: nowrap;
  color: var(--ink);
  transition: color var(--dur) var(--e), padding-left var(--dur) var(--e);
}
.mega-items a:hover { color: var(--t-strong); padding-left: 8px; }
/* AR/IN: wide panel with featured project (per design: 845x384, padding 40) */
.mega-menu--featured { padding: 40px; gap: 32px; width: 845px; }
.mega-menu--featured .mega-items { min-width: 318px; }
.mega-menu--featured .mega-items a { padding: 9px 0; }
.mega-menu .mega-items a:hover { padding-left: 8px; }
.mega-divider { width: 1px; background: var(--border); align-self: stretch; }
.mega-featured { display: block; width: 350px; text-decoration: none; }
.mega-image-clip { display: block; overflow: hidden; margin-bottom: 12px; }
.mega-image-clip img { width: 100%; aspect-ratio: 350 / 200; object-fit: cover; transition: transform .45s var(--e); }
.mega-featured:hover .mega-image-clip img { transform: scale(1.05); }
.mega-label {
  display: block; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--t-strong); margin-bottom: .625rem;
}
.mega-title-row { display: flex; align-items: baseline; justify-content: flex-start; gap: 10px; }
.mega-title { font-size: 1.125rem; color: var(--ink); }
.mega-arrow { color: var(--t-strong); font-size: .875rem; transition: transform var(--dur) var(--e); }
.mega-featured:hover .mega-arrow { transform: translateX(4px); }
.mega-sub { display: block; font-size: .875rem; color: var(--ink); margin-top: .25rem; }

/* discipline switcher (plus button) */
.switcher { position: relative; display: inline-flex; align-items: center; margin-left: 12px; }
.switcher-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--elev); border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--dur) var(--e), transform var(--dur) var(--e);
}
.switcher-toggle { position: relative; }
.switcher-toggle svg {
  width: 16px; height: 16px;
  position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -8px;
  transition: transform var(--dur) var(--e), opacity var(--dur) var(--e);
}
/* closed: active discipline shape · open (or ALG): plus, rotated to a cross */
.switcher-toggle .toggle-shape { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.switcher-toggle .toggle-shape + .toggle-plus { opacity: 0; transform: rotate(-45deg) scale(.6); }
.switcher[aria-expanded="true"] .switcher-toggle .toggle-shape { opacity: 0; transform: scale(.5); }
.switcher[aria-expanded="true"] .switcher-toggle .toggle-plus { opacity: 1; transform: rotate(45deg) scale(1); }
/* ALG (no shape): plus is the only icon, visible when closed too */
.switcher-toggle .toggle-plus:only-child { opacity: 1; transform: none; }
.switcher[aria-expanded="true"] .switcher-toggle .toggle-plus:only-child { transform: rotate(45deg); }
.switcher-clip {
  position: absolute; top: calc(100% + (var(--hh) - 48px) / 2); right: -48px;
  padding: 0 48px 56px; overflow: hidden; pointer-events: none;
}
.switcher-panel {
  display: block;
  background: var(--elev); border: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(31, 35, 33, 0);
  padding: 8px; min-width: 176px;
  pointer-events: auto;
  visibility: hidden;
  transform: translateY(calc(-100% - 2px));
  transition: transform .4s var(--e), box-shadow .25s var(--e), visibility 0s .4s;
}
.switcher[aria-expanded="true"] .switcher-panel {
  visibility: visible; transform: translateY(0);
  box-shadow: 0 10px 24px rgba(31, 35, 33, .06);
  transition-delay: 0s, .2s, 0s;
}
.switcher[aria-expanded="true"] .switcher-clip { pointer-events: auto; }
.switcher-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; border-radius: 8px; text-decoration: none;
  font-size: .8125rem; /* 13 */
  color: var(--ink);
  transition: background-color var(--dur) var(--e);
}
.switcher-row:hover { background: var(--surface); }
/* actieve discipline: alleen strong vorm + medium label, geen achtergrondvlak
   (zo blijft de hover-achtergrond op andere rijen onderscheidend) */
.switcher-row.is-active { font-weight: 500; }
.switcher-shape { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.switcher-shape svg { width: 18px; height: 18px; }
/* inactieve disciplines: lichte accentvariant van het vormelement;
   hover en actieve staat: de primaire (strong) kleur */
.switcher-shape svg :is(circle, polygon, rect) { transition: fill var(--dur) var(--e); }
.switcher-row .shape-circle circle { fill: var(--ro-accent); }
.switcher-row .shape-triangle polygon { fill: var(--ar-accent); }
.switcher-row .shape-square rect { fill: var(--in-accent); }
.switcher-row:hover .shape-circle circle, .switcher-row.is-active .shape-circle circle { fill: var(--ro-strong); }
.switcher-row:hover .shape-triangle polygon, .switcher-row.is-active .shape-triangle polygon { fill: var(--ar-strong); }
.switcher-row:hover .shape-square rect, .switcher-row.is-active .shape-square rect { fill: var(--in-strong); }

/* hamburger (tablet/mobile) */
.hamburger {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger span { width: 24px; height: 2px; background: var(--ink); transition: transform var(--dur) var(--e), opacity var(--dur) var(--e); }

@media (max-width: 1279px) {
  .site-header { --hh: 76px; }
  .site-header.is-scrolled { --hh: 64px; }
  .header-right { display: none; }
  .header-logo img { height: 40px; }
  .site-header.is-scrolled .header-logo img { height: 34px; }
  .hamburger { display: inline-flex; margin-left: auto; }
}

/* menu overlay (tablet/mobile) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 150; background: var(--surface);
  display: flex; flex-direction: column; padding: 24px var(--margin) 48px;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--e), visibility 0s .3s;
  overflow-y: auto;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-overlay-top { display: flex; align-items: center; justify-content: space-between; height: 72px; margin-bottom: 8vh; }
.menu-overlay-top img { height: 40px; width: auto; }
.menu-close { width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: var(--ink); }
.menu-overlay nav { display: flex; flex-direction: column; gap: 4px; }
.menu-overlay nav a {
  font-family: var(--font-head); font-size: 2rem; font-weight: 500;
  padding: 10px 0; text-decoration: none; transition: color var(--dur) var(--e);
}
.menu-overlay nav a:hover, .menu-overlay nav a[aria-current="page"] { color: var(--t-strong); }
.menu-overlay .menu-switcher { margin-top: auto; padding-top: 6vh; border-top: 1px solid var(--border); }
.menu-overlay .menu-switcher p { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.menu-overlay .switcher-row { font-size: 1rem; padding: 14px 0; }

/* --------------------------------------------------------------------------
   6. Hero (discipline home)
   -------------------------------------------------------------------------- */
.hero-home { position: relative; overflow: visible; padding-block: 8.5rem 11rem; z-index: 1; }
.hero-home .container { position: relative; z-index: 2; display: grid; grid-template-columns: 480px 1fr; gap: 64px; align-items: center; }
main > section:not(.hero-home) { position: relative; z-index: 2; }
.hero-copy .lead { color: var(--ink); max-width: 420px; margin-top: 1.25rem; }
.hero-cta { display: flex; align-items: center; gap: 20px; margin-top: 2rem; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 737 / 510; object-fit: cover; position: relative; z-index: 2; }
.hero-visual figcaption { position: relative; z-index: 2; font-size: .8125rem; color: var(--muted); margin-top: .75rem; }
/* decorative shapes (inline SVG: crisp at any scale, bleed into the next section)
   positions taken from the 1440 design: anchored to the content centre */
.hero-deco { position: absolute; z-index: 1; pointer-events: none; }
.hero-deco--ro { width: 918px; height: 650px; left: calc(50% + 229px); top: 382px; }
.hero-deco--ar { width: 918px; height: 720px; left: calc(50% + 180px); top: 430px; }
.hero-deco--in { width: 918px; height: 600px; left: calc(50% + 229px); top: 430px; }

@media (max-width: 1279px) {
  .hero-home { padding-block: 3rem 5rem; }
  .hero-home .container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-deco--ro, .hero-deco--in { width: 560px; height: 400px; left: calc(50% + 60px); top: 300px; }
  .hero-deco--ar { width: 560px; height: 440px; left: calc(50% + 40px); top: 320px; }
}
@media (max-width: 833px) {
  .hero-home .container { grid-template-columns: 1fr; }
  .hero-deco--ro, .hero-deco--in { width: 420px; height: 300px; left: 50%; top: auto; bottom: -40px; }
  .hero-deco--ar { width: 420px; height: 330px; left: 50%; top: auto; bottom: -40px; }
}

/* page hero (subpages: breadcrumb + h1 + intro) */
.page-hero { padding-block: 3.5rem 2rem; }
.page-hero .lead, .page-hero .intro { max-width: 720px; }
.page-hero--split .container { display: grid; grid-template-columns: 600px 1fr; gap: 80px; align-items: center; }
.page-hero--split img { width: 100%; aspect-ratio: 600 / 480; object-fit: cover; }
@media (max-width: 1279px) { .page-hero--split .container { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 833px) { .page-hero--split .container { grid-template-columns: 1fr; } }

/* homepage: over ons intro + diensten section (pills in right column) */
.home-overons .wysiwyg { max-width: 480px; }
@media (min-width: 1280px) {
  .home-overons .eyebrow-row, .home-overons .wysiwyg,
  .home-projects .eyebrow-row { margin-left: 109px; --eb-indent: 109px; }
  .home-projects .eyebrow-row { margin-right: 0; }
}
.home-diensten .diensten-col {
  margin-left: auto; max-width: 473px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.home-diensten .diensten-col .eyebrow-row {
  width: 100%; flex-direction: row; justify-content: space-between; margin-bottom: .75rem;
}
@media (min-width: 1280px) {
  .home-diensten .diensten-col .eyebrow-row::before {
    width: auto; flex: 1; margin-left: 24px; order: 2;
    margin-right: calc(-1 * (100vw - var(--content-w)) / 2);
  }
  .home-diensten .diensten-col .eyebrow-row .eyebrow { order: 1; }
}
@media (max-width: 833px) {
  .home-diensten .diensten-col { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   7. Content blocks (Strapi-managed: wrapper class + clean <p> inside .wysiwyg)
   -------------------------------------------------------------------------- */
.wysiwyg h2 + p, .wysiwyg h3 + p { margin-top: 0; }
.wysiwyg { max-width: 672px; }
.wysiwyg :is(h2, h3) { margin-bottom: 1rem; }

.text-image-left .container,
.text-image-right .container {
  display: grid; grid-template-columns: 608px 1fr; gap: 80px; align-items: center;
}
.text-image-right .container { grid-template-columns: 1fr 608px; }
.text-image-left img, .text-image-right img { width: 100%; object-fit: cover; }
@media (max-width: 1279px) {
  .text-image-left .container, .text-image-right .container { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 833px) {
  .text-image-left .container, .text-image-right .container { grid-template-columns: 1fr; }
  .text-image-right .container > figure { order: -1; } /* image on top when stacked */
}

.image-block img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.image-block .image-caption { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: .75rem; }

.text-block .container { display: grid; grid-template-columns: 528px 1fr; gap: 80px; }
@media (max-width: 833px) { .text-block .container { grid-template-columns: 1fr; gap: 16px; } }

/* three column values (over ons) */
.value-cols .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 1279px) { .value-cols .container { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (max-width: 833px) { .value-cols .container { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------------------
   8. Project slider
   -------------------------------------------------------------------------- */
.project-slider { position: relative; }
.slider-deco {
  position: absolute; z-index: 0; pointer-events: none;
  left: calc(-1 * ((100vw - var(--content-w)) / 2 + var(--margin)));
  bottom: -48px; width: 94vw; height: 82%;
}
.slider-viewport, .slider-nav { position: relative; z-index: 1; }
.slider-viewport {
  overflow: hidden;
  margin-inline: calc((var(--content-w) - 100vw) / 2);
  padding-inline: calc((100vw - var(--content-w)) / 2);
}
.slider-track {
  display: flex; gap: var(--gutter);
  transition: transform .55s var(--e);
  touch-action: pan-y;
}
.slider-track.is-dragging { transition: none; }
.project-slider { --slide-h: 490px; }
.slide { flex: 0 0 410px; text-decoration: none; }
/* fixed track height incl. 28px headroom: the hovered card grows upward into
   the reserved space, nothing below shifts */
.slider-track { align-items: flex-end; height: calc(var(--slide-h) + 28px); }
.slide .slide-img-wrap {
  position: relative; display: block; overflow: hidden;
  height: var(--slide-h);
  transition: height .45s var(--e), margin-top .45s var(--e);
}
.slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .45s var(--e);
}
/* playful: the slide grows upward on hover (bottom edge stays put via flex-end) */
.slide:hover .slide-img-wrap, .slide:focus-visible .slide-img-wrap, .slide.is-pressed .slide-img-wrap {
  height: calc(var(--slide-h) + 12px);
}
@media (max-width: 1279px) { .project-slider { --slide-h: 470px; } }
@media (max-width: 833px) { .project-slider { --slide-h: 410px; } }
/* hover (Figma Project/Slide State=Hover): image zooms, gradient + info reveal */
.slide .slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; height: 57%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .85) 100%);
  opacity: 0; transition: opacity .45s var(--e);
}
.slide .slide-info {
  position: absolute; left: 20px; right: 56px; bottom: 18px; color: #FFFFFF;
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--e), transform .45s var(--e);
}
.slide .slide-title { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.375rem; line-height: 1.2; }
.slide .slide-sub { display: block; font-size: .875rem; opacity: .82; margin-top: 4px; }
.slide .slide-arrow {
  position: absolute; right: 20px; bottom: 18px; color: rgba(255, 255, 255, .9); font-size: 1rem;
  opacity: 0; transition: opacity .45s var(--e);
}
.slide:hover img, .slide:focus-visible img, .slide.is-pressed img { transform: scale(1.04); }
.slide:hover :is(.slide-overlay, .slide-info, .slide-arrow),
.slide:focus-visible :is(.slide-overlay, .slide-info, .slide-arrow) { opacity: 1; transform: none; }
.slider-nav { display: flex; gap: 24px; margin-top: 2rem; }
@media (max-width: 1279px) { .slide { flex-basis: 357px; } }
@media (max-width: 833px) { .slide { flex-basis: 300px; } }

/* --------------------------------------------------------------------------
   9. Projects overview: filter + grid
   -------------------------------------------------------------------------- */
.project-filter { margin-bottom: 3rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.filter-row .spacer { flex: 1; }
.filter-select {
  position: relative; min-width: 220px;
}
.filter-select select {
  appearance: none; width: 100%; height: 48px; padding: 0 48px 0 24px;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--elev); font-family: var(--font-body); font-size: .9375rem; color: var(--ink); cursor: pointer;
}
.filter-select::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gutter);
}
@media (max-width: 1279px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 833px) { .project-grid { grid-template-columns: 1fr; gap: 40px; } }
.project-card { text-decoration: none; display: block; }
.project-card img { width: 100%; aspect-ratio: 411 / 320; object-fit: cover; }
.project-card .card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .875rem; color: var(--ink); margin-top: 1rem;
}
.project-card .card-meta .arrow { color: var(--muted); transition: color var(--dur) var(--e); }
.project-card .card-title { font-size: .75rem; color: var(--muted); margin-top: .375rem; }
.project-card:hover .card-meta .arrow { color: var(--t-strong); }
.project-card:hover .card-meta span:first-child { color: var(--t-strong); transition: color var(--dur) var(--e); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 4rem; font-size: .875rem; }
.pagination a { text-decoration: none; color: var(--muted); padding: 6px; transition: color var(--dur) var(--e); }
.pagination a:hover { color: var(--t-strong); }
.pagination .is-current { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   10. Project detail
   -------------------------------------------------------------------------- */
.breadcrumb { font-size: .8125rem; color: var(--muted); margin-bottom: 2rem; display: block; }
.breadcrumb a { text-decoration: none; color: inherit; transition: color var(--dur) var(--e); }
.breadcrumb a:hover { color: var(--t-strong); }
.breadcrumb .sep { margin-inline: .5em; }

.detail-meta-row {
  display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: 2rem;
}
.detail-meta-row .meta-item .meta-label {
  display: block; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem;
}
.detail-meta-row .meta-item .meta-value { font-size: .9375rem; }
.detail-meta-row--large .meta-item .meta-value { font-size: 1.25rem; }

.detail-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 834px) and (max-width: 1279px) {
  .detail-hero-split { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
}

.two-up .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.two-up img { width: 100%; aspect-ratio: 624 / 440; object-fit: cover; }
@media (max-width: 833px) { .two-up .container { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   11. Vacancy tiles & vacancy detail
   -------------------------------------------------------------------------- */
.vacancy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
@media (max-width: 833px) { .vacancy-grid { grid-template-columns: 1fr; } }
.vacancy-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--border); border-radius: var(--radius-tile);
  padding: 32px; background: transparent; text-decoration: none;
  transition: border-color var(--dur) var(--e);
}
@media (max-width: 1279px) { .vacancy-tile { padding: 24px; } }
.vacancy-tile:hover { border-color: var(--muted); }
.vacancy-eyebrow {
  font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
}
.vacancy-eyebrow--ro { color: var(--ro-strong); }
.vacancy-eyebrow--ar { color: var(--ar-strong); }
.vacancy-eyebrow--in { color: var(--in-strong); }
.vacancy-eyebrow--alg { color: var(--ink); }
.vacancy-title { font-family: var(--font-body); font-size: 1.75rem; font-weight: 400; line-height: 1.3; }
.vacancy-meta { font-size: .875rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; }
.vacancy-meta .arrow { color: #8C8780; font-size: 1.125rem; }

.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
@media (max-width: 833px) { .step-cards { grid-template-columns: 1fr; } }
.step-card .step-nr { font-family: var(--font-head); font-size: 1.5rem; color: var(--t-strong); margin-bottom: .75rem; }
.step-card p { font-size: .9375rem; }

/* --------------------------------------------------------------------------
   12. Actueel — masonry
   -------------------------------------------------------------------------- */
.masonry { display: flex; gap: var(--gutter); align-items: flex-start; }
.masonry-col { flex: 1; display: flex; flex-direction: column; gap: 48px; }
@media (max-width: 833px) { .masonry-col { gap: 24px; } }
.post-tile { background: var(--elev); border: 1px solid var(--border); border-radius: var(--radius-tile); overflow: hidden; text-decoration: none; display: block; }
.post-tile img { width: 100%; object-fit: cover; }
.post-tile .post-body { padding: 20px 24px; }
.post-tile .post-source { font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: .5rem; }
.post-tile .post-text { font-size: .9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; padding-block: 7rem; }
.cta-band h2 {
  font-family: var(--font-body); font-weight: 400;
  font-size: 1.75rem; line-height: 1.43; /* 28/40 per design */
  max-width: 840px; margin-inline: auto;
}
.cta-band .btn { margin-top: 2rem; }
@media (max-width: 833px) { .cta-band { padding-block: 4rem; } .cta-band h2 { font-size: 1.375rem; } }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-layout .container { display: grid; grid-template-columns: 480px 1fr; gap: 80px; }
@media (max-width: 1279px) { .contact-layout .container { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 833px) { .contact-layout .container { grid-template-columns: 1fr; } }
.contact-item { margin-bottom: 2.5rem; }
.contact-item .contact-label {
  display: block; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .375rem;
}
.contact-item .contact-value { font-size: 1.125rem; }
.contact-item a { text-decoration: none; transition: color var(--dur) var(--e); }
.contact-item a:hover { color: var(--t-strong); }

.contact-form .form-field { margin-bottom: 2.5rem; }
.contact-form label {
  display: block; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .625rem;
}
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--border); background: transparent;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); padding: 0 0 14px;
  transition: border-color var(--dur) var(--e);
}
.contact-form :is(input, textarea):focus { outline: none; border-bottom-color: var(--t-strong); }
.contact-form textarea { min-height: 96px; resize: vertical; }
.form-checks { display: flex; flex-wrap: wrap; gap: 24px; }
.form-checks label { display: inline-flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--ink); margin: 0; cursor: pointer; }
.form-checks input { accent-color: var(--t-strong); width: 18px; height: 18px; }
.contact-form .btn { height: 56px; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--t-ink); color: var(--surface); padding-block: 3rem 1.875rem; margin-top: 0; }
.site-footer a { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 460px 420px 1fr; gap: 64px 0; align-items: start; justify-items: start; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 1.75rem; }
.footer-brand .tagline { font-size: 1rem; opacity: .9; margin-bottom: 2.5rem; }
.footer-brand .footer-contact-link { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; opacity: .9; }
.footer-contact { display: grid; grid-template-columns: auto auto; gap: 10px 60px; font-size: .875rem; }
.footer-contact dt { opacity: .7; }
.footer-contact dd { margin: 0; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-menu { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; }
.footer-menu a { text-decoration: none; opacity: .95; }
.footer-menu a:hover { text-decoration: underline; }
.footer-divider { border: 0; border-top: 1px solid rgba(246, 245, 243, .25); margin-block: 2rem 1.75rem; }
.footer-bottom { display: flex; align-items: center; gap: 24px; font-size: .75rem; }
.footer-start {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--t-accent); font-size: .75rem;
}
[data-theme="alg"] .footer-start { color: var(--surface); }
.footer-start:hover { text-decoration: underline; }
.footer-start .grid-icon { display: grid; grid-template-columns: 6px 6px; gap: 2px; }
.footer-start .grid-icon i { width: 6px; height: 6px; background: currentColor; display: block; }
.footer-legal { display: flex; gap: 18px; padding-left: 24px; border-left: 1px solid rgba(246, 245, 243, .25); }
.footer-legal a, .footer-social a { text-decoration: none; opacity: .85; }
.footer-legal a:hover, .footer-social a:hover { opacity: 1; text-decoration: underline; }
.footer-social { display: flex; gap: 18px; margin-left: auto; }
.footer-copy { opacity: .85; }

@media (max-width: 1279px) {
  .footer-grid { grid-template-columns: 1fr auto; gap: 48px 64px; }
}
@media (max-width: 833px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-wrap: wrap; gap: 16px 24px; }
  .footer-start { order: -1; flex-basis: 100%; }
  .footer-legal { padding-left: 0; border-left: 0; }
  .footer-social { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   16. Start page (entry experience + zoom transition)
   -------------------------------------------------------------------------- */
.start-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: var(--surface);
  background:
    radial-gradient(120% 95% at 50% 38%, rgba(60, 44, 30, 0) 0%, rgba(20, 14, 9, .86) 100%),
    linear-gradient(108deg, #241A12 0%, #4A3829 26%, #6F5A45 48%, #4A3727 70%, #1E150D 100%);
  transition: transform .9s var(--e), filter .7s var(--e);
  transform-origin: 50% 50%;
}
.start-hero .start-bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; z-index: 0;
}
.start-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 95% at 50% 38%, rgba(60, 44, 30, 0) 0%, rgba(20, 14, 9, .72) 100%), rgba(20, 14, 9, .28);
}
.start-hero > * { position: relative; z-index: 2; }
.start-hero.zooming { transform: scale(1.05); filter: brightness(.72); }

.start-header {
  --hh: 100px; z-index: 30; /* boven start-center, zodat switcher-paneel klikbaar blijft */
  display: flex; align-items: center; gap: 44px;
  padding: 40px var(--margin);
  width: 100%; max-width: calc(var(--content-w) + 2 * var(--margin)); margin-inline: auto;
}
.start-header .header-logo img { height: 53px; }
.start-header .main-nav a { color: var(--surface); }
.start-header .header-right::after { background: rgba(255, 255, 255, .35); }
@media (max-width: 1279px) { .start-header .header-right { display: none; } }
.start-header .btn-contact { background: var(--ink); color: var(--surface); }
.start-header .btn-contact:hover { background: #000; }
.start-header .switcher { margin-left: 12px; }

.start-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px var(--margin) 80px; }
.start-center .start-eyebrow { font-size: .9375rem; letter-spacing: .08em; opacity: .85; margin-bottom: 1.25rem; }
.start-center h1 { color: var(--surface); font-size: 3.5rem; margin-bottom: .5rem; }
.start-center .start-sub { font-size: 1.125rem; opacity: .85; margin-bottom: 4rem; }

.start-tiles { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.start-tile {
  width: 300px; height: 300px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  border-radius: 18px; padding: 34px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .42);
  backdrop-filter: blur(7px) saturate(1.1);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
  color: var(--surface); text-decoration: none; cursor: pointer;
  transition: transform .45s var(--e), border-color .45s var(--e), background .45s var(--e);
}
.start-tile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--tile-accent, var(--t-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--e);
}
/* hover (Figma State=Hover-*): tile fills with the discipline strong colour,
   the shape turns translucent light, text stays white */
.start-tile:hover, .start-tile:focus-visible {
  transform: translateY(-10px);
  background: var(--tile-strong);
  border-color: transparent;
}
.start-tile:hover::after { transform: scaleX(1); }
.start-tile:hover .tile-shape svg :is(circle, polygon, rect),
.start-tile:focus-visible .tile-shape svg :is(circle, polygon, rect) {
  fill: rgba(217, 217, 217, .2);
}
.start-tile .tile-shape svg :is(circle, polygon, rect) { transition: fill .45s var(--e); }
.start-tile .tile-shape { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
.start-tile .tile-shape svg { width: 44px; height: 44px; }
.start-tile .tile-label { font-family: var(--font-head); font-size: 1.375rem; font-weight: 500; }
.start-tile--ro { --tile-accent: var(--ro-accent); --tile-strong: var(--ro-strong); }
.start-tile--ar { --tile-accent: var(--ar-accent); --tile-strong: var(--ar-strong); }
.start-tile--in { --tile-accent: var(--in-accent); --tile-strong: var(--in-strong); }


.start-hint { text-align: center; font-size: .875rem; opacity: .7; padding-bottom: 48px; }

/* zoom overlay: the discipline shape itself grows from the tile's shape element */
.zoom-overlay {
  position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--zoom-color, var(--t-strong));
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .9s var(--e);
}

/* staged reveal on discipline pages after zoom entry */
.page-enter .stage-1, .page-enter .stage-2, .page-enter .stage-3 { opacity: 0; transform: translateY(14px); }
.page-enter.revealed .stage-1 { opacity: 1; transform: none; transition: opacity .6s var(--e) .4s, transform .6s var(--e) .4s; }
.page-enter.revealed .stage-2 { opacity: 1; transform: none; transition: opacity .6s var(--e) .62s, transform .6s var(--e) .62s; }
.page-enter.revealed .stage-3 { opacity: 1; transform: none; transition: opacity .6s var(--e) .82s, transform .6s var(--e) .82s; }
.page-enter.no-anim .stage-1, .page-enter.no-anim .stage-2, .page-enter.no-anim .stage-3 { transition: none; }

@media (max-width: 1279px) {
  .start-header nav { display: none; }
  .start-center h1 { font-size: 2.5rem; }
}
@media (max-width: 833px) {
  .start-tiles { flex-direction: column; align-items: center; gap: 20px; }
  .start-tile { width: 100%; max-width: 342px; height: 190px; }
  .start-center h1 { font-size: 2rem; }
  .start-center .start-sub { margin-bottom: 2.5rem; }
}

/* --------------------------------------------------------------------------
   17. Utilities & motion safety
   -------------------------------------------------------------------------- */
.align-center { text-align: center; }
.bg-accent-soft { background: color-mix(in srgb, var(--t-accent) 42%, var(--surface)); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .start-hero.zooming { transform: none; filter: none; }
  .zoom-overlay { display: none; }
  .page-enter .stage-1, .page-enter .stage-2, .page-enter .stage-3 { opacity: 1; transform: none; }
}
