/* =========================================================
   Datawijs met Thijs — site styles
   Built on the "Datawijs met Thijs" design system.
   Tokens & component conventions from colors_and_type.css
   and the landing-handoff reference.
   ========================================================= */

@import url('fonts.css');

:root {
  /* ---------- Brand palette ---------- */
  --dmt-amber:      #F2B969;
  --dmt-ink:        #1D0C0C;
  --dmt-cream:      #FAF7F1;
  --dmt-slate:      #76716C;
  --dmt-white:      #FFFFFF;

  /* amber scale */
  --dmt-amber-50:   #FBEBC9;
  --dmt-amber-100:  #F8DDA8;
  --dmt-amber-200:  #F5CD87;
  --dmt-amber-300:  #F2B969;
  --dmt-amber-400:  #E5A34B;
  --dmt-amber-500:  #C98634;
  --dmt-amber-600:  #9E6621;
  --dmt-amber-700:  #6E4614;

  /* ink scale */
  --dmt-ink-900:    #1D0C0C;
  --dmt-ink-700:    #3A2726;
  --dmt-ink-600:    #4A4644;
  --dmt-ink-500:    #76716C;
  --dmt-ink-300:    #B8B0AC;
  --dmt-ink-100:    #E8E1D8;
  --dmt-ink-50:     #F3ECE0;

  /* surfaces */
  --bg-page:        var(--dmt-cream);
  --bg-card:        var(--dmt-white);
  --bg-inverse:     var(--dmt-ink);
  --bg-subtle:      var(--dmt-ink-50);

  /* foreground */
  --fg-1:           var(--dmt-ink);
  --fg-2:           var(--dmt-slate);
  --fg-3:           var(--dmt-ink-300);
  --fg-body:        #3A2726;
  --fg-on-inverse:  var(--dmt-cream);
  --fg-link:        var(--dmt-ink);
  --fg-link-hover:  var(--dmt-amber-500);

  /* borders */
  --border-subtle:  #EDE4D3;
  --border-default: #DCD1BC;

  /* signals */
  --signal-positive:#3F7D4E;

  /* type */
  --font-display: 'Saira', 'Arial Narrow', sans-serif;
  --font-sans:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --fw-heading:   500;

  --fs-display:   64px;
  --fs-h1:        48px;
  --fs-h2:        40px;
  --fs-h3:        26px;
  --fs-h4:        20px;
  --fs-lead:      20px;
  --fs-body:      17px;
  --fs-small:     15px;
  --fs-micro:     13px;
  --fs-label:     12px;

  --lh-tight:  1.13;
  --lh-snug:   1.3;
  --lh-body:   1.65;

  --tracking-tight:  -0.02em;
  --tracking-wide:   0.09em;

  /* spacing */
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  /* radii */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-pill: 999px;

  /* elevation */
  --shadow-sm:  0 1px 2px rgba(29, 12, 12, 0.06);
  --shadow-md:  0 4px 12px rgba(29, 12, 12, 0.08);
  --shadow-lg:  0 12px 32px rgba(29, 12, 12, 0.10);
  --shadow-xl:  0 24px 60px rgba(29, 12, 12, 0.14);

  /* motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;

  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-heading);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
  margin: 0;
}

p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section { padding: var(--space-9) 0; }
.section--cream   { background: var(--dmt-cream); }
.section--white   { background: var(--dmt-white); }
.section--oat     { background: var(--dmt-ink-50); }
.section--ink     { background: var(--dmt-ink); color: var(--fg-on-inverse); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--dmt-cream); }

.measure { max-width: 66ch; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--dmt-amber-500);
  margin: 0 0 18px;
}

.h-display { font-size: var(--fs-display); line-height: 1.08; letter-spacing: -0.025em; }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--fg-2);
  max-width: 60ch;
}
.section--ink .lead { color: #CDBFA8; }

.body-text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--fg-body); }

.amber-mark {
  background: linear-gradient(180deg, transparent 58%, var(--dmt-amber-200) 58%);
  padding: 0 0.06em;
}

/* ---------- Inline glossary term (click to reveal a short explainer) ---------- */
.term { position: relative; display: inline; }
.term__btn {
  font: inherit;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  color: var(--dmt-amber-600);
  border-bottom: 1.5px dotted var(--dmt-amber-400);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.term__btn:hover { color: var(--dmt-amber-500); border-bottom-color: var(--dmt-amber-500); }
.term__caret {
  display: inline-block;
  font-size: 0.62em;
  margin-left: 0.3em;
  vertical-align: 0.12em;
  transition: transform var(--dur-fast) var(--ease-out);
}
.term.is-open .term__caret { transform: rotate(180deg); }

.term__pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  width: 330px;
  max-width: min(90vw, 360px);
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(29, 12, 12, 0.14);
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              visibility var(--dur-fast);
}
.term__pop--right { left: auto; right: 0; }
.term.is-open .term__pop { opacity: 1; visibility: visible; transform: translateY(0); }
.term__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--fg-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.term__close:hover { background: var(--dmt-amber-50); color: var(--dmt-ink); }
.term__pop-label {
  display: block;
  margin-bottom: 7px;
  padding-right: 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--dmt-amber-500);
}
.term__pop-body {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-body);
}
@media (max-width: 620px) {
  /* On phones the term sits mid-paragraph, so an inline-anchored callout can spill
     off either edge. Pin it to the bottom of the viewport instead, always in view. */
  .term__pop,
  .term__pop--right {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 16px;
    width: auto;
    max-width: none;
    transform: translateY(8px);
  }
}

