* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #351713; color: #fff3da; font: 1.08rem/1.55 system-ui, sans-serif; }
main { max-width: 62rem; margin: auto; padding: 1rem 1rem 3rem; }
.hero { background: linear-gradient(90deg, #26100bf5, #35160db0), url('/assets/merk/atelierprent.webp') center 55%/cover; padding: clamp(1.3rem, 5vw, 3.2rem); border: 1px solid #bb8456; border-radius: 1.4rem; }
.hero p { max-width: 32rem; margin-bottom: 0; }
.brand, .parents a { color: #ffd788; }
h1, h2 { font-family: Georgia, serif; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 7vw, 4.7rem); margin: .4em 0 .2em; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); margin: .15em 0 .4em; }
.eyebrow { color: #ffd187; font-size: .88rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
#map { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; margin: .85rem 0; }
#map li { padding: .3rem .6rem; border: 1px solid #96614e; border-radius: .6rem; color: #ffebcf; font-size: .88rem; }
#map [aria-current] { background: #ffd384; color: #351713; border-color: #ffd384; font-weight: 800; }
.panel { background: #51271f; border: 1px solid #bb8456; border-radius: 1.4rem; padding: clamp(1rem, 5vw, 2.4rem); }
#board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .65rem; }
button, .secondary { cursor: pointer; border: 2px solid #e1ad61; border-radius: .8rem; padding: .7rem .95rem; min-height: 48px; background: #ffe4a8; color: #401b13; font: inherit; font-weight: 750; }
#board button { min-height: 72px; }
button:hover:not(:disabled) { background: #ffd07b; }
button:focus-visible, a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
button:disabled { cursor: default; opacity: .8; }
#feedback { min-height: 2.9em; margin: .8rem 0 .25rem; color: #ffe2aa; font-weight: 700; }
.controls { display: flex; flex-wrap: wrap; gap: .65rem; }
.secondary { background: transparent; color: #fff1d2; }
button.secondary:hover { color: #401b13; }
.diploma { text-align: center; background: #fff1d2; color: #401b13; border: 5px double #b1824e; border-radius: 1rem; padding: clamp(1rem, 6vw, 3.5rem); }
.diploma .eyebrow { color: #793f2f; }
.reward-actions { margin-top: 1.2rem; }
@media print {
  body, .panel, .diploma { color: #222; background: white; }
  .hero, nav, #mission, .reward-actions, .parents { display: none !important; }
  main, #reward { padding: 0; border: 0; }
}
