:root {
  --bg: #eff0e6;
  --paper: rgba(252, 252, 248, 0.88);
  --paper-strong: #fcfcf7;
  --text: #23281f;
  --muted: #66705f;
  --line: rgba(72, 85, 61, 0.16);
  --olive: #6d7c56;
  --olive-deep: #4c5940;
  --olive-soft: #b8c2a9;
  --sand: #d8d0bd;
  --shadow: 0 22px 55px rgba(67, 75, 54, 0.1);
  --shadow-soft: 0 14px 32px rgba(67, 75, 54, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(184, 194, 169, 0.28), transparent 28%),
    radial-gradient(circle at right 20%, rgba(216, 208, 189, 0.26), transparent 22%),
    linear-gradient(135deg, #f7f8f1 0%, #eff0e7 48%, #e7eadf 100%);
}

body.modal-open {
  overflow: hidden;
}

[data-lang] {
  display: none;
}

body.lang-nl [data-lang="nl"],
body.lang-en [data-lang="en"] {
  display: inline;
}

body.lang-nl span[data-lang="nl"],
body.lang-en span[data-lang="en"] {
  display: inline;
}

body.lang-nl p[data-lang="nl"],
body.lang-en p[data-lang="en"],
body.lang-nl div[data-lang="nl"],
body.lang-en div[data-lang="en"] {
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

h1,
h2,
h3,
strong,
span {
  text-wrap: balance;
}

h1,
h2 {
  margin: 0;
  font-family: "Merriweather", serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.language-switcher {
  display: inline-flex;
  padding: 0.35rem;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(72, 85, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.page-shell > .language-switcher {
  display: flex;
  width: fit-content;
}

.language-switcher__button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-switcher__button.is-active {
  background: var(--olive-deep);
  color: #f8f8f2;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  transform: translateY(-1px);
}

.language-switcher__button:focus-visible,
.cta-button:focus-visible,
.secondary-button:focus-visible,
.more-button:focus-visible,
.modal__close:focus-visible,
.site-footer a:focus-visible,
.contact-list a:focus-visible {
  outline: 3px solid rgba(76, 89, 64, 0.34);
  outline-offset: 3px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--olive-deep);
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.hero__main {
  display: grid;
  gap: 1.5rem;
}

.hero__summary {
  grid-column: auto;
}

.hero__copy,
.hero__card,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: 3.5rem;
}

.hero__copy::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 124, 86, 0.15), transparent 70%);
}

.hero__copy::before,
.hero__card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 24%);
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.05rem;
  max-width: 39rem;
}

.hero__strap {
  margin-top: 1rem;
  max-width: 32rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: var(--olive-deep);
  color: #f8f8f2;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border: 1px solid rgba(76, 89, 64, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--olive-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: #3f4a35;
  transform: translateY(-1px);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(76, 89, 64, 0.28);
  transform: translateY(-1px);
}

.hero__note {
  max-width: 22rem;
  font-size: 0.95rem;
}

.hero__card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 248, 241, 0.92)),
    var(--paper-strong);
}

.hero__portrait {
  margin: -0.5rem -0.5rem 1.5rem;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(109, 124, 86, 0.18), rgba(216, 208, 189, 0.22));
}

.hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.hero__card h2 {
  margin-bottom: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  flex: 1;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list > li > span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive-deep);
  font-weight: 800;
}

.contact-list a,
.contact-list strong {
  font-size: 1rem;
  text-decoration: none;
  color: var(--text);
}

.panel {
  padding: 2rem;
}

.panel--highlight {
  background:
    linear-gradient(135deg, rgba(184, 194, 169, 0.18), rgba(255, 255, 255, 0.72)),
    var(--paper);
}

.panel--accent {
  background:
    linear-gradient(135deg, rgba(76, 89, 64, 0.96), rgba(109, 124, 86, 0.92)),
    #5a674a;
  color: #f8f8f2;
}

.panel--accent p,
.panel--accent .eyebrow {
  color: rgba(248, 248, 242, 0.84);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.details-stack {
  display: grid;
  gap: 1.5rem;
}

.positioning-grid {
  margin-bottom: 1.5rem;
}

.competencies-section {
  margin-bottom: 1.5rem;
}

.personal-section {
  margin-top: 1.5rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 2rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  color: inherit;
}

.site-footer a {
  text-decoration: none;
  color: var(--olive-deep);
  font-weight: 600;
}

.print-resume {
  display: none;
}

.print-resume__header,
.print-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.2rem;
}

.print-resume__summary {
  margin-top: 0.5rem;
}

.print-section {
  margin-top: 1rem;
}

.print-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.print-inline-list {
  line-height: 1.7;
}

