/* Circuit Edge refinement layer — loaded last in css/site.css. Keep additive. */

/* ---- Hero (home): original routed-pair artwork, clear CTAs ---- */
.ce-site .studio-intro.hero-pro{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;gap:clamp(12px,3vw,40px);
  min-height:clamp(168px,19vw,232px);padding:clamp(18px,2.6vw,34px) clamp(18px,3vw,40px);
  background:linear-gradient(104deg,#fff 46%,#e6f0ff 100%);
}
.ce-site .studio-intro.hero-pro::before{display:none}
.hero-pro .hero-copy h1{font-size:clamp(1.55rem,3.3vw,2.7rem);line-height:1.1;max-width:20ch}
.hero-pro .hero-copy p{font-size:clamp(.95rem,1.25vw,1.1rem);max-width:46ch;margin:.7rem 0 0;color:var(--ce-muted)}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:1.1rem}
.hero-actions a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;border:1px solid transparent;font-weight:650;font-size:.92rem;text-decoration:none;transition:background-color .2s,border-color .2s,transform .2s}
.hero-actions .ce-primary:hover{background:#153fb3;transform:translateY(-1px)}
.hero-actions .ce-secondary{background:#fff;border-color:var(--ce-line);color:var(--ce-blue)}
.hero-actions .ce-secondary:hover{border-color:#4980e9}
.hero-art{width:100%;height:auto;max-height:190px;justify-self:end;overflow:visible}
.hero-art .hb{fill:#f3f8ff;stroke:#c3d6ee;stroke-width:1.5}
.hero-art .hc{fill:#fff;stroke:#9fb7d9;stroke-width:1.5}
.hero-art .ht{fill:none;stroke:#1b4dd9;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}
.hero-art .ht2{stroke:#5b8cf0}
.hero-art .hp{fill:none;stroke:#f08a24;stroke-width:4.5;stroke-linecap:round;stroke-dasharray:16 284;stroke-dashoffset:16;animation:hero-pulse 3.4s cubic-bezier(.4,0,.2,1) infinite}
.hero-art .hp2{animation-delay:.12s}
.hero-art .hv{fill:#fff;stroke:#102443;stroke-width:2}
@keyframes hero-pulse{to{stroke-dashoffset:-300}}
@media (max-width:640px){
  .ce-site .studio-intro.hero-pro{grid-template-columns:minmax(0,1fr)}
  .hero-art{display:none}
  .hero-actions a{flex:1 1 auto;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.hero-art .hp{animation:none;stroke-dasharray:none;opacity:0}}

/* ---- Tap targets (WCAG 2.2 AA 2.5.8) ---- */
.ce-footer-grid>div>a,.ce-footer-legal a{display:flex;align-items:center;min-height:32px;margin:0}
.ce-footer-legal a{min-height:36px}
.studio-catalogue-head a,.studio-quote-actions a:not(.ce-primary){display:inline-flex;align-items:center;min-height:36px}
.ce-breadcrumb a,.ce-breadcrumb span{display:inline-flex;align-items:center;min-height:28px}
.ce-site button.btn{min-width:44px}

/* ---- Motion: light, user-agent-respecting ---- */
@view-transition{navigation:auto}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  .js-reveal .reveal{opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s ease}
  .js-reveal .reveal.is-in{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}
