/* Multi-page site and portfolio */
.site-header{position:sticky;top:0;z-index:20}
.header-inner{gap:clamp(1rem,2vw,2.2rem)}
.site-nav{display:flex;gap:clamp(.8rem,1.8vw,1.6rem);margin-left:auto;align-items:center}
.site-nav a{color:#c6d2e0;font-weight:600;font-size:.93rem;white-space:nowrap;border-bottom:2px solid transparent;padding:.4rem 0}
.site-nav a:hover,.site-nav a[aria-current]{color:#fff;border-color:#8ea5cd}
.languages{margin-left:0;flex:none}
.section-link{margin:1rem 0 1.35rem;display:flex;justify-content:flex-end}
.section-link .button{min-height:42px}
.hero .hero-actions .button.primary{background:#3d5f9b}
.hero .hero-actions .button.primary:hover{background:#5075b3}
.services,.examples{padding-block:clamp(3.3rem,5vw,5.5rem)}
.examples-grid article,.examples-grid img{min-height:260px;height:260px}
.bottom-cta{background:#314f85;color:#fff;padding:3rem 0}
.bottom-cta>.shell{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.bottom-cta .eyebrow{margin-bottom:.65rem;color:#b7c9e8}
.bottom-cta h2{font-size:clamp(2rem,3vw,3rem);margin:0 0 .5rem}
.bottom-cta p{font-size:1.05rem;max-width:600px}
.bottom-cta .button{background:#eef4fb;color:#172b49;flex:none}
.bottom-cta .button:hover{background:#d8e7f7}
.new-footer{display:grid;grid-template-columns:2fr 1fr 1fr;gap:clamp(2rem,5vw,5rem)}
.new-footer>div{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem}
.new-footer img{height:62px;width:auto;max-width:240px;margin-bottom:1rem}
.new-footer p{font-size:.86rem;line-height:1.5;margin:0;color:#acbdcf}
.new-footer strong{font-size:.9rem;color:#fff;margin-bottom:1rem}
.new-footer a{font-size:.95rem;color:#c5d2e1}
.new-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.footer-bottom{margin-top:2.5rem}
.page-hero{background:linear-gradient(90deg,rgba(8,23,46,.98),rgba(16,40,74,.87)),url('/assets/hero-machining.png') center 44%/cover;color:#fff;padding:clamp(3.7rem,6vw,6.2rem) 0}
.page-hero .eyebrow{color:#9bb4da;margin-bottom:1rem}
.page-hero h1{font-size:clamp(2.7rem,5vw,4.8rem);max-width:850px;margin:0 0 1.1rem}
.page-hero p:last-child{font-size:clamp(1.05rem,1.5vw,1.25rem);color:#d1deed;max-width:760px;line-height:1.5}
.service-detail{background:#e9eff5;color:#17263b;padding:clamp(3.2rem,5vw,5rem) 0}
.service-detail:nth-child(even){background:#10223c;color:#f6f9fc}
.service-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.service-detail:nth-child(even) .service-detail-grid>img{order:2}
.service-detail-grid>img{width:100%;height:clamp(310px,34vw,490px);object-fit:cover;box-shadow:0 18px 45px rgba(7,24,48,.18)}
.service-detail .section-kicker{color:#4d6d9f;margin-bottom:1rem}
.service-detail:nth-child(even) .section-kicker{color:#9eb8dc}
.service-detail h2{font-size:clamp(2.4rem,3.5vw,4rem);margin-bottom:1.25rem}
.service-detail p{font-size:1.1rem;color:#40576d;line-height:1.65;max-width:600px}
.service-detail:nth-child(even) p{color:#c5d1df}
.service-detail ul{display:grid;gap:.65rem;margin:2rem 0;padding:0;list-style:none}
.service-detail li{padding-left:1.4rem;position:relative;font-weight:600}
.service-detail li:before{content:'';position:absolute;left:0;top:.7rem;width:.5rem;height:2px;background:#537bb5}
.service-detail:nth-child(even) li:before{background:#9bb5df}
.service-detail .button{margin-top:.3rem}
.work-page{background:#e9eff5;color:#17263b;padding:clamp(2rem,4vw,4rem) 0 clamp(4rem,7vw,7rem)}
.filter-bar{display:flex;flex-wrap:wrap;gap:.45rem;border-bottom:1px solid #c9d5e1;padding-bottom:1.4rem;margin-bottom:1.6rem}
.filter-bar button{border:1px solid #b3c4d6;background:#f6f9fc;color:#29415e;border-radius:2px;padding:.55rem 1.05rem;font:700 .92rem 'Inter Tight',Arial,sans-serif;cursor:pointer}
.filter-bar button:hover{border-color:#3d5f9b}
.filter-bar button[aria-pressed="true"]{background:#314f85;color:#fff;border-color:#314f85}
.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}
.portfolio-card{border:0;padding:0;background:#10223c;color:#fff;text-align:left;position:relative;cursor:pointer;overflow:hidden;min-height:250px}
.portfolio-card[hidden]{display:none}
.portfolio-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,18,39,.84),transparent 55%);pointer-events:none}
.portfolio-card img{width:100%;height:270px;object-fit:cover;transition:transform .25s,filter .25s;filter:saturate(.85)}
.portfolio-card:hover img{transform:scale(1.035);filter:saturate(1)}
.portfolio-card span{position:absolute;z-index:1;left:1rem;right:1rem;bottom:1rem;display:grid;gap:.25rem}
.portfolio-card small{font-size:.75rem;color:#c4d4e8;text-transform:uppercase;letter-spacing:.06em}
.portfolio-card strong{font-size:1.12rem;line-height:1.15}
.photo-dialog{width:min(1000px,calc(100% - 2rem));max-height:calc(100vh - 2rem);border:0;padding:1.25rem;background:#0b1b32;color:#fff;box-shadow:0 25px 70px #0008}
.photo-dialog::backdrop{background:rgba(2,10,25,.86)}
.photo-dialog>img{display:block;width:100%;max-height:calc(100vh - 10rem);object-fit:contain;background:#071426}
.photo-dialog>p{font-size:1rem;margin:.7rem 3rem 0 .25rem}
.dialog-close{position:absolute;right:1rem;top:1rem;border:1px solid #ffffff80;background:#0b1b32dd;color:#fff;width:2.5rem;height:2.5rem;cursor:pointer;font-size:1.5rem;z-index:2}
.dialog-actions{display:flex;justify-content:center;align-items:center;gap:1.2rem;margin-top:.5rem}
.dialog-actions button{border:1px solid #7892b7;background:#142b4c;color:#fff;width:2.25rem;height:2rem;cursor:pointer;font-size:1.4rem}
.dialog-actions span{min-width:4rem;text-align:center;font-size:.9rem;color:#b6c5da}
.contact-page{background:#e9eff5;color:#17263b;padding:clamp(3rem,5vw,5.5rem) 0}
.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:clamp(2rem,5vw,5rem);align-items:start}
.contact-layout aside h2{font-size:clamp(2.2rem,3vw,3.3rem);margin-bottom:1.3rem}
.contact-layout aside>p{color:#4b6076;line-height:1.55}
.contact-direct{display:grid;gap:.4rem;margin:2rem 0;padding:1.2rem 0;border-block:1px solid #c6d2de}
.contact-direct small{color:#60758d}
.contact-direct a{font-weight:700;font-size:1.2rem;color:#2f538c;overflow-wrap:anywhere}
.contact-form{background:#fff;box-shadow:0 12px 38px rgba(10,31,57,.09);padding:clamp(1.3rem,3vw,2.6rem);display:grid;gap:1.15rem;border-top:4px solid #3d5f9b}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:grid;gap:.35rem;font-size:.92rem;font-weight:700}
.field input,.field select,.field textarea{width:100%;min-height:48px;border:1px solid #bfccd9;border-radius:2px;padding:.7rem .8rem;background:#f9fbfd;color:#17263b;font:inherit;font-weight:400}
.field textarea{resize:vertical;min-height:140px}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #527ab4;outline-offset:1px}
.upload-fields{display:grid;gap:.6rem;padding:1.2rem;border:1px dashed #a9bdd1;background:#f5f8fb}
.upload-fields strong{font-size:1rem}
.upload-fields p{font-size:.86rem;color:#52677e}
.upload-fields input{width:100%;font-size:.9rem}
.consent{display:flex;align-items:flex-start;gap:.7rem;font-size:.88rem;line-height:1.4;color:#52657b}
.consent input{margin-top:.2rem;flex:none}
.consent a,.privacy-page a{color:#315b96;text-decoration:underline}
.contact-form>.button{justify-self:start;cursor:pointer}
.form-error{color:#b42437;font-weight:700}
.honeypot{position:absolute;left:-10000px;opacity:0}
.privacy-page{background:#e9eff5;color:#17263b;padding:4rem 0}
.privacy-page>.shell{max-width:850px}
.privacy-page p{font-size:1.08rem;line-height:1.7;margin-bottom:1.4rem}
.thanks-page{min-height:55vh;display:grid;align-items:center;background:#10223c;padding:5rem 0}
.thanks-page h1{font-size:clamp(2.7rem,5vw,4.5rem)}
.thanks-page p:not(.eyebrow){max-width:650px;color:#c4d1e1;margin-bottom:2rem}
@media(max-width:1100px){.work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-nav{gap:.8rem}.site-nav a{font-size:.85rem}}
@media(max-width:850px){.site-header{height:auto}.header-inner{flex-wrap:wrap}.site-nav{order:3;width:100%;overflow-x:auto;margin:0}.languages{margin-left:auto}.new-footer{grid-template-columns:1fr 1fr}.new-footer>div:first-child{grid-column:1/-1}.service-detail-grid,.contact-layout{grid-template-columns:1fr}.service-detail:nth-child(even) .service-detail-grid>img{order:0}.service-detail-grid>img{height:350px}}
@media(max-width:600px){.brand img{height:48px}.header-inner{padding-block:.6rem}.site-nav{gap:1rem}.site-nav a{font-size:.84rem}.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.portfolio-card,.portfolio-card img{min-height:190px;height:190px}.portfolio-card span{left:.65rem;right:.65rem;bottom:.65rem}.portfolio-card small{font-size:.65rem}.portfolio-card strong{font-size:.95rem}.form-row{grid-template-columns:1fr}.bottom-cta>.shell{align-items:flex-start;flex-direction:column}.new-footer{grid-template-columns:1fr}.new-footer>div:first-child{grid-column:auto}.page-hero{padding:3.5rem 0}.service-detail-grid>img{height:280px}}
