@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-wdth-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}
@font-face { font-family: "Space Mono"; src: url("fonts/space-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("fonts/space-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --lime: #e2ff3d;
  --wit: #ffffff;
  --asfalt: #18181a;
  --asfalt-2: #222225;
  --lucht-1: #0634c4;
  --lucht-2: #1f6df2;
  --lucht-3: #7db4ff;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--asfalt);
  color: var(--wit);
  font-family: var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lime); }
button { font: inherit; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 32px;
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(255,255,255,.07), transparent 70%),
    linear-gradient(180deg, var(--lucht-1) 0%, var(--lucht-2) 34%, var(--lucht-3) 58%, #c4dcff 66%);
  transition: background .6s;
}
.hero::after { /* grain over alles */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: var(--grain); mix-blend-mode: overlay; opacity: .8;
}

.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) 16px 0;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}
.merk { font-weight: 700; }
.stempel { color: rgba(255,255,255,.7); display: none; position: absolute; left: 50%; transform: translateX(-50%); }
.locatie {
  justify-self: end;
  background: transparent; color: var(--lime); border: 1px solid rgba(226,255,61,.55);
  border-radius: 99px; padding: 6px 12px; cursor: pointer;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  max-width: 44vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .2s, color .2s;
}
.locatie:hover { background: var(--lime); color: #0b0b0c; }

.zijtekst {
  display: none;
  position: absolute; z-index: 4; right: 18px; top: 50%;
  margin: 0; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--lime);
}

.vraag {
  margin: 66px 0 0;
  font-family: var(--sans); font-style: italic; font-weight: 800; font-stretch: 72%;
  font-size: clamp(1.15rem, 4.8vw, 2rem); line-height: 1; text-align: center;
  text-transform: uppercase; letter-spacing: .03em;
}

.poster { position: relative; width: min(100%, 1180px); display: flex; flex-direction: column; align-items: center; }

.antwoord {
  margin: 3.2vh 0 0; position: relative; z-index: 1;
  font-family: var(--sans); font-style: italic; font-weight: 900; font-stretch: 62%;
  font-size: min(50vw, 22rem); line-height: .76; letter-spacing: -.035em;
  color: var(--lime);
  display: flex; justify-content: center;
}
.antwoord span {
  display: inline-block;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg));
  transform-origin: 50% 100%;
  transition: transform .6s cubic-bezier(.2,1.3,.4,1);
}
.laden .antwoord span { animation: puls 1s ease-in-out infinite alternate; }
@keyframes puls { to { opacity: .35; } }

.sneaker-wrap {
  position: relative; z-index: 2;
  width: min(122%, 1000px); aspect-ratio: 16 / 10;
  margin-top: -27vw;
}
.sneaker-wrap::before { /* het asfalt */
  content: ""; position: absolute; z-index: -1;
  left: -100vw; right: -100vw; top: 47%; bottom: -200vh;
  background:
    linear-gradient(180deg, rgba(196,220,255,.28) 0, rgba(196,220,255,0) 18px),
    var(--grain),
    linear-gradient(180deg, #2f3035 0%, #1f1f22 8%, var(--asfalt) 34%);
}
.sneaker-wrap::after { /* belijning van het pleintje */
  content: ""; position: absolute; z-index: -1;
  left: -40%; right: -40%; top: 71%; height: 2px;
  background: rgba(255,255,255,.16);
  transform: rotate(-3.5deg);
  box-shadow: 0 min(18vw, 150px) 0 rgba(255,255,255,.09);
}
.sneaker-still, .sneaker-3d, .sneaker-3d canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.sneaker-still { object-fit: contain; transition: opacity .5s, filter .6s; }
.sneaker-3d { opacity: 0; transition: opacity .6s; }
.sneaker-3d canvas { touch-action: pan-y; cursor: grab; }
.sleept .sneaker-3d canvas { cursor: grabbing; }
.live .sneaker-3d { opacity: 1; }
.live .sneaker-still { opacity: 0; }
.draai-hint {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); z-index: 2; pointer-events: none;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.7); opacity: 0; transition: opacity .4s;
}
.live .draai-hint { opacity: 1; animation: hint 1s 4s forwards; }
.sleept .draai-hint { opacity: 0; }
@keyframes hint { to { opacity: 0; } }
.plas {
  position: absolute; left: 14%; right: 14%; top: 62%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150,190,255,.45), rgba(80,120,200,.2) 60%, transparent);
  filter: blur(2px); opacity: 0; transition: opacity .6s;
}

