/* Inner pages and 404 in the homepage's type and palette: Bricolage Grotesque for
   text and titles, JetBrains Mono for labels, bone on near-black with one lime accent.
   Loaded last so it only overrides; the older stylesheets are untouched. */
@font-face{font-family:'Bricolage Grotesque';src:url('/assets/fonts/bricolage-grotesque-latin.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/jetbrains-mono-latin-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/jetbrains-mono-latin-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}

:root,.studio-page{--bg:#050507;--panel:#0c0c0e;--panel-hover:#131316;--text:#f2efe6;--muted:#c9c6bd;--quiet:#8f8c84;--lime:#c8f51e;--line:rgba(242,239,230,.12);--rail:rgba(242,239,230,.16);
  --display:'Bricolage Grotesque',system-ui,sans-serif;--label:'JetBrains Mono',ui-monospace,SFMono-Regular,Consolas,monospace}
html,body,body.studio-page{background:#050507;color:#f2efe6}
body,.button,.error-page h1{font-family:'Bricolage Grotesque','KUggUK Sans',system-ui,sans-serif}
::selection{background:#c8f51e;color:#050507}

/* Titles: heavy grotesque like the homepage, accent stays lime but upright */
.studio-page h1,.studio-page .section h2,.studio-destinations strong,.change-list h3,.principle-list h3,.error-page h1{font-family:var(--display);font-weight:800;letter-spacing:-.04em}
.studio-page .section h1 span,.studio-intro h1 span{font-style:normal;font-weight:800}
.change-list h3,.principle-list h3,.studio-destinations strong{font-weight:600;letter-spacing:-.02em}

/* Labels */
.nav a,.kicker,.studio-page .kicker,.eyebrow,.principle-list article>span,.filter,.project-top p,.project-foot a,.badge,.change-list time,.contact-grid strong,.site-footer nav a,.footer-bottom,.social-presences a,[data-metrics-preferences]{font-family:var(--label)}
.nav a{font-size:12px;font-weight:400;letter-spacing:.08em;text-transform:uppercase}
.kicker,.studio-page .kicker,.eyebrow{font-size:12px;font-weight:400;letter-spacing:.1em;text-transform:uppercase}
.studio-page .nav .contact-btn,.studio-page .button-primary,.button,.filter,.badge{border-radius:999px}
.contact-btn{color:#050507}

/* The old circuit artwork carried the previous K mark behind the text */
.studio-page .page{background-image:none}
.site-head,.studio-page .site-head,.site-footer{background:#050507}

/* Lockup: mascot a little taller than the wordmark, as on the homepage */
.brand{gap:12px}
.brand-zebra{height:42px;width:auto}
.brand-wordmark{height:28px;width:auto;background:transparent}
@media(max-width:680px){.brand-zebra{height:34px}.brand-wordmark{height:22px}}

/* Footer links and the analytics control */
.social-presences{gap:6px 18px}
.social-presences a{font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:#8f8c84;text-decoration:none;border:0;padding:0;background:transparent}
.social-presences a:hover,.site-footer nav a:hover{color:#c8f51e}
.social-presences small{display:none}
.site-footer nav a,.footer-bottom{font-size:11px;letter-spacing:.08em;text-transform:uppercase}
body>[data-metrics-preferences]{display:block;margin:0 0 24px clamp(16px,4vw,58px);padding:7px 12px;border:1px solid rgba(242,239,230,.24);border-radius:999px;background:transparent;color:#8f8c84;font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
body>[data-metrics-preferences]:hover{color:#c8f51e;border-color:#c8f51e}
a:focus-visible,button:focus-visible{outline:3px solid #c8f51e;outline-offset:3px}

/* Consent banner in the site palette */
body .metrics-consent{left:clamp(16px,3vw,36px);right:clamp(16px,3vw,36px);bottom:20px;max-width:26rem;padding:18px 20px;border:1px solid rgba(242,239,230,.2);border-radius:20px;background:rgba(12,12,14,.96);color:#f2efe6;font:14px/1.45 'Bricolage Grotesque',system-ui,sans-serif;box-shadow:0 12px 48px rgba(0,0,0,.6)}
body .metrics-consent p{margin:6px 0 14px;color:#c9c6bd}
body .metrics-consent button{min-height:40px;margin:0 8px 0 0;padding:9px 16px;border:1px solid rgba(242,239,230,.32);border-radius:999px;background:transparent;color:#f2efe6;font:400 11px/1 'JetBrains Mono',ui-monospace,monospace;text-transform:uppercase;letter-spacing:.08em}
body .metrics-consent button:hover{border-color:#c8f51e;color:#c8f51e}

/* Delivery log: fixed date and status columns so every entry starts on the same line */
@media(min-width:900px){.studio-page .change-list article{grid-template-columns:200px minmax(0,1fr) 160px}.studio-page .change-list .badge{justify-self:end}}


/* Shared home-page presentation on the established footer destinations. */
body.studio-page{isolation:isolate;overflow-x:clip}
.inner-morph-background{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#050507}
.inner-morph-background zebra-morph{position:absolute;inset:0;opacity:.34}
.inner-morph-background::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,7,.78),rgba(5,5,7,.4) 60%,rgba(5,5,7,.65))}
.studio-page .page{position:relative;background:transparent;min-height:100vh}
.studio-page .site-head{background:rgba(5,5,7,.94);backdrop-filter:blur(16px)}
.studio-page main{position:relative;flex:1}
.studio-page h1,.studio-page h2,.studio-page h3,.studio-page p,.studio-page li,.studio-page dd,.studio-page dt,.studio-page a{color:#f2efe6}
.studio-page h1 span,.studio-page h2 span,.studio-page .kicker,.studio-page .eyebrow,.studio-page strong,.studio-page .badge{color:#c8f51e}
.studio-page .section{padding-top:clamp(40px,6vw,80px);padding-bottom:64px}
.studio-page .project,.studio-page .principle-list article,.studio-page .change-list article,.studio-page .contact-card,.studio-page .person,.studio-page .team-card{background:rgba(12,12,14,.72);border:1px solid rgba(242,239,230,.16);border-radius:20px;padding:24px;backdrop-filter:blur(12px)}
.studio-page .project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.studio-page .project{min-width:0;display:flex;flex-direction:column;gap:20px;grid-column:auto;min-height:0;transform:none}
.studio-page .project[hidden]{display:none}
.studio-page .project-top{display:flex;gap:18px;align-items:center;min-width:0}
.studio-page .project-top h3{font-size:clamp(24px,2.4vw,32px);line-height:1.15;overflow-wrap:anywhere;margin:4px 0}
.studio-page .project-top p{font-size:10px;line-height:1.6;margin:0;color:#c9c6bd}
.studio-page .project-top>img{width:80px;height:80px;object-fit:contain;border-radius:14px;background:#050507;flex:none}
.studio-page .project-description,.studio-page .lab-items{font-size:16px;line-height:1.6;margin:0;color:#f2efe6}
.studio-page .project-foot{margin-top:auto;display:block;padding:0;border:0}
.studio-page .badge{display:inline-block;white-space:normal;line-height:1.5;background:transparent;border:1px solid rgba(200,245,30,.35);padding:6px 12px;font-size:11px}
.studio-page .project-links{display:flex;flex-wrap:wrap;gap:8px;padding:0;border:0}
.studio-page .project-links a{font-size:13px;line-height:1.5;padding:8px 12px;border:1px solid rgba(242,239,230,.22);border-radius:999px;text-decoration:none;overflow-wrap:anywhere}
.studio-page .project-links a:hover{border-color:#c8f51e;color:#c8f51e}
.product-monogram{display:grid;place-items:center;flex:none;width:80px;height:80px;border-radius:16px;border:1px solid rgba(242,239,230,.2);font-size:30px;font-weight:800;color:#f2efe6;background:#050507}
/* Display exact regions of the supplied identity sheet; retain the source artwork. */
.identity-crop{position:relative;display:block;flex:none;width:80px;height:80px;overflow:hidden;background:#050507;border-radius:14px}
.identity-crop img{position:absolute!important;width:404px!important;height:auto!important;max-width:none!important;object-fit:initial!important;border:0!important;border-radius:0!important}
.identity-algo img{left:-20px;top:-150px}.identity-alien img{left:-150px;top:-45px}.identity-zw img{left:-277px;top:-150px}
.lab-items>div{padding:8px 0;border-bottom:1px solid rgba(242,239,230,.12)}.lab-items dt{font-weight:600}.lab-items dd{margin:2px 0 0;font-size:14px}
.studio-page .filter{min-height:40px;color:#f2efe6;background:rgba(12,12,14,.9);border:1px solid rgba(242,239,230,.24)}
.studio-page .filter.active{background:#f2efe6;color:#050507;border-color:#f2efe6}
.studio-page .zebra-footer{position:relative;background:rgba(5,5,7,.96);color:#f2efe6;margin-top:40px}
.studio-page .zebra-footer a{color:#f2efe6}.studio-page .zebra-footer a:hover{color:#c8f51e}
@media(max-width:1050px){.studio-page .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.studio-page .project-grid{grid-template-columns:1fr}.studio-page .project{padding:20px}.inner-morph-background zebra-morph{opacity:.24}.studio-page .portfolio-head{display:block}.studio-page .filters{margin-top:24px;justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.inner-morph-background zebra-morph{opacity:.18}}

.inner-morph-background zebra-morph{background:url(/assets/images/morph-background.webp) center / min(85vh,85vw) auto no-repeat!important}
.studio-page .project-grid{background:transparent;border:0}
.studio-page h1 span{color:#f2efe6}

/* Identity-sheet thumbnails stop above their baked-in captions. */
.identity-crop{height:68px}
.studio-page .project-top>div{min-width:0;flex:1}
.studio-page .project-top h3,.studio-page .project-top p{overflow-wrap:anywhere;white-space:normal}
.studio-page .project-links a{max-width:100%;box-sizing:border-box}
