/* DVLOP.WORK — shared stylesheet
   Tokens: warm off-white ground, near-black text, ginkgo green as
   the ONLY accent (never used for body text, headings or nav). */

:root{
  --bg:            #FAF9F4;
  --bg-alt:        #F2EFE6;
  --text:          #1B1F1A;
  --text-muted:    #4B5047;
  --line:          #DCD6C6;
  --green:         #3E7A34;
  --green-deep:    #1F3B18;
  --green-wash:    #EEF3EA;
  --focus:         #1F3B18;

  --font-display: "Libre Franklin", "Segoe UI", Arial, sans-serif;
  --font-body:    "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --content-w: 42rem;
  --wide-w: 64rem;
}

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

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

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Skip link ---------- */
.skip-link{
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--green-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  z-index: 100;
  transition: top 0.15s ease;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus{ top: 1rem; }

/* ---------- Focus visibility (WCAG) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3{
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1{ font-size: clamp(2rem, 5.5vw, 2.9rem); font-weight: 600; }
h2{ font-size: clamp(1.4rem, 3.6vw, 1.85rem); }
h3{ font-size: 1.15rem; font-weight: 600; }

p{ margin: 0 0 1.1em; max-width: 38em; }
p:last-child{ margin-bottom: 0; }

.lede{
  font-size: 1.2rem;
  color: var(--text);
  max-width: 34em;
}

a{ color: var(--text); text-decoration-thickness: from-font; }
a:not(.plain-link){ text-underline-offset: 0.15em; }

.text-link{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  font-weight: 600;
}
.text-link:hover{ text-decoration-color: var(--text); }

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.9em;
}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.wrap-wide{
  max-width: var(--wide-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section{ padding-block: clamp(3rem, 8vw, 5.5rem); }
.section-alt{ background: var(--bg-alt); }

.stack > * + *{ margin-top: 1rem; }

/* ---------- Header ---------- */
.site-header{
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap-wide{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.brand{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}
.brand img{ height: 40px; width: auto; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--green-deep);
}
.brand-word .dot{ color: var(--green); }

nav.primary-nav ul{
  list-style: none;
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.primary-nav a{
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  padding: 0.25rem 0.05rem;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover{ border-bottom-color: var(--green); }
nav.primary-nav a[aria-current="page"]{ border-bottom-color: var(--green-deep); }

/* ---------- Hero ---------- */
.hero{
  padding-block: clamp(3.5rem, 10vw, 7rem) clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero-leaf{
  position: absolute;
  right: -4rem;
  top: -3rem;
  width: clamp(9rem, 22vw, 15rem);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}
.hero .wrap{ position: relative; z-index: 1; }
.hero h1{ max-width: 16em; }
.hero .lede{ margin-top: 1.1rem; color: var(--text-muted); }

/* ---------- Three areas (Richting / Organisatie / Leiderschap) ---------- */
.areas{
  display: grid;
  gap: clamp(2rem, 5vw, 2.75rem);
}
.area-item{
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
}
.area-item:first-child{ border-top: none; padding-top: 0; }
.area-item h3{
  color: var(--green-deep);
  margin-bottom: 0.5em;
}

@media (min-width: 46rem){
  .areas{ grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .area-item{ border-top: none; padding-top: 0; border-left: 1px solid var(--line); padding-left: 1.75rem; }
  .area-item:first-child{ border-left: none; padding-left: 0; }
}

/* ---------- Track record (home teaser) ---------- */
.track-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.track-list li{
  padding-left: 1.15rem;
  border-left: 2px solid var(--green);
}
.track-list p{ margin: 0.25rem 0 0; color: var(--text-muted); }
.track-list .track-label{
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

/* ---------- Working method ---------- */
.method-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}
.method-list h3{ margin-bottom: 0.35em; }
.method-list p{ color: var(--text-muted); margin: 0; }

/* ---------- Person / bio block ---------- */
.person{
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 42rem){
  .person{ grid-template-columns: 220px 1fr; gap: 2.75rem; }
}
.person-portrait{
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.person-portrait-placeholder{
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* ---------- Ervaring page: category blocks ---------- */
.category{
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.category:first-of-type{ border-top: none; padding-top: 0; }
.case{ margin-top: 1.5rem; }
.case:first-child{ margin-top: 1.75rem; }
.case h3{ font-size: 1.05rem; margin-bottom: 0.3em; }
.case p{ color: var(--text-muted); }

/* ---------- Over page: theme list ---------- */
.theme-list{
  columns: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 36rem){
  .theme-list{ grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
.theme-list li{
  padding-left: 1.1rem;
  position: relative;
  color: var(--text-muted);
}
.theme-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ---------- Divider with leaf mark ---------- */
.leaf-divider{
  display: flex;
  justify-content: center;
  margin-block: clamp(2.5rem, 6vw, 4rem);
}
.leaf-divider svg{ width: 28px; height: 28px; opacity: 0.75; }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  background: var(--bg-alt);
}
.footer-grid{
  display: grid;
  gap: 2rem;
}
@media (min-width: 40rem){
  .footer-grid{ grid-template-columns: 1.2fr 1fr; }
}
.site-footer h2{ font-size: 1.05rem; margin-bottom: 0.6em; }
.footer-contact p{ margin: 0 0 0.35em; color: var(--text-muted); }
.footer-contact a{ color: var(--text); font-weight: 600; }
.footer-legal{
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.placeholder{
  background: #FCE9C9;
  padding: 0.05em 0.35em;
  border-radius: 2px;
  color: #1B1F1A;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- Print niceties (optional, harmless) ---------- */
@media print{
  .site-header, .site-footer{ break-inside: avoid; }
}
