:root {
  --bg: #f7f2e8;
  --surface: #fffaf0;
  --text: #3b2a20;
  --muted: #78675b;
  --accent: #9a6b2f;
  --accent-dark: #69451f;
  --border: #cdbb9a;

  --content-width: 920px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  font-family:
    "Courier New",
    Courier,
    monospace;
  line-height: 1.65;
  color: var(--text);

  background-color: var(--bg);
  background-image:
    radial-gradient(
      circle at 12% 12%,
      rgba(154, 107, 47, 0.055),
      transparent 28rem
    ),
    radial-gradient(
      circle at 88% 68%,
      rgba(105, 69, 31, 0.035),
      transparent 32rem
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.10),
      transparent 24rem
    );
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 7% 9%,
      rgba(154, 107, 47, 0.075),
      transparent 24rem
    ),
    radial-gradient(
      circle at 94% 42%,
      rgba(205, 187, 154, 0.14),
      transparent 30rem
    ),
    linear-gradient(
      180deg,
      #faf6ee 0%,
      var(--bg) 30rem,
      #f5efe4 100%
    );
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

header,
main,
footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}

header > a {
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

nav a {
  text-decoration: none;
}

main {
  min-height: 65vh;
  padding: 4rem 0;
}

main > :first-child {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-top: 3rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  letter-spacing: -0.015em;
}

p {
  max-width: 68ch;
}

footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

::selection {
  background: var(--border);
  color: var(--text);
}

@media (max-width: 640px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  main {
    padding: 2.5rem 0;
  }
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
}


.site-nav .rss-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;

  width: 1.35rem;
  height: 1.35rem;
  margin-left: -0.55rem;

  color: var(--muted);
  opacity: 0.72;
  transition:
    color 0.15s ease,
    opacity 0.15s ease,
    transform 0.15s ease;
}

.site-nav .rss-link svg {
  display: block;
  width: 1rem;
  height: 1rem;

  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav .rss-link:hover,
.site-nav .rss-link:focus-visible {
  color: var(--accent-dark);
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .site-nav .rss-link {
    margin-left: -0.4rem;
  }
}


/* Homepage hero */

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);

  padding: clamp(2rem, 5vw, 3.75rem);

  border: 1px solid rgba(105, 69, 31, 0.22);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(154, 107, 47, 0.16),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.98),
      rgba(239, 225, 198, 0.72)
    );

  box-shadow:
    0 1.1rem 2.6rem rgba(59, 42, 32, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;

  width: 19rem;
  height: 19rem;
  right: -7rem;
  bottom: -10rem;

  border: 1px solid rgba(105, 69, 31, 0.14);
  border-radius: 50%;
}

.home-hero-copy {
  min-width: 0;
}

.home-kicker {
  margin: 0 0 0.8rem;

  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.home-lead {
  margin-top: 0;
  margin-bottom: 0.7rem;

  color: var(--text);
  font-size: clamp(1.05rem, 2.3vw, 1.22rem);
  font-weight: 700;
}

.home-hero-copy > p:not(.home-kicker):not(.home-lead) {
  margin-top: 0;
  color: var(--muted);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;

  margin-top: 1.65rem;
}

.home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 2.7rem;
  padding: 0.55rem 0.9rem;

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;

  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.home-action-primary {
  border-color: var(--accent-dark);
  color: var(--surface);
  background: var(--accent-dark);
}

.home-action-primary:hover,
.home-action-primary:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.home-action-secondary {
  color: var(--accent-dark);
  background: rgba(255, 250, 240, 0.7);
}

.home-action-secondary:hover,
.home-action-secondary:focus-visible {
  color: var(--text);
  border-color: var(--accent);
  background: var(--surface);
  transform: translateY(-1px);
}

.home-portrait {
  position: relative;

  width: min(100%, 270px);
  margin: 0;
  justify-self: end;
}

.home-portrait::before {
  content: "";
  position: absolute;
  inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  z-index: -1;

  border: 1px solid rgba(105, 69, 31, 0.2);
  border-radius: 16px;
}

.home-portrait img {
  display: block;

  width: 100%;
  height: auto;
  aspect-ratio: 1216 / 1632;

  border: 1px solid rgba(105, 69, 31, 0.26);
  border-radius: 16px;

  object-fit: cover;

  box-shadow: 0 0.85rem 1.8rem rgba(59, 42, 32, 0.16);
}

@media (max-width: 640px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 2rem;

    padding: 1.6rem;
    border-radius: 14px;
  }

  .home-hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.3rem);
    white-space: nowrap;
  }

  .home-portrait {
    width: min(48vw, 170px);
    justify-self: center;
  }

  .home-actions {
    gap: 0.55rem;
  }

  .home-action {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-action {
    transition: none;
  }

  .home-action-primary:hover,
  .home-action-primary:focus-visible,
  .home-action-secondary:hover,
  .home-action-secondary:focus-visible {
    transform: none;
  }
}

