/* ==========================================================================
   Juliette Claassens - Bosveld — persoonlijke site
   Eén stylesheet, geen build, geen externe afhankelijkheden.
   ========================================================================== */

:root {
  --navy-900: #0f2247;
  --navy-800: #16305e;
  --navy-600: #1c418f;
  --navy-400: #4b6bb0;

  --ink:      #16233b;
  --body:     #3c4552;
  --muted:    #798394;

  --paper:    #ffffff;
  --slate:    #d5dbe5;
  --slate-in: #c3ccd9;   /* lijnen binnen de slate-band */
  --line:     #dfe3ea;

  --charcoal: #32373f;
  --charcoal-dark: #282c33;

  --wrap:     940px;
  --aside:    210px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-600); }
a:hover { color: var(--navy-800); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--navy-400);
  outline-offset: 3px;
}

/* ============================================================ navigatie */

.nav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 118px;
  background: var(--charcoal);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}

.nav a {
  display: block;
  padding: 20px 10px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.nav a + a { border-top: 1px solid rgba(255, 255, 255, .07); }
.nav a:hover { background: var(--charcoal-dark); color: #fff; }
.nav a.is-active { background: var(--navy-600); color: #fff; }

/* ============================================================ hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 45%, rgba(45, 90, 170, .40) 0%, rgba(45, 90, 170, 0) 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
}

/* Portret bloedt vanaf rechts het vlak in en vervaagt naar links weg, zodat de
   tekst leesbaar blijft. Duotoon via luminosity over het blauwe verloop. */
.hero__portrait {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 880px);
  background: url("../img/juliette-hero.jpg") no-repeat 46% top;
  background-size: cover;
  filter: grayscale(1) contrast(1.06);
  opacity: .38;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 52%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 52%, #000 100%);
  pointer-events: none;
}

/* Scrim over het portret: houdt de naam leesbaar waar de studio-achtergrond
   van de foto oplicht, ook op zeer brede schermen. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg,
              rgba(15, 34, 71, .78) 0%,
              rgba(15, 34, 71, .42) 42%,
              rgba(15, 34, 71, 0) 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.hero__name {
  margin: 0;
  font-size: clamp(34px, 6.4vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: #fff;
}

.hero__name-sep {
  display: inline-block;
  margin: 0 .38em;
  color: var(--navy-400);
  font-weight: 200;
}

.hero__rule {
  width: 92px;
  height: 2px;
  margin: 30px 0 26px;
  background: var(--navy-400);
}

.hero__role {
  margin: 0;
  font-size: clamp(13px, 1.7vw, 17px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .34em;
  color: rgba(255, 255, 255, .95);
}

.hero__meta {
  margin: 18px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .62);
  letter-spacing: .02em;
}

.hero__scroll {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 108px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: #fff;
  transition: background .18s ease;
}
.hero__scroll:hover { background: var(--charcoal-dark); color: #fff; }

.hero__scroll svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================ banden */

.band { padding: 92px 0 100px; }
.band--paper { background: var(--paper); }
.band--slate { background: var(--slate); }
.band--dark  { background: var(--charcoal); color: rgba(255, 255, 255, .72); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy-600);
}
.section-title--light { color: #fff; }

.section-lead {
  margin: 14px 0 0;
  text-align: center;
  font-size: 17px;
  color: var(--muted);
}

.hairline {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0 46px;
}
.band--slate .hairline { border-top-color: var(--slate-in); }
.hairline--light { border-top-color: rgba(255, 255, 255, .16); }

.sub-title {
  margin: 60px 0 26px;
  font-size: 26px;
  font-weight: 300;
  color: var(--navy-600);
  letter-spacing: -.005em;
}
.sub-title:first-of-type { margin-top: 0; }
.sub-title--tight { margin: 0 0 16px; font-size: 21px; }

/* ============================================================ profiel */

.profile {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

.profile__photo { margin: 0; }

.profile__photo img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(15, 34, 71, .16);
}

.profile__text p { margin: 0 0 18px; }
.profile__text p:last-of-type { margin-bottom: 0; }

.facts {
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  font-size: 15px;
}

.facts li { color: var(--ink); }

.facts span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 2px;
}

/* ============================================================ ervaring */

.entry {
  display: grid;
  grid-template-columns: var(--aside) 1fr;
  gap: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--slate-in);
}

.entry:first-of-type { border-top: 0; padding-top: 0; }

.entry__aside { padding-top: 2px; }

