/* Boonsoir — bijna open
   Espresso/Milk-basis met Oat, Sage en Fig per koffie en Brass als klein accent. */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --espresso: #17110e;
  --espresso-2: #221915;
  --milk: #faf7f0;
  --oat: #e8dbc8;
  --sage: #dce3d5;
  --fig: #e4d5db;
  --brass: #cfab69;
  --brass-deep: #9a7a3e;
  --ink: #241c17;
  --muted: #74665c;
  --muted-on-color: #665a51;
  --milk-soft: rgba(250, 247, 240, .74);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-lux: cubic-bezier(.22, .12, .18, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 28px;
}

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

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

body {
  margin: 0;
  background: var(--espresso);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--milk); color: var(--espresso);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 26px; text-align: center;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.25 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--brass { background: var(--brass); color: var(--espresso); box-shadow: 0 10px 30px -12px rgba(207, 171, 105, .7); }
.btn--brass:hover { background: #dbbb7e; box-shadow: 0 16px 40px -14px rgba(207, 171, 105, .85); }
.btn--ghost { color: var(--milk); border-color: rgba(250, 247, 240, .45); }
.btn--ghost:hover { border-color: var(--milk); background: rgba(250, 247, 240, .08); }
.btn--solid { background: var(--espresso); color: var(--milk); }
.btn--solid:hover { background: #2c211b; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  --x: 64%;
  --y: 52%;
  --r: 34vmax;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(56px, 9vh, 96px);
  color: var(--milk);
  isolation: isolate;
  overflow: hidden;
  background: var(--espresso);
}

.hero__room { position: absolute; inset: 0; z-index: -1; }

.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 50%;
}
.hero__photo--dim { filter: brightness(.22) saturate(.7) contrast(1.05); }
.hero__photo--lit {
  filter: brightness(1.02) saturate(1.05);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .75) 28%, transparent 70%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, rgba(0, 0, 0, .75) 28%, transparent 70%);
  opacity: 0;
  animation: lights-on 3.2s var(--ease-lux) .35s forwards;
}
@keyframes lights-on { to { opacity: 1; } }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 17, 14, .92) 0%, rgba(23, 17, 14, .7) 34%, rgba(23, 17, 14, 0) 66%),
    linear-gradient(0deg, rgba(23, 17, 14, .85) 0%, rgba(23, 17, 14, 0) 42%);
}

.hero__content { position: relative; max-width: 760px; }

.hero__logo {
  width: min(440px, 74vw);
  margin-bottom: clamp(28px, 5vh, 48px);
  opacity: 0;
  animation: rise 1.6s var(--ease-lux) .15s forwards;
}

.hero__title {
  font-size: clamp(2.75rem, 6.6vw, 6.25rem);
  line-height: .98;
  max-width: 13ch;
}

.hero__title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
  filter: blur(6px);
  animation: word-in 1.5s var(--ease-lux) forwards;
  animation-delay: calc(.55s + var(--i) * 90ms);
}
@keyframes word-in { 55% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__lead {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--milk-soft);
  opacity: 0;
  animation: rise 1.4s var(--ease-lux) 1.3s forwards;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
  opacity: 0;
  animation: rise 1.4s var(--ease-lux) 1.5s forwards;
}

.hero__motion {
  position: absolute; right: var(--gutter); bottom: 20px;
  background: rgba(23, 17, 14, .55); color: var(--milk-soft);
  border: 1px solid rgba(250, 247, 240, .2); border-radius: 999px;
  padding: 8px 14px; font: 500 .8125rem/1 var(--sans); cursor: pointer;
  backdrop-filter: blur(6px);
}
.hero__motion:hover { color: var(--milk); border-color: rgba(250, 247, 240, .45); }

/* Zwevende bonen, drie dieptelagen */
.bean {
  position: absolute;
  pointer-events: none;
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  animation: float 3.8s ease-in-out infinite alternate;
}
.bean--far  { width: 64px;  right: 39%; top: 18%; filter: blur(.6px) brightness(.9); rotate: 24deg; animation-duration: 3.6s; }
.bean--mid  { width: 118px; right: 7%;  bottom: 18%; filter: blur(4px); rotate: -32deg; animation-duration: 4.1s; animation-delay: -1.2s; }
.bean--near { width: 260px; left: -70px; top: -60px; filter: blur(14px) brightness(.7); rotate: 140deg; animation-duration: 3.9s; animation-delay: -.6s; }
@keyframes float { from { transform: translateY(-10%); } to { transform: translateY(10%); } }

