/* Birdie Marlow — kleuren uit de briefing; bosgroen vervangen door terracotta (27 okt) */
:root {
  --terra: #9A4A2C;
  --creme: #E9E0D0;
  --mos: #8A795F;
  --aarde: #513C39;
  --roest: #C66A35;
  --roest-licht: #E08A55;
  --terra-diep: #6E321C;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Karla", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;

  --breed: min(1180px, 100% - 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--terra);
  color: var(--aarde);
  font: 400 1.075rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Filmkorrel over de hele site */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typografie */
h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.label {
  font: 700 .78rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--roest);
  margin-bottom: 1.1rem;
}
.hand { font-family: var(--hand); font-weight: 500; line-height: 1.15; }

/* Knoppen */
.knop {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: var(--roest);
  color: var(--creme);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .25s, background .25s;
}
.knop:hover { background: #B25C2B; transform: translateY(-2px); }
.knop--lijn { background: transparent; color: var(--aarde); box-shadow: inset 0 0 0 2px var(--aarde); }
.knop--lijn:hover { background: var(--aarde); color: var(--creme); }

/* ---------- Kop ---------- */
.kop {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem clamp(1rem, 3vw, 2.2rem);
  color: var(--creme);
  transition: background .4s, box-shadow .4s;
}
.kop.is-vast { background: rgba(110, 50, 28, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(233,224,208,.08); }
.kop__merk { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: italic 700 1.25rem/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.kop__label { width: 44px; height: 44px; border-radius: 50%; animation: draai 6s linear infinite; }
.nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--roest); transition: right .3s; }
.nav a:hover::after { right: 0; }
.nav__takje { display: none; }
.kop__menu { display: none; }

@media (max-width: 860px) {
  .kop__menu {
    display: grid; gap: 6px; place-content: center;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: rgba(233,224,208,.12); cursor: pointer; z-index: 2;
  }
  .kop__menu i { display: block; width: 20px; height: 2px; background: var(--creme); transition: transform .3s; }
  .kop__menu[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .kop__menu[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem;
    background: var(--terra-diep);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font: italic 600 2rem/1.1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
  .nav__takje { display: block; width: 180px; height: 70px; color: var(--mos); margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--creme);
  background: var(--terra-diep) url("../video/hero-poster.jpg?v=2") center / cover;
}
.hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__waas {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 45%, rgba(110,50,28,.55), rgba(110,50,28,0) 60%),
    linear-gradient(to bottom, rgba(110,50,28,.45) 0%, rgba(110,50,28,0) 30%, rgba(110,50,28,0) 60%, var(--terra) 100%);
}
.hero__inhoud {
  position: relative; z-index: 1;
  width: var(--breed); margin: 0 auto;
  padding: 7rem 0 6rem;
}
.hero__titel {
  font-size: clamp(3.6rem, 12vw, 9.5rem);
  font-style: italic; font-weight: 800;
  line-height: .86;
  margin-bottom: 1.6rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero__titel span { display: inline-block; margin-left: .55em; color: #F1DDBE; }
.hero__lead { font: italic 500 clamp(1.25rem, 2.4vw, 1.75rem)/1.3 var(--serif); font-variation-settings: "SOFT" 100; margin-bottom: .4rem; }
.hero__sub { max-width: 30rem; opacity: .9; }
.hero__hand { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--roest-licht); rotate: -3deg; transform-origin: left; margin-top: 1.4rem; }
.hero__verder {
  position: absolute; z-index: 1; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .1rem;
  color: var(--creme); text-decoration: none;
  font: 500 1.3rem/1 var(--hand);
}
.hero__verder svg { width: 54px; height: 32px; color: var(--roest-licht); animation: adem 3.5s ease-in-out infinite; }

/* Hero-tekst komt binnen bij laden */
.hero__inhoud > * { animation: binnen 1.1s cubic-bezier(.2,.7,.2,1) backwards; }
.hero__inhoud > :nth-child(2) { animation-delay: .3s; }
.hero__inhoud > :nth-child(3) { animation-delay: .45s; }
.hero__inhoud > :nth-child(4) { animation-delay: .85s; }

@media (max-width: 700px) {
  .hero { align-items: flex-start; background-image: url("../video/hero-mobiel-poster.jpg?v=2"); }
  .hero__inhoud { padding-top: 6.5rem; }
  .hero__waas { background: linear-gradient(to bottom, rgba(110,50,28,.7) 0%, rgba(110,50,28,.35) 45%, rgba(110,50,28,0) 62%, var(--terra) 100%); }
  .hero__titel span { margin-left: .35em; }
}

/* ---------- Kamers (secties) ---------- */
.kamer { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; --vlak: var(--creme); background: var(--vlak); }
.kamer--terra { --vlak: var(--terra); color: var(--creme); }
.kamer--terra .label { color: #F3C9A6; }
.kamer__kop { width: var(--breed); margin: 0 auto 3rem; max-width: 46rem; margin-left: max(1.25rem, (100% - 1180px) / 2); }

/* Gescheurde papierrand bovenaan elke kamer */
.rand {
  position: absolute; left: 0; right: 0; top: -22px; height: 24px;
  background: var(--vlak);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V14l38 3 31-8 44 6 27-9 52 7 36-4 29 8 47-10 33 5 41-6 26 9 55-7 30 4 44-9 29 8 38-3 51 6 27-10 46 7 32-5 40 8 35-9 48 6 29-3 37 7 50-8 34 5 41-7 28 9 46-6 31 4 39-8 36 6 47-4 30 7 34-6V24z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V14l38 3 31-8 44 6 27-9 52 7 36-4 29 8 47-10 33 5 41-6 26 9 55-7 30 4 44-9 29 8 38-3 51 6 27-10 46 7 32-5 40 8 35-9 48 6 29-3 37 7 50-8 34 5 41-7 28 9 46-6 31 4 39-8 36 6 47-4 30 7 34-6V24z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Losse foto-afdrukken met tape */
.afdruk { margin: 0; position: relative; background: #F6F0E4; padding: .7rem .7rem 2.6rem; box-shadow: 0 18px 40px rgba(81,60,57,.25); }
.afdruk--links { transform: rotate(-2.5deg); }
.afdruk--rechts { transform: rotate(2deg); }
.afdruk::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(198,106,53,.35); mix-blend-mode: multiply;
}

/* Who */
.wie, .data, .contact {
  width: var(--breed); margin: 0 auto;
  display: grid; gap: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
}
.data { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.wie__tekst h2 { color: var(--terra); }
.kernwoorden { font: italic 500 1.05rem var(--serif); color: var(--mos); letter-spacing: .04em; margin-top: 1.6rem; }
.takje { width: 170px; height: 64px; color: var(--mos); margin-top: .5rem; }

/* Gallery-categorieën */
.categorieen {
  width: var(--breed); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem);
}
.categorie {
  position: relative; display: block; text-decoration: none;
  border-radius: 200px 200px 6px 6px; overflow: hidden;
  aspect-ratio: 3 / 4.4;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem 1.4rem 1.3rem;
}
.categorie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.9); }
.categorie::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(110,50,28,0) 35%, rgba(110,50,28,.92) 88%); }
.categorie:hover img { transform: scale(1.06); filter: saturate(1.05); }
.categorie__nr { position: absolute; top: 1.6rem; left: 50%; transform: translateX(-50%); font: italic 600 1.1rem var(--serif); color: var(--creme); opacity: .85; }
.categorie h3 { margin: 0 0 .5rem; color: var(--creme); font-style: italic; }
.categorie p { margin: 0; color: rgba(233,224,208,.88); font-size: .95rem; line-height: 1.45; }

/* Recent: hangetiketten */
.kamer--recent { padding-bottom: clamp(5rem, 10vw, 8rem); }
.labels {
  list-style: none; padding: 0;
  width: var(--breed); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem);
}
.tag {
  position: relative;
  background: #F4ECDD;
  padding: 1.6rem .8rem 1rem;
  clip-path: polygon(14% 0, 86% 0, 100% 6%, 100% 100%, 0 100%, 0 6%);
  box-shadow: 0 10px 30px rgba(81,60,57,.18);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.labels li:nth-child(odd) .tag { transform: rotate(-1.6deg); }
.labels li:nth-child(even) .tag { transform: rotate(1.4deg); }
.labels li .tag:hover { transform: rotate(0) translateY(-6px); }
.tag::before { content: ""; position: absolute; top: .55rem; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--creme); box-shadow: inset 0 0 0 2px rgba(81,60,57,.45); }
.tag__foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: .9rem; }
.tag__foto img { width: 100%; height: 100%; object-fit: cover; }
.tag h3 { font-size: 1.12rem; color: var(--terra); margin: 0 0 .3rem; }
.tag__cat { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mos); margin: 0; }
.tag__status { font: 600 1.15rem/1 var(--hand); color: var(--roest); margin: .5rem 0 0; }
.tag--weg .tag__foto img { filter: grayscale(.4) brightness(.85); }
.stempel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  display: grid; justify-items: center;
  padding: .5rem 1rem .4rem; border: 2px solid var(--creme); border-radius: 50%;
  color: var(--creme); font: italic 700 1rem/1 var(--serif); text-align: center;
  background: rgba(198,106,53,.78);
}
.stempel svg { width: 34px; height: 20px; }

