/*
 * The cv of Elwyn de Neve, in the Nachtblauw of ai-builderstudio.com: night-blue bands and
 * light paper bands, Manrope, and orange only as the small brand tile beside a label.
 * The colours, sizes and the lit button follow app/globals.css of the studio's site.
 * The build fills in the address of the font file, which carries a hash of its contents.
 */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/manrope-latin.a30ddcd349.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  /* Dark bands */
  --night: #0B1526;
  --night-2: #162030;
  --night-3: #1D2A3E;
  --mist: #E6EAF2;
  --mist-2: #AEB8CC;

  /* Light bands */
  --paper: #F2F4F8;
  --white: #FFFFFF;
  --navy: #0B1526;
  --navy-2: #474F5D;
  --navy-3: #5E6675;

  /* Accent and brand */
  --sky: #5AB0FF;
  --sky-hover: #7CC0FF;
  --sky-light: #8AC6FF;
  --sky-lighter: #ADD7FF;
  --sky-deep: #2F5E8C;
  --signal: #ED5A47;
  --linkedin: #0A66C2;

  /* Lines and light */
  --line-dark: rgb(230 234 242 / 0.12);
  --line-dark-strong: rgb(230 234 242 / 0.4);
  --line-dark-hover: rgb(230 234 242 / 0.8);
  --line-light: rgb(11 21 38 / 0.12);
  --glow: rgb(90 176 255 / 0.13);
  --btn-top: rgb(255 255 255 / 0.35);
  --btn-bottom: rgb(0 0 0 / 0.2);
  --btn-contact: rgb(0 0 0 / 0.4);
  --btn-glow: rgb(90 176 255 / 0.6);

  --shadow-window: 0 40px 80px -24px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(230 234 242 / 0.1);
  --shadow-float: 0 28px 60px -18px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(230 234 242 / 0.1);
  --shadow-soft: 0 40px 70px -30px rgb(11 21 38 / 0.45);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-card: 10px;
  --radius-window: 12px;
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 18px; } }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--sky); color: var(--navy); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.light :focus-visible { outline-color: var(--sky-deep); }

/* Only for a screen reader. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 20;
  border-radius: 6px; background: var(--sky); color: var(--navy);
  padding: 8px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* Page width: 1200px of content, 16px gutter on a phone, 32px from a tablet. */