/* Deurbordje */
.sign {
  position: absolute;
  top: 0; right: clamp(24px, 12vw, 220px);
  z-index: 2;
  display: grid; justify-items: center;
  transform-origin: 50% 0;
  animation: swing 5.5s ease-in-out infinite alternate;
  perspective: 900px;
}
@keyframes swing { from { rotate: -2.4deg; } to { rotate: 2.4deg; } }

.sign__strings {
  position: relative;
  width: 132px; height: 92px;
}
.sign__strings::before, .sign__strings::after {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 1.5px; height: 104px;
  background: linear-gradient(var(--brass-deep), var(--brass));
  transform-origin: 50% 0;
}
.sign__strings::before { rotate: 32deg; }
.sign__strings::after { rotate: -32deg; }

.sign__card {
  position: relative;
  width: 200px; height: 118px;
  margin-top: -6px;
  padding: 0; border: 0; background: none; color: inherit;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 1.1s var(--ease-lux);
}
.sign__card[aria-pressed="true"] { transform: rotateY(180deg); }

.sign__face {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: 4px;
  padding: 16px;
  background: var(--milk);
  color: var(--espresso);
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 1.5px rgba(154, 122, 62, .55),
    inset 0 0 0 7px var(--milk),
    inset 0 0 0 8.5px rgba(154, 122, 62, .35),
    0 24px 50px -18px rgba(0, 0, 0, .8),
    0 0 60px -10px rgba(207, 171, 105, .35);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.sign__face::before, .sign__face::after {
  content: '';
  position: absolute; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass);
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .35);
}
.sign__face::before { left: 37px; }
.sign__face::after { right: 37px; }
.sign__face--back { transform: rotateY(180deg); background: var(--espresso); color: var(--milk);
  box-shadow:
    inset 0 0 0 1.5px rgba(207, 171, 105, .6),
    inset 0 0 0 7px var(--espresso),
    inset 0 0 0 8.5px rgba(207, 171, 105, .3),
    0 24px 50px -18px rgba(0, 0, 0, .8);
}
.sign__small { font: 500 .8125rem/1.2 var(--sans); color: var(--muted); }
.sign__face--back .sign__small { color: var(--brass); }
.sign__big { font: 500 2rem/1 var(--serif); letter-spacing: -.01em; }
.sign__face--back .sign__big { font-size: 1.6rem; }

/* ------------------------------------------------------------------ */
/* Herfstpakketten                                                     */
/* ------------------------------------------------------------------ */

.packs {
  --bg: var(--oat);
  --fg: var(--ink);
  --soft: var(--muted-on-color);
  --surface: rgba(250, 247, 240, .6);
  --accent: #b5672a;
  position: relative;
  padding: clamp(72px, 11vw, 140px) var(--gutter);
  background: var(--bg);
  color: var(--fg);
}
.packs__head { max-width: 760px; margin: 0 auto; text-align: center; }
.packs__head h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.packs__head + .pack { margin-top: clamp(40px, 6vw, 72px); }
.packs__head p { margin-top: 18px; font-size: 1.125rem; color: var(--soft); transition: color .8s; }

.pack {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}
.pack__visual { margin: 0; }
.pack__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(23, 17, 14, .65);
  background: var(--espresso);
}
.pack__frame img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.6s var(--ease-lux); }
.pack__frame:hover img { transform: scale(1.025); }
.pack__visual figcaption { margin-top: 12px; font-size: .875rem; color: var(--soft); transition: color .8s; }

/* Hotspots: koppelen lijst en beeld.
   Alleen transform en opacity animeren, zodat de GPU het oppakt zonder de foto opnieuw te tekenen. */
.pack__dim {
  position: absolute; inset: 0;
  background: rgba(23, 17, 14, .42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
  will-change: opacity;
}
.pack__frame.has-active .pack__dim { opacity: 1; }

.spot {
  position: absolute;
  left: var(--sx); top: var(--sy);
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--milk);
  box-shadow: 0 0 0 4px rgba(250, 247, 240, .28), 0 4px 14px rgba(0, 0, 0, .45);
  cursor: pointer;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out);
  will-change: transform, opacity;
}
.spot::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 247, 240, .7);
  animation: ping 2.6s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.spot__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 100px; height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--brass), 0 0 36px 4px rgba(207, 171, 105, .45);
  opacity: 0;
  transform: scale(.3);
  transition: opacity .3s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
  will-change: transform, opacity;
}
.pack__frame.has-active .spot { opacity: .35; }
.pack__frame.has-active .spot.is-active { opacity: 1; transform: scale(.7); }
.pack__frame.has-active .spot.is-active .spot__ring { opacity: 1; transform: scale(1.43); }
.pack__frame.has-active .spot::after { animation: none; opacity: 0; }