/* ---------- Links ---------- */
.text-link {
  font-weight: 500;
  border-bottom: 2px solid rgba(29, 12, 12, 0.25);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.text-link:hover { color: var(--dmt-amber-500); border-color: var(--dmt-amber-500); }
.section--ink .text-link { color: var(--dmt-cream); border-color: rgba(250,247,241,0.3); }
.section--ink .text-link:hover { color: var(--dmt-amber); border-color: var(--dmt-amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  text-align: center;
}

/* Primary CTA — amber fill with a soft donker-amber offset shadow (no harsh border) */
.btn--cta {
  background: var(--dmt-amber);
  color: var(--dmt-ink);
  padding: 15px 26px;
  border-radius: 14px;
  border: 2px solid var(--dmt-amber);
  box-shadow: 5px 5px 0 var(--dmt-amber-500);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.btn--cta:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--dmt-amber-500); background: var(--dmt-amber-400); border-color: var(--dmt-amber-400); }
.btn--cta:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--dmt-amber-500); }

/* Secondary ghost button */
.btn--ghost {
  background: transparent;
  color: var(--dmt-ink);
  padding: 13px 22px;
  border: 2px solid var(--border-default);
}
.btn--ghost:hover { border-color: var(--dmt-ink); }

.btn--full { width: 100%; justify-content: center; }

/* ---------- Header / glass nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 11px 14px 11px 22px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(29, 12, 12, 0.10);
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: 18px; }
.nav__links a { font-size: 14px; color: var(--dmt-ink); transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--dmt-amber-500); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav__pill {
  background: var(--dmt-amber);
  color: var(--dmt-ink);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--dmt-amber);
  box-shadow: 3px 3px 0 var(--dmt-amber-500);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.nav__pill:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--dmt-amber-500); background: var(--dmt-amber-400); border-color: var(--dmt-amber-400); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 78% at 18% 118%, var(--dmt-amber-100) 0%, rgba(248, 221, 168, 0) 50%), var(--dmt-cream);
}
.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 43vw;
  min-width: 430px;
  z-index: 1;
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--dmt-cream) 0%, rgba(250,247,241,0.55) 8%, rgba(250,247,241,0) 26%),
    linear-gradient(180deg, rgba(29,12,12,0) 60%, rgba(29,12,12,0.14) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 32px 110px;
}
.hero__content { max-width: 600px; }
.hero__content .h-display { margin: 0 0 24px; }
.hero__content .lead { color: var(--fg-body); margin-bottom: 32px; max-width: 52ch; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__proof {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  color: var(--dmt-slate);
}

/* page hero (no photo bleed) for inner pages */
.page-hero { padding: 80px 0 56px; }
.page-hero .h1 { margin-bottom: 20px; }

/* ---------- Logobar ---------- */
.logobar { padding: var(--space-8) 0; background: var(--dmt-white); }
.logobar__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--dmt-slate);
  text-align: center;
  margin: 0 0 var(--space-6);
}
.logobar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 40px;
}
.logobar__row img {
  height: 116px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.logobar__row img:hover { opacity: 1; filter: grayscale(0%); }

/* ---------- Section header ---------- */
.section-head { margin-bottom: var(--space-7); }
.section-head .h2 { max-width: 22ch; }
.section-head .lead { margin-top: 14px; }
.section-head--split {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--dmt-white);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px 28px;
}
.card__num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--dmt-amber-500);
  margin: 0 0 20px;
}
.card .h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 10px; }
.card__body { font-size: 15px; line-height: 1.6; color: var(--fg-body); margin: 0; }

/* Clickable project card */
.case-card {
  background: var(--dmt-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.case-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.case-card__logo { height: 72px; width: auto; align-self: flex-start; object-fit: contain; margin-bottom: 4px; }
.case-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dmt-amber-600);
  background: var(--dmt-amber-50);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.case-card .h3 { font-weight: 600; font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; margin: 0; min-height: 2.4em; }
.case-card__body { font-size: 15px; line-height: 1.62; color: var(--fg-body); margin: 0; }
.case-card__more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--dmt-amber-600);
  letter-spacing: 0.03em;
}

