/* ===== Design tokens ===== */
:root {
  --cream:      #faf5ee;
  --cream-2:    #f3eadd;
  --sand:       #e8dccb;
  --clay:       #b87654;
  --clay-dark:  #9c5f41;
  --gold:       #cf9d56;
  --sage:       #8a9a7b;
  --ink:        #3a322b;
  --ink-soft:   #6f655b;
  --title:      #7b6b43;
  --white:      #fffdfa;
  --shadow:     0 18px 45px -22px rgba(58, 50, 43, .45);
  --radius:     18px;
  --maxw:       1140px;
  --serif:      "Cormorant Garamond", Georgia, serif;
  --sans:       "Manrope", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: .2px; color: var(--title); }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Navigatie ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 238, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 50, 43, .08);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--clay); color: var(--white);
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
}
.nav__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: var(--ink-soft); position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--clay); transition: width .25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .3px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--solid { background: var(--clay); color: var(--white); box-shadow: 0 10px 25px -12px rgba(184, 118, 84, .9); }
.btn--solid:hover { background: var(--clay-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(58, 50, 43, .25); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 55% at 50% 46%, rgba(250, 245, 238, .88) 0%, rgba(248, 241, 230, .74) 55%, rgba(245, 237, 224, .55) 100%),
    url("renders/render-1.jpg") center 30% / cover no-repeat;
  background-attachment: fixed;
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 4px; font-size: .8rem;
  color: var(--clay-dark); font-weight: 600; margin-bottom: 18px;
}
.hero__title { font-size: clamp(3.4rem, 9vw, 6.5rem); font-weight: 700; color: var(--title); text-shadow: 0 2px 18px rgba(250, 245, 238, .85); }
.hero__sub { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--ink-soft); margin: 20px auto 34px; max-width: 600px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__start { margin-top: 30px; font-size: .95rem; color: var(--ink-soft); letter-spacing: .5px; }
.hero__start strong { color: var(--clay-dark); }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 1; font-size: 1.4rem; color: var(--clay); text-decoration: none;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 100px 24px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px;
  font-size: .78rem; font-weight: 700; color: var(--clay); margin-bottom: 14px;
}
.kicker--light { color: var(--gold); }
.section__head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.section__intro { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }

/* ===== Project ===== */
.project__body { max-width: var(--maxw); margin: 0 auto; font-size: 1.06rem; color: var(--ink-soft); }
.project__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: stretch; }
.project__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project__img img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: 75% center; display: block; }
.project__text { display: flex; flex-direction: column; justify-content: center; }
.project__body p { margin-bottom: 20px; }
.project__body .lead { font-size: 1.22rem; color: var(--ink); line-height: 1.6; }
.project__body strong { color: var(--ink); }
.project__closing {
  font-family: var(--serif); font-size: 1.5rem; color: var(--clay-dark);
  font-style: italic; text-align: center; margin: 38px 0 0; line-height: 1.3;
}
.project__btw-sub {
  margin-top: 10px; font-family: var(--serif); font-style: italic;
  font-size: 1.25rem; color: var(--ink-soft); letter-spacing: .2px;
}
.project__btw-sub strong { color: var(--clay-dark); font-style: normal; font-weight: 700; }

.project__stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
  margin-top: 56px;
}
.project__stats li {
  flex: 1 1 200px; background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow);
}
.stat__num { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--clay); }
.stat__label { display: block; margin-top: 6px; font-size: .92rem; color: var(--ink-soft); }