/* Citaat */
.citaat { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; background: var(--terra-diep); }
.citaat__beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.citaat__waas { position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(110,50,28,.1), rgba(110,50,28,.75)); }
.citaat blockquote { position: relative; margin: 0; padding: 0 1.5rem; text-align: center; }
.citaat .hand { font-size: clamp(2.6rem, 7vw, 5.5rem); color: var(--creme); transform: rotate(-4deg); text-shadow: 0 4px 24px rgba(0,0,0,.5); }

/* Agenda */
.agenda { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid rgba(81,60,57,.2); }
.agenda li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(81,60,57,.2); }
.agenda__datum { font: italic 700 1.9rem/1 var(--serif); color: var(--roest); }
.agenda__datum small { display: block; font: 700 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mos); }
.agenda h3 { font-size: 1.2rem; margin: 0 0 .2rem; color: var(--terra); }
.agenda__waar { font-size: .92rem; color: var(--mos); margin: 0; }
.agenda__leeg { display: block !important; padding: 1.6rem 0; font: 500 1.6rem/1.25 var(--hand); color: var(--aarde); }
.agenda__leeg a { color: var(--roest); }

/* Coven */
.coven { position: relative; padding: clamp(6rem, 14vw, 11rem) 0; color: var(--creme); overflow: hidden; background: var(--terra-diep); text-align: center; }
.coven__beeld { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.coven__waas { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(110,50,28,.6), rgba(110,50,28,.85)); }
.coven__inhoud { position: relative; width: min(40rem, 100% - 2.5rem); margin: 0 auto; }
.coven__zon { width: 96px; height: 56px; color: var(--roest-licht); margin: 0 auto 1.6rem; display: block; animation: adem 5s ease-in-out infinite; }
.coven h2 { font-style: italic; }
.coven .hand { font-size: 2rem; color: var(--roest-licht); margin: 1.8rem 0 2rem; }