/* Expertise */

.expertise-cloud {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 0.85rem;

  width: min(100%, 760px);
  min-height: 390px;
  margin: 2rem 0 1rem;
  padding: 4.5rem 4.25rem;

  box-sizing: border-box;
}

.expertise-cloud::before {
  content: "";
  position: absolute;
  inset: 2rem 1.5rem 1.5rem;
  z-index: -2;

  border: 1px solid rgba(105, 69, 31, 0.22);
  border-radius: 46% 54% 48% 52% / 56% 44% 56% 44%;

  background:
    radial-gradient(circle at 21% 42%, var(--surface) 0 25%, transparent 26%),
    radial-gradient(circle at 38% 25%, var(--surface) 0 28%, transparent 29%),
    radial-gradient(circle at 58% 23%, var(--surface) 0 31%, transparent 32%),
    radial-gradient(circle at 77% 41%, var(--surface) 0 25%, transparent 26%),
    radial-gradient(circle at 65% 61%, var(--surface) 0 31%, transparent 32%),
    radial-gradient(circle at 38% 65%, var(--surface) 0 34%, transparent 35%),
    linear-gradient(var(--surface), var(--surface));

  box-shadow:
    0 0.9rem 2.1rem rgba(59, 42, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.expertise-cloud::after {
  content: "";
  position: absolute;
  inset: 3.3rem 3.25rem 2.85rem;
  z-index: -1;

  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(154, 107, 47, 0.08),
      transparent 68%
    );
}

.expertise-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.34em 0.68em;
  border: 1px solid rgba(105, 69, 31, 0.24);
  border-radius: 999px;

  color: var(--accent-dark);
  background:
    linear-gradient(
      180deg,
      rgba(255, 250, 240, 0.98),
      rgba(239, 226, 199, 0.96)
    );

  box-shadow:
    0 0.2rem 0.45rem rgba(59, 42, 32, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);

  line-height: 1.05;
  text-align: center;
  white-space: nowrap;

  transform-origin: center;
}

.expertise-tag:nth-child(3n) {
  transform: rotate(-1.4deg);
}

.expertise-tag:nth-child(4n) {
  transform: rotate(1.15deg);
}

.expertise-weight-1 {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.78;
}

.expertise-weight-2 {
  font-size: 0.92rem;
  font-weight: 650;
}

.expertise-weight-3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.expertise-weight-4 {
  font-size: 1.28rem;
  font-weight: 700;
}

.expertise-weight-5 {
  font-size: clamp(1.42rem, 3.4vw, 1.72rem);
  font-weight: 700;
  color: var(--text);
}

