@font-face{font-family:DM Sans;src:url('assets/dm-sans-regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:DM Sans;src:url('assets/dm-sans-medium.ttf') format('truetype');font-weight:500 800;font-style:normal;font-display:swap}
:root{--ink:#111;--muted:#676767;--navy:#002638;--paper:#fff;--soft:#f6f6f6;--line:#dedede;--radius:20px;--gutter:clamp(28px,5.5vw,88px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 'DM Sans','Helvetica Neue',sans-serif;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:500;line-height:1.12;letter-spacing:-.045em}button{color:inherit}::selection{background:#b3dee8;color:#002638}:focus-visible{outline:3px solid #c47437;outline-offset:5px}button:focus-visible,a:focus-visible{border-radius:6px}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:24px;padding:12px 20px;background:white;color:var(--navy);z-index:100}.skip-link:focus{top:16px}.outer-panel{margin-inline:16px;border-radius:var(--radius);overflow:hidden}.section-shell{width:calc(100% - 2 * var(--gutter));max-width:1280px;margin-inline:auto}.eyebrow{font-size:14px;line-height:1.45;font-weight:400;letter-spacing:-.01em}.muted{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:11px 23px;border:0;border-radius:100px;background:#fff;color:var(--ink);font-size:15px;font-weight:500;line-height:1.25;transition:var(--reveal-t),background .18s,transform .16s var(--ease-out)}.button:hover{background:#f0f0f0;transform:translateY(-2px)}.arrow-button{padding:7px 7px 7px 22px;gap:17px}.arrow-circle{display:grid;place-items:center;width:34px;height:34px;background:#090909;color:white;border-radius:50%;font-size:23px;font-weight:400;overflow:hidden}.arrow-circle>span{display:block;text-shadow:-34px 0 0 currentColor;transition:translate .5s var(--ease-out)}.button:hover .arrow-circle>span{translate:34px 0}
.site-header{position:absolute;z-index:20;top:16px;left:16px;right:16px;height:92px;padding-inline:calc(var(--gutter) - 16px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;color:#fff;transition:background .2s,box-shadow .2s}.site-header.scrolled{position:fixed;top:10px;background:rgba(0,38,56,.97);height:76px;border-radius:14px;box-shadow:0 6px 30px #00263814;backdrop-filter:blur(12px)}.brand{display:flex;gap:10px;align-items:center;width:max-content}.brand-mark{border:2px solid currentColor;border-radius:8px;font:500 19px/1 'DM Sans',sans-serif;letter-spacing:-2px;width:34px;height:34px;display:grid;place-items:center;padding-right:2px}.brand-name{font-size:21px;font-weight:500;letter-spacing:-.055em;line-height:1.1;display:flex;align-items:baseline;gap:4px}.brand-name>span{font-size:9px;letter-spacing:0}.desktop-nav{display:flex;align-items:center;gap:3px;padding:5px 9px;background:#174d6880;border:1px solid #ffffff24;border-radius:10px}.desktop-nav>a{font-size:14px;padding:8px 11px;border-radius:5px;transition:background .2s}.desktop-nav>a:hover,.desktop-nav>a.active{background:#ffffff15}.header-cta{justify-self:end;font-size:14px;min-height:43px;padding-inline:24px}.menu-toggle,.mobile-menu{display:none}
.hero{position:relative;isolation:isolate;margin-top:16px;min-height:660px;height:calc((100vw - 32px)/1.84);max-height:850px;background:#5f5a54;color:#fff}.hero-image,.hero-wash{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.hero-image{object-position:center 62%}.hero-wash{z-index:-1}.hero-content{position:relative;padding:clamp(182px,15.2vw,248px) calc(var(--gutter) - 16px) 85px}.hero .eyebrow{margin-bottom:17px;color:#ffffffd6}.hero h1{font-size:clamp(54px,5.2vw,82px);line-height:1.02;letter-spacing:-.055em;max-width:790px}.hero-description{margin-top:28px;max-width:560px;font-size:16px;line-height:1.55;letter-spacing:-.018em;color:#ffffffe0}.hero .arrow-button{margin-top:26px}.hero-feature{position:absolute;right:32px;bottom:32px;width:clamp(225px,20.3vw,306px);aspect-ratio:1.01;border:1px solid #ffffffa6;border-radius:13px;background:#c0dfeb;overflow:hidden;transition:transform .25s}.hero-feature:hover{transform:translateY(-4px)}.hero-feature>img{width:100%;height:100%;object-position:50% 50%}.feature-caption{position:absolute;color:var(--ink);left:11px;right:11px;bottom:11px;background:white;padding:13px 14px 14px;border-radius:7px;box-shadow:0 4px 20px #0026380a}.feature-caption strong{display:block;font-size:15px;font-weight:500;line-height:1.25;letter-spacing:-.03em}.feature-caption>span{display:block;font-size:12px;line-height:1.45;margin-top:5px}
.about{padding-block:114px 126px}.about-intro{display:grid;grid-template-columns:1fr 2.1fr;gap:40px;margin-bottom:70px}.about-intro>.eyebrow{padding-top:7px}.about-intro h2{font-size:clamp(27px,2.12vw,34px);line-height:1.48;letter-spacing:-.035em;font-weight:400}.about-intro h2>span{color:#737373}.about-grid{display:grid;grid-template-columns:2.1fr 1fr;gap:24px}.about-photo{border-radius:16px;overflow:hidden;aspect-ratio:2.03}.about-photo>img{width:100%;height:100%;object-position:50% 60%}.about-facts{display:grid;grid-template-rows:repeat(3,1fr);gap:17px}.about-facts article{background:var(--soft);padding:20px 27px;border-radius:13px;display:flex;flex-direction:column;justify-content:center}.about-facts h3{font-size:clamp(28px,2.65vw,43px);line-height:1.1;letter-spacing:-.05em;font-weight:400}.about-facts p{font-size:14px;line-height:1.45;color:var(--muted);margin-top:10px}
.services{position:relative;isolation:isolate;background:var(--navy);padding-block:76px;color:#fff}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.services-intro{padding-top:4px}.services-intro h2{font-size:44px;margin-top:13px;line-height:1.05}.service-motif{position:absolute;z-index:-1;width:780px;height:780px;border:130px solid #073448;border-radius:43%;right:3%;top:-30px;transform:rotate(-18deg);opacity:.55}.service-card{position:relative;isolation:isolate;overflow:hidden;border-radius:17px;background:#fff;color:var(--ink);min-height:282px;padding:26px;display:flex;flex-direction:column;justify-content:space-between}.service-card:before{content:'';position:absolute;z-index:-1;width:170px;height:190px;border:28px solid #fafafa;border-radius:42%;left:calc(50% - 100px);top:64px;transform:rotate(-15deg)}.service-top{display:flex;justify-content:space-between;align-items:flex-start}.service-dot{width:10px;height:10px;border-radius:50%;background:#686868;margin-top:7px}.service-number{font-size:44px;font-weight:400;line-height:1;letter-spacing:-.05em;color:#d1d1d1}.service-copy{margin-top:48px}.service-copy h3{font-size:23px;line-height:1.2;letter-spacing:-.035em}.service-copy p{font-size:15px;line-height:1.5;color:var(--muted);margin-top:12px;max-width:320px}
.section-heading{text-align:center;margin-bottom:48px}.section-heading h2{font-size:44px;margin-top:14px;line-height:1.08}.process{padding-block:128px 112px}.process-grid{display:grid;grid-template-columns:1.22fr 1fr;align-items:center;gap:80px}.process-steps{list-style:none;padding:0;margin:0}.process-steps li{display:flex;gap:17px;padding-block:24px;border-bottom:1px dashed #d4d4d4}.process-steps li:first-child{padding-top:0}.process-steps li:last-child{border-bottom:0;padding-bottom:0}.step-number{display:grid;place-items:center;flex-shrink:0;background:#f1f1f1;border-radius:50%;height:44px;width:44px;font-size:18px;font-weight:500}.process-steps h3{font-size:21px;line-height:1.3;letter-spacing:-.025em}.process-steps p{font-size:15px;line-height:1.6;margin-top:8px;max-width:470px;color:#515151}.process-photo{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:1.45}.process-photo img{height:100%;width:100%;object-position:50% 50%}
.projects{background:#f7f7f7;padding-block:80px 74px}.project-row{display:grid;grid-template-columns:1.55fr 1fr;gap:24px;padding-block:27px;border-bottom:1px dashed #d9d9d9}.project-row:last-child{border-bottom:0;padding-bottom:0}.project-row:first-of-type{padding-top:0}.project-row.reverse{grid-template-columns:1fr 1.55fr}.project-row.reverse .project-info{grid-column:2;grid-row:1}.project-row.reverse .project-photo{grid-column:1;grid-row:1}.project-info{background:#fff;padding:30px 32px;border-radius:14px;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:316px}.project-kicker{font-size:12px;color:var(--muted);margin-bottom:8px}.project-info h3{font-size:27px;letter-spacing:-.035em;line-height:1.2}.project-description{font-size:14px;color:var(--muted);line-height:1.55;max-width:470px;margin-top:11px}.project-details{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0 20px;font-size:13px}.project-details dt{font-size:12px;color:#747474;margin-bottom:6px}.project-details dd{margin:0;font-weight:500}.text-link{font-size:13px;text-align:left;display:flex;align-items:center;gap:16px;width:max-content;padding:0 0 3px;background:none;border:0;border-bottom:1px solid #d0d0d0}.text-link:hover{border-color:#111}.text-link span{font-size:18px}.project-photo{position:relative;padding:0;border:0;border-radius:14px;background:#e5e8e8;overflow:hidden;min-height:316px}.project-photo>img{width:100%;height:100%;position:absolute;inset:0;transition:transform .5s}.project-photo:hover>img{transform:scale(1.045)}.photo-expand{display:grid;place-items:center;position:absolute;bottom:16px;right:16px;height:36px;width:36px;background:#fff;border-radius:50%;font-size:20px;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s}.project-photo:hover .photo-expand,.project-photo:focus-visible .photo-expand{opacity:1;transform:none}
.contact{position:relative;isolation:isolate;min-height:440px;display:grid;place-items:center;text-align:center;color:#fff;margin-top:80px}.contact-image,.contact-shade{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-position:center 47%}.contact-shade{z-index:-1;background:#00202c99}.contact-content{padding:72px 24px}.contact h2{font-size:48px;line-height:1.06;letter-spacing:-.045em;margin-top:15px;text-wrap:balance}.contact .arrow-button{margin-top:28px}.contact-email{display:block;font-size:13px;margin-top:18px;color:#ececec;width:max-content;margin-inline:auto}.contact-email:hover{text-decoration:underline}.footer{padding-block:66px 26px}.footer-main{display:grid;grid-template-columns:1.7fr .7fr 1fr;gap:70px}.footer-brand p{margin-top:23px;color:var(--muted);font-size:14px;line-height:1.6}
/* The button to the social page (social.html), under the line about the company */
.footer-follow{margin-top:26px;display:inline-flex;align-items:center;gap:16px;height:64px;padding:0 10px 0 24px;border-radius:100px;background:var(--navy);color:#fff;font-size:16px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;transition:background .2s,box-shadow .25s var(--ease-out),scale .12s var(--ease-out)}
.footer-follow:hover{background:#0b3b53;box-shadow:0 14px 34px #00263829}
.footer-follow:active{scale:.98}
.footer-follow-icons{display:flex;gap:6px}
.footer-follow-icons>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffffff1f;transition:background .2s}
.footer-follow:hover .footer-follow-icons>span{background:#ffffff2e}
.footer-follow-icons svg{width:16px;height:16px}
.footer-follow-go{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--navy);transition:translate .25s var(--ease-out)}
.footer-follow:hover .footer-follow-go{translate:3px 0}
@media(max-width:600px){.footer-follow{height:58px;gap:12px;padding-left:20px;font-size:15px}.footer-follow-icons>span{width:30px;height:30px}.footer-follow-go{width:40px;height:40px}}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.footer h2{font-size:14px;letter-spacing:0;margin:0 0 17px}.footer-nav,.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:14px}.footer-nav h2,.footer-contact h2{margin-bottom:6px}.footer-contact address{font-style:normal;line-height:1.7;color:var(--muted);margin-top:6px}.footer a:hover{color:#40758a}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #e6e6e6;padding-top:22px;margin-top:54px;color:#6b6b6b;font-size:11px}.footer-bottom>a{white-space:nowrap}.footer-bottom>a span{margin-left:10px}.dialog-open{overflow:hidden}
@media(min-width:1800px){.outer-panel{max-width:1680px;margin-inline:auto}.site-header{max-width:1680px;margin-inline:auto;padding-inline:120px}.hero{height:820px}.hero-content{padding-left:120px}.hero-feature{right:60px}.services-grid{max-width:1440px}.service-card{min-height:310px}}
@media(max-width:1150px){.brand-name{font-size:18px}.desktop-nav>a{padding-inline:9px}.site-header{gap:16px}.hero h1{font-size:61px}.hero-description{max-width:485px;font-size:15px}.hero-feature{width:225px;bottom:28px;right:28px}.feature-caption{padding:12px}.feature-caption strong{font-size:13px}.feature-caption>span{font-size:11px}.about-grid{grid-template-columns:1.85fr 1fr}.about-photo{aspect-ratio:auto;min-height:380px}.about-facts h3{font-size:32px}.about-facts article{padding:21px}.service-card{padding:24px;min-height:278px}.service-copy h3{font-size:21px}.service-copy p{font-size:14px}.process-grid{gap:48px}.footer-main{gap:35px}}
@media(max-width:900px){.site-header{height:84px;grid-template-columns:1fr auto}.desktop-nav,.header-cta{display:none}.menu-toggle{display:flex;align-items:center;gap:11px;padding:10px 16px;background:#174d6880;color:#fff;border:1px solid #ffffff40;border-radius:100px;font-size:14px;min-height:44px}.menu-lines{width:16px;height:8px;border-top:1px solid currentColor;border-bottom:1px solid currentColor;transition:transform .2s}.menu-toggle[aria-expanded=true] .menu-lines{transform:rotate(-45deg)}.mobile-menu:not([hidden]){display:grid;position:absolute;top:calc(100% - 2px);left:0;right:0;gap:2px;padding:20px;background:var(--navy);color:white;border-radius:14px;box-shadow:0 16px 24px #0002}.mobile-menu a{padding:12px;border-bottom:1px solid #ffffff20;font-size:18px}.hero{min-height:690px}.hero-content{padding-top:185px}.hero h1{font-size:58px;max-width:600px}.hero-description{max-width:460px;font-size:15px}.hero-feature{width:175px;bottom:24px;right:24px}.hero-feature .feature-caption{left:7px;right:7px;bottom:7px;padding:10px}.feature-caption strong{font-size:12px}.feature-caption>span{font-size:10px}.feature-caption .desktop-break{display:none}.hero .arrow-button{margin-top:24px}.about{padding-block:85px}.about-intro{grid-template-columns:1fr 2.2fr;gap:28px;margin-bottom:45px}.about-intro h2{font-size:26px}.about-grid{grid-template-columns:1.55fr 1fr;gap:18px}.about-facts h3{font-size:28px}.about-facts p{font-size:13px}.about-photo{min-height:360px}.services{padding-block:48px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.services-intro{grid-column:1/-1;padding-bottom:14px}.services-intro h2 br{display:none}.services-intro h2{font-size:38px}.service-card{min-height:270px}.service-card:last-child{grid-column:1/-1;min-height:220px}.service-copy p{max-width:420px}.process{padding-block:90px 80px}.section-heading h2{font-size:38px}.process-grid{gap:32px;grid-template-columns:1.1fr 1fr}.process-steps h3{font-size:18px}.process-steps p{font-size:14px}.step-number{width:38px;height:38px;font-size:16px}.process-steps li{gap:13px;padding-block:20px}.process-photo{aspect-ratio:.95}.project-row,.project-row.reverse{grid-template-columns:1.25fr 1fr;gap:18px}.project-row.reverse{grid-template-columns:1fr 1.25fr}.project-info{padding:24px;min-height:330px}.project-info h3{font-size:25px}.project-details{gap:12px;grid-template-columns:1fr 1fr}.project-details>div:last-child{grid-column:1/-1}.project-description{font-size:13px}.project-photo{min-height:330px}.contact h2{font-size:42px}.footer-main{grid-template-columns:1.2fr .7fr 1fr;gap:25px}.footer .brand-name{font-size:16px}.footer-bottom{flex-wrap:wrap;font-size:10px}}
@media(max-width:600px){:root{--gutter:24px;--radius:16px}html{scroll-padding-top:100px}.outer-panel{margin-inline:10px}.site-header{top:10px;left:10px;right:10px;height:80px;padding-inline:20px;gap:10px}.site-header.scrolled{top:8px;height:70px}.brand-mark{width:29px;height:29px;font-size:17px;border-radius:7px}.brand{gap:8px}.brand-name{font-size:18px}.brand-name>span{font-size:8px}.menu-toggle{padding:9px 13px;font-size:13px}.hero{margin-top:10px;min-height:0;height:auto}.hero-image{object-position:57% center;height:100%;object-fit:cover}.hero-content{padding:156px 22px 28px}.hero .eyebrow{font-size:12px;margin-bottom:17px;max-width:260px}.hero h1{font-size:clamp(40px,10.2vw,59px);line-height:1.05;letter-spacing:-.055em}.hero-description{font-size:14px;line-height:1.6;margin-top:23px;max-width:350px}.desktop-break{display:none}.hero .arrow-button{margin-top:23px}.button{font-size:14px}.hero-feature{position:relative;bottom:auto;right:auto;margin:4px 22px 24px;width:calc(100% - 44px);height:146px;aspect-ratio:auto;background:#bad8e1;border-radius:11px}.hero-feature>img{object-position:center 45%}.hero-feature .feature-caption{left:auto;width:53%;top:12px;bottom:12px;right:12px;padding:14px;display:flex;flex-direction:column;justify-content:center}.feature-caption strong{font-size:14px;line-height:1.3}.feature-caption>span{font-size:12px;line-height:1.45;margin-top:8px}.about{padding-block:62px 68px}.about-intro{grid-template-columns:1fr;gap:22px;margin-bottom:34px}.eyebrow{font-size:13px}.about-intro>.eyebrow{padding-top:0}.about-intro h2{font-size:26px;line-height:1.45}.about-grid{grid-template-columns:1fr;gap:16px}.about-photo{min-height:0;aspect-ratio:1.36}.about-facts{gap:12px}.about-facts article{padding:23px 24px}.about-facts h3{font-size:36px}.about-facts p{font-size:14px;margin-top:8px}.services{padding-block:36px}.services-grid{width:calc(100% - 36px);grid-template-columns:1fr;gap:14px}.services-intro{padding:6px 6px 15px}.services-intro h2{font-size:37px;line-height:1.1;margin-top:10px}.services-intro h2 br{display:block}.service-card,.service-card:last-child{min-height:248px;padding:25px;grid-column:auto}.service-copy{margin-top:42px}.service-copy h3{font-size:23px}.service-copy p{font-size:15px;margin-top:10px}.service-number{font-size:41px}.service-motif{right:-470px}.process{padding-block:68px}.section-heading{margin-bottom:34px}.section-heading h2{font-size:35px;margin-top:12px;line-height:1.12}.process-grid{grid-template-columns:1fr;gap:32px}.process-steps li{gap:14px;padding-block:22px}.process-steps h3{font-size:19px}.process-steps p{font-size:14px}.step-number{width:39px;height:39px}.process-photo{aspect-ratio:1.35}.projects{padding-block:56px}.projects .section-heading h2{max-width:330px;margin-inline:auto}.project-row,.project-row.reverse{grid-template-columns:1fr;gap:14px;padding-block:23px}.project-row.reverse .project-info,.project-row.reverse .project-photo{grid-column:auto;grid-row:auto}.project-info{padding:26px;min-height:300px}.project-info h3{font-size:26px}.project-description{font-size:14px}.project-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;font-size:13px;margin-block:23px}.project-details>div:last-child{grid-column:1/-1}.project-photo{min-height:0;aspect-ratio:1.4}.photo-expand{opacity:1;transform:none}.contact{margin-top:56px;min-height:400px}.contact-content{padding:58px 24px}.contact h2{font-size:37px;line-height:1.12}.contact .eyebrow{font-size:12px}.contact-image{object-position:64% 50%}.contact .arrow-button{margin-top:25px}.footer{padding-block:45px 24px}.footer-main{grid-template-columns:1fr 1fr;gap:35px 20px}.footer-brand{grid-column:1/-1}.footer .brand-name{font-size:21px}.footer-brand p{margin-top:18px}.footer-contact{font-size:12px;overflow-wrap:anywhere}.footer-nav{font-size:13px}.footer-contact address{font-size:12px}.footer-bottom{display:grid;gap:13px;margin-top:32px;font-size:11px;padding-top:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important}}

.brand-logo{width:44px;height:44px;object-fit:contain}.site-header .brand-logo{filter:invert(1)}.footer .brand-logo{width:48px;height:48px}@media(max-width:600px){.brand-logo{width:36px;height:36px}}

.brand-logo-frame{display:block;position:relative;overflow:hidden;width:34px;height:36px;flex-shrink:0}.brand-logo,.footer .brand-logo{position:absolute;max-width:none;width:70px;height:70px;top:-17px;left:-18px}@media(max-width:600px){.brand-logo-frame{width:32px;height:32px}.brand-logo,.footer .brand-logo{width:64px;height:64px;top:-16px;left:-16px}}
.hero-feature{display:block}
@media(max-width:600px){.hero-feature{margin-top:4px}}

/* ── Motion system ─────────────────────────────────────────────
   Curves: strong ease-out for entrances, ease-in-out for things moving on screen,
   the iOS sheet curve for the contact sheet. --motion drops to 0 for reduced motion,
   which turns every slide into a plain fade. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--ease-sheet:cubic-bezier(.32,.72,0,1);--motion:1;--reveal-t:opacity .8s var(--ease-out) var(--d,0ms),translate 1s var(--ease-out) var(--d,0ms),scale 1s var(--ease-out) var(--d,0ms),clip-path 1.2s var(--ease-out) var(--d,0ms)}
@media(prefers-reduced-motion:reduce){:root{--motion:0}}
html{scrollbar-gutter:stable}body{overflow-x:clip}

/* Scroll reveals */
:where(.js) :where([data-reveal]){opacity:0;translate:0 calc(28px*var(--motion));transition:var(--reveal-t)}
:where(.js) :where([data-reveal=left]){translate:calc(-44px*var(--motion)) 0}
:where(.js) :where([data-reveal=right]){translate:calc(44px*var(--motion)) 0}
:where(.js) :where([data-reveal^=image]){opacity:1;translate:none;clip-path:inset(9% 9% 9% 9% round 28px)}
:where(.js) :where([data-reveal=image-left]){clip-path:inset(0 100% 0 0 round 14px)}
:where(.js) :where([data-reveal=image-right]){clip-path:inset(0 0 0 100% round 14px)}
:where(.js) :where([data-reveal^=image]) img{scale:calc(1 + .16*var(--motion));transition:scale 1.6s var(--ease-out) var(--d,0ms)}
:where(.js) :where([data-reveal].is-in){opacity:1;translate:none;clip-path:inset(0 round 0)}
:where(.js) :where([data-reveal].is-in) img{scale:1}
.js:not(.io-ready) [data-reveal]{animation:failsafe .6s 3s forwards}
@keyframes failsafe{to{opacity:1;translate:none;clip-path:inset(0 round 0)}}

/* Headings: words rise out of a soft blur */
.js [data-split] .w{display:inline-block;opacity:0;translate:0 calc(.42em*var(--motion));filter:blur(calc(8px*var(--motion)));transition:opacity .7s var(--ease-out),translate 1s var(--ease-out),filter .8s var(--ease-out);transition-delay:calc(var(--d,0ms) + var(--wi,0)*55ms)}
.js [data-split].is-in .w{opacity:1;translate:none;filter:none}
/* About statement: words fill in as you scroll */
.js [data-scrub] .sw{opacity:.14;transition:opacity .45s linear}
.js [data-scrub] .sw.lit{opacity:1}

/* Hero entrance */
.js .site-header{opacity:0;translate:0 calc(-14px*var(--motion));transition:opacity .9s var(--ease-out),translate .9s var(--ease-out),background .2s,box-shadow .2s}
.js .hero-image{opacity:0;scale:calc(1 + .08*var(--motion));transition:opacity 1.4s var(--ease-out),scale 2.4s var(--ease-out)}
.js .hero-image.is-loaded{opacity:1;scale:1}
.js .hero .eyebrow,.js .hero-description,.js .hero .arrow-button,.js .hero-feature{opacity:0;translate:0 calc(22px*var(--motion))}
.js .hero .eyebrow,.js .hero-description{transition:var(--reveal-t)}
.js .hero-feature{transition:var(--reveal-t),transform .35s var(--ease-out)}
.hero h1 .line{display:block;overflow:hidden;padding:0 .06em .12em .02em;margin:0 -.06em -.12em -.02em}
.js .hero h1 .line>span{display:block;opacity:0;translate:0 calc(110%*var(--motion));transition:translate 1.15s var(--ease-out) var(--d,0ms),opacity .7s var(--ease-out) var(--d,0ms)}
.hero .eyebrow{--d:60ms}.hero h1 .line:nth-child(1)>span{--d:140ms}.hero h1 .line:nth-child(2)>span{--d:220ms}.hero h1 .line:nth-child(3)>span{--d:300ms}.hero-description{--d:460ms}.hero .arrow-button{--d:560ms}.hero-feature{--d:700ms}
.is-ready .site-header,.is-ready .hero .eyebrow,.is-ready .hero-description,.is-ready .hero .arrow-button,.is-ready .hero-feature,.is-ready .hero h1 .line>span{opacity:1;translate:none}
.js:not(.is-ready) :is(.site-header,.hero-image,.hero .eyebrow,.hero-description,.hero .arrow-button,.hero-feature,.hero h1 .line>span){animation:failsafe .6s 2.5s forwards}
.hero-content{will-change:translate,opacity}

/* Header: glides back in once you scroll past the hero's top */
.site-header.scrolled{animation:header-drop .6s var(--ease-out)}
@keyframes header-drop{from{translate:0 -130%}}
.desktop-nav{position:relative}.desktop-nav>a{position:relative;z-index:1}
.nav-pill{position:absolute;left:0;top:5px;bottom:5px;width:0;border-radius:5px;background:#ffffff1f;opacity:0;pointer-events:none}
.nav-ready .nav-pill{opacity:1;transition:transform .5s var(--ease-in-out),width .5s var(--ease-in-out),opacity .3s}
.nav-ready .desktop-nav>a.active{background:transparent}

/* Press feedback */
.button:active{transform:scale(.97)}
.header-cta{transition:background .18s,transform .16s var(--ease-out)}

/* Services */
.service-icon{display:block;width:82px;height:82px;filter:drop-shadow(0 10px 12px #0a1e3229)}
.service-top>.icon-moment{margin:-16px 0 0 -16px}
.js .service-card{transition:var(--reveal-t),transform .45s var(--ease-out),box-shadow .45s var(--ease-out)}
.service-card:hover{transform:translateY(-5px);box-shadow:0 24px 48px #00111c66}
.service-number{transition:color .4s var(--ease-out)}.service-card:hover .service-number{color:#b5b5b5}

/* Process: a rail fills as you read down the steps */
.process-steps{position:relative}
.process-steps::before,.process-steps::after{content:'';position:absolute;left:var(--rail-left,21px);top:var(--rail-top,22px);height:var(--rail-h,0px);width:2px;border-radius:2px;background:#e4e4e4}
.process-steps::after{background:var(--navy);transform-origin:top;scale:1 var(--rail-p,0)}
.step-number{position:relative;z-index:1;transition:background .5s var(--ease-out),color .5s var(--ease-out)}
.process-steps li.is-active .step-number{background:var(--navy);color:#fff}



/* Photos: overscan so they can drift for parallax */
.about-photo,.process-photo{position:relative}
.about-photo>img,.process-photo>img{position:absolute;left:0;top:-36px;width:100%;height:calc(100% + 72px)}
.project-photo>img{top:-32px;height:calc(100% + 64px);transition:scale 1.6s var(--ease-out) var(--d,0ms),transform .8s var(--ease-out)}
.project-photo:hover>img{transform:scale(1.045)}
.photo-expand{transition:opacity .25s var(--ease-out),transform .35s var(--ease-out)}
.contact-image{top:-56px;height:calc(100% + 112px)}
.text-link{transition:border-color .25s}.text-link span{display:inline-block;transition:translate .35s var(--ease-out)}.text-link:hover span{translate:2px -2px}

/* Mobile menu */
.mobile-menu:not([hidden]){transform-origin:top center;animation:menu-in .35s var(--ease-out)}
.mobile-menu:not([hidden]) a{animation:menu-in .45s var(--ease-out) backwards}
.mobile-menu a:nth-child(2){animation-delay:30ms}.mobile-menu a:nth-child(3){animation-delay:60ms}.mobile-menu a:nth-child(4){animation-delay:90ms}.mobile-menu a:nth-child(5){animation-delay:120ms}
.mobile-menu.is-closing{opacity:0;translate:0 -6px;transition:opacity .18s var(--ease-out),translate .18s var(--ease-out)}
@keyframes menu-in{from{opacity:0;translate:0 calc(-8px*var(--motion))}}
@media(max-width:900px){.menu-lines{position:relative;height:10px;border:0}.menu-lines::before,.menu-lines::after{content:'';position:absolute;left:0;right:0;height:1.5px;border-radius:1px;background:currentColor;transition:translate .3s var(--ease-in-out),rotate .3s var(--ease-in-out)}.menu-lines::before{top:0}.menu-lines::after{bottom:0}.menu-toggle[aria-expanded=true] .menu-lines{transform:none}.menu-toggle[aria-expanded=true] .menu-lines::before{translate:0 4.25px;rotate:45deg}.menu-toggle[aria-expanded=true] .menu-lines::after{translate:0 -4.25px;rotate:-45deg}}

/* Project photograph dialog */








::view-transition-old(root),::view-transition-new(root){animation-duration:.35s}

@media(max-width:600px){
  :where(.js) :where([data-reveal=left]:not(.is-in),[data-reveal=right]:not(.is-in)){translate:0 calc(24px*var(--motion))}
  :where(.js) :where([data-reveal=image-left]:not(.is-in),[data-reveal=image-right]:not(.is-in)){clip-path:inset(0 0 100% 0 round 14px)}
}
@media(prefers-reduced-motion:reduce){
  :where(.js) :where([data-reveal^=image]){clip-path:none;opacity:0}
  :where(.js) :where([data-reveal^=image].is-in){opacity:1}
}

/* ── Contact sheet ───────────────────────────────────────────── */
.contact-sheet{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--ink);overflow:hidden}
.contact-sheet::backdrop{background:transparent}
html.sheet-lock{overflow:hidden}
.sheet-scrim{position:absolute;inset:0;background:#00131dbf;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .5s var(--ease-out)}
.sheet-panel{position:absolute;left:16px;right:16px;top:18px;bottom:0;display:flex;flex-direction:column;background:#fff;border-radius:28px 28px 0 0;box-shadow:0 -24px 80px #0000003d;outline:none;overflow:hidden;translate:0 104%;transition:translate .5s var(--ease-sheet)}
.contact-sheet.is-open .sheet-scrim{opacity:1}
.contact-sheet.is-open .sheet-panel{translate:none}
.contact-sheet.is-closing .sheet-panel{transition-duration:.4s}
.contact-sheet.is-closing .sheet-scrim{transition-duration:.4s}
.contact-sheet.is-dragging .sheet-panel,.contact-sheet.is-dragging .sheet-scrim{transition:none}
.sheet-bar{position:relative;z-index:2;flex-shrink:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:12px;padding:20px 22px 6px;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.contact-sheet.is-dragging .sheet-bar{cursor:grabbing}
.sheet-pill{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 24px;border:1px solid #efefef;border-radius:100px;background:#fff;box-shadow:0 10px 30px #00000010;color:var(--ink);font-size:16px;font-weight:500;letter-spacing:-.02em;white-space:nowrap;cursor:pointer;justify-self:start;transition:transform .16s var(--ease-out),box-shadow .25s,background .25s}
.sheet-pill:hover{background:#fafafa;box-shadow:0 12px 32px #00000018}
.sheet-pill:active{transform:scale(.97)}
.sheet-back-arrow{font-size:19px;line-height:1;transition:translate .35s var(--ease-out)}
.sheet-back:hover .sheet-back-arrow{translate:-3px 0}
.sheet-mail{justify-self:end}
.sheet-mail svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.sheet-grabber{width:46px;height:5px;margin-top:40px;border-radius:5px;background:#00000052;transition:background .2s,scale .2s var(--ease-out)}
.sheet-bar:hover .sheet-grabber{background:#0000007a}
.contact-sheet.is-dragging .sheet-grabber{background:#000000a0;scale:1.1 1}
.sheet-scroll{position:relative;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.sheet-content{position:relative;width:min(480px,100% - 40px);margin:0 auto;padding:clamp(24px,5vh,64px) 0 56px;text-align:center}
.sheet-head{position:relative}
.sheet-head h2{position:relative;z-index:1;font-size:clamp(46px,4.4vw,64px);font-weight:500;line-height:1.02;letter-spacing:-.055em;white-space:nowrap}
.sheet-head h2 em{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:600;letter-spacing:-.035em}
.sheet-head p{position:relative;z-index:1;margin-top:18px;color:#6b6b6b;font-size:clamp(18px,1.6vw,23px);letter-spacing:-.02em}
.sheet-form{display:grid;gap:22px;margin-top:clamp(32px,5vh,52px);text-align:left}
.field label{display:block;margin-bottom:10px;color:#555;font-size:15px;letter-spacing:-.01em}
.field input,.field textarea{display:block;width:100%;min-height:54px;padding:14px 16px;border:1px solid #e2e2e2;border-radius:12px;background:#fff;box-shadow:0 1px 2px #0000000a;color:var(--ink);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none;transition:border-color .2s,box-shadow .2s}
.field textarea{min-height:132px;line-height:1.5;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#767676}
.field input:hover,.field textarea:hover{border-color:#cdcdcd}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 4px #0026381a}
.field-error{display:none;margin-top:8px;color:#b3261e;font-size:13px}
.field.is-invalid .field-error{display:block;animation:menu-in .3s var(--ease-out)}
.field.is-invalid input,.field.is-invalid textarea{border-color:#d93025;box-shadow:0 0 0 4px #d930251a}
.field.shake{animation:shake .42s var(--ease-out)}
@keyframes shake{20%{translate:calc(-7px*var(--motion)) 0}40%{translate:calc(6px*var(--motion)) 0}60%{translate:calc(-4px*var(--motion)) 0}80%{translate:calc(2px*var(--motion)) 0}}
.submit-row{position:relative;margin-top:6px}
.sheet-submit{position:relative;z-index:1;display:grid;place-items:center;width:100%;min-height:54px;border:0;border-radius:12px;background:var(--navy);box-shadow:0 12px 26px #00263830;color:#fff;font-size:17px;font-weight:500;letter-spacing:-.02em;transition:background .2s,box-shadow .25s,transform .16s var(--ease-out)}
.sheet-submit:hover{background:#0b3b53;box-shadow:0 16px 32px #0026383d}
.sheet-submit:active{transform:scale(.98)}
.sheet-submit>span{grid-area:1/1;display:inline-flex;align-items:center;gap:10px;transition:opacity .25s var(--ease-out),translate .4s var(--ease-out)}
.sheet-submit svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:translate .35s var(--ease-out)}
.sheet-submit:hover .submit-label svg{translate:2px -2px}
.submit-done,.submit-sending{opacity:0;translate:0 10px}
.submit-spinner{width:16px;height:16px;border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;animation:submit-spin .7s linear infinite}
@keyframes submit-spin{to{rotate:1turn}}
.sheet-submit.is-sending{cursor:progress}
.sheet-submit.is-sending .submit-label{opacity:0;translate:0 -10px}
.sheet-submit.is-sending .submit-sending{opacity:1;translate:none}
.sheet-status.is-error{color:#b3261e}
.sheet-status a{text-decoration:underline;text-underline-offset:3px}
.field-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.nowrap{white-space:nowrap}
.field-optional{color:#8a8a8a}
.field textarea#cf-description{min-height:110px}
.sheet-submit.is-sent .submit-label{opacity:0;translate:0 -10px}
.sheet-submit.is-sent .submit-done{opacity:1;translate:none}
.sheet-note{margin-top:20px;color:#6b6b6b;font-size:14px;line-height:1.65;text-align:center}
.sheet-status{margin-top:12px;color:var(--navy);font-size:13px;text-align:center}.sheet-status:empty{display:none}
.sheet-foot{display:grid;justify-items:center;gap:14px;margin-top:40px}
.sheet-foot a{font-size:18px;letter-spacing:-.02em;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px;transition:color .2s}
.sheet-foot a:hover{color:#40758a}
.sheet-foot address{color:#6b6b6b;font-size:14px;font-style:normal}
/* Sheet content settles in just behind the panel */
.sheet-rise{opacity:0;translate:0 calc(18px*var(--motion));transition:opacity .55s var(--ease-out),translate .8s var(--ease-out)}
.contact-sheet.is-open .sheet-rise{opacity:1;translate:none;transition-delay:calc(120ms + var(--ri,0)*45ms)}
.contact-sheet.is-closing .sheet-rise{opacity:1;translate:none;transition:none}
/* Floating millwork pieces */
.floater{position:absolute;z-index:0;width:var(--size);aspect-ratio:1;pointer-events:none;opacity:0;scale:calc(1 - .4*var(--motion));rotate:calc(-16deg*var(--motion));transition:opacity .6s var(--ease-out),scale 1s cubic-bezier(.34,1.36,.64,1),rotate 1.2s var(--ease-out)}
.contact-sheet.is-open .floater{opacity:1;scale:1;rotate:0deg;transition-delay:var(--fd)}
.contact-sheet.is-closing .floater{opacity:1;scale:1;rotate:0deg;transition:none}
.floater img{display:block;width:100%;height:100%;filter:drop-shadow(0 24px 26px #10203424);animation:bob var(--dur) ease-in-out var(--delay) infinite}
@keyframes bob{0%,100%{transform:translate3d(0,0,0) rotate(var(--r0))}50%{transform:translate3d(0,-14px,0) rotate(var(--r1))}}
@keyframes spin{to{transform:rotate(360deg)}}
.f-hammer{--size:138px;--fd:240ms;--dur:6.5s;--delay:-1s;--r0:-6deg;--r1:4deg;right:calc(100% + 48px);top:58px}
.f-tape{--size:150px;--fd:320ms;--dur:7.5s;--delay:-3s;--r0:7deg;--r1:-3deg;left:calc(100% + 36px);top:22px}
.f-blade{--size:150px;--fd:400ms;left:calc(100% + 26px);top:-44px}
.f-blade img{animation:spin 36s linear infinite}
@media(max-width:1100px){.f-hammer{--size:100px;right:calc(100% + 24px)}.f-tape{--size:118px;left:calc(100% + 18px)}.f-blade{--size:118px;left:calc(100% + 14px);top:-28px}}
@media(max-width:860px){
  .sheet-panel{left:0;right:0;top:10px;border-radius:24px 24px 0 0}
  .sheet-bar{padding:14px 14px 4px}
  .sheet-grabber{position:absolute;top:7px;left:50%;margin:0;translate:-50% 0;width:40px}
  .sheet-pill{height:44px;padding:0 18px;font-size:15px}
  .sheet-mail{grid-column:3;width:44px;padding:0;justify-content:center}.sheet-mail span{display:none}
  .sheet-content{width:min(480px,100% - 40px);padding-top:104px}
  .sheet-head h2{white-space:normal;font-size:clamp(42px,11.5vw,52px)}
  .f-hammer{--size:76px;right:auto;left:-2px;top:-84px}
  .f-tape{--size:88px;left:auto;right:-4px;top:-92px}
  .f-blade{display:none}
}
@media(prefers-reduced-motion:reduce){
  .sheet-panel{translate:none;opacity:0;transition:opacity .3s}
  .contact-sheet.is-open .sheet-panel{opacity:1}
}

/* Hero text sits straight on the photo, so a soft shadow on the letters keeps it legible */
.hero .eyebrow,.hero h1,.hero-description{text-shadow:0 1px 2px rgba(0,0,0,.22),0 2px 22px rgba(0,0,0,.3)}
.site-header:not(.scrolled) .brand-name{text-shadow:0 1px 2px rgba(0,0,0,.25),0 2px 16px rgba(0,0,0,.3)}
.site-header:not(.scrolled) .brand-logo{filter:invert(1) drop-shadow(0 1px 6px rgba(0,0,0,.35))}
/* On tablets and phones the text lands on the light ceiling and marble, so it switches to dark */
@media(min-width:601px) and (max-width:900px){.hero-image{object-position:66% 62%}}
@media(max-width:900px){.hero{background:#d9d6d0;color:#111}.hero .eyebrow,.hero-description{color:#1d1d1d}.hero .eyebrow,.hero h1,.hero-description{text-shadow:0 1px 14px rgba(255,255,255,.55)}.site-header:not(.scrolled) .brand-name{color:#111;text-shadow:none}.site-header:not(.scrolled) .brand-logo{filter:none}}
@media(max-width:600px){.hero{min-height:660px}}

/* ── Footer legal links ─────────────────────────────────────── */
.footer-legal{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
.footer-legal a,.footer-legal button{display:inline-flex;align-items:center;min-height:32px;padding:0;border:0;background:none;color:inherit;font:inherit;font-size:13px;cursor:pointer;transition:color .2s}
.footer-legal a:hover,.footer-legal button:hover{color:#40758a}
.footer-legal a span{margin-left:8px}
.footer-legal a,.footer-legal button{position:relative}
.footer-legal a::after,.footer-legal button::after{content:'';position:absolute;left:0;right:0;bottom:7px;height:1px;background:currentColor;scale:0 1;transform-origin:100% 50%;transition:scale .35s var(--ease-out)}
.footer-legal a:hover::after,.footer-legal button:hover::after,.footer-legal a[aria-current=page]::after{scale:1 1;transform-origin:0 50%}
.footer-bottom{align-items:center}

/* ── Cookie consent ─────────────────────────────────────────── */
.consent{position:fixed;z-index:60;right:20px;bottom:20px;width:min(410px,calc(100% - 40px));display:grid;gap:16px;padding:22px;border:1px solid #ececec;border-radius:20px;background:#fff;box-shadow:0 24px 60px #0a1e3224,0 2px 8px #0a1e320d;color:var(--ink);transform-origin:100% 100%;opacity:0;translate:0 calc(16px*var(--motion));scale:calc(1 - .05*var(--motion));transition:opacity .3s var(--ease-out),translate .3s var(--ease-out),scale .3s var(--ease-out)}
/* Pops up from its corner, then the copy and buttons settle in just behind it */
.consent.is-visible{opacity:1;translate:none;scale:1}
.consent.is-leaving{opacity:0;translate:0 calc(12px*var(--motion));scale:calc(1 - .03*var(--motion));transition-duration:.24s}
.consent-copy,.consent-actions{opacity:0;translate:0 calc(8px*var(--motion));transition:opacity .3s var(--ease-out),translate .35s var(--ease-out)}
.consent.is-visible .consent-copy{opacity:1;translate:none;transition-delay:50ms}
.consent.is-visible .consent-actions{opacity:1;translate:none;transition-delay:100ms}
.consent.is-leaving .consent-copy,.consent.is-leaving .consent-actions{opacity:1;translate:none;transition:none}
.consent-copy h2{font-size:17px;font-weight:500;line-height:1.3;letter-spacing:-.025em}
.consent-copy p{margin-top:6px;color:var(--muted);font-size:14px;line-height:1.55}
.consent-copy a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.consent-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.consent-actions button{min-height:46px;border-radius:12px;font-size:15px;font-weight:500;letter-spacing:-.01em;transition:background .2s,border-color .2s,transform .16s var(--ease-out)}
.consent-actions button:active{transform:scale(.97)}
.consent [data-consent=decline]{border:1px solid #d6d6d6;background:#fff;color:var(--ink)}
.consent [data-consent=decline]:hover{border-color:#bdbdbd;background:#f6f6f6}
.consent [data-consent=accept]{border:1px solid var(--navy);background:var(--navy);color:#fff}
.consent [data-consent=accept]:hover{background:#0b3b53}
@media(max-width:600px){.consent{right:10px;bottom:10px;width:calc(100% - 20px);padding:18px;transform-origin:50% 100%}}

/* ── Privacy Policy / Terms of Use ──────────────────────────── */
.legal-header{grid-template-columns:1fr auto}
.legal-header .header-cta{display:inline-flex}
.legal{padding-block:168px 110px}
.legal-hero{max-width:820px;animation:rise .9s var(--ease-out) backwards}
.legal-hero h1{margin-top:14px;font-size:clamp(48px,6.4vw,88px);line-height:1;letter-spacing:-.055em}
.legal-hero h1 em,.page-404 h1 em{font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:600;letter-spacing:-.035em}
.legal-updated{margin-top:20px;color:var(--muted);font-size:15px}
.legal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:52px}
.legal-summary article{display:flex;flex-direction:column;gap:10px;padding:26px 26px 28px;border-radius:18px;background:var(--soft);animation:rise .9s var(--ease-out) backwards;transition:translate .45s var(--ease-out),box-shadow .45s var(--ease-out),background .45s}
.legal-summary article:nth-child(1){animation-delay:.12s}.legal-summary article:nth-child(2){animation-delay:.2s}.legal-summary article:nth-child(3){animation-delay:.28s}
.legal-summary article:hover{translate:0 -4px;background:#fff;box-shadow:0 18px 40px #0a1e3214,0 0 0 1px #ececec}
.legal-summary img{display:block;align-self:flex-start;margin:-6px 0 6px -6px;width:52px;height:52px;filter:drop-shadow(0 8px 10px #0a1e3224);transition:transform .55s var(--ease-out)}
.legal-summary article:hover img{transform:translateY(-3px) rotate(-7deg) scale(1.08)}
.legal-summary h2{font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.025em}
.legal-summary p{color:var(--muted);font-size:14.5px;line-height:1.55}
.legal-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:80px;align-items:start;margin-top:84px}
.legal-toc{position:sticky;top:120px;display:grid;gap:2px;padding-left:16px;border-left:1px solid #e6e6e6;font-size:14px;animation:rise .9s var(--ease-out) .36s backwards}
.toc-marker{position:absolute;left:-1px;top:0;width:2px;border-radius:2px;background:var(--navy);opacity:0;transition:transform .3s var(--ease-in-out),height .3s var(--ease-in-out),opacity .3s}
.has-marker .toc-marker{opacity:1}
.legal-toc a.is-active{color:var(--navy)}
.legal-toc p{margin-bottom:10px;color:var(--muted);font-size:13px}
.legal-toc a{padding:6px 0;color:#4a4a4a;transition:color .2s,translate .3s var(--ease-out)}
.legal-toc a:hover{color:var(--navy);translate:3px 0}
.legal-body{max-width:720px}
.legal-body section{scroll-margin-top:120px;transition:opacity .8s var(--ease-out),translate 1s var(--ease-out)}
.legal-body section.reveal-pending{opacity:0;translate:0 calc(26px*var(--motion))}
.legal-body{animation:rise .9s var(--ease-out) .36s backwards}
.reveal-item{transition:opacity .8s var(--ease-out) var(--d,0ms),translate 1s var(--ease-out) var(--d,0ms)}
.reveal-item.reveal-pending{opacity:0;translate:0 calc(28px*var(--motion))}
.legal-body section+section{margin-top:44px;padding-top:44px;border-top:1px dashed #d9d9d9}
.legal-body h2{font-size:27px;line-height:1.2;letter-spacing:-.035em}
.legal-body h3{margin-top:26px;font-size:18px;line-height:1.3;letter-spacing:-.02em}
.legal-body p,.legal-body li{color:#3f3f3f;font-size:16px;line-height:1.72}
.legal-body p{margin-top:14px}
.legal-body ul{display:grid;gap:8px;margin:14px 0 0;padding-left:20px}
.legal-body a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.legal-body strong{color:var(--ink);font-weight:500}
.legal-table{width:100%;margin-top:18px;border-collapse:collapse;font-size:14px}
.legal-table th,.legal-table td{padding:12px 14px 12px 0;border-bottom:1px solid #e6e6e6;text-align:left;vertical-align:top;line-height:1.5}
.legal-table th{color:var(--muted);font-weight:400;font-size:13px}
.legal-table code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.legal-contact{margin-top:18px;padding:22px 24px;border-radius:16px;background:var(--soft);font-style:normal;line-height:1.7}
@keyframes rise{from{opacity:0;translate:0 calc(18px*var(--motion))}}
@media(max-width:900px){
  .legal{padding-block:140px 80px}
  .legal-summary{grid-template-columns:1fr}
  .legal-layout{grid-template-columns:1fr;gap:36px;margin-top:56px}
  .legal-toc{position:relative;top:auto;padding:20px 22px 20px 24px;border-left:0;border-radius:16px;background:var(--soft)}
  .toc-marker{left:12px}
}
@media(max-width:600px){.legal-header .header-cta{min-height:40px;padding-inline:16px;font-size:13px}.legal-table{font-size:13px}.legal-table th:nth-child(2),.legal-table td:nth-child(2){display:none}}

/* ── 404 ─────────────────────────────────────────────────────── */
.page-404{min-height:100svh;display:grid;place-items:center;padding:140px 24px 80px;text-align:center}
.page-404-inner{display:flex;flex-direction:column;align-items:center;max-width:620px}
.page-404-art{width:170px;height:170px;margin-bottom:22px;animation:rise .9s var(--ease-out) backwards}
.page-404-art img{width:100%;height:100%;filter:drop-shadow(0 26px 28px #10203424);animation:bob 7s ease-in-out infinite;--r0:6deg;--r1:-4deg}
.page-404 .eyebrow{animation:rise .9s var(--ease-out) .08s backwards}
.page-404 h1{margin-top:14px;font-size:clamp(44px,6vw,76px);line-height:1.02;letter-spacing:-.055em;animation:rise .9s var(--ease-out) .14s backwards}
.page-404-lede{margin-top:20px;color:var(--muted);font-size:18px;line-height:1.55;animation:rise .9s var(--ease-out) .2s backwards}
.page-404-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:34px;animation:rise .9s var(--ease-out) .26s backwards}
.page-404-actions .button{border:1px solid #dcdcdc}
.page-404-actions .button.primary{border-color:var(--navy);background:var(--navy);color:#fff}
.page-404-actions .button.primary:hover{background:#0b3b53}
.page-404-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;margin-top:30px;color:var(--muted);font-size:14px;animation:rise .9s var(--ease-out) .32s backwards}
.page-404-links a{text-decoration:underline;text-underline-offset:4px}
.page-404-links a:hover{color:var(--navy)}

/* ── Service icons ── */
.icon-moment{position:relative;display:block}
/* Each service icon's own move: when its card arrives, and again on hover */
.icon-moment[data-moment=spin].is-playing{animation:moment-spin 1.2s var(--ease-out)}
.icon-moment[data-moment=lift].is-playing{animation:moment-lift .9s var(--ease-in-out)}
.icon-moment[data-moment=sway].is-playing{animation:moment-sway 1s var(--ease-in-out);transform-origin:50% 90%}
.icon-moment[data-moment=hop].is-playing{animation:moment-hop .9s var(--ease-out)}
@keyframes moment-spin{to{transform:rotate(360deg)}}
@keyframes moment-lift{45%{transform:translateY(-8px) scale(1.05)}}
@keyframes moment-sway{30%{transform:rotate(-6deg)}65%{transform:rotate(3deg)}}
@keyframes moment-hop{35%{transform:translateY(-11px) rotate(-6deg)}65%{transform:translateY(0) rotate(2deg)}82%{transform:translateY(-2px)}}

/* ── "Email ready": the check draws itself and the floating pieces hop ── */
.submit-done path{stroke-dasharray:22;stroke-dashoffset:22}
.sheet-submit.is-sent .submit-done path{animation:draw-check .5s var(--ease-out) .12s forwards}
@keyframes draw-check{to{stroke-dashoffset:0}}
.f-tape{--hd:70ms}.f-blade{--hd:140ms}
.contact-sheet.is-celebrating .floater img{animation:bob var(--dur) ease-in-out var(--delay) infinite,hop .8s var(--ease-out) var(--hd,0ms)}
.contact-sheet.is-celebrating .f-blade img{animation:spin 36s linear infinite,hop .8s var(--ease-out) var(--hd,0ms)}
@keyframes hop{35%{translate:0 calc(-18px*var(--motion))}62%{translate:0 calc(3px*var(--motion))}82%{translate:0 calc(-2px*var(--motion))}}

/* ── Smooth page changes between the home page and Privacy / Terms ── */
@view-transition{navigation:auto}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}}


/* ── Crew strip: pixel crews carry contractors' cabinets along the top edge of the quote banner.
   It runs the full width of the window; past the banner's edges the canvas draws its own kerb. ── */
.crew-strip{position:relative;height:342px;margin:8px 0 0;overflow:hidden}
.crew-strip canvas{position:absolute;left:0;bottom:0;display:block;image-rendering:pixelated;image-rendering:crisp-edges;touch-action:manipulation}
.crew-strip~.contact{margin-top:0}
.gc-list{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;list-style:none}
.gc-list:focus-within{position:static;width:auto;height:auto;margin:0 calc(16px + var(--radius)) 16px;overflow:visible;clip-path:none;white-space:normal;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px}
.gc-list a{color:var(--muted)}.gc-list a:hover{color:var(--ink)}
@media(max-width:1559px){.crew-strip{height:285px}}@media(max-width:1249px){.crew-strip{height:228px}}
@media(max-width:600px){.crew-strip{margin-top:4px}}
@media print{.crew-strip{display:none}}

/* ── Image gallery: every photo, in rows of mixed sizes. Each tile is a button that opens the viewer (script.js). ── */
.gallery{background:#f7f7f7;padding-block:92px 100px}
.gallery-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:44px}
.gallery-pill{display:inline-block;padding:6px 13px;border-radius:100px;background:#eaeaea;font-size:13px;line-height:1.3;letter-spacing:-.01em}
.gallery-head h2{margin-top:18px;font-size:clamp(44px,5vw,68px);line-height:1.02;letter-spacing:-.05em}
.gallery-intro{max-width:300px;padding-bottom:8px;font-size:15px;line-height:1.5;letter-spacing:-.012em;color:#515151;text-align:right;text-wrap:balance}
.gallery-grid,.gallery-row,.gallery-stack{display:grid;gap:12px}
.gallery-row{grid-auto-rows:minmax(0,1fr)}
.gallery-row.is-main{grid-template-columns:2fr 1fr;aspect-ratio:1280/552}
.gallery-stack{grid-template-rows:minmax(0,1fr) minmax(0,1fr);min-height:0}
.gallery-row.is-wide-left{grid-template-columns:2fr 1fr;aspect-ratio:1280/400}
.gallery-row.is-wide-right{grid-template-columns:1fr 2fr;aspect-ratio:1280/460}
.gallery-row.is-three{grid-template-columns:repeat(3,1fr);aspect-ratio:1280/310}
.gallery-row.is-two{grid-template-columns:1fr 1fr;aspect-ratio:1280/420}
.gallery-row.is-main-right{grid-template-columns:1fr 2fr;aspect-ratio:1280/552}
.gallery-row.is-four{grid-template-columns:repeat(4,1fr);aspect-ratio:1280/430}
.gallery-tile{position:relative;display:block;min-width:0;min-height:0;width:100%;height:100%;padding:0;border:0;border-radius:16px;overflow:hidden;background:#e6e6e6;cursor:zoom-in}
.gallery-tile img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);transition:scale 1.6s var(--ease-out) var(--d,0ms),transform .7s var(--ease-out)}
.gallery-tile:focus-visible{outline:0}
.gallery-tile:focus-visible::before{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;box-shadow:inset 0 0 0 3px #c47437,inset 0 0 0 5px #fff;pointer-events:none}
.gallery-zoom{position:absolute;right:12px;bottom:12px;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fffffff0;color:var(--ink);box-shadow:0 2px 10px #0000001f;opacity:0;translate:0 4px;transition:opacity .18s var(--ease-out),translate .18s var(--ease-out)}
.gallery-zoom svg{width:17px;height:17px}
.gallery-tile:focus-visible .gallery-zoom{opacity:1;translate:none}
.gallery-tile.is-quiet:focus-visible::before{display:none}.gallery-tile.is-quiet:focus-visible .gallery-zoom{opacity:0}
.gallery-tile:active img{transform:scale(.985);transition-duration:1.6s,.12s}
@media(hover:hover){.gallery-tile:hover img{transform:scale(1.035)}.gallery-tile:hover .gallery-zoom{opacity:1;translate:none}.gallery-tile:hover:active img{transform:scale(1.01)}}
@media(hover:none){.gallery-zoom{opacity:1;translate:none;width:34px;height:34px;right:9px;bottom:9px}}
@media(max-width:900px){.gallery{padding-block:68px 76px}.gallery-head{margin-bottom:34px}.gallery-grid,.gallery-row,.gallery-stack{gap:10px}.gallery-tile{border-radius:14px}}
@media(max-width:640px){.gallery{padding-block:52px 60px}.gallery-head{display:block;margin-bottom:26px}.gallery-head h2{margin-top:14px;font-size:40px}.gallery-intro{max-width:none;margin-top:14px;padding:0;text-align:left}
  .gallery-grid{grid-template-columns:1fr 1fr;gap:8px}.gallery-row,.gallery-stack{display:contents}
  .gallery-tile{aspect-ratio:1;border-radius:12px}.gallery-tile.is-lead{grid-column:1/-1;aspect-ratio:3/2}}
@media(prefers-reduced-motion:reduce){.gallery-tile img{transition:none}.gallery-tile:hover img,.gallery-tile:active img{transform:none}}

/* ── The wall: on a wide screen with a mouse the same tiles are scattered over a tall stage (gallery-wall.js).
   It scrolls past with the page like any other section: nothing is held and nothing opens until a visitor asks.
   The scroll moves it in three ways. Tiles sit at three depths and the ones further back slide by more slowly.
   Each tile fades in as it comes up from the bottom of the window, grows a little all the way up as if coming
   nearer (the first main photo a lot), and fades out before it reaches the header. The heading shrinks away.
   A tile's pass runs from its centre being 8vh below the window to 8vh above it. Where the browser can tie
   animation to the scroll itself (is-timed) keyframes do this; elsewhere the same sums run off --wall-p, the
   screens scrolled, which the script sets on each frame. Pointing at a tile enlarges its photo.
   Everywhere else the grid above stays. ── */
.gallery.is-wall{padding-block:0}
.gallery.is-wall .gallery-stage{position:relative;--wall-h:680vh;height:var(--wall-h);overflow:hidden;overflow:clip;background:#f7f7f7}
.gallery.is-wall .section-shell{width:auto;max-width:none;margin:0}
.gallery.is-wall :is(.gallery-grid,.gallery-row,.gallery-stack){display:contents}
.gallery.is-wall .gallery-head{position:absolute;z-index:4;left:50%;top:47vh;display:block;width:min(560px,80%);margin:0;text-align:center;translate:-50% -50%;opacity:clamp(0,1 - (var(--wall-p,0) - .1)/.35,1);pointer-events:none}
.gallery.is-wall .gallery-intro{max-width:320px;margin:18px auto 0;padding:0;text-align:center}
.gallery.is-wall .gallery-tile{--pass:clamp(0,(var(--wall-p,0)*100*var(--ws,1) - var(--wy) + 108)/116,1);position:absolute;z-index:var(--wz,1);left:calc(var(--wx)*1%);top:calc(var(--wy)*1vh + (100 - var(--wy))*.4px);width:max(calc(var(--ww)*1%),var(--wmin,0px));height:auto;aspect-ratio:var(--war,4/3);overflow:visible;border-radius:0;background:none;clip-path:none;opacity:var(--wo,1);translate:-50% calc(-50% + var(--wall-p,0)*100vh*(1 - var(--ws,1)));scale:calc(var(--s0,1) + (var(--s1,1) - var(--s0,1))*var(--pass));will-change:transform;transition:opacity .35s var(--ease-out),z-index 0s .42s}
.gallery.is-wall .gallery-tile[data-depth=near]{--wz:3;--ws:1;--s0:.9;--s1:1.1;--wzoom:1.55;--wmin:220px}
.gallery.is-wall .gallery-tile[data-depth=mid]{--wz:2;--ws:.78;--s0:.95;--s1:1.05;--wzoom:1.9;--wmin:150px}
.gallery.is-wall .gallery-tile[data-depth=far]{--wz:1;--ws:.55;--s0:.98;--s1:1.02;--wzoom:2.4;--wmin:104px;--wo:.5}
.gallery.is-wall .gallery-tile[data-main]{--s0:.8;--s1:1.3;--wzoom:1.35}
.gallery.is-wall .gallery-tile img{border-radius:14px;opacity:clamp(0,min(var(--pass)/.18,(1 - var(--pass))/.14),1);scale:1;transform:none;transform-origin:var(--ox,50%) var(--oy,50%);box-shadow:0 0 0 #0000;transition:scale .42s var(--ease-out),box-shadow .42s var(--ease-out),border-radius .42s var(--ease-out)}
.gallery.is-wall.is-timed .gallery-stage{view-timeline:--wall block;view-timeline-inset:0px}
.gallery.is-wall.is-timed .gallery-tile{--pass-a:calc(100vh + (var(--wy) - 108)*1vh/var(--ws,1));--pass-b:calc(100vh + (var(--wy) + 8)*1vh/var(--ws,1));animation:wall-drift linear both,wall-pass linear both;animation-timeline:--wall,--wall;animation-range:normal,cover var(--pass-a) cover var(--pass-b)}
.gallery.is-wall.is-timed .gallery-tile[data-main]{animation-name:wall-drift,wall-pass-main}
.gallery.is-wall.is-timed .gallery-tile img{animation:wall-fade linear both;animation-timeline:--wall;animation-range:cover var(--pass-a) cover var(--pass-b)}
.gallery.is-wall.is-timed .gallery-head{animation:wall-head linear both;animation-timeline:--wall;animation-range:cover 110vh cover 145vh}
@keyframes wall-drift{from{translate:-50% calc(-50% - 100vh*(1 - var(--ws,1)))}to{translate:-50% calc(-50% + var(--wall-h)*(1 - var(--ws,1)))}}
@keyframes wall-pass{from{scale:var(--s0,1)}to{scale:var(--s1,1)}}
@keyframes wall-pass-main{0%{scale:.8}55%{scale:1.18}100%{scale:1.3}}
@keyframes wall-fade{0%{opacity:0}18%,86%{opacity:1}100%{opacity:0}}
@keyframes wall-head{to{opacity:0;scale:.94;filter:blur(6px)}}
.gallery.is-wall .gallery-zoom,.gallery.is-wall .gallery-tile:focus-visible::before{display:none}
.gallery.is-wall:not(.is-scrolling) .gallery-tile:is(:hover,:focus-visible:not(.is-quiet)){z-index:9;opacity:1;transition:opacity .2s var(--ease-out),z-index 0s}
.gallery.is-wall:not(.is-scrolling) .gallery-tile:is(:hover,:focus-visible:not(.is-quiet)) img{scale:var(--wzoom);transform:none;border-radius:calc(14px/var(--wzoom));box-shadow:0 calc(22px/var(--wzoom)) calc(64px/var(--wzoom)) #00000030;transition:scale .55s var(--ease-out) .05s,box-shadow .55s var(--ease-out) .05s,border-radius .55s var(--ease-out) .05s}
.gallery.is-wall:not(.is-scrolling) .gallery-tile:is(:hover,:focus-visible:not(.is-quiet)):active img{scale:calc(var(--wzoom)*.985);transform:none;transition-duration:.12s}
.gallery.is-wall .gallery-tile:focus-visible:not(.is-quiet) img{outline:calc(3px/var(--wzoom)) solid #c47437;outline-offset:calc(3px/var(--wzoom))}
.gallery.is-wall:not(.is-scrolling) .gallery-stage:has(.gallery-tile:is(:hover,:focus-visible:not(.is-quiet))) .gallery-tile:not(:hover,:focus-visible){opacity:calc(var(--wo,1)*.4)}

/* The about and process photos open the viewer too: a clear button over each, with the same magnifier as the gallery tiles */
.photo-open{display:none}
.js .photo-open{position:absolute;inset:0;z-index:1;display:block;width:100%;padding:0;border:0;border-radius:inherit;background:none;cursor:zoom-in}
.photo-open:focus-visible{outline:0;box-shadow:inset 0 0 0 3px #c47437,inset 0 0 0 5px #fff}
.photo-open:is(:hover,:focus-visible) .gallery-zoom{opacity:1;translate:none}
.photo-open.is-quiet:focus-visible{box-shadow:none}.photo-open.is-quiet:focus-visible .gallery-zoom{opacity:0}
/* In the banner the button sits under the heading: the words let clicks through to the photo, the Request a Quote button does not */
.js .hero-open{z-index:0}
.js .hero-content{z-index:1;pointer-events:none}
.js .hero-content a{pointer-events:auto}
.hero-open .gallery-zoom{right:24px;bottom:24px}

/* The way to every photo (gallery.html), under the homepage's own selection */
.gallery-more{display:flex;justify-content:center;padding-top:40px}
.gallery.is-wall .gallery-more{padding:20px 0 84px}
.see-all{display:inline-flex;align-items:center;gap:14px;height:56px;padding:0 8px 0 24px;border-radius:100px;background:var(--navy);color:#fff;font-size:16px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;transition:background .2s,box-shadow .25s var(--ease-out),scale .12s var(--ease-out)}
.see-all i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--navy);font-style:normal;transition:translate .25s var(--ease-out)}
.see-all:hover{background:#0b3b53;box-shadow:0 14px 34px #00263829}
.see-all:hover i{translate:3px 0}
.see-all:active{scale:.98}

/* The viewer: one photo at a time, the card sized to the photo so nothing is cropped or boxed in */
.photo-dialog{border:0;padding:0;background:#fff;border-radius:16px;overflow:hidden;width:min(1160px,calc(100vw - 40px),calc((100svh - 96px)*var(--ar,1.333)));max-height:none;box-shadow:0 24px 80px #0004}
.photo-dialog::backdrop{background:#001924dc;backdrop-filter:blur(6px)}
.photo-dialog{opacity:0;scale:calc(1 - .04*var(--motion));translate:0 calc(12px*var(--motion));transition:opacity .25s var(--ease-out),scale .32s var(--ease-out),translate .32s var(--ease-out)}
.photo-dialog.is-open{opacity:1;scale:1;translate:none}
.photo-dialog::backdrop{opacity:0;transition:opacity .35s var(--ease-out)}
.photo-dialog.is-open::backdrop{opacity:1}
.photo-dialog.vt,.photo-dialog.vt::backdrop{transition:none}
.dialog-stage{position:relative;touch-action:none}
.dialog-image{display:block;width:100%;height:auto;aspect-ratio:var(--ar,1.333);object-fit:cover;background:#ececec center/cover no-repeat;user-select:none;-webkit-user-select:none;cursor:zoom-in;transition:translate .3s var(--ease-out),scale .3s var(--ease-out)}
.dialog-image.is-held{transition:none}
.photo-dialog.is-zoomed .dialog-image{cursor:grab}.dialog-stage.is-dragging .dialog-image{cursor:grabbing}
/* Zoom out and zoom in, side by side at the foot of the photo */
.dialog-zoom{position:absolute;bottom:14px;left:50%;z-index:2;display:flex;gap:2px;padding:4px;translate:-50% 0;border-radius:999px;background:#fffffff0;box-shadow:0 2px 12px #00000026}
.dialog-zoom button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:none;transition:background .15s,scale .12s var(--ease-out),opacity .2s}
@media(hover:hover){.dialog-zoom button:hover{background:#00000010}}.dialog-zoom button:active{scale:.92}   /* a tap leaves :hover stuck on a phone */
.dialog-zoom button[aria-disabled=true]{opacity:.32;background:none;scale:1;cursor:default}
.dialog-zoom svg{width:20px;height:20px}
.dialog-close{position:absolute;top:14px;right:14px;z-index:2;width:44px;height:44px;background:#fffffff0;border:0;border-radius:50%;box-shadow:0 2px 12px #00000026;font-size:28px;line-height:1;transition:background .15s,scale .12s var(--ease-out)}
.dialog-step{position:absolute;top:50%;z-index:1;display:grid;place-items:center;width:44px;height:44px;margin-top:-22px;border:0;border-radius:50%;background:#fffffff0;box-shadow:0 2px 12px #00000026;transition:background .15s,scale .12s var(--ease-out)}
.dialog-step.is-prev{left:14px}.dialog-step.is-next{right:14px}
.dialog-step svg{width:18px;height:18px}
.dialog-close:hover,.dialog-step:hover{background:#fff}.dialog-close:active,.dialog-step:active{scale:.94}
@media(max-width:600px){.photo-dialog{width:min(calc(100vw - 20px),calc((100svh - 110px)*var(--ar,1.333)));border-radius:12px}  .dialog-close{top:8px;right:8px;width:40px;height:40px}.dialog-step{width:40px;height:40px;margin-top:-20px}.dialog-step.is-prev{left:8px}.dialog-step.is-next{right:8px}.dialog-zoom{bottom:8px}}
/* Opening and closing, the tile's photo grows into the viewer and back; stepping, one photo slides out as the next slides in */
/* Opening: the photo grows out of the picture that was clicked. The card's white and shadow stay off while it is in
   flight (.vt), so nothing shows ahead of it; the flying photo carries the card's corners and shadow instead, and the
   buttons come in as it lands. The clicked picture hands over to the full photo in the first moment, while both are
   small. Closing runs 20% quicker, keeps the full photo sharp all the way down and hands back just before it lands. */
::view-transition-group(gallery-photo){animation-duration:.36s;animation-timing-function:var(--ease-sheet);border-radius:16px;overflow:clip;box-shadow:0 24px 80px #0004}
.photo-closing::view-transition-group(gallery-photo){animation-duration:.29s}
::view-transition-old(gallery-photo),::view-transition-new(gallery-photo){height:100%;object-fit:cover;animation:none;mix-blend-mode:normal}
::view-transition-new(gallery-photo){animation:viewer-hand-over .14s linear both}
.photo-closing::view-transition-new(gallery-photo){animation:viewer-hand-over .1s linear .19s both}
.photo-closing::view-transition-old(root),.photo-closing::view-transition-new(root){animation-duration:.25s}
@keyframes viewer-hand-over{from{opacity:0}}
.photo-dialog.vt{background:none;box-shadow:none}
.photo-dialog[open] :is(.dialog-close,.dialog-step,.dialog-zoom){animation:viewer-buttons .24s var(--ease-out) .2s backwards}
@keyframes viewer-buttons{from{opacity:0;scale:.9}}
.photo-dialog.is-closing :is(.dialog-close,.dialog-step,.dialog-zoom){visibility:hidden}   /* gone before the photo starts back, so they never hang in mid-air */
::view-transition-group(gallery-step){animation-duration:.32s;animation-timing-function:var(--ease-out)}
::view-transition-old(gallery-step),::view-transition-new(gallery-step){height:100%;object-fit:cover}
::view-transition-old(gallery-step){animation:gallery-out .2s var(--ease-out) both}
::view-transition-new(gallery-step){animation:gallery-in .32s var(--ease-out) both}
@keyframes gallery-out{to{opacity:0;translate:calc(var(--gallery-dir,1)*-40px) 0}}
@keyframes gallery-in{from{opacity:0;translate:calc(var(--gallery-dir,1)*40px) 0}}

/* ── The heading over the crew strip, which follows it as the next element ── */
.crew-head{padding-top:92px;margin-bottom:0}.crew-head h2{margin-top:0}
.crew-head p{max-width:500px;margin:16px auto 0;font-size:17px;line-height:1.55;letter-spacing:-.018em;color:#515151;text-wrap:balance}
@media(max-width:900px){.crew-head{padding-top:68px}.crew-head p{font-size:15px}}
@media(max-width:600px){.crew-head{padding-top:48px}}
@media print{.crew-head{display:none}}
/* ── The shop: three pixel scenes (shop-floor.js), one for each machine, each beside a short account of what the
   machine is for. On a wide screen the list and one stage are held in place while the page scrolls, and the
   machine on the stage changes with the step (shop-tour.js); if the window is tall enough the heading is held
   with them. On a narrow or short one each machine's text is followed by its scene down the page, which is also
   what shows without scripts. ── */
.shop{padding-bottom:112px;--shop-cols:minmax(0,.5fr) minmax(0,1fr);--shop-gap:40px;--shop-wall:#f6f3ed}
.shop-intro h2{font-size:40px;line-height:1.08;margin-top:14px}
.shop-tour{margin-top:56px}
.shop-step{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;margin-top:64px}
.shop-step:first-child{margin-top:0}
.shop-step-number{position:relative;isolation:isolate;grid-row:1/3;align-self:start;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f1f1f1;font-size:16px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums}
.shop-step h3{grid-column:2;font-size:26px;line-height:1.15;letter-spacing:-.04em}
.shop-step-role{grid-column:2;margin-top:3px;font-size:14px;line-height:1.45;letter-spacing:-.01em;color:var(--muted)}
.shop-step-body{grid-column:2}
.shop-step-body p{margin-top:14px;max-width:600px;font-size:15px;line-height:1.6;color:#515151;text-wrap:pretty}
.shop-cell{position:relative;overflow:hidden;margin-top:26px;border-radius:16px;background:linear-gradient(#f1ede6,var(--shop-wall) 46%)}
.shop-cell::after{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit;box-shadow:inset 0 0 0 1px #0000000d;pointer-events:none}
.shop-cell canvas{position:absolute;left:0;bottom:0;display:block;image-rendering:pixelated;image-rendering:crisp-edges}
html:not(.js) .shop-cell{display:none}
@media(min-width:1440px){.shop{--shop-cols:minmax(0,1fr) 912px}}      /* a scene is up to 152 units wide at 6px a unit */
@media(min-width:1440px){.shop-intro h2{font-size:44px}}
@media(min-width:960px) and (min-height:640px){
  .shop.is-live .shop-track::after{content:'';display:block;height:calc(3*var(--shop-len,64vh))}      /* the stretch the page scrolls while the block is held */
  .shop.is-live .shop-hold{display:contents}
  .shop.is-live .shop-tour{position:sticky;top:max(106px,calc(50vh - var(--shop-block,432px)/2 + 38px));display:grid;grid-template-columns:var(--shop-cols);grid-template-rows:auto auto auto 1fr;column-gap:var(--shop-gap);min-height:var(--shop-block,432px)}
  .shop.is-live .shop-step{grid-column:1;margin:0;padding-block:18px;border-top:1px dashed #d4d4d4}
  .shop.is-live .shop-step:first-child{padding-top:0;border-top:0}
  .shop.is-live .shop-step h3{color:#6b6b6b;transition:color .2s var(--ease-out)}
  .shop.is-live .shop-step.is-on h3{color:var(--ink)}
  .shop.is-live .shop-step-number{transition:background-color .3s var(--ease-out),color .3s var(--ease-out)}
  .shop.is-live .shop-step.is-done .shop-step-number{background:var(--navy);color:#fff}
  /* The step on stage: a ring round its number fills as the page scrolls through it */
  .shop.is-live .shop-step.is-on .shop-step-number{background:conic-gradient(var(--navy) calc(var(--p,0)*1turn),#dedede 0)}
  .shop.is-live .shop-step.is-on .shop-step-number::before{content:'';position:absolute;z-index:-1;inset:2.5px;border-radius:50%;background:#fff}
  .shop.is-live .shop-step-body{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .32s var(--ease-out),opacity .16s var(--ease-out)}
  .shop.is-live .shop-step-body>div{min-height:0;overflow:hidden}
  .shop.is-live .shop-step.is-on .shop-step-body{grid-template-rows:1fr;opacity:1;transition:grid-template-rows .32s var(--ease-out),opacity .3s var(--ease-out) .06s}
  .shop.is-live .shop-cell{grid-column:2;grid-row:1/-1;align-self:start;margin:0;opacity:0;visibility:hidden;transition:opacity 0s .35s,visibility 0s .35s}
  .shop.is-live .shop-cell.is-on{z-index:1;opacity:1;visibility:visible;transition:opacity .35s var(--ease-out)}
}
@media(min-width:960px) and (min-height:800px){
  .shop.is-live .shop-hold{display:block;position:sticky;top:max(106px,calc(50vh - var(--shop-hold,620px)/2 + 38px))}
  .shop.is-live .shop-tour{position:static}
}
@media(min-width:960px) and (min-height:640px){.shop.is-live .shop-step-body{grid-column:1/-1}}
@media(min-width:960px) and (max-width:1439px) and (min-height:640px){.shop.is-live .shop-step h3{font-size:23px}.shop.is-live .shop-cell{align-self:center}}
@media(max-width:900px){.shop{padding-bottom:72px}.shop-intro h2{font-size:38px}.shop-tour{margin-top:44px}.shop-step{margin-top:52px}.shop-cell{margin-top:22px}}
@media(max-width:600px){.shop{padding-bottom:46px}.shop-intro h2{font-size:35px;line-height:1.12;margin-top:12px}.shop-tour{margin-top:36px}
  .shop-step{grid-template-columns:38px minmax(0,1fr);column-gap:13px;margin-top:44px}.shop-step-number{width:38px;height:38px;font-size:15px}.shop-step h3{font-size:23px}.shop-step-body{grid-column:1/-1}.shop-step-body p{font-size:14px}
  .shop-cell{margin:18px calc(10px - var(--gutter)) 0}}
@media(prefers-reduced-motion:reduce){.shop.is-live .shop-step h3,.shop.is-live .shop-step-number,.shop.is-live .shop-step-body,.shop.is-live .shop-step.is-on .shop-step-body,.shop.is-live .shop-cell,.shop.is-live .shop-cell.is-on{transition:none}}
@media print{.shop-cell{display:none}}

/* A phone held sideways: wide but short. The bar along the top gets slimmer and the banner shorter, so a sideways
   phone shows more of the page than the bar. */
@media(max-height:520px) and (orientation:landscape){
  html{scroll-padding-top:72px}
  .site-header{height:62px}
  .site-header.scrolled{top:6px;height:56px}
  .brand-name{font-size:16px}
  .menu-toggle{min-height:40px;padding:7px 14px;font-size:13px}
  .mobile-menu:not([hidden]){max-height:calc(100svh - 80px);overflow-y:auto;padding:12px 20px}
  .mobile-menu a{padding:9px 12px;font-size:16px}
  /* The banner fills the screen with white words as on a computer: the title on the left, the line and the button
     on the right, so nothing has to stack up the short screen. An even shade over the photo keeps the words clear. */
  .hero{min-height:calc(100svh - 20px);height:auto;max-height:none;display:flex;flex-direction:column;justify-content:flex-end;background:#5f5a54;color:#fff}
  .hero-image{object-position:center 60%}
  .hero-wash{background:#0b1a2266}
  .hero-content{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:40px;align-items:end;padding:96px 32px 30px}
  .hero .eyebrow{grid-column:1/-1;margin-bottom:12px;color:#ffffffd9}
  .hero h1{grid-column:1;grid-row:2/4;font-size:40px;max-width:none}
  .hero-description{grid-column:2;grid-row:2;margin:0;max-width:380px;font-size:14px;color:#ffffffeb}
  .hero .arrow-button{grid-column:2;grid-row:3;justify-self:start;margin-top:16px}
  .hero .eyebrow,.hero h1,.hero-description{text-shadow:0 1px 16px #00000066}
  .hero-desktop-break,.hero .desktop-break{display:none}
  .site-header:not(.scrolled) .brand-name{color:#fff;text-shadow:0 1px 8px #00000055}
  .site-header:not(.scrolled) .brand-logo{filter:invert(1)}
  /* the quote form: the heading moves up and the floating tools beside it stand aside, so the fields start on screen */
  .sheet-content{padding-top:24px}
  .sheet-head h2{font-size:40px}
  .sheet-head p{margin-top:10px;font-size:17px}
  .f-hammer,.f-tape{display:none}
}
