:root {
  --ink: #17283a;
  --navy: #102337;
  --steel: #243f59;
  --paper: #f5f7f9;
  --cream: #ebeef1;
  --white: #ffffff;
  --accent: #b8dbf7;
  --blue-wash: #e6f0fa;
  --mute: #47586a;
  --line: #d6dce2;
  --display: "Space Grotesk", "Manrope", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 93px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 16px/1.63 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #305d89; outline-offset: 5px; }
.hero :focus-visible, .equipment :focus-visible, .public-work :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h2 { font-size: clamp(2.8rem, 5.25vw, 5.35rem); line-height: 1.01; letter-spacing: -.066em; font-weight: 700; }
h3 { font-weight: 700; line-height: 1.11; letter-spacing: -.042em; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 104px, 1320px); margin-inline: auto; }
.section { padding: 104px 0; }
.sprite { width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { width: 23px; height: 23px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 40; padding: 9px 14px; background: var(--accent); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { z-index: 5; position: sticky; top: 0; background: var(--white); border-bottom: 1px solid #e1e6eb; }
.header-inner { min-height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: 130px; display: inline-block; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; gap: clamp(16px, 2.4vw, 36px); align-items: center; }
.main-nav a { font-size: .87rem; font-weight: 800; white-space: nowrap; }
.main-nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-phone { justify-self: end; display: inline-flex; gap: 9px; align-items: center; color: var(--white); background: var(--steel); padding: 10px 15px; font-size: .84rem; font-weight: 800; white-space: nowrap; }
.header-phone:hover { background: var(--navy); }
.header-phone .icon { width: 17px; height: 17px; }
.menu-button { display: none; }

.hero { isolation: isolate; position: relative; color: var(--white); background: var(--navy); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #102337 0%, #102337 32%, #102337fa 37%, #102337ba 47%, #10233732 66%, #1023370d 100%), linear-gradient(0deg, #0c192a88 0%, transparent 24%); }
.hero-media { position: absolute; inset: 0 0 0 38%; z-index: -2; mask-image: linear-gradient(90deg, transparent, #000 26%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
.hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(590px, 48vw, 740px); padding-block: 82px 96px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker, .project-location { font-size: .72rem; font-weight: 800; line-height: 1.4; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #e6edf4; }
.eyebrow span, .public-intro .section-kicker span { width: 8px; height: 8px; display: inline-block; background: var(--accent); }
.eyebrow b { width: 12px; height: 1px; background: #b8dbf7; margin-inline: 2px; }
.hero h1 { margin-top: 24px; font-size: clamp(4rem, 6.55vw, 7.3rem); font-weight: 700; line-height: .99; letter-spacing: -.073em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 470px; font-size: clamp(1rem, 1.45vw, 1.18rem); color: #e0e8f0; margin-top: 26px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 29px; }
.button { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 11px 18px; border: 1px solid transparent; font-size: .89rem; font-weight: 800; transition: background .2s, color .2s, border-color .2s; }
.button .icon { width: 19px; height: 19px; }
.button-accent { background: var(--accent); color: var(--navy); }
.button-accent:hover { background: #d6ebfc; }
.button-ghost { border-color: #afbfce; color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--navy); }
.photo-credit { display: flex; align-items: center; gap: 11px; position: absolute; right: 0; bottom: 32px; background: #102337e8; color: var(--white); padding: 11px 16px; border-left: 2px solid var(--accent); }
.photo-credit:hover { background: var(--navy); }
.photo-credit .icon { color: var(--accent); width: 20px; }
.photo-credit strong, .photo-credit small { display: block; }
.photo-credit strong { font-size: .81rem; }
.photo-credit small { color: #d6e3ee; font-size: .69rem; }

.evidence { background: var(--blue-wash); }
.evidence-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.evidence-inner > div { min-height: 99px; display: flex; align-items: center; justify-content: center; gap: 15px; padding: 12px; }
.evidence-inner > div + div { border-left: 1px solid #b7cfe5; }
.evidence-mark { font: 700 clamp(1.6rem, 3vw, 2.3rem)/1 var(--display); letter-spacing: -.07em; }
.evidence-inner .icon { width: 29px; height: 29px; }
.evidence-text strong, .evidence-text small { display: block; }
.evidence-text strong { font-size: .94rem; font-weight: 800; }
.evidence-text small { font-size: .76rem; color: #425c74; }

.section-head { display: grid; grid-template-columns: 1fr minmax(240px, 350px); align-items: end; gap: 32px; margin-bottom: 37px; }
.section-head > p, .about-copy > p:not(.section-kicker) { color: var(--mute); }
.section-head > p { padding-bottom: 4px; }
.section-kicker { display: flex; align-items: center; gap: 11px; color: #3d5975; margin-bottom: 14px; }
.section-kicker span:not(:empty) { display: inline-grid; place-items: center; width: 25px; height: 25px; background: #e3eaf2; color: #294869; font: 700 .75rem/1 var(--display); letter-spacing: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service { background: var(--white); padding: 25px 23px 24px; display: flex; flex-direction: column; min-height: 260px; transition: background .2s; }
.service:hover { background: #eef3f8; }
.service + .service { border-left: 1px solid var(--line); }
.service-top { display: flex; align-items: start; justify-content: space-between; color: #426383; margin-bottom: 25px; }
.service-top .icon { width: 34px; height: 34px; stroke-width: 1.35; }
.service-top span { font: 600 .75rem var(--display); letter-spacing: .06em; }
.service h3 { font-size: clamp(1.28rem, 1.95vw, 1.72rem); margin-bottom: 9px; }
.service p { color: var(--mute); font-size: .86rem; margin-bottom: 16px; }
.service a, .text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: start; width: fit-content; font-size: .83rem; font-weight: 800; border-bottom: 1px solid #869cb2; }
.service a:hover, .text-link:hover { border-color: currentColor; }
.service a .icon, .text-link .icon { width: 15px; height: 15px; }

.projects { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 23px; }
.filters button { padding: 9px 14px; background: transparent; border: 1px solid #b5c3d0; font-size: .78rem; font-weight: 800; }
.filters button:hover { background: #dbe6f0; }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--steel); border-color: var(--steel); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.project-image { aspect-ratio: 1.68; overflow: hidden; position: relative; background: #c6d2df; }
.project-image img { height: 100%; width: 100%; object-fit: cover; transition: transform .35s; }
.project:hover .project-image img, .project:focus-within .project-image img { transform: scale(1.035); }
.project-image span { position: absolute; top: 13px; left: 13px; padding: 5px 8px; color: var(--white); background: #102337eb; font-size: .67rem; font-weight: 800; }
.project-body { display: flex; flex: 1; align-items: start; justify-content: space-between; gap: 12px; padding: 19px 17px 20px; }
.project-location { color: #3d5b79; margin-bottom: 6px; font-size: .64rem; }
.project h3 { font-size: clamp(1.25rem, 2.1vw, 1.85rem); }
.project-description { margin-top: 9px; color: var(--mute); font-size: .83rem; }
.project-open { flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid var(--line); background: #eef2f6; display: grid; place-items: center; }
.project-open .icon { width: 17px; height: 17px; }
.project-open:hover { background: var(--accent); border-color: #759cbd; }
.archive-more { margin-top: 15px; border: 1px solid #c9d2dc; }
.archive-more summary, .equipment-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
.archive-more summary { padding: 15px 17px; font-size: .9rem; }
details[open] > summary > .icon { transform: rotate(45deg); }
.archive-content { padding: 0 17px 16px; }
.archive-content dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px 21px; margin: 4px 0 17px; }
.archive-content dt { font-weight: 800; font-size: .89rem; }
.archive-content dd { margin: 1px 0 0; color: var(--mute); font-size: .82rem; }

.public-work { margin-top: 45px; color: var(--white); background: var(--steel); display: grid; grid-template-columns: .85fr 1.3fr; padding: 31px; gap: 33px; }
.public-intro .section-kicker { color: #e2ebf5; margin-bottom: 11px; }
.public-intro h3 { font-size: clamp(1.8rem, 3.5vw, 3.1rem); }
.public-intro > p:last-child { margin-top: 10px; font-size: .86rem; color: #dce7f2; max-width: 33ch; }
.public-list { display: grid; }
.public-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #5e758c; padding: 9px 0; }
.public-list a:first-child { border-top: 1px solid #5e758c; }
.public-list a:hover strong { color: var(--accent); }
.public-list small, .public-list strong { display: block; }
.public-list small { font-size: .66rem; color: #c9d9e9; }
.public-list strong { font-size: .87rem; }
.public-list .icon { color: var(--accent); width: 17px; height: 17px; }

.equipment { background: var(--navy); color: var(--white); }
.equipment-layout { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(35px, 9vw, 150px); align-items: center; }
.equipment .section-kicker { color: #d6e3ef; }
.equipment h2 span { color: var(--accent); }
.equipment-layout > div:first-child > p:not(.section-kicker) { max-width: 43ch; color: #dce7f1; margin: 21px 0; }
.equipment-list details { border-bottom: 1px solid #4b6179; }
.equipment-list details:first-child { border-top: 1px solid #4b6179; }
.equipment-list summary { padding: 14px 0; font-size: .97rem; }
.equipment-list summary b { color: var(--accent); font: 600 .76rem var(--display); margin-right: 12px; }
.equipment-list summary .icon { color: var(--accent); }
.equipment-list details p { color: #dce7f1; margin: -3px 25px 14px; font-size: .86rem; }
.equipment-note { color: #c7d7e6; font-size: .77rem; margin-top: 13px; }

.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 106px); }
.about-photo { position: relative; padding: 0 13px 13px 0; background: linear-gradient(135deg, transparent 40%, #c9dff2 40%); }
.about-photo img { width: 100%; height: auto; }
.about-photo figcaption { position: absolute; bottom: 13px; left: 0; background: var(--steel); color: var(--white); padding: 8px 12px; display: flex; gap: 5px; align-items: center; font-size: .73rem; }
.about-copy > p:not(.section-kicker) { margin-top: 15px; }
.about-copy .text-link { margin-top: 17px; }

.contact { background: var(--blue-wash); }
.contact-layout { display: grid; grid-template-columns: 1fr minmax(290px, .65fr); align-items: center; gap: 45px; }
.contact .section-kicker span { background: #cfe3f5; }
.contact-layout > div > p:not(.section-kicker) { margin-top: 18px; }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: #355674; }
.button-outline { color: var(--navy); border-color: #527698; }
.button-outline:hover { background: #d9eafa; }
.contact-card { align-self: center; display: grid; gap: 11px; background: #f5faff; padding: 25px 27px; border: 1px solid #b8d2e9; font-style: normal; font-size: .93rem; }
.contact-card > strong { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.03em; }
.contact-card a:hover { text-decoration: underline; }
.contact-methods { margin: 0; display: grid; gap: 5px; }
.contact-methods div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; }
.contact-methods dt { color: var(--mute); }
.contact-methods dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.contact-methods a { display: inline-block; padding-block: 4px; font-weight: 800; text-decoration: underline; text-underline-offset: .17em; }
.footer { color: #dbe5ef; background: var(--navy); }
.footer-inner { min-height: 115px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 25px; padding-block: 20px; }
.footer-inner div { display: grid; gap: 2px; font-size: .77rem; }
.footer-inner strong { color: var(--white); }
.footer-last { text-align: right; }

.gallery { padding: 0; border: none; background: var(--white); color: var(--ink); width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.gallery::backdrop { background: #0c192ad9; }
.gallery-shell { padding: 19px; }
.gallery-heading { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 11px; }
.gallery-heading p { color: #3d5b79; font-size: .76rem; font-weight: 800; }
.gallery-heading h2 { font-size: clamp(1.65rem, 4vw, 2.75rem); letter-spacing: -.05em; }
.gallery-close { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--cream); }
.gallery-figure { background: var(--navy); position: relative; }
.gallery-figure img { width: 100%; height: min(59dvh, 560px); object-fit: contain; }
.gallery-controls { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 8px; right: 8px; color: var(--white); padding: 3px; background: #102337ef; font-size: .78rem; }
.gallery-controls button { border: none; padding: 4px 11px; min-height: 40px; min-width: 40px; background: var(--accent); color: var(--navy); font-size: 1.2rem; }
#gallery-description { margin-top: 10px; color: var(--mute); font-size: .91rem; }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 60px, 1320px); }
  .section { padding-block: 75px; }
  .hero-inner { min-height: 590px; }
  .hero h1 { font-size: clamp(3.8rem, 7.7vw, 6rem); }
  .service { padding-inline: 17px; }
}
@media (max-width: 850px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 13px; min-height: 69px; }
  .brand { width: 112px; }
  .menu-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); grid-column: 3; grid-row: 1; }
  .header-phone { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; padding-bottom: 10px; flex-wrap: wrap; }
  .menu-button:not([hidden]) + .main-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--white); border-bottom: 1px solid var(--line); padding: 7px max(30px, calc((100vw - 1320px) / 2)) 12px; }
  .menu-button:not([hidden]) + .main-nav.is-open { display: grid; gap: 0; }
  .main-nav a { display: block; padding: 10px 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service { min-height: 230px; }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr minmax(200px, .63fr); gap: 21px; }
  .hero-media { left: 29%; }
  .hero::after { background: linear-gradient(90deg, #102337 0%, #102337f5 27%, #102337b0 48%, #10233728 80%), linear-gradient(0deg, #0c192a66 0%, transparent 23%); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 79px; }
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 57px; }
  .header-inner { min-height: 64px; }
  .brand { width: 105px; }
  .header-phone { padding: 8px; gap: 6px; }
  .header-phone .icon { width: 15px; height: 15px; }
  .hero-inner { min-height: 0; padding-block: 52px 0; }
  .hero-copy { padding-bottom: 192px; }
  .hero h1 { font-size: clamp(3.1rem, 11vw, 4.35rem); margin-top: 16px; }
  .hero-intro { margin-top: 15px; font-size: .95rem; max-width: 34ch; }
  .hero .actions { margin-top: 18px; }
  .hero-media { inset: auto 0 0; height: 275px; mask-image: none; }
  .hero-media img { object-position: 50% 33%; }
  .hero::after { background: linear-gradient(180deg, #102337 0%, #102337 57%, #10233700 84%), linear-gradient(0deg, #0c192a44, transparent 25%); }
  .photo-credit { bottom: 11px; right: 0; padding: 6px 8px; }
  .photo-credit .icon { width: 15px; }
  .evidence-inner { width: 100%; }
  .evidence-inner > div { min-height: 88px; gap: 4px; flex-direction: column; align-items: center; text-align: center; padding: 8px 3px; justify-content: center; }
  .evidence-mark { font-size: 1.34rem; }
  .evidence-inner .icon { width: 20px; height: 20px; }
  .evidence-text strong { font-size: .65rem; }
  .evidence-text small { font-size: .56rem; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
  .section-head > p { padding: 0; font-size: .93rem; }
  .service { min-height: 0; padding: 12px 10px; }
  .service-top { margin-bottom: 14px; }
  .service-top .icon { width: 26px; height: 26px; }
  .service h3 { font-size: 1.08rem; }
  .service p { font-size: .76rem; margin-bottom: 10px; }
  .service a { font-size: .73rem; gap: 3px; }
  .filters { gap: 6px; margin-bottom: 13px; }
  .filters button { padding: 8px; font-size: .71rem; }
  .project-grid { gap: 10px; }
  .project-body { gap: 4px; padding: 10px 7px; flex-direction: column; align-items: stretch; }
  .project h3 { font-size: 1.14rem; }
  .project-image span { top: 5px; left: 5px; padding: 3px 4px; font-size: .57rem; }
  .project-location { letter-spacing: .06em; font-size: .61rem; }
  .project-description { font-size: .74rem; margin-top: 5px; }
  .project-open { flex: 0 0 42px; height: 42px; width: 42px; align-self: end; margin-top: auto; }
  .archive-content dl { grid-template-columns: 1fr; gap: 9px; }
  .public-work { grid-template-columns: 1fr; margin-top: 28px; gap: 13px; padding: 15px; }
  .equipment-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 21px; }
  .about-copy { grid-row: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-last { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 26px); }
  .header-inner { gap: 8px; }
  .brand { width: 100px; }
  .menu-button { width: 44px; height: 44px; }
  .hero h1 { font-size: 2.83rem; }
  .button { padding: 9px 11px; gap: 7px; font-size: .77rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-body { padding: 10px; flex-direction: row; }
  .project-open { align-self: start; }
}
@media (max-width: 480px) {
  .project-grid { grid-template-columns: 1fr; gap: 15px; }
  .project-body { padding: 13px 12px; flex-direction: row; gap: 10px; }
  .project h3 { font-size: 1.32rem; }
  .project-description { font-size: .87rem; }
  .project-location { font-size: .68rem; }
  .project-image span { font-size: .68rem; }
  .project-open { align-self: end; }
  .filters button { min-height: 42px; font-size: .78rem; }
  .contact-card { padding-inline: 16px; }
  .gallery-figure img { height: auto; max-height: 55dvh; }
  .gallery-controls { position: static; justify-content: end; padding: 5px; }
  .gallery-controls button { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* Additional layouts for standalone pages. */
.main-nav [aria-current="page"] { color: #305d89; text-decoration: underline; text-underline-offset: 5px; }
.section h1 { font-size: clamp(2.35rem, 5.25vw, 5.35rem); line-height: 1.03; letter-spacing: -.056em; }
.home-next { background: var(--cream); }
.home-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.home-next-grid article { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 4vw, 48px); }
.home-next-grid h2 { font-size: clamp(2.05rem, 4vw, 3.65rem); }
.home-next-grid article > p:not(.section-kicker) { margin-top: 14px; }
.home-next-grid .text-link, .contact-layout .text-link { margin-top: 15px; }
.company-details { border-top: 1px solid var(--line); padding-top: 9px; }
.page-link { padding-block: 20px; }
.plain-page .wrap { max-width: 790px; }
.plain-page h2 { font-size: clamp(1.3rem, 2.7vw, 2rem); letter-spacing: -.03em; margin-top: 25px; }
.plain-page p:not(.section-kicker) { margin-top: 11px; }
.plain-page a:not(.text-link) { text-decoration: underline; }
.plain-page .text-link { margin-top: 14px; }
@media (max-width: 640px) {
  .home-next-grid { grid-template-columns: 1fr; gap: 14px; }
  .section h1 { overflow-wrap: anywhere; }
}
