:root {
  --ink: #0f1f2e;
  --ink-soft: #31475a;
  --muted: #637583;
  --line: #d9e3e8;
  --paper: #fbfcfb;
  --panel: #ffffff;
  --mist: #eef5f4;
  --teal: #1e6f78;
  --teal-dark: #164f59;
  --gold: #d9a441;
  --rose: #a34f49;
  --shadow: 0 24px 70px rgba(15, 31, 46, .12);
  --max: 1180px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 252, 251, .92);
  border-bottom: 1px solid rgba(217, 227, 232, .8);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .08em;
}

.brand-name {
  font-size: .98rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: .92rem;
  color: var(--ink-soft);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  padding: .7rem .95rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: .92;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .75rem;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 62ch;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .82rem 1.1rem;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 28px rgba(30, 111, 120, .2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
}

.hero-visual {
  padding: clamp(.5rem, 2vw, 1rem);
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-kicker {
  fill: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.svg-label {
  fill: var(--ink);
  font-size: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.svg-node-light,
.svg-node-dark {
  font-size: 21px;
  font-weight: 800;
}

.svg-node-light,
.svg-node-small-light {
  fill: #fff;
}

.svg-node-dark,
.svg-node-small-dark {
  fill: var(--ink);
}

.svg-node-small-light,
.svg-node-small-dark {
  font-size: 14px;
  font-weight: 600;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
}

.trust-strip p {
  min-height: 108px;
  margin: 0;
  padding: 1.35rem;
  background: var(--ink);
  color: #f9fbfb;
  font-weight: 700;
}

.trust-strip p:nth-child(2) {
  background: var(--teal-dark);
}

.trust-strip p:nth-child(3) {
  background: #f4efe4;
  color: var(--ink);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 7rem;
}

.section-intro p,
.about-copy p,
.contact-copy p {
  color: var(--ink-soft);
}

.section-intro.compact {
  position: static;
  max-width: 820px;
  margin-bottom: 2rem;
}

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

.service-card {
  min-height: 250px;
  padding: 1.45rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(15, 31, 46, .06);
}

.service-number {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--rose);
  font-weight: 900;
  font-size: .82rem;
}

.service-card p,
.work-grid p {
  color: var(--ink-soft);
}

.dark-band {
  max-width: none;
  background: var(--ink);
  color: #fff;
}

.band-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.dark-band .eyebrow {
  color: #b8e2e3;
}

.dark-band h2 {
  max-width: 840px;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, .16);
}

.problem-list p {
  min-height: 130px;
  margin: 0;
  padding: 1.15rem;
  background: #132b3f;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-grid article {
  min-height: 240px;
  padding: 1.2rem;
  background: var(--paper);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.credential-panel {
  padding: 1.5rem;
  background: var(--mist);
  border: 1px solid #c8dbdc;
  border-radius: 8px;
}

.credential-panel dl {
  margin: 0;
}

.credential-panel div {
  padding: 1.2rem 0;
  border-bottom: 1px solid #c8dbdc;
}

.credential-panel div:first-child {
  padding-top: 0;
}

.credential-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.credential-panel dt {
  margin-bottom: .25rem;
  font-size: 1.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.credential-panel dd {
  margin: 0;
  color: var(--ink-soft);
}

.contact-section {
  max-width: none;
  background: #f3f7f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-left: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--max)) / 2 + 2rem));
  padding-right: max(clamp(1rem, 4vw, 2rem), calc((100vw - var(--max)) / 2 + 2rem));
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  gap: .42rem;
}

label {
  color: var(--ink-soft);
  font-weight: 800;
  font-size: .92rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd8dd;
  border-radius: 6px;
  padding: .82rem .9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(217, 164, 65, .42);
  outline-offset: 3px;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 1.55rem;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #8e2f2a;
}

.form-status[data-state="success"] {
  color: var(--teal-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem);
  color: var(--ink-soft);
}

.site-footer p {
  max-width: 680px;
  margin: .35rem 0 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-visual {
    max-width: 620px;
  }

  .section-intro {
    position: static;
  }

  .trust-strip,
  .problem-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 75px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: .95rem;
    border-radius: 6px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--mist);
  }

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

  .hero {
    padding-top: 3.25rem;
  }

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

  .service-card,
  .work-grid article {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand-name {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.5rem);
  }

  .hero-actions {
    display: grid;
  }
}

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