/* =====================================================================
   Elementrix website
   Follows Elementrix_Brandkit_COMPLEET_v4_GECORRIGEERD (Huisstijl), tools/brand-test.mjs guards it:
   the official outlined logos, Navy, Blue, Off White, Cool Grey and Muted, Inter Display headings in
   sentence case with a blue second line, 12 px blue labels, buttons with a 4 px radius, thin lines.
   Exempt from the kit, at the owner's request: the 3D sculptures in the heroes.
   ===================================================================== */

/* ---------- Fonts (Inter and Inter Display, SIL Open Font License, self-hosted) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/Inter-Regular.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/Inter-Italic.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/Inter-Medium.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/Inter-SemiBold.woff2') format('woff2')}
@font-face{font-family:'Inter Display';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/InterDisplay-SemiBold.woff2') format('woff2')}
@font-face{font-family:'Inter Display';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/InterDisplay-Bold.woff2') format('woff2')}

/* ---------- Tokens ---------- */
:root{
  /* The palette of the brand kit. */
  --navy:#071A3D;
  --blue:#1557FF;
  --off-white:#F7F9FC;
  --cool-grey:#C8D3E3;
  --slate:#52627A;          /* "Muted" in the kit */
  /* What they are used for. The dark theme swaps these. */
  --ink:var(--navy);        /* text and filled buttons; white in the dark theme */
  --ink-inverse:#FFFFFF;    /* text on a fill of --ink */
  --copy:var(--navy);       /* running text */
  --muted:var(--slate);     /* secondary text, >= 4.5:1 on paper */
  --label:var(--blue);      /* small uppercase labels */
  --accent-text:var(--blue);/* blue as small text; Cool Grey in the dark theme, where blue is only 3.1:1 */
  --accent-large:var(--blue);/* the second line of a heading: large text, so 3:1 is enough */
  --paper:var(--off-white); /* page ground */
  --paper-2:#FFFFFF;        /* menu, form fields */
  --line:var(--cool-grey);  /* dividers */
  --line-strong:var(--cool-grey); /* vertical rules beside numbered blocks */
  --field-line:var(--slate);/* the edge of a form field, >= 3:1 on paper */
  --shape-pale:rgba(7,26,61,.05); /* quiet background shapes: the kit asks for 3-10% */
  --error:#B42318;          /* a status colour: the kit allows these beside the palette */
  --header-bg:var(--off-white);
  --radius:4px;
  --font:'Inter','Helvetica Neue',Arial,sans-serif;
  --display:'Inter Display','Inter','Helvetica Neue',Arial,sans-serif;
  --gutter:max(24px,env(safe-area-inset-left),env(safe-area-inset-right),calc((100vw - 1360px) / 2));
  /* A logo needs clear space of one square (X) on all sides. At 53 px high the descriptor is just 8 px, the kit's minimum,
     and X is 23.7 px: a row of 53 + 2 x 24 px. */
  --logo-h:53px;
  --row-h:101px;
  --bar-h:44px;           /* the switch between the two worlds */
  --header-h:calc(var(--row-h) + var(--bar-h));
  --sticky-h:var(--header-h); /* what stays on screen while scrolling */
  /* Type scale, eight steps: label 12, small 14, body 16-18, lead 18-20, sub-heading 20-24, h2, h1, and the door words. */
  --step-label:12px;
  --step-small:.875rem;
  --step-body:clamp(1rem,.96rem + .2vw,1.125rem);
  --step-lead:clamp(1.125rem,1rem + .3vw,1.25rem);
  --step-sub:clamp(1.25rem,1.1rem + .6vw,1.5rem);
  --step-h2:clamp(1.5rem,6.8vw,3.25rem);
  --step-h1:clamp(1.75rem,7.8vw,4.5rem);
}

