/* Bral Projects · homepage v6
   Neue Montreal overal · donkere basis, merkelement (onderkom van de B) in rood
   12 kol op 1440 (64 / 80 / 32) · 8pt · Osmo ease · titels -1%, tekst 0 */

@font-face { font-family: "Montreal"; src: url("fonts/NeueMontreal-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montreal"; src: url("fonts/NeueMontreal-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f2f1ee;
  --white: #ffffff;
  --ink: #161616;
  --night: #212120;
  --mute: #6b6b66;
  --line: rgba(22, 22, 22, .14);
  --red: #e20514;
  --radius: 4px;
  --cut: 16px;

  --px: clamp(0.75px, calc(100vw / 1440), 1.25px);
  --cols: 12;
  --margin: calc(64 * var(--px));
  --gutter: calc(32 * var(--px));
  --col: calc((100vw - 2 * var(--margin) - (var(--cols) - 1) * var(--gutter)) / var(--cols));

  --s-1: calc(8 * var(--px));  --s-2: calc(16 * var(--px)); --s-3: calc(24 * var(--px));
  --s-4: calc(32 * var(--px)); --s-5: calc(40 * var(--px)); --s-6: calc(48 * var(--px));
  --s-8: calc(64 * var(--px)); --s-10: calc(80 * var(--px)); --s-12: calc(96 * var(--px));
  --s-16: calc(128 * var(--px)); --s-20: calc(160 * var(--px)); --s-24: calc(192 * var(--px));

  --h1: calc(112 * var(--px)); --h1-lh: calc(112 * var(--px));
  --h2: calc(64 * var(--px));  --h2-lh: calc(72 * var(--px));
  --h3: calc(40 * var(--px));  --h3-lh: calc(48 * var(--px));
  --h4: calc(28 * var(--px));  --h4-lh: calc(32 * var(--px));
  --h5: calc(20 * var(--px));  --h5-lh: calc(24 * var(--px));
  --h6: 16px; --h6-lh: 24px;
  --p-xl: calc(40 * var(--px)); --p-xl-lh: calc(48 * var(--px));
  --p-lg: calc(22 * var(--px)); --p-lg-lh: calc(32 * var(--px));
  --p: 16px; --p-lh: 24px;
  --label: 14px; --label-lh: 24px;

  --ease: cubic-bezier(0.625, 0.05, 0, 1);
  --header-h: calc(112 * var(--px));
  --section: var(--s-24);
  --head-gap: var(--s-16);
}
@media (max-width: 1023px) {
  :root { --px: 1px; --cols: 8; --margin: 40px; --gutter: 24px;
    --h1: 80px; --h1-lh: 80px; --h2: 48px; --h2-lh: 56px; --h3: 32px; --h3-lh: 40px;
    --p-xl: 32px; --p-xl-lh: 40px; --p-lg: 20px; --p-lg-lh: 32px; --header-h: 96px; --section: 128px; --head-gap: 80px; }
}
@media (max-width: 639px) {
  :root { --cols: 4; --margin: 20px; --gutter: 16px;
    --h1: 48px; --h1-lh: 56px; --h2: 36px; --h2-lh: 40px; --h3: 28px; --h3-lh: 32px; --h4: 24px; --h4-lh: 32px;
    --p-xl: 24px; --p-xl-lh: 32px; --p-lg: 18px; --p-lg-lh: 24px; --header-h: 80px; --section: 96px; --head-gap: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "Montreal", system-ui, sans-serif; font-size: var(--p); line-height: var(--p-lh);
  -webkit-font-smoothing: antialiased; letter-spacing: 0; font-kerning: normal;
  hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); padding-inline: var(--margin); }

/* donkere secties */
.is-dark { background: var(--night); color: var(--white); --mute: #a3a29c; --line: rgba(255, 255, 255, .16); }
.is-dark + .is-dark { margin-top: -1px; }

/* typografie: alles Neue Montreal, titels Medium in zinvorm */
.h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 500; }
.h1, .h2, .h3, .h4 { letter-spacing: -0.01em; }
.h1 { font-size: var(--h1); line-height: var(--h1-lh); }
.h2 { font-size: var(--h2); line-height: var(--h2-lh); }
.h3 { font-size: var(--h3); line-height: var(--h3-lh); }
.h4 { font-size: var(--h4); line-height: var(--h4-lh); }
.h5 { font-size: var(--h5); line-height: var(--h5-lh); }
.h6 { font-size: var(--h6); line-height: var(--h6-lh); }
.p-xl { font-size: var(--p-xl); line-height: var(--p-xl-lh); letter-spacing: -0.01em; }
.p-lg { font-size: var(--p-lg); line-height: var(--p-lg-lh); }
.p { font-size: var(--p); line-height: var(--p-lh); }
.label { font-weight: 500; font-size: var(--label); line-height: var(--label-lh); }
.c-mute { color: var(--mute); }

/* label met mini-merkelement ervoor */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 55%, 55% 100%, 0 100%); }
.side { grid-column: 1 / 4; align-self: start; padding-top: calc((var(--h2-lh) - var(--label-lh)) / 2); }