.expertise-note {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .expertise-cloud {
    min-height: 410px;
    margin-top: 1.4rem;
    padding: 3.35rem 0.55rem 3.15rem;
    gap: 0.4rem 0.45rem;
  }

  /*
   * iOS/Safari: houd de wolkvorm binnen dezelfde stacking context.
   * Negatieve z-indexwaarden kunnen op mobiel achter de pagina verdwijnen.
   */
  .expertise-cloud::before {
    inset: 1.05rem 0.05rem 0.8rem;
    z-index: 0;
    border-color: rgba(105, 69, 31, 0.3);
    border-radius: 45% 55% 48% 52% / 52% 47% 53% 48%;
    box-shadow:
      0 0.7rem 1.65rem rgba(59, 42, 32, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  .expertise-cloud::after {
    inset: 2.25rem 0.7rem 1.75rem;
    z-index: 0;
  }

  .expertise-tag {
    position: relative;
    z-index: 1;

    max-width: none;
    padding: 0.3em 0.52em;
    white-space: nowrap;

    border-color: rgba(105, 69, 31, 0.32);
    background:
      linear-gradient(
        180deg,
        rgba(255, 251, 243, 0.99),
        rgba(237, 221, 190, 0.98)
      );
  }

  .expertise-tag:nth-child(3n) {
    transform: rotate(-0.45deg);
  }

  .expertise-tag:nth-child(4n) {
    transform: rotate(0.4deg);
  }

  .expertise-weight-1 {
    font-size: 0.64rem;
    font-weight: 600;
  }

  .expertise-weight-2 {
    font-size: 0.72rem;
    font-weight: 650;
  }

  .expertise-weight-3 {
    font-size: 0.82rem;
    font-weight: 700;
  }

  .expertise-weight-4 {
    font-size: 0.94rem;
    font-weight: 700;
  }

  .expertise-weight-5 {
    font-size: 1.08rem;
    font-weight: 700;
  }
}

/* Loopbaan */

.career-focus {
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.career-focus p {
  margin-bottom: 0;
}

.career-list {
  margin-top: 2rem;
}

.career-item {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.career-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.career-employer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.career-employer h3 {
  margin: 0;
}

.career-logo-placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.career-role,
.career-organisation,
.career-period {
  margin: 0.2rem 0;
}

.career-role,
.career-organisation {
  font-weight: 700;
}

.career-period {
  color: var(--muted);
  font-size: 0.9rem;
}

.career-roles {
  margin-top: 1.5rem;
}

.career-role-entry {
  margin: 0 0 2rem 1.25rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border);
}

.career-role-entry h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.career-projects {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border);
}

.career-project {
  margin: 1.25rem 0;
}

.career-project p {
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .career-employer {
    align-items: flex-start;
  }

  .career-logo-placeholder {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .career-role-entry,
  .career-projects {
    margin-left: 0;
  }
}

.career-logo {
  display: grid;
  place-items: center;
  flex: 0 0 96px;
  width: 96px;
  height: 64px;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.career-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .career-logo {
    flex-basis: 76px;
    width: 76px;
    height: 54px;
  }
}

/* =========================================================
   BLOG CARDS
   Toekomstige blogposts worden hier visueel vormgegeven.
   Bij uitbreiding van blogfunctionaliteit eerst dit blok bekijken.
   ========================================================= */

.blog-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.blog-item {
  padding: 1.35rem 1.4rem;

  border: 1px solid rgba(105, 69, 31, 0.18);
  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.94),
      rgba(244, 234, 215, 0.66)
    );

  box-shadow:
    0 0.45rem 1.1rem rgba(59, 42, 32, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.blog-item h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 3vw, 1.45rem);
}

.blog-item h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-item h2 a:hover,
.blog-item h2 a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.blog-date {
  display: inline-flex;
  width: fit-content;

  margin: 0 0 0.9rem;
  padding: 0.14rem 0.45rem;

  border: 1px solid rgba(105, 69, 31, 0.16);
  border-radius: 999px;

  color: var(--accent-dark);
  background: rgba(205, 187, 154, 0.16);

  font-size: 0.78rem;
  line-height: 1.35;
}

.blog-excerpt {
  color: var(--muted);
}

/* Blogkaart: samenvatting visueel beperken tot circa 10 regels */
.blog-excerpt p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
}

.blog-excerpt p:first-child {
  margin-top: 0;
}

.blog-excerpt p:last-child {
  margin-bottom: 0;
}

.blog-empty {
  margin-top: 2rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .blog-item {
    padding: 1.1rem 1rem;
  }
}


.blog-read-more {
  margin: 0.85rem 0 0;
}

.blog-read-more a {
  display: inline-block;

  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.blog-read-more a:hover,
.blog-read-more a:focus-visible {
  color: var(--accent);
}

/* EINDE BLOG CARDS */

.career-project-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.career-project-logo {
  width: 70px;
  height: 38px;
  padding: 0.25rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) / 2);
}

