:root {
  --ink: #10151f;
  --ink-soft: #3f4858;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #f7f8f5;
  --white: #ffffff;
  --navy: #101b34;
  --teal: #007d77;
  --teal-dark: #005c58;
  --amber: #f0b44d;
  --coral: #e96f55;
  --green: #6f9f64;
  --shadow: 0 24px 70px rgba(16, 21, 31, 0.14);
  --radius: 8px;
}

* {
  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.55;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(16, 21, 31, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-copy small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 27, 52, 0.9), rgba(16, 27, 52, 0.47) 52%, rgba(0, 125, 119, 0.28)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2400&q=82")
      center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 32vh;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, 90vw);
  min-height: 88vh;
  margin: 0 auto;
  padding: 104px 0 64px;
}

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

.hero .eyebrow,
.cta .eyebrow {
  color: var(--amber);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(3rem, 6.6vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.3rem);
}

h3 {
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
}

.hero-copy {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button svg,
.text-link svg,
.proof-item svg,
.contact-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  color: #062927;
  background: var(--amber);
}

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

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

.button-light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.section,
.band,
.proof,
.image-feature,
.cta,
.footer {
  padding-left: 5vw;
  padding-right: 5vw;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.band {
  padding-top: 92px;
  padding-bottom: 92px;
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 60px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.section-grid p:last-child {
  margin: 36px 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 90vw);
  margin: -34px auto 0;
  padding: 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 102px;
  padding: 24px;
  background: var(--white);
  font-weight: 800;
}

.proof-item:nth-child(1) svg {
  color: var(--teal);
}

.proof-item:nth-child(2) svg {
  color: var(--coral);
}

.proof-item:nth-child(3) svg {
  color: var(--green);
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 44px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 432px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 21, 31, 0.05);
}

.service-card > svg {
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: var(--teal);
  stroke-width: 1.8;
}

.service-card:nth-child(2n) > svg {
  color: var(--coral);
}

.service-card:nth-child(3n) > svg {
  color: var(--green);
}

.service-card p,
.method-track p,
.about-copy p,
.contact-copy p,
.feature-copy p {
  color: var(--ink-soft);
}

.service-card ul,
.about-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.about-panel li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
}

.service-card li::before,
.about-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--amber);
}

.method {
  background:
    linear-gradient(135deg, rgba(0, 125, 119, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(233, 111, 85, 0.09), transparent 30%),
    var(--white);
}

.method-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-track article {
  min-height: 262px;
  padding: 26px;
  background: var(--white);
}

.method-track span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 950;
}

.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  min-height: 640px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--navy);
  color: var(--white);
}

.feature-image {
  min-height: 640px;
  margin-left: -5vw;
  background:
    linear-gradient(90deg, rgba(16, 27, 52, 0.12), rgba(16, 27, 52, 0.25)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=82")
      center / cover;
}

.feature-copy {
  align-self: center;
  padding: 70px 0 70px 64px;
}

.feature-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.feature-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--amber);
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 54px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-copy p {
  max-width: 770px;
  font-size: 1.05rem;
}

.about-panel {
  align-self: start;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(0, 125, 119, 0.12), transparent 48%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 70px;
  padding-bottom: 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 27, 52, 0.92), rgba(16, 27, 52, 0.72)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=2200&q=82")
      center / cover;
}

.cta > div {
  width: min(820px, 100%);
}

.cta h2 {
  font-size: clamp(2rem, 4.4vw, 4.8rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.74fr);
  gap: 64px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-weight: 850;
}

.contact-list svg {
  color: var(--teal);
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 125, 119, 0.18);
  border-color: var(--teal);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.legal-header {
  position: sticky;
  color: var(--ink);
}

.legal-nav {
  color: var(--ink);
}

.legal-page {
  min-height: 70vh;
  padding: 78px 5vw 110px;
}

.legal-hero {
  width: min(1040px, 100%);
  margin: 0 auto 42px;
  padding: 70px 0 42px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
}

.legal-hero p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.legal-content {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 0 0 20px;
}

.legal-content h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.18;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.legal-content ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  background: #080d18;
}

.footer div:first-child {
  display: grid;
  gap: 4px;
}

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

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .service-grid,
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .image-feature,
  .about,
  .contact,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 430px;
    margin-right: -5vw;
  }

  .feature-copy {
    padding: 58px 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 0 20px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    color: inherit;
    background: transparent;
  }

  .nav-toggle svg {
    width: 20px;
    height: 20px;
  }

  .nav {
    position: fixed;
    inset: 70px 16px auto 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
    gap: 8px;
  }

  .nav a {
    padding: 13px 8px;
  }

  .hero,
  .hero-inner {
    min-height: 88vh;
  }

  .hero-inner {
    width: min(100% - 40px, 1180px);
    padding-top: 106px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.45rem);
    line-height: 1.05;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .service-grid,
  .proof,
  .method-track {
    grid-template-columns: 1fr;
  }

  .section,
  .band,
  .cta {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .proof {
    width: calc(100% - 40px);
  }

  .service-card {
    min-height: unset;
  }

  .about,
  .contact {
    gap: 34px;
  }

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

  .contact-form {
    padding: 22px;
  }

  .legal-page {
    padding-top: 48px;
    padding-bottom: 74px;
  }

  .legal-hero {
    padding-top: 42px;
  }

  .legal-nav {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero,
  .hero-inner {
    min-height: 78vh;
  }

  .intro.band {
    padding-top: 54px;
  }
}

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