.pack__info h3 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.pack__lead { margin-top: 14px; font: 400 clamp(1.1875rem, 1.7vw, 1.4375rem)/1.35 var(--serif); color: var(--soft); transition: color .8s; }
.pack__info h4 { margin: 32px 0 10px; font: 600 1rem/1.3 var(--sans); }

.contents { list-style: none; margin: 0; padding: 0; }
.contents li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  padding: 11px 14px; margin: 0 -14px;
  border-radius: 14px;
  cursor: default;
  transition: background-color .35s, transform .5s var(--ease-out);
}
.contents__meta { margin-left: auto; color: var(--soft); font-size: .9375rem; transition: color .8s; }
.contents li:hover, .contents li:focus-visible, .contents li.is-active { background: var(--surface); transform: translateX(4px); }
.contents li:focus-visible { outline-offset: 0; }
.contents strong { font-weight: 600; }

.pack__note { margin-top: 12px; font-size: .9375rem; color: var(--soft); }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 28px;
}
.facts div {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: var(--surface);
  transition: background-color 1.1s var(--ease-lux);
}
.facts dt { font-size: .8125rem; color: var(--soft); transition: color .8s; }
.facts dd { margin: 4px 0 0; font: 500 1.125rem/1.15 var(--serif); }

/* ------------------------------------------------------------------ */
/* Wanneer                                                             */
/* ------------------------------------------------------------------ */

.when { background: var(--milk); padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(40px, 6vw, 72px); }
.when__inner { max-width: 1160px; margin: 0 auto; }
.when h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); max-width: 14ch; }

.route {
  --progress: 0%;
  position: relative;
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: clamp(40px, 6vw, 64px) 0 0;
}
.route::before, .route::after {
  content: '';
  position: absolute; left: 9px; right: 9px; top: 9px; height: 2px;
  border-radius: 2px;
}
.route::before { background: var(--oat); }
.route::after { right: auto; width: var(--progress); background: var(--brass); transition: width 1.8s var(--ease-lux); }

.route__stop { position: relative; padding-top: 40px; }
.route__stop::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--milk);
  box-shadow: inset 0 0 0 2px var(--oat);
  z-index: 1;
  transition: background-color .6s, box-shadow .6s;
}
.route__stop.is-past::before { background: var(--brass); box-shadow: inset 0 0 0 2px var(--brass); }
.route__stop.is-now::before { background: var(--espresso); box-shadow: inset 0 0 0 2px var(--espresso), 0 0 0 6px rgba(207, 171, 105, .35); }
.route__when { display: block; font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--serif); color: var(--ink); }
.route__what { display: block; margin-top: 8px; color: var(--muted); max-width: 30ch; }
.route__stop.is-past .route__when { color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Drie koffies                                                        */
/* ------------------------------------------------------------------ */

.coffees { background: var(--milk); padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(80px, 11vw, 140px); }
.coffees__head { max-width: 1160px; margin: 0 auto clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.coffees__head h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 18ch; }
.coffees__head p { color: var(--muted); max-width: 30ch; }

.coffees__grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.coffee {
  position: relative;
  min-height: 360px;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  color: var(--ink);
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.coffee:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(23, 17, 14, .55); }
.coffee--smooth { --card: var(--oat); }
.coffee--bright { --card: var(--sage); }
.coffee--rich { --card: var(--fig); }

.coffee h3 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
.coffee__role { margin-top: 6px; font: 400 1.25rem/1.3 var(--serif); color: var(--muted-on-color); }
.coffee__taste { margin-top: auto; padding-top: 48px; font-size: 1.0625rem; max-width: 24ch; }
.coffee__origin { margin-top: 14px; font-size: .9375rem; color: var(--muted-on-color); }

.coffee__bean {
  position: absolute;
  pointer-events: none;
  animation: float 3.8s ease-in-out infinite alternate;
  transition: scale 1s var(--ease-out);
}
.coffee:hover .coffee__bean { scale: 1.12; }
.coffee--smooth .coffee__bean { width: 72px; right: 28px; top: 30px; rotate: 18deg; }
.coffee--bright .coffee__bean { width: 132px; right: -30px; top: 70px; rotate: -24deg; filter: blur(4.5px); animation-duration: 4.1s; }
.coffee--rich .coffee__bean { width: 96px; right: 22px; top: 12px; rotate: 64deg; filter: blur(1.2px); animation-duration: 3.6s; animation-delay: -1s; }

/* ------------------------------------------------------------------ */
/* Aanmelden                                                           */
/* ------------------------------------------------------------------ */

.signup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--espresso);
  color: var(--milk);
  scroll-margin-top: 0;
}
.signup__photo { position: relative; min-height: 420px; overflow: hidden; }
.signup__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.signup__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 17, 14, 0) 55%, var(--espresso)); }