/* Innovatie: the negative of the light layout. */
.theme-dark{
  --ink:#FFFFFF;
  --ink-inverse:var(--navy);
  --copy:var(--off-white);
  --muted:var(--cool-grey);
  --label:var(--cool-grey);
  --accent-text:var(--cool-grey);
  --paper:var(--navy);
  --paper-2:var(--navy);
  --line:rgba(200,211,227,.28);
  --line-strong:rgba(200,211,227,.5);
  --field-line:var(--cool-grey);
  --shape-pale:rgba(200,211,227,.08);
  --error:#FFA99F;
  --header-bg:var(--navy);
  color:var(--ink);
  color-scheme:dark;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
html,body{margin:0;min-height:100%;width:100%}
/* Dark pages: scrollbars and overscroll follow the page. */
html:has(body.theme-dark),html.theme-dark{background:var(--navy);color-scheme:dark}
body{font-family:var(--font);font-size:var(--step-body);line-height:1.55;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;font-kerning:normal;text-rendering:optimizeLegibility}
h1,h2,h3{font-family:var(--display);letter-spacing:-.035em;text-wrap:balance;hyphens:none}
p{text-wrap:pretty}
button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button,input,textarea,select{font:inherit}
button{color:inherit;cursor:pointer;border:0;background:none;padding:0}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.07em}
:focus-visible{outline:2px solid var(--accent-text);outline-offset:4px}
::selection{background:var(--blue);color:#fff}
[id]{scroll-margin-top:calc(var(--sticky-h) + 16px)}
img{max-width:100%}
.sr-only{position:absolute!important;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.skip-link{position:fixed;top:-100px;left:20px;z-index:1000;background:var(--ink);color:var(--ink-inverse);padding:16px;border-radius:var(--radius)}
.skip-link:focus{top:16px}

/* The official logos, inline. Navy parts follow currentColor (navy or white, as in the kit's colour and reverse files),
   the triangle stays blue. All lockups have the same proportions: 623.4375 x 112. */
.logo{display:block;flex-shrink:0;height:var(--logo-h);width:calc(var(--logo-h) * 5.56641)}
.logo--icon{display:none;width:var(--logo-h)}
.logo--narrow{display:none}
.shape{display:block;flex-shrink:0;width:28px;height:28px;color:var(--ink)}
.icon{display:block;flex-shrink:0;width:20px;height:20px}

/* ---------- Shared type and actions ---------- */
/* The label of the kit: 12 px, uppercase, tracking .15em. Blue on light, Cool Grey on navy. */
.panel-kicker,.breadcrumbs,.development-tag,.contact-label,.related h2,.footer-principles,.strip-list li,.chooser-word{font-family:var(--font);font-size:var(--step-label);font-weight:600;line-height:1.4;letter-spacing:.15em;text-transform:uppercase;color:var(--label)}
.panel-kicker{margin:0 0 24px}
.kicker-no{margin-right:.2em;font-weight:700}
.panel-title{font-weight:700;color:var(--ink)}
.panel-title em{font-style:normal;color:var(--accent-large)}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 28px;border-radius:var(--radius);font-size:16px;font-weight:600;line-height:1;white-space:nowrap;text-decoration:none!important;transition:background-color .2s,color .2s,transform .12s}
.pill:active,.primary-link:active{transform:translateY(1px)}
.pill--ink{background:var(--ink);color:var(--ink-inverse)}
.pill--ink:hover{background:var(--blue);color:#fff}

/* ---------- Header ---------- */
.site-header{position:sticky;z-index:50;top:var(--bar-h);background:var(--header-bg)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:var(--row-h);padding:0 var(--gutter)}
/* The switch between the two worlds, on every page: each side has its own colour, like the home page.
   The current world melts into the page, the other one stays visible as a door. */
.world-bar{position:sticky;z-index:51;top:0;display:grid;grid-template-columns:1fr 1fr;min-height:var(--bar-h)}
.world-tab{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--bar-h);padding:0 12px;font-size:var(--step-small);font-weight:600;text-align:center;transition:background-color .2s,color .2s}
.world-tab:hover{text-decoration:none}
.world-tab:focus-visible{outline-offset:-5px}
.world-tab .icon{width:16px;height:16px;transition:transform .2s}
.world-tab:hover .icon{transform:translateX(3px)}
.world-tab--light{background:var(--off-white);color:var(--navy);box-shadow:inset 0 -1px var(--cool-grey)}
.world-tab--dark{background:var(--navy);color:#FFFFFF}
.world-tab--light:hover{background:var(--cool-grey)}
.world-tab--dark:hover{background:var(--blue)}
.world-tab[aria-current]{box-shadow:none}
.world-tab[aria-current="page"]{cursor:default}
.world-tab[aria-current] .icon{display:none}
.world-tab[aria-current]::before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--blue)}
.world-tab--light[aria-current="page"]:hover{background:var(--off-white)}
.world-tab--dark[aria-current="page"]:hover{background:var(--navy)}
.brand{display:inline-flex;align-items:center;flex-shrink:0;min-width:44px;min-height:44px;color:var(--ink)}
.brand:hover{text-decoration:none}
.main-nav{display:flex;align-items:center;gap:24px;font-size:16px;font-weight:500}
.main-nav>a:not(.pill){position:relative;display:inline-flex;align-items:center;min-height:48px;color:var(--ink);white-space:nowrap}
.main-nav>a:not(.pill)::after{content:'';position:absolute;left:0;right:0;bottom:2px;height:3px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.main-nav>a:not(.pill):hover{text-decoration:none}
.main-nav>a:not(.pill):hover::after,.main-nav>a[aria-current="page"]::after{transform:scaleX(1)}
.main-nav>a[aria-current="page"]{font-weight:600}
.nav-divider{width:1px;height:36px;background:var(--line)}
.contact-nav{min-height:48px;padding:0 24px;font-size:16px}
.contact-nav[aria-current="page"]{background:var(--blue);color:#fff}
.mobile-actions{display:none}

/* ---------- Home: choose Taxaties or Innovatie ----------
   A true split screen: two equal columns at every width, together exactly one screen, without scrolling.
   The right column is the negative of the left one. Only the choice: a label, a word and the sculpture.
   --door-word: INNOVATIE (4.89em, the longer word) fills its column, unless the window is too low for that. */
.home{--header-h:var(--row-h);--door-pad:clamp(16px,3.6vw,72px);--door-bottom:clamp(12px,2.4svh,28px);--door-arrow:clamp(56px,3.2vw,88px);--door-gap:16px;--door-word:min(calc((50vw - 2 * var(--door-pad)) / 4.89),22svh);--door-label:12px;--door-label-h:calc(var(--door-label) * 1.4);--door-promise:clamp(15px,1.1vw,22px);--door-promise-gap:clamp(8px,1.2svh,14px);--door-promise-h:calc(var(--door-promise) * 1.3 * 2);--door-text-h:calc(var(--door-arrow) + var(--door-gap) + var(--door-word) * .9 + var(--door-promise-gap) + var(--door-promise-h));--chooser-foot-h:calc(44px + env(safe-area-inset-bottom))}
.chooser-header{position:absolute;top:0;left:0;right:0;background:none}
.chooser-header .header-row{padding-left:var(--door-pad);padding-right:var(--door-pad)}
.chooser-header .nav-divider{background:var(--line-strong)}
.chooser{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);height:calc(100vh - var(--chooser-foot-h));height:calc(100svh - var(--chooser-foot-h));min-height:280px}
/* "Vastgoed." and "Vooruitdenken." are the labels above the two door words, on the same line as the arrow. */
.chooser-title{display:contents;font-size:inherit;letter-spacing:normal}
.chooser-word{grid-row:1;z-index:2;align-self:end;margin-bottom:calc(var(--door-bottom) + var(--door-promise-gap) + var(--door-promise-h) + var(--door-word) * .9 + var(--door-gap) + (var(--door-arrow) - var(--door-label-h)) / 2);padding:0 var(--door-pad);font-size:var(--door-label);line-height:var(--door-label-h);pointer-events:none;animation:appear .8s ease both}
.chooser-word--left{grid-column:1}
.chooser-word--right{grid-column:2}
.door{position:relative;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;padding-top:var(--row-h);background:var(--paper);color:var(--ink)}
.door--taxaties{grid-column:1}
.door--innovation{grid-column:2}
.door-text{display:grid;grid-template-columns:minmax(0,1fr);padding:0 var(--door-pad) var(--door-bottom);animation:appear .8s ease both}
.door-title{grid-row:2;margin:var(--door-gap) 0 0;font-size:var(--door-word);font-weight:700;line-height:.9;text-transform:uppercase;white-space:nowrap}
.door-title a:hover{text-decoration:none}
.door-title a::after{content:'';position:absolute;inset:0;z-index:1}
.door-title a:focus-visible{outline:none}
.door-title a:focus-visible::after{outline:2px solid var(--accent-text);outline-offset:-8px}
/* The promise under each word reserves two lines in both doors, so the two halves stay level whatever wraps. */
.door-promise{grid-row:3;max-width:24ch;min-height:var(--door-promise-h);margin:var(--door-promise-gap) 0 0;font-size:var(--door-promise);font-weight:500;line-height:1.3;color:var(--ink);text-wrap:balance}
.door-arrow{grid-row:1;justify-self:end;display:flex;align-items:center;justify-content:center;width:var(--door-arrow);height:var(--door-arrow);border-radius:var(--radius);background:var(--ink);color:var(--ink-inverse);transition:background-color .2s,color .2s}
.door-arrow .icon{width:40%;height:40%}
.door:hover .door-arrow{background:var(--blue);color:#fff}
/* The sculpture takes the space that is left and stands on the word. Its box has the image's own ratio. */
.door-figure{position:relative;order:-1;flex:1 1 0;min-height:0;container-type:size}
.door-visual,.door-canvas{position:absolute;left:0;right:0;bottom:0;width:min(100cqw,150.26cqh,1022px);height:auto;margin:0 auto;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 8%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 8%);mask-composite:intersect}
.door-visual{transform-origin:50% 100%;transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.door:hover .door-visual{transform:scale(1.02)}
/* The live mark (assets/js/mark3d.js) takes the place of the still once its first frame is drawn. The still waits a moment,
   so it does not flash before the intro; without the script it still appears, and at once without JavaScript. */
.door-canvas{aspect-ratio:852/567;opacity:0;pointer-events:none;transition:opacity .5s ease}
.door-figure[data-mark3d] .door-visual{animation:appear .6s ease 1.6s both}
.door-figure.is-static .door-visual{animation:none}
.door-figure.is-live .door-visual{opacity:0;animation:none}
.door-figure.is-live .door-canvas{opacity:1}
@media (scripting:none){.door-figure[data-mark3d] .door-visual{animation:none}}
@keyframes appear{from{opacity:0}to{opacity:1}}
/* One small line under the columns, in their colours. */
.chooser-foot{display:grid;grid-template-columns:1fr 1fr;font-size:var(--step-small)}
.chooser-foot p{height:var(--chooser-foot-h);margin:0;padding:0 var(--door-pad);background:var(--paper);color:var(--muted);line-height:44px}
.chooser-foot a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);transition:color .2s}
.chooser-foot a:hover{color:var(--accent-text)}
/* Upright screens have height to spare: the sculpture and the word together sit in the middle of it. */
@media (max-aspect-ratio:1/1){
  .home{--door-bottom:max(16px,calc((100svh - var(--chooser-foot-h) - var(--row-h) - min(33.27vw,680px) - var(--door-text-h)) / 2))}
}

