:root {
  --cream: #f7f4ee;
  --card-cream: #fffcf7;
  --card-blue-end: #e8eef9;
  --navy: #1e3a8a;
  --navy-dark: #16296b;
  --ink: #111827;
  --ink-68: rgba(17, 24, 39, 0.68);
  --ink-62: rgba(17, 24, 39, 0.62);
  --ink-54: rgba(17, 24, 39, 0.54);
  --ink-46: rgba(17, 24, 39, 0.46);
  --rust: #c46a2b;
  --white: #ffffff;
  --border: rgba(17, 24, 39, 0.1);
  --serif: "IBM Plex Serif", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rust);
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 24px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; }

.logo-mark {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.logo-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-62);
}

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}

.site-nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-68);
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn:hover { opacity: 0.85; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}

.btn-sm { padding: 10px 18px; font-size: 12px; }

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-row-center { justify-content: center; }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.hero { padding: 80px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-copy .lede {
  font-size: 17px;
  color: var(--ink-68);
  max-width: 46ch;
  line-height: 1.6;
}

.hero-card {
  background: linear-gradient(135deg, var(--card-cream) 0%, var(--card-blue-end) 100%);
  border-radius: 28px;
  padding: 32px;
}

.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  background: var(--ink-46);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.hero-card p + p { margin-top: 16px; }

/* Section headings */
section .wrap > h2 {
  font-size: 34px;
  line-height: 1.2;
  max-width: 20ch;
}

.section-lede {
  font-size: 16px;
  color: var(--ink-62);
  max-width: 56ch;
  margin-top: 16px;
  line-height: 1.6;
}

.services, .method, .proof { padding: 72px 0; }

/* Cards */
.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  border-radius: 18px;
  padding: 28px 26px;
}

.service-card {
  background: var(--white);
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 20px;
}

.card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--rust);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.card > p:not(.card-label):not(.tag-list) {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-62);
}

.tag-list {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-46);
  margin-top: 20px;
  line-height: 1.7;
}

.method-card { background: var(--card-cream); }

.card-grid.three:has(.method-card) {
  grid-template-columns: repeat(3, 1fr);
}

.method .card-grid.three .method-card:nth-child(4),
.method .card-grid.three .method-card:nth-child(5) {
  grid-column: span 1;
}

/* Proof */
.proof-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.proof-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
}

.proof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.proof-photo-large { min-height: 460px; }

.proof-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proof-photo-stack .proof-photo img { min-height: 220px; }

.photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(17, 24, 39, 0.72);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 999px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-number {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--ink-62);
  line-height: 1.5;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.badge {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  background: var(--navy-dark);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
}

/* CTA */
.cta { padding: 0 0 96px; }

.cta-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--card-blue-end) 100%);
  border-radius: 28px;
  padding: 72px 40px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: 32px;
  line-height: 1.25;
  max-width: 22ch;
  margin: 0 auto;
}

.cta-card p {
  font-size: 16px;
  color: var(--ink-62);
  max-width: 48ch;
  margin: 20px auto 0;
  line-height: 1.6;
}

/* Footer */
.site-footer { padding: 28px 0 40px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-46);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-photo-large { min-height: 300px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  section .wrap > h2 { font-size: 28px; }
  .hero-copy h1 { font-size: 40px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: none; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .nav-toggle { display: flex; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 48px 0; }
  .hero-copy h1 { font-size: 32px; }
  .card-grid.three { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta-card { padding: 48px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
