/* Provisional AD / infinity rune mark (source: assets/ad-mark.svg). Shared by home and case pages. */
.identity{display:flex;align-items:center;gap:14px;width:max-content;max-width:100%}
.identity-name{display:block;font-weight:inherit;min-width:0}
.ad-mark{flex:none;width:64px;height:32px;overflow:visible;filter:drop-shadow(0 0 2px #8de0bd99) drop-shadow(0 0 8px #16a36a80);animation:ad-breathe 5.5s ease-in-out 1.6s infinite}
.ad-mark g{fill:none;stroke-linecap:round;stroke-linejoin:round}
.ad-halo{stroke:#16a36a;stroke-width:7;opacity:.38;transition:opacity .6s;animation:ad-wake 1.6s ease-out backwards}
.ad-core{stroke:url(#ad-light);stroke-width:2.8}
.ad-core path{stroke-dasharray:1;animation:ad-draw 1.6s cubic-bezier(.65,.05,.25,1) backwards}
.identity:hover .ad-halo,.identity:focus-visible .ad-halo{opacity:.62}
@keyframes ad-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes ad-wake{from{opacity:0}to{opacity:.38}}
@keyframes ad-breathe{0%,100%{filter:drop-shadow(0 0 2px #8de0bd99) drop-shadow(0 0 8px #16a36a80)}50%{filter:drop-shadow(0 0 3px #c3f9dbcc) drop-shadow(0 0 16px #16a36aaa)}}
[data-scheme=light] .ad-stop-edge{stop-color:#16A36A}
[data-scheme=light] .ad-stop-core{stop-color:#073F35}
[data-scheme=light] .ad-halo{stroke:#8DE0BD;opacity:.55}
[data-scheme=light] .identity:hover .ad-halo,[data-scheme=light] .identity:focus-visible .ad-halo{opacity:.85}
[data-scheme=light] .ad-mark{filter:drop-shadow(0 0 4px #16a36a38);animation-name:ad-breathe-light}
@keyframes ad-breathe-light{0%,100%{filter:drop-shadow(0 0 4px #16a36a38)}50%{filter:drop-shadow(0 0 9px #16a36a66)}}
@media(min-width:1000px) and (max-width:1120px){.home .identity-name span{display:none}}
@media(max-width:700px){.ad-mark{width:48px;height:24px}.identity{gap:10px}}
@media(prefers-reduced-motion:reduce){.ad-mark,.ad-halo,.ad-core path{animation:none}}
/* Shared nav on case and Lab pages: Home · Lab · About with the active pill lit like the home nav. */
.case-page nav a.active,.lab-page nav a.active{background:linear-gradient(135deg,#8de0bd22,#073f3560);box-shadow:inset 0 1px 0 #d4ffe94a,inset 0 -1px 0 #16a36a35,0 0 18px #16a36a18;color:#8de0bd;text-shadow:0 0 10px #8de0bd50}
[data-scheme=light] .case-page nav a.active,[data-scheme=light] .lab-page nav a.active{background:linear-gradient(130deg,#fff8,#8de0bd45);box-shadow:inset 0 1px 0 #fff,0 4px 12px #073f3520;color:#073f35;text-shadow:0 0 7px #16a36a30}




/* One navigation, one position: fixed and centred at the top of every page (Home, Lab, case studies). */
.case-page header nav{position:fixed;top:40px;left:50%;transform:translateX(-50%);margin:0;padding:6px}.case-page header nav a{padding:10px 21px;font-size:14px;letter-spacing:.05em}@media(min-width:1000px){.home header nav,.lab-page header nav{top:40px}.lab-page header,.case-page header{height:112px;padding-top:24px;padding-bottom:0}.case-page header{align-items:center}}@media(max-width:999.98px){.home header nav,.lab-page header nav,.case-page header nav{position:fixed;top:10px;left:50%;transform:translateX(-50%);width:min(calc(100% - 36px),480px);margin:0;grid-row:auto}.home header nav a,.lab-page header nav a,.case-page header nav a{flex:1;text-align:center;padding:10px;font-size:14px}.home header,.lab-page header,.case-page header{padding-top:80px}}