@media (max-width: 640px) {
  .career-project-logo {
    width: 60px;
    height: 34px;
  }
}


/* Loopbaan tijdlijn */

.career-list {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2.8rem;
}

.career-list::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.25rem;
  bottom: 1.25rem;

  width: 1px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--accent) 4%,
      var(--border) 18%,
      var(--border) 82%,
      var(--accent) 96%,
      transparent
    );
}

.career-item,
.career-item:first-child {
  position: relative;

  margin: 0 0 1.35rem;
  padding: 1.45rem 1.5rem;

  border: 1px solid rgba(105, 69, 31, 0.20);
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.96),
      rgba(244, 234, 215, 0.72)
    );

  box-shadow:
    0 0.55rem 1.4rem rgba(59, 42, 32, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.career-item::before {
  content: "";
  position: absolute;

  left: -2.38rem;
  top: 1.75rem;

  width: 0.8rem;
  height: 0.8rem;

  border: 2px solid var(--accent);
  border-radius: 50%;

  background: var(--surface);

  box-shadow:
    0 0 0 4px var(--bg);
}

.career-item:last-child {
  margin-bottom: 0;
}

.career-employer {
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.career-employer h3 {
  margin: 0 0 0.15rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.career-logo {
  flex: 0 0 88px;
  width: 88px;
  height: 58px;

  padding: 0.5rem;
  overflow: hidden;

  border-color: rgba(105, 69, 31, 0.20);
  border-radius: 10px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(250, 246, 238, 0.94)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0.2rem 0.55rem rgba(59, 42, 32, 0.045);
}

.career-logo-placeholder {
  display: grid;
  place-items: center;

  flex: 0 0 88px;
  width: 88px;
  height: 58px;

  border: 1px solid rgba(105, 69, 31, 0.20);
  border-radius: 10px;

  color: var(--accent-dark);
  background:
    linear-gradient(
      145deg,
      rgba(255, 250, 240, 0.96),
      rgba(239, 225, 198, 0.52)
    );

  font-size: 1.15rem;
  font-weight: 700;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.career-role {
  color: var(--text);
  line-height: 1.35;
}

.career-period {
  display: inline-flex;
  align-items: center;

  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.16rem 0.5rem;

  border: 1px solid rgba(105, 69, 31, 0.18);
  border-radius: 999px;

  color: var(--accent-dark);
  background: rgba(205, 187, 154, 0.18);

  font-size: 0.78rem;
  line-height: 1.35;
}

.career-item > p {
  margin-bottom: 0;
  color: var(--muted);
}

.career-roles {
  display: grid;
  gap: 0.9rem;

  margin-top: 1.35rem;
}

.career-role-entry {
  margin: 0;
  padding: 0.85rem 1rem;

  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;

  background: rgba(255, 250, 240, 0.55);
}

.career-role-entry h4 {
  margin: 0 0 0.2rem;
}

.career-role-entry p:last-child {
  margin-bottom: 0;
}

.career-projects {
  margin-top: 1.35rem;
  padding: 1.15rem 0 0;

  border-left: 0;
  border-top: 1px solid rgba(105, 69, 31, 0.17);
}

.career-projects > h4 {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
}

.career-project {
  margin: 0.75rem 0;
  padding: 0.8rem 0.9rem;

  border: 1px solid rgba(105, 69, 31, 0.14);
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.42);
}

.career-project:last-child {
  margin-bottom: 0;
}

.career-project-heading strong {
  line-height: 1.25;
}

@media (max-width: 640px) {
  .career-list {
    margin-top: 2rem;
    padding-left: 1.75rem;
  }

  .career-list::before {
    left: 0.35rem;
    top: 1rem;
    bottom: 1rem;
  }

  .career-item,
  .career-item:first-child {
    margin-bottom: 1rem;
    padding: 1.1rem 1rem;

    border-radius: 12px;
  }

  .career-item::before {
    left: -1.77rem;
    top: 1.4rem;

    width: 0.68rem;
    height: 0.68rem;

    box-shadow:
      0 0 0 3px var(--bg);
  }

  .career-employer {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .career-employer h3 {
    font-size: 1.05rem;
  }

  .career-logo {
    flex-basis: 68px;
    width: 68px;
    height: 48px;
    padding: 0.4rem;
  }

  .career-logo-placeholder {
    flex-basis: 68px;
    width: 68px;
    height: 48px;
  }

  .career-period {
    font-size: 0.72rem;
  }

  .career-role-entry {
    padding: 0.75rem 0.8rem;
  }

  .career-project {
    padding: 0.7rem 0.75rem;
  }
}


/* Loopbaan tijdlijn - zichtbare rail */

.career-list {
  padding-left: 4rem;
}

.career-list::before {
  left: 1rem;
  top: 1.8rem;
  bottom: 1.8rem;

  width: 2px;

  background: linear-gradient(
    to bottom,
    rgba(154, 107, 47, 0.18),
    var(--accent) 5%,
    var(--accent) 95%,
    rgba(154, 107, 47, 0.18)
  );
}

.career-item::before {
  left: -3.48rem;
  top: 1.72rem;

  width: 0.82rem;
  height: 0.82rem;

  box-sizing: border-box;

  border: 3px solid var(--surface);
  background: var(--accent);

  box-shadow:
    0 0 0 2px var(--accent-dark),
    0 0 0 5px var(--bg);
}

/* Horizontale aansluiting van tijdlijnpunt naar kaart */
.career-item::after {
  content: "";
  position: absolute;

  left: -2.85rem;
  top: 2.08rem;

  width: 2.85rem;
  height: 2px;

  background: linear-gradient(
    to right,
    var(--accent),
    rgba(154, 107, 47, 0.32)
  );
}

@media (max-width: 640px) {
  .career-list {
    padding-left: 2.35rem;
  }

  .career-list::before {
    left: 0.48rem;
    top: 1.45rem;
    bottom: 1.45rem;
  }

  .career-item::before {
    left: -2.27rem;
    top: 1.35rem;

    width: 0.72rem;
    height: 0.72rem;

    border-width: 2px;

    box-shadow:
      0 0 0 2px var(--accent-dark),
      0 0 0 4px var(--bg);
  }

  .career-item::after {
    left: -1.75rem;
    top: 1.67rem;

    width: 1.75rem;
    height: 2px;
  }
}

/* Site-logo */

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-title {
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.site-fox {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(154, 107, 47, 0.20) 0%,
      rgba(154, 107, 47, 0.10) 58%,
      rgba(154, 107, 47, 0.03) 100%
    );

  box-shadow:
    inset 0 0 0 1px rgba(105, 69, 31, 0.20);
}

@media (max-width: 640px) {
  .site-fox {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

/* Intro bovenaan pagina's */

.page-intro {
  max-width: 760px;
  margin: -0.5rem 0 2.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-style: italic;
  line-height: 1.5;
}


/* Visuele contentsecties */

/* Introductieblok bovenaan inhoudspagina's */
.page-intro {
  position: relative;

  max-width: 760px;
  margin: -0.4rem 0 2.6rem;
  padding: 1.05rem 1.25rem 1.05rem 1.45rem;

  border: 1px solid rgba(105, 69, 31, 0.18);
  border-radius: 12px;

  color: var(--muted);

  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.88),
      rgba(239, 225, 198, 0.45)
    );

  box-shadow:
    0 0.45rem 1.15rem rgba(59, 42, 32, 0.055);

  font-size: clamp(1rem, 2.2vw, 1.16rem);
  font-style: italic;
  line-height: 1.55;
}

.page-intro::before {
  content: "";
  position: absolute;

  left: 0;
  top: 0.8rem;
  bottom: 0.8rem;

  width: 3px;

  border-radius: 999px;

  background:
    linear-gradient(
      to bottom,
      var(--accent),
      rgba(154, 107, 47, 0.35)
    );
}

.page-intro p {
  max-width: none;
  margin: 0.4rem 0;
}

.page-intro p:first-child {
  margin-top: 0;
}

.page-intro p:last-child {
  margin-bottom: 0;
}

.work-page-intro {
  font-style: normal;
}


/* Hoofdsectiekoppen */
main > h2,
.content-section > h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;

  margin-bottom: 1.25rem;

  color: var(--text);

  font-size: clamp(1.3rem, 3vw, 1.6rem);
  letter-spacing: -0.025em;
}

main > h2::after,
.content-section > h2::after {
  content: "";

  flex: 1 1 auto;
  height: 1px;

  background:
    linear-gradient(
      to right,
      rgba(154, 107, 47, 0.55),
      rgba(154, 107, 47, 0.05)
    );
}


/* Bio */
.bio-sections {
  display: grid;
  gap: 1.1rem;

  margin-top: 2rem;
}

.content-section {
  position: relative;

  padding: 1.4rem 1.55rem 1.45rem 1.75rem;

  border: 1px solid rgba(105, 69, 31, 0.17);
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.90),
      rgba(244, 234, 215, 0.60)
    );

  box-shadow:
    0 0.55rem 1.35rem rgba(59, 42, 32, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.content-section::before {
  content: "";
  position: absolute;

  left: 0;
  top: 1rem;
  bottom: 1rem;

  width: 3px;

  border-radius: 0 999px 999px 0;

  background:
    linear-gradient(
      to bottom,
      var(--accent),
      rgba(154, 107, 47, 0.28)
    );
}

.content-section > h2 {
  margin-top: 0;
}

.content-section p:first-of-type {
  margin-top: 0;
}

.content-section p:last-child {
  margin-bottom: 0;
}


/* Vooruitkijkend op Werk sluit visueel aan bij de nieuwe secties */
.career-focus {
  position: relative;

  border-left-width: 1px;
  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 240, 0.96),
      rgba(239, 225, 198, 0.52)
    );

  box-shadow:
    0 0.45rem 1.15rem rgba(59, 42, 32, 0.05);
}

.career-focus::before {
  content: "";
  position: absolute;

  left: -1px;
  top: 0.7rem;
  bottom: 0.7rem;

  width: 4px;

  border-radius: 999px;

  background: var(--accent);
}


/* Blog lege toestand */
.blog-empty {
  max-width: 620px;

  padding: 1rem 1.2rem;

  border: 1px dashed rgba(105, 69, 31, 0.28);
  border-radius: 10px;

  background: rgba(255, 250, 240, 0.55);
}


/* Mobiel */
@media (max-width: 640px) {
  .page-intro {
    margin-bottom: 2rem;
    padding: 0.9rem 1rem 0.9rem 1.2rem;

    border-radius: 10px;

    font-size: 0.96rem;
  }

  main > h2,
  .content-section > h2 {
    gap: 0.6rem;

    font-size: 1.2rem;
  }

  .bio-sections {
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .content-section {
    padding: 1.1rem 1rem 1.15rem 1.2rem;

    border-radius: 11px;
  }
}


/* Subtiele interacties */

/* Duidelijke toetsenbordfocus op alle links en knoppen */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}


/*
 * Hover-effecten alleen op apparaten met een echte hover-pointer.
 * Zo krijgen touchscreens geen 'blijvende' hoverstatus.
 */
@media (hover: hover) and (pointer: fine) {

  .expertise-tag,
  .career-item,
  .career-logo,
  .career-logo-placeholder,
  .content-section,
  .blog-item {
    transition:
      transform 160ms ease,
      border-color 160ms ease,
      background-color 160ms ease,
      box-shadow 160ms ease,
      opacity 160ms ease;
  }

  /* Expertise: bestaande rotatie behouden */
  .expertise-tag:hover {
    border-color: rgba(105, 69, 31, 0.48);

    box-shadow:
      0 0.3rem 0.75rem rgba(59, 42, 32, 0.10);

    opacity: 1;
  }

  /* Tijdlijnkaart iets meer diepte */
  .career-item:hover {
    transform: translateY(-1px);

    border-color: rgba(105, 69, 31, 0.34);

    box-shadow:
      0 0.8rem 1.8rem rgba(59, 42, 32, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }

  /* Logo reageert subtiel mee binnen de kaart */
  .career-item:hover .career-logo,
  .career-item:hover .career-logo-placeholder {
    border-color: rgba(105, 69, 31, 0.34);

    box-shadow:
      0 0.3rem 0.7rem rgba(59, 42, 32, 0.08);
  }

  /* Bio-blokken: nauwelijks merkbaar, maar minder statisch */
  .content-section:hover {
    transform: translateY(-1px);

    border-color: rgba(105, 69, 31, 0.30);

    box-shadow:
      0 0.75rem 1.65rem rgba(59, 42, 32, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }

  /* Blogcards: subtiele diepte bij hover en toetsenbordfocus */
  .blog-item:hover,
  .blog-item:focus-within {
    transform: translateY(-1px);

    border-color: rgba(105, 69, 31, 0.30);

    box-shadow:
      0 0.75rem 1.6rem rgba(59, 42, 32, 0.085),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  }
}


/* Geen animaties wanneer de gebruiker beweging heeft uitgeschakeld */
@media (prefers-reduced-motion: reduce) {
  .expertise-tag,
  .career-item,
  .career-logo,
  .career-logo-placeholder,
  .content-section,
  .blog-item {
    transition: none;
  }

  .career-item:hover,
  .content-section:hover,
  .blog-item:hover,
  .blog-item:focus-within {
    transform: none;
  }
}

/* Contactformulier */
.contact-form {
  max-width: 760px;
  margin-top: 2rem;
}

.contact-field {
  margin-bottom: 1.25rem;
}

.contact-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="number"],
.contact-field input[type="file"],
.contact-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fffdf7;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) / 2);
}

