:root {
  --ink: #102f45;
  --muted: #5f7483;
  --line: #d6e4ec;
  --paper: #f4f9fc;
  --white: #ffffff;
  --steel: #0b3f63;
  --signal: #1b638d;
  --signal-dark: #0b3f63;
  --sky: #b9dceb;
  --aqua: #e8f5fa;
  --green: #174f74;
  --shadow: 0 20px 50px rgba(9, 47, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  color: var(--white);
  background: var(--signal);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--signal);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.anchor-target {
  position: absolute;
  top: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(11, 63, 99, 0.14);
  box-shadow: 0 12px 34px rgba(9, 47, 71, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand-logo {
  width: 158px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(16, 47, 69, 0.76);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

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

.nav a {
  padding: 8px 0;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.header-cta {
  color: var(--signal-dark);
  border-color: rgba(27, 99, 141, 0.44);
}

.header-cta:hover {
  color: var(--white);
  background: var(--signal);
  border-color: var(--signal);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    url("https://images.unsplash.com/photo-1570710891163-6d3b5c47248b?auto=format&fit=crop&w=2400&q=86")
    center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 35, 56, 0.94), rgba(11, 63, 99, 0.7) 45%, rgba(11, 63, 99, 0.22)),
    linear-gradient(0deg, rgba(6, 35, 56, 0.8), rgba(6, 35, 56, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 46px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.section-heading,
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 34px;
}

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

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

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

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(185, 220, 235, 0.14);
}

.button.dark {
  color: var(--white);
  background: var(--steel);
}

.button.dark:hover {
  background: #082c45;
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 800px;
  margin: 54px 0 0;
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats div {
  padding: 22px;
  background: rgba(6, 35, 56, 0.58);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

p {
  margin: 0;
}

.lead-stack {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 19px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.principles article,
.project-grid article,
.contact-card {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(20, 34, 44, 0.04);
}

.principles article {
  min-height: 260px;
  padding: 30px;
  border-top: 4px solid var(--sky);
}

.principles span,
.project-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.principles p,
.section-heading p,
.project-grid p,
.contact p,
.contact-card p {
  color: var(--muted);
}

.principles h3 {
  margin-bottom: 14px;
}

.section-heading {
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading p {
  max-width: 420px;
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(12, 26, 36, 0.2);
}

.service-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-grid h3 {
  padding: 24px 22px 10px;
}

.service-grid p {
  min-height: 118px;
  padding: 0 22px 26px;
  color: var(--muted);
}

.process-band {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(185, 220, 235, 0.2), transparent 34%),
    var(--steel);
}

.process .section-kicker {
  color: var(--sky);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
}

.timeline li {
  min-height: 210px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
}

.timeline strong {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
}

.timeline span {
  color: rgba(255, 255, 255, 0.72);
}

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

.project-grid article {
  min-height: 260px;
  padding: 30px;
}

.project-grid h3 {
  margin-bottom: 16px;
}

.testimonials {
  padding-top: 0;
}

.quote {
  padding: clamp(32px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(27, 99, 141, 0.34), transparent 55%),
    var(--green);
}

.quote p {
  max-width: 930px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
}

.quote span {
  display: block;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-transform: uppercase;
}

.contact {
  padding: 88px clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(rgba(6, 35, 56, 0.78), rgba(6, 35, 56, 0.9)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=2200&q=82")
    center / cover;
}

.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-panel > div:first-child {
  max-width: 680px;
}

.contact h2 {
  margin-bottom: 22px;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-card {
  width: min(420px, 100%);
  padding: 30px;
  color: var(--ink);
}

.mail-link {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
  color: var(--signal);
  font-size: 22px;
  font-weight: 900;
}

.contact-card p {
  margin-bottom: 26px;
  font-size: 16px;
}

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

.quote-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
}

.quote-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--signal);
  content: "";
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #082c45;
  font-size: 14px;
}

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

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .two-column,
  .principles,
  .service-grid,
  .timeline,
  .project-grid,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand-logo {
    width: 144px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 170px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats div {
    padding: 18px;
  }

  .hero-stats,
  .two-column,
  .principles,
  .service-grid,
  .timeline,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    width: calc(100% - 32px);
    padding: 70px 0;
  }

  .principles {
    padding-top: 0;
  }

  .service-grid p {
    min-height: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 12px;
  }

  .header-cta {
    width: 100%;
  }

  .hero-content {
    padding-top: 210px;
  }

  .hero h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
