:root {
  color-scheme: light;
  --ink: #18201f;
  --muted: #586160;
  --line: #d8dedb;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --navy: #004f7b;
  --teal: #0f766e;
  --gold: #f3b31a;
  --rose: #b45d69;
  --steel: #3d5966;
  --shadow: 0 20px 45px rgb(24 32 31 / 12%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgb(251 252 250 / 88%);
  border-bottom: 1px solid rgb(216 222 219 / 80%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 48px;
  height: 36px;
  object-fit: contain;
  border-radius: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a:hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  min-height: 92svh;
  display: grid;
  align-items: end;
  position: relative;
  padding: 110px clamp(20px, 6vw, 72px) 64px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 35 58 / 84%) 0%, rgb(0 62 95 / 58%) 48%, rgb(9 22 28 / 18%) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 8rem);
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--navy);
  color: #fff;
}

.button.primary:hover {
  background: #003f63;
}

.button.secondary {
  color: #fff;
  border-color: rgb(255 255 255 / 50%);
}

.button.secondary:hover {
  border-color: #fff;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 104px) clamp(20px, 4vw, 36px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.intro div {
  min-height: 116px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgb(24 32 31 / 6%);
}

.intro strong {
  display: block;
  color: var(--navy);
  font-size: 2.4rem;
  line-height: 1;
}

.intro span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.split,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: start;
}

.section h2 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.section p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service span {
  color: var(--steel);
  font-weight: 900;
}

.service h3,
.work-grid h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.service p,
.work-grid p {
  grid-column: 2;
  margin: 0;
}

.capabilities {
  max-width: none;
  background: #f6f2e8;
}

.capabilities .section-heading,
.capability-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.capabilities .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
}

.capabilities .section-heading .eyebrow,
.capabilities .section-heading h2 {
  grid-column: 1;
}

.capabilities .section-heading p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.capability-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--panel);
  border: 1px solid #e2d9c4;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgb(24 32 31 / 7%);
}

.capability-grid span {
  width: fit-content;
  margin-bottom: 34px;
  padding: 6px 10px;
  color: var(--navy);
  background: rgb(0 79 123 / 9%);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.capability-grid h3 {
  margin: auto 0 8px;
  font-size: 1.2rem;
}

.capability-grid p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.work {
  max-width: none;
  background: #edf2ef;
}

.work .section-heading,
.work-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.work-grid img {
  aspect-ratio: 1.28;
  object-fit: cover;
}

.work-grid h3,
.work-grid p {
  padding-left: 20px;
  padding-right: 20px;
}

.work-grid h3 {
  padding-top: 20px;
}

.work-grid p {
  padding-bottom: 24px;
}

.about-image {
  min-height: 520px;
  border-radius: 8px;
  background: url("https://images.unsplash.com/photo-1497215842964-222b430dc094?auto=format&fit=crop&w=1100&q=80") center / cover;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.contact {
  align-items: stretch;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 800;
}

.contact-details a {
  color: var(--navy);
}

.contact-details span {
  color: var(--steel);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgb(15 118 110 / 18%);
  border-color: var(--navy);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 30;
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 88svh;
  }

  .intro,
  .split,
  .about,
  .contact,
  .work-grid,
  .capabilities .section-heading,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capabilities .section-heading .eyebrow,
  .capabilities .section-heading h2,
  .capabilities .section-heading p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .intro div {
    min-height: auto;
  }

  .about-image {
    min-height: 340px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 42px;
    height: 32px;
  }

  .hero {
    padding: 96px 18px 46px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
