@font-face {
  font-family: Geist;
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102b37;
  --deep: #0c202a;
  --muted: #4b6067;
  --paper: #fff;
  --wash: #f3f6f5;
  --line: #dbe5e2;
  --accent: #d8f36a;
  --accent-deep: #b7d83f;
  --display: Geist, "Segoe UI", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--body);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h2 { font-size: clamp(2.2rem, 4.1vw, 3.65rem); line-height: 1.05; letter-spacing: -.043em; font-weight: 700; }
h3 { font-size: 1.16rem; line-height: 1.28; letter-spacing: -.027em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid #34747d; outline-offset: 5px; }
.hero :focus-visible, .opportunities :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
section[id] { scroll-margin-top: 20px; }

.container { width: min(100% - 112px, 1240px); margin-inline: auto; }
.section { padding-block: 94px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .115em;
  line-height: 1.45;
  text-transform: uppercase;
}
.section-label { margin-bottom: 15px; color: #35595a; }
.section-label::before { content: ""; width: 20px; height: 3px; flex: 0 0 20px; background: var(--accent-deep); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-intro > p { max-width: 380px; color: var(--muted); line-height: 1.55; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 8px 14px; background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 2; background: var(--paper); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand > img { width: 176px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-size: .93rem; font-weight: 650; }
.main-nav > a:not(.button), .nav-more summary { padding-block: 11px; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.button):hover, .nav-more summary:hover { color: #357070; }
.nav-more { position: relative; }
.nav-more summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-more[open] .chevron { transform: translateY(2px) rotate(225deg); }
.nav-panel { position: absolute; top: 100%; right: 0; display: grid; width: max-content; min-width: 209px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #102b371c; }
.nav-panel a { padding: 9px 13px; border-radius: 4px; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--wash); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #285261; }
.nav-contact { min-height: 43px; padding-inline: 16px; }
.button-accent { background: var(--accent); color: #172913; }
.button-accent:hover { background: #e8fa9c; }
.button-outline { border-color: #e4efee91; color: var(--paper); }
.button-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.text-link, .footer-top { font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: #357070; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(550px, 45vw, 675px);
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
}
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; object-fit: cover; object-position: center 61%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0b202b 0%, #0c222deb 27%, #102b37a3 49%, #102b371c 76%, #0d27343b 100%), linear-gradient(0deg, #071f2b69, transparent 38%);
}
.hero-content { padding-block: 60px 66px; }
.hero-label { margin-bottom: 23px; color: #eaf3f0; }
.hero-label > span { width: 23px; height: 3px; background: var(--accent); }
.hero-label b { color: var(--accent); }
.hero h1 { font-size: clamp(4.5rem, 7.3vw, 7rem); font-weight: 700; line-height: .98; letter-spacing: -.057em; }
.hero h1 span, .contact h2 span { color: var(--accent); }
.hero-description { max-width: 440px; margin-top: 25px; color: #e5eeec; font-size: clamp(1.05rem, 1.4vw, 1.19rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.services { padding-top: 76px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.service-card {
  min-height: 204px;
  padding: 23px 22px;
  background: var(--wash);
  border: 1px solid #e7eceb;
  border-radius: 8px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p, .project-grid p { color: var(--muted); }
.icon-tile { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 20px; background: #e4edcc; border-radius: 6px; color: var(--ink); }
.icon-tile svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.property-card { grid-column: span 2; }
.property-card p { max-width: 390px; }

.about { background: var(--wash); }
.about-grid, .contact-grid, .hse-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(38px, 7.4vw, 106px); }
.about-copy > p:not(.eyebrow), .hse-grid p, .contact-grid p:not(.eyebrow) { margin-top: 18px; color: var(--muted); }
.about-copy .text-link { display: inline-block; margin-top: 20px; }
.about-art { width: 100%; height: auto; border-radius: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.project-grid article { padding-top: 19px; border-top: 2px solid var(--line); }
.project-grid h3 { margin-bottom: 7px; }

.opportunities { background: var(--ink); color: var(--paper); }
.opportunity-grid { display: grid; grid-template-columns: 1fr 1fr; }
.opportunity-grid > section { padding-block: 65px; }
.opportunity-grid > section:first-child { padding-right: clamp(30px, 6vw, 80px); border-right: 1px solid #ffffff29; }
.opportunity-grid > section + section { padding-left: clamp(30px, 6vw, 80px); }
.opportunity-grid .section-label, .contact .section-label { color: #d3e2df; }
.opportunity-grid h2 { font-size: clamp(2.1rem, 3.7vw, 3.2rem); }
.opportunity-grid p:not(.eyebrow) { margin-block: 16px 23px; color: #d6e4e3; }

.hse-list { margin: 0; }
.hse-list > div { padding: 15px 0; border-top: 1px solid var(--line); }
.hse-list > div:last-child { border-bottom: 1px solid var(--line); }
.hse-list dt { font-weight: 750; }
.hse-list dd { margin: 2px 0 0; color: var(--muted); }

.contact { background: var(--deep); color: var(--paper); }
.contact-grid p:not(.eyebrow) { max-width: 460px; color: #d6e4e3; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.address-card { background: #193744; border: 1px solid #e5efee25; border-radius: 8px; padding: 25px 28px; }
.address-card h3 { margin-bottom: 10px; }
.address-card address { color: #e2edeb; }
.footer { background: var(--deep); color: #d6e4e3; border-top: 1px solid #e5efee30; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; }
.footer-brand { gap: 9px; color: var(--paper); font-family: var(--display); font-size: 1.17rem; font-weight: 750; line-height: 1.05; }
.footer-brand > img { width: 40px; }
.footer-brand span span { display: block; margin-top: 3px; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-top { font-size: .91rem; }
.footer-top:hover { color: var(--accent); }

@media (max-width: 1020px) {
  .container { width: min(100% - 68px, 1240px); }
  .main-nav { gap: 17px; }
  .brand > img { width: 155px; }
  .footer-brand > img { width: 40px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .property-card { grid-column: 1 / -1; min-height: 172px; }
}

@media (max-width: 780px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 61px; }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0; padding-block: 4px; }
  .brand > img { width: 146px; }
  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--paper);
    color: var(--ink);
    font-size: .9rem;
    font-weight: 750;
    cursor: pointer;
  }
  .menu-icon { position: relative; width: 16px; height: 10px; border-block: 2px solid currentColor; }
  .menu-icon::after { content: ""; position: absolute; top: 3px; left: 0; width: 100%; height: 2px; background: currentColor; }
  .main-nav { flex: 0 0 100%; display: grid; gap: 0; padding-block: 8px 14px; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + .main-nav { display: none; }
  .main-nav > a:not(.button), .nav-more summary { padding: 9px 0; border-top: 1px solid var(--line); }
  .nav-panel { position: static; width: auto; box-shadow: none; }
  .nav-contact { justify-self: start; margin-top: 8px; }
  .hero { min-height: 550px; }
  .hero-art { object-position: 64% 59%; }
  .hero::after { background: linear-gradient(90deg, #0b202bf2, #0c222dc2 47%, #102b373b), linear-gradient(0deg, #071f2b85, transparent 56%); }
  .hero h1 { font-size: clamp(3.9rem, 11vw, 6rem); }
  .section-intro { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 25px; }
  .section-intro > p { max-width: 460px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 185px; padding: 18px; }
  .property-card { min-height: auto; }
  .about-grid, .contact-grid, .hse-grid { grid-template-columns: 1fr; gap: 27px; }
  .about-art { max-width: 560px; }
  .project-grid { gap: 18px; }
  .opportunity-grid > section { padding-block: 45px; }
  .footer-brand > img { width: 40px; }
}

@media (max-width: 500px) {
  .hero { min-height: 565px; align-items: end; }
  .hero-content { padding-block: 86px 45px; }
  .hero-art { object-position: 72% 54%; }
  .hero::after { background: linear-gradient(0deg, #0b202b 1%, #0b202bf2 24%, #0b202b73 69%, #102b3730), linear-gradient(90deg, #0b202bb3, transparent 78%); }
  .hero-label { font-size: .68rem; gap: 7px; letter-spacing: .085em; }
  .hero-label > span { width: 16px; }
  .hero h1 { font-size: clamp(3.45rem, 13.5vw, 4.35rem); }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .button { padding-inline: 14px; }
  .service-grid, .project-grid, .opportunity-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card .icon-tile { margin-bottom: 14px; }
  .opportunity-grid > section:first-child { padding-right: 0; border-right: 0; border-bottom: 1px solid #ffffff29; }
  .opportunity-grid > section + section { padding-left: 0; }
  .footer-inner { flex-wrap: wrap; gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