/* Projecten-overzicht: 3-up, laatste rij gecentreerd (staggered offset, geen wees-card) */
.case-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.case-grid > .case-card { flex: 0 1 calc((100% - 56px) / 3); min-width: 0; }
@media (max-width: 980px) {
  .case-grid > .case-card { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 620px) {
  .case-grid > .case-card { flex-basis: 100%; }
}

/* ---------- Flywheel ---------- */
.flywheel-wrap { display: grid; grid-template-columns: 0.68fr 1.32fr; gap: 40px; align-items: start; }
.flywheel-intro { max-width: 40ch; }
.flywheel-intro .body-text { margin-top: 16px; }
.flywheel-diagram { padding: 0; min-width: 0; }
.flywheel { display: block; width: 100%; height: auto; margin: 0 auto; overflow: visible; }
.vw-node {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
  background: var(--dmt-amber);
  border: 1px solid var(--dmt-amber-600);
  border-radius: 50%;
  color: var(--dmt-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}
.vw-label {
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--fg-2);
}
.vw-label--center { justify-content: center; text-align: center; }
.vw-label--left   { justify-content: flex-start; text-align: left; }
.vw-label--right  { justify-content: flex-end; text-align: right; }

/* ---------- Testimonials carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform 460ms var(--ease-out);
}
.carousel__slide {
  flex: 0 0 74%;
  padding: 8px 14px;
  opacity: 0.4;
  transition: opacity 460ms var(--ease-out);
}
.carousel__slide.is-active { opacity: 1; }
.quote-card {
  margin: 0; /* reset the UA <figure> default (margin: 1em 40px) that squeezed the card on mobile */
  background: var(--dmt-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.quote-card__theme {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dmt-amber-600);
  background: var(--dmt-amber-50);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.quote-card__pull {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.quote-card__text { font-size: 17px; line-height: 1.7; color: var(--fg-body); margin: 0 0 28px; }
.quote-card__person { display: flex; align-items: center; gap: 16px; }
.quote-card__avatar {
  width: 52px; height: 52px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  background: var(--dmt-ink-50);
}
.avatar-fallback {
  width: 52px; height: 52px;
  border-radius: var(--radius-pill);
  background: var(--dmt-amber);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.quote-card__meta strong { font-weight: 600; display: block; font-size: 15px; }
.quote-card__meta span { font-size: 14px; color: var(--dmt-slate); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel__btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--dmt-ink);
  background: var(--dmt-white);
  color: var(--dmt-ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.carousel__btn:hover { background: var(--dmt-ink); color: var(--dmt-cream); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--dmt-ink-300);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast), width var(--dur-fast);
}
.carousel__dot.is-active { background: var(--dmt-amber-500); width: 22px; }

/* ---------- Reasons (waarom met mij werken) ---------- */
.reason { padding: 0; }
.reason__title { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 0 0 10px; letter-spacing: -0.01em; }
.reason__body { font-size: 16px; line-height: 1.62; color: var(--fg-body); margin: 0; }

/* ---------- Case detail ---------- */
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.case-body h2 { font-size: 26px; margin: 40px 0 14px; }
.case-body p { font-size: 17px; line-height: 1.7; color: var(--fg-body); margin: 0 0 16px; max-width: 62ch; }
.notendop {
  background: var(--dmt-amber-50);
  border-left: 3px solid var(--dmt-amber);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 0 0 8px;
}
.notendop__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dmt-amber-600);
  margin: 0 0 8px;
}
.notendop p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--fg-body); }

.case-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.aside-quote {
  background: var(--dmt-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.aside-quote__text { font-size: 15px; line-height: 1.6; color: var(--fg-body); margin: 0 0 16px; }
.aside-quote__person { display: flex; align-items: center; gap: 12px; }
.aside-quote__avatar { width: 40px; height: 40px; border-radius: var(--radius-pill); object-fit: cover; }
.aside-quote__meta strong { display: block; font-weight: 600; font-size: 14px; }
.aside-quote__meta span { font-size: 12px; color: var(--dmt-slate); }
.case-tag-big {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dmt-amber-600);
  background: var(--dmt-amber-50);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.back-link {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--dmt-slate);
  letter-spacing: 0.03em;
}
.back-link:hover { color: var(--dmt-amber-500); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-field .req { color: var(--dmt-amber-600); }
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--fg-1);
  background: var(--dmt-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--dmt-amber);
  box-shadow: 0 0 0 3px rgba(242, 185, 105, 0.25);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--dmt-slate); margin-top: 14px; }
.form-status { font-size: 14px; margin-top: 14px; }

