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

:root {
  --navy: #071a30;
  --navy-2: #0b2746;
  --blue: #173d65;
  --silver: #a5abb0;
  --mist: #eef0ef;
  --paper: #f8f8f5;
  --ink: #101923;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: white; color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid rgb(255 255 255 / .22); }
.nav-wrap { height: 98px; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 74px; height: 74px; display: block; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; color: white; }
.site-nav a { font-size: .86rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.site-nav a:not(.nav-call):hover { opacity: .72; }
.nav-call { padding: 12px 18px; border: 1px solid rgb(255 255 255 / .6); border-radius: 2px; }
.menu-toggle { display: none; }

.hero { min-height: 780px; height: 94vh; max-height: 980px; position: relative; display: grid; align-items: center; overflow: hidden; background: var(--navy); color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 58%; opacity: .7; }
.hero-shade { background: linear-gradient(90deg, rgb(5 18 34 / .96) 0%, rgb(5 18 34 / .76) 44%, rgb(5 18 34 / .1) 82%), linear-gradient(0deg, rgb(5 18 34 / .46), transparent 45%); }
.hero-content { position: relative; padding-top: 92px; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 700; color: #c7ccd1; }
.eyebrow.dark { color: #64717d; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { max-width: 820px; margin: 0; font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .94; letter-spacing: -.065em; font-weight: 700; }
h1 span { color: #b7bec4; }
.hero-copy { max-width: 630px; margin: 28px 0 30px; color: #e2e5e7; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; text-decoration: none; font-size: .86rem; font-weight: 700; letter-spacing: .03em; transition: .2s ease; }
.button-primary { background: white; color: var(--navy); }
.button-primary:hover, .button-light:hover { background: #dfe4e8; }
.button-ghost { border-color: rgb(255 255 255 / .55); color: white; }
.button-ghost:hover { border-color: white; background: rgb(255 255 255 / .08); }
.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: #d8dcdf; text-transform: uppercase; font-size: .65rem; letter-spacing: .18em; font-weight: 700; }
.trust-line i { width: 3px; height: 3px; background: #aab1b7; border-radius: 50%; }
.scroll-cue { position: absolute; bottom: 28px; right: max(28px, calc((100vw - var(--max)) / 2)); text-decoration: none; text-transform: uppercase; font-size: .65rem; letter-spacing: .16em; display: flex; align-items: center; gap: 12px; }
.scroll-cue span { font-size: 1.1rem; }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 80px; margin-bottom: 64px; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p { margin: 0 0 4px; color: #5f6972; line-height: 1.75; font-size: 1.02rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ced2d4; border-left: 1px solid #ced2d4; }
.service-card { min-height: 270px; padding: 30px; border-right: 1px solid #ced2d4; border-bottom: 1px solid #ced2d4; position: relative; }
.service-card .number { color: #899198; font-size: .7rem; letter-spacing: .14em; }
.service-card h3 { margin: 74px 0 13px; font-size: 1.35rem; letter-spacing: -.025em; }
.service-card p { margin: 0; color: #667079; line-height: 1.65; font-size: .92rem; }
.service-cta { background: var(--navy-2); color: white; }
.service-cta p { color: #aeb7bf; }
.service-cta h3 { margin-top: 16px; font-size: 1.8rem; }
.service-cta a { position: absolute; bottom: 30px; left: 30px; right: 30px; padding-top: 17px; border-top: 1px solid rgb(255 255 255 / .25); display: flex; justify-content: space-between; text-decoration: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.work { background: var(--navy); color: white; }
.section-heading.light > p { color: #b7c0c8; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project { margin: 0; height: 440px; position: relative; overflow: hidden; background: #132d49; }
.project-wide { height: 590px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project:hover img { transform: scale(1.025); }
.project figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; padding: 50px 24px 22px; background: linear-gradient(transparent, rgb(3 14 27 / .82)); }
.project figcaption span { font-family: "Manrope", sans-serif; font-size: 1.2rem; font-weight: 700; }
.project figcaption small { color: #c7cdd2; text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; }

.about-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: 100px; }
.about-copy .lead { margin: 30px 0 42px; color: #56616a; font-size: 1.06rem; line-height: 1.8; }
.standards { border-top: 1px solid #d0d4d6; }
.standards div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #d0d4d6; }
.standards strong { color: var(--navy-2); font-family: "Manrope", sans-serif; }
.standards span { color: #68727a; font-size: .9rem; line-height: 1.55; }
.about-image { margin: 0; position: relative; }
.about-image img { width: 100%; height: 620px; object-fit: cover; }
.about-image figcaption { position: absolute; left: -40px; bottom: 36px; width: 190px; padding: 20px; background: white; color: var(--navy); font-family: "Manrope", sans-serif; font-weight: 700; line-height: 1.35; box-shadow: 0 18px 50px rgb(7 26 48 / .12); }

.contact { position: relative; overflow: hidden; background: var(--blue); color: white; padding: 105px 0; }
.contact-lines { position: absolute; inset: -50% -10% auto 45%; width: 700px; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / .09); transform: rotate(38deg); }
.contact-lines::before, .contact-lines::after { content: ""; position: absolute; inset: 80px; border: inherit; }
.contact-lines::after { inset: 160px; }
.contact-inner { position: relative; }
.contact h2 { max-width: 850px; font-size: clamp(3rem, 7vw, 6.5rem); }
.contact-inner > p:not(.eyebrow) { color: #cad2da; font-size: 1.05rem; }
.contact-actions { margin-top: 34px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button-light { background: white; color: var(--navy); }
.email-link { text-underline-offset: 6px; font-size: .9rem; }
.email-link span { margin-left: 8px; }

footer { background: #061526; color: #c8cdd2; padding: 34px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-inner img { width: 72px; height: 72px; object-fit: contain; }
.footer-inner p { margin: 0; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-inner p:last-child { justify-self: end; }

@media (max-width: 820px) {
  .nav-wrap { height: 78px; }
  .menu-toggle { display: block; border: 1px solid rgb(255 255 255 / .5); background: transparent; color: white; padding: 10px 13px; font: inherit; font-size: .78rem; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 24px 20px; background: var(--navy); flex-direction: column; align-items: stretch; gap: 18px; }
  .site-nav.open { display: flex; }
  .nav-call { text-align: center; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-image { object-position: 58% center; }
  .hero-content { padding-top: 74px; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .project, .project-wide { height: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image img { height: 520px; }
  .about-image figcaption { left: 20px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-inner p:last-child { justify-self: center; }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand { width: 62px; height: 62px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-copy { font-size: .96rem; }
  .hero-actions .button { width: 100%; }
  .trust-line { gap: 8px; letter-spacing: .1em; }
  .scroll-cue { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
  .project, .project-wide { height: 390px; }
  .project figcaption { align-items: start; flex-direction: column; gap: 5px; }
  .about-image img { height: 430px; }
  .standards div { grid-template-columns: 90px 1fr; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .email-link { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
