/* aikehoekstra.com · Japandi: washi-papier, sumi-inkt, één rood stempel. Rust, ruimte en dunne lijnen. */
:root {
  --paper: #f3efe7;
  --paper-2: #ebe5d9;
  --card: #fbf9f4;
  --ink: #1d1c1a;
  --ink-2: #4b4842;
  --stone: #8a857b;
  --line: rgba(29, 28, 26, .14);
  --line-2: rgba(29, 28, 26, .28);
  --hanko: #b5402a;
  --moss: #5d6a4e;
  --clay: #a8794f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Papierkorrel */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .5; mix-blend-mode: multiply;
  background-image: 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 .45 0 0 0 0 .4 0 0 0 0 .33 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
em { font-style: italic; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--stone); }
.label { font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: var(--line-2); }
.h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 16ch; }

/* knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 2px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 2px solid var(--hanko); outline-offset: 4px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-red { background: var(--hanko); color: #fff; }
.btn-red:hover { background: #9c3522; }
.btn[hidden] { display: none; }

/* routelijn met "jij bent hier"-stip */
.route-line { position: fixed; left: 28px; top: 14vh; bottom: 14vh; width: 1px; background: var(--line); z-index: 5; display: none; }
.route-dot { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--hanko); box-shadow: 0 0 0 4px rgba(181, 64, 42, .14); will-change: transform; }
@media (min-width: 1280px) { .route-line { display: block; } }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 400 18px/1 var(--serif); color: var(--ink); }
.hanko {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--hanko); color: #fbf3ea;
  font: 600 12px/1 var(--serif); letter-spacing: .06em; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .18);
}
.nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav-lang a { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; padding: 7px 9px; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 2px; }
.nav .nav-cta { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 11px 16px; background: var(--ink); color: var(--paper); border-radius: 2px; }
.nav .nav-cta:hover { color: var(--paper); background: #000; }

/* hero */
.hero { position: relative; padding-bottom: clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero h1 { font-size: clamp(38px, 5.6vw, 74px); line-height: 1.04; margin-bottom: 30px; }
.hero h1 em { color: var(--hanko); }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 520px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-art { display: grid; place-items: center; }
.enso { width: min(420px, 100%); aspect-ratio: 1; overflow: visible; }
.enso path {
  fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; opacity: .9;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .3s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .enso path { animation: none; stroke-dashoffset: 0; } }

/* Vertrekbord met klapletters: oud station, in sumi-inkt */
.board {
  --fs: clamp(11px, 1.2vw, 16px); --fw: 1.25;
  max-width: 900px; margin-inline: auto; background: #1d1c1a; border-radius: 4px; padding: 20px 20px 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 40px 70px -35px rgba(29, 28, 26, .7), inset 0 0 0 1px rgba(255, 255, 255, .05);
  position: relative;
}
.board::before, .board::after { /* bevestigingsbouten */
  content: ""; position: absolute; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: #3a3833; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6);
}
.board::before { left: 10px; } .board::after { right: 10px; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 16px; font: 600 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #d9a441; }
.board-clock { color: #efe9dc; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.board-cols, .board-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; }
.board-cols { font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #77736a; padding: 0 6px 10px; }
.board-cols span:first-child { width: calc(5 * var(--fw) * var(--fs) + 8px); }
.board-row { padding: 7px 6px; border-top: 1px solid rgba(255, 255, 255, .06); align-items: center; }
.flaps { display: flex; gap: 2px; min-width: 0; overflow: hidden; }
.flap {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: calc(var(--fw) * var(--fs)); height: calc(1.7 * var(--fs));
  font: 600 var(--fs)/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #efe9dc;
  background: linear-gradient(#2c2a27 0 50%, #26241f 50% 100%); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35);
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
.flap.flip { transform: scaleY(.86); }
.flap.hot { color: #d9a441; }
.board-row.me { background: rgba(181, 64, 42, .12); border-radius: 3px; }
.board-row.me .flap { color: #e0715a; }

/* secties */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.section-alt { background: var(--paper-2); }

/* geannuleerd / wel dit */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.col-no { padding-right: clamp(24px, 5vw, 72px); border-right: 1px solid var(--line); }
.col-yes { padding-left: clamp(24px, 5vw, 72px); }
.seal-label {
  display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  padding: 9px 12px; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 2px; margin-bottom: 30px;
}
.seal-red { border-color: var(--hanko); color: var(--hanko); transform: rotate(-3deg); }
.crossed { list-style: none; margin: 0; padding: 0; }
.crossed li {
  font: 400 clamp(19px, 2vw, 23px)/1.35 var(--serif); color: var(--stone); padding: 16px 0; border-top: 1px solid var(--line);
  text-decoration: line-through; text-decoration-color: var(--hanko); text-decoration-thickness: 1.5px;
}
.yes { margin: 0; }
.yes dt { font: 400 clamp(21px, 2.2vw, 26px)/1.25 var(--serif); color: var(--ink); padding-top: 16px; border-top: 1px solid var(--line); }
.yes dd { margin: 6px 0 22px; }

/* lijnkaart */
.line-map { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.line-map::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 3px; background: var(--moss); border-radius: 2px; opacity: .85; }
.stop { position: relative; padding-top: 40px; }
.stop-dot { position: absolute; top: 0; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 3px var(--moss); }
.stop-end .stop-dot { box-shadow: inset 0 0 0 3px var(--hanko); background: var(--hanko); }
.stop-no { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .22em; color: var(--stone); margin-bottom: 14px; }
.stop h3 { font-size: 25px; }
.stop p { font-size: 15.5px; margin: 0; }

/* eki-stempels */
.stamps-note { margin-top: 96px; }
.ekis { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 22px; }
.eki {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 2px solid currentColor; position: relative; opacity: .85; transition: transform .3s var(--ease), opacity .3s;
  font: 600 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.eki::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid currentColor; opacity: .55; }
.eki span { max-width: 74px; }
.eki-0 { color: var(--hanko); transform: rotate(-8deg); }
.eki-1 { color: var(--moss); transform: rotate(5deg); }
.eki-2 { color: var(--ink-2); transform: rotate(-3deg); }
.eki-3 { color: var(--clay); transform: rotate(9deg); }
.eki:hover { opacity: 1; transform: rotate(0) scale(1.04); }

/* ticket */
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.ticket-form { margin-top: 34px; display: grid; }
.ticket-form label { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.ticket-form input {
  border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 12px 0 14px; margin-bottom: 28px;
  font: 400 21px/1.3 var(--serif); color: var(--ink); border-radius: 0; width: 100%;
}
.ticket-form input::placeholder { color: #a9a397; font-style: italic; }
.ticket-form input:focus { outline: none; border-bottom-color: var(--ink); }
.ticket-form .btn { justify-self: start; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.shuffle { border: 0; background: none; padding: 0; cursor: pointer; font: 500 13px/1 var(--sans); color: var(--stone); }
.shuffle:hover { color: var(--hanko); }
.fine { font-size: 13px; color: var(--stone); margin-top: 16px; }

.kippu-stage { display: grid; gap: 22px; justify-items: start; position: sticky; top: 40px; }
.kippu {
  position: relative; width: 100%; background: var(--card); padding: 30px 32px 28px; border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(29, 28, 26, .5); border: 1px solid var(--line);
  /* ponsgaatjes langs de randen */
  -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.kippu.print { animation: slide .8s var(--ease); }
@keyframes slide { from { transform: translateY(-14px); opacity: .3; } }
.kippu-top { display: flex; justify-content: space-between; gap: 12px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.kippu-route { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: end; gap: 12px; padding: 26px 0 22px; }
.k-lbl { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 9px; }
.k-val { display: block; font: 400 clamp(21px, 2.3vw, 28px)/1.15 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.k-unknown { color: var(--hanko); font-style: italic; }
.k-arrow { height: 1px; background: var(--ink); position: relative; margin-bottom: 14px; }
.k-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); }
.kippu-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.k-s { font: 400 19px/1 var(--serif); color: var(--ink); }
.kippu-dream { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kippu-dream[hidden] { display: none; }
.kippu-dream p { font: italic 400 21px/1.3 var(--serif); color: var(--hanko); margin: 0; overflow-wrap: anywhere; }
.kippu-leg { padding-top: 18px; padding-right: 80px; }
.kippu-leg p { font: 400 20px/1.4 var(--serif); color: var(--ink); margin: 0; }

.seal {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 8px; color: var(--hanko);
  border: 2.5px solid var(--hanko); font: 600 20px/1 var(--serif); letter-spacing: .04em;
  position: absolute; right: 26px; bottom: 24px; transform: rotate(-12deg) scale(1.6); opacity: 0; mix-blend-mode: multiply;
}
.seal::after { content: ""; position: absolute; inset: 4px; border: 1px solid var(--hanko); border-radius: 5px; opacity: .6; }
.kippu.stamped .seal { animation: stamp .45s .35s var(--ease) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.6); } 70% { opacity: .95; transform: rotate(-12deg) scale(.94); } 100% { opacity: .9; transform: rotate(-12deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .kippu.stamped .seal { animation: none; opacity: .9; transform: rotate(-12deg); } .kippu.print { animation: none; } }

/* reisleider */
.guide { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.guide-photo { position: relative; margin: 0; max-width: 420px; }
.guide-photo img { display: block; width: 100%; height: auto; border-radius: 2px; filter: saturate(.78) contrast(1.02) sepia(.06); box-shadow: 0 40px 70px -40px rgba(29, 28, 26, .55); }
.guide-photo .seal-on { opacity: 1; transform: rotate(-10deg); right: -22px; bottom: 44px; background: var(--card); mix-blend-mode: normal; box-shadow: 0 10px 24px -12px rgba(29, 28, 26, .5); }
.guide-photo figcaption { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-top: 16px; }
.guide-copy p { font-size: 18px; max-width: 34em; }

.notes .h2 { max-width: none; }

/* laatste oproep */
.final { padding: clamp(96px, 13vw, 170px) 0; text-align: center; border-top: 1px solid var(--line); }
.final-inner { display: grid; justify-items: center; }
.final .label { justify-content: center; }
.final .label::after { content: ""; width: 28px; height: 1px; background: var(--line-2); }
.final h2 { font-size: clamp(40px, 6.4vw, 84px); }
.final p { max-width: 30em; margin-bottom: 36px; font-size: 18px; }
.enso-small { width: 120px; margin-bottom: 26px; }
.enso-small path { stroke-width: 7; stroke: var(--hanko); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 30px 0 44px; border-top: 1px solid var(--line); font-size: 13px; color: var(--stone); }
.footer a { color: var(--stone); }
.footer a:hover { color: var(--hanko); }

/* binnenkomen bij scrollen */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* 404 */
.hero-full { min-height: 100vh; }

/* agents-pagina */
.agents { max-width: 820px; }
.agents h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 64px; }
.agents ol, .agents ul { padding-left: 1.2em; }
.agents li { margin: 10px 0; }
.agents strong { color: var(--ink); font-weight: 600; }
.agents .note { border-left: 2px solid var(--hanko); padding: 4px 0 4px 20px; margin: 26px 0; }
.agents .prompt { font: 500 14px/1.7 ui-monospace, "SF Mono", Menlo, monospace; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; padding: 18px 22px; overflow-x: auto; }
.agents dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.agents dt { font: 600 11.5px/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.agents dd { margin: 0; }
.agents a { color: var(--hanko); }

/* tablet en telefoon */
@media (max-width: 960px) {
  .hero-grid, .ticket-grid, .guide { grid-template-columns: 1fr; }
  .hero-art { order: -1; justify-items: start; }
  .enso { width: 150px; }
  .line-map { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .line-map::before { display: none; }
  .kippu-stage { position: static; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav ul { gap: 14px; }
  .nav ul li:not(:last-child):not(.nav-lang) { display: none; }
  .logo span:last-child { display: none; }
  .split { grid-template-columns: 1fr; }
  .col-no { padding: 0 0 48px; border-right: 0; border-bottom: 1px solid var(--line); }
  .col-yes { padding: 48px 0 0; }
  .line-map { grid-template-columns: 1fr; gap: 0; padding-left: 34px; }
  .line-map::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
  .stop { padding: 0 0 40px; }
  .stop-dot { left: -34px; }
  .eki { width: 88px; height: 88px; font-size: 10px; }
  .kippu { padding: 24px 22px; }
  .kippu-meta { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .kippu-route { grid-template-columns: 1fr 32px 1fr; }
  .kippu-leg { padding-right: 64px; }
  .seal { width: 52px; height: 52px; font-size: 16px; right: 18px; bottom: 18px; }
  .board { padding: 16px 8px 10px; --fs: 9.2px; --fw: 1; }
  .board-cols, .board-row { grid-template-columns: auto 1fr; gap: 6px; }
  .board-cols span:nth-child(3), .board-row > .flaps:nth-child(3) { display: none; }
  .board .flaps { gap: 1px; }
  .agents dl { grid-template-columns: 1fr; gap: 2px; }
  .agents dd { margin-bottom: 12px; }
}
.section-top { padding-top: 24px; }
