/* Nov 12 (CJ): one structure for every Projects slide: mark, one line of sub text, button, and a strip along the foot
   of the panel carrying category, roles, slide count and arrows. The large side chevrons are gone.
   To undo: remove this file's <link> and project-strip.js, and restore index.html from backups/2026-11-12-pre-project-strip. */
#current-projects .project-strip{top:auto!important;bottom:26px!important;left:var(--edge);right:var(--edge);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;padding-top:15px;border-top:1px solid color-mix(in srgb,currentColor 20%,transparent);font-size:11px;font-weight:500;letter-spacing:.14em;line-height:1.4;text-transform:uppercase}
#current-projects :is(.strip-cat,.strip-roles)>span{opacity:.78;transition:opacity .26s ease}
#current-projects :is(.strip-cat,.strip-roles)>.strip-label{opacity:.45;margin-right:1.1em}
#current-projects.strip-swapping :is(.strip-cat,.strip-roles)>span:not(.strip-label){opacity:0}
#current-projects .strip-roles{text-align:center;word-spacing:.12em}
#current-projects .strip-nav{justify-self:end;display:flex;align-items:center;gap:4px}
#current-projects .project-strip .row-position{display:none;margin-right:12px;font-size:11px;letter-spacing:.14em;opacity:.72;font-variant-numeric:tabular-nums}
#current-projects .strip-nav button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer;transition:background .3s,opacity .3s}
#current-projects .strip-nav button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s cubic-bezier(.22,.8,.25,1)}
#current-projects .strip-nav button:disabled{opacity:.28;cursor:default}
#current-projects .strip-nav button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(hover:hover){
 #current-projects .strip-nav button:not(:disabled):hover{background:color-mix(in srgb,currentColor 10%,transparent)}
 #current-projects .strip-nav [data-prev]:not(:disabled):hover svg{transform:translateX(-2px)}
 #current-projects .strip-nav [data-next]:not(:disabled):hover svg{transform:translateX(2px)}
}
/* The category now lives in the strip, not above each title. */
#current-projects .project-caption .project-category{display:none}
/* Highbucha: the logo is the title. The h1 stays for screen readers and search. */
#highbucha .project-caption h1{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;font-size:1px}
#highbucha .hb-original-logo{margin-bottom:26px}
/* MAZI: the logo is the title, the headline becomes the sub text line, and it gets the same button as the others. */
#current-projects #mazi.project-slide .project-caption .mazi-narrative-title{font-size:clamp(46px,4.7vw,78px);margin-bottom:0;line-height:1.02}
#mazi .project-caption .project-link{margin-top:34px}
@media(max-width:700px){
 #current-projects .project-strip{bottom:20px!important;grid-template-columns:1fr auto;gap:8px 12px;padding-top:11px;font-size:9px;letter-spacing:.12em}
 #current-projects .strip-roles{grid-column:1/-1;grid-row:1;text-align:left;letter-spacing:.07em;word-spacing:0;white-space:nowrap}
 #current-projects :is(.strip-cat,.strip-roles)>.strip-label{margin-right:.8em}
 #current-projects .strip-cat{grid-row:2}
 #current-projects .strip-nav{grid-row:2}
 #current-projects .strip-nav button{width:32px;height:32px}
 /* One alignment on phones: left, like the Work cards. */
 #highbucha .project-caption{text-align:left;align-items:flex-start}
 #highbucha .hb-original-logo,#highbucha .project-subtitle{margin-inline:0}
 #highbucha .hb-original-logo{margin-bottom:14px}
 #current-projects #mazi.project-slide .project-caption .mazi-narrative-title{font-size:40px;margin-bottom:0}
 #mazi .project-caption .project-link{margin-top:22px}
}
/* Phones: smaller, lighter buttons, and the menu button in the same dark glass as the buttons. */
@media(max-width:640px){
 :root{--cta-h:48px;--cta-font:16px}
 :is(#highbucha,#xmplr,.project-slide) .project-caption .project-link,#professional-work .work-panel .tour-cta{font-weight:500;padding:0 7px 0 20px;gap:12px}
 .project-caption .link-arrow,#professional-work .tour-cta .link-arrow{width:34px;height:34px}
 .project-caption .link-arrow svg,#professional-work .tour-cta .link-arrow svg{width:17px;height:17px}
 .has-site-menu .site-menu-toggle,body[data-theme=dark] .site-menu-toggle{background:#0a0a0c59;border-color:#ffffff59;color:#fff;-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:inset 0 1px 0 #ffffff47,inset 0 -1px 0 #0000002e,0 10px 26px -10px #00000080}
}
/* MAZI's page isn't ready: the button shows its label with a "Coming soon" tag and isn't a link. This project is the rebrand of mazifoodgroup.com and
   needs its own page: it is NOT mazi.html, which is the restaurants case study the Work card links to. */
:is(#highbucha,#xmplr,.project-slide) .project-caption .project-link.is-soon{cursor:default;padding-right:12px;gap:14px}
:is(#highbucha,#xmplr,.project-slide) .project-caption .project-link.is-soon:hover{background:#0a0a0c59;border-color:#ffffff59}
.project-caption .project-link.is-soon>span:first-child{opacity:.6}
.project-caption .project-link .soon-tag{display:inline-flex;align-items:center;height:calc(var(--cta-h) - 22px);padding:0 14px;border-radius:999px;background:#ffffff1f;font-family:var(--sans);font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
@media(max-width:640px){.project-caption .project-link .soon-tag{font-size:9px;padding:0 11px}}

/* Nov 19: MAZI CTA reads as a disabled button, just "Coming soon" */
:is(#highbucha,#xmplr,.project-slide) .project-caption .project-link.is-soon.is-muted{padding:0 30px;gap:0;background:#ffffff0d;border-color:#ffffff26;color:#ffffff8c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none;cursor:not-allowed}
:is(#highbucha,#xmplr,.project-slide) .project-caption .project-link.is-soon.is-muted:hover{background:#ffffff0d;border-color:#ffffff26}
.project-caption .project-link.is-soon.is-muted>span:first-child{opacity:1;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
@media(max-width:640px){.project-caption .project-link.is-soon.is-muted>span:first-child{font-size:11px}}

/* Nov 22 (CJ: "make the role stand out more"): roles as outlined chips at full ink, label stronger. Chips wrap on
   phones instead of overflowing. Backup: backups/2026-11-22-role-chips/ */
#current-projects .strip-roles{display:flex;align-items:center;justify-content:center;min-width:0}
#current-projects .strip-roles>.strip-label{opacity:.62;flex:none}
#current-projects .strip-roles>[data-strip-roles]{display:flex;flex-wrap:wrap;gap:6px;opacity:1}
#current-projects .strip-cat{white-space:nowrap}
#current-projects .strip-chip{display:inline-flex;align-items:center;height:auto;padding:.5em .95em;font-size:.94em;border:1px solid color-mix(in srgb,currentColor 30%,transparent);border-radius:100px;background:color-mix(in srgb,currentColor 7%,transparent);font-weight:600;letter-spacing:.07em;line-height:1;white-space:nowrap}
@media(max-width:640px){
 #current-projects .strip-roles{justify-content:flex-start;align-items:flex-start;white-space:normal;letter-spacing:.07em}
 #current-projects .strip-roles>.strip-label{line-height:24px}
 #current-projects .strip-roles>[data-strip-roles]{gap:5px}
 #current-projects .strip-chip{padding:.55em .85em;font-size:1em}
}
