/* Shared base for all three concepts. Themed via CSS custom properties set in each concept's style.css. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
body{margin:0;min-height:100vh;overflow-x:hidden}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit}
.ic{width:1.15em;height:1.15em;flex:none;vertical-align:-.18em}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;z-index:200;padding:.7rem 1rem;background:#fff;color:#000}
.skip:focus{left:.5rem;top:.5rem}
:focus-visible{outline:2px solid var(--focus,#4b8bff);outline-offset:3px}

/* Preview ribbon */
.preview-ribbon{position:relative;z-index:90;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.42rem 1rem;font:600 .72rem/1.2 var(--sans,system-ui);letter-spacing:.08em;text-transform:uppercase;background:var(--ribbon-bg,#ffd84d);color:var(--ribbon-fg,#1a1a1a);text-align:center}
.preview-ribbon svg{width:14px;height:14px}

/* Reveal */
[data-reveal].pre{opacity:0;transform:translateY(22px)}
[data-reveal].in{opacity:1;transform:none;transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}

/* Lightbox */
html.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:300;background:rgba(6,7,9,.97);color:#f2f2f2;display:grid;grid-template-rows:auto 1fr auto;font-family:var(--sans,system-ui)}
.lb-top{display:flex;align-items:center;gap:1rem;padding:.8rem 1rem}
.lb-count{font-variant-numeric:tabular-nums;font-size:.85rem;opacity:.75;min-width:4.5em}
.lb-title{flex:1;font-size:.9rem;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb button{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff;border-radius:999px;display:grid;place-items:center}
.lb-x{width:44px;height:44px}
.lb-stage{position:relative;display:grid;place-items:center;min-height:0;padding:0 .5rem}
.lb-img{max-width:100%;max-height:100%;object-fit:contain;user-select:none}
.lb-p,.lb-n{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;z-index:2}
.lb-p{left:1rem}.lb-n{right:1rem}
.lb-strip{display:flex;gap:6px;overflow-x:auto;padding:.7rem 1rem 1rem;scrollbar-width:thin}
.lb-strip button{flex:none;width:92px;height:69px;padding:0;border-radius:4px;overflow:hidden;opacity:.5;border:2px solid transparent}
.lb-strip button.on{opacity:1;border-color:var(--accent,#fff)}
.lb-strip img{width:100%;height:100%;object-fit:cover}
@media (max-width:700px){.lb-p,.lb-n{width:42px;height:42px}.lb-p{left:.3rem}.lb-n{right:.3rem}.lb-strip button{width:64px;height:48px}}

/* Representative example */
.rep-dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:0 2.5rem;margin:0}
form[hidden],[hidden]{display:none!important}
.rep-dl div{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--line,rgba(127,127,127,.25))}
.rep-dl dt{opacity:.75}.rep-dl dd{margin:0;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.rep-s,.rep-b{font-size:.8rem;line-height:1.55;opacity:.78;margin:.9rem 0 0}
.rep-h{font-weight:700;margin:0 0 .6rem}

/* Hours */
.hours{margin:0}
.hours div{display:flex;justify-content:space-between;gap:1rem;padding:.42rem 0;border-bottom:1px solid var(--line,rgba(127,127,127,.25))}
.hours dt{margin:0}.hours dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.hours .today{font-weight:700}

/* Form success */
.form-done{display:flex;gap:.6rem;align-items:flex-start;padding:.9rem 1rem;margin:1rem 0 0;border-radius:var(--radius,6px);background:var(--ok-bg,#e8f6ee);color:var(--ok-fg,#14532d);font-size:.92rem;line-height:1.45}
.map{width:100%;border:0;display:block}
