/* Shared prototype foundation: reset, review bar, accessibility helpers, form feedback, lightbox.
   Each concept layers its own scoped design on top of this file. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-height:100vh;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4,p,figure,ul,ol{margin:0}
ul[role=list],ol[role=list]{list-style:none;padding:0}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:1000;padding:10px 16px;background:#111;color:#fff;border-radius:4px;text-decoration:none}
.skip:focus{top:12px}

/* Review bar — present only in prototypes */
.review-bar{position:relative;z-index:200;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;justify-content:center;padding:7px 16px;background:#14110d;color:#e9e1d2;font:500 11.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.04em}
@media (max-width:600px){.review-bar>span:nth-child(2){display:none}}
.review-bar b{color:#d9b26a;font-weight:600}
.review-bar a{color:#e9e1d2;text-underline-offset:3px}
.tbc{display:inline-block;margin-left:.35em;padding:.05em .45em;border:1px dashed currentColor;border-radius:3px;font:600 .62rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.08em;text-transform:uppercase;vertical-align:.18em;opacity:.75;white-space:nowrap}
.img-note{font:500 11px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em;opacity:.7}

/* Form feedback */
.proto-status{margin-top:14px;padding:12px 14px;border-radius:6px;font-size:.92rem;line-height:1.5;display:none}
.proto-status.is-shown{display:block}
.proto-status.ok{background:rgba(46,94,62,.12);border:1px solid rgba(46,94,62,.45)}
.proto-status.err{background:rgba(150,40,30,.1);border:1px solid rgba(150,40,30,.45)}
.field-err{display:block;margin-top:4px;font-size:.8rem;color:#a8321f}
[aria-invalid=true]{border-color:#a8321f!important}

/* Lightbox */
.lb{border:0;padding:0;margin:0;width:100vw;height:100vh;max-width:none;max-height:none;background:rgba(10,9,8,.94);color:#fff}
.lb::backdrop{background:rgba(10,9,8,.94)}
.lb[open]{display:grid;grid-template-rows:auto 1fr auto;place-items:center}
.lb img{max-width:min(92vw,960px);max-height:78vh;width:auto;object-fit:contain}
.lb-cap{padding:12px 16px 20px;font:400 14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;opacity:.85;text-align:center}
.lb-bar{width:100%;display:flex;justify-content:space-between;padding:12px 16px}
.lb button{min-width:44px;min-height:44px;background:none;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:999px;padding:0 16px;cursor:pointer;font:500 14px system-ui,-apple-system,"Segoe UI",sans-serif}
.lb button:hover{background:rgba(255,255,255,.1)}
.lb-nav{display:flex;gap:10px}

/* Reveal motion (disabled for reduced motion) */
[data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
[data-reveal].in-view{opacity:1;transform:none}
.no-js [data-reveal]{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  [data-reveal]{opacity:1;transform:none}
}
