/* ============================================================
   IGNITE WORSHIP — v2 (posterstijl: typografie óver foto's)
   Stijlcontract: OneDrive design/brand-identity.md — tokens zijn wet.
   ============================================================ */

:root {
  --ink:     #101319;
  --navy:    #232B3A;
  --geel:    #F2D75A;
  --vlam:    #FD5E02;  /* officiële logokleur (aangeleverde favicon-SVG) */
  --bot:     #DAD5CB;
  --p-lila:  #B7B2BC;
  --p-abrikoos: #E6C3A5;  /* licht oranje papier (FAQ) */
  --p-salie: #A8AFA0;
  --teal:    #3A4A4E;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Didot", serif;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--bot);
  font-size: 1.06rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--geel);
  outline-offset: 3px;
}

/* ---------- gedeelde bouwstenen ---------- */

.hero-titel, .sectie-kop, .waar-kop, .contact-mail,
.wat-kaart h3, .faq summary, .waar-lijst {
  font-family: var(--font);
  font-stretch: 62%;
  font-weight: 780;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-stretch: 75%;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--geel);
}

.annotatie {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  font-stretch: 80%;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: var(--geel);
}

.annotatie-ink { color: var(--ink); }

.serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 640;
  font-size: 1.12em;
}

.vlam path { fill: var(--vlam); }

.sectie-kop {
  font-size: clamp(2.8rem, 7vw, 6rem);
  color: var(--geel);
}

.kop-ink { color: var(--ink); }

/* korrel: één klasse, per sectie hergebruikt via ::after */
.hero::after, .manifest::after, .wie::after, .wat::after,
.waar::after, .feed::after, .vragen::after, .contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.1;
  pointer-events: none;
  z-index: 3;
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.zichtbaar { opacity: 1; transform: none; }

/* fotokanteling (zine-gevoel); reveals mogen die niet overschrijven */
.kantel-links   { rotate: -1.5deg; }
.kantel-rechts  { rotate: 1.6deg; }
.kantel-links2  { rotate: -0.8deg; }

/* pijl-cues */
.scroll-cue, .swipe-cue {
  font-weight: 700;
  font-stretch: 70%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--geel);
  font-size: 0.9rem;
}
.scroll-cue span, .swipe-cue span { animation: cue 1.6s infinite; display: inline-block; }
.scroll-cue span:nth-child(2), .swipe-cue span:nth-child(2) { animation-delay: 0.2s; }
.scroll-cue span:nth-child(3), .swipe-cue span:nth-child(3) { animation-delay: 0.4s; }

@keyframes cue {
  0%, 60%, 100% { opacity: 0.35; }
  30% { opacity: 1; }
}

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(16, 19, 25, 0.75), transparent);
}

.merk {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-stretch: 62%;
  font-weight: 780;
  letter-spacing: 0.04em;
  font-size: 2rem;
  color: var(--bot);
}

.vlam-klein { width: 22px; height: 40px; }

.site-header nav {
  display: flex;
  gap: 2rem;
  font-size: 1.7rem;
  font-weight: 600;
  font-stretch: 72%;
  text-transform: lowercase;
}

.site-header nav a { text-decoration: none; color: var(--bot); position: relative; }

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 2px;
  background: var(--geel);
  transition: right 0.25s ease;
}
.site-header nav a:hover::after { right: 0; }

/* ---------- 1. hero: poster ---------- */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;            /* onderste strook van de foto (met ingebakken tekst) altijd buiten beeld */
  object-fit: cover;
  object-position: 50% 42%; /* lager kader: scherm en band in beeld i.p.v. plafond */
  filter: grayscale(1) contrast(1.08) brightness(0.9);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(16, 19, 25, 0.55) 0%,
    rgba(16, 19, 25, 0.15) 40%,
    rgba(16, 19, 25, 0.72) 78%,
    rgba(16, 19, 25, 0.92) 100%);
  z-index: 1;
}