.contact-field textarea {
  resize: vertical;
  min-height: 10rem;
  line-height: 1.5;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-field small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  line-height: 1.4;
}

.contact-captcha {
  max-width: 220px;
}

.contact-submit {
  display: inline-block;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: calc(var(--radius) / 2);
  cursor: pointer;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--accent-soft);
}

.contact-message {
  max-width: 760px;
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: calc(var(--radius) / 2);
}

.contact-message-success {
  padding: 1.15rem 1.25rem;
  background: #f1f7ea;
  border-color: #9ab47d;
  border-left: 6px solid #567b35;
  box-shadow: 0 2px 8px rgba(59, 42, 32, 0.08);
}

.contact-success-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
  color: #35551f;
  font-size: 1.15rem;
}

.contact-success-icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.7rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  color: #fff;
  background: #567b35;
  font-weight: 700;
  line-height: 1;
}

.contact-message-success p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.contact-message-error {
  border-left-color: #9b3a2e;
}

@media (max-width: 640px) {
  .contact-form {
    max-width: 100%;
  }

  .contact-captcha {
    max-width: 100%;
  }

  .contact-submit {
    width: 100%;
  }
}

/* Contactformulier: geselecteerde bijlagen en inline fouten */
.contact-file-summary {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.contact-file-list {
  margin: 0.5rem 0;
  padding-left: 1.4rem;
}

.contact-file-list li {
  margin: 0.25rem 0;
  overflow-wrap: anywhere;
}

.contact-file-total {
  margin: 0.5rem 0 0;
  font-weight: 700;
}

.contact-inline-error {
  margin: 0.5rem 0 0;
  color: #9b3a2e;
  font-weight: 700;
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}


/* Standard footer + PageSpeed odometer */

/* Subtiele footer-verrijking: volledig CSS-only */
.site-footer {
  position: relative;
  margin-top: 0.75rem;

  background:
    linear-gradient(
      180deg,
      rgba(239, 225, 198, 0.18),
      rgba(250, 246, 238, 0) 4.5rem
    );
}

.site-footer::before {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  top: -1px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(105, 69, 31, 0.26) 18%,
      rgba(154, 107, 47, 0.44) 50%,
      rgba(105, 69, 31, 0.26) 82%,
      transparent 100%
    );
}

