/* Fabrication-led identity: cobalt, technical rules, real tools and full-colour media. */
:root{--rule:#0016c92b;--technical:ui-monospace,SFMono-Regular,Consolas,monospace;--header-height:124px}
html{scroll-padding-top:calc(var(--header-height) + 20px)}
body{padding-bottom:64px}
[hidden]{display:none!important}
.technical-label{display:flex;align-items:center;gap:10px;font:400 .75rem/1.6 var(--technical);letter-spacing:.06em;text-transform:uppercase}
.technical-label .icon{width:18px;height:18px}
.button,.inline-cta{border-radius:0;box-shadow:4px 4px 0 transparent;transition:background .2s,color .2s,box-shadow .2s,transform .2s}
.button:hover,.inline-cta:hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 #0016c94d}
.button--light:hover{background:var(--white);color:var(--blue);box-shadow:4px 4px 0 #ffffff50}
.button--outline:hover{background:var(--blue);color:white}
.site-header{border:0;isolation:isolate}
.header-utility{display:flex;justify-content:space-between;align-items:center;min-height:36px;border-bottom:1px solid #ffffff38;font:400 .65rem/1.3 var(--technical);letter-spacing:.04em}
.header-utility>span{display:flex;align-items:center;gap:6px}
.header-utility .icon{width:13px;height:13px}
.header-utility>div{display:flex;gap:16px}
.header-utility a{display:flex;align-items:center;gap:6px;min-height:36px;text-decoration:none}
.header-inner{min-height:78px;gap:15px}
.brand{width:180px;position:relative}
.brand:after{content:"";position:absolute;right:-15px;top:0;width:5px;height:100%;background:repeating-linear-gradient(0deg,transparent 0 5px,#fff 5px 6px);opacity:.45}
.site-header .brand-mark{max-height:46px}
.menu-toggle{border:0;border-left:1px solid #ffffff55;border-radius:0;padding:10px 0 10px 18px;font:400 .8rem var(--technical)}
.site-nav{top:100%;max-height:calc(100dvh - 114px);padding-bottom:30px}
.site-nav a{justify-content:flex-start;gap:12px;min-height:52px}
.nav-index{font:400 .65rem/1 var(--technical);opacity:.6}
.nav-labs summary{display:flex;align-items:center;gap:12px;padding:15px 0;min-height:52px;cursor:pointer;border-bottom:1px solid #ffffff38;list-style:none}
.nav-labs summary::-webkit-details-marker{display:none}
.nav-labs summary>.icon{width:15px;height:15px;margin-left:auto;transition:transform .2s}
.nav-labs[open] summary>.icon{transform:rotate(180deg)}
.nav-labs .is-current{text-decoration:underline;text-underline-offset:.4em}
.lab-menu{padding:12px 0 24px}
.lab-menu-photo{display:none!important}
.lab-menu-links>a{display:flex;gap:14px;font-size:1rem;padding:14px 4px}
.lab-menu-links>a>.icon:first-child{width:25px;height:25px}
.lab-menu-links>a>.icon:last-child{width:17px;height:17px;margin-left:auto}
.lab-menu-links .lab-menu-all{font:400 .75rem var(--technical)}
.site-nav .nav-tour{justify-content:space-between;margin-top:16px;min-height:52px}
.reading-progress{height:3px;position:absolute;bottom:-3px;left:0;width:100%;transform:scaleX(0);transform-origin:left;background:#fff;box-shadow:0 1px 0 var(--blue)}
.contact-actions{display:flex;flex-wrap:wrap;gap:10px}
.contact-actions .button{gap:12px;padding:14px 17px;font-size:.9rem;min-height:50px}
.contact-actions .icon{width:19px;height:19px}
.contact-dock{position:fixed;bottom:0;left:0;right:0;z-index:25;display:grid;grid-template-columns:1fr 1.65fr;background:white;color:var(--blue);border-top:1px solid var(--blue);box-shadow:0 -6px 24px #00000009;padding-bottom:env(safe-area-inset-bottom)}
.contact-dock a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:60px;padding:12px;text-decoration:none;font:400 .8rem Inter,Arial,sans-serif;border-right:1px solid var(--rule)}
.contact-dock a:last-child{background:var(--blue);color:white}
.contact-dock a>.icon{width:19px;height:19px}
.contact-dock a:last-child>.icon:last-child{width:15px}
.contact-dock a:hover{text-decoration:underline}
/* Gridded rails and registration corners borrow from fabrication drawings. */
.lab-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--blue);color:white;border-block:1px solid #ffffff45}
.lab-strip a{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:9px;padding:20px 16px;border-right:1px solid #ffffff45;border-bottom:1px solid #ffffff45;text-decoration:none;font:400 .7rem/1.5 var(--technical);transition:background .2s}
.lab-strip a>.icon:first-child{width:25px;height:25px}
.lab-strip a>.icon:last-child{display:none}
.lab-strip a:hover{background:white;color:var(--blue)}
/* The homepage hero fills exactly the screen left between the header and the mobile contact bar. */
.home-hero{--hero-chrome:calc(176px + env(safe-area-inset-bottom,0px));min-height:calc(100svh - var(--hero-chrome));padding-block:56px 80px;background:var(--blue)}
.home-hero:before{content:"";position:absolute;inset:18px;pointer-events:none;border:1px solid #ffffff30;background:linear-gradient(#fff,#fff) left top/26px 2px no-repeat,linear-gradient(#fff,#fff) right bottom/26px 2px no-repeat}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px}
.hero-film-link{display:flex;align-items:center;gap:9px;min-height:48px;font-size:.9rem;text-decoration:none;color:white}
.hero-film-link:hover{color:white;text-decoration:underline}
.hero-film-link>.icon{border:1px solid #fff;border-radius:50%;padding:8px;width:36px;height:36px}
.home-hero-media.motion-frame{z-index:0}
/* Architectural drawing grid: fine 24px squares with a heavier line every 120px. */
.home-intro{background-image:linear-gradient(#0016c917 1px,transparent 1px),linear-gradient(90deg,#0016c917 1px,transparent 1px),linear-gradient(#0016c90a 1px,transparent 1px),linear-gradient(90deg,#0016c90a 1px,transparent 1px);background-size:120px 120px,120px 120px,24px 24px,24px 24px;background-position:-1px -1px}
.home-pathway h2{display:flex;align-items:center;gap:14px}
.pathway-icon{display:grid;place-items:center;width:40px;height:48px;flex:none;border:1px solid var(--rule)}
.pathway-icon>.icon{width:26px;height:26px}
.home-pathway{position:relative;transition:padding .3s,background .3s}
.home-circle-link{border-radius:0}
.home-service-image{clip-path:none!important;border-radius:0!important;position:relative}
.home-service-image:after{content:"";position:absolute;inset:12px;border:1px solid #ffffff66;pointer-events:none}
.home-service--workspace .home-service-image{clip-path:polygon(0 0,100% 0,100% 85%,85% 100%,0 100%)!important}
.home-services{background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px);background-size:64px 64px}
.rail-controls button{border-radius:0!important}
.rail-panel:nth-child(even)>img{border-radius:0;clip-path:polygon(12% 0,100% 0,100% 88%,88% 100%,0 100%,0 12%)}
/* Film controls never sit over native playback controls once a film is started. */
.story-film{padding:55px 0;background:#07101d;color:#fff}
.story-film--blue{background:var(--blue)}
.story-film--blue .story-film-frame video{background:var(--navy)}
/* Edge to edge: the frame leaves the text column and loses its outline and corner marks. */
.story-film--bleed .story-film-frame{border:0;aspect-ratio:16/9}
.story-film--bleed .story-film-frame:before{display:none}
.story-film--bleed .story-film-frame video{object-fit:cover}
.story-film--bleed .film-caption{padding-top:16px}
/* A glass play button that lets the still show through. */
.story-film--bleed .story-film-frame[data-video-enhanced][data-video-state] [data-video-toggle]{background:#ffffff1f;border:1px solid #ffffffb3;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:none}
.story-film--bleed .story-film-frame[data-video-enhanced][data-video-state] [data-video-toggle]:hover{background:#ffffff40}
.story-film-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-bottom:30px}
.story-film-heading h2{font-size:clamp(2.4rem,6.7vw,6rem);font-weight:700;letter-spacing:-.055em;margin:0;line-height:1.05}
.story-film-heading a{display:flex;align-items:center;gap:12px;font:400 .8rem var(--technical);min-height:44px}
.story-film a:hover{color:#fff}
.story-film-frame{aspect-ratio:16/10;border:1px solid #ffffff50;overflow:visible}
.story-film-frame video{width:100%;height:100%;object-fit:contain;background:#07101d}
.story-film-frame [data-video-toggle]{top:50%;left:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);min-width:180px;border-radius:0;padding:20px;background:var(--blue);font:400 1rem Poppins,Arial,sans-serif}
.story-film-frame [data-video-toggle][data-playing=true]{display:none}
.film-caption{display:flex;justify-content:space-between;gap:20px;padding-top:16px;font:400 .7rem/1.6 var(--technical);text-transform:uppercase;letter-spacing:.06em}
.film-caption a{display:flex;gap:8px;align-items:center}
.film-caption .icon{width:16px;height:16px}
.archive-stories{padding-block:65px;color:var(--blue)}
.archive-stories-heading{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;margin-bottom:32px}
.archive-stories-heading .technical-label{width:100%;margin:0}
.archive-stories-heading h2{font-size:clamp(3rem,7vw,6rem);font-weight:700;margin:0;letter-spacing:-.06em}
.archive-stories-heading>a{font-size:.9rem}
.archive-story{display:grid;grid-template-columns:1fr 30px;gap:20px;align-items:center;border-top:1px solid var(--blue);padding:25px 0;text-decoration:none;transition:padding .3s,background .3s}
.archive-story:last-child{border-bottom:1px solid var(--blue)}
.archive-story img{display:none}
.archive-story h3{font-size:clamp(1.5rem,3vw,2.6rem);margin:0;max-width:26ch}
.archive-story .technical-label{font-size:.65rem;margin-bottom:10px}
.archive-story>svg:first-of-type{display:none}
/* Equipment and sparse pages: strong headings, technical marks, related spaces. */
.lab-title-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:.6em;height:.6em;min-width:45px;min-height:45px;margin-right:.2em;border:1px solid currentColor;transform:translateY(-.08em)}
.lab-title-icon .icon{width:60%;height:60%;stroke-width:1.4}
.lab-next{padding-block:50px 65px;border-top:1px solid var(--rule)}
.lab-next .lab-strip{margin:24px 0 32px}
.lab-next .lab-strip a{font-size:.7rem}
.wood-hero,.metal-hero,.textile-intro,.printing-hero,.about-hero{background-image:linear-gradient(90deg,transparent calc(100% - 1px),#0016c90c 1px);background-size:25% 100%}
.wood-hero h1,.metal-hero h1,.textile-hero h1,.printing-hero h1,.about-hero h1{font-weight:700}
.wood-machine-group,.printing-machine{position:relative;border-top:1px solid var(--rule);padding-top:22px}
.wood-machine-group h3,.printing-machine h3{font-weight:700}
.equipment-list li::marker{color:var(--blue)}
.makerspace-lab-links a>span{flex:1}
.makerspace-lab-links a>.icon:first-child{width:32px;height:32px}
.contact-direct{margin-top:28px;display:grid;gap:15px}
.contact-direct>a{font-size:1rem;overflow-wrap:anywhere}
.contact-photo{margin-top:32px;clip-path:polygon(0 0,100% 0,100% 85%,85% 100%,0 100%)}
.contact-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.contact-intro::after{display:none}
.workspace-intro .contact-actions{margin-block:24px}
.workspace-intro .button{padding:12px;font-size:.8rem}
.tour-alternative{margin-bottom:30px}
.tour-alternative p{max-width:65ch}
.tour-mail-mark{display:none}
.tour-booking{border:0!important;padding:0!important}
.member-directory{border-top:1px solid currentColor}
.directory-intro h2{font-weight:700;letter-spacing:-.05em}
.directory-tools{background-image:linear-gradient(90deg,#0016c908 1px,transparent 1px);background-size:20px 100%}
.member summary{transition:padding .25s,background .25s}
.member[open]{background:#0016c908}
.member[open] summary{padding-inline:16px}
.member-sector{font-family:var(--technical);font-size:.7rem}
.directory-count{font-family:var(--technical);font-size:.75rem;text-transform:uppercase}
.home-embed .member-directory{border:0}
.footer-contact-heading{border-bottom:1px solid #ffffff60;padding-bottom:50px;margin-bottom:50px}
.footer-doors{display:block;width:100%;height:auto;margin:0}
.footer-subscribe .button{border-color:white}
.footer-grid>div:first-child>a.footer-email{display:inline-flex;align-items:center;gap:12px;font-weight:700}
.footer-email .icon{flex:none;width:.95em;height:.95em}
/* Footer: address opens Google Maps; six links in two columns of three; subscribe spans the width on phones. */
.footer-address{display:inline-flex;gap:12px;align-items:flex-start;font-size:1rem;line-height:1.6;text-decoration:none}
.footer-address .icon{flex:none;width:20px;height:20px;margin-top:3px}
.footer-address:hover>span{text-decoration:underline;text-underline-offset:.25em}
.footer-links--grid{display:grid;grid-template-rows:repeat(3,auto);grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);column-gap:24px}
@media(max-width:699px){.footer-subscribe .button{display:flex;width:100%}}
.footer-subscribe .button:hover{background:white;color:var(--blue)}
.footer-contact-heading .button{border-color:white}
.footer-contact-heading .button:first-child{background:white;color:var(--blue)}
.footer-contact-heading .button--outline:hover{background:white;color:var(--blue)}
.generic-hero .page-title{font-weight:700;letter-spacing:-.05em;max-width:20ch}
.generic-hero{background:linear-gradient(90deg,transparent calc(100% - 1px),#0016c910 1px);background-size:25% 100%}
@media(min-width:700px){
 body{padding-bottom:0}
 .header-utility{font-size:.7rem}
 .header-utility>div{gap:26px}
 .lab-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
 .lab-strip a{padding:22px 24px;font-size:.8rem}
 .home-hero{--hero-chrome:115px;min-height:calc(100svh - var(--hero-chrome));padding-block:72px 90px}
 .hero-actions{flex-direction:column;align-items:stretch;min-width:190px}
 .hero-film-link{justify-content:center}
 .pathway-icon{width:54px;height:66px}
 .pathway-icon>.icon{width:36px;height:36px}
 .home-pathway h2{font-size:clamp(2.6rem,5vw,6rem)}
 .story-film{padding-block:80px}
 .story-film-frame{aspect-ratio:16/9}
 .story-film-frame:before{content:"";position:absolute;inset:-10px;pointer-events:none;background:linear-gradient(#fff,#fff) left top/26px 1px no-repeat,linear-gradient(#fff,#fff) left top/1px 26px no-repeat,linear-gradient(#fff,#fff) right bottom/26px 1px no-repeat,linear-gradient(#fff,#fff) right bottom/1px 26px no-repeat}
 .contact-dock{left:auto;right:24px;bottom:24px;grid-template-columns:78px 155px;border:1px solid var(--blue);box-shadow:5px 5px 0 #0016c91a}
 .contact-dock a{min-height:50px;padding:10px;font-size:.75rem}
 .contact-dock a>.icon{width:16px;height:16px}
 .archive-stories{padding-block:85px}
 .archive-story{grid-template-columns:120px 1fr 48px 36px;gap:28px}
 .archive-story img{display:block;width:120px;height:95px;object-fit:cover}
 .archive-story>svg:first-of-type{display:block;width:40px;height:40px;stroke-width:1.2}
 .archive-story:hover{padding-inline:18px;background:#0016c905}
}
@media(min-width:1120px){
 .header-inner{min-height:88px;gap:35px}
 .brand{width:230px}
 .site-nav{gap:24px;max-height:none;padding:0}
 .site-nav>a,.nav-labs>summary{font-size:.8rem;position:relative;padding:10px 0;white-space:nowrap;border:0;min-height:48px}
 .nav-index{position:absolute;top:-2px;left:0;font-size:.55rem}
 .nav-labs>summary{gap:8px}
 .site-nav .nav-tour{padding:15px 18px;margin:0;gap:14px}
 .nav-labs>summary>.icon{margin:0;width:12px}
 .lab-menu{position:absolute;left:0;right:0;top:100%;display:grid;grid-template-columns:.85fr 1.6fr;gap:45px;background:var(--blue);padding:34px var(--gutter) 42px;border-top:1px solid #ffffff45;box-shadow:0 18px 28px #00000025}
 .lab-menu-photo{display:block!important;padding:0!important;position:relative;overflow:hidden;max-height:265px}
 .lab-menu-photo img{width:100%;height:100%;object-fit:cover;opacity:.8}
 .lab-menu-photo span{position:absolute;bottom:20px;left:22px;right:22px;display:flex;justify-content:space-between;font:700 2rem Poppins,Arial,sans-serif}
 .lab-menu-links{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
 .lab-menu-links>a{border-bottom:1px solid #ffffff45;font-size:1rem;min-height:70px}
 .lab-menu-links>a:hover{background:#ffffff0d;text-decoration:none}
 .lab-menu-links .lab-menu-all{grid-column:1/-1;min-height:40px;font-size:.75rem;border:0;justify-content:flex-end}
 .lab-menu-links .lab-menu-all>.icon{margin-left:0}
 .lab-strip{grid-template-columns:repeat(6,minmax(0,1fr))}
 .lab-strip a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding:26px 20px;font-size:.75rem}
 .lab-strip a>span{width:100%;order:2}
 .lab-strip a>.icon:last-child{display:block;width:15px;height:15px}
 .home-pathway:hover{padding-inline:20px;background:#0016c903}
 .home-hero{--hero-chrome:125px}
}
@media(prefers-reduced-motion:no-preference){
 .nav-labs[open] .lab-menu{animation:menu-in .25s ease-out}
 .lab-strip a:hover>.icon:first-child{transform:rotate(-10deg)}
 .lab-strip .icon{transition:transform .25s}
 .media-rail img{transition:filter .4s,transform .6s}
 .rail-panel:hover>img{transform:scale(1.015)}
 @keyframes menu-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:none}}
 @keyframes heading-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){.reading-progress{display:none}.rail-panel:hover>img{transform:none}}
.archive-story{grid-template-columns:42px 1fr 24px;gap:16px}
.archive-story-icon{display:grid;place-items:center;width:42px;height:50px;border:1px solid var(--rule);align-self:start}
.archive-story-icon>.icon{width:26px;height:26px}
.archive-story>svg:first-of-type{display:block;width:24px;height:24px}
.story-excerpt{margin:18px 0 0;font-size:1rem;line-height:1.65;color:var(--ink);max-width:65ch}
@media(min-width:700px){.archive-story{grid-template-columns:100px 1fr 36px;gap:35px}.archive-story-icon{width:90px;height:100px}.archive-story-icon>.icon{width:50px;height:50px;stroke-width:1.2}.archive-story h3{max-width:30ch}.archive-story>svg:first-of-type{width:30px;height:30px}}
.workspace-film.motion-frame{clip-path:none;border-radius:0;background:#07101d}
.workspace-film video{width:100%;height:100%;object-fit:contain;aspect-ratio:16/9;background:#07101d}
.workspace-film [data-video-toggle]{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:max-content;max-width:85%;padding:18px;border-radius:0}
.workspace-film [data-video-toggle][data-playing=true]{display:none}
@media(min-width:760px){.workspace-hero-stage{align-items:center}.workspace-hero-media.workspace-film{aspect-ratio:16/10;min-height:0}.workspace-film video{position:static}}
.header-utility a{white-space:nowrap}
@media(max-width:699px){.header-utility{gap:14px}.header-utility>div{gap:14px;flex:none}.header-utility>span{font-size:.6rem}.home-pathway h2{font-size:clamp(2.4rem,10vw,3.6rem)}}
body[data-page] main h1.page-title{font-weight:700}
.home-hero:before{z-index:1}
html:not(.js-media) [data-video-toggle]{display:none}
@media(max-width:1119px){html:not(.js-media) .header-inner{flex-wrap:wrap}html:not(.js-media) .menu-toggle{display:none}html:not(.js-media) .site-nav{position:static;display:block;width:100%;max-height:none}}
.workspace-intro .button:first-child{background:white;color:var(--blue);border-color:white}
/* Utility bar: on phones the Email us tab becomes Find your space (the dock below keeps Email). */
.header-utility .utility-space{display:none}
@media(max-width:699px){.header-utility .utility-email{display:none}.header-utility .utility-space{display:inline-flex}}
