/* ==========================================================================
   ENSO PUZZEL — Edition-picker
   Verrijkt met design-foundation principes (chouboku-ladder, washi, sumi-e
   ensō) maar in 16-bit pixel-stijl. Geen verloop, alleen vlakke kleuren,
   pixel-shadows, dashed borders.
   ========================================================================== */

:root {
  /* Chouboku-ladder: drie grijstinten met midtoon (gray-200) als brug */
  --paper:        #FAFAFA;
  --paper-soft:   #F4F4F4;   /* gray-50  */
  --paper-warm:   #F2E5E0;   /* samurai-red-subtle (washi) */
  --ink:          #121212;
  --ink-muted:   #666666;    /* gray-600 */
  --ink-subtle:  #B3B3B3;    /* gray-400 */
  --border:       #E0E0E0;   /* gray-200 */
  --border-strong:#B3B3B3;   /* gray-400 */
  --indigo:       #2C3E50;   /* secundair: alt-donker voor IT-manager-tag */
  --samurai:      #9D0A0E;
  --samurai-hov:  #7A0709;
  --samurai-act:  #5C0406;
  --gold:         #D4AF37;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'VT323', monospace;
  color:var(--ink);
  background: var(--paper);
  min-height:100vh;
  overflow-x:hidden;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  font-smoothing: never;
}

/* Subtiel pixelraster zoals op de level-landings — herkenbaar Enso-canvas */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(18,18,18,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,18,18,0.04) 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
  z-index: 1;
}

.picker-shell { position: relative; z-index: 3; }

h1,h2,h3,.pixel { font-family:'Press Start 2P', monospace; letter-spacing: 0.5px; line-height: 1.4; }

/* ---------- NAV ---------- */
.picker-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}
.logo { display: flex; align-items: center; gap: 10px;
  font-family:'Press Start 2P', monospace; font-size: 12px; color: var(--ink); text-decoration: none; }
.logo-mark { width: 24px; height: 24px; color: var(--samurai);
  display: inline-flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 18px; font-size: 18px; }
.nav-links a { color: var(--ink-muted); text-decoration: none; }
.nav-links a:hover { color: var(--samurai); }

/* ---------- HERO ---------- */
.hero-pick {
  padding: 70px 24px 100px;
  position: relative;
  border-bottom: 3px solid var(--ink);
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family:'Press Start 2P', monospace;
  font-size: 10px; letter-spacing: 2px;
  color: var(--samurai);
  background: var(--paper-warm);
  padding: 6px 10px; border-radius: 2px;
  margin-bottom: 18px;
}
.hero-pick h1 { font-size: 36px; line-height: 1.2; margin: 0 0 18px; }
.hero-pick h1 span { color: var(--samurai); }
.lede {
  font-size: 22px; line-height: 1.5; color: var(--ink);
  border-left: 3px solid var(--samurai); padding-left: 14px;
  max-width: 580px;
}

.hero-art-pick { position: relative; min-height: 280px; }
.enso-big {
  width: 100%; max-width: 360px; display: block;
  margin: 0 auto;
}
.enso-stroke {
  fill: none;
  stroke: var(--samurai);
  stroke-width: 28;
  stroke-linecap: round;
  /* Sumi-e: penseel-textuur via stroke-dasharray die imperfectie suggereert */
  stroke-dasharray: 2 1 4 1 8 2 16 1 24 1 60 1 120 1 80 1;
  stroke-dashoffset: 0;
  opacity: 0.88;
}
.pixel-dot {
  position: absolute; width: 12px; height: 12px; background: var(--ink);
}
.pixel-dot.red { background: var(--samurai); }
.pixel-dot.gray { background: var(--ink-subtle); }
.pos-a { top: 10%; left: 8%; }
.pos-b { top: 22%; right: 12%; width: 16px; height: 16px; }
.pos-c { bottom: 25%; left: 14%; }
.pos-d { bottom: 8%; right: 22%; }