/* The four principles, as in the brand guide (world pages). */
.strip{border-bottom:1px solid var(--line)}
.strip+.subsection{border-top:0}
.strip-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none}
.strip-list li{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;min-height:72px}
.strip-list li+li::before{content:'/';position:absolute;left:0;top:50%;transform:translate(-50%,-50%);font-weight:400;letter-spacing:0;color:var(--muted)}

/* ---------- Content ---------- */
.panel-body{counter-reset:sub}
.panel-title{max-width:20ch;margin:0 0 28px;font-size:var(--step-h2);line-height:1.06}
.panel-lead{max-width:44ch;margin:0 0 36px;font-size:var(--step-lead);line-height:1.5}
.panel-copy{max-width:62ch;margin:0 0 .9em;line-height:1.6;color:var(--copy)}
.panel-copy strong{font-weight:600;color:var(--ink)}
.panel-copy a,.panel-footnote a,.faq a,.credits a,.steps a{text-decoration:underline;text-decoration-color:var(--accent-text);text-underline-offset:.2em;text-decoration-thickness:.08em}
/* A numbered sub-heading on the left, its text on the right. */
.subsection{counter-increment:sub;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:12px 56px;padding:36px 0;border-top:1px solid var(--line)}
.subsection .panel-sub{max-width:20ch;margin:0;font-size:var(--step-sub);line-height:1.2}
.subsection .panel-sub::before{content:counter(sub,decimal-leading-zero) ' /';display:block;margin-bottom:8px;font-family:var(--font);font-size:var(--step-small);font-weight:700;letter-spacing:0;color:var(--accent-text)}
.sub-body>:last-child{margin-bottom:0}
.panel-sub{margin:40px 0 12px;font-size:var(--step-sub);line-height:1.25;font-weight:600}
/* The quote's second line is blue, also on navy, so it keeps the large-text size of 24 px. */
.panel-quote{max-width:24ch;margin:64px 0;padding:0 0 0 24px;border-left:3px solid var(--blue);font-family:var(--display);font-size:clamp(1.5rem,1.1rem + 1.3vw,2.25rem);font-weight:600;line-height:1.15;letter-spacing:-.035em}
.panel-quote p{margin:0}
.panel-quote em{font-style:normal;color:var(--accent-large)}
.panel-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:36px}
.primary-link{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 24px;border-radius:var(--radius);background:var(--blue);color:#fff;font-size:16px;font-weight:600;text-decoration:none!important;transition:background-color .2s,transform .12s}
.primary-link:hover{background:var(--ink);color:var(--ink-inverse)}
.primary-link .icon{width:18px;height:18px}
.secondary-link .icon{width:16px;height:16px;color:var(--accent-text)}
.secondary-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:16px;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--blue);text-decoration-thickness:2px;text-underline-offset:.4em;transition:color .2s}
.secondary-link:hover{color:var(--accent-text)}
.panel-footnote{max-width:62ch;margin:28px 0 0;font-size:var(--step-small);line-height:1.55;color:var(--muted)}
.panel-figure{margin:4px 0 32px}
.panel-figure img{display:block;width:100%;height:auto;max-height:calc(100vh - var(--sticky-h) - 56px);max-height:calc(100svh - var(--sticky-h) - 56px);aspect-ratio:16/9;object-fit:cover;object-position:50% 40%}
.panel-figure figcaption{margin-top:12px;font-size:var(--step-small);line-height:1.5;color:var(--muted)}
/* Sculpture icons (tools/render-icons.mjs). Their floor is the colour of the page, so they need no frame.
   Beside a subsection: under the heading, in the empty left column; the text stays on the right. */