.wrap {
  width: 100%; max-width: 1264px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* Bands: 80px on a phone, 112px from a tablet. */
.band { padding-block: 80px; }
@media (min-width: 768px) { .band { padding-block: 112px; } }
.band--paper { background: var(--paper); color: var(--navy); }
.band--white { background: var(--white); color: var(--navy); }
.band--night { background: var(--night); color: var(--mist); }
.band--panel { background: var(--night-2); color: var(--mist); }

h2 { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 768px) { h2 { font-size: 44px; } }

.eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; font-weight: 600; line-height: 1.375;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; flex: none; margin-top: 5px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--signal);
}
@media (min-width: 768px) {
  .eyebrow { gap: 12px; font-size: 13px; }
  .eyebrow::before { width: 8px; height: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 6px; padding: 12px 24px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: border-color 150ms;
}
.btn--primary {
  color: var(--navy);
  background: linear-gradient(var(--sky-light), var(--sky));
  box-shadow: inset 0 1px 0 var(--btn-top), inset 0 -2px 0 var(--btn-bottom), 0 1px 2px var(--btn-contact), 0 8px 24px -6px var(--btn-glow);
  transition: box-shadow 150ms var(--ease-enter), translate 150ms var(--ease-enter);
}
.btn--primary:hover { background: linear-gradient(var(--sky-lighter), var(--sky-hover)); }
.btn--primary:active { translate: 0 1px; box-shadow: inset 0 2px 4px var(--btn-contact); }
.btn--outline-light { border-color: var(--line-dark-strong); background: transparent; color: var(--mist); }
.btn--outline-light:hover { border-color: var(--line-dark-hover); }
.btn--small { min-height: 44px; padding: 10px 16px; font-size: 15px; }
@media (max-width: 400px) { .btn { padding-inline: 14px; } }
@media (prefers-reduced-motion: reduce) { .btn, .btn--primary { transition: none; } }

.mark {
  display: grid; flex: none; place-items: center; width: 20px; height: 20px;
  border-radius: 4px; background: var(--linkedin); color: var(--white);
}
.mark svg { width: 14px; height: 14px; fill: currentColor; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; text-underline-offset: 4px;
}
.arrow-link:hover { text-decoration: underline; }
.arrow-link svg { flex: none; }

/* ---------- Header and hero ---------- */
/* The header stands on the hero: the hero's light runs on behind it. */
.top-band { position: relative; z-index: 1; --top: 112px; min-height: var(--top); }
@media (min-width: 960px) { .top-band { --top: 68px; } }
.top { display: flex; flex-wrap: wrap; min-height: 68px; align-items: center; justify-content: space-between; column-gap: 24px; }
.top__name { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; text-decoration: none; }
@media (min-width: 768px) { .top__name { font-size: 19px; } }
/* On a phone and a tablet the parts of the cv stand in a row under the name; from a laptop beside it. */
.top__nav { order: 3; display: flex; flex: 0 0 100%; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; }
.top__nav a {
  display: inline-block; padding-block: 11px;
  font-size: 14px; font-weight: 600; color: var(--mist-2); text-decoration: none;
  transition: color 150ms;
}
@media (max-width: 374px) { .top__nav a { font-size: 13px; } }
@media (min-width: 480px) {
  .top__nav { justify-content: flex-start; column-gap: 24px; }
  .top__nav a { padding-block: 10px; font-size: 15px; }
}
.top__nav a:hover { color: var(--mist); }
.top__cta { display: none; }
@media (min-width: 480px) { .top__cta { display: inline-flex; } }
@media (min-width: 960px) { .top__nav { order: 0; flex: 0 1 auto; column-gap: 32px; } }

.hero {
  background: radial-gradient(60% 70% at 82% 46%, var(--glow) 0%, transparent 70%), var(--night);
  overflow: clip; margin-top: -112px; padding-top: 112px; padding-bottom: 80px;
}
@media (min-width: 768px) { .hero { padding-bottom: 112px; } }
@media (min-width: 960px) { .hero { margin-top: -68px; padding-top: 68px; } }
.hero__grid { display: grid; align-items: center; gap: 56px; padding-top: 32px; }
@media (min-width: 768px) { .hero__grid { padding-top: 56px; } }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero__text { min-width: 0; }
.hero .eyebrow { color: var(--mist-2); }
h1 { margin-top: 20px; max-width: 20ch; font-size: 36px; line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.hero__role { margin-top: 14px; font-size: 19px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.hero__lead { margin-top: 20px; max-width: 34rem; font-size: 18px; line-height: 1.6; color: var(--mist-2); }
/* On a phone the first button takes the row and the two quieter ones share the next, so the portrait comes sooner. */
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__actions .btn--primary { flex-basis: 100%; }
@media (max-width: 639px) { .hero__actions .btn--outline-light { padding-inline: 14px; font-size: 15px; } }
@media (min-width: 640px) { .hero__actions .btn, .hero__actions .btn--primary { flex: 0 0 auto; } }
@media (min-width: 768px) {
  h1 { margin-top: 28px; font-size: clamp(40px, 4vw, 56px); }
  .hero__role { margin-top: 16px; font-size: 21px; }
  .hero__lead { margin-top: 24px; font-size: 20px; }
  .hero__actions { margin-top: 44px; }
}

.portrait { position: relative; width: 100%; max-width: 400px; justify-self: center; }
@media (min-width: 1024px) { .portrait { justify-self: end; } }
.portrait__img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-window); background: var(--night-3); box-shadow: var(--shadow-window);
}
.portrait__card {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  border-radius: var(--radius-card); background: var(--night-2);
  padding: 14px 18px 15px; box-shadow: var(--shadow-float);
}
.portrait__card .eyebrow { color: var(--mist-2); }
.portrait__card strong { display: block; margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.portrait__card span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--mist-2); }
@media (min-width: 1024px) { .portrait__card { left: -32px; bottom: 32px; } }