.hero-inhoud {
  position: relative;
  z-index: 4;
  padding: 0 clamp(1.4rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

.hero-titel {
  font-size: clamp(4.6rem, 20vw, 17rem);
  color: var(--geel);
  transition: color 0.55s ease;
  margin-left: -0.04em;
  width: fit-content;  /* hoverkader = de letters zelf, niet de hele regel */
}

.hero-titel.onontstoken { color: var(--bot); transition: none; }

/* subtiel vuur: flakkerende warme schaduwen die omhoog slaan en uitdoven */
.hero-titel.ontstoken {
  color: var(--geel);
  animation: tekst-vuur 2.2s ease-out 1;
}

@keyframes tekst-vuur {
  0%   { text-shadow: none; }
  10%  { text-shadow: 0 -0.03em 0.12em rgba(232, 80, 31, 0.85), 0 -0.1em 0.3em rgba(242, 215, 90, 0.4); }
  24%  { text-shadow: 0 -0.02em 0.07em rgba(232, 80, 31, 0.55), 0 -0.17em 0.38em rgba(242, 215, 90, 0.24); }
  40%  { text-shadow: 0 -0.05em 0.16em rgba(232, 80, 31, 0.75), 0 -0.09em 0.26em rgba(242, 215, 90, 0.42); }
  58%  { text-shadow: 0 -0.03em 0.1em rgba(232, 80, 31, 0.5), 0 -0.15em 0.34em rgba(242, 215, 90, 0.2); }
  76%  { text-shadow: 0 -0.04em 0.13em rgba(232, 80, 31, 0.35), 0 -0.11em 0.28em rgba(242, 215, 90, 0.15); }
  100% { text-shadow: 0 0 0 rgba(232, 80, 31, 0); }
}


/* ---------- vuur op de vlam-logo's (nabijheid) ---------- */

.merk { position: relative; }

.merk .vlam, .vlam-watermerk { transform-origin: 50% 100%; }

.merk.vuur .vlam, .vlam-watermerk.vuur {
  animation: vlam-flakker 0.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(232, 80, 31, 1)) drop-shadow(0 0 22px rgba(242, 215, 90, 0.6));
}

.merk.vuur .vlam path:last-child, .vlam-watermerk.vuur path:last-child {
  animation: vlam-kleur 0.7s ease-in-out infinite alternate;
}

@keyframes vlam-flakker {
  0%, 100% { transform: scale(1.06) rotate(0deg); }
  30% { transform: scaleY(1.22) scaleX(0.94) rotate(-2.5deg); }
  55% { transform: scaleY(0.96) scaleX(1.1) rotate(2deg); }
  80% { transform: scaleY(1.16) scaleX(0.95) rotate(-1.5deg); }
}

@keyframes vlam-kleur {
  from { fill: var(--vlam); }
  to   { fill: var(--geel); }
}

/* vonkjes die uit het headerlogo omhoog dwarrelen */
.merk::before, .merk::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--geel);
  opacity: 0;
  pointer-events: none;
}

.merk.vuur::before { animation: vonk 1.1s ease-out infinite; }
.merk.vuur::after  { animation: vonk 1.4s ease-out 0.45s infinite; left: 19px; background: var(--vlam); }

@keyframes vonk {
  0%   { opacity: 0; transform: translateY(4px) scale(1); }
  15%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-24px) scale(0.4); }
}

.hero-bio {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--bot);
  max-width: 46ch;
}

.hero-voet {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  padding: 0 clamp(1.4rem, 4vw, 4rem) 1.5rem;
}

/* ---------- 2. manifest: echte slides ---------- */

.manifest {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  /* geen scroll-anchoring op de bewegende rij: Chrome op Android "corrigeert"
     de scrollpositie anders tijdens omhoog scrollen (teleport-glitch) */
  overflow-anchor: none;
}

.manifest-pin {
  padding: clamp(4.5rem, 10vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem);
}

/* gepind: sectie is hoger dan het scherm (hoogte zet JS), de inhoud plakt
   en de rij schuift horizontaal mee met de resterende verticale scroll */
.manifest.pin .manifest-pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.manifest.pin .slides {
  overflow: visible;
  will-change: transform;
}

