@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --navy: #091c36;
  --ink: #102540;
  --muted: #4d6075;
  --sky: #a9e6ff;
  --blue: #075590;
  --paper: #f3f8fc;
  --line: #d6e2eb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 "DM Sans", system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #168ac6; outline-offset: 5px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; z-index: 5; transform: translateY(-200%); background: var(--sky); padding: .5rem; }
.skip:focus { transform: none; }
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.2rem "Instrument Sans", sans-serif; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 12px; box-shadow: 0 3px 12px #132e4930; }
nav { display: flex; gap: clamp(16px, 3vw, 40px); }
nav a, .secondary { text-decoration: none; font-weight: 700; }
nav a:hover, .secondary:hover, footer a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; gap: 1rem; border: 1px solid transparent; border-radius: 999px; padding: 10px 20px; background: var(--sky); color: var(--navy); font-weight: 700; text-decoration: none; line-height: 1.4; }
.button:hover { background: #d1f3ff; }
.outline { background: transparent; border-color: #a7becf; white-space: nowrap; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(520px, 68vw, 690px); overflow: hidden; background: var(--navy); color: white; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, #091c36 4%, #091c36e8 26%, #091c3680 60%, #091c361a), url("assets/hero.jpg") center 53% / cover; }
.hero-text { padding-block: 70px 94px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow, .projects .eyebrow { color: var(--sky); }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 700; }
h1, h2 { margin-bottom: 24px; line-height: 1.02; letter-spacing: -.075em; }
h1 { font-size: clamp(3.35rem, 8.2vw, 7.2rem); }
h1 em { color: var(--sky); font-style: normal; }
h2 { font-size: clamp(2.55rem, 6vw, 5rem); }
h3 { margin-bottom: 9px; font-size: 1.27rem; line-height: 1.24; letter-spacing: -.045em; }
.intro { max-width: 460px; margin-bottom: 26px; color: #e0edf8; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: -35px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 40px #132e4914; }
.stats p { display: grid; justify-items: center; gap: 5px; margin: 0; padding: 22px 8px; color: var(--muted); text-align: center; }
.stats p + p { border-left: 1px solid var(--line); }
.stats strong { color: var(--navy); font: 700 clamp(1.8rem, 4vw, 3.15rem)/1 "Instrument Sans", sans-serif; letter-spacing: -.07em; }
.section { padding-block: clamp(65px, 9vw, 116px); }
.service-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.service-grid article { min-height: 172px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.service-grid small { display: none; }
.service-grid article::before { content: ""; display: block; width: 30px; height: 5px; margin-bottom: 21px; border-radius: 10px; background: #54bbe9; }
.service-grid p, .project-grid p, .industrial { margin-bottom: 0; color: var(--muted); }
.projects { background: #0d2543; color: white; }
.project-grid article { overflow: hidden; border: 1px solid #36516c; border-radius: 17px; background: #163252; }
.project-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-grid h3, .project-grid p { margin-inline: 20px; }
.project-grid h3 { margin-top: 19px; }
.project-grid p, .industrial { color: #ccdeed; }
.project-grid p { margin-bottom: 20px; }
.industrial { margin-top: 22px; }
.quote { text-align: center; }
.quote blockquote { max-width: 850px; margin: 0 auto 18px; font: 700 clamp(1.65rem, 4vw, 3.35rem)/1.18 "Instrument Sans", system-ui, sans-serif; letter-spacing: -.05em; }
.quote p:last-child { margin: 0; color: var(--muted); }
.contact { background: var(--navy); color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 38px; align-items: center; }
address { margin-bottom: 22px; color: #dceaf6; font-style: normal; line-height: 1.9; overflow-wrap: anywhere; }
iframe { width: 100%; min-height: 350px; border: 1px solid #375571; border-radius: 17px; background: #dceaf6; }
footer { border-top: 1px solid #253c57; background: #08182d; color: #e0edf8; }
footer .shell { display: flex; justify-content: space-between; gap: 12px; padding-block: 20px; font-size: .91rem; }
footer a { text-decoration: none; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .nav { min-height: 0; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  nav { order: 3; justify-content: space-between; width: 100%; }
  .hero { min-height: 490px; }
  .hero::before { background-position: center, 56% center; }
  .stats p { font-size: .79rem; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .hero::before { background-image: linear-gradient(95deg, #091c36ef, #091c368f), url("assets/hero.jpg"); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: hero-enter .65s ease-out both; }
  .button { transition: background-color .2s ease; }
  @supports (animation-timeline: view()) {
    .section > .eyebrow, .section > h2, .service-grid article, .project-grid article,
    .quote blockquote, .contact-grid > div {
      animation: scroll-enter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 72%;
    }
    .contact-grid > div:focus-within { animation: none; }
  }
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-enter {
  from { opacity: .38; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
