:root {
  --blue-950: #061d31;
  --blue-900: #082b49;
  --blue-700: #0f4c72;
  --cyan-500: #28a9dd;
  --cyan-100: #dff5fc;
  --wood-500: #b98242;
  --paper: #f6f3ed;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #617080;
  --line: rgba(16, 32, 51, 0.12);
  --shadow: 0 24px 60px rgba(6, 29, 49, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--cyan-500);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
  padding: .75rem clamp(1rem, 3vw, 3rem);
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(150px, 19vw, 220px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .65rem .9rem;
  color: var(--blue-950);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 700;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: #fff;
  background: var(--blue-900);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-900);
}

.hero {
  position: relative;
  min-height: clamp(620px, 88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue-950);
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 29, 49, .92), rgba(6, 29, 49, .58) 48%, rgba(6, 29, 49, .18)),
    linear-gradient(0deg, rgba(6, 29, 49, .92), rgba(6, 29, 49, 0) 48%);
}

.hero__content {
  position: relative;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  color: #fff;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--cyan-500);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  color: inherit;
}

h1 {
  max-width: 780px;
  font-size: 4.4rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 1.35rem;
}

.hero__lead {
  max-width: 650px;
  margin: 1.2rem 0 0;
  font-size: 1.35rem;
}

.hero__actions,
.cta-band__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: var(--cyan-500);
  box-shadow: 0 14px 34px rgba(40, 169, 221, .24);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
}

.button--ghost-dark {
  color: var(--blue-900);
  border-color: var(--line);
  background: #fff;
}

.button--light {
  color: var(--blue-950);
  background: #fff;
}

.band-dark {
  color: #fff;
  background: var(--blue-900);
}

.intro {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.intro__grid,
.text-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro p:last-child,
.rich-text {
  margin: 0;
  font-size: 1.12rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: var(--surface);
}

.section.band-dark {
  background: var(--blue-900);
}

.section--muted {
  background: var(--paper);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.service-grid,
.feature-grid,
.people-grid,
.project-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 260px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 29, 49, .06);
}

.service-tile img {
  width: 72px;
  height: 72px;
}

.service-tile span {
  color: var(--blue-900);
  font-size: 1.4rem;
  font-weight: 900;
}

.service-tile p,
.feature-card p,
.project-card p,
.person-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.35rem;
  box-shadow: var(--shadow);
}

.feature-card img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  margin-bottom: .55rem;
}

.feature-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: none;
}

.cta-band {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.page-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--blue-950);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .52;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 29, 49, .9), rgba(6, 29, 49, .25));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.page-hero__content p:last-child,
.page-title p {
  max-width: 760px;
  font-size: 1.18rem;
}

.page-title {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split__content p {
  font-size: 1.05rem;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-950);
  box-shadow: 0 16px 36px rgba(6, 29, 49, .13);
}

.project-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .82;
  transition: transform .28s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(6, 29, 49, .95), rgba(6, 29, 49, 0));
}

.project-card span {
  color: var(--cyan-100);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h2 {
  margin-top: .25rem;
  font-size: 1.28rem;
  line-height: 1.14;
}

.people-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.people-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.person-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: var(--cyan-100);
}

.person-card h2 {
  font-size: 1.25rem;
}

.person-card a {
  display: block;
  margin-top: .3rem;
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.person-card--featured {
  border-color: rgba(40, 169, 221, .35);
  box-shadow: 0 16px 40px rgba(6, 29, 49, .1);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-list li {
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.team-list span {
  display: block;
  margin-top: .2rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.contact-panel,
.contact-form,
.policy {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 40px rgba(6, 29, 49, .08);
}

.contact-panel h2,
.contact-form h2 {
  font-size: 1.8rem;
}

.contact-panel a,
.policy a {
  color: var(--blue-700);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: .4rem;
  color: var(--blue-950);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fbfbfa;
}

.contact-form textarea {
  resize: vertical;
}

.policy {
  max-width: 880px;
}

.policy h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.policy h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 3rem 0;
  color: #d9e6ee;
  background: var(--blue-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer img {
  margin-bottom: 1rem;
  background: #fff;
}

.site-footer h2 {
  margin-bottom: .8rem;
  color: #fff;
  font-size: 1rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(6, 29, 49, .12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .intro__grid,
  .text-grid,
  .split,
  .contact-layout,
  .cta-band__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    display: grid;
  }

  .service-grid,
  .feature-grid,
  .project-grid,
  .people-grid,
  .people-grid--compact,
  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 3.25rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    width: min(100% - 1.25rem, var(--max));
    padding-bottom: 3.5rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .service-grid,
  .feature-grid,
  .project-grid,
  .people-grid,
  .people-grid--compact,
  .team-list {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .cta-band__actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
