/* =========================================================
   3MF STUDIO — stylesheet
   Palet afgeleid van het logo: diep zwart + warm crème
   ========================================================= */

:root {
  --ink:        #100f0d;
  --ink-2:      #17150f;
  --ink-3:      #201d16;
  --cream:      #e9e0d1;
  --cream-soft: #f5f0e7;
  --sand:       #cbbca0;
  --accent:     #c9a25e;   /* warm goud */
  --accent-2:   #e0be82;
  --muted:      #a49c8c;
  --line:       rgba(233, 224, 209, 0.14);
  --line-dark:  rgba(16, 15, 13, 0.12);
  --wa:         #25d366;   /* WhatsApp groen */

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 18px;
}

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--cream { background: var(--cream-soft); color: var(--ink); }
.section--cream .eyebrow { color: #a97e34; }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.section--cream .lead { color: #6b6355; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--accent); color: #221a0c; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.section--cream .btn--ghost { border-color: var(--line-dark); color: var(--ink); }
.section--cream .btn--ghost:hover { border-color: var(--accent); color: #a97e34; }
.btn--wa { background: var(--wa); color: #06331b; }
.btn--wa:hover { background: #2ee676; }

.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav.is-scrolled {
  background: rgba(16, 15, 13, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav__brand span {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; color: var(--cream);
  position: relative; opacity: 0.85; transition: opacity .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { opacity: 1; }
.nav__cta { margin-left: 6px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 5px 0; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(1100px 600px at 78% 12%, rgba(201, 162, 94, 0.14), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(203, 188, 160, 0.08), transparent 55%),
    var(--ink);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero__logo { width: 118px; height: 118px; border-radius: 50%; margin-bottom: 30px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent-2); }
.hero__sub { font-size: 1.2rem; color: var(--muted); max-width: 48ch; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__collage { position: relative; height: 520px; }
.hero__collage img {
  position: absolute; border-radius: var(--radius); object-fit: cover;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero__collage img:nth-child(1) { width: 54%; height: 52%; top: 0; left: 0; z-index: 2; }    /* Charlotte, linksboven */
.hero__collage img:nth-child(2) { width: 42%; height: 100%; top: 0; right: 0; z-index: 3; }   /* Scrabble, groot rechts */
.hero__collage img:nth-child(3) { width: 54%; height: 44%; bottom: 0; left: 0; z-index: 1; }  /* PH-HWM, linksonder */

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); }

/* ---------- Split (kies je kant) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px; display: flex; align-items: flex-end;
  border: 1px solid var(--line); isolation: isolate;
}
.path__img { position: absolute; inset: 0; z-index: -2; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.path::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,15,13,0.15) 0%, rgba(16,15,13,0.55) 45%, rgba(16,15,13,0.92) 100%);
  transition: background .4s;
}
.path:hover .path__img img { transform: scale(1.06); }
.path__body { padding: 40px; width: 100%; }
.path__tag { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.path h3 { font-size: 2.1rem; margin: 12px 0 12px; }
.path p { color: rgba(233,224,209,0.82); margin-bottom: 22px; max-width: 42ch; }
.path__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cream); }
.path__link .arrow { transition: transform .35s var(--ease); }
.path:hover .path__link .arrow { transform: translateX(6px); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 18px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.section--cream .card { background: #fff; border-color: var(--line-dark); box-shadow: 0 20px 40px -30px rgba(0,0,0,.25); }
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,94,0.4); }
.card__ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(201,162,94,0.22), rgba(201,162,94,0.06));
  color: var(--accent-2); margin-bottom: 22px;
}
.section--cream .card__ico { color: #a97e34; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.section--cream .card p { color: #6b6355; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure {
  break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: zoom-in; border: 1px solid var(--line);
}
.section--cream .gallery figure { border-color: var(--line-dark); }
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 18px 16px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: .02em;
  background: linear-gradient(transparent, rgba(16,15,13,0.85));
  color: var(--cream); opacity: 0; transform: translateY(8px); transition: .4s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Showcase alternating rows ---------- */
.showcase { display: grid; gap: 90px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row:nth-child(even) .row__media { order: 2; }
.row__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.section--cream .row__media { border-color: var(--line-dark); }
.row__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.row--portrait { grid-template-columns: 0.82fr 1.1fr; }
.row--portrait .row__media img { aspect-ratio: 3/4; }
.row__badge {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; color: #221a0c; background: var(--accent); padding: 5px 12px; border-radius: 100px;
  margin-bottom: 14px;
}
.row h3 { font-size: 1.9rem; margin-bottom: 16px; }
.row p { color: var(--muted); margin-bottom: 14px; }
.section--cream .row p { color: #6b6355; }
.tick { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.tick li { position: relative; padding-left: 30px; color: var(--muted); }
.section--cream .tick li { color: #6b6355; }
.tick li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--font-serif); font-size: 2.4rem; color: var(--accent); display: block; margin-bottom: 14px;
}
.step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); padding: 70px 50px; text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(201,162,94,0.18), transparent 70%),
    var(--ink-2);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 32px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 20px; margin: 30px 0 34px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201,162,94,0.14); color: var(--accent-2);
}
.contact-item .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.contact-item a, .contact-item span.val { font-size: 1.08rem; color: var(--cream); }
.contact-item a:hover { color: var(--accent-2); }

form.card { padding: 34px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font-sans); font-size: 1rem;
  background: var(--ink); color: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,162,94,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform .35s var(--ease); color: #06331b;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 64px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 46px; height: 46px; border-radius: 50%; }
.footer__brand span { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: 0.04em; }
.footer p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { color: var(--cream); opacity: 0.82; font-size: 0.96rem; transition: opacity .3s, color .3s; }
.footer ul a:hover { opacity: 1; color: var(--accent-2); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,7,6,0.94);
  display: none; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: var(--cream); font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 170px 0 70px; position: relative; background:
    radial-gradient(900px 500px at 80% 0%, rgba(201,162,94,0.13), transparent 60%), var(--ink); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__collage { height: 380px; max-width: 480px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .row, .split { grid-template-columns: 1fr; gap: 30px; }
  .row:nth-child(even) .row__media { order: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(16,15,13,0.97); backdrop-filter: blur(14px); padding: 24px; gap: 22px;
    border-bottom: 1px solid var(--line);
  }
  .nav__toggle { display: block; }
  .cards, .steps, .field-row, .footer__grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .path { min-height: 380px; }
  .cta-band { padding: 50px 26px; }
}
