:root {
  --bg: #f7f8f3;
  --surface: #ffffff;
  --surface-strong: #eef2ec;
  --ink: #16201c;
  --muted: #62706a;
  --line: #d9dfd7;
  --teal: #117d73;
  --teal-dark: #0c5952;
  --clay: #b85f36;
  --gold: #d9a441;
  --shadow: 0 24px 70px rgba(22, 32, 28, 0.11);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
p,
a,
span,
summary {
  overflow-wrap: break-word;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 125, 115, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 125, 115, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 5vw;
  border-bottom: 1px solid rgba(217, 223, 215, 0.9);
  background: rgba(247, 248, 243, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
}

.nav-links {
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.nav-links a:hover,
.header-cta:hover,
.email-line a:hover,
.reference-copy a:hover {
  color: var(--teal-dark);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
}

.section {
  width: 100%;
  max-width: 100vw;
  padding: 5rem 5vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(23rem, 0.78fr);
  gap: 4rem;
  align-items: center;
  padding-top: 4.4rem;
  padding-bottom: 4rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 17ch;
  margin-bottom: 1.25rem;
  font-size: 3.45rem;
}

h2 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.18rem;
}

.hero-intro {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.15rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: var(--bg);
}

.button.primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.email-line {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.email-line span {
  color: var(--ink);
  font-weight: 800;
}

.email-line a,
.reference-copy a {
  color: var(--teal-dark);
  font-weight: 800;
}

.hero-visual {
  display: grid;
  width: 100%;
  gap: 1.1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-visual,
.section-heading,
.split-copy,
.reference-copy,
.bio-copy,
.service-card,
.process-grid article,
.data-grid article {
  min-width: 0;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.visual-header {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.visual-header span:first-child {
  color: var(--ink);
}

.hero-service-list {
  display: grid;
  gap: 0.75rem;
}

.hero-service-item {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 0.95rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.hero-service-item .service-number {
  grid-row: span 2;
  margin: 0;
}

.hero-service-item h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1rem;
}

.hero-service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.problem-band,
.data-section,
.deliverables-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.problem-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1fr);
  gap: 3rem;
  align-items: start;
}

.section-heading.compact {
  max-width: 48rem;
  margin-bottom: 2.3rem;
}

.section-heading.compact h2,
.section-heading.compact p {
  max-width: 44rem;
}

.section-heading.compact p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-list {
  display: grid;
  gap: 0.85rem;
}

.problem-list p {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.05rem;
}

.problem-list p:first-child {
  padding-top: 0;
}

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

.service-card,
.process-grid article,
.data-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  padding: 1.35rem;
}

.service-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card p,
.process-grid p,
.data-grid p,
.bio-copy p,
.reference-copy p,
.faq-list p,
.final-cta p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  display: flex;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card li::before {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  margin-top: 0.57rem;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.split-section,
.reference-section,
.bio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 1fr);
  gap: 4rem;
  align-items: start;
}

.split-copy p {
  max-width: 45rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-list,
.deliverable-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.feature-list span,
.deliverable-list span {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-weight: 680;
}

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

.data-grid article {
  padding: 1.4rem;
}

.reference-section {
  align-items: center;
  background: var(--ink);
  color: var(--bg);
}

.reference-copy p,
.reference-copy .small-note {
  color: rgba(247, 248, 243, 0.76);
}

.reference-copy a {
  color: #a7dfd7;
}

.small-note {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.reference-link {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(247, 248, 243, 0.3);
  border-radius: var(--radius);
  color: var(--bg);
  font-weight: 780;
  text-decoration: none;
}

.reference-link:hover {
  background: rgba(247, 248, 243, 0.08);
}

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

.process-grid article {
  padding: 1.15rem;
}

.process-grid span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 820;
}

.deliverable-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.deliverable-list span {
  min-height: 7.5rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
}

.bio-section {
  background: #edf3ee;
}

.bio-copy {
  grid-column: 2;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 58rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 780;
}

details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
}

.final-cta {
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-right: auto;
  margin-left: auto;
}

.final-cta h2 {
  max-width: 16ch;
}

.final-cta p {
  max-width: 35rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .problem-band,
  .split-section,
  .reference-section,
  .bio-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 2.5rem;
    padding-top: 4rem;
  }

  .hero-visual {
    max-width: 38rem;
  }

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

  .bio-copy {
    grid-column: auto;
  }

  .reference-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .header-cta {
    display: none;
  }

  .section {
    width: 100vw;
    padding: 3.25rem 1rem;
  }

  .hero {
    padding-top: 3.25rem;
    overflow: hidden;
  }

  .hero-copy,
  .hero-intro,
  .hero-visual {
    width: 100%;
    max-width: calc(100vw - 2rem);
  }

  h1 {
    max-width: 12ch;
    font-size: 2.55rem;
  }

  h2 {
    max-width: 16ch;
    font-size: 1.9rem;
  }

  .hero-intro,
  .split-copy p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .visual-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .process-grid,
  .data-grid,
  .deliverable-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .deliverable-list span {
    min-height: auto;
  }
}