.labels {
  list-style: none; margin: -4px 0 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px;
  font-family: var(--mono); text-transform: uppercase; position: relative; z-index: 2;
}
.labels li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 3px; align-items: baseline;
  padding-top: 9px; border-top: 1px solid rgba(226,255,61,.45);
}
.labels i { font-style: normal; font-size: .6rem; color: rgba(226,255,61,.6); letter-spacing: .06em; }
.labels b { color: var(--lime); font-size: .76rem; letter-spacing: .06em; }
.labels span { grid-column: 2; font-size: .7rem; color: rgba(255,255,255,.82); letter-spacing: .04em; }

.sub {
  margin: 26px 0 0; max-width: 24ch; text-align: center; position: relative; z-index: 2;
  font-weight: 800; font-stretch: 80%; font-size: clamp(1.3rem, 5.4vw, 2rem); line-height: 1.05;
  letter-spacing: -.005em; text-wrap: balance;
}

.acties { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 4; }
.knop {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lime); color: #0b0b0c;
  font-family: var(--sans); font-weight: 800; font-stretch: 78%; font-style: italic;
  text-transform: uppercase; font-size: 1rem; letter-spacing: .03em;
  padding: 15px 24px; border-radius: 99px; min-height: 52px;
  transition: transform .15s, background .2s, color .2s;
}
.knop::after { content: "→"; font-style: normal; font-family: var(--mono); font-weight: 700; }
.knop:hover { transform: translateY(-2px); }
.knop:active { transform: translateY(1px) scale(.98); }
.knop--ghost { background: transparent; color: var(--wit); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.knop--ghost::after { content: "↗"; }
.knop--ghost:hover { background: var(--wit); color: #0b0b0c; }

/* ---------- STATES ---------- */
.nee .hero {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, #2c3442 0%, #4a5566 40%, #7d8898 64%, #a3acb8 72%);
}
.nee .sneaker-still { filter: saturate(.5) brightness(.85) sepia(.25); }
.twijfel .plas, .nee .plas { opacity: 1; }
.twijfel .hero {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, #1646b8 0%, #4d82d6 40%, #9dbde6 64%, #c8d9ee 72%);
}

.lucht { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.regen {
  position: absolute; inset: -20% 0 0; opacity: 0; transition: opacity .6s;
  background-image:
    linear-gradient(100deg, transparent 0 48%, rgba(255,255,255,.35) 49% 50%, transparent 51%),
    linear-gradient(100deg, transparent 0 48%, rgba(255,255,255,.2) 49% 50%, transparent 51%);
  background-size: 23px 90px, 37px 130px;
  animation: regen .5s linear infinite;
}
.nee .regen { opacity: 1; }
@keyframes regen { to { background-position: -12px 90px, -18px 130px; } }
.lucht { z-index: 6; }

/* ---------- ONDER ---------- */
.onder {
  background: var(--grain), var(--asfalt);
  padding: 8px 16px 40px;
  display: grid; gap: 16px;
  max-width: 720px; margin: 0 auto;
}
.grap {
  margin: 12px 0 8px; font-style: italic; font-weight: 700; font-stretch: 80%;
  font-size: clamp(1.3rem, 5vw, 1.9rem); line-height: 1.15; text-wrap: balance;
}
.grap::before { content: "“"; color: var(--lime); }
.grap::after { content: "”"; color: var(--lime); }
.kaart {
  background: var(--asfalt-2); border: 1px solid #2f2f33; border-radius: 18px; padding: 18px 18px 16px;
}
.kaart h2 {
  margin: 0 0 8px; color: var(--lime);
  font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.kaart p { margin: 0 0 8px; line-height: 1.5; color: #d9d9de; }
.morgen__antwoord {
  font-style: italic; font-weight: 900; font-stretch: 62%; font-size: 3.2rem; line-height: 1;
  color: var(--wit) !important; margin: 0 0 4px !important;
}
.regels { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.regels li { padding-left: 22px; position: relative; line-height: 1.4; color: #d9d9de; }
.regels li::before { content: "→"; position: absolute; left: 0; color: var(--lime); font-family: var(--mono); }
.faq details { border-top: 1px solid #333338; padding: 12px 0; }
.faq details:first-of-type { border-top: 0; padding-top: 4px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-family: var(--mono); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; }

.eigenwijs { border: 2px solid var(--lime); border-radius: 18px; padding: 18px; }
.eigenwijs p { margin: 0 0 10px; }
.eigenwijs__kop { font-style: italic; font-weight: 900; font-stretch: 70%; font-size: 1.8rem; text-transform: uppercase; color: var(--lime); line-height: 1; }

/* Advertentie-/affiliateplekken: onzichtbaar live, zichtbaar in dev */
.slot { display: none; }
.dev .slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 110px; border: 2px dashed #45454b; border-radius: 14px; color: #77777f;
  font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: 12px;
}

.voet {
  text-align: center; padding: 24px 16px calc(28px + env(safe-area-inset-bottom));
  font-family: var(--mono); font-size: .75rem; color: #8b8b93; text-transform: uppercase; letter-spacing: .05em;
}
.voet p { margin: 4px 0; }
.voet .klein { text-transform: none; }

/* ---------- DESKTOP: labels rondom de sneaker, zoals op een poster ---------- */
@media (min-width: 600px) {
  .stempel { display: block; }
}
@media (min-width: 860px) {
  .zijtekst { display: block; }
  .vraag { margin-top: 76px; }
  .antwoord { margin-top: 4vh; font-size: min(28vw, 25rem, 35vh); }
  .sneaker-wrap { margin-top: min(-15vw, -22vh); width: min(78%, 900px); }
  .labels { position: absolute; inset: 0; display: block; margin: 0; }
  .labels li { position: absolute; width: 210px; }
  .labels b { font-size: .86rem; }
  .labels span { font-size: .76rem; }
  .labels .l1 { left: 1%; top: 30%; }
  .labels .l2 { right: 1%; top: 30%; }
  .labels .l3 { left: 4%; bottom: 13%; }
  .labels .l4 { right: 4%; bottom: 13%; }
  .labels li::after { /* haarlijn richting de sneaker */
    content: ""; position: absolute; top: -1px; width: 60px; height: 1px; background: rgba(226,255,61,.45);
  }
  .labels .l1::after, .labels .l3::after { left: 100%; }
  .labels .l2::after, .labels .l4::after { right: 100%; }
  .labels li::before {
    content: ""; position: absolute; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  }
  .labels .l1::before, .labels .l3::before { left: calc(100% + 60px); }
  .labels .l2::before, .labels .l4::before { right: calc(100% + 60px); }
  .sub { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .regen { animation: none; }
  .live .draai-hint { animation: none; opacity: 0; }
  .antwoord span { transition: none; }
}

/* ?og=1 — alleen gebruikt om og.png te maken */
.og .locatie, .og .labels, .og .acties, .og .draai-hint, .og .stempel, .og .zijtekst { display: none; }
.og .sub { margin-top: 18px; }
.og .sneaker-wrap { width: 60%; margin-top: -11vw; }
