*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

:root {
  --bg: #C7BFB2;
  --bg-soft: #E8E2D7;
  --bg-cream: #F2EDE4;
  --ink: #1A1A1A;
  --ink-mute: #4A4A4A;
  /* Subtiel sage/eucalyptus accent — voor dividers, accents, hovers */
  --sage: #8FA787;
  --sage-soft: #B8C4AD;
  --sage-deep: #6B7C63;
  --measure: 38rem;
  --section-pad-y: clamp(4rem, 10vh, 8rem);
  --container: min(72rem, 100% - 2rem);
}

.container { width: var(--container); margin-inline: auto; }
.script {
  font-family: 'Sacramento', cursive;
  font-weight: 400;
  -webkit-text-stroke: 0.6px currentColor;
  paint-order: stroke fill;
}
.serif { font-family: 'Cormorant Garamond', serif; }
.sans { font-family: 'Inter', sans-serif; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */
/* Sitewide petals canvas — boven alle content */
.site-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.hero, .story, .howto, .footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  /* Aquarel-bloesem wash: zachte witte vlekken op beige basis */
  background:
    radial-gradient(ellipse 480px 380px at 22% 28%, rgba(255,253,248,0.55), transparent 72%),
    radial-gradient(ellipse 560px 460px at 78% 62%, rgba(255,250,243,0.42), transparent 75%),
    radial-gradient(ellipse 380px 320px at 55% 18%, rgba(255,255,250,0.38), transparent 70%),
    radial-gradient(ellipse 420px 340px at 30% 82%, rgba(252,246,236,0.40), transparent 72%),
    radial-gradient(ellipse 360px 300px at 88% 22%, rgba(255,252,246,0.32), transparent 75%),
    radial-gradient(ellipse 280px 240px at 12% 70%, rgba(255,255,253,0.30), transparent 72%),
    radial-gradient(ellipse 320px 260px at 65% 90%, rgba(255,253,248,0.28), transparent 75%);
}

.hero__bg-tl {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(280px, 45vw, 720px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.92;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg-tl {
    opacity: 0;
    animation: hero-bg-fade-in 1400ms ease 100ms forwards;
  }
}

@keyframes hero-bg-fade-in {
  to { opacity: 0.92; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: min(640px, 92vw);
}

.hero__logo {
  width: clamp(240px, 38vw, 460px);
  height: auto;
  margin-inline: auto;
  opacity: 0;
  transform: scale(1.02);
  animation: hero-logo-in 1400ms cubic-bezier(.2,.7,.2,1) 200ms forwards;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.08));
}

@keyframes hero-logo-in {
  to { opacity: 1; transform: scale(1); }
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: block;
  width: 1px;
  height: 56px;
  background: transparent;
  text-decoration: none;
  opacity: 0;
  animation: hero-fade-in 800ms ease 1600ms forwards;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--sage-deep);
  transform-origin: top;
  animation: scroll-breath 2200ms ease-in-out infinite;
}

@keyframes scroll-breath {
  0%, 100% { transform: scaleY(.3); opacity: .3; }
  50%      { transform: scaleY(1);  opacity: .9; }
}

@keyframes hero-fade-in { to { opacity: 1; } }

.hero__tagline {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: clamp(.65rem, 1.4vw, .78rem);
  font-weight: 300;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  animation: hero-fade-in 1000ms ease 1200ms forwards;
  max-width: 100%;
}

.hero__tagline-text {
  white-space: nowrap;
  text-indent: .26em; /* compenseer letter-spacing rechts */
}

/* ---------- Hero Instagram CTA ---------- */
.hero__instagram {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.5rem;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease;
  opacity: 0;
  animation: hero-fade-in 1000ms ease 1500ms forwards;
}

.hero__instagram:hover,
.hero__instagram:focus-visible {
  background: var(--sage-deep);
  color: var(--bg-cream);
  border-color: var(--sage-deep);
  transform: translateY(-1px);
}

.hero__instagram svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__instagram { animation: none; opacity: 1; }
  .hero__instagram:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__scroll, .hero__tagline { animation: none; opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; }
}

/* ---------- Story ---------- */
.story {
  background: rgba(232, 226, 215, 0.78);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  padding-block: var(--section-pad-y);
}

.story__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }
}

.story__title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.story__body {
  max-width: var(--measure);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-mute);
}

.story__art {
  display: flex;
  justify-content: center;
}

.story__art img {
  width: clamp(220px, 36vw, 400px);
  height: auto;
}

@media (max-width: 767px) {
  .story__art { display: none; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hoe het werkt ---------- */
.howto {
  background: rgba(242, 237, 228, 0.78);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  padding-block: var(--section-pad-y);
  text-align: center;
}

.howto__title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 3.5rem;
  color: var(--ink);
}

.howto__steps {
  list-style: none;
  display: grid;
  gap: 3rem;
  max-width: 60rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .howto__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
  }
}

.howto__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}

.howto__num {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--sage-deep);
  opacity: .75;
  letter-spacing: .02em;
  font-style: italic;
}

.howto__step-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  color: var(--ink);
}

.howto__step-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 18rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  padding-block: 3rem 2rem;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer__logo {
  width: 90px;
  height: auto;
  opacity: .9;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

.footer__copy {
  font-size: .8rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
