/* ==========================================================
   Marlien Groot Bronsvoort · Ruimte voor jou
   Huisstijl: The Curated Atelier
   ========================================================== */

:root {
  /* Kleuren */
  --color-sand: #F4F3F3;
  --color-stone: #D2C4B7;
  --color-stone-soft: #E6DFD9; /* Stone, zacht gemengd met Sand */
  --color-gold: #78582F;
  --color-gold-light: #C19A6B;
  --color-taupe: #655D51;
  --color-charcoal: #1A1C1C;

  /* Typografie */
  --font-heading: 'Newsreader', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --tracking-loose: 0.08em;
  --tracking-wide: 0.15em;
  --leading-relaxed: 1.7;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 8rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  background: var(--color-sand);
  color: var(--color-taupe);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--color-stone); color: var(--color-charcoal); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--color-gold); color: var(--color-sand);
  padding: .75rem 1.25rem; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--color-gold-light); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 900px; }

/* ---------- Typografie ---------- */

h1, h2, h3, .quote, .logo__name, .fact__number {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-charcoal);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
}
h1 em, h2 em { font-style: italic; color: var(--color-gold); }

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  max-width: 34rem;
}

.prose > * + * { margin-top: 1.25rem; }
.prose { max-width: 38rem; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-sand);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 1.05rem 2rem;
  border: 1px solid var(--color-gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.btn:hover { background: var(--color-taupe); border-color: var(--color-taupe); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 243, 243, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(101, 93, 81, 0.12); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 5.5rem;
}

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__name {
  font-size: 1.65rem;
  letter-spacing: 0.14em;
  color: var(--color-charcoal);
}
.logo__tag {
  margin-top: .45rem;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav a {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-decoration: none;
  color: var(--color-taupe);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.nav a:hover { color: var(--color-gold); }
.nav a[aria-current="page"] { color: var(--color-charcoal); border-bottom-color: var(--color-gold-light); }
.nav .nav__cta {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: .65rem 1.25rem;
  border-radius: 2px;
}
.nav .nav__cta:hover { background: var(--color-gold); color: var(--color-sand); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 2.75rem; height: 2.75rem;
  position: relative;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: .6rem; right: .6rem; height: 1px;
  background: var(--color-charcoal);
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 1.1rem; }
.nav-toggle span:nth-child(2) { top: 1.6rem; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 1.35rem; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 1.35rem; transform: rotate(-45deg); }

/* ---------- Secties ---------- */

.section { padding: var(--section) 0; }
.section--stone { background: var(--color-stone-soft); }
.section--dark { background: var(--color-charcoal); color: var(--color-stone); }
.section--dark h2, .section--dark h3 { color: var(--color-sand); }
.section--dark .eyebrow { color: var(--color-gold-light); }
.section--tight-top { padding-top: 0; }

/* ---------- Hero ---------- */

.hero { padding: clamp(3.5rem, 8vw, 7rem) 0 var(--section); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.hero h1 { max-width: 15em; }
.hero .lead { margin-top: 2rem; }
.hero .btn { margin-top: 2.75rem; }

.hero__grid--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hero__grid--flip .portrait::before { inset: 2.25rem 2.25rem -1.75rem -1.75rem; }

.hero--text { padding-bottom: clamp(4rem, 8vw, 6rem); }
.hero--text .hero__body { max-width: 52rem; margin-left: clamp(0rem, 8vw, 8rem); }
.hero--text h1 { max-width: 17em; }

.portrait {
  position: relative;
  margin-top: clamp(0rem, 4vw, 4rem);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 2.25rem -1.75rem -1.75rem 2.25rem;
  background: var(--color-stone);
  z-index: 0;
}
.portrait img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--color-stone-soft);
}

/* ---------- Twee kolommen: tekst + herkenning ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(3rem, 8vw, 7rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.split__head { grid-column: 1 / -1; max-width: 44rem; }
.split__aside .recognise li:first-child { padding-top: 0; border-top: 0; }

.recognise { list-style: none; }
.recognise li {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--color-charcoal);
  padding: 1.35rem 0;
  border-top: 1px solid rgba(120, 88, 47, 0.25);
}
.recognise li:last-child { border-bottom: 1px solid rgba(120, 88, 47, 0.25); }

/* ---------- Quote ---------- */

.quote-block { max-width: 58rem; }
.quote {
  font-style: italic;
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.quote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem;
  line-height: .6;
  color: var(--color-gold-light);
  margin-bottom: 1.25rem;
  font-style: normal;
}
.section--dark .quote { color: var(--color-sand); }

.story-intro {
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-left: auto;
  max-width: 40rem;
}

/* ---------- Highlight ---------- */

.note {
  border-left: 1px solid var(--color-gold);
  padding-left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-charcoal);
}

/* ---------- Feiten ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(4rem, 8vw, 6rem);
}
.fact { padding-top: 1.75rem; position: relative; }
.fact::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 3rem; height: 1px; background: var(--color-gold);
}
.fact__number {
  display: block;
  font-size: clamp(2.2rem, 3.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.fact p { font-size: .98rem; max-width: 22rem; }

/* ---------- Aanbod-tegels ---------- */

.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.offer {
  display: flex; flex-direction: column;
  background: var(--color-stone-soft);
  padding: clamp(2rem, 4vw, 3rem);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.offer:nth-child(2) { margin-top: clamp(0rem, 5vw, 3.5rem); }
.offer:hover { border-bottom-color: var(--color-gold); background: #E0D7CF; }
.offer h3 { margin-bottom: 1rem; }
.offer p { flex: 1; }
.offer__arrow {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--color-gold);
  transition: transform .3s ease;
}
.offer:hover .offer__arrow { transform: translateX(.4rem); }

/* ---------- Lijst in kaart (Teamflow Scan) ---------- */

.card {
  background: var(--color-sand);
  padding: clamp(2rem, 4vw, 3rem);
}
.card h3 { margin-bottom: 1.25rem; }
.card .recognise li { font-size: 1.12rem; padding: 1rem 0; }
.card .recognise li:first-child { border-top: 0; }
.card .recognise li:last-child { border-bottom: 0; }

.investment {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(120, 88, 47, 0.25);
  font-size: .98rem;
}
.investment strong { color: var(--color-charcoal); font-weight: 600; }

/* ---------- Verhaal (Over mij) ---------- */

.chapters { margin-top: clamp(4rem, 8vw, 6rem); }
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(120, 88, 47, 0.2);
}
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter__aside { position: sticky; top: 7.5rem; align-self: start; }
.chapter__img { margin-top: 2rem; }
.chapter__img img, .figure-quiet img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--color-stone-soft); }
.figure-quiet { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 19rem; }