.signup__body { padding: clamp(56px, 8vw, 112px) var(--gutter); max-width: 640px; }
.signup__mark { width: 44px; margin-bottom: 28px; }
.signup h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.signup__body > p { margin-top: 18px; color: var(--milk-soft); max-width: 36rem; }

.form { margin-top: 32px; }
.form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.form__row input {
  flex: 1 1 240px;
  min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid rgba(250, 247, 240, .3);
  background: rgba(250, 247, 240, .06);
  color: var(--milk);
  font: 400 1rem/1 var(--sans);
  transition: border-color .3s, background-color .3s;
}
.form__row input::placeholder { color: rgba(250, 247, 240, .45); }
.form__row input:focus { outline: none; border-color: var(--brass); background: rgba(250, 247, 240, .1); }
.form__row input[aria-invalid="true"] { border-color: #e59a7a; }
.form__msg { min-height: 1.6em; margin-top: 14px; color: var(--milk-soft); }
.form__msg.is-error { color: #f0b49b; }
.form__msg.is-done { color: var(--brass); }
.form.is-sent .form__row { display: none; }
.form button:disabled { opacity: .6; cursor: progress; }

/* Footer */
.footer {
  background: var(--espresso);
  color: var(--milk);
  text-align: center;
  padding: clamp(64px, 9vw, 112px) var(--gutter) 40px;
  border-top: 1px solid rgba(250, 247, 240, .08);
}
.footer__logo { width: min(320px, 70vw); margin: 0 auto; }
.footer__line { margin-top: 18px; font: 400 1.5rem/1.2 var(--serif); color: var(--brass); }
.footer__small { margin-top: 40px; font-size: .875rem; color: rgba(250, 247, 240, .55); }

/* ------------------------------------------------------------------ */
/* Reveals                                                             */
/* ------------------------------------------------------------------ */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-lux), transform 1.4s var(--ease-lux); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .coffees__grid .reveal:nth-child(2) { transition-delay: .12s; }
.js .coffees__grid .reveal:nth-child(3) { transition-delay: .24s; }

/* Beweging gepauzeerd */
.is-still .bean, .is-still .sign, .is-still .coffee__bean, .is-still .spot::after { animation-play-state: paused; }

/* ------------------------------------------------------------------ */
/* Responsief                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 960px) {
  .pack { grid-template-columns: 1fr; }
  .pack__visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coffees__grid { grid-template-columns: 1fr; }
  .coffee { min-height: 280px; }
  .signup { grid-template-columns: 1fr; }
  .signup__photo { min-height: 260px; }
  .signup__photo::after { background: linear-gradient(180deg, rgba(23, 17, 14, 0) 50%, var(--espresso)); }
}

@media (max-width: 720px) {
  .hero { align-items: end; padding-top: 168px; }
  .hero__photo { object-position: 78% 50%; }
  .hero__photo--dim { filter: brightness(.34) saturate(.75); }
  .hero__shade {
    background: linear-gradient(0deg, rgba(23, 17, 14, .95) 0%, rgba(23, 17, 14, .78) 45%, rgba(23, 17, 14, .2) 100%);
  }
  .hero__actions .btn { flex: 1 1 100%; }
  .sign { right: 16px; }
  .sign__strings { width: 92px; height: 52px; }
  .sign__strings::before, .sign__strings::after { height: 60px; }
  .sign__card { width: 150px; height: 90px; }
  .sign__big { font-size: 1.5rem; }
  .sign__face--back .sign__big { font-size: 1.2rem; }
  .sign__face::before { left: 27px; }
  .sign__face::after { right: 27px; }
  .bean--near { width: 170px; left: auto; right: -60px; top: auto; bottom: 34%; }
  .bean--far { right: 70%; top: 14%; }
  .bean--mid { display: none; }
  .hero__motion { bottom: 12px; right: 16px; }

  .contents__meta { margin-left: 0; flex-basis: 100%; }

  .route { grid-template-columns: 1fr; gap: 28px; }
  .route::before, .route::after { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .route::after { height: var(--progress); width: 2px; bottom: auto; transition: height 1.8s var(--ease-lux); }
  .route__stop { padding: 0 0 0 44px; }

  .form__row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .bean, .coffee__bean, .sign { animation: none !important; }
  .hero__logo, .hero__lead, .hero__actions, .hero__photo--lit, .hero__title .w { animation: none !important; opacity: 1; transform: none; filter: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__motion { display: none; }
}

/* Bedankpagina (fallback zonder JavaScript) */
.thanks { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 48px var(--gutter); text-align: center; color: var(--milk); }
.thanks__logo { width: min(360px, 70vw); margin-bottom: 16px; }
.thanks h1 { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 16ch; }
.thanks p { color: var(--milk-soft); }