.subsection:has(>.sub-visual)>.panel-sub{grid-column:1;grid-row:1}
.subsection:has(>.sub-visual)>.sub-body{grid-column:2;grid-row:1/span 2}
.sub-visual{grid-column:1;grid-row:2;margin:12px 0 0}
.sub-visual img{display:block;width:min(100%,300px);height:auto}
/* Under a section title: across the full width, never taller than the window. */
.panel-band{margin:0 0 56px}
.panel-band img{display:block;width:100%;height:auto;max-height:calc(100svh - var(--sticky-h) - 56px);object-fit:contain}
.principles{display:grid;grid-template-columns:1fr 1fr;gap:44px 6%;margin:48px 0}
.principle{padding:2px 0 2px 28px;border-left:1px solid var(--line-strong)}
.principle .shape{margin-bottom:20px}
.principle h3{margin:0;font-size:var(--step-sub);line-height:1.1;font-weight:700}
.principle-sub{margin:8px 0 12px;font-weight:600}
.principle p{margin:0;font-size:16px;line-height:1.6;color:var(--copy)}
.principle p.principle-sub{color:var(--ink)}
.principle p+p{margin-top:.7em}
.steps{max-width:62ch;margin:0;padding:0;list-style:none}
.steps li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.steps li:first-child{padding-top:4px;border-top:0}
.step-number{padding-top:2px;font-size:var(--step-small);font-weight:700;color:var(--accent-text);font-variant-numeric:tabular-nums}
.step-number::after{content:' /'}
.steps h3{margin:0 0 4px;font-size:var(--step-lead);line-height:1.3;font-weight:600}
.steps p{margin:0;font-size:16px;line-height:1.6;color:var(--copy)}
.steps p+p{margin-top:.6em}
.person{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:12px 56px;align-items:start;margin:40px 0 0;padding:36px 0;border-top:1px solid var(--line)}
.person .panel-sub{margin-top:0;font-size:var(--step-sub);font-weight:700}
.person-role{margin:8px 0 16px;font-size:var(--step-small);color:var(--muted)}
.person .panel-copy{margin:0 0 .8em}
.signature{margin:24px 0 0;font-size:var(--step-sub);font-style:italic}
.lab-feature{margin:48px 0}
/* TrailTrace keeps its own name and is endorsed by Elementrix, as the brand guide asks. */
.endorsement{margin:-12px 0 16px;font-size:var(--step-small);color:var(--muted)}
.endorsement strong{font-weight:600;color:var(--ink)}
.development-tag{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;color:var(--accent-text)}
.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.contact-label{margin:0}
.contact-emails{display:flex;flex-wrap:wrap;gap:24px 56px;margin:16px 0 36px}
.contact-emails>div{display:flex;flex-direction:column;gap:4px;padding:4px 0 4px 24px;border-left:1px solid var(--line-strong)}
.contact-emails a{display:inline-flex;align-items:center;min-height:44px;font-family:var(--display);font-size:var(--step-sub);font-weight:600;color:var(--ink);transition:color .2s}
.contact-emails a:hover{color:var(--accent-text);text-decoration:none}
.copy-button{min-height:44px;padding:0;font-size:var(--step-small);color:var(--muted);text-align:left;text-decoration:underline;text-underline-offset:3px;transition:color .2s}
.copy-button:hover{color:var(--ink)}
.contact-form{margin-top:24px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:block;margin-bottom:16px;font-size:var(--step-small);font-weight:500}
.field span{display:block;margin-bottom:8px}
.field input,.field select,.field textarea{display:block;width:100%;padding:12px 16px;background:var(--paper-2);border:1px solid var(--field-line);border-radius:var(--radius);color:var(--ink);font-size:16px;font-weight:400;transition:border-color .2s}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--ink)}
.field input,.field select{height:52px}
.field textarea{min-height:128px;resize:vertical;line-height:1.5}
.field [aria-invalid="true"]{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
.form-bottom{display:flex;align-items:center;gap:24px}
.form-bottom p{max-width:34ch;margin:0;font-size:var(--step-small);line-height:1.5;color:var(--muted)}
.form-bottom .primary-link{white-space:nowrap;border:0;cursor:pointer}
.form-result{margin-top:16px;font-size:16px;line-height:1.55;color:var(--ink)}
.form-result[data-state="error"]{color:var(--error)}
.inline-link{padding:0;font-size:inherit;text-decoration:underline;text-underline-offset:3px}
.credits{max-width:62ch;margin:8px 0 0;padding-left:20px;font-size:var(--step-small);line-height:1.6;color:var(--copy)}
.toast{position:fixed;bottom:40px;left:50%;z-index:200;max-width:calc(100vw - 32px);padding:12px 24px;border-radius:var(--radius);background:var(--ink);color:var(--ink-inverse);font-size:var(--step-small);opacity:0;transform:translate(-50%,15px);transition:opacity .2s,transform .2s;pointer-events:none}
.toast.visible{opacity:1;transform:translate(-50%,0)}

/* Breinstand: two screens of the extension, the news box, the field only bots fill in, and the links after signing up. */
.screens{display:grid;grid-template-columns:repeat(2,minmax(0,320px));gap:24px;align-items:start;margin:32px 0 8px}
.screens figure{margin:0}
.screens img{display:block;width:100%;height:auto;border:1px solid var(--line-strong);border-radius:var(--radius)}
.screens figcaption{margin-top:12px;font-size:var(--step-small);line-height:1.5;color:var(--muted)}
.check{display:grid;grid-template-columns:44px minmax(0,1fr);gap:0 4px;align-items:center;margin:0 0 16px -12px;font-size:var(--step-small);line-height:1.5;color:var(--copy);cursor:pointer}
/* A 44 px tap area with a 20 px box in the kit's colours, drawn instead of the browser's own checkbox. */
.check input{position:relative;width:44px;height:44px;margin:0;appearance:none;-webkit-appearance:none;border:0;background:none;cursor:pointer}
.check input::before{content:'';position:absolute;left:12px;top:12px;width:20px;height:20px;box-sizing:border-box;border:1px solid var(--field-line);border-radius:var(--radius);background:var(--paper-2)}
.check input:checked::before{border-color:var(--blue);background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.check input:focus-visible{outline:none}
.check input:focus-visible::before{outline:2px solid var(--accent-text);outline-offset:2px}
/* Only bots fill this in: they read the HTML, not the styles. */
.hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden;visibility:hidden}
.form-result p{margin:0 0 12px}
.form-result:focus{outline:none}
.signup-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin:4px 0 16px}
.form-bottom .primary-link:disabled{opacity:.6;cursor:progress}

