/* House of Hype — one-pager
   Fonts: RL Folklor (licentie nodig, zie README) met Marcellus als fallback. */

/* Uncomment zodra het RL Folklor webfont beschikbaar is:
@font-face {
  font-family: "RL Folklor";
  src: url("../assets/fonts/rl-folklor.woff2") format("woff2");
  font-display: swap;
}
*/

:root {
  --red: #FF3D2E;
  --ink: #16130F;
  --chalk: #F3F0EA;
  --light: #FBF7EE;
  --lime: #D4FF3A;
  --cobalt: #2D3BFF;
  --butter: #FFE45C;
  --pink: #FF4FA3;
  --tangerine: #FF7A1A;
  --lilac: #B9A6FF;
  --espresso: #2A1A14;
  --muted: #D9D2C6;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-serif: "RL Folklor", "Marcellus", Georgia, serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --wrap: 1240px;
  --gutter: 32px;
  --section-pad: clamp(64px, 9vw, 96px);
  --ease-spring: cubic-bezier(.2, 1.2, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { min-width: 0; }

/* ---------- Type ---------- */
.label {
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  font-size: 12px; letter-spacing: .24em;
}
.h-display {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: .95;
  font-size: clamp(40px, 5vw, 68px);
}
.lead { font-size: 18px; line-height: 1.6; max-width: 60ch; }
.zh { font-family: var(--font-zh); font-weight: 900; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 15px 26px;
  font: 600 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--light); }
.btn--red { background: var(--red); color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.pill {
  display: inline-block; border: 2px solid currentColor; border-radius: 999px; padding: 7px 16px;
  font: 600 12px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .14em; white-space: nowrap;
}
.pill--solid { border-color: transparent; }

/* ---------- Emblem ---------- */
.emblem { display: block; flex-shrink: 0; }
.emblem .spark { transform-box: fill-box; transform-origin: center; animation: spark 2.4s ease-in-out infinite; }
@keyframes spark { 50% { transform: scale(1.18); } }

/* ---------- Stickers ---------- */
.sticker {
  --r: -10deg;
  position: absolute; display: flex; align-items: center; justify-content: center; text-align: center;
  width: var(--size, 100px); aspect-ratio: 1; border-radius: 50%;
  font: 600 calc(var(--size, 100px) / 7)/1.1 var(--font-body); text-transform: uppercase; letter-spacing: .05em;
  transform: rotate(var(--r));
  animation: wobble 3.6s ease-in-out infinite;
}
@keyframes wobble { 50% { transform: rotate(calc(var(--r) + 7deg)) scale(1.05); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; display: flex; align-items: center; height: 52px; }
.marquee__track { display: flex; flex-shrink: 0; animation: marquee 38s linear infinite; }
.marquee__track span { font: 600 15px/1 var(--font-body); text-transform: uppercase; letter-spacing: .2em; padding-right: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--chalk); border-bottom: 2px solid var(--ink); }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__name { font: 800 20px/1 var(--font-display); letter-spacing: -.02em; }
.brand__zh { font-size: 16px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .16em; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 14px; font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--red); overflow: hidden; }
.hero .split { padding-block: 72px; }
.hero__copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; }
.hero__title { font: 800 clamp(48px, 7vw, 104px)/.9 var(--font-display); letter-spacing: -.04em; }
.hero__zh { font-size: clamp(22px, 2.4vw, 32px); }
.hero__text { font-size: 19px; line-height: 1.55; max-width: 34em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { flex: 1 1 420px; position: relative; }
.hero__photo { border: 4px solid var(--ink); border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; transform: rotate(2deg); animation: photo-in 1s .2s var(--ease-spring) both; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes photo-in { from { opacity: 0; transform: rotate(9deg) translateY(40px) scale(.94); } }
.rise { animation: rise .8s cubic-bezier(.2,.9,.3,1) both; animation-delay: calc(var(--i, 0) * .12s); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* ---------- Steps ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 18px; }
.step { flex: 1 1 280px; border: 2px solid var(--ink); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.step__num { font: 800 64px/.9 var(--font-display); }
.step__title { font: 800 30px/1 var(--font-display); }
.step p { font-size: 16px; line-height: 1.55; }

/* ---------- Maison Bloc ---------- */
.mb { background: var(--ink); color: var(--light); }
.mb__gallery { flex: 1 1 420px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mb__gallery figure { margin: 0; border-radius: 20px; overflow: hidden; }
.mb__gallery figure:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.mb__gallery img { width: 100%; height: 100%; object-fit: cover; }
.mb__tile { border-radius: 20px; background: var(--butter); color: var(--ink); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; }
.mb__tile strong { font: 400 54px/.85 var(--font-serif); }
.mb__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.mb__copy .lead { color: var(--muted); }
.mb__facts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Cubes ---------- */
.cubes { background: var(--chalk); }
.cubes .wrap { display: flex; flex-direction: column; gap: 34px; }
.cubes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cubes__divider { display: flex; align-items: center; gap: 14px; }
.cubes__divider h3 { font: 800 30px/1 var(--font-display); }
.cubes__divider span:nth-child(2) { flex-grow: 1; height: 2px; background: var(--ink); }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

.card {
  background: var(--bg); color: var(--fg); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.card:hover, .card:focus-visible { transform: translateY(-10px) rotate(-1.2deg); box-shadow: 0 22px 40px rgba(22,19,15,.25); }
.card { cursor: pointer; }
.card__top { padding: 18px 18px 0; display: flex; justify-content: space-between; align-items: center; }
.card__top img { width: 58px; height: auto; }
.card__type { border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 9px; font: 600 10px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.card__media { padding: 16px 18px 0; position: relative; }
.card__window { aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.38); display: flex; align-items: center; justify-content: center; }
.card--dark .card__window { background: rgba(255,255,255,.1); }
.card__window { position: relative; }
.card__img {
  position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(22,19,15,.28));
  animation: float 5s ease-in-out infinite; animation-delay: var(--delay, 0s);
  transition: opacity .35s ease, scale .5s var(--ease-spring), rotate .5s var(--ease-spring), translate .5s var(--ease-spring);
}
.card__img--whole { opacity: 0; scale: .9; rotate: 8deg; }
/* Hover (of tik op touch): doorsnede wordt het hele bloc */
.card:hover .card__img--cut, .card:focus-visible .card__img--cut, .card.is-flipped .card__img--cut { opacity: 0; scale: 1.08; rotate: -8deg; }
.card:hover .card__img--whole, .card:focus-visible .card__img--whole, .card.is-flipped .card__img--whole { opacity: 1; scale: 1.06; rotate: -4deg; }
/* Landmark van de herkomststad: subtiel onderin de kaart, tekent zich opnieuw bij hover */
.card__landmark {
  position: absolute; left: 0; bottom: 34px; width: 100%; height: auto; z-index: 0;
  color: var(--fg); opacity: .16; pointer-events: none; transition: opacity .3s ease;
}
.card__top, .card__media, .card__body, .card .marquee { position: relative; z-index: 1; }
.card:hover .card__landmark, .card:focus-visible .card__landmark, .card.is-flipped .card__landmark { opacity: .32; }
.card:hover .card__landmark *, .card:focus-visible .card__landmark *, .card.is-flipped .card__landmark * { animation: draw 1.2s cubic-bezier(.6,.1,.3,1) both; }
@keyframes draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.card .sticker { --size: 62px; right: 8px; top: 2px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card__no { display: flex; align-items: flex-start; gap: 4px; }
.card__no small { font: 600 12px/1 var(--font-body); text-transform: uppercase; margin-top: 8px; }
.card__no span { font: 400 52px/.85 var(--font-serif); }
.card__name { font: 400 22px/1.1 var(--font-serif); }
.card__desc { font-size: 14px; line-height: 1.45; opacity: .85; }
.card .marquee { height: 34px; background: var(--band); color: var(--band-fg); }
.card .marquee__track span { font-size: 10px; letter-spacing: .18em; }

.next-drop { background: var(--ink); color: var(--light); border-radius: 22px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 16px; }
.next-drop h3 { font: 800 30px/1.05 var(--font-display); margin-top: 8px; }
.next-drop p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.next-drop__stickers { display: flex; gap: 10px; }
.next-drop .sticker { position: relative; --size: 86px; }

/* ---------- Partners ---------- */
.partners { background: var(--lime); }
.partners .split { align-items: flex-start; }
.partners__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.facts { flex: 1 1 520px; display: flex; flex-wrap: wrap; gap: 14px; }
.fact { flex: 1 1 200px; border: 2px solid var(--ink); border-radius: 20px; padding: 24px; background: var(--chalk); transition: transform .35s var(--ease-spring); }
.fact:hover { transform: translateY(-6px) rotate(-.6deg); }
.fact strong { display: block; font: 800 48px/1 var(--font-display); }
.fact span { display: block; font-size: 15px; line-height: 1.4; margin-top: 8px; }

/* ---------- Social ---------- */
.social { background: var(--chalk); }
.social .wrap { display: flex; flex-direction: column; gap: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-3 figure { margin: 0; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; transition: transform .35s var(--ease-spring); }
.grid-3 figure:hover { transform: translateY(-6px) rotate(-.6deg); }
.grid-3 img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--light); }
.contact .split { align-items: flex-start; padding-bottom: 72px; }
.contact__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.contact__copy .lead { color: var(--muted); }
.contact__mail { color: var(--lime); font: 600 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.form { flex: 1 1 520px; display: flex; flex-wrap: wrap; gap: 14px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.field--full { flex-basis: 100%; }
.field label { font: 600 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: .18em; }
.field input, .field select, .field textarea {
  font: 16px/1.4 var(--font-body); color: var(--light); background: #2A2520;
  border: 1.5px solid #4A443B; border-radius: 12px; padding: 14px 16px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); outline: none; }
.form__status { flex-basis: 100%; color: var(--lime); font-size: 15px; min-height: 1.4em; }
.site-footer { border-top: 1px solid #3A342D; padding-block: 28px 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #BFB8AC; }
.site-footer .brand { color: var(--light); }
.site-footer .brand__name { font-size: 16px; }

/* ---------- Scroll reveal (JS voegt .is-visible toe) ---------- */
.js .reveal { opacity: 0; translate: 0 36px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.9,.3,1); transition-delay: var(--delay-reveal, 0s); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .grid-5, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: block; }
  .site-header .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--chalk); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: flex-start; padding: 20px var(--gutter) 28px; gap: 18px; }
  .nav.is-open { display: flex; }
  .hero__visual .sticker:first-of-type { left: 0 !important; }
  .brand__zh { display: none; }
}
@media (max-width: 460px) { .grid-5 { grid-template-columns: minmax(0, 1fr); } }

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

/* ===================== Hypes (openbare site + unlock) ===================== */

/* Hero: 'kluis' met drie wazige hype-tegels */
.vault { min-height: 520px; }
.vault__tile {
  position: absolute; width: 58%; aspect-ratio: 3 / 4; left: var(--x); top: var(--y);
  border: 4px solid var(--ink); border-radius: 26px; background-size: cover; background-position: center;
  transform: rotate(var(--r)); box-shadow: 0 18px 40px rgba(22,19,15,.25);
  animation: tile-in .9s var(--ease-spring) both;
}
.vault__tile:nth-child(2) { animation-delay: .1s; }
.vault__tile--front { animation-delay: .2s; }
.vault__tile span {
  position: absolute; left: 14px; bottom: 14px; background: var(--ink); color: var(--light);
  border-radius: 999px; padding: 7px 14px; font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .16em;
}
@keyframes tile-in { from { opacity: 0; transform: rotate(calc(var(--r) + 8deg)) translateY(40px) scale(.94); } }

/* Hype-kaarten */
.hypes { background: var(--chalk); }
.hypes .wrap { display: flex; flex-direction: column; gap: 34px; }
.hype-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hype-card {
  background: var(--light); border: 3px solid var(--ink); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.hype-card:hover { transform: translateY(-8px) rotate(-.8deg); box-shadow: 0 22px 40px rgba(22,19,15,.2); }
.hype-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--ink); }
.hype-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-spring); }
.hype-card:not(.is-open) .hype-card__media img { scale: 1.08; }
.hype-card:hover .hype-card__media img { scale: 1.12; }
.hype-card__badge {
  position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--light); border-radius: 999px; padding: 9px 16px;
  font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .16em;
}
.is-open .hype-card__badge { background: var(--lime); color: var(--ink); }
.hype-card:not(.is-open) .hype-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(22,19,15,.08) 0 12px, transparent 12px 24px);
}
.lock { flex-shrink: 0; }
.hype-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.hype-card__name { font: 800 34px/1 var(--font-display); letter-spacing: -.02em; }
.hype-card__line { font-size: 15px; opacity: .75; margin-bottom: 8px; }
.hype-card .btn { align-self: flex-start; margin-top: auto; }

