:root {
  --ink: #172033;
  --muted: #657184;
  --line: #d9dee7;
  --surface: #ffffff;
  --surface-strong: #f5f7fa;
  --brand: #136e77;
  --brand-dark: #0d454b;
  --accent: #c9982b;
  --accent-soft: #fff4d9;
  --footer: #101722;
  --shadow: 0 18px 45px rgba(17, 29, 46, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 222, 231, 0.8);
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--footer);
  color: #dce4ef;
  font-size: 0.84rem;
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.topbar-inner span {
  margin-right: auto;
}

.navbar {
  min-height: 78px;
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #263244;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  padding: 0.7rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
  border-color: var(--accent);
}

.nav-links .nav-cta {
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  padding: 0.62rem 0.9rem;
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.72rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  overflow: hidden;
  color: #fff;
  background: #12202d;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 27, 43, 0.92) 0%, rgba(14, 27, 43, 0.74) 42%, rgba(14, 27, 43, 0.28) 100%),
    url("assets/projects-banner.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  min-height: calc(100vh - 114px);
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0 4rem;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.card-tag {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-text {
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: #e7edf4;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  padding: 0.76rem 1.1rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #111827;
  background: var(--accent);
  box-shadow: 0 14px 30px rgba(201, 152, 43, 0.24);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.contact-actions .button.secondary,
.careers-section .button.secondary {
  color: var(--brand-dark);
  border-color: var(--line);
  background: #fff;
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 0.25rem;
  width: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: #dce4ef;
  font-size: 0.92rem;
}

.section {
  padding: 5.8rem 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.84fr) minmax(0, 1.16fr);
  gap: 4rem;
  align-items: start;
}

.section h2 {
  margin: 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.prose p,
.feature-panel p,
.contact-section p,
.credential-item span,
.info-card p,
.project-card p {
  color: var(--muted);
}

.prose p:first-child {
  margin-top: 0;
}

.muted-section,
.news-training-section {
  background: var(--surface-strong);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.feature-panel,
.press-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 1.5rem;
}

.info-card h3,
.project-card h3,
.feature-panel h2,
.contact-card h3 {
  margin: 0 0 0.7rem;
  line-height: 1.15;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.value-list li {
  padding: 0.46rem 0.62rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #735716;
  font-size: 0.9rem;
  font-weight: 800;
}

.section-heading {
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.project-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(17, 29, 46, 0.08);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card div {
  padding: 1rem;
}

.project-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card.featured img {
  height: 380px;
}

.credentials-section {
  background: #fff;
}

.credential-list {
  display: grid;
  gap: 0.8rem;
}

.credential-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.credential-item strong {
  color: var(--brand-dark);
}

.feature-panel {
  min-height: 300px;
  padding: 2rem;
}

.press-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.25rem;
}

.press-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.press-copy {
  padding-right: 1rem;
}

.press-copy h2 {
  margin-bottom: 0.75rem;
}

.press-copy p {
  color: var(--muted);
}

.press-meta {
  margin-top: 0;
  color: var(--ink);
  font-weight: 800;
}

.feature-panel.dark {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-dark), #19354a);
}

.feature-panel.dark h2,
.feature-panel.dark p {
  color: #fff;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand);
  font-weight: 900;
  border-bottom: 2px solid var(--accent);
}

.feature-panel.dark .text-link {
  color: #fff;
}

.careers-section {
  padding: 4rem 0;
  background: var(--accent-soft);
}

.careers-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.careers-inner h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  padding: 2rem;
}

address {
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
}

.site-footer {
  padding: 3rem 0;
  color: #d8e0eb;
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.site-footer img {
  width: 170px;
  margin-bottom: 1rem;
  padding: 0.4rem;
  background: #fff;
  border-radius: var(--radius);
}

.site-footer p {
  margin: 0;
  color: #aeb8c7;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 980px) {
  .topbar-inner a {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 114px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .hero-inner,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 360px;
  }

  .card-grid.three,
  .card-grid.two,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .press-card {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .project-card.featured {
    grid-column: span 2;
  }

  .careers-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 145px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-inner span {
    margin-right: 0;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(2.9rem, 14vw, 3.8rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-inner {
    padding: 4rem 0 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .card-grid.three,
  .card-grid.two,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .press-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .press-card img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
    background: var(--surface-strong);
  }

  .press-copy {
    padding-right: 0;
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .project-card.featured img,
  .project-card img {
    height: 230px;
  }

  .credential-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}