/* ---------- Edition-grid ---------- */
.picker-grid {
  max-width: 1080px; margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.edition {
  display: flex; flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 4px;
  padding: 30px 28px;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  min-height: 360px;
}
.edition:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--samurai);
}
.edition.arch { background: var(--paper); }
.edition.itm  { background: var(--paper-soft); }    /* chouboku: tweede grijstrap */

.ed-mark {
  position: absolute;
  top: 18px; right: 22px;
  font-family:'Press Start 2P', monospace;
  font-size: 38px;
  color: var(--samurai);
  opacity: 0.85;
  line-height: 1;
}
.edition.itm .ed-mark { color: var(--indigo); }

.ed-eyebrow {
  display: inline-block;
  font-family:'Press Start 2P', monospace;
  font-size: 9px; letter-spacing: 2px;
  color: var(--samurai);
  background: var(--paper-warm);
  padding: 4px 8px; border-radius: 2px;
  margin-bottom: 14px;
}
.edition.itm .ed-eyebrow {
  color: var(--indigo);
  background: #E8ECEF;     /* zachte indigo-washi (sub-tint van indigo) */
}
.edition h2 {
  font-size: 22px;
  margin: 0 0 16px;
  line-height: 1.2;
}
.edition h2 span { color: var(--samurai); }
.edition.itm h2 span { color: var(--indigo); }

.ed-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 22px;
  flex: 1;
}
.ed-meta {
  list-style: none;
  margin: 0 0 22px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-strong);
  border-bottom: 1px dashed var(--border-strong);
  display: flex;
  gap: 18px;
  font-size: 18px;
  color: var(--ink-muted);
}
.ed-meta strong { color: var(--ink); font-weight: 700; }
.ed-cta {
  font-family:'Press Start 2P', monospace;
  font-size: 11px;
  color: var(--samurai);
  letter-spacing: 0.5px;
}
.edition.itm .ed-cta { color: var(--indigo); }

/* ---------- BONUS ---------- */
.bonus-pick {
  max-width: 1080px;
  margin: 0 auto 60px;
  padding: 22px 28px;
  background: var(--paper-warm);
  border: 2px dashed var(--samurai);
  border-radius: 4px;
  font-size: 20px;
  line-height: 1.5;
  position: relative;
}
.bonus-pick .bonus-tag {
  position: absolute;
  top: -16px;
  left: 16px;
  background: var(--samurai);
  color: var(--paper);
  font-family:'Press Start 2P', monospace;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
}
.bonus-pick a {
  color: var(--samurai);
  text-decoration: underline;
  font-weight: 700;
}
.bonus-pick a:hover { color: var(--samurai-hov); }

/* ---------- FOOTER ---------- */
.picker-foot {
  text-align: center;
  padding: 30px 24px 50px;
  font-size: 18px;
  color: var(--ink-muted);
  border-top: 3px solid var(--ink);
  background: var(--paper-soft);
}
.picker-foot .dot { color: var(--samurai); margin: 0 8px; }
.picker-foot em { font-style: italic; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-pick h1 { font-size: 24px; }
  .lede { font-size: 19px; }
  .picker-grid { grid-template-columns: 1fr; padding: 50px 20px 40px; }
  .edition { min-height: auto; }
  .edition h2 { font-size: 18px; }
  .ed-mark { font-size: 30px; top: 12px; right: 16px; }
}


/* ==========================================================================
   SUMI-E ACCENTEN — Enso brush-art met 16-bit pixel-crush
   `image-rendering: pixelated` geeft de PNG's een bewuste retro-crunch zodat
   de penseelstreken zich verstaan met de 16-bit Press Start 2P-typografie.
   ========================================================================== */
.sumi {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}
.sumi-divider {
  display: block;
  margin: 32px auto;
  max-width: 420px;
  width: 80%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  opacity: 0.85;
}
.sumi-divider.thin   { max-width: 320px; }
.sumi-divider.accent { max-width: 360px; }
.sumi-check {
  display: inline-block;
  width: 28px; height: 28px;
  vertical-align: middle;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
