:root {
  --ink: #172033;
  --muted: #53617a;
  --brand: #0f5d62;
  --brand-dark: #08454a;
  --surface: #f3f7f7;
  --line: #d7e1e2;
  --focus: #f59e0b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand-dark);
}

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

.container {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.wordmark {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark span {
  color: var(--brand);
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.hero {
  padding: clamp(5rem, 14vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
  background: linear-gradient(135deg, var(--surface), var(--white) 72%);
}

.hero-content {
  max-width: 55rem;
}

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

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

h2 {
  margin-bottom: 2.25rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--brand);
  border-radius: 0.35rem;
  color: var(--white);
  background: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

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

.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

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

.service-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.service-card p,
.approach-grid > p,
.site-footer p {
  color: var(--muted);
}

.approach {
  background: var(--surface);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.approach-grid h2 {
  margin-bottom: 0;
}

.approach-grid > p {
  max-width: 30rem;
  margin-bottom: 0;
  font-size: 1.15rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
}

.footer-name {
  color: var(--ink) !important;
  font-weight: 750;
}

.site-footer h2 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer p {
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 42rem) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

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

  .approach-grid {
    gap: 1rem;
  }

  .copyright {
    grid-column: auto;
  }
}
