:root {
  --navy: #08233f;
  --navy-2: #123452;
  --teal: #0a6f7f;
  --teal-2: #0f8b94;
  --green: #5c7f39;
  --ink: #1e3342;
  --muted: #61737b;
  --line: #dce8e8;
  --paper: #ffffff;
  --wash: #f5faf9;
  --soft: #eaf6f5;
  --shadow: 0 22px 64px rgba(8, 35, 63, 0.095);
  --shadow-soft: 0 12px 32px rgba(8, 35, 63, 0.065);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 10%, rgba(10, 111, 127, 0.075), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(92, 127, 57, 0.085), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 44%, #ffffff 100%);
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 232, 232, 0.88);
}

.header-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.wordmark {
  display: inline-grid;
  color: var(--navy);
  line-height: 1.05;
}

.wordmark-main {
  font-size: 1.36rem;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.wordmark-sub {
  margin-top: 5px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 760;
}

.nav-links a {
  color: var(--muted);
  transition: color 170ms ease;
}

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

.nav-toggle {
  display: none;
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero,
.section,
.focus-strip,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: start;
  padding: 86px 0 58px;
}

.hero-copy {
  max-width: 845px;
}

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

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.35rem, 5.55vw, 4.95rem);
  line-height: 0.99;
  letter-spacing: -0.064em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 3.65vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  color: #334b59;
  font-size: 1.19rem;
}

.hero-copy p:not(.eyebrow) {
  color: #52666f;
  font-size: 1.055rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 14px 32px rgba(10, 111, 127, 0.24);
}

.button.primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.button.secondary {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-panel {
  margin-top: 36px;
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(234,246,245,0.78));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--green));
}

.panel-title {
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.hero-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 26px;
  color: #52666f;
  font-size: 0.95rem;
  font-weight: 650;
}

.hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(10, 111, 127, 0.10);
}

.focus-strip {
  padding: 0 0 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #425963;
  font-size: 0.92rem;
  font-weight: 760;
  box-shadow: 0 8px 24px rgba(8, 35, 63, 0.04);
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 890px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 304px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 111, 127, 0.34);
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
}

.service-card p {
  color: #5c6e75;
}

.about-section {
  padding-top: 48px;
}

.about-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(10,111,127,0.08), rgba(92,127,57,0.10)),
    #ffffff;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: #4f636c;
  font-size: 1.055rem;
}

.scope-section {
  padding-top: 42px;
}

.scope-card {
  max-width: 980px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.scope-card p:not(.eyebrow) {
  color: #52666f;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 38px;
  align-items: center;
}

.contact-copy p {
  max-width: 760px;
  color: #52666f;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--navy), var(--navy-2));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.78);
}

.contact-card a {
  color: #a9e3df;
  font-weight: 900;
  word-break: break-word;
}

.legal-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 34px;
}

.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.legal-card h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-card p {
  color: #5c6e75;
}

.site-footer {
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #687980;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1010px) {
  .header-inner {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .hero,
  .about-card,
  .contact-section,
  .legal-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-panel {
    margin-top: 0;
    max-width: 690px;
  }

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

@media (max-width: 730px) {
  .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 66px;
    grid-template-columns: 220px 1fr;
    gap: 12px;
  }

  .wordmark-main {
    font-size: 1.2rem;
  }

  .wordmark-sub {
    font-size: 0.68rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .hero,
  .section,
  .focus-strip,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 48px 0 36px;
  }

  .section {
    padding: 56px 0;
  }

  .focus-strip {
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.08rem, 11.5vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.82rem, 9vw, 2.8rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .about-card,
  .scope-card {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .header-inner {
    grid-template-columns: 185px 1fr;
  }
}
