/* Shared finishing layer: the homepage's light, depth, and interaction language. */
:root{--surface-border:#ffffff20;--surface-fill:linear-gradient(140deg,#18221fe0,#0e1317 70%);--studio-gradient:linear-gradient(100deg,#bafae1 10%,#64e3bf 52%,#58bdc8 95%)}
body{--page-accent:#64e3bf;--page-secondary:#58bdc8}
body[data-discipline="ai"]{--page-accent:#bba1ff;--page-secondary:#7bbded}
body[data-discipline="games"]{--page-accent:#83caff;--page-secondary:#98a3ff}
body[data-discipline="creative"]{--page-accent:#edbfaa;--page-secondary:#b7a4ed}
body:not(.home) main{position:relative;isolation:isolate}
body:not(.home) main:before{content:"";position:absolute;inset:0 0 auto;height:800px;max-height:100%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 52% 46% at 88% 25%,color-mix(in srgb,var(--page-accent) 8%,transparent),transparent 85%),radial-gradient(ellipse 38% 45% at 12% 20%,#3769bb09,transparent 80%)}
body:not(.home) :is(.page-intro,.product-intro){padding-block:clamp(48px,6vw,88px) clamp(46px,5.5vw,78px)}
body:not(.home) :is(.page-intro,.product-intro) h1{color:#f3f6f6}
body:not(.home) :is(.page-intro h1 em,.product-tagline){background:linear-gradient(105deg,#e0fff3,var(--page-accent) 46%,var(--page-secondary));background-clip:text;-webkit-background-clip:text;color:transparent}
body:not(.home) :is(.page-intro,.product-intro) .eyebrow{color:var(--page-accent);font-size:11px;letter-spacing:.11em}
body:not(.home) :is(.page-intro,.product-intro)>.eyebrow:before{content:"";display:inline-block;width:5px;height:5px;margin-right:11px;border-radius:50%;background:var(--page-accent);vertical-align:middle;box-shadow:0 0 12px color-mix(in srgb,var(--page-accent) 45%,transparent)}
body:not(.home) :is(.page-intro,.product-intro)>p:not(.eyebrow):not(.product-tagline){color:#abb8bb;line-height:1.8}
body:not(.home) .breadcrumbs{padding-top:32px;flex-wrap:wrap;line-height:1.7}
body:not(.home) .breadcrumbs [aria-current]{overflow-wrap:anywhere}
body:not(.home) .note-intro h1{font-size:clamp(38px,5.6vw,80px);max-width:1100px;line-height:1.08;letter-spacing:-.055em}
body:not(.home) .note-intro .note-byline{font-size:13px;line-height:1.8;color:#91a9a0;max-width:none}
.note-byline a{text-decoration-thickness:1px;text-underline-offset:4px}
body:not(.home) .note-layout{grid-template-columns:230px minmax(0,760px);justify-content:space-between;gap:clamp(36px,6vw,90px)}
body:not(.home) :is(.case-layout,.note-layout) aside{top:calc(var(--header-height,100px) + 38px)}
body:not(.home) :is(.case-layout,.note-layout) aside nav{border-left:1px solid #ffffff20;padding-left:18px;display:flex;flex-direction:column;gap:14px}
body:not(.home) :is(.case-layout,.note-layout) aside nav a{position:relative;padding:5px 0;font:13px/1.6 Manrope,Arial,sans-serif;transition:color .2s}
body:not(.home) :is(.case-layout,.note-layout) aside nav a[aria-current="location"]{color:#a0f0d8}
body:not(.home) :is(.case-layout,.note-layout) aside nav a[aria-current="location"]:before{content:"";position:absolute;left:-19px;top:5px;bottom:5px;width:2px;background:#85eac8;border-radius:2px}
.note-summary,.note-example{background:radial-gradient(ellipse at 100% 0%,#3975611e,transparent 75%),var(--surface-fill);box-shadow:inset 0 1px 0 #ffffff0b,0 20px 45px #0002}
.note-summary{border-color:#64e3bf33}.note-summary .eyebrow{margin-bottom:15px}
.note-body section{border-bottom:1px solid #ffffff0b;padding-block:36px}
.note-body h2{max-width:26ch}.note-body p,.note-body li{color:#adbcbb;line-height:1.9}
.note-body li::marker{color:#90e8cc}.note-body a{transition:color .2s;text-decoration-color:#6acda65c}.note-body a:hover{color:#e1fff3;text-decoration-color:#a5f4d7}
.notes-grid{gap:26px}.note-card{position:relative;isolation:isolate;overflow:hidden;border-color:var(--surface-border);background:radial-gradient(ellipse at 95% 0%,#60e0b80d,transparent 65%),var(--surface-fill);box-shadow:inset 0 1px 0 #ffffff0b,0 18px 45px #0003;transition:border-color .25s,box-shadow .25s,transform .3s var(--ease)}
.note-card:nth-child(2){--card-glow:#85bbf5;background:radial-gradient(ellipse at 95% 0%,#71b0fc15,transparent 65%),linear-gradient(140deg,#17212b,#101318)}
.note-card:nth-child(2)>.eyebrow{color:#9ac9f2}.note-card>.eyebrow{color:#91e5c9;font-size:11px}.note-card .note-read{padding-top:22px;border-top:1px solid #ffffff16;color:#c2e8dc;font:12px/1.6 var(--mono)}
.note-read>span{transition:transform .25s}.note-card:is(:hover,:focus-visible) .note-read>span{transform:translate(3px,-3px)}
.note-card:focus-visible{outline:2px solid #a4f1d6;outline-offset:5px}
.notes-archive{padding-top:0}.notes-archive>.section-heading{margin-bottom:28px}.notes-archive h2{font-size:28px}
body:not(.home) .people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body:not(.home) .people>div{padding:30px;position:relative;isolation:isolate;overflow:hidden}
body:not(.home) .people p{font-size:14px;line-height:1.85;margin-top:10px;color:#acbaba;max-width:none}
body:not(.home) .people h3{margin-top:22px}.people>div:nth-child(2){--card-glow:#8dbdf3}
body:not(.home) .studio-story>div>p a{color:#a2e8d1;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#75bea04d}
body:not(.home) .values-grid>div{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,#64e3bf09,transparent 65%),var(--surface-fill);border-color:var(--surface-border);box-shadow:inset 0 1px 0 #ffffff08,0 16px 32px #0002;transition:border-color .25s,box-shadow .25s}
body:not(.home) .values-grid>div:hover,body:not(.home) .people>div:hover{border-color:#8fd9be50;box-shadow:inset 0 1px 0 #ffffff14,0 20px 45px #0004}
body:not(.home) .process-row{border:1px solid var(--surface-border);border-radius:20px;margin-bottom:18px;padding:clamp(24px,3vw,40px);background:linear-gradient(125deg,#18231f99,#101419 75%);box-shadow:inset 0 1px 0 #ffffff08;transition:border-color .25s,background .25s;gap:clamp(20px,3vw,42px)}
body:not(.home) .process-row:hover{border-color:#87e4c544;background:linear-gradient(125deg,#1b3025bb,#101419 75%)}
body:not(.home) .process-row>span{width:42px;height:42px;color:#bcf8e1;background:#64e3bf0b;border-color:#64e3bf36}
body:not(.home) .process-row h2{font-size:clamp(28px,3vw,38px)}
body:not(.home) .faq details{padding:24px 26px;border:1px solid var(--surface-border);border-radius:16px;margin-bottom:12px;background:linear-gradient(135deg,#ffffff04,#ffffff01);transition:border-color .2s,background .2s}
body:not(.home) .faq details[open]{border-color:#73d3af45;background:#12221a66}.faq summary{min-height:40px;align-items:center;gap:24px}.faq summary:focus-visible{outline-offset:8px}.faq summary>span{transition:transform .2s}.faq details[open] summary>span{transform:rotate(45deg)}
body:not(.home) .contact-layout>div{padding:clamp(25px,3vw,38px);border:1px solid var(--surface-border);border-radius:22px;background:radial-gradient(ellipse at 0% 0%,#64e3bf0f,transparent 70%),linear-gradient(135deg,#111d19,#101417);box-shadow:inset 0 1px 0 #ffffff0b}
body:not(.home) .contact-layout .email-link{font-size:clamp(21px,2.5vw,32px);letter-spacing:-.03em;overflow-wrap:anywhere}
body:not(.home) .contact-layout #copy-email{margin-top:18px;min-height:44px}#copy-status{min-height:28px}
body:not(.home) .prose{padding:clamp(26px,5vw,62px);margin-bottom:90px;border:1px solid var(--surface-border);border-radius:24px;background:linear-gradient(145deg,#141d1c,#0d1216);box-shadow:inset 0 1px 0 #ffffff0b,0 24px 55px #0003}
body:not(.home) .prose h2:not(:first-child){border-top:1px solid #ffffff14;padding-top:32px;margin-top:32px}
body:not(.home) .site-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body:not(.home) .site-index>h2{grid-column:1/-1;margin-bottom:12px}
body:not(.home) .site-index>a{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:30px;min-width:0;border:1px solid var(--surface-border);border-radius:18px;background:var(--surface-fill)}
body:not(.home) .site-index>a h3{font-size:26px;line-height:1.2;max-width:30ch}
body:not(.home) .site-index>a>span:not(.surface-glow){position:static;align-self:flex-end;margin-top:auto;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff20;border-radius:9px;transition:transform .25s,color .25s}
body:not(.home) .site-index>a:is(:hover,:focus-visible)>span:not(.surface-glow){transform:translate(3px,-3px);color:#c7ffe9}
#search-results a{border-radius:12px;padding:20px;border:1px solid #ffffff10;margin-bottom:10px;transition:background .2s,border-color .2s}#search-results a:is(:hover,:focus-visible){background:#64e3bf0b;border-color:#8ed8b844}
.header nav a[aria-current="page"]:after{transform:scaleX(1)}
@media(hover:hover) and (pointer:fine){html:not(.motion-paused) .note-card:hover{transform:perspective(950px) translateY(-5px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));border-color:color-mix(in srgb,var(--card-glow,#64e3bf) 45%,transparent);box-shadow:inset 0 1px 0 #ffffff13,0 24px 50px #0005}}
@media(max-width:1000px){body:not(.home) .note-layout{grid-template-columns:190px minmax(0,1fr);gap:35px}.header nav{gap:18px}}
@media(max-width:900px){body:not(.home) .note-layout{grid-template-columns:1fr}body:not(.home) .note-layout aside{position:static}body:not(.home) .note-layout aside nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}body:not(.home) .site-index{grid-template-columns:1fr}}
@media(max-width:700px){.header nav{gap:4px 14px;justify-content:center;flex-wrap:wrap}.header nav>a:not(.nav-contact){display:inline-flex;align-items:center;min-height:44px;font-size:12px;padding:8px 0}.header .nav-contact{min-height:44px;font-size:12px}.header nav>a:not(.nav-contact):after{bottom:6px}.header{padding-block:12px}body:not(.home) :is(.page-intro,.product-intro){padding-block:42px 46px}body:not(.home) .note-intro h1{font-size:clamp(35px,8vw,52px)}body:not(.home) .note-intro .note-byline{font-size:12px}body:not(.home) .people{grid-template-columns:1fr}body:not(.home) .people>div{padding:28px}body:not(.home) .process-row{grid-template-columns:42px minmax(0,1fr)}body:not(.home) .process-row p{grid-column:2}body:not(.home) .faq details{padding:20px}.note-body{font-size:17px}body:not(.home) .prose{margin-bottom:60px}}
@media(max-width:480px){body:not(.home) .note-layout aside nav{grid-template-columns:1fr}body:not(.home) .process-row{gap:16px}body:not(.home) .process-row p{grid-column:1/-1}body:not(.home) .process-row h2{font-size:28px}body:not(.home) .site-index>a{padding:25px}body:not(.home) .site-index>a h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){.note-card:hover,.note-card:is(:hover,:focus-visible) .note-read>span,.site-index>a:is(:hover,:focus-visible)>span,.faq details[open] summary>span{transform:none!important}}
@media(hover:none){.note-card:hover{transform:none}.note-card:hover .note-read>span{transform:none}}
.motion-paused .note-read>span,.motion-paused .site-index>a>span:not(.surface-glow),.motion-paused .faq details[open] summary>span{transform:none!important}
@media(forced-colors:active){body:not(.home) :is(.page-intro h1 em,.product-tagline){background:none;color:CanvasText}body:not(.home) main:before{display:none}.note-card,.process-row,.prose{border-color:CanvasText}}

/* MetalHub: source measurements into vendor-specific commercial decisions. */
:is(body.home,body:not(.home)) :is(.project-card,.case-art,.second-project) .product-art.mh-workflow-art{height:auto;min-height:0;padding:22px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 10% 0%,#286da02e,transparent 60%),radial-gradient(ellipse at 90% 80%,#1d866125,transparent 60%),#0a1420;container-type:inline-size}
:is(body.home,body:not(.home)) .mh-workflow-art .art-caption{position:static;margin:19px 55px 0 0;font:9px/1.6 var(--mono);letter-spacing:.055em;color:#849caf}
.mh-flow{width:100%;max-width:700px;margin:auto;min-width:0;color:#d7e6f3;text-align:left;font-family:Manrope,Arial,sans-serif}
.mh-flow *{box-sizing:border-box;min-width:0}.mh-flow strong,.mh-flow small,.mh-step{display:block}
.mh-mast{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:20px;font:10px/1.5 var(--mono);letter-spacing:.04em;color:#adc3d6}
.mh-mast>span:first-child{display:flex;align-items:center;gap:9px}.mh-mast img{width:27px;height:27px;border-radius:6px;object-fit:contain;flex-shrink:0}.mh-live-dot{font-size:8px;color:#9cbaa9;text-align:right}.mh-live-dot:before{content:"";display:inline-block;background:#77e6ba;width:5px;height:5px;border-radius:50%;margin-right:6px;box-shadow:0 0 9px #77e6ba66}
.mh-intake{display:grid;grid-template-columns:.85fr 1.5fr;gap:16px;align-items:center}.mh-roof{position:relative;border:1px solid #75bafa24;border-radius:10px;background:radial-gradient(ellipse,#265f8638,transparent);overflow:hidden}.mh-roof svg{display:block;width:100%;height:auto;filter:drop-shadow(0 0 6px #67b8f633)}.mh-roof>span{display:block;font:7px/1.5 var(--mono);letter-spacing:.025em;text-align:center;color:#8bb3ce;padding:0 5px 9px}.mh-step{font:9px/1.6 var(--mono);letter-spacing:.045em;color:#99b0c9;margin-bottom:6px}.mh-upload>strong{font:600 clamp(16px,4.7cqw,24px)/1.2 'Space Grotesk',Arial,sans-serif;letter-spacing:-.03em;color:#e4f2ff}.mh-file{display:flex;gap:9px;align-items:center;padding:12px 10px;margin-top:14px;background:#92c8ff08;border:1px solid #a1d0ff29;border-radius:9px;box-shadow:0 8px 20px #0002;font:10px/1.6 var(--mono);overflow-wrap:anywhere}.mh-braces{font-size:21px;letter-spacing:-.1em;color:#90caff}.mh-file small{font:9px/1.7 Manrope,Arial,sans-serif;color:#95adc2}.mh-upload-arrow{margin-left:auto;font:20px/1 Arial,sans-serif;color:#9bdbff}
.mh-rail{display:flex;align-items:center;justify-content:center;gap:12px;margin:19px 0;color:#84b9d4;font:8px/1.6 var(--mono);letter-spacing:.14em}.mh-rail i{height:1px;flex:1;background:linear-gradient(90deg,transparent,#7ac4da88)}.mh-rail i:last-child{transform:rotate(180deg)}
.mh-engine{position:relative;padding:19px;border:1px solid #83e8c94d;border-radius:13px;background:radial-gradient(ellipse at 50% 0%,#41b58b24,transparent 90%),linear-gradient(135deg,#112e2d,#102026);box-shadow:0 0 35px #2da18d10,inset 0 1px 0 #d7fff112;transition:border-color .3s,box-shadow .3s}
.mh-engine-head{display:flex;align-items:center;gap:13px}.mh-engine-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border:1px solid #91e7c54d;border-radius:10px;background:#6fe6b510;color:#a6f4d8;font-size:27px}.mh-engine .mh-step{color:#86b8ab}.mh-engine strong{font:600 clamp(18px,4.9cqw,25px)/1.2 'Space Grotesk',Arial,sans-serif;letter-spacing:-.025em;color:#daffef}.mh-config{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.mh-config>span{flex:1;padding:8px 9px;border:1px solid #a4e5ca24;border-radius:7px;background:#051c1d70;font-size:11px;color:#d0e6df}.mh-config b{color:#73e5b9;font-weight:400;margin-right:6px}.mh-engine>p{margin:12px 0 0;font:10px/1.7 Manrope,Arial,sans-serif;color:#9ebdb3}
.mh-branch{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:center;height:28px;color:#78c8ba;font:23px/28px Arial,sans-serif}
.mh-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mh-result{position:relative;padding:16px 13px;border:1px solid #86b7e72e;border-radius:12px;background:linear-gradient(145deg,#163049c7,#111e2b);overflow:hidden}.mh-result.mh-quote{border-color:#8adebd38;background:linear-gradient(145deg,#19352fc7,#11232a)}.mh-result .mh-step{font-size:8px}.mh-result>strong{font:600 clamp(16px,4.5cqw,22px)/1.2 'Space Grotesk',Arial,sans-serif;letter-spacing:-.035em;color:#e7f3ff}.mh-result>p{font:11px/1.7 Manrope,Arial,sans-serif;color:#a7bfd0;margin:10px 0 0}.mh-result>p>b{color:#a6e8cd;font-weight:500}.mh-price-art{display:flex;align-items:center;gap:5px;height:38px;margin-top:10px}.mh-price-art>span{color:#83c5f8;font:25px/1 'Space Grotesk',Arial,sans-serif}.mh-price-art i{display:block;width:21px;height:17px;border:1px solid #94cbff33;border-radius:4px;background:linear-gradient(135deg,#7bc3ff2e,#65b6ff08)}.mh-quote-art{position:relative;height:38px;width:100%;max-width:125px;padding:7px 28px 5px 0;margin-top:10px}.mh-quote-art i{display:block;height:3px;margin:0 0 7px;background:#8bbfac44;border-radius:2px}.mh-quote-art i:nth-child(2){width:75%}.mh-quote-art>span{position:absolute;right:0;top:7px;border-radius:50%;border:1px solid #90e3bb77;color:#91edbc;width:22px;height:22px;text-align:center;font-size:14px}
@media(hover:hover) and (pointer:fine){.art-link:hover .mh-engine{border-color:#9df7d699;box-shadow:0 0 40px #43dfaa20,inset 0 1px 0 #d7fff124}.art-link:hover .mh-upload-arrow{transform:translateY(-3px)}.mh-upload-arrow{transition:transform .25s}}
.metal-console-art:has(.mh-flow){padding:22px;container-type:inline-size}.case-art .mh-workflow-art{max-width:960px;margin-inline:auto}.case-art .mh-flow{max-width:660px}
@container(max-width:330px){.mh-mast{gap:8px}.mh-live-dot{max-width:85px}.mh-intake{grid-template-columns:75px minmax(0,1fr);gap:12px}.mh-file{gap:7px;padding:9px 7px}.mh-braces{font-size:17px}.mh-upload-arrow{display:none}.mh-roof>span{font-size:6px}.mh-engine{padding:15px}.mh-config{gap:6px}.mh-config>span{font-size:10px;padding:7px}.mh-result{padding:13px 10px}.mh-result>p{font-size:10px}.mh-results{gap:8px}}
@media(max-width:600px){:is(body.home,body:not(.home)) :is(.project-card,.case-art,.second-project) .product-art.mh-workflow-art{padding:16px}.metal-console-art:has(.mh-flow){padding:16px}}
@media(prefers-reduced-motion:reduce){.art-link:hover .mh-upload-arrow{transform:none}}.motion-paused .art-link:hover .mh-upload-arrow{transform:none}