/* The Breinstand guide: one readable column, tables that scroll on a phone, code to copy. Inter only, as the kit asks. */
.guide{max-width:780px;padding:16px 0 72px}
.guide h1{margin:24px 0 24px;font-size:var(--step-h2);font-weight:700;line-height:1.06}
.guide h2{margin:56px 0 16px;padding-top:32px;border-top:1px solid var(--line);font-size:var(--step-sub);font-weight:700;line-height:1.25}
.guide p,.guide li{line-height:1.6;color:var(--copy)}
.guide p{margin:0 0 .9em}
.guide ol,.guide ul{margin:0 0 1em;padding-left:1.4em}
.guide li{margin:.5em 0}
.guide li>p{margin:.4em 0}
.guide strong{font-weight:600;color:var(--ink)}
.guide a{text-decoration:underline;text-decoration-color:var(--accent-text);text-underline-offset:.2em}
.guide code{padding:1px 4px;border-radius:var(--radius);background:var(--shape-pale);font-family:var(--font);font-size:.95em}
.guide .code{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin:12px 0 16px}
.guide pre{align-self:stretch;overflow-x:auto;margin:0;padding:16px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--shape-pale);font-family:var(--font);font-size:15px;line-height:1.5}
.guide pre code{padding:0;background:none}
.copy-code{min-height:44px;padding:0 16px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--paper);color:var(--ink);font-size:var(--step-small);font-weight:600}
.copy-code:hover{border-color:var(--ink)}
.guide .table-wrap{overflow-x:auto;margin:16px 0 24px}
.guide table{width:100%;min-width:520px;border-collapse:collapse;font-size:var(--step-small);line-height:1.5}
.guide th,.guide td{padding:10px 12px 10px 0;border-top:1px solid var(--line);text-align:left;vertical-align:top;color:var(--copy)}
.guide th{border-top:0;border-bottom:1px solid var(--line-strong);font-weight:600;color:var(--ink)}