.entry__org {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

.entry__dates {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .01em;
}

.entry__role {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .005em;
}

.entry__body p { margin: 0 0 14px; }
.entry__body p:last-child { margin-bottom: 0; }

.entry--compact .entry__body p { margin-bottom: 8px; }

.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgba(28, 65, 143, .10);
  color: var(--navy-600);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  vertical-align: 2px;
}

.entry__meta {
  margin-top: 14px !important;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.entry__meta > * + *::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin-right: 14px;
  background: var(--slate-in);
  vertical-align: -1px;
}

.pin::after,
.via::after { content: ""; }

.pin {
  padding-left: 18px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231c418f'%3E%3Cpath d='M12 22s7-6.6 7-11.5A7 7 0 105 10.5C5 15.4 12 22 12 22zm0-9a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E") no-repeat 0 50%;
  background-size: 13px 13px;
  color: var(--navy-600);
}

.via { font-style: italic; }

/* ============================================================ vaardigheden */

/* Zelfde ritme als de ervaringsblokken: label in de linkerkolom, inhoud rechts. */
.skillset {
  display: grid;
  grid-template-columns: var(--aside) 1fr;
  gap: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.skillset:first-child { border-top: 0; padding-top: 0; }
.skillset:last-child { padding-bottom: 0; }

.skillset h3 {
  margin: 0;
  padding-top: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--navy-600);
}

.skillset ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skillset li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f7f9fc;
  font-size: 14px;
  color: var(--ink);
}

.split {
  margin-top: 64px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.lang {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.lang li:first-child { border-top: 1px solid var(--line); }
.lang span { color: var(--ink); }
.lang em { font-style: normal; color: var(--muted); }

/* ============================================================ contact */

.contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px 40px;
}

.contact li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}

.contact a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.contact a:hover { color: #fff; text-decoration: underline; }

.contact__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 2px;
}

.contact__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: rgba(255, 255, 255, .8);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.colophon {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .48);
  letter-spacing: .02em;
}

/* ============================================================ responsive */

@media (max-width: 1180px) {
  .nav {
    position: sticky;
    top: 0;
    right: auto;
    transform: none;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    background: var(--charcoal);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .16);
  }
  .nav a { padding: 15px 16px; font-size: 12px; flex: 0 1 auto; }
  .nav a + a { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .07); }

  .hero { min-height: calc(100svh - 50px); }
}

@media (max-width: 860px) {
  .band { padding: 68px 0 72px; }
  .wrap, .hero__inner { padding: 0 22px; }
  .hairline { margin: 34px 0 36px; }

  /* Smal scherm: een smalle kolom rechts zou te ver inzoomen op het portret.
     Het wordt hier een kop-vullende achtergrond die naar beneden wegvalt. */
  .hero__portrait {
    inset: 0 0 auto 0;
    width: 100%;
    height: 66%;
    background-position: center top;
    opacity: .32;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 100%);
  }
  /* Tekst staat hier onderaan, dus de scrim loopt van boven naar beneden mee. */
  .hero::after {
    background: linear-gradient(to bottom,
                rgba(15, 34, 71, .28) 0%,
                rgba(15, 34, 71, .52) 48%,
                rgba(15, 34, 71, .90) 100%);
  }

  .hero { align-items: flex-end; padding-bottom: 14vh; }

  .profile {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    text-align: left;
  }
  .profile__photo img { width: 180px; height: 180px; }

  .entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .entry__aside {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .entry__org { font-size: 17px; }
  .entry__dates { margin: 0; }

  .sub-title { margin: 46px 0 22px; }

  .skillset {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .skillset h3 { padding-top: 0; }
}

@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .hero__scroll { width: 76px; height: 60px; }
  .hero__name-sep { display: block; margin: .22em 0; font-size: .46em; }
}

/* ============================================================ print */

@media print {
  .nav, .hero__scroll, .hero__portrait { display: none !important; }

  body { font-size: 11pt; line-height: 1.45; color: #000; }

  .hero {
    min-height: 0;
    padding: 0 0 18pt;
    background: none;
    color: #000;
  }
  .hero__name { color: #000; font-size: 26pt; }
  .hero__name-sep { color: #666; }
  .hero__role { color: #000; letter-spacing: .2em; font-size: 11pt; }
  .hero__meta { color: #444; }
  .hero__rule { background: #1c418f; }

  .band {
    padding: 14pt 0 0;
    background: none !important;
    color: #000;
  }
  .band--dark { color: #000; }
  .section-title, .section-title--light { color: #1c418f; text-align: left; font-size: 16pt; }
  .section-lead { text-align: left; }

  .entry { break-inside: avoid; page-break-inside: avoid; }
  .contact a, .colophon { color: #000; }
  .contact__icon { display: none; }
  .skillset li { background: none; }
}
