:root {
  --nacht: #15110f;
  --nacht-2: #201a16;
  --papier: #f3ece1;
  --papier-dim: rgba(243, 236, 225, 0.66);
  --lijn: rgba(243, 236, 225, 0.16);
  --rood: #d85940;
  --rood-donker: #b8432c;
  --goud: #e9bd77;

  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

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

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

body {
  margin: 0;
  background: var(--nacht);
  color: var(--papier);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtiele korrel, zodat het donker niet "plat" oogt */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--goud);
}

/* ---------- header ---------- */

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top__logo img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.top__link {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--papier-dim);
  transition: color 0.2s;
}
.top__link:hover { color: var(--papier); }

/* ---------- hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero__title {
  margin: 0 0 1.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 6.6vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.hero__title span,
.hero__title em { display: block; }
.hero__title em {
  color: var(--rood);
  font-style: italic;
  padding-left: 0.6em;
}

.hero__lead {
  max-width: 32rem;
  margin: 0 0 2.5rem;
  color: var(--papier-dim);
  font-size: 1.1rem;
}

.facts {
  margin: 0 0 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  border-top: 1px solid var(--lijn);
  border-bottom: 1px solid var(--lijn);
}
.facts > div {
  padding: 1rem 1.25rem 1.1rem 0;
}
.facts > div + div {
  padding-left: 1.25rem;
  border-left: 1px solid var(--lijn);
}
.facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--papier-dim);
  margin-bottom: 0.3rem;
}
.facts dd {
  margin: 0;
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.35;
  white-space: nowrap;
}
.facts .is-soon { color: var(--papier-dim); font-style: italic; font-weight: 400; }

.countdown {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  color: var(--papier-dim);
}
.countdown strong {
  font-weight: 400;
  color: var(--goud);
  font-size: 1.35em;
}

/* foto in de vorm van een kerkraam */
.hero__photo {
  position: relative;
  margin: 0;
}
.arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
  background: var(--nacht-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}

.seal {
  position: absolute;
  left: -38px;
  bottom: 48px;
  width: 128px;
  height: auto;
  padding: 18px;
  border-radius: 50%;
  background: var(--rood);
  transform: rotate(-12deg);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
}

/* ---------- foto strip ---------- */

.strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 10vw, 140px);
}
.strip__quote {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--papier);
}
.strip__photos {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(10px, 1.6vw, 20px);
  align-items: start;
}
.strip__photos img {
  width: 100%;
  height: clamp(220px, 30vw, 400px);
  object-fit: cover;
  border-radius: 4px;
}
.strip__photos img:nth-child(2) { margin-top: clamp(24px, 5vw, 64px); }
.strip__photos img:nth-child(1) { object-position: 50% 40%; }

/* ---------- flyer ---------- */

.flyer {
  background: var(--papier);
  color: var(--nacht);
}
.flyer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.flyer .eyebrow { color: var(--rood-donker); }
.flyer h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}
.flyer__text > p:not(.eyebrow) {
  max-width: 30rem;
  margin: 0 0 2rem;
  color: rgba(21, 17, 15, 0.72);
}
.flyer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--rood);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: var(--rood-donker); }
.btn--ghost {
  background: transparent;
  color: var(--nacht);
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost:hover { background: rgba(21, 17, 15, 0.06); }
.btn[hidden] { display: none; }

.flyer__frame {
  display: flex;
  justify-content: center;
}
.paper {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1.414;
  background: #fffaf2;
  transform: rotate(2.5deg);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 24px 50px -20px rgba(60, 30, 10, 0.35);
}
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(233, 189, 119, 0.55);
  z-index: 2;
}
.paper__placeholder {
  position: absolute;
  inset: 18px;
  border: 1.5px dashed rgba(21, 17, 15, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}
.paper__placeholder img { width: 84px; height: auto; opacity: 0.9; }
.paper__placeholder p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
  color: rgba(21, 17, 15, 0.55);
}
.paper__flyer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.paper__flyer[hidden] { display: none; }

/* ---------- footer ---------- */

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--papier-dim);
}
.foot__logo {
  width: 130px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.foot p { margin: 0; }
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-content: start;
}
.foot__links a { text-decoration: none; transition: color 0.2s; }
.foot__links a:hover { color: var(--papier); }
.foot__copy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lijn);
  font-size: 0.82rem;
}

/* ---------- binnenkomst ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__text > *,
  .hero__photo {
    animation: rijs 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .hero__text > :nth-child(3) { animation-delay: 0.16s; }
  .hero__text > :nth-child(4) { animation-delay: 0.24s; }
  .hero__text > :nth-child(5) { animation-delay: 0.32s; }
  .hero__photo { animation-delay: 0.15s; animation-duration: 1.2s; }
}
@keyframes rijs {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero,
  .flyer { grid-template-columns: 1fr; }
  .hero__photo { max-width: 460px; width: 100%; justify-self: center; }
  .seal { left: -10px; width: 104px; padding: 14px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .top__logo img { width: 120px; }
  .hero__title em { padding-left: 0.4em; }

  .facts { grid-template-columns: 1fr; }
  .facts > div,
  .facts > div + div {
    padding: 0.8rem 0;
    border-left: 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .facts > div + div { border-top: 1px solid var(--lijn); }
  .facts dt { margin: 0.15rem 0 0; }
  .facts dd { text-align: right; }

  .strip__photos { grid-template-columns: 1fr 1fr; }
  .strip__photos img:nth-child(1) { grid-column: 1 / -1; height: 240px; }
  .strip__photos img:nth-child(2) { margin-top: 0; }
  .strip__photos img:nth-child(n+2) { height: 220px; }

  .paper { width: min(100%, 300px); }
  .foot { grid-template-columns: 1fr; }
}
