@font-face {
  font-family: "Manrope";
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102730;
  --night: #0b2029;
  --text: #3e555e;
  --muted: #acbec4;
  --teal: #006963;
  --mint: #75dfcb;
  --line: #d9e3e5;
  --paper: #f4f7f7;
  --white: #fff;
  --page: 76rem;
  font-family: "Manrope", "Aptos", "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--white); }
main, section, .quote-card { scroll-margin-top: 6rem; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
p, address { line-height: 1.62; }
:focus-visible { outline: 3px solid #1f9c91; outline-offset: 4px; }
.wrap { width: min(var(--page), calc(100% - 7rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; transform: translateY(-200%); z-index: 10; padding: .75rem 1rem; background: var(--white); }
.skip:focus { transform: none; }

.header { position: sticky; top: 0; z-index: 5; background: #0b2029; color: var(--white); border-bottom: 1px solid #728b963d; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header-inner { min-height: 5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: .7rem; text-decoration: none; }
.brand img { width: 2.6rem; height: auto; }
.brand span { font-size: 1.03rem; font-weight: 800; letter-spacing: .12em; line-height: 1.12; }
.brand small { display: block; margin-top: .22rem; color: #b8cdd2; font-size: .66rem; letter-spacing: .24em; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.7rem); }
.nav > a:not(.button), .footer nav a { color: #d4e0e2; font-size: .94rem; font-weight: 600; text-decoration: none; }
.nav > a:not(.button):hover, .footer nav a:hover { color: var(--mint); }
.menu-toggle { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.2rem; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: .25rem; background: var(--mint); color: #0b282a; font-weight: 750; line-height: 1.25; text-decoration: none; }
.button:hover { background: #abf3e6; }
.button-small { min-height: 2.6rem; padding: .58rem .92rem; font-size: .93rem; }
.button-outline { border-color: #bfcfd6aa; background: #0b202966; color: var(--white); }
.button-outline:hover { background: #344e58; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(33rem, 47vw, 43rem); background: var(--night); color: var(--white); overflow: hidden; }
.hero-image, .hero-video { position: absolute; z-index: -2; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 50% 52%; filter: brightness(1.22); }
.hero-video { visibility: hidden; }
.hero-video.is-visible { visibility: visible; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b2029f5 0%, #0b2029d0 26%, #0b20296b 52%, #0b202908 82%), linear-gradient(0deg, #0b202940, transparent 55%); }
.hero-motion { position: absolute; right: clamp(1.25rem, 4vw, 3.5rem); bottom: 1.15rem; min-height: 2.125rem; padding: .25rem .55rem; border: 1px solid #bfcfd6aa; border-radius: .25rem; background: #0b2029db; color: var(--white); font-size: .875rem; }
.hero-motion:hover { background: #29424c; }
.hero-inner { padding-block: 5.7rem 6.1rem; }
.eyebrow { color: var(--teal); font-size: .865rem; font-weight: 800; letter-spacing: .14em; line-height: 1.4; }
.hero .eyebrow { color: var(--mint); margin-bottom: 1.2rem; }
h1, h2 { font-weight: 780; letter-spacing: -.057em; }
h1 { font-size: clamp(3.55rem, 6.7vw, 7.1rem); line-height: .98; }
.hero-summary { max-width: 33rem; margin-top: 1.4rem; color: #e1e9eb; font-size: clamp(1.0625rem, 1.5vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.reach { background: #eaf4f2; border-bottom: 1px solid #dbe8e6; }
.reach-inner { min-height: 4.55rem; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.reach-label { color: var(--teal); font-size: .865rem; font-weight: 800; letter-spacing: .13em; }
.reach ul { display: flex; flex-wrap: wrap; gap: clamp(.7rem, 3.5vw, 3.2rem); align-items: center; padding: 0; margin: 0; list-style: none; font-weight: 750; }
.reach li + li::before { content: ""; display: inline-block; width: .26rem; height: .26rem; margin-right: clamp(.7rem, 3.5vw, 3.2rem); border-radius: 50%; background: #387f76; vertical-align: middle; }

.section { padding-block: clamp(4rem, 7.2vw, 7rem); }
.section-heading { display: grid; grid-template-columns: 1.38fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2.1rem; }
.section-heading .eyebrow, .contact .eyebrow { margin-bottom: .7rem; }
h2 { font-size: clamp(2.4rem, 4.25vw, 4rem); line-height: 1.025; }
.section-heading > p { max-width: 30rem; font-size: 1.06rem; color: var(--text); }
.service-grid, .office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: .32rem; background: var(--white); }
.service-card img { width: 100%; height: clamp(9.5rem, 14vw, 13.5rem); object-fit: cover; }
.service-card:nth-child(2) img { object-position: center 66%; }
.service-copy { padding: 1.35rem 1.35rem 1.55rem; }
h3 { font-size: clamp(1.22rem, 1.85vw, 1.52rem); line-height: 1.15; letter-spacing: -.03em; }
.service-copy p { margin-top: .65rem; color: var(--text); }

.about { background: var(--night); color: var(--white); }
.about .eyebrow { color: var(--mint); }
.about .section-heading > p { color: #c2d2d6; }
.office-grid figure { display: grid; align-items: end; isolation: isolate; min-height: 14rem; position: relative; border: 1px solid #ffffff35; border-radius: .32rem; overflow: hidden; background: #173740; }
.office-grid img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.office-grid figure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #061a22f5, #08222c18 82%); }
.office-grid figcaption { display: grid; gap: .25rem; padding: 1.2rem 1.35rem; }
.office-grid strong { font-size: 1.45rem; letter-spacing: -.025em; }
.office-grid span { color: #e0eded; font-size: .925rem; }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-intro { margin-top: 1rem; max-width: 31rem; color: var(--text); }
address { display: grid; justify-items: start; gap: .13rem; margin-top: 1.4rem; font-style: normal; overflow-wrap: anywhere; }
address a { color: var(--teal); text-underline-offset: .15em; font-weight: 650; }
.address-label { margin-top: .75rem; color: var(--text); font-size: .875rem; font-weight: 700; }
.quote-card { padding: clamp(1.2rem, 3.4vw, 2.75rem); border: 1px solid var(--line); border-radius: .35rem; background: var(--white); box-shadow: 0 8px 21px #0b202909; }
.quote-card h3 { font-size: 1.65rem; }
.form-intro { color: var(--text); margin-block: .55rem 1.35rem; }
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
label { min-width: 0; font-size: .94rem; font-weight: 700; }
label span { font-size: .875rem; color: var(--text); font-weight: 400; }
input, textarea { display: block; width: 100%; margin-top: .4rem; padding: .64rem .72rem; border: 1px solid #acbfc3; border-radius: .22rem; background: #fcfdfd; color: var(--ink); font-weight: 400; font-size: 1rem; }
textarea { resize: vertical; }
::placeholder { color: #5b6d72; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.contact .button { background: #006963; color: var(--white); }
.contact .button:hover { background: #005750; }
.text-button { min-height: 2.65rem; padding: .25rem 0; color: var(--teal); background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.form-status { color: var(--text); font-size: .94rem; }
.form-status:empty { display: none; }

.footer { padding-block: 2rem; color: var(--white); background: var(--night); }
.footer p { color: var(--muted); font-size: .88rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.3rem; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 4rem); }
  .service-grid, .office-grid { gap: .8rem; }
  .service-copy { padding: 1.1rem; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; min-height: 4.4rem; column-gap: 1rem; row-gap: 0; }
  .menu-toggle:not([hidden]) { display: block; min-height: 2.65rem; padding: .4rem .8rem; color: var(--white); background: transparent; border: 1px solid #97abb4; border-radius: .25rem; }
  .nav { width: 100%; gap: .85rem 1.2rem; flex-wrap: wrap; padding-bottom: 1rem; }
  .menu-toggle:not([hidden]) + .nav:not(.is-open) { display: none; }
  .nav > a:not(.button) { padding-block: .45rem; }
  .hero { min-height: 28rem; }
  .hero-inner { padding-block: 4rem; }
  .hero-image, .hero-video { object-position: 61% 50%; }
  .hero::after { background: linear-gradient(90deg, #0b2029f0, #0b202993 57%, #0b202930), linear-gradient(0deg, #0b202978, transparent 68%); }
  h1 { font-size: clamp(2.75rem, 9.2vw, 4.5rem); }
  .hero-summary { max-width: 26rem; }
  .reach-inner { min-height: auto; flex-wrap: wrap; justify-content: flex-start; gap: .4rem 1.3rem; padding-block: .95rem; }
  .section-heading, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .contact-grid { gap: 2rem; }
  .service-grid, .office-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .service-card img { height: clamp(10rem, 33vw, 14rem); }
  .office-grid figure { min-height: 12rem; }
  .footer-inner { flex-wrap: wrap; gap: 1rem 1.2rem; }
}

@media (max-width: 450px) {
  .hero-actions .button { min-height: 3rem; padding-inline: .8rem; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (pointer: coarse) {
  .hero-motion { min-height: 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero-video.is-visible, .hero-motion { visibility: hidden; }
}