/* ---------- Contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
.contact__intro p { margin-top: 1.5rem; max-width: 28rem; }
.contact__mail { margin-top: 2rem; font-size: .95rem; }
.contact__mail a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 88, 47, 0.35);
  word-break: break-word;
}
.contact__mail a:hover { border-bottom-color: var(--color-gold); }

.form { display: grid; gap: 2rem; }
.field label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-taupe);
  margin-bottom: .6rem;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--color-charcoal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(101, 93, 81, 0.45);
  padding: .6rem 0;
  border-radius: 0;
  transition: border-color .25s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--color-gold); }
.form .btn { justify-self: start; }
.form__status { font-size: .95rem; color: var(--color-gold); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-charcoal);
  color: var(--color-stone);
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
  font-size: .92rem;
}
.site-footer .logo__name { color: var(--color-sand); }
.site-footer .logo__tag { color: var(--color-gold-light); }
.footer__grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.footer__nav a, .footer__mail a { text-decoration: none; transition: color .25s ease; }
.footer__nav a:hover, .footer__mail a:hover { color: var(--color-gold-light); }
.footer__bottom {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(210, 196, 183, 0.15);
  font-size: .8rem; letter-spacing: .04em;
  color: rgba(210, 196, 183, 0.7);
}

/* ---------- Animatie ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsief ---------- */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--color-sand);
    padding: .5rem var(--gutter) 2rem;
    box-shadow: 0 12px 24px rgba(26, 28, 28, 0.06);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; width: 100%; border-bottom: 1px solid rgba(120, 88, 47, 0.15); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(120, 88, 47, 0.15); color: var(--color-gold); }
  .nav .nav__cta { margin-top: 1.25rem; width: auto; text-align: center; padding: .9rem 1.5rem; border-bottom: 1px solid var(--color-gold); }

  .hero__grid, .split, .contact__grid, .chapter, .offers { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 22rem; margin-top: 1rem; margin-right: 1.75rem; }
  .hero__grid--flip .portrait { order: 2; margin-right: 0; margin-left: 1.75rem; }
  .chapter__img { max-width: 20rem; }
  .figure-quiet { max-width: 16rem; }
  .hero--text .hero__body { margin-left: 0; }
  .split--offset .split__aside, .offer:nth-child(2) { margin-top: 0; }
  .chapter__aside { position: static; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .story-intro { margin-left: 0; }
}

.card--stone { background: var(--color-stone-soft); }
.section--dark .investment { border-top-color: rgba(210, 196, 183, 0.2); }
.section--dark .investment strong { color: var(--color-sand); }
.split + .split, .split__head + .split { margin-top: clamp(2.5rem, 5vw, 4rem); }

.portrait img, .chapter__img img, .figure-quiet img { height: auto; max-width: 100%; }
