:root {
  --paper: #eef3f6;
  --paper-2: #f8fbfd;
  --ink: #16242f;
  --muted: #5e6d78;
  --line: #c9d6de;
  --steel: #28485b;
  --steel-dark: #142b3a;
  --steel-light: #dbe7ed;
  --orange: #f07a24;
  --orange-soft: #ffe2ca;
  --blue: #3f6f88;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 43, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(238, 243, 246, 0.9);
  border-bottom: 1px solid rgba(201, 214, 222, 0.88);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--orange);
}

.hero {
  position: relative;
  min-height: calc(100svh - 80px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("../img/portfolio-alphen-omgevingsplan.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(238, 243, 246, 0.98) 0%, rgba(238, 243, 246, 0.84) 42%, rgba(238, 243, 246, 0.22) 100%),
    linear-gradient(0deg, rgba(20, 43, 58, 0.34), rgba(20, 43, 58, 0.08));
}

.hero-content {
  width: min(880px, calc(100% - 460px));
  padding-bottom: clamp(36px, 7vw, 92px);
}

.marker {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-line {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.22;
  font-weight: 740;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: 900px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--steel-dark);
  color: var(--paper-2);
}

.button-light {
  background: rgba(248, 251, 253, 0.78);
  color: var(--ink);
}

.signal-panel {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  width: min(390px, calc(100% - 36px));
  padding: 20px;
  background: rgba(248, 251, 253, 0.9);
  border: 1px solid rgba(20, 43, 58, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.signal-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.signal-panel strong {
  display: block;
  max-width: 330px;
  font-size: 25px;
  line-height: 1.08;
}

.signal-panel ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(20, 43, 58, 0.14);
  list-style: none;
}

.signal-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.signal-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-intro h2,
.review-heading h2,
.feature-copy h2,
.knowledge-panel h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.editorial-grid .section-intro h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.04;
}

.editorial-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.editorial-copy p {
  margin: 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: 14px;
  background: var(--steel-light);
}

.tile {
  min-height: 230px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 43, 58, 0.13);
}

.tile-large {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-rows: auto auto auto 1fr;
}

.tile h3 {
  align-self: start;
  margin: 0;
  max-width: 620px;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.tile:not(.tile-large) h3 {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
}

.tile p:not(.marker) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.quickscan-visual {
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--paper);
}

.tile a {
  align-self: flex-start;
  margin-top: 24px;
  border-bottom: 2px solid var(--orange);
  font-weight: 850;
}

.color-tile {
  background: var(--steel);
  color: var(--paper-2);
}

.color-tile .marker,
.color-tile p:not(.marker) {
  color: var(--orange-soft);
}

.image-tile {
  grid-template-rows: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.review-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 32px;
  color: var(--paper-2);
  background: var(--steel);
}

.review-band .marker {
  color: var(--orange-soft);
}

.review-steps {
  display: grid;
  gap: 1px;
  background: rgba(248, 251, 253, 0.2);
  border: 1px solid rgba(248, 251, 253, 0.2);
}

.review-steps article {
  padding: 24px;
  background: rgba(20, 43, 58, 0.34);
}

.review-steps span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  background: var(--orange);
  color: var(--paper-2);
  font-weight: 900;
}

.review-steps h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.review-steps p {
  margin: 0;
  color: rgba(248, 251, 253, 0.78);
  font-size: 17px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  background: var(--paper-2);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy p:not(.marker),
.knowledge-panel p,
.contact-section p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.clean-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.clean-list li {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 780;
}

.experience {
  background: var(--steel-dark);
  color: var(--paper-2);
}

.experience .marker {
  color: var(--orange-soft);
}

.experience .section-intro h2 {
  max-width: 760px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
}

.experience-lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(248, 251, 253, 0.74);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.case-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.case-track article {
  min-height: 260px;
  padding: 24px;
  background: rgba(248, 251, 253, 0.08);
  border: 1px solid rgba(248, 251, 253, 0.18);
}

.case-track span {
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 850;
}

.case-track h3 {
  margin: 34px 0 12px;
  font-size: 28px;
  line-height: 1.05;
}

.case-track p {
  margin: 0;
  color: rgba(248, 251, 253, 0.72);
}

.training-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(248, 251, 253, 0.12);
  border: 1px solid rgba(248, 251, 253, 0.22);
}

.training-card span {
  display: block;
  max-width: 100%;
  color: var(--orange-soft);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-card h3 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.training-card p {
  margin: 4px 0 0;
  max-width: 980px;
  color: rgba(248, 251, 253, 0.74);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}

.knowledge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
  background: var(--blue);
  color: var(--paper-2);
}

.knowledge-panel .marker {
  color: var(--orange-soft);
}

.knowledge-panel p {
  color: rgba(248, 251, 253, 0.82);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 32px;
  align-items: end;
  background: var(--paper);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-style: normal;
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-size: 22px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .site-header,
  .editorial-grid,
  .review-band,
  .split-feature,
  .knowledge-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .signal-panel {
    position: static;
    margin-top: 18px;
  }

  .hero-content {
    width: min(880px, 100%);
  }

  .hero {
    align-items: center;
  }

  .bento,
  .case-track,
  .training-card {
    grid-template-columns: 1fr;
  }

  .tile-large {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-image img {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand img {
    width: 126px;
  }

  .hero {
    min-height: auto;
    padding: 36px 18px 28px;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .hero-line {
    margin-top: 24px;
    font-size: 22px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 18px;
  }

  .clean-list {
    grid-template-columns: 1fr;
  }
}