.manifest-kop {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: 0 clamp(1.4rem, 4vw, 4rem);
  margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem);
}

.slides {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  overflow-x: auto;
  padding: 0 clamp(1.4rem, 4vw, 4rem) 1rem;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 auto;
  width: clamp(240px, 26vw, 400px);
  scroll-snap-align: start;
}

.slide img { width: 100%; }

.slide:nth-child(odd)  { rotate: -0.6deg; }
.slide:nth-child(even) { rotate: 0.7deg; margin-top: 1.2rem; }

.swipe-cue {
  padding: 0.6rem clamp(1.4rem, 4vw, 4rem) 0;
  text-align: right;
}

/* ---------- 3. wie zijn wij ---------- */

.wie {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(5rem, 11vh, 8rem) clamp(1.4rem, 4vw, 4rem) clamp(6rem, 13vh, 10rem);
}

.wie-fotos {
  position: relative;
  min-height: 30rem;
}

.wf { position: absolute; }
.wf img { width: 100%; }
.wf .annotatie { margin-top: 0.5rem; }

.wf-groep    { width: 62%; left: 0; top: 0; z-index: 1; }
.wf-zangeres { width: 46%; right: 0; top: 14%; z-index: 2; box-shadow: 0 0 0 6px var(--ink); }
.wf-gitarist { width: 34%; left: 16%; bottom: -8%; z-index: 3; box-shadow: 0 0 0 6px var(--ink); }

.wie-tekst { max-width: 34rem; }

.wie-tekst .sectie-kop { margin-bottom: 1.8rem; }

.body-tekst p { max-width: 55ch; margin-bottom: 1.1rem; }

/* ---------- 4. wat doen wij: fotokaarten ---------- */

.wat {
  position: relative;
  isolation: isolate;
  background: var(--p-salie);
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.4rem, 4vw, 4rem);
}

.wat .sectie-kop { margin-bottom: 2.4rem; }

.wat-kaarten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 3.5vw, 3rem);
  max-width: 880px;
}

.wat-kaart { color: var(--ink); }

.wat-kaart figure { margin-bottom: 1.2rem; }
.wat-kaart img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wat-kaart img.crop-onder { object-position: 50% 100%; }

.wat-kaart h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  border-top: 2px solid var(--ink);
  padding-top: 0.7rem;
}

.wat-kaart p { font-weight: 500; max-width: 40ch; }

.setlist {
  margin-top: 3rem;
  font-weight: 600;
  opacity: 0.75;
}

/* ---------- 5. waar: poster over duotone ---------- */

.waar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(6rem, 16vh, 11rem) clamp(1.4rem, 4vw, 4rem);
}

.waar-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: 0;
}

.waar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(16, 19, 25, 0.88) 30%, rgba(35, 43, 58, 0.55) 100%);
  z-index: 1;
}

.waar-inhoud { position: relative; z-index: 4; }

.waar-kop {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  color: var(--bot);
  margin-bottom: 2.2rem;
}

.waar-lijst {
  list-style: none;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  color: var(--geel);
  display: grid;
  gap: 1.2rem;
}


/* ---------- 6. feed: fotomuur ---------- */

.feed {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  padding: clamp(5rem, 11vh, 8rem) clamp(1.4rem, 4vw, 4rem);
}

.feed .sectie-kop { margin-bottom: 2.4rem; }
.feed .sectie-kop .annotatie { font-size: 1rem; vertical-align: super; margin-left: 0.6rem; }

.feed-muur {
  columns: 3;
  column-gap: clamp(1rem, 2.2vw, 1.8rem);
  max-width: 1300px;
}

.feed-muur figure {
  position: relative;
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2.2vw, 1.8rem);
}

.feed-muur img { width: 100%; }

.feed-muur figure:nth-child(odd)  { rotate: -0.5deg; }
.feed-muur figure:nth-child(even) { rotate: 0.5deg; }

.feed-muur figcaption {
  position: absolute;
  bottom: 0.8rem;
  left: 0.9rem;
}

.feed-meer { margin-top: 2.5rem; }