/* ---------- Profiel ---------- */
.split { display: grid; gap: 24px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.split > * { min-width: 0; }
.split .eyebrow { margin-bottom: 20px; color: var(--navy-3); }
.prose { display: grid; gap: 16px; max-width: 36em; font-size: 18px; line-height: 1.625; color: var(--navy-2); }
@media (min-width: 768px) { .prose { font-size: 19px; } }

.facts { margin-top: 32px; max-width: 36em; border-top: 1px solid var(--line-light); }
.facts > div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px;
  border-bottom: 1px solid var(--line-light); padding-block: 14px;
  font-size: 16px; line-height: 1.5;
}
.facts dt { font-weight: 600; color: var(--navy-3); }
/* The padding makes the link 40px high to tap; the negative margin keeps the row as it was. */
.facts dd a { display: inline-block; margin-block: -8px; padding-block: 8px; font-weight: 600; text-underline-offset: 4px; color: var(--sky-deep); }
.facts dd a + a { margin-left: 16px; }

.triad { margin-top: 56px; display: grid; gap: 32px; }
@media (min-width: 900px) { .triad { margin-top: 80px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.triad li { min-width: 0; border-top: 2px solid var(--navy); padding-top: 20px; }
.triad h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.triad p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--navy-2); }

/* ---------- Werkervaring ---------- */
.now {
  border-radius: var(--radius-window);
  background: radial-gradient(70% 90% at 100% 0%, var(--glow) 0%, transparent 70%), var(--night);
  color: var(--mist); padding: 28px 20px 24px; box-shadow: var(--shadow-soft);
  display: grid; gap: 32px;
}
@media (min-width: 768px) { .now { padding: 48px; } }
@media (min-width: 1024px) { .now { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; } }
.now > * { min-width: 0; }
.now .eyebrow { color: var(--mist-2); }
.now :focus-visible { outline-color: var(--sky); }
.now__brand { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.now__brand img { width: 36px; height: 36px; border-radius: 8px; }
.now__brand span { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.now h3 { margin-top: 20px; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 768px) { .now h3 { font-size: 30px; } }
.now__text { margin-top: 14px; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--mist-2); }
.now .arrow-link { margin-top: 24px; color: var(--sky); }
.now__label { font-size: 15px; font-weight: 600; color: var(--mist-2); }
.services { margin-top: 14px; display: grid; gap: 10px; }
@media (min-width: 560px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.services a {
  display: flex; height: 100%; min-height: 60px; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--line-dark); border-radius: var(--radius-card); background: var(--night-2);
  padding: 14px 18px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  text-decoration: none; transition: border-color 150ms;
}
.services a:hover { border-color: var(--line-dark-strong); }
.services svg { flex: none; color: var(--sky); }

/* The current role opens the list as a card; the first earlier job needs no line under it, and room for its shadow. */
.jobs { margin-top: 48px; }
@media (min-width: 768px) { .jobs { margin-top: 56px; } }
.job { display: grid; gap: 10px; border-top: 1px solid var(--line-light); padding-block: 36px; }
.now-item + .job { border-top: 0; padding-top: 56px; }
.job:last-child { padding-bottom: 0; }
.job > * { min-width: 0; }
@media (min-width: 900px) {
  .job { grid-template-columns: 9.5rem minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding-block: 44px; }
}
.when {
  font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy-3); font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (min-width: 900px) { .job .when { padding-top: 5px; } }
.job h3 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
.job__org { margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--navy-2); }
.job__body { max-width: 36em; font-size: 17px; line-height: 1.6; color: var(--navy-2); }
.job__body ul { margin-top: 14px; display: grid; gap: 8px; }
.job__body li { position: relative; padding-left: 20px; }
.job__body li::before {
  content: ""; position: absolute; left: 2px; top: 0.68em;
  width: 6px; height: 6px; border-radius: 1.5px; background: var(--sky-deep);
}