/* ===== Renders / carrousel ===== */
.renders { background: linear-gradient(180deg, var(--cream-2), var(--cream)); max-width: none; }
.renders > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.slideshow {
  position: relative; height: clamp(360px, 56vw, 620px);
  border-radius: var(--radius); overflow: hidden; background: #1f1a16; box-shadow: var(--shadow);
}
.ss-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.ss-slide.is-active { opacity: 1; }
.ss-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(34px) brightness(.45); transform: scale(1.15); }
.ss-fg { position: absolute; inset: 0; background-size: contain; background-position: center; background-repeat: no-repeat; }
.ss-slide.is-active .ss-fg { animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.ss-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 26px; color: #fff;
  font-family: var(--serif); font-size: 1.5rem; z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent);
}
.ss-dots { position: absolute; bottom: 18px; right: 24px; display: flex; gap: 9px; z-index: 4; }
.ss-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .45); transition: .2s; }
.ss-dots button.is-active { background: #fff; transform: scale(1.3); }
.ss-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  background: rgba(255, 253, 250, .85); color: var(--ink); border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.7rem; display: grid; place-items: center; transition: .2s;
}
.ss-btn:hover { background: #fff; }
.ss-prev { left: 16px; } .ss-next { right: 16px; }
.renders__note { text-align: center; margin-top: 22px; font-size: .85rem; color: var(--ink-soft); font-style: italic; }

/* ===== Troeven ===== */
.troeven__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.troef {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  animation: rise .6s ease backwards; animation-delay: calc(var(--i) * 60ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.troef:hover { transform: translateY(-6px); border-color: var(--clay); box-shadow: 0 26px 50px -24px rgba(184, 118, 84, .55); }
.troef__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cream-2), var(--sand)); color: var(--clay-dark);
  margin-bottom: 18px; transition: background .3s, color .3s;
}
.troef:hover .troef__icon { background: var(--clay); color: var(--white); }
.troef__icon svg { width: 28px; height: 28px; }
.troef h3 { font-size: 1.4rem; margin-bottom: 8px; }
.troef p { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* ===== Timing ===== */
.timing {
  background: linear-gradient(135deg, var(--clay) 0%, var(--clay-dark) 100%);
  color: var(--white); text-align: center;
}
.timing__inner { max-width: 720px; margin: 0 auto; padding: 90px 24px; }
.timing h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; color: var(--ink); }
.timing h2 em { color: #ffe6c7; font-style: italic; }
.timing p { color: rgba(255, 253, 250, .9); margin-bottom: 30px; font-size: 1.08rem; }
.timing .btn--solid { background: var(--white); color: var(--clay-dark); }
.timing .btn--solid:hover { background: var(--cream); }

/* ===== Contact ===== */
.contact__card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.contact__info { padding: 44px 40px; }
.contact__info h3 { font-size: 1.9rem; color: var(--clay-dark); margin-bottom: 22px; }
.contact__list { list-style: none; margin-bottom: 30px; }
.contact__list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--cream-2); }
.contact__lbl { text-transform: uppercase; letter-spacing: 2px; font-size: .72rem; color: var(--ink-soft); margin-bottom: 3px; }
.contact__list a { color: var(--clay-dark); text-decoration: none; font-weight: 600; }
.contact__list a:hover { text-decoration: underline; }
.contact__aside {
  background: linear-gradient(160deg, var(--cream-2), var(--sand));
  padding: 44px 40px; display: flex; flex-direction: column; justify-content: center;
}
.contact__quote { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ink); line-height: 1.35; }
.contact__meta { margin-top: 22px; font-size: .85rem; letter-spacing: 1px; color: var(--ink-soft); text-transform: uppercase; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255, 253, 250, .8); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 28px 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem;
}
.footer a { color: var(--gold); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .troeven__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__card { grid-template-columns: 1fr; }
  .project__layout { grid-template-columns: 1fr; gap: 30px; }
  .project__img img { min-height: 300px; height: clamp(300px, 50vw, 420px); object-position: 75% center; }
}
@media (max-width: 640px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--sand);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 320px; }
  .nav__links a { padding: 16px 24px; border-bottom: 1px solid var(--cream-2); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .troeven__grid { grid-template-columns: 1fr; }
  .section { padding: 70px 20px; }
  /* background-attachment: fixed wordt op mobiel slecht/uitgerekt weergegeven
     (o.a. iOS Safari) — laat de hero-achtergrond gewoon meescrollen. */
  .hero__bg {
    background-attachment: scroll;
    background-position: center 30%;
    background-size: cover;
  }
}
