/* Bacter v12 — FUNCTIONAL interaction layer only; existing brand tokens & layout retained. */
/* Concept B/C: sticky product mini-navigation and current section tracking. */
.bacter-solutions .solutions-quicknav{
 position:sticky;top:82px;z-index:30;
 padding:11px 0;margin-top:30px;margin-bottom:22px;
 background:var(--stone,#F6F5F0);border-block:1px solid rgba(3,8,22,.2);
 backdrop-filter:none;
}
.bacter-solutions .solutions-quicknav a.is-current{
 background:var(--g,#4FFFB3);color:var(--n,#030816);
 box-shadow:inset 0 0 0 1px var(--n,#030816);
}
.bacter-solutions .solution-panel{scroll-margin-top:170px}
/* Concept C: select and follow a stage without changing the four-column Bacter Relay. */
.relay-step{cursor:pointer;outline-offset:-3px;transition:box-shadow .18s ease}
.relay-step.is-current{box-shadow:inset 0 0 0 3px var(--g,#4FFFB3)}
.relay-step:nth-child(2).is-current,.relay-step:nth-child(4).is-current{box-shadow:inset 0 0 0 3px var(--n,#030816)}
.relay-step:focus-visible,.habitat-card:focus-visible,
.industry-collage figure:focus-visible{outline:3px solid var(--g,#4FFFB3);outline-offset:3px}
/* Concept A: photos can be inspected, including on touch/keyboard. Original card sizes remain fixed. */
.habitat-grid .habitat-card,.industry-collage figure{cursor:zoom-in}
.habitat-grid .habitat-card:hover img,.habitat-grid .habitat-card:focus-visible img,
.industry-collage figure:hover img,.industry-collage figure:focus-visible img{transform:scale(1.035)}
/* Flat Bacter brand treatment: no glow, gradients, or invented patterns. */
.bacter-lightbox{padding:0;border:1px solid var(--g,#4FFFB3);background:var(--n,#030816);
 color:var(--iv,#FFFEF3);width:min(950px,calc(100vw - 32px));max-height:min(92dvh,920px);overflow:auto;
 box-shadow:none}
.bacter-lightbox::backdrop{background:rgba(3,8,22,.9)}
.bacter-lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:13px 18px;border-bottom:1px solid rgba(255,254,243,.25)}
.bacter-lightbox-counter{font:600 12px 'JetBrains Mono',monospace;letter-spacing:.09em}
.bacter-lightbox-close{border:1px solid var(--g,#4FFFB3);background:var(--g,#4FFFB3);
 color:var(--n,#030816);font:700 14px Figtree,sans-serif;padding:9px 18px;cursor:pointer}
.bacter-lightbox figure{margin:0;display:flex;flex-direction:column}
.bacter-lightbox img{width:100%;max-height:69dvh;object-fit:contain;display:block;background:#101524}
.bacter-lightbox figcaption{padding:16px 22px;line-height:1.45;font-size:17px;min-height:56px}
.bacter-lightbox-bottom{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid rgba(255,254,243,.2)}
.bacter-lightbox-bottom button{background:transparent;border:1px solid rgba(255,254,243,.45);
 color:var(--iv,#FFFEF3);padding:10px 20px;cursor:pointer;font-weight:700;font-size:14px}
.bacter-lightbox button:focus-visible{outline:3px solid var(--g,#4FFFB3);outline-offset:3px}
.bacter-lightbox-bottom button:hover{background:var(--g,#4FFFB3);color:var(--n,#030816)}
/* Small screens: protect reading area from the sticky mini-navigation. */
@media(max-width:760px){
 .bacter-solutions .solutions-quicknav{top:75px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;gap:8px}
 .bacter-solutions .solutions-quicknav a{white-space:nowrap;flex-shrink:0}
 .bacter-solutions .solution-panel{scroll-margin-top:165px}
 .bacter-lightbox img{max-height:60dvh}
}
@media(prefers-reduced-motion:reduce){
 .relay-step,.habitat-grid .habitat-card img,.industry-collage img{transition:none}
}
