*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #11151C;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F9;
  --accent: #E2552B;
  --muted: #5A6473;
  --hairline: #E6E8EC;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1080px;
  --side-pad: clamp(1rem, 4vw, 2.5rem);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-stack);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Header ───────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-mark {
  display: inline-block;
  width: 0.5625rem;
  height: 0.5625rem;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Hero ─────────────────────────────────────────── */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--side-pad) clamp(3rem, 8vw, 6rem);
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-subhead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

/* ── Shared ───────────────────────────────────────── */

.section {
  padding: clamp(3rem, 8vw, 5rem) var(--side-pad);
}

.section-what,
.section-contact {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-intro {
  text-align: center;
  color: var(--muted);
  max-width: 36rem;
  margin: 2rem auto 3rem;
}

/* ── What we do ───────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

/* ── Approach ─────────────────────────────────────── */

.section-approach {
  max-width: var(--max-width);
  margin: 0 auto;
}

.approach-copy {
  max-width: 38rem;
  margin: 2rem auto 0;
}

.approach-copy p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.approach-copy p:last-child {
  margin-bottom: 0;
}

/* ── Contact ──────────────────────────────────────── */

.section-contact {
  text-align: center;
}

.contact-line {
  color: var(--muted);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--hairline);
  padding-bottom: 0.125rem;
  transition: color 0.15s, border-color 0.15s;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-email:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Button ───────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: #c94b24;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Footer ───────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2rem var(--side-pad);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
}
