@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/plex.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --forest: #1E4530;
  --leaf: #2C6A44;
  --mint: #BFDCC7;
  --sand: #F3EFE6;
  --paper: #FBF9F4;
  --ink: #1B1D1A;
  --soft: #5F625B;
  --line: #DDD7C9;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --wide: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--mint); }

.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--forest);
  color: var(--sand);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.75rem; }
.brand { font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); font-size: 0.9688rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 0.875rem;
  padding: .3rem .7rem;
  border: 1px solid rgba(243,239,230,.35);
  border-radius: 999px;
  white-space: nowrap;
}
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #E3B34C; }

/* ---------- Hero ---------- */
.hero { background: var(--forest); color: var(--sand); }
.hero-grid { display: grid; }
.hero-text {
  background-image: repeating-radial-gradient(circle at 0% 100%, transparent 0 46px, rgba(243,239,230,.045) 46px 48px);
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter) clamp(2.75rem, 7vw, 6rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 {
  font-size: clamp(2.125rem, 1.2rem + 3.4vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 15em;
  text-wrap: balance;
}
.hero p { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.6; color: #D9E4D9; }
.actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.btn {
  display: inline-block;
  background: var(--sand);
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
  padding: .85rem 1.4rem;
  transition: background-color .15s ease;
}
.btn:hover { background: #fff; }
.more { text-underline-offset: .3em; text-decoration-thickness: 1px; }
.more:hover { text-decoration-thickness: 2px; }

.hero-photo { position: relative; min-height: 20rem; }
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  display: block;
}
.hero-photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--forest); color: var(--sand);
  padding: .55rem 1rem;
  font-size: .9375rem;
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: min(44rem, calc(100svh - 3.75rem)); }
  .hero-text { padding-left: max(var(--gutter), calc((100vw - var(--wide)) / 2 + var(--gutter))); }
}

/* ---------- Gewerkt aan ---------- */
.worked { background: var(--sand); border-bottom: 1px solid var(--line); }
.worked .wrap { padding-block: 1.4rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 2.5rem; }
.worked p { color: var(--soft); font-size: .9688rem; }
.worked ul { display: flex; flex-wrap: wrap; gap: .35rem 2.25rem; }
.worked li { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--forest); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-head p { max-width: 36rem; color: var(--soft); }