.notice { border: 2px solid var(--ink); border-radius: 16px; padding: 14px 18px; background: var(--butter); font-weight: 600; }
.notice--ok { background: var(--lime); }

/* Band boven een hype-pagina */
.hype-band { background: var(--ink); color: var(--lime); }
.hype-band .wrap { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.hype-band__back { color: var(--light); text-decoration: none; font: 600 13px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; }
.hype-band__back:hover { color: var(--lime); }
.next-drop .btn { flex-shrink: 0; }

@media (max-width: 1000px) { .hype-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .hype-grid { grid-template-columns: minmax(0, 1fr); }
  .vault { min-height: 420px; }
}

/* /share */
.share-login { max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.share-login input, .share-new input[type="text"], .share-new input:not([type]), .share-new #note {
  font: 18px/1.4 var(--font-body); padding: 14px 16px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); width: 100%;
}
.share-new { background: #fff; border: 3px solid var(--ink); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.share-new__title { font: 800 28px/1 var(--font-display); }
.share-new fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.share-new legend { margin-bottom: 10px; }
.share-new .field label { color: var(--ink); }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 17px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.share-list { display: flex; flex-direction: column; gap: 12px; }
.share-row { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 14px 16px; flex-wrap: wrap; }
.share-row.is-new { background: var(--lime); }
.share-row__main { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.share-row__url { font: 15px/1.3 ui-monospace, Menlo, monospace; border: 0; background: transparent; color: var(--ink); width: 100%; }
.share-row__meta { font-size: 14px; opacity: .8; }
.share-row .btn { padding: 12px 18px; }

/* Honeypot tegen spam: onzichtbaar voor mensen */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* Cubes: 12 smaken, rijen gecentreerd (7 zoet als 4 + 3, 5 hartig op een rij) */
.cubes-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cubes-row > .card { flex: 0 0 calc((100% - 64px) / 5); min-width: 0; }
.cubes__break { flex-basis: 100%; height: 0; }
.cubes__serve { font: 600 12px/1.4 var(--font-body); text-transform: uppercase; letter-spacing: .14em; opacity: .6; text-align: center; margin-top: -14px; }
@media (max-width: 1100px) { .cubes-row > .card { flex-basis: calc((100% - 32px) / 3); } .cubes__break { display: none; } }
@media (max-width: 760px) { .cubes-row > .card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 460px) { .cubes-row > .card { flex-basis: 100%; } }