.feed-meer a, .contact-dm a {
  color: var(--geel);
  font-weight: 600;
  text-transform: lowercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.feed-meer a:hover, .contact-dm a:hover { border-bottom-color: var(--geel); }

/* ---------- 7. vragen ---------- */

.vragen {
  position: relative;
  isolation: isolate;
  background: var(--p-abrikoos);
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.4rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.vragen .sectie-kop { margin-bottom: 2rem; }

.faq { max-width: 44rem; justify-self: end; width: 100%; }

.faq details {
  border-top: 2px solid var(--ink);
  color: var(--ink);
}

.faq details:last-child { border-bottom: 2px solid var(--ink); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.4rem 1.1rem 0;
  font-size: clamp(1.25rem, 4.6vw, 1.45rem);
  position: relative;
  user-select: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  translate: 0 -50%;
  font-weight: 500;
  font-size: 1.6em;
  transition: rotate 0.2s ease;
}

.faq details[open] summary::after { rotate: 45deg; }

.faq details p {
  padding: 0 0 1.4rem;
  max-width: 58ch;
  font-weight: 500;
}

/* ---------- 8. contact ---------- */

.contact {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(5rem, 13vh, 9rem) clamp(1.4rem, 4vw, 4rem) 2rem;
}

.contact .eyebrow { margin-bottom: 1.6rem; }

.contact > * { position: relative; z-index: 4; }

.contact-mail {
  display: inline-block;
  position: relative;
  z-index: 4;
  font-size: clamp(2.1rem, 7.5vw, 6.2rem);
  color: var(--geel);
  text-decoration: none;
  line-height: 0.95;
}

.contact-mail:hover { color: var(--bot); }

.contact-dm { margin-top: 1.8rem; text-transform: lowercase; }

.bijbeltekst {
  margin-top: 4rem;
  max-width: 34rem;
  opacity: 0.85;
}

.bijbeltekst cite { font-style: normal; font-size: 0.9rem; }

.colofon {
  margin-top: 4rem;
  font-size: 0.8rem;
  text-transform: lowercase;
  opacity: 0.55;
}

.vlam-watermerk {
  position: absolute;
  right: -2rem;
  bottom: -5rem;
  width: clamp(180px, 24vw, 340px);
  height: auto;
  opacity: 0.9;
  z-index: 1;
}

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

@media (max-width: 980px) {
  .wie { grid-template-columns: 1fr; align-items: start; }
  .wie-fotos { min-height: 0; margin-bottom: 3rem; }
  .wf { position: relative; }
  .wf-groep    { width: 74%; }
  .wf-zangeres { width: 48%; margin: -34% 0 0 auto; }
  .wf-gitarist { width: 36%; margin: -20% 0 0 8%; bottom: auto; left: auto; }
  .wat-kaarten { grid-template-columns: 1fr; max-width: 30rem; }
  .feed-muur { columns: 2; }
  .vragen { grid-template-columns: 1fr; }
  .faq { justify-self: stretch; }
}

@media (max-width: 640px) {
  .site-header nav { display: none; }
  .merk { font-size: 1.5rem; gap: 0.6rem; }
  .vlam-klein { width: 18px; height: 33px; }
  .hero-foto { height: 142%; }  /* portret: ingebakken tekst onderin origineel dieper wegcroppen */
  .slide { width: min(78vw, 340px); }
  .feed-muur { columns: 2; }
  .vlam-watermerk { width: 150px; right: -1.5rem; bottom: -3rem; }
}

/* ---------- qa-modus: deterministische screenshots ---------- */

body.qa .hero { height: 900px; min-height: 0; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-titel { transition: none; }
  .hero-titel.ontstoken { animation: none; }
  .scroll-cue span, .swipe-cue span { animation: none; opacity: 1; }
  .merk.vuur .vlam, .vlam-watermerk.vuur,
  .merk.vuur .vlam path:last-child, .vlam-watermerk.vuur path:last-child,
  .merk.vuur::before, .merk.vuur::after { animation: none; filter: none; }
}
