/* =========================================================
   Gil Geron: blauwdrukcoach
   Design direction: "Mensgericht" (organic / human)
   Source Serif 4 + Mulish · forest green / clay / ochre on cream
   ========================================================= */

:root {
  --bg: #f7f3ec;
  --surface: #fdfaf4;
  --surface-2: #efe7d8;
  --ink: #26332b;
  --forest: #1f3d2f;
  --forest-2: #2b5340;
  --forest-ink: #e9f0ea;
  --clay: #bf6a4a;
  --clay-dark: #a4573b;
  --ochre: #d9a441;
  --muted: #62695f;
  --line: #e3dac8;

  --radius: 14px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(31, 61, 47, .06), 0 8px 24px rgba(31, 61, 47, .06);
  --shadow-md: 0 20px 50px rgba(31, 61, 47, .12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--clay-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(2.35rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.24rem; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.15rem; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--forest { background: var(--forest); color: var(--forest-ink); }
.section--forest h1, .section--forest h2, .section--forest h3 { color: #fff; }
.section--forest a { color: var(--ochre); }
.section--forest a:hover { color: #fff; }
.section--panel { background: var(--surface-2); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 1rem;
}
.section--forest .eyebrow { color: var(--ochre); }

.lead { font-size: clamp(1.075rem, 1.6vw, 1.22rem); line-height: 1.6; color: #3c463d; }
.section--forest .lead { color: #d6e2d8; }
.measure { max-width: 46ch; }
.measure-wide { max-width: 62ch; }

/* hand-drawn underline accent */
.mark { position: relative; white-space: nowrap; }
.mark svg {
  position: absolute; left: 0; right: 0; bottom: -.36em; width: 100%; height: .5em;
  overflow: visible; color: var(--ochre);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: .97rem;
  line-height: 1; text-decoration: none;
  padding: .95rem 1.5rem; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--clay-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #93502f; color: #fff; }
.btn--ghost { border-color: var(--forest); color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--ochre); color: var(--forest); }
.btn--on-forest.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--on-forest.btn--ghost:hover { background: #fff; color: var(--forest); }

/* ---------- header / nav ---------- */
.site-header {
  /* Solid background on purpose: a backdrop-filter/filter here would make this
     element the containing block for any position:fixed descendant (the mobile
     nav drawer below), squashing it into the header's own height instead of
     the full viewport. */
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--forest); }
.brand__mark { flex: none; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.05; color: var(--forest); }
.brand__role { display: block; font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a { font-weight: 700; font-size: .97rem; text-decoration: none; color: var(--forest); }
.site-nav a:not(.btn):hover { color: var(--clay-dark); }
.site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--ochre); }
.site-nav .btn { padding: .7rem 1.15rem; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1.5px solid var(--forest);
    border-radius: 12px; background: var(--bg); color: var(--forest); cursor: pointer;
    position: relative; z-index: 101;
  }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    height: 100vh; height: 100dvh; /* dvh: stays correct as mobile browser chrome shows/hides */
    flex-direction: column; align-items: flex-start; gap: 1.25rem;
    background: var(--surface); border-left: 1px solid var(--line);
    padding: 5.5rem 2rem 2rem; transform: translateX(100%);
    transition: transform .28s ease; box-shadow: var(--shadow-md);
    overflow-y: auto;
  }
  .site-nav[data-open="true"] { transform: translateX(0); }
  .site-nav a { font-size: 1.1rem; }
  .site-nav .btn { width: 100%; justify-content: center; }
  body[data-nav-open="true"] { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__title { margin-block: .35em .1em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }

.pillars { display: flex; flex-wrap: wrap; gap: 1.1rem 1.9rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pillar { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .95rem; color: var(--forest); }
.pillar svg { width: 1.4rem; height: 1.4rem; color: var(--clay); flex: none; }

.portrait { position: relative; display: grid; place-items: center; isolation: isolate; }
.portrait__blob { position: absolute; width: 118%; max-width: none; color: var(--ochre); z-index: 0; }
.portrait img { position: relative; z-index: 1; width: min(380px, 82%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-md); }
.portrait__tag {
  position: absolute; z-index: 2; left: 50%; bottom: 4%; transform: translateX(-50%);
  background: var(--forest); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .5rem .85rem; border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { order: -1; }
  .portrait img { width: min(300px, 70%); }
}

/* ---------- curved section dividers ---------- */
.divider { display: block; width: 100%; height: clamp(28px, 4vw, 56px); }
.divider--to-forest { color: var(--forest); background: var(--bg); }
.divider--from-forest { color: var(--forest); background: var(--bg); transform: scaleY(-1); }
.divider--to-forest.on-panel, .divider--from-forest.on-panel { background: var(--surface-2); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: #3f4a41; font-size: 1rem; }
.card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem;
  border-radius: 50%; background: color-mix(in srgb, var(--clay) 16%, var(--bg));
  color: var(--clay-dark);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }

.section--forest .card { background: var(--forest-2); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--forest .card p { color: #cfe0d3; }
.section--forest .card h3 { color: #fff; }
.section--forest .card__icon { background: rgba(255,255,255,.1); color: var(--ochre); }

/* problem list, plain, no icons */
.pain-list { list-style: none; padding: 0; display: grid; gap: 0; }
.pain-list li {
  padding: 1.05rem 0; border-top: 1px solid rgba(255,255,255,.16);
  font-size: 1.08rem; font-weight: 600; color: #eef3ef;
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
}
.pain-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.pain-list li::before { content: ""; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--ochre); }

/* method steps */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__num {
  counter-increment: step; font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--clay-dark); width: 2.6rem; height: 2.6rem; flex: none;
  display: grid; place-items: center; border: 1.5px solid var(--clay);
  border-radius: 50%;
}
.step__num::before { content: "0" counter(step); }
.step h3 { margin-bottom: .2rem; }
.step p { color: #3f4a41; }

/* about strip */
.about-strip { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.about-strip .portrait img { width: min(320px, 100%); }
@media (max-width: 780px) { .about-strip { grid-template-columns: 1fr; } }

/* quotes */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.quote svg { width: 2rem; height: 2rem; color: var(--ochre); margin-bottom: .6rem; }
.quote p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--forest); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- referenties ---------- */
.reference-list { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
.reference-card { display: grid; grid-template-columns: 1fr; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.reference-card__meta { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reference-card h3 { font-size: 1.4rem; }
.reference-card p { color: #3f4a41; }

/* ---------- NARRAS logo ---------- */
.narras-mark { display: block; border-radius: 10px; }
.footer-narras { display: flex; align-items: center; gap: .55rem; }
.footer-narras .narras-mark { width: 28px; height: auto; flex: none; }

/* ---------- verhalenwinkel ---------- */
.product { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.product:last-child { border-bottom: 0; }
.product__image {
  aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--surface-2);
  display: grid; place-items: center; color: var(--clay); position: relative; overflow: hidden;
}
.product__image svg { width: 34%; height: 34%; }
.product__image img { width: 100%; height: 100%; object-fit: cover; }
/* ...--auto: shows the photo fully, uncropped, instead of forcing a square cover-crop */
.product__image--auto { aspect-ratio: auto; }
.product__image--auto img { height: auto; object-fit: contain; }
.product__image span {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: color-mix(in srgb, var(--surface) 85%, transparent);
  padding: .3rem .55rem; border-radius: 7px; text-align: center;
}
.product__badge {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: 999px; background: var(--ochre); color: var(--forest); margin-bottom: .7rem;
}
.product h3 { font-size: 1.6rem; }
.product p { color: #3f4a41; }
.product__price { font-family: var(--serif); font-size: 1.25rem; color: var(--forest); margin-top: 1.1rem; }
.product__meta { font-size: .85rem; color: var(--muted); margin-top: .25rem; max-width: 46ch; }
.product__actions { margin-top: 1.1rem; }
@media (max-width: 680px) { .product { grid-template-columns: 1fr; } .product__image { max-width: 260px; } }

.article { max-width: 68ch; margin-inline: auto; }
.article h1 { margin-bottom: 1.5rem; }
.article h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: .6rem; }
.article h3 { margin-top: 1.8rem; margin-bottom: .4rem; }
.article p { margin-bottom: 1.15rem; }
.article blockquote {
  margin: 1.8rem 0; padding: .3rem 0 .3rem 1.4rem; border-left: 3px solid var(--ochre);
  font-family: var(--serif); font-size: 1.28rem; line-height: 1.45; color: var(--forest);
}
.article ul, .article ol { margin-bottom: 1.15rem; }
.article li { margin-bottom: .4rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 800; font-size: .9rem; color: var(--forest); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem;
}
.field input:focus, .field textarea:focus { border-color: var(--clay); outline: none; }
.field textarea { min-height: 8rem; resize: vertical; }
.contact-details { list-style: none; padding: 0; display: grid; gap: 1rem; }
.contact-details li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.contact-details svg { width: 1.25rem; height: 1.25rem; color: var(--clay-dark); margin-top: .2rem; }
.contact-details a { text-decoration: none; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: var(--forest-ink); padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid rgba(255,255,255,.12); }
.site-footer a { color: var(--forest-ink); text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--sans); font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-brand { max-width: 34ch; color: #cfe0d3; font-size: .97rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .85rem; color: #a9bdae; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between; }

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0; z-index: 999; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