/* ---------- Content pages ---------- */
.page-main{position:relative;padding:0 var(--gutter) 40px}
/* A pale triangle in the top corner, as on the brand guide pages. */
.page-main::before{content:'';position:absolute;top:0;right:0;width:clamp(96px,22vw,320px);aspect-ratio:1;background:var(--shape-pale);clip-path:polygon(0 0,100% 0,100% 100%);pointer-events:none}
.page-main>*{position:relative}
.breadcrumbs{margin:0;padding:36px 0 0}
.breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:0;padding:0;list-style:none}
.breadcrumbs li+li::before{content:'/';margin-right:8px;color:var(--muted)}
.breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink)}
.breadcrumbs a:hover{color:var(--accent-text);text-decoration:none}
body.page .panel-body{padding:56px 0 72px}
body.page .page-section+.page-section{border-top:1px solid var(--line)}
body.page .page-section+.page-section .panel-body{padding-top:96px}
body.page h1.panel-title{max-width:none;font-size:var(--step-h1);line-height:1.06}
body.page h2.panel-title{max-width:none;font-size:var(--step-h2)}
.faq{padding:96px 0 32px;border-top:1px solid var(--line)}
.faq h2{max-width:18ch;margin:0 0 36px;font-size:var(--step-h2);line-height:1.06;font-weight:700}
.faq-item{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:8px 56px;padding:24px 0;border-top:1px solid var(--line)}
.faq-item h3{margin:0;font-size:var(--step-lead);line-height:1.3;font-weight:600}
.faq-item p{max-width:62ch;margin:0;font-size:16px;line-height:1.6;color:var(--copy)}
.facts{display:grid;grid-template-columns:240px 1fr;gap:12px 24px;margin:24px 0;font-size:16px;line-height:1.5;font-style:normal}
.facts dt,.facts dd{margin:0}
.facts dt{color:var(--muted)}
.facts address{font-style:normal}
.related{padding:96px 0 32px;border-top:1px solid var(--line)}
.related h2{margin:0 0 32px}
.related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 8%;margin:0;padding:0;list-style:none}
.related-list a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px;min-height:44px;padding:4px 0 4px 28px;border-left:1px solid var(--line-strong);color:var(--ink)}
.related-list a::after{content:'→';grid-column:2;grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border:1.5px solid var(--ink);border-radius:var(--radius);font-size:18px;transition:background-color .2s,color .2s}
.related-list a:hover{text-decoration:none}
.related-list a:hover strong{color:var(--accent-text)}
.related-list a:hover::after{background:var(--ink);color:var(--ink-inverse)}
.related-list strong{font-family:var(--display);font-size:var(--step-lead);font-weight:600;transition:color .2s}
.related-list span{font-size:var(--step-small);line-height:1.5;color:var(--muted)}
.page-404 .panel-body{min-height:50vh}

/* A closing sentence set in bold reads as the quote of its section: the same block as .panel-quote. */
.panel-copy:has(>strong:only-child){max-width:36em;margin:56px 0 0;padding:0 0 0 24px;border-left:3px solid var(--blue)}
.panel-copy:has(>strong:only-child) strong{display:block;font-family:var(--display);font-size:clamp(1.25rem,1rem + .8vw,1.625rem);font-weight:600;line-height:1.25;letter-spacing:-.03em}
/* The four shapes of the mark as quiet section markers (the kit asks for 3-10% opacity): each section after the hero
   carries the shape of its principle in the empty corner beside its heading. */
body.world .page-section+.page-section::before{content:'';position:absolute;top:96px;right:0;width:clamp(64px,11vw,160px);aspect-ratio:1;background:var(--shape-pale);pointer-events:none}
body.world .page-section+.page-section>.panel-body{position:relative}
body.world #perspective::before,body.world #question::before{clip-path:polygon(0 0,0 100%,100% 100%)}
body.world #judgement::before{border-radius:0 0 0 100%}
body.world #practice::before{background:linear-gradient(90deg,var(--shape-pale) 0 20%,transparent 20% 40%,var(--shape-pale) 40% 60%,transparent 60% 80%,var(--shape-pale) 80%)}
/* A section with a sculpture band already carries its image: no second shape. */
body.world .page-section:has(.panel-band)::before{display:none}