.site-footer-meta a {
  text-decoration-color: rgba(105, 69, 31, 0.30);
  text-underline-offset: 0.22em;
}

.footer-built-with a {
  color: var(--accent-dark);
}

.site-footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.site-footer-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.pagespeed-widget {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.footer-separator {
  color: var(--border);
  user-select: none;
}

.pagespeed-meter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.pagespeed-meter:hover,
.pagespeed-meter:focus-visible {
  color: var(--text);
}

.pagespeed-label {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.pagespeed-odometer {
  display: inline-flex;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}

.pagespeed-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 1.45rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  color: var(--text);
  line-height: 1;
}

.pagespeed-digit {
  display: block;
  width: 0.9rem;
  height: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.2rem;
  color: var(--text);
  line-height: 1.45rem;
  text-align: center;
}

.pagespeed-digit-strip {
  --digit: 0;

  display: flex;
  flex-direction: column;
  width: 100%;
  transform: translateY(calc(var(--digit) * -1.45rem));
  transition: transform 700ms cubic-bezier(.2,.75,.2,1);
}

.pagespeed-digit-strip > span {
  display: block;
  flex: 0 0 1.45rem;
  height: 1.45rem;
  line-height: 1.45rem;
}

.pagespeed-digit-strip.pagespeed-no-animation {
  transition: none;
}

.pagespeed-details {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.6rem);
  z-index: 5;
  width: max-content;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--bg);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .pagespeed-digit-strip {
    transition: none;
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    align-items: flex-start;
  }

  .pagespeed-widget {
    margin-left: 0;
  }

  .pagespeed-details {
    right: auto;
    left: 0;
  }
}


