:root{color-scheme:light;--ink:#111111;--paper:#f2f6fd;--blue:#123b89;--red:#b91c2c;--dark:#0b0b0d}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:1rem/1.6 system-ui,sans-serif;color:var(--ink);background:var(--paper)}
a{color:inherit}
a:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.mast,.foot,.contact-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.mast{min-height:78px}
header{background:#fff;border-bottom:4px solid var(--blue)}
.brand{display:block;width:clamp(132px,36vw,240px);flex-shrink:0;margin-block:10px}
.brand img{display:block;width:100%;height:auto}
nav{display:flex;gap:clamp(16px,4vw,40px)}
nav a{text-decoration:none;font-weight:650}
nav a:hover{color:var(--blue);text-decoration:underline}
.hero{background-color:var(--dark);background-image:linear-gradient(90deg,var(--dark) 8%,#0b0b0dee 34%,#0b0b0daa 64%,#0b0b0d38),url(hero.webp);background-size:cover;background-position:center;color:white}
.intro{padding-block:clamp(65px,11vw,145px)}
.eyebrow{margin:0 0 14px;font-size:.875rem;font-weight:800;text-transform:uppercase;letter-spacing:.14em;color:var(--blue)}
.hero .eyebrow,.contact .eyebrow{color:#c9ddff}
h1,h2,h3{margin:0;line-height:1.05;letter-spacing:-.045em}
h1{font-size:clamp(2.65rem,7vw,6.4rem);font-weight:900}
h2{font-size:clamp(2rem,5vw,3.9rem)}
h3{font-size:1.5rem}
.intro>p:not(.eyebrow){max-width:42ch;font-size:1.15rem;margin:22px 0 28px;color:#ecf0f2}
.button{display:inline-block;background:var(--red);color:#fff;padding:14px 20px;border-radius:5px;text-decoration:none;font-weight:800;white-space:nowrap}
.button:hover{background:#921526}
.hero a:focus-visible,.contact a:focus-visible{outline-color:#fff}
.services{padding-block:clamp(55px,8vw,100px)}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
article{padding:26px;background:#fff;border-top:4px solid var(--blue)}
article p,.contact p:last-child{margin-bottom:0}
.contact{background:var(--blue);color:#fff;padding-block:clamp(48px,7vw,84px)}
.foot{padding-block:26px;font-size:.875rem;font-weight:700}
@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.mast{gap:12px}.wrap{width:calc(100% - 32px)}.hero{background-position:61% center;background-image:linear-gradient(90deg,#0b0b0df7,#0b0b0dc4),url(hero.webp)}.grid{grid-template-columns:1fr}.contact-inner{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.projects{padding-bottom:clamp(55px,8vw,100px)}
.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.project-grid figure{margin:0;background:#fff;border-bottom:3px solid var(--blue)}
.project-grid a{display:block}
.project-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.project-grid figcaption{padding:12px 14px;font-size:.9375rem;font-weight:650}
@media(max-width:850px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
  .mast{flex-wrap:wrap;justify-content:center;padding-bottom:10px}
  .mast nav{justify-content:center;flex-wrap:wrap}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
