/* Canonical service tokens and shared interactive components.
   Project artwork and the established editorial layouts keep their own identity. */
:root{
 --line-strong:#b8abbf;--line-on-dark:#4c4553;
 --surface-subtle:#eeebe6;--surface-footer:#e6deed;
 --accent-on-dark:#c9afea;--text-on-dark:#c3bcc9;--focus:#aa70ef;
 --status-live:#365d49;--status-live-line:#9eb2a4;
 --control-radius:4px;--control-height:44px;--action-size:13px;--icon-size:18px;
}
.lab{background:var(--surface-subtle)}.footer{background:var(--surface-footer)}
/* Primary actions: filled, with one geometry and shared feedback. */
.button,.stats-consent .stats-consent-yes{
 display:inline-flex;align-items:center;justify-content:center;gap:24px;
 min-height:var(--control-height);padding:11px 20px;border:1px solid transparent;
 border-radius:var(--control-radius);background:var(--ink);color:var(--paper);
 font:500 var(--action-size)/1.5 var(--sans);cursor:pointer;text-decoration:none;
 transition:background .2s,color .2s;
}
.button:hover,.stats-consent .stats-consent-yes:hover{background:var(--purple)}
.button:active,.stats-consent .stats-consent-yes:active{background:var(--ink)}
/* Secondary actions: the same link treatment in cards, heroes and the home. */
.text-link,.external-link,.lab-explore,.cv-download a{
 display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;
 min-height:var(--control-height);width:fit-content;max-width:100%;padding:8px 0;
 border:0;border-radius:0;background:transparent;color:var(--purple);
 font:500 var(--action-size)/1.5 var(--sans);
 text-decoration:underline;text-decoration-color:var(--line-strong);
 text-decoration-thickness:1px;text-underline-offset:6px;
 transition:color .2s,text-decoration-color .2s;
}
.external-link{display:flex;margin-top:12px}
.lab-explore{margin-top:32px}
.text-link:hover,.external-link:hover,.lab-explore:hover,.cv-download a:hover{
 color:var(--ink);text-decoration-color:currentColor;
}
/* Back links and refusal are intentionally quiet utility actions. */
.back-link,.stats-consent .stats-consent-no{
 display:inline-flex;align-items:center;justify-content:center;gap:10px;
 min-height:var(--control-height);padding:8px 0;border:0;border-radius:0;
 background:transparent;color:var(--muted);font:400 var(--action-size)/1.5 var(--sans);
 text-decoration:none;box-shadow:none;cursor:pointer;
}
.stats-consent .stats-consent-no{padding-inline:14px;color:var(--ink)}
.back-link:hover,.stats-consent .stats-consent-no:hover{color:var(--purple);text-decoration:underline;text-underline-offset:6px}
.stats-consent>div{gap:12px}
/* One vector icon family; the direction follows the destination. */
a .action-icon{display:inline-block;width:var(--icon-size);height:var(--icon-size);min-width:var(--icon-size);flex:0 0 var(--icon-size);vertical-align:middle;color:currentColor;transform:none;transition:none}
.button .action-icon{color:var(--paper)}
.contact-arrow,.nav-cv>span{display:inline-flex;align-items:center;justify-content:center;color:var(--purple)}
.contact-links>a:hover .contact-value,.contact-links>a:hover .contact-arrow{color:var(--purple)}
.contact-links>a:active .contact-value{color:var(--ink)}
/* Filters are controls; status badges are read-only labels. */
.lab-filters button{min-height:var(--control-height);padding:10px 14px;border:1px solid var(--line-strong);border-radius:var(--control-radius);font-size:12px;background:transparent;color:var(--muted);transition:background .2s,color .2s,border-color .2s}
.lab-filters button:hover{border-color:var(--purple);color:var(--purple);background:var(--lilac)}
.lab-filters button.is-active{border-color:var(--purple);background:var(--purple);color:var(--white)}
.project-status{border-color:var(--line-strong);color:var(--muted)}
.project-status.status-live{border-color:var(--status-live-line);color:var(--status-live)}
.project-status.status-concept{border-color:var(--line-strong);color:var(--muted)}
.project-teaser .project-status.status-progress{border-color:var(--line-strong);color:var(--purple)}
/* Static page/section state also works before JavaScript is available. */
#navigation>a[aria-current]{color:var(--purple);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px;text-decoration-color:currentColor}
#navigation>a:not([aria-current]):hover{color:var(--purple);text-decoration:underline;text-underline-offset:7px}
#navigation .nav-cv .action-icon{color:currentColor}
@media(max-width:720px){
 :root{--action-size:12px}
 .case-hero .text-link,.hero-proof .cv-download a{font-size:var(--action-size);gap:12px}
 .lab-filters button{font-size:12px;padding:10px 12px}
 .contact-arrow .action-icon{width:18px;height:18px}
 #navigation>a[aria-current]{color:var(--white);text-decoration-thickness:2px;text-underline-offset:8px}
 #navigation>a:not([aria-current]):hover{color:var(--white)}
 .header.menu-is-open .nav-cv>span{color:var(--white)}
}
@media(prefers-reduced-motion:reduce){.button,.text-link,.external-link,.lab-explore,.cv-download a,.lab-filters button,.stats-consent button{transition:none}}
