:root {
  --night: #17130f;
  --stone: #2a231c;
  --ivory: #f5efe3;
  --linen: #ebe3d2;
  --ink: #221c15;
  --ink-soft: #5a5044;
  --amber: #d9a443;
  --amber-deep: #9a6b1c;
  --sage: #6f7d5c;
  --rule: #d6c9b1;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --max: 1160px;
  --gutter: clamp(1rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; letter-spacing: -0.012em; margin: 0; }
cite { font-style: normal; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--gutter);
  color: var(--ivory);
  transition: background .3s, padding .3s;
}
.nav.scrolled { background: rgba(23, 19, 15, .94); backdrop-filter: blur(6px); padding-block: .8rem; }
.wordmark { font-size: 1.5rem; font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 2.25rem; }
.nav-links a { text-decoration: none; font-size: .95rem; opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--amber); }
.nav-toggle { display: none; }

/* ---------- Hero: gebondenheid, de open deur ---------- */
.hero {
  position: relative; min-height: clamp(560px, 100svh, 880px);
  display: flex; align-items: center;
  background: var(--night);
  color: var(--ivory);
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0 0 0 auto; width: 60%;
  background: url("../img/hero-deur.jpg") 30% center / cover no-repeat;
  animation: daylight 2.4s ease-out both;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(23,19,15,.8) 20%, rgba(23,19,15,0) 50%),
    linear-gradient(0deg, rgba(23,19,15,.6) 0%, rgba(23,19,15,0) 28%);
}
@keyframes daylight {
  from { filter: brightness(.35) saturate(.7); }
  to   { filter: brightness(1) saturate(1); }
}
.hero-content {
  position: relative;
  padding: 8rem var(--gutter) 5rem;
  max-width: 46rem;
}
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; margin: 1.4rem 0 2.25rem; color: rgba(245,239,227,.82); }

.btn {
  display: inline-block;
  padding: .8rem 1.5rem; border-radius: 3px;
  font-family: var(--serif); font-size: 1rem; font-weight: 500;
  text-decoration: none; transition: background .2s;
}
.btn-amber { background: var(--amber); color: var(--night); }
.btn-amber:hover { background: #e7b65a; }

/* ---------- Psalm: het Woord als scharnier ---------- */
.psalm {
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) 1rem clamp(4rem, 8vw, 6rem);
}
.psalm blockquote { margin: 0 auto clamp(3.5rem, 7vw, 5rem); max-width: 50rem; }
.psalm blockquote p {
  font-style: italic; font-size: clamp(1.55rem, 3.4vw, 2.6rem); line-height: 1.28; margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}
.psalm blockquote strong { font-style: normal; font-weight: 700; }
.psalm cite { font-size: .95rem; color: var(--ink-soft); }
.psalm h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .8rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.15rem); color: var(--ink-soft); margin: 0 auto; max-width: 38rem; }

/* ---------- Boodschap: redactioneel, twee kolommen ---------- */
.message {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) clamp(5rem, 9vw, 7.5rem);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--rule);
}
.message-intro { position: sticky; top: 6rem; align-self: start; }
.message-intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.1rem; }
.message-intro p { font-size: 1.15rem; color: var(--ink-soft); max-width: 24rem; margin: 0; }
.message-body article + article { margin-top: clamp(2.75rem, 5vw, 3.75rem); }
.message h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.message-body > article > p { margin: 0 0 1.4rem; color: var(--ink-soft); max-width: 36rem; }
.verse { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--amber); }
.verse p { font-style: italic; font-size: 1.25rem; line-height: 1.4; margin: 0 0 .35rem; color: var(--ink); }
.verse cite { font-size: .9rem; color: var(--amber-deep); }

/* ---------- Tuin: foto loopt onderaan uit in ivoor ---------- */
.garden { background: var(--ivory); }
.garden-photo { margin: 0; position: relative; }
.garden-photo img { width: 100%; height: min(88vh, 66vw); object-fit: cover; object-position: center 40%; }
.garden-photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(0deg, var(--ivory) 0%, rgba(245,239,227,.8) 35%, rgba(245,239,227,0) 100%);
}
.garden-text {
  position: relative; z-index: 1;
  max-width: var(--max); margin: clamp(-5rem, -5vw, -2.5rem) auto 0;
  padding: 0 var(--gutter) clamp(4.5rem, 8vw, 6.5rem);
  text-align: center;
}
.garden-text h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.garden-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); margin: .6rem 0 .3rem; }
.garden-text > cite { font-size: .9rem; color: var(--sage); }
.fruits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; text-align: left;
}
.fruits div { border-top: 1px solid var(--sage); padding-top: 1rem; }
.fruits dt { font-size: 1.25rem; margin-bottom: .2rem; }
.fruits dd { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Boek: terug naar de steen ---------- */
.book { background: var(--stone); color: var(--ivory); }
.book-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end;
}
.book-kicker { font-style: italic; color: var(--amber); font-size: 1.15rem; margin: 0 0 .75rem; }
.book h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 12ch; }
.book-text p { color: rgba(245,239,227,.78); margin: 0 0 1.1rem; max-width: 32rem; }
.book-text .btn { margin-top: .9rem; }

/* ---------- Contact ---------- */
.contact {
  text-align: center; max-width: 40rem; margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 6.5rem) 1rem;
}
.contact h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .9rem; }
.contact p { color: var(--ink-soft); margin: 0 0 1.25rem; }
.contact-mail { font-size: 1.25rem; text-decoration-color: var(--amber); text-underline-offset: 5px; }

/* ---------- Footer ---------- */
.footer { background: var(--linen); text-align: center; padding: 2.5rem 1rem; font-size: .95rem; }
.footer-title { font-weight: 600; margin: 0 0 .4rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.25rem; color: var(--ink-soft); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy { margin: 0; font-size: .85rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image { animation: none; }
}

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
  .message { grid-template-columns: 1fr; }
  .message-intro { position: static; }
  .fruits { grid-template-columns: repeat(2, 1fr); }
  .book-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 6px;
    background: none; border: 0; padding: .5rem; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ivory); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(23,19,15,.97); padding: .5rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid rgba(245,239,227,.12); }

  .hero { align-items: flex-end; }
  .hero-image { width: 100%; background-position: 40% center; }
  .hero-image::after {
    background: linear-gradient(0deg, var(--night) 0%, rgba(23,19,15,.85) 45%, rgba(23,19,15,.2) 100%);
  }
  .hero-content { padding-bottom: 3.5rem; }

  .garden-photo img { height: auto; aspect-ratio: 4 / 3; object-position: 40% center; }
  .garden-text { margin-top: -3rem; }
  .fruits { grid-template-columns: 1fr; gap: 1.25rem; }
}