/* =========================================================
   BEGIN 404 PAGINA
   Humoristische foutpagina /404.html.
   Afbeelding: 404-niet-gevonden-helaas-pindakaas.webp
   ========================================================= */

.error404-shell {
  display: grid;
  grid-template-columns: minmax(180px, 25%) minmax(0, 75%);

  max-width: 920px;
  margin: 0 auto;

  overflow: hidden;

  border: 1px solid rgba(186, 134, 48, 0.72);
  border-radius: 18px;

  color: #fff1c4;

  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(197, 143, 55, 0.16),
      transparent 18rem
    ),
    linear-gradient(
      145deg,
      #2d1a10,
      #4b2a17 58%,
      #321c11
    );

  box-shadow:
    0 1.4rem 3rem rgba(44, 25, 14, 0.20),
    inset 0 1px 0 rgba(255, 235, 181, 0.12);
}

.error404-photo {
  margin: 0;
  padding: 0.8rem;

  background:
    linear-gradient(
      180deg,
      rgba(24, 14, 9, 0.76),
      rgba(60, 34, 19, 0.58)
    );
}

.error404-photo img {
  display: block;
  width: 100%;
  height: auto;

  border: 1px solid rgba(225, 176, 85, 0.38);
  border-radius: 12px;
}

.error404-photo figcaption {
  margin: 0.65rem 0.15rem 0.1rem;

  color: rgba(255, 235, 189, 0.72);

  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.error404-copy {
  align-self: center;
  padding: clamp(1.6rem, 4vw, 3.25rem);
}

.error404-kicker {
  margin: 0 0 0.85rem;

  color: #dba943;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error404-copy h1 {
  max-width: 14ch;
  margin: 0 0 1.1rem;

  color: #fff0b7;

  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.045em;
}

.error404-lead {
  max-width: 52ch;
  margin: 0 0 1.35rem;

  color: #fff4d4;

  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.55;
}

.error404-copy > p:not(.error404-kicker):not(.error404-lead):not(.error404-footnote) {
  color: rgba(255, 240, 204, 0.84);
}

.error404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;

  margin: 1.6rem 0 1.35rem;
}

.error404-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 2.7rem;
  padding: 0.55rem 0.85rem;

  border: 1px solid rgba(219, 169, 67, 0.74);
  border-radius: 999px;

  color: #fff0b7;
  background: rgba(111, 66, 31, 0.58);

  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.error404-action:hover,
.error404-action:focus-visible {
  color: #2f1b10;
  background: #e0b24e;
}

.error404-action-primary {
  color: #2f1b10;
  background: #e0b24e;
}

.error404-action-primary:hover,
.error404-action-primary:focus-visible {
  color: #fff4d4;
  background: #6d3f20;
}

.error404-footnote {
  margin: 0;
  padding-top: 1rem;

  border-top: 1px solid rgba(219, 169, 67, 0.28);

  color: rgba(245, 216, 153, 0.66);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .error404-shell {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .error404-photo {
    padding: 0.65rem;
  }

  .error404-copy {
    padding: 1.4rem 1.15rem 1.6rem;
  }

  .error404-copy h1 {
    max-width: none;
  }
}

/* EINDE 404 PAGINA */