/* Hero of Taxaties and Innovatie. */
body.page:not(.page-404) .page-section:first-of-type .panel-body{padding-top:28px}
body.page:not(.page-404) .page-section:first-of-type .panel-kicker{display:none}
.has-hero .page-main::before,.has-hero .breadcrumbs{display:none}
body.has-hero .page-section:first-of-type .panel-body{padding-top:0}
.world-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end}
.world-hero-text{position:relative;z-index:1;align-self:center;padding:clamp(12px,3.5svh,40px) 0 clamp(28px,5svh,56px)}
.world-hero .panel-lead{max-width:30em;margin-bottom:0;font-size:var(--step-lead);line-height:1.4}
.world-hero-more{max-width:34em;margin:16px 0 0;color:var(--copy)}
.world-hero-actions{margin-top:32px}
body.page .world-hero h1.panel-title{margin-bottom:24px;font-size:clamp(1.75rem,4.4vw,4rem)}
.world-visual{margin:0 calc(-1 * min(var(--gutter),72px)) 0 0;min-width:0}
.world-visual img{display:block;width:min(100%,960px,calc((100svh - var(--header-h) - 112px) * 1.5026));height:auto;margin-left:auto;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 18%,#000 92%,transparent)}

/* One primary action: the hero and the closing band have the button, sections have a text link. */
.world .panel-body>.panel-actions .primary-link{min-height:44px;padding:0;border-radius:0;background:none;color:var(--ink);text-decoration:underline!important;text-decoration-color:var(--blue)!important;text-decoration-thickness:2px!important;text-underline-offset:.4em}
.world .panel-body>.panel-actions .primary-link .icon{color:var(--accent-text)}
.world .panel-body>.panel-actions .primary-link:hover{background:none;color:var(--accent-text)}
body[data-page="over"] .panel-actions a[href^="over.html"]:not([href*="#"]){display:none}
/* Closing band on the pages of a world. */
.cta-band{padding:96px 0 48px;border-top:1px solid var(--line)}
.cta-band .panel-title{max-width:none;margin:0 0 28px;font-size:var(--step-h1);line-height:1.06}
.cta-text{max-width:34em;margin:0;font-size:var(--step-lead);line-height:1.5}
.cta-band .panel-actions{margin-top:28px}

/* Desktop: one vertical axis through every page. Headings across the full width, the lead on the left
   (it stays in view), the text on the right. */
@media (min-width:1024px){
  body.page .panel-body{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);column-gap:56px;align-items:start}
  body.page .panel-body>*{grid-column:2}
  body.page .panel-body>:is(.panel-kicker,.panel-title,.panel-band,.world-hero,.strip,.subsection,.person,.principles,.endorsement,.development-tag){grid-column:1/-1}
  body.page .panel-body>.panel-lead{position:sticky;top:calc(var(--sticky-h) + 28px);grid-column:1;grid-row:span 12;margin:0 0 36px;font-size:var(--step-lead)}
  /* A section with blocks across the full width: the lead must not run over them while scrolling. */
  body.page .panel-body:has(>:is(.subsection,.person,.principles))>.panel-lead{position:static}
  .cta-band{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);column-gap:56px}
  .cta-band>*{grid-column:2}
  .cta-band>:is(.panel-kicker,.panel-title){grid-column:1/-1}
}

/* Low desktop windows: the header scrolls away, only the world bar stays. */
@media (min-width:1024px) and (max-height:800px){
  :root{--sticky-h:var(--bar-h)}
  .site-header:not(.chooser-header){position:relative;top:auto}
}
/* Low windows: a smaller arrow, so the sculpture keeps its size. */
@media (max-height:560px){
  .home{--door-arrow:44px;--door-gap:8px}
}
@media (min-width:1024px) and (max-height:600px){
  .world-visual{align-self:start}
}
@media (min-width:1024px) and (max-height:720px){
  .world-hero-text{padding:12px 0 28px}
  .world-hero-actions{margin-top:20px}
  .world-hero-more{display:none}
}

/* ---------- Footer ---------- */
.site-footer{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px 48px;margin-top:48px;padding:56px var(--gutter) calc(28px + env(safe-area-inset-bottom));border-top:1px solid var(--line);font-size:var(--step-small);color:var(--muted)}
.site-footer p{margin:0}
.footer-main{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.brand--small{--logo-h:36px;margin-bottom:8px}
.footer-line{font-weight:600;color:var(--ink)}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;align-content:flex-start;gap:0 28px}
.footer-nav a,.footer-legal a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);transition:color .2s}
.footer-nav a:hover,.footer-legal a:hover{color:var(--accent-text)}
.footer-legal{display:flex;flex-wrap:wrap;align-items:center;gap:0 16px}
.footer-bottom{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;padding-top:12px;border-top:1px solid var(--line)}
.footer-principles span{margin:0 .4em}

/* ---------- Header compacting on smaller desktops ---------- */
@media (max-width:1250px){
  .main-nav{gap:20px;font-size:var(--step-small)}
}
@media (max-width:599px){
  .principles{grid-template-columns:1fr}
}

/* ---------- Small desktops, tablets and phones: the menu button instead of the full menu ----------
   From 1100 px the full menu fits on every page, Insights included (also on an iPad in landscape, 1180 px). */