/* Aanbod */
.offer { display: grid; border-top: 1px solid var(--ink); }
.offer > div { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.offer h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.offer p { margin-top: .5rem; color: var(--soft); max-width: 30rem; }
.offer .eg { margin-top: .9rem; color: var(--leaf); font-size: .9688rem; padding-left: .9rem; border-left: 2px solid var(--mint); }
@media (min-width: 48rem) {
  .offer { grid-template-columns: 1fr 1fr; }
  .offer > div { padding: 2rem 2.5rem 2rem 0; }
  .offer > div:nth-child(even) { padding: 2rem 0 2rem 2.5rem; border-left: 1px solid var(--line); }
}

/* Uitgelicht werk */
.band { background: var(--sand); }
.cases { display: grid; gap: 1.5rem; }
.case {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  display: grid; gap: 1.5rem 3rem;
}
.case .where { color: var(--leaf); font-weight: 600; font-size: .9688rem; }
.case h3 { margin-top: .35rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.case p { margin-top: .9rem; max-width: 34rem; }
.case .facts li > span:only-child { display: block; color: var(--ink); }
.case > div:last-child { align-self: center; }
.case .facts { display: grid; gap: 1.25rem; }
.case .facts li { border-left: 3px solid var(--leaf); padding-left: 1rem; }
.case .facts strong { display: block; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--forest); font-variant-numeric: tabular-nums; }
.case .facts span { color: var(--soft); font-size: .9688rem; }
.case .facts .route { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-weight: 600; color: var(--forest); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: .25rem; }
.case .facts .route .old { font-size: inherit; color: var(--soft); text-decoration: line-through; text-decoration-thickness: 1px; font-weight: 500; }
.route svg { width: 1.75rem; height: 1.15rem; flex: none; }

/* Uitspraak */
.say { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.say p {
  font-size: clamp(1.5rem, 1.05rem + 2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 24em;
  text-wrap: balance;
}
.say p em { font-style: normal; color: var(--leaf); }
.study { margin-top: 1.5rem; color: var(--soft); }
@media (min-width: 52rem) {
  .case { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

.case figure { margin: 0 0 1.5rem; }
.case figure svg { display: block; width: 100%; max-width: 20rem; height: auto; }

/* Waar ik mee werk */
.stack { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.stack .wrap { display: grid; gap: 1.25rem 3rem; }
.stack h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.stack ul { display: flex; flex-wrap: wrap; }
.stack li { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.5; padding-right: 1.5rem; margin-right: 1.5rem; border-right: 1px solid var(--line); }
.stack li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stack .flex { color: var(--soft); max-width: 34rem; }
@media (min-width: 52rem) { .stack .flex { grid-column: 2; } }
@media (min-width: 52rem) { .stack .wrap { grid-template-columns: 14rem minmax(0, 1fr); align-items: baseline; } }

/* Ervaring */
.work { border-top: 1px solid var(--ink); }
.work li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .35rem 2rem; }
.work .when { color: var(--soft); font-variant-numeric: tabular-nums; }
.work h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.work h3 span { font-weight: 400; color: var(--soft); }
.work p { margin-top: .35rem; max-width: 40rem; color: var(--soft); }
@media (min-width: 44rem) { .work li { grid-template-columns: 9rem minmax(0, 1fr); } }

/* Contact */
.contact { background: var(--forest); color: var(--sand); background-image: repeating-radial-gradient(circle at 100% 0%, transparent 0 46px, rgba(243,239,230,.045) 46px 48px); }
.contact h2 { max-width: 16em; }
.contact p { margin-top: 1rem; max-width: 34rem; color: #D9E4D9; }
.mail-big {
  display: inline-block;
  margin-top: 2rem;
  font-size: clamp(1.375rem, .8rem + 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  overflow-wrap: anywhere;
}
.mail-big:hover { text-decoration-thickness: 4px; }
.contact .also { margin-top: 1.5rem; }
.contact .also a { text-underline-offset: .3em; }
.foot {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243,239,230,.25);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem;
  font-size: .9375rem; color: #C6D3C7;
}

@media (max-width: 40rem) {
  html { scroll-padding-top: 6.5rem; }
  .top .wrap { flex-wrap: wrap; row-gap: 0; padding-block: .7rem .45rem; min-height: 0; }
  .nav { width: 100%; justify-content: space-between; gap: .5rem; font-size: .9375rem; }
  .nav a { padding: .45rem 0; opacity: 1; }
  .status { display: none; }
}
.hero-photo { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Home hero ---------- */
.hero { background-image: repeating-radial-gradient(circle at 0% 100%, transparent 0 46px, rgba(243,239,230,.045) 46px 48px); }
.home-hero { display: grid; gap: 2.5rem 4rem; padding-block: clamp(3rem, 8vw, 6.5rem); align-items: center; }
@media (min-width: 56rem) { .home-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.hero-index li { border-top: 1px solid rgba(243,239,230,.28); }
.hero-index li:last-child { border-bottom: 1px solid rgba(243,239,230,.28); }
.hero-index a { display: block; padding: 1.05rem 0; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }
.hero-index a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--mint); }

/* ---------- Over mij ---------- */
.about-hero { display: grid; gap: 2rem 3.5rem; padding-block: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 44rem) { .about-hero { grid-template-columns: 13rem minmax(0, 1fr); } }
.about-hero img { display: block; width: 100%; max-width: 13rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Over mij (sectie op de homepage) ---------- */
.about { border-top: 1px solid var(--line); }
.about-intro { display: grid; gap: 1.75rem 3.5rem; align-items: start; }
@media (min-width: 44rem) { .about-intro { grid-template-columns: 11rem minmax(0, 1fr); } }
.about-intro img { display: block; width: 100%; max-width: 11rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about-intro p { margin-top: 1rem; max-width: 40rem; }
.about-intro p + p { color: var(--soft); }
.about .sub { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }

.hero p.note { margin-top: 1rem; font-size: .9688rem; color: #C6D3C7; }
.case p.lead { font-size: 1.125rem; font-weight: 500; line-height: 1.5; }

.case .facts li > span.basis { color: var(--soft); font-size: .9375rem; }