/* knop: hoek rechtsonder afgeschuind, zoals het merkelement */
.btn {
  position: relative; display: inline-flex; align-items: center; height: 56px; padding: 0 36px 0 28px; overflow: hidden; isolation: isolate;
  background: var(--red); color: #fff; font-weight: 500; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.btn span { position: relative; z-index: 1; transition: color .5s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.btn:hover::after { transform: scaleX(1); }
.is-dark .btn::after { background: var(--white); }
.is-dark .btn:hover span { color: var(--ink); }
.btn--sm { height: 44px; padding: 0 28px 0 20px; --cut: 12px; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light::after { background: var(--ink); }
.btn--light:hover span { color: #fff; }

.link { position: relative; display: inline-block; font-weight: 500; padding-bottom: 2px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; }
.link:hover::after { animation: line .9s var(--ease); }
@keyframes line { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* lijst met mini-merkelement */
.list li { position: relative; padding: 8px 0 8px 24px; }
.list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--red); }

/* geen hoerenjongen */
p, li, figcaption { text-wrap: pretty; }

/* lijn-iconen */
.icon { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.icon .accent { stroke: var(--red); }

/* header */
.header { position: absolute; inset: 0 0 auto; z-index: 10; height: var(--header-h); color: var(--white); }
.header__in { height: 100%; align-items: center; }
.logo { grid-column: 1 / 4; justify-self: start; display: block; line-height: 0; }
.logo svg { height: 56px; width: calc(56px * 274.47 / 133.31); fill: currentColor; }
.nav { grid-column: 4 / 11; display: flex; justify-content: flex-end; gap: var(--s-4); font-weight: 500; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header .btn { grid-column: 11 / 13; justify-self: end; }
.header .btn::after { background: var(--white); }
.header .btn:hover span { color: var(--ink); }

/* HERO: foto over de volle breedte, merkelement snijdt rechtsonder in */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.7) 0%, rgba(20,20,20,.45) 35%, rgba(20,20,20,.85) 100%); }
.hero__el { position: absolute; right: 0; bottom: 0; width: calc(var(--col) * 8 + var(--gutter) * 7 + var(--margin)); height: auto; aspect-ratio: 74.99 / 66.66; fill: url(#elFade); }
.hero__in { position: relative; width: 100%; padding-bottom: var(--s-10); row-gap: var(--s-4); }
.hero__label, .hero__title, .hero__aside { grid-column: 1 / 8; }
.hero__aside { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); max-width: 30em; }

/* WIE WE ZIJN */
.about { padding-block: var(--section) calc(var(--section) / 2); }
.about__label { grid-column: 1 / 4; align-self: start; padding-top: calc((var(--p-xl-lh) - var(--label-lh)) / 2); }
.about__text { grid-column: 4 / 12; }

/* DIENSTEN */
.services { padding-block: calc(var(--section) / 2) var(--section); }
.services__head { margin-bottom: var(--head-gap); }
.services__band { padding-inline: var(--margin); margin-bottom: var(--section); }
.services__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #2c2c2a; }
.services__media img { width: 100%; height: 130%; object-fit: cover; }
.services__head .h2 { grid-column: 4 / -1; }
.services__list { grid-template-rows: repeat(4, auto); }
.service { grid-column: 1 / 7; grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: var(--s-2); justify-items: start; }
.service--low { grid-column: 8 / 13; }
.service__media { align-self: end; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #2c2c2a; margin-bottom: var(--s-2); }
.service__media img { width: 100%; height: 115%; object-fit: cover; }
.service .h3 { margin-bottom: 0; }
.service .p-lg { margin-bottom: var(--s-1); }

/* BEELD-ONDERBREKING: element in de achtergrondkleur bijt in de foto */
.breaker { position: relative; height: 72vh; min-height: 420px; overflow: hidden; }
.breaker__media { position: absolute; inset: 0; }
.breaker__media img { width: 100%; height: 120%; object-fit: cover; }
.breaker__el { position: absolute; left: 0; top: 0; width: calc(var(--col) * 8 + var(--gutter) * 7 + var(--margin)); aspect-ratio: 74.99 / 66.66; fill: url(#elFade); transform: rotate(180deg); }

/* MEERWAARDE */
.value { padding-block: var(--section); }
.value__head { grid-column: 4 / -1; display: flex; flex-direction: column; gap: var(--s-4); }
.value__head .p-lg { max-width: 30em; }
.value__list { grid-column: 4 / -1; display: grid; grid-template-columns: subgrid; margin-top: var(--head-gap); row-gap: var(--s-10); }
.value__item { grid-column: span 3; display: flex; flex-direction: column; gap: var(--s-2); }
.value__item .icon { margin-bottom: var(--s-1); }
.value__item > div { display: flex; flex-direction: column; gap: var(--s-1); }

/* WERKWIJZE */
.steps { padding-block: var(--section); background: var(--white); }
.steps__head { text-align: center; justify-items: center; row-gap: var(--s-3); }
.steps__head > * { grid-column: 3 / 11; }
.steps__head .p-lg { grid-column: 4 / 10; }
.steps__head .h2 { grid-column: 1 / -1; }
.steps__body { margin-top: var(--head-gap); }
.steps__list { grid-column: 1 / 6; }
.step { display: flex; flex-direction: column; gap: var(--s-2); }
.step + .step { margin-top: var(--s-10); }
.step .list { max-width: 32em; }
.step__media { display: none; }
.steps__media { grid-column: 7 / 13; position: sticky; top: calc(50vh - var(--col) * 3 - var(--gutter) * 2.5); align-self: start; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #e6e4df; }
.steps__img { position: absolute; inset: 0; visibility: hidden; }
.steps__img.is-active { visibility: visible; z-index: 1; }
.steps__img img { width: 100%; height: 100%; object-fit: cover; }
html.motion .step { min-height: 56vh; justify-content: center; }
html.motion .step + .step { margin-top: 0; }
html.motion .steps__img { visibility: visible; }

/* BEHEER & ONDERHOUD */
.care { padding-block: var(--section); }
.care__head { row-gap: var(--s-4); }
.care__title { display: contents; }
.care__title .h2 { grid-column: 4 / -1; }
.care__intro { grid-column: 4 / 11; }
.care__band { padding-inline: var(--margin); margin-block: var(--head-gap); }
.care__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #2c2c2a; }
.care__media img { width: 100%; height: 130%; object-fit: cover; }
.care__cols { grid-template-rows: repeat(3, auto); row-gap: var(--s-12); }
.care__col { grid-column: 2 / 6; grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: var(--s-2); align-content: start; }

.care__col ~ .care__col { grid-column: 8 / 12; }
.care__rule { grid-column: 6 / 8; grid-row: 1 / span 3; justify-self: center; width: 1px; background: var(--line); }
.care__col .list { margin-top: var(--s-1); }

/* VOOR WIE */
.who { padding-block: var(--section); }
.who__head { margin-bottom: var(--head-gap); row-gap: var(--s-4); }
.who__head .h2 { grid-column: 4 / -1; }
.who__intro { grid-column: 4 / 11; }
.who__list { row-gap: var(--s-16); }
.who__item { grid-column: span 4; display: flex; flex-direction: column; gap: var(--s-2); }
.who__item .icon { margin-bottom: var(--s-1); }
.who__item .p { max-width: 26em; }

/* REALISATIES */
.work { padding-block: var(--section); }
.work__head { align-items: end; margin-bottom: var(--head-gap); }
.work__head .h2 { grid-column: 4 / 10; }
.work__more { grid-column: 10 / 13; justify-self: end; }
.work__list { row-gap: var(--s-16); align-items: start; }
.work__item { display: flex; flex-direction: column; gap: var(--s-2); }
.work__item--a { grid-column: 1 / 8; }
.work__item--b { grid-column: 9 / 13; margin-top: var(--s-20); }
.work__item--c { grid-column: 2 / 6; }
.work__item--d { grid-column: 7 / 13; margin-top: var(--s-10); }
.work__img { overflow: hidden; border-radius: var(--radius); background: #2c2c2a; aspect-ratio: 4 / 3; }
.work__item--b .work__img, .work__item--c .work__img { aspect-ratio: 4 / 5; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work__item:hover .work__img img { transform: scale(1.04); }
.work__item figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px var(--s-2); }
.work__item figcaption .h5 { white-space: nowrap; }
.work__item figcaption .label { color: var(--mute); }

/* CTA: rood vlak */
.cta { background: var(--red); color: var(--white); }
.cta__in { padding-block: var(--section); row-gap: var(--head-gap); align-items: end; }
.cta__title { grid-column: 1 / -1; }
.cta__portrait { grid-column: 1 / 4; align-self: stretch; position: relative; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.12); }
.cta__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.cta__body { grid-column: 8 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.cta__person { display: flex; flex-direction: column; gap: 4px; }
.cta__person .label { opacity: .75; }
.cta__person a:hover { text-decoration: underline; }

/* FOOTER */
.footer { position: relative; overflow: hidden; }
.footer__mark { position: absolute; left: 0; top: 0; height: 100%; width: auto; aspect-ratio: 108.32 / 133.31; fill: rgba(255, 255, 255, .05); pointer-events: none; }
.footer__top { position: relative; padding-block: var(--section) var(--s-20); align-items: center; }
.footer__side { grid-column: 1 / 4; display: flex; flex-direction: column; gap: var(--s-1); }
.footer__side--end { grid-column: 10 / 13; align-items: flex-end; text-align: right; }
.footer__side a:hover { color: var(--red); }
.footer__nav { grid-column: 4 / 10; display: flex; flex-direction: column; align-items: center; gap: var(--s-1); }
.footer__nav .h2 { transition: color .4s var(--ease); }
.footer__nav a:hover { color: var(--red); }
.footer__bottom { position: relative; padding-block: var(--s-4); border-top: 1px solid var(--line); align-items: center; }
.footer__bottom .label { grid-column: 1 / 6; }
.footer__logo { grid-column: 6 / 8; justify-self: center; }
.footer__logo svg { height: 40px; width: calc(40px * 108.32 / 133.31); }
.made-by { grid-column: 12 / 13; justify-self: end; }
.is-dark .made-by img { filter: invert(1); }

/* grid-overlay (toets G) */
.grid-overlay { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: none; }
.grid-overlay .grid { height: 100%; }
.grid-overlay i { background: rgba(226, 5, 20, .06); border-inline: 1px solid rgba(226, 5, 20, .2); }
html.show-grid .grid-overlay { display: block; }

/* SplitText-maskers: ruimte boven de regel zodat accenten (Ö, É) niet worden afgesneden */
[data-split] > div { padding-top: .12em; margin-top: -.12em; padding-bottom: .08em; margin-bottom: -.08em; }

/* TABLET */
@media (max-width: 1023px) {
  .nav { display: none; }
  .logo { grid-column: 1 / 5; }
  .logo svg { height: 48px; width: calc(48px * 274.47 / 133.31); }
  .header .btn { grid-column: 5 / 9; }
  .side { grid-column: 1 / -1; padding-top: 0; margin-bottom: 8px; }
  .hero__label, .hero__title, .hero__aside { grid-column: 1 / -1; }
  .hero__el { width: 80vw; }
  .about__label, .about__text { grid-column: 1 / -1; }
  .about__label { padding-top: 0; margin-bottom: 24px; }
  .services__head .h2 { grid-column: 1 / -1; }
  .services__list { grid-template-rows: none; }
  .service, .service--low { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; align-items: flex-start; }
  .service + .service { margin-top: var(--head-gap); }
  .service__media { aspect-ratio: 4 / 3; }
  .breaker__el { width: 80vw; }
  .value__head, .value__list { grid-column: 1 / -1; }
  .value__list { grid-template-columns: 1fr; }
  .value__item { grid-column: 1 / -1; }
  .steps__head > *, .steps__head .p-lg { grid-column: 1 / -1; }
  .steps__list { grid-column: 1 / -1; }
  .steps__media { display: none; }
  .step__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); margin-bottom: var(--s-2); }
  .step__media img { width: 100%; height: 100%; object-fit: cover; }
  html.motion .step { min-height: 0; }
  html.motion .step + .step { margin-top: var(--head-gap); }
  .care__title .h2, .care__intro, .care__col, .care__col ~ .care__col { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; }
  .care__rule { display: none; }
  .care__cols { grid-template-rows: none; }
  .care__media, .services__media { aspect-ratio: 4 / 3; }
  .who__head .h2, .who__intro { grid-column: 1 / -1; }
  .work__head .h2 { grid-column: 1 / -1; }
  .work__more { grid-column: 1 / -1; justify-self: start; margin-top: 16px; }
  .work__item--a, .work__item--b, .work__item--c, .work__item--d { grid-column: span 4; margin-top: 0; }
  .work__img, .work__item--b .work__img, .work__item--c .work__img { aspect-ratio: 4 / 3; }
  .cta__title, .cta__body { grid-column: 1 / -1; }
  .cta__portrait { grid-column: 1 / 4; align-self: start; aspect-ratio: 3 / 4; }
  .footer__side, .footer__side--end { grid-column: 1 / -1; align-items: flex-start; text-align: left; margin-bottom: 24px; }
  .footer__nav { grid-column: 1 / -1; order: -1; align-items: flex-start; margin-bottom: 64px; }
  .footer__bottom .label { grid-column: 1 / -1; order: 2; margin-top: 16px; }
  .footer__logo { grid-column: 1 / 5; justify-self: start; }
  .made-by { grid-column: 5 / 9; }
}
@media (max-width: 639px) {
  .logo { grid-column: 1 / 3; }
  .logo svg { height: 40px; width: calc(40px * 274.47 / 133.31); }
  .header .btn { grid-column: 3 / 5; }
  .hero__el { width: 100vw; }
  .who__item, .work__item--a, .work__item--b, .work__item--c, .work__item--d { grid-column: 1 / -1; }
  .cta__portrait { grid-column: 1 / 3; }
  .footer__logo { grid-column: 1 / 3; }
  .made-by { grid-column: 3 / 5; }
}
