:root {
  --navy: #12184c;
  --navy-2: #071033;
  --ink: #172033;
  --muted: #687180;
  --line: #d8dee8;
  --soft-line: #edf0f4;
  --stone: #f6f3ee;
  --white: #ffffff;
  --accent: #f05a28;
  --accent-dark: #bf421c;
  --sky: #d9eff8;
  --sage: #dfe9df;
  --gold: #f4c14f;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(7, 16, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(18, 24, 76, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 154px;
  text-decoration: none;
}

.brand img {
  width: 138px;
  height: auto;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}

.nav-cta {
  margin-left: 6px;
  color: var(--navy) !important;
  background: var(--white) !important;
}

.nav-cta:hover {
  background: var(--sky) !important;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 76svh;
  color: var(--white);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero.short {
  min-height: 58svh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 51, 0.9) 0%, rgba(7, 16, 51, 0.72) 42%, rgba(7, 16, 51, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 16, 51, 0.34) 0%, rgba(7, 16, 51, 0.5) 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 72px 0 42px;
}

.hero-copy {
  max-width: 760px;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sky);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(38px, 5.2vw, 66px);
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  color: #3d4656;
  font-size: 20px;
  line-height: 1.5;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 2vw, 26px);
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 62px 0;
}

.section.alt {
  background: var(--stone);
}

.section.blue {
  color: var(--white);
  background: var(--navy);
}

.section.blue h2,
.section.blue h3,
.section.blue .lead {
  color: var(--white);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-head.wide {
  width: 100%;
  max-width: 100%;
}

.section-head.wide .lead {
  width: 100%;
  max-width: 100%;
}

.section-head.center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.light {
  color: var(--navy);
  background: var(--white);
}

.button.light:hover {
  background: var(--sky);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button.outline {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.button.outline:hover {
  border-color: var(--navy);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -44px;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 118px;
  padding: 22px;
  background: var(--white);
}

.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.05;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card,
.pathway,
.contact-route,
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card {
  padding: 24px;
}

.card.accent-top {
  border-top: 5px solid var(--accent);
}

.card.sky {
  background: var(--sky);
}

.card.sage {
  background: var(--sage);
}

.card.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--navy);
}

.card.dark h3,
.card.dark p {
  color: var(--white);
}

.meta-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.number {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.pathway {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.pathway img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.pathway-body {
  padding: 26px;
}

.pathway-action {
  padding: 0 26px 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.text-link:hover::after {
  width: 36px;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border-left: 4px solid var(--accent);
  background: var(--white);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.band {
  padding: 54px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 24, 76, 0.98), rgba(18, 24, 76, 0.86)),
    url("../img/development-aerial.jpg") center/cover;
  border-radius: var(--radius);
}

.band h2 {
  color: var(--white);
}

.band p {
  max-width: 730px;
  color: rgba(255, 255, 255, 0.86);
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--white);
}

.detail-table th,
.detail-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.detail-table th {
  width: 32%;
  color: var(--navy);
  background: #f8fafc;
  font-weight: 800;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.case-card-body {
  padding: 24px;
}

.case-card .tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  color: var(--navy);
  background: var(--sky);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.quote {
  margin: 0;
  padding: 28px;
  border-left: 5px solid var(--accent);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.quote p {
  font-size: 20px;
  line-height: 1.45;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--white);
}

.contact-panel a {
  color: var(--white);
  font-weight: 800;
}

.contact-route {
  padding: 22px;
}

.contact-route p {
  margin-bottom: 14px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-2);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 38px;
}

.footer-logo {
  width: 132px;
  margin-bottom: 18px;
}

.footer-col h2,
.footer-col h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 17px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .mobile-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    margin: 0;
    padding: 10px 16px 18px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .hero,
  .hero.short {
    min-height: 68svh;
  }

  .hero-inner {
    align-items: flex-end;
    padding: 90px 0 48px;
  }

  .proof-row,
  .grid.four,
  .grid.three,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    min-height: 300px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .brand img {
    width: 118px;
  }

  .hero,
  .hero.short {
    min-height: 72svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 16, 51, 0.88) 0%, rgba(7, 16, 51, 0.74) 58%, rgba(7, 16, 51, 0.5) 100%);
  }

  .hero-inner {
    padding: 82px 0 36px;
  }

  .section {
    padding: 62px 0;
  }

  .proof-row,
  .grid.two,
  .grid.three,
  .grid.four,
  .process {
    grid-template-columns: 1fr;
  }

  .proof-row {
    margin-top: 0;
    box-shadow: none;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .band {
    padding: 30px 22px;
  }

  .detail-table,
  .detail-table tbody,
  .detail-table tr,
  .detail-table th,
  .detail-table td {
    display: block;
    width: 100%;
  }

  .detail-table th {
    border-bottom: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