/* ---------- Opleiding en cursussen ---------- */
.learn { margin-top: 48px; display: grid; gap: 56px; }
@media (min-width: 1024px) { .learn { margin-top: 56px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }
.learn > * { min-width: 0; }
.learn h3 { border-bottom: 2px solid var(--navy); padding-bottom: 14px; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
.course { display: grid; gap: 6px; border-bottom: 1px solid var(--line-light); padding-block: 22px; }
@media (min-width: 560px) {
  .course { grid-template-columns: 8.25rem minmax(0, 1fr); gap: 16px; }
  .course .when { padding-top: 3px; }
}
.course strong { display: block; font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.course__school { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--navy-2); }
.course p:not(.when) { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--navy-2); }

/* ---------- Vaardigheden en talen ---------- */
.skills { display: grid; }
.skills > div { display: grid; gap: 12px; border-top: 1px solid var(--line-light); padding-block: 24px; }
.skills > div:first-child { border-top: 0; padding-top: 0; }
.skills > div:last-child { padding-bottom: 0; }
@media (min-width: 640px) { .skills > div { grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; } }
.skills h3 { font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .skills h3 { padding-top: 6px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  border: 1px solid var(--line-light); border-radius: 6px; background: var(--paper);
  padding: 6px 12px; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--navy);
}

/* ---------- Referentie ---------- */
.quote h2 { color: var(--mist-2); }
.quote blockquote { margin-top: 28px; max-width: 26em; font-size: 23px; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 768px) { .quote blockquote { margin-top: 36px; font-size: 30px; line-height: 1.4; } }
.quote figcaption { margin-top: 28px; font-size: 16px; line-height: 1.5; color: var(--mist-2); }
.quote figcaption strong { display: block; font-size: 17px; font-weight: 700; color: var(--mist); }

/* ---------- Afsluiter en voet ---------- */
.cta { display: grid; align-items: end; gap: 32px; }
@media (min-width: 1024px) { .cta { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; } }
.cta > * { min-width: 0; }
.cta__text { max-width: 40rem; }
.cta__text p { margin-top: 20px; font-size: 18px; line-height: 1.625; color: var(--mist-2); }
@media (min-width: 768px) { .cta__text p { font-size: 20px; } }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .cta__actions { flex-direction: row; flex-wrap: wrap; } }

.foot { border-top: 1px solid var(--line-dark); padding-block: 36px; font-size: 15px; line-height: 1.6; color: var(--mist-2); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot__brand { display: flex; align-items: center; gap: 12px; color: var(--mist); text-decoration: none; }
.foot__brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot__brand span { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot__links a { display: inline-block; padding-block: 8px; font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.foot__links a:hover { color: var(--mist); text-decoration: underline; }

/* ---------- Een adres dat niet bestaat ---------- */
.lost { display: grid; min-height: 100svh; place-items: center; padding-block: 80px; }
.lost h1 { margin-top: 20px; }
.lost p:not(.eyebrow) { margin-top: 20px; max-width: 30rem; font-size: 18px; color: var(--mist-2); }
.lost .btn { margin-top: 32px; }
.lost .eyebrow { color: var(--mist-2); }

/*
 * On paper: one light look. A browser prints no backgrounds, so the night bands turn white and
 * their text dark; what you can only click stays off the page. The pdf behind the button is the
 * designed version.
 */
@media print {
  :root {
    color-scheme: light;
    --night: #FFFFFF; --night-2: #FFFFFF; --night-3: #FFFFFF; --paper: #FFFFFF;
    --mist: #0B1526; --mist-2: #474F5D; --sky: #2F5E8C;
    --glow: transparent;
    --line-dark: rgb(11 21 38 / 0.12); --line-dark-strong: rgb(11 21 38 / 0.4);
    --shadow-window: none; --shadow-float: none; --shadow-soft: none;
  }
  body { font-size: 11pt; }
  .skip, .top__nav, .top__cta, .hero__actions, .band--panel, .now .arrow-link, .foot__links { display: none; }
  .hero { margin-top: 0; padding-top: 0; padding-bottom: 24pt; }
  .now-item + .job { padding-top: 22pt; }
  .band { padding-block: 22pt; }
  .hero__grid { grid-template-columns: 1.6fr 0.6fr; gap: 24pt; padding-top: 12pt; }
  .portrait__card { display: none; }
  .now { border: 1px solid var(--line-dark); padding: 16pt; }
  .triad, .jobs, .learn { margin-top: 18pt; }
  .top-band { min-height: 0; }
  .job, .course, .triad li, .now, .quote { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
