@font-face {
  font-family: Montserrat;
  src: url("assets/brand/montserrat.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("assets/brand/roboto.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --paper: #f5f5eb;
  --ink: #17211a;
  --green: #1d7359;
  --lime: #d0f027;
  --line: #d5d9c9;
  --gutter: clamp(22px, 5vw, 88px);
  --header: 74px;
  --stage: calc(100svh - var(--header));
  --route-height: 75px;
  color: var(--ink);
  background: var(--paper);
  font-family: Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.film a:focus-visible, .contact a:focus-visible { outline-color: var(--lime); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--header); }

.skip {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 12px;
  padding: 12px;
  color: var(--paper);
  background: var(--green);
  transform: translateY(-150%);
}

.skip:focus { transform: none; }

.header {
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  padding-right: clamp(16px, 3vw, 52px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  place-items: center;
  width: clamp(148px, 15.8vw, 230px);
  height: 100%;
  overflow: hidden;
  padding-right: 16px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}

.brand img { width: 156px; max-width: 93%; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(23px, 3.5vw, 62px); }
.main-nav a { display: grid; place-items: center; min-height: 44px; font-weight: 600; }
.main-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: fit-content;
  min-height: 47px;
  padding: 0 20px;
  background: var(--green);
  color: white;
  font-weight: 600;
  font-size: 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color 180ms ease, color 180ms ease;
}

.button:hover { background: #14523f; }
.button:focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
.button span[aria-hidden] { font-size: 18px; font-weight: 400; }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { color: var(--ink); background: #ecff91; }
.header-cta { justify-self: end; }
.contact-short { display: none; }

.film { background: #101a14; color: white; }
.stage { display: none; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 440px; }
.chapter:nth-of-type(even) { background: #19251c; }
.chapter-still { width: 100%; height: 100%; object-fit: cover; }
.chapter-copy { padding: clamp(32px, 5vw, 80px); }
.chapter-copy em { color: var(--lime); font-style: normal; }

.film-ready .stage {
  display: block;
  position: sticky;
  z-index: 1;
  top: var(--header);
  height: var(--stage);
  isolation: isolate;
  overflow: hidden;
}

.film-ready .chapter {
  display: block;
  min-height: 0;
  height: var(--runway, 112svh);
  background: transparent;
}

.film-ready #rit {
  --runway: 127svh;
  margin-top: calc(-1 * var(--stage));
}
.film-ready #controlekamer { --runway: 141svh; }
.film-ready .chapter:last-child { height: calc(var(--stage) + 112svh); }
.film-ready .chapter-still { display: none; }

.stage-still, .screen, .shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-still { object-fit: cover; object-position: 50% 48%; }
.screen { opacity: 0; }
.screen.has-frame { opacity: 1; }

.shade { pointer-events: none; }
.shade::before, .shade::after { content: ""; position: absolute; inset: 0; }

.film-meta {
  position: absolute;
  inset: 30px var(--gutter) auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #f7f8eb;
  font: 700 10px / 1.4 Montserrat, sans-serif;
  letter-spacing: .17em;
  text-shadow: 0 1px 6px #000;
}

.film-meta span:first-child, .section-marker { display: flex; align-items: center; gap: 10px; }
.film-meta i, .section-marker i { width: 14px; height: 2px; background: var(--lime); }
.film-meta b { margin: 0 .3em; color: var(--lime); }
.film-illustration, [data-active="5"] .film-operation { display: none; }
[data-active="5"] .film-illustration { display: inline; }

.copy-deck {
  position: absolute;
  inset: 60px var(--gutter) calc(var(--route-height) + clamp(24px, 5vh, 70px));
  display: grid;
  justify-items: start;
  align-items: end;
  pointer-events: none;
}

.film-ready .chapter-copy {
  grid-area: 1 / 1;
  width: min(100%, 810px);
  padding: 0;
  animation: enter 230ms ease both;
}

.film-ready .hero-copy { justify-self: end; width: min(100%, 690px); }
.shade::after {
  opacity: var(--hero-shade, 1);
  background: linear-gradient(90deg, #0a140d05 10%, #0b170d19 29%, #0a120cc0 64%, #081009e6 100%),
    linear-gradient(0deg, #080f0acc, transparent 45%),
    linear-gradient(180deg, #0a140d6b, transparent 24%);
}

.shade::before {
  opacity: calc(1 - var(--hero-shade, 1));
  background: linear-gradient(90deg, #08130ddc, #08130da6 24%, #08130d18 64%, #08130d15),
    linear-gradient(0deg, #0a160ee8, transparent 64%),
    linear-gradient(180deg, #07110b7a, transparent 26%);
}

.film-ready .chapter-copy a { pointer-events: auto; }
@keyframes enter { from { opacity: 0; } to { opacity: 1; } }

.eyebrow, .section-marker {
  font: 700 11px / 1.4 Montserrat, sans-serif;
  letter-spacing: .15em;
}

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.eyebrow span { color: var(--lime); padding-right: 10px; border-right: 1px solid #d0f02787; }
h1, h2 { font-family: Montserrat, Arial, sans-serif; font-weight: 800; letter-spacing: -.072em; line-height: .99; }
h1 { font-size: clamp(48px, 6.05vw, 108px); }
.chapter h2, .copy-deck h2 { font-size: clamp(42px, 5.7vw, 94px); }
.intro { max-width: 470px; margin-top: 21px; font-size: clamp(16px, 1.36vw, 22px); line-height: 1.5; color: #f2f4eb; text-shadow: 0 1px 4px #0008; }
.hero-actions { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 25px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--lime); }
.chapter-copy > .text-link { margin-top: 12px; }

.route {
  position: absolute;
  inset: auto var(--gutter) 0;
  min-height: var(--route-height);
  display: grid;
  grid-template-columns: minmax(154px, 1fr) minmax(120px, 2.5fr) auto;
  align-items: center;
  gap: clamp(16px, 3.7vw, 60px);
  border-top: 1px solid #edf5df65;
}

.route-caption { display: flex; align-items: center; gap: 13px; }
.route-number { white-space: nowrap; color: var(--lime); font-family: Montserrat, sans-serif; font-weight: 800; font-variant-numeric: tabular-nums; }
.route-number b { color: #edf1e6; font-size: .75em; }
.route-name { font-size: 13px; font-weight: 600; }
.route-stops { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.route-stops a { display: flex; align-items: end; position: relative; min-height: 44px; padding-bottom: 6px; font-size: 10px; font-weight: 600; color: #e0e7d8; }
.route-stops a::before, .route-stops a::after { content: ""; position: absolute; inset: 14px 0 auto; height: 2px; background: #eff3e461; }
.route-stops a::after { width: var(--fill, 0%); background: var(--lime); }
.route-stops a[aria-current], .route-stops a:hover { color: var(--lime); }
.route-stops a:hover::before { background: white; }
.route-next { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #e5ebd481; font-size: 24px; line-height: 1; }
.route-next:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }

.wrap { padding-inline: var(--gutter); }
.services { padding-block: clamp(64px, 10vw, 152px); }
.section-marker { margin-bottom: clamp(20px, 3vw, 40px); }
.services .section-marker { color: var(--green); }
.services .section-marker i { background: var(--green); }
.services-layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: clamp(24px, 6vw, 110px); }
.services h2, .contact h2 { font-size: clamp(38px, 5.1vw, 84px); }
.services-layout > div > p { max-width: 360px; margin-top: 20px; line-height: 1.55; }
.service-list { border-bottom: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(12px, 2vw, 30px); align-items: center; padding: 20px 4px; border-top: 1px solid var(--line); }
.service-list a:hover { color: var(--green); }
.service-list span, .service-list b { color: var(--green); font-family: Montserrat, sans-serif; font-size: 13px; }
.service-list h3 { font-family: Montserrat, sans-serif; font-size: clamp(16px, 2vw, 24px); font-weight: 700; letter-spacing: -.04em; }
.service-list p { margin-top: 4px; color: #475649; line-height: 1.45; }
.contact { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding-block: clamp(52px, 8vw, 120px); color: var(--paper); background: #103d2e; }
.contact .section-marker { color: var(--lime); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-block: 26px; font-size: 14px; font-weight: 600; }

.editorial-image { position: relative; margin: 0; background: var(--ink); }
.editorial-image img { width: 100%; height: auto; }
.editorial-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 7px 11px;
  color: var(--paper);
  background: #17211aed;
  font-size: 11px;
}

.service-image { margin-top: 28px; }
.services .service-list { display: grid; grid-auto-rows: 1fr; align-self: stretch; }
.services .service-list a { padding-block: clamp(20px, 3vw, 42px); }
.services .service-list a:hover { background: #e9ede0; }

.incident, .sectors, .about { padding-block: clamp(56px, 8vw, 120px); }
:is(.incident, .sectors, .about) h2 { font-size: clamp(35px, 4.7vw, 76px); }
.incident { color: var(--paper); background: var(--ink); }
.incident .section-marker { color: var(--lime); }
.incident-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 6vw, 100px); }
.incident-layout > div > p { max-width: 32em; margin-top: 16px; color: #d2dfd3; line-height: 1.55; }
.incident-image { margin-top: 28px; }
.incident-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 16px; border-bottom: 1px solid #e8f1db44; }
.incident-steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 6px 14px; padding: 17px 0; border-top: 1px solid #e8f1db44; }
.incident-steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; color: var(--lime); font: 700 13px / 1.6 Montserrat, sans-serif; }
.incident-steps strong { font: 700 clamp(17px, 1.8vw, 24px) / 1.2 Montserrat, sans-serif; letter-spacing: -.03em; }
.incident-steps p { color: #d2dfd3; line-height: 1.5; }
.incident a:focus-visible, .detail-hero a:focus-visible { outline-color: var(--lime); }

.sectors .section-marker, .about .section-marker { color: var(--green); }
.sectors .section-marker i, .about .section-marker i { background: var(--green); }
.fact-list { margin: 0; border-bottom: 1px solid var(--line); }
.fact-list > div { padding-block: 16px; border-top: 1px solid var(--line); }
.fact-list dt { font: 700 clamp(16px, 1.75vw, 22px) / 1.2 Montserrat, sans-serif; letter-spacing: -.03em; }
.fact-list dd { margin: 6px 0 0; max-width: 46em; color: #475649; line-height: 1.5; }
.about { background: #e8ede1; }
.about .services-layout { align-items: center; }
.about .services-layout > p { max-width: 36em; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.58; }

.contact-actions { display: grid; gap: 12px; }
.contact-direct, .footer-details nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; }
.contact-direct a, .footer-details nav a { display: flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.contact-direct a:hover { color: var(--lime); }
.footer-details { align-items: start; padding-block: 34px; }
.footer-details address, .footer-details p { margin-top: 5px; color: #475649; font-size: 13px; font-weight: 400; line-height: 1.5; }
address { font-style: normal; }

.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 104px);
  color: var(--paper);
  background: var(--ink);
}
.detail-hero .section-marker { margin-bottom: 18px; color: var(--lime); }
.detail-hero h1 { max-width: 16ch; font-size: clamp(40px, 5.15vw, 84px); line-height: 1.03; overflow-wrap: anywhere; }
.detail-hero p { max-width: 35em; margin-top: 19px; color: #d2dfd3; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.55; }
.back-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-bottom: 18px; font-size: 14px; }
.back-link:hover { color: var(--lime); }
.detail-image img { min-height: 260px; max-height: 560px; object-fit: cover; }
.detail-section { padding-block: clamp(40px, 6.5vw, 100px); }
.detail-section + .detail-section { background: #e8ede1; }
.detail-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: start; gap: clamp(24px, 6vw, 100px); }
.detail-grid h2 { max-width: 16ch; font-size: clamp(31px, 3.85vw, 63px); line-height: 1.05; }
.detail-related { padding-block: 14px; border-top: 1px solid var(--line); }
.detail-related a, .detail-related a:hover { color: var(--green); }
.contact-panel { border-bottom: 1px solid #e8f1db44; }
.contact-panel a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0; border-top: 1px solid #e8f1db44; }
.contact-panel a:hover { color: var(--lime); }
.contact-panel strong { display: block; font: 700 clamp(19px, 2vw, 28px) / 1.2 Montserrat, sans-serif; letter-spacing: -.045em; }
.contact-panel span { display: block; margin-top: 6px; color: #d2dfd3; overflow-wrap: anywhere; }
.contact-panel b { color: var(--lime); }

@media (max-width: 780px) {
  :root { --header: 64px; --route-height: 69px; }
  .header { grid-template-columns: 1fr auto auto; gap: 13px; }
  .brand { width: 133px; padding-right: 15px; }
  .nav-rit, .nav-insight { display: none !important; }
  .main-nav a { font-size: 14px; }
  .header-cta { min-height: 44px; padding-inline: 12px; gap: 8px; }
  .contact-full { display: none; }
  .contact-short { display: inline; }
  .film-meta { inset-block-start: 21px; }
  .film-meta .film-operation { display: none; }
  .film-illustration { font-size: 9px; text-align: right; }
  .stage-still, .screen { height: 72%; }
  .shade::before {
    opacity: 1;
    background: linear-gradient(0deg, #101a14 25%, #101a14fa 30%, #101a1429 63%, #101a1400 74%),
      linear-gradient(180deg, #101a1477, transparent 20%);
  }
  .shade::after { display: none; }
  .copy-deck { inset-block: 44px calc(var(--route-height) + 18px); }
  .film-ready .hero-copy { justify-self: start; }
  h1 { font-size: clamp(38px, 10vw, 70px); }
  .chapter h2, .copy-deck h2 { font-size: clamp(34px, 8.2vw, 64px); }
  .eyebrow { margin-bottom: 10px; }
  .intro { margin-top: 12px; font-size: 16px; line-height: 1.4; }
  .hero-actions { margin-top: 15px; gap: 3px 17px; }
  .chapter-copy > .text-link { margin-top: 5px; }
  .route { grid-template-columns: 1fr auto; gap: 0 12px; }
  .route-caption { grid-column: 1; align-self: end; gap: 10px; }
  .route-number { font-size: 13px; }
  .route-name { font-size: 12px; }
  .route-stops { grid-column: 1; grid-row: 2; }
  .route-stops a { min-height: 44px; align-items: center; padding: 9px 0 0; }
  .route-stops a::before, .route-stops a::after { top: 9px; }
  .route-next { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; }
  .chapter { grid-template-columns: 1fr; }
  .chapter-still { height: auto; }
  .services-layout { grid-template-columns: 1fr; }
  .contact { align-items: start; flex-direction: column; }
  .services .service-list { grid-auto-rows: auto; }
  .incident-layout, .detail-hero, .detail-grid { grid-template-columns: 1fr; }
  .detail-image img { min-height: 0; }
  .detail-hero h1, .detail-grid h2 { max-width: 19ch; }
  .footer-details { gap: 12px; }
}

@media (max-height: 580px) and (orientation: landscape) {
  :root { --header: 56px; --route-height: 54px; }
  .film-meta { display: none; }
  .copy-deck { inset-block: 8px calc(var(--route-height) + 12px); }
  h1, .chapter h2, .copy-deck h2 { font-size: clamp(29px, 7.5vh, 50px); }
  .eyebrow { margin-bottom: 5px; }
  .intro { font-size: 14px; margin-top: 8px; }
  .hero-actions { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