.print-role {
  margin-top: 0.8rem;
  break-inside: avoid;
}

.print-role__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.print-role__head h3 {
  margin: 0;
  font-size: 1rem;
}

.print-role__head p {
  font-size: 0.9rem;
  white-space: nowrap;
}

.print-role ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.print-role li + li {
  margin-top: 0.2rem;
}

.competencies-panel {
  display: grid;
  gap: 1.5rem;
}

.competencies-panel__heading {
  margin-bottom: 0;
}

.competencies-panel__description {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(248, 248, 242, 0.78);
}

.competencies-tags {
  gap: 0.9rem;
}

.details-grid {
  margin-top: 1.5rem;
}

.value-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-point {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
}

.value-point h3 {
  margin-bottom: 0.6rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading--center {
  text-align: center;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-group > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: rgba(248, 248, 242, 0.12);
  border: 1px solid rgba(248, 248, 242, 0.22);
  font-weight: 700;
  text-align: center;
}

.timeline-section {
  position: relative;
  padding: 2.5rem 0 1rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(109, 124, 86, 0.15),
    rgba(109, 124, 86, 0.7),
    rgba(109, 124, 86, 0.15)
  );
}

.timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.timeline-event::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper-strong);
  border: 4px solid var(--olive);
  box-shadow: 0 0 0 10px rgba(109, 124, 86, 0.08);
  z-index: 2;
}

.timeline-event__card {
  width: calc(100% - 3.5rem);
  min-height: 100%;
}

.timeline-event__card.panel {
  box-shadow: var(--shadow-soft);
}

.timeline-event--left .timeline-event__card {
  grid-column: 1;
  justify-self: start;
}

.timeline-event--right .timeline-event__card {
  grid-column: 2;
  justify-self: end;
}

.timeline-event__card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: rgba(109, 124, 86, 0.35);
}

.timeline-event--left .timeline-event__card::after {
  right: -24px;
}

.timeline-event--right .timeline-event__card::after {
  left: -24px;
}

.timeline-event__date {
  font-weight: 800;
  color: var(--text);
}

.timeline-event__label {
  display: inline-block;
  margin: 0.2rem 0 0.8rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive-deep);
  font-weight: 800;
}

.timeline-event__card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.timeline-event__card li + li {
  margin-top: 0.45rem;
}

.timeline-highlights {
  font-size: 0.95rem;
}

.more-button {
  margin-top: 1.2rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(109, 124, 86, 0.22);
  border-radius: 999px;
  background: rgba(109, 124, 86, 0.08);
  color: var(--olive-deep);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.more-button:hover,
.more-button:focus-visible {
  background: rgba(109, 124, 86, 0.16);
  transform: translateY(-1px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal.hidden {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 40, 31, 0.48);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(85vh, 900px);
  overflow: auto;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(252, 252, 248, 0.98), rgba(244, 247, 238, 0.98)),
    var(--paper-strong);
}

.modal__close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: rgba(109, 124, 86, 0.12);
  color: var(--olive-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.modal-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.modal-copy li + li {
  margin-top: 0.55rem;
}

.list-item,
.project-card {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.list-item:first-of-type,
.project-card:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.project-card h3 {
  margin-bottom: 0.35rem;
}

.project-card--first {
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 920px) {
  .hero,
  .hero__main,
  .positioning-grid,
  .competencies-panel,
  .details-grid,
  .details-stack,
  .timeline-event,
  .value-points {
    grid-template-columns: 1fr;
  }

  .hero__summary {
    grid-column: auto;
  }

  .hero__copy {
    padding: 2.4rem;
  }

  .hero__actions {
    justify-content: center;
    text-align: center;
  }

  h1 {
    max-width: none;
  }

  .timeline::before {
    left: 1rem;
    transform: none;
  }

  .timeline-event::before {
    left: 1rem;
    transform: translate(-50%, -50%);
  }

  .timeline-event__card {
    width: auto;
    margin-left: 2.5rem;
  }

  .timeline-event--left .timeline-event__card,
  .timeline-event--right .timeline-event__card {
    grid-column: 1;
    justify-self: stretch;
  }

  .timeline-event__card::after {
    left: -24px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.75rem;
  }

  .hero__copy,
  .hero__card,
  .panel {
    border-radius: var(--radius-lg);
    padding: 1.4rem;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: #ffffff;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .language-switcher,
  .page-shell > header,
  .page-shell > main,
  .site-footer,
  .modal {
    display: none !important;
  }

  .print-resume {
    display: block;
  }

  body,
  p,
  h1,
  h2,
  h3,
  strong,
  span,
  li {
    color: #111111 !important;
  }

  .print-resume__header,
  .print-grid {
    grid-template-columns: 2fr 1fr;
  }
}