/* Contact */
.contact__tekst h2 { color: var(--terra); font-style: italic; }
.contact__knoppen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Voet */
.voet { position: relative; --vlak: var(--terra); background: var(--vlak); color: var(--creme); text-align: center; padding: 4.5rem 1.25rem 3rem; }
.voet__zon { width: 120px; height: 70px; color: #F3C9A6; display: block; margin: 0 auto 1rem; }
.voet__merk { font: italic 800 2.6rem/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0 0 .4rem; }
.voet__tag { font-size: 1.7rem; color: var(--roest-licht); }
.voet__links { display: flex; justify-content: center; gap: 1.6rem; margin: 1.6rem 0; }
.voet__links a { text-decoration: none; border-bottom: 1px solid rgba(233,224,208,.3); }
.voet__klein { font-size: .85rem; color: rgba(233,224,208,.7); margin: 0; }

/* Onthullen bij scrollen */
.onthul { opacity: 0; translate: 0 30px; transition: opacity 1s ease, translate 1s cubic-bezier(.2,.7,.2,1); }
.onthul.is-zichtbaar { opacity: 1; translate: 0 0; }

@keyframes draai { to { rotate: 360deg; } }
@keyframes adem { 50% { transform: translateY(-4px) scale(1.04); } }
@keyframes binnen { from { opacity: 0; translate: 0 18px; } }

/* Tablet en mobiel */
@media (max-width: 980px) {
  .labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wie, .data, .contact { grid-template-columns: 1fr; }
  .afdruk { max-width: 26rem; margin: 0 auto; }
  .data .afdruk { order: -1; }
  .categorieen { grid-template-columns: 1fr; max-width: 30rem; }
  .categorie { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .onthul { opacity: 1; translate: none; }
  .hero__film { display: none; }
}