.contact-card {
  background: var(--dmt-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 20px; margin: 0 0 16px; }
.contact-detail { font-size: 16px; line-height: 1.7; color: var(--fg-body); margin: 0 0 20px; }
.contact-detail a:hover { color: var(--dmt-amber-500); }
.contact-aside h3 { font-size: 20px; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.about-portrait { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.about-portrait img { width: 100%; height: auto; }
.identity-line {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--dmt-slate);
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}
.about-bio p { font-size: 17px; line-height: 1.75; color: var(--fg-body); margin: 0 0 18px; max-width: 60ch; }
.reasons-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.reasons-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.reasons-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reasons-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }

/* Home "waarom met mij werken": kaarten links (leidend), foto rechts (ondersteunend) */
.reasons-media { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: stretch; }
.reasons-cards { display: grid; gap: 20px; align-content: start; }

/* Contact: foto rechts, sticky zodat 'ie meeloopt naast het formulier */
.contact-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-photo img { display: block; width: 100%; height: auto; }
.contact-aside .contact-photo { aspect-ratio: 4 / 5; }
.contact-aside .contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.reasons-list li {
  background: var(--dmt-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.reasons-list strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; }

/* ---------- Canvas preview (werkwijze) ---------- */
.canvas-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.canvas-thumb {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: var(--dmt-cream);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.canvas-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.canvas-thumb img { display: block; width: 100%; height: auto; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 24ch; margin: 0 auto 18px; }
.cta-band .lead { margin: 0 auto 38px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dmt-ink); color: var(--dmt-cream); }
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__logo img { height: 26px; width: auto; }
.site-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__nav a { font-size: 14px; color: var(--dmt-cream); transition: color var(--dur-fast); }
.site-footer__nav a:hover { color: var(--dmt-amber); }
.site-footer__meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: #9C8C6E;
  letter-spacing: 0.03em;
}
.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9C8C6E;
  flex-shrink: 0;
  transition: color var(--dur-fast);
}
.site-footer__social:hover,
.site-footer__social:focus-visible { color: var(--dmt-amber); }
.site-footer__social svg { width: 22px; height: 22px; display: block; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --fs-display: 40px; --fs-h1: 36px; --fs-h2: 30px; }
  .hero__photo { display: none; }
  .hero__inner { padding: 56px 32px 64px; }
  .hero__content { max-width: 100%; }
  .flywheel-wrap { grid-template-columns: 1fr; gap: 12px; }
  .flywheel-intro { max-width: 60ch; }
  .flywheel { max-width: 560px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .case-layout { grid-template-columns: 1fr; gap: 36px; }
  .case-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .aside-quote { flex: 1 1 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside .contact-photo { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 36px; }
  .reasons-photo { order: -1; }
  .reasons-media { grid-template-columns: 1fr; gap: 28px; }
  /* taller, slightly portrait crop biased to the top so the head isn't sliced off */
  .reasons-media .reasons-photo { height: 380px; }
  .reasons-media .reasons-photo img { object-position: center 22%; }
  .canvas-promo { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .section { padding: 64px 0; }
  /* collapsed bar: only logo + hamburger */
  .nav { flex-wrap: wrap; row-gap: 0; }
  .nav__logo { order: 0; }
  .nav__toggle { order: 1; }
  .nav__links { order: 2; }
  .nav__cta { order: 3; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto;
    width: 42px; height: 42px;
    background: transparent; border: none; cursor: pointer; padding: 0;
    flex-direction: column;
  }
  .nav__toggle span {
    display: block; width: 20px; height: 2px; background: var(--dmt-ink);
    margin: 2.5px 0; border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
  }

  /* open state: pill expands into a dropdown card */
  .nav.is-open {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
  }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 2px;
    flex-basis: 100%; margin: 10px 0 0; padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
  }
  .nav.is-open .nav__links a { padding: 11px 8px; font-size: 16px; }
  .nav.is-open .nav__cta {
    display: flex; flex-basis: 100%; margin: 6px 0 4px; padding: 0 8px;
  }
  .nav.is-open .nav__pill { width: 100%; justify-content: center; font-size: 14px; padding: 13px 17px; }

  /* hamburger morphs to an X */
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
  .carousel__slide { flex-basis: 100%; padding: 6px 2px; opacity: 1; }
  .quote-card { padding: 26px 18px; }
  .quote-card__pull { font-size: 23px; }
  .reasons-media .reasons-photo { height: 440px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__actions { gap: 16px; }
  /* keep the CTA label + arrow on one line on narrow screens (was wrapping the lone → ) */
  .btn--cta { font-size: 14px; padding: 14px 16px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__meta { margin-left: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn--cta, .nav__pill { transition: none; }
  .carousel__track { transition: none; }
}
