:root {
  --teal: #006666;
  --teal-dark: #023542;
  --slate: #06303F;
  --clay: #B5522C;
  --charcoal: #333333;
  --warm-white: #FAF8F4;
  --white: #FFFFFF;
  --muted: #6D716F;
  --line: rgba(6, 48, 63, 0.14);
  --teal-soft: rgba(0, 102, 102, 0.07);
  --clay-soft: rgba(181, 82, 44, 0.09);
  --shadow: 0 18px 50px rgba(6, 48, 63, 0.10);
  --radius: 18px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: "Lato", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
  color: var(--slate);
  font-family: "Space Grotesk", "Lato", Arial, sans-serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.9rem);
  letter-spacing: -0.055em;
  max-width: 9ch;
}

h1 span {
  color: var(--teal);
}

h2 {
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: var(--slate);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  transform: translateY(-180%);
}

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

.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;
}

.eyebrow {
  color: var(--teal);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255,255,255,0.72);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(6, 48, 63, 0.05);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-link {
  flex: 0 0 auto;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav > a:not(.button) {
  text-decoration: none;
  color: var(--slate);
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--teal);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 102, 102, 0.15);
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  background: #005757;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 102, 102, 0.18);
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.84rem;
}

.hero {
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.hero-copy {
  display: grid;
  gap: 28px;
}

.hero-lede {
  max-width: 690px;
  color: #454A48;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.text-link {
  color: var(--slate);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  color: var(--clay);
  margin-left: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--teal);
}

.hero-note {
  max-width: 680px;
  padding-left: 18px;
  border-left: 3px solid var(--clay);
  color: var(--muted);
  font-size: 0.97rem;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -55px -90px -55px -60px;
  z-index: -1;
  background:
    radial-gradient(circle at 45% 45%, rgba(0,102,102,0.10), transparent 58%),
    radial-gradient(circle at 75% 70%, rgba(181,82,44,0.09), transparent 35%);
}

.trace-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px 14px;
  color: var(--teal);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.trace-row img {
  width: 88px;
}

.signal-card {
  padding: 32px 32px 30px;
  border: 1px solid rgba(6,48,63,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.signal-card p:not(.signal-label) {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
}

.signal-card p:last-child {
  padding-bottom: 0;
}

.signal-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.problems {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.42);
}

.section-heading {
  display: grid;
  gap: 20px;
  margin-bottom: 52px;
}

.section-heading.narrow {
  max-width: 790px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.1rem;
}

.split-heading {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  column-gap: 70px;
}

.split-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.problem-card {
  min-height: 260px;
  padding: 28px;
  background: var(--warm-white);
}

.problem-number {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--clay);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.problem-card h3 {
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.capability-section {
  background: var(--warm-white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.capability-card {
  min-height: 420px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.capability-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.capability-card h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.capability-card p {
  color: var(--muted);
}

.capability-card ul {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.capability-card li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: var(--slate);
  font-size: 0.94rem;
  font-weight: 700;
}

.capability-card li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.systems-band {
  padding: 88px 0;
  background: var(--teal-dark);
  color: var(--white);
}

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

.systems-copy {
  max-width: 780px;
  display: grid;
  gap: 18px;
}

.systems-copy p:last-child {
  color: rgba(255,255,255,0.74);
  font-size: 1.08rem;
}

.systems-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 650;
}

.systems-flow b {
  color: var(--clay);
  font-size: 1.3rem;
}

.process-section {
  background: var(--white);
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--clay);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.process-list p {
  max-width: 830px;
  color: var(--muted);
}

.about-section {
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 24px;
}

.about-copy p:not(.eyebrow) {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.08rem;
}

.credibility-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.credibility-card img {
  width: 86px;
  margin-bottom: 24px;
}

.credibility-kicker {
  margin-bottom: 8px;
  color: var(--teal);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credibility-card h3 {
  margin-bottom: 22px;
  font-size: 1.45rem;
}

.credibility-card h3 span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.credibility-card > p:not(.credibility-kicker) {
  color: var(--muted);
  font-size: 0.94rem;
}

.credibility-local {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.local-section {
  padding-top: 30px;
}

.local-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.local-grid > div {
  display: grid;
  gap: 18px;
}

.local-grid p:not(.eyebrow) {
  color: var(--muted);
}

.contact-section {
  padding: 104px 0;
  background: var(--teal);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 22px;
}

.contact-copy h2 {
  color: var(--white);
  max-width: 760px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255,255,255,0.84);
  font-size: 1.08rem;
}

.contact-note {
  padding-left: 16px;
  border-left: 3px solid var(--clay);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  background: rgba(2,53,66,0.34);
}

.contact-card a,
.contact-card span {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.contact-label {
  color: rgba(255,255,255,0.58);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-card .contact-primary {
  margin-bottom: 8px;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.02rem, 2vw, 1.32rem);
  font-weight: 700;
  word-break: break-word;
}

.site-footer {
  padding: 34px 0;
  background: var(--teal-dark);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner img {
  width: 300px;
}

.footer-inner p {
  font-size: 0.82rem;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 86px 20px auto 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--warm-white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 12px 8px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    width: 21px;
    height: 2px;
    background: var(--slate);
  }

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

  .hero-panel {
    max-width: 660px;
  }

  .split-heading,
  .local-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .systems-flow {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  body {
    font-size: 17px;
  }

  .section {
    padding: 80px 0;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
  }

  main {
    padding-top: 90px;
  }

  .header-inner {
    min-height: 90px;
    gap: 12px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-logo {
    width: min(200px, calc(100vw - 104px));
  }

  .nav-toggle {
    flex: 0 0 44px;
  }

  .site-nav {
    top: 90px;
  }

  .hero {
    padding: 62px 0 82px;
  }

  .hero-copy {
    gap: 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }

  .signal-card {
    padding: 24px;
  }

  .problem-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 0;
  }

  .problem-number {
    margin-bottom: 28px;
  }

  .capability-card {
    min-height: 0;
    padding: 28px;
  }

  .systems-flow {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .systems-flow span {
    width: 100%;
  }

  .systems-flow b {
    transform: rotate(90deg);
    line-height: 1;
  }

  .process-list li {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .local-grid {
    padding-top: 52px;
  }

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