:root {
  --blue: #0056a4;
  --deep-blue: #1d407d;
  --silver: #a5a9ac;
  --steel: #85898b;
  --white: #fff;
  --light-grey: #e3e3e3;
  --wood: #7b5944;
  --ink: #101e31;
  --night: #0d1a2b;
  --paper: #f4f3ef;
  --line: #cbcdd0;
  --text: #3d4652;
  --display: 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.3vw, 6.8rem);
  --measure: 102rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
::selection { background: var(--deep-blue); color: var(--white); }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button[hidden], [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.home-hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .home-services :focus-visible { outline-color: var(--white); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: .98; font-family: var(--display); font-weight: 750; }
h1, h2 { letter-spacing: -.062em; }
h2 { font-size: clamp(3.2rem, 6vw, 7.4rem); }
p + p { margin-top: 1rem; }
.wrap { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 9.5rem); }
.eyebrow { color: var(--blue); font-size: .8125rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .85rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.brand-intro { display: none; position: fixed; z-index: 10; inset: 0; pointer-events: none; overflow: hidden; }
.intro-pending .brand-intro { display: grid; place-items: center; }
.brand-intro.is-entering { display: grid; place-items: center; animation: brand-stage 1.58s cubic-bezier(.56,.06,.22,1) both; }
.brand-intro__blue, .brand-intro__silver { position: absolute; inset: 0; display: grid; place-items: center; }
.brand-intro__blue { background: var(--blue); }
.brand-intro__silver { background: linear-gradient(108deg, #fff, var(--light-grey) 67%, #c0c4c9); clip-path: inset(0 100% 0 0); }
.brand-intro__lockup { position: relative; width: min(58vw, 23rem); opacity: 0; }
.is-entering .brand-intro__silver { animation: brand-silver 1.58s cubic-bezier(.5,0,.23,1) both; }
.is-entering .brand-intro__lockup { animation: brand-logo 1.58s cubic-bezier(.2,.66,.33,1) both; }
@keyframes brand-silver {
  0%, 29% { clip-path: inset(0 100% 0 0); }
  64%, 100% { clip-path: inset(0); }
}
@keyframes brand-logo {
  0% { opacity: 0; transform: translateY(.85rem) scale(.98); }
  23%, 68% { opacity: 1; transform: translateY(0) scale(1); }
  88%, 100% { opacity: 0; transform: translateY(-1rem) scale(1); }
}
@keyframes brand-stage {
  0%, 65% { transform: translateY(0); visibility: visible; }
  100% { transform: translateY(-100%); visibility: hidden; }
}

.site-header { position: absolute; z-index: 4; top: 0; inset-inline: 0; color: var(--white); }
.site-header--solid { position: relative; background: var(--night); }
.header-inner, .site-header > .wrap {
  width: min(100%,var(--measure)); margin-inline: auto; padding-inline: var(--gutter);
  min-height: 5.85rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between;
}
.site-header::after {
  content: ""; position: absolute; bottom: 0; height: 1px; inset-inline: var(--gutter); background: rgba(255,255,255,.28); pointer-events: none;
}
.site-header--solid::after { display: none; }
.site-brand { flex: none; display: inline-flex; align-items: center; }
.site-brand img, .site-header .brand img { width: clamp(8rem, 13vw, 11rem); height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.25vw, 2.45rem); font-size: .9375rem; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .39rem; }
.nav-cta { padding: .4rem 1.15rem; border: 1px solid rgba(255,255,255,.65); }
.nav-cta:hover { background: var(--white); color: var(--ink); text-decoration: none !important; }
.menu-toggle { display: none; background: transparent; border: 0; min-height: 44px; align-items: center; gap: .7rem; padding: .5rem 0 .5rem .75rem; }
.menu-toggle span { width: 1rem; height: .43rem; border-block: 1px solid currentColor; }

.home-hero {
  position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto;
  color: var(--white); background: var(--night);
  min-height: 690px; min-height: max(620px, 100svh);
}
.home-hero__media, .home-hero__shade { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.home-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.home-hero__shade {
  background:
    linear-gradient(180deg, rgba(5,16,28,.74) 0%, transparent 34%, transparent 59%, rgba(5,16,28,.69) 100%),
    linear-gradient(92deg, rgba(7,17,30,.84), rgba(7,17,30,.50) 40%, rgba(7,17,30,.12) 78%);
}
.home-hero__content { align-self: end; padding-top: 8rem; padding-bottom: clamp(2.4rem, 7vh, 5.4rem); }
.home-hero .eyebrow { color: #e1e8ef; }
.home-hero h1 { margin: .85rem 0 1.3rem; font-size: clamp(4.2rem, 9.15vw, 9.3rem); line-height: .91; }
.home-hero h1 em { font-style: normal; }
.home-hero__content > p:not(.eyebrow) { color: #eef1f5; max-width: 30ch; font-size: clamp(1.03rem, 1.5vw, 1.3rem); margin-bottom: 1.65rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .65rem 1.3rem;
  color: var(--white); background: var(--blue); border: 1px solid transparent; font-weight: 650; font-size: .9375rem;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.button:hover { background: var(--deep-blue); }
.button--white { color: var(--ink); background: var(--white); }
.button--white:hover { color: var(--white); background: var(--blue); border-color: var(--white); }
.button--outline { color: inherit; background: transparent; border-color: currentColor; }
.button--outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.hero-edge { display: flex; align-items: center; position: relative; min-height: 4.15rem; }
.hero-edge::before { content: ""; height: 1px; position: absolute; top: 0; background: rgb(255 255 255 / 32%); inset-inline: var(--gutter); }
.down-link { min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; color: var(--white); font-size: .8125rem; }
.down-link span { width: 1px; height: 1.1rem; margin-right: .25rem; background: currentColor; }
.down-link:hover { text-decoration: underline; text-underline-offset: .25rem; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .62fr); column-gap: 3rem; align-items: end; }
.section-heading h2, .home-services h2, .home-hardware h2, .site-footer h2, .page-intro h1 { margin-top: .65rem; }
.section-heading > p { max-width: 37ch; color: var(--text); line-height: 1.6; font-size: clamp(1rem, 1.3vw, 1.21rem); }
.featured-projects { display: grid; grid-template-columns: 1.48fr 1fr; gap: clamp(1.3rem, 4.2vw, 5rem); margin: clamp(1.9rem, 4.3vw, 4rem) 0 2rem; }
.featured-project__image { overflow: hidden; background: var(--light-grey); }
.featured-project__image img { width: 100%; object-fit: cover; transition: transform 550ms cubic-bezier(.2,.65,.35,1); }
.featured-project--wide img { aspect-ratio: 1.43; }
.featured-project--offset { margin-top: clamp(2.3rem, 8.5vw, 8rem); }
.featured-project--offset img { aspect-ratio: 1.22; }
.featured-project a:hover img, .project-item a:hover img { transform: scale(1.035); }
.featured-project__caption { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem 1rem; flex-wrap: wrap; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.featured-project__caption h3 { font-family: var(--display); font-size: clamp(1.4rem, 2.7vw, 2.74rem); letter-spacing: -.046em; }
.featured-project__caption span { font-size: .8125rem; color: var(--text); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .38rem; font-weight: 650; }
.text-link:hover { color: var(--blue); }

.home-services { background: var(--deep-blue); color: var(--white); }
.home-services .eyebrow, .site-footer .eyebrow { color: #cfdceb; }
.services-grid, .hardware-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(2rem, 8vw, 9rem); align-items: center; }
.services-grid p:not(.eyebrow), .hardware-grid p:not(.eyebrow) { margin-top: 1.15rem; max-width: 34ch; }
.services-grid .button, .hardware-grid .text-link { margin-top: 1.25rem; }
.service-directory { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgb(255 255 255 / 36%); }
.service-directory li { border-bottom: 1px solid rgb(255 255 255 / 36%); }
.service-directory a { display: flex; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .55rem 0; font-family: var(--display); font-size: clamp(1.27rem, 2.5vw, 2.15rem); }
.service-directory a::after { content: '+'; font-family: var(--sans); font-weight: 300; }
.service-directory a:hover { text-decoration: underline; text-underline-offset: .32rem; }
.home-hardware { background: var(--light-grey); }
.hardware-grid { grid-template-columns: 1.1fr .85fr; }
.hardware-photo, .project-item { overflow: hidden; }
.hardware-photo img { width: 100%; max-height: 40rem; object-fit: cover; object-position: 65% 49%; aspect-ratio: 1.05; }

.site-footer { background: var(--night); color: var(--white); padding-block: clamp(3.9rem, 8vw, 8rem); }
.footer-main { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.site-footer h2 { font-size: clamp(3rem, 6vw, 6.6rem); margin-bottom: 1.5rem; }
.footer-details img { margin-bottom: 1rem; }
.footer-details p { margin-bottom: .65rem; color: #dde4ed; }
.footer-details a:hover { text-decoration: underline; }

.page-intro { padding-block: clamp(3.5rem, 7vw, 8rem) clamp(3rem, 5vw, 5rem); }
.page-intro h1 { font-size: clamp(3.6rem, 8.5vw, 9rem); }
.page-intro p:not(.eyebrow) { margin-top: 1.2rem; max-width: 55ch; font-size: clamp(1.05rem, 1.5vw, 1.36rem); color: var(--text); }
.page-intro .button { margin-top: 1.35rem; }
.page-intro + .section, .page-intro + .project-list { padding-top: 0; }
.project-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem,4vw,4rem); padding-bottom: clamp(4rem,9vw,8rem); }
.project-item { border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; }
.project-item img { width:100%; aspect-ratio: 1.52; object-fit: cover; transition: transform .42s ease; }
.project-item h2, .project-item h3 { font-size: clamp(2rem, 3.25vw, 3.75rem); font-family: var(--display); letter-spacing: -.05em; margin-top: .8rem; }
.project-item p { margin-top: .75rem; color: var(--text); }
.project-media img, .detail-photo img { width: 100%; max-height: 52rem; object-fit: cover; }
.page-content { max-width: 72ch; color: var(--text); }
.page-content h2 { color: var(--ink); font-size: clamp(2.4rem, 4.2vw, 4.5rem); margin-bottom: .85rem; }
.page-content > a, .contact-options a, .contact-links a { text-decoration: underline; text-underline-offset: .3rem; }
.page-content .button { text-decoration: none; }
.section, .wrap, [id] { scroll-margin-top: 1rem; }

@media (max-width: 900px) {
  .section-heading { gap: 1.8rem; }
  .services-grid, .hardware-grid { gap: 2.3rem; }
}
@media (max-width: 780px) {
  .header-inner, .site-header > .wrap { min-height: 4.5rem; gap: 1rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; inset: 4.5rem 0 auto; background: var(--night);
    padding: 1rem var(--gutter) 1.5rem; align-items: stretch; flex-direction: column; gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-bottom: 1px solid rgb(255 255 255 / 24%); padding: .55rem 0; }
  .site-nav .nav-cta { margin-top: .8rem; padding-inline: 1rem; align-self: flex-start; border: 1px solid rgb(255 255 255 / 65%); }
  .home-hero { min-height: max(590px, 100svh); }
  .home-hero h1 { margin-top: .75rem; font-size: clamp(2.8rem, 12.1vw, 6.4rem); }
  .home-hero__media video { object-position: 61% center; }
  .home-hero__shade { background: linear-gradient(180deg,#061222bd,transparent 33%,#09162687 52%,#081323dc),linear-gradient(90deg,#06122255,transparent); }
  .section-heading, .services-grid, .hardware-grid { grid-template-columns: 1fr; }
  .section-heading { gap: .9rem; }
  .featured-projects { grid-template-columns: 1fr; }
  .featured-project--offset { margin-top: 0; }
  .featured-project--offset img { aspect-ratio: 1.43; }
  .hardware-photo img { aspect-ratio: 1.45; }
  .footer-main { grid-template-columns: 1fr; }
  .project-list { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  .home-hero h1 { font-size: 2.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-intro, .intro-pending .brand-intro { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