@media (max-width:1099px){
  .main-nav{display:none}
  .chooser-header .mobile-contact{color:#FFFFFF}
  .chooser-header .page-menu summary{background:#FFFFFF;color:var(--navy)}
  .chooser-header .page-menu[open] summary{background:var(--blue);color:#FFFFFF}
  .mobile-actions{display:flex;align-items:center;gap:4px}
  .mobile-contact{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;font-size:16px;font-weight:600;color:var(--ink)}
  .page-menu{position:relative}
  .page-menu summary{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:var(--radius);background:var(--ink);color:var(--ink-inverse);font-size:16px;font-weight:600;list-style:none;cursor:pointer}
  .page-menu summary::-webkit-details-marker{display:none}
  .page-menu[open] summary{background:var(--blue);color:#fff}
  .page-menu ul{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:240px;margin:0;padding:8px 0;list-style:none;background:var(--paper-2);border:1px solid var(--line-strong);border-radius:var(--radius)}
  .page-menu ul a{display:flex;align-items:center;min-height:44px;padding:0 24px;font-size:16px;font-weight:500;color:var(--ink)}
  .page-menu ul a[aria-current="page"]{color:var(--accent-text);font-weight:600}
}

/* ---------- Tablets and phones: compact header with a menu ---------- */
@media (max-width:1023px){
  :root{--sticky-h:var(--bar-h)}
  .site-header:not(.chooser-header){position:relative;top:auto}
  .world-hero{grid-template-columns:1fr}
  body.page .world-hero h1.panel-title{font-size:var(--step-h1)}
  .world-hero-text{padding:0 0 28px}
  .world-visual{order:-1;margin:8px calc(-1 * var(--gutter)) 12px}
  .world-visual img{width:min(88%,520px,calc((100svh - var(--header-h)) * .42 * 1.5026));margin:0 auto;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
  .strip-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .strip-list li{justify-content:flex-start;min-height:64px;padding-left:4px}
  .strip-list li+li::before{display:none}
}

/* Too small for the descriptor (8 px at least): the compact logo, as the kit asks. It stays at least 180 px wide. */
@media (max-width:699px),(max-height:560px){
  :root{--logo-h:33px;--row-h:66px}
  .logo--wide{display:none}
  .logo--narrow{display:block}
}

/* Phones: still two columns. The arrow moves under the word, because the label needs the width. */
@media (max-width:699px){
  .home{--door-arrow:44px;--door-gap:12px;--door-promise:13px;--door-promise-gap:6px;--door-text-h:calc(22px + var(--door-word) * .9 + var(--door-promise-gap) + var(--door-promise-h) + var(--door-gap) + var(--door-arrow))}
  .chooser-header .mobile-contact{display:none}
  .chooser-word{margin-bottom:calc(var(--door-bottom) + var(--door-arrow) + var(--door-gap) + var(--door-promise-gap) + var(--door-promise-h) + var(--door-word) * .9 + 6px)}
  .door-text{padding-top:24px}
  .door-title{grid-row:1;margin:0}
  .door-promise{grid-row:2}
  .door-arrow{grid-row:3;justify-self:start;margin-top:var(--door-gap)}
  .chooser-foot{font-size:var(--step-label)}
}
/* The left column on the home page is too narrow for a full logo with its clear space: only the mark. */
@media (max-width:479px){
  .chooser-header .logo--compact{display:none}
  .chooser-header .logo--icon{display:block}
}

/* ---------- Narrow screens ---------- */
@media (max-width:900px){
  body.world .page-section+.page-section::before{top:64px}
  body.page .panel-body{padding:40px 0 48px}
  body.page .page-section+.page-section .panel-body{padding-top:64px}
  .breadcrumbs{padding-top:24px}
  .subsection,.faq-item{grid-template-columns:1fr;gap:12px}
  .subsection{padding:28px 0}
  /* One column: the sculpture follows the text, so it never interrupts the reading. */
  .subsection:has(>.sub-visual)>:is(.panel-sub,.sub-body),.sub-visual{grid-column:auto;grid-row:auto}
  .sub-visual{order:1;margin:4px 0 0}
  .sub-visual img{width:min(64%,260px);margin:0 auto}
  .panel-band{margin:0 calc(-1 * var(--gutter)) 36px}
  .faq{padding:64px 0 16px}
  .related{padding:64px 0 16px}
  .related-list{grid-template-columns:1fr}
  .principles{grid-template-columns:1fr}
  .person{grid-template-columns:1fr;gap:24px}
  .facts{grid-template-columns:1fr;gap:2px}
  .facts dd{margin-bottom:8px}
  .form-row{grid-template-columns:1fr;gap:0}
  .form-bottom{flex-direction:column;align-items:flex-start;gap:12px}
  .toast{bottom:24px}
  .site-footer{grid-template-columns:1fr;gap:20px;padding-top:44px}
  .footer-nav{justify-content:flex-start;gap:0 24px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (max-width:599px){
  .screens{grid-template-columns:minmax(0,320px)}
  .mobile-contact{padding:0 8px}
  .page-menu summary{padding:0 16px}
  .panel-kicker{margin-bottom:16px}
  .breadcrumbs li:first-child,.breadcrumbs li:nth-child(2)::before{display:none}
  .principle{padding-left:20px}
  .related-list a{padding-left:20px}
  .contact-emails>div{padding-left:16px}
}
@media (max-width:379px){
  .mobile-contact{display:none}
}
@media (max-width:359px){
  .strip-list li{gap:12px}
  /* The longest label must fit its column. The kit allows +8% to +18%. */
  .chooser-word{letter-spacing:.1em}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{
  .site-header,.page-menu,.world-bar{display:none}
}
