:root {
  --ink: #1d2a33;
  --ink-soft: #4a5862;
  --paper: #fbf8f4;
  --card: #ffffff;
  --line: #e7e0d6;
  --accent: #9e2a2b;
  --accent-dark: #7d1f20;
  --deep: #1f3a4a;
  --sand: #f3ece2;
  --radius: 14px;
  --max: 1120px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.2; }
.brand strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.35rem; display: block; }
.brand span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.btn {
  display: inline-block;
  white-space: nowrap;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent-dark); }
.btn.small { padding: 10px 20px; font-size: 0.92rem; }
.btn.light { background: #fff; color: var(--deep) !important; }
.btn.light:hover { background: var(--sand); }

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(31, 58, 74, 0.35);
  aspect-ratio: 4 / 5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { margin-top: 1rem; font-size: 0.92rem; color: var(--ink-soft); }

/* Proof strip */
.proof { background: var(--deep); color: #fff; padding: 36px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.proof-grid strong { font-family: "Source Serif 4", Georgia, serif; font-size: 2.2rem; display: block; line-height: 1.1; }
.proof-grid span { font-size: 0.95rem; opacity: 0.85; }

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--sand); }
.section-head { margin-bottom: 44px; }

.pain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 1.05rem;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p { color: var(--ink-soft); }
.card .num {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Industries */
.industries { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.industries li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.98rem;
}
.industries li:first-child { border-color: var(--accent); color: var(--accent); }
.industries li:last-child { background: transparent; border-style: dashed; color: var(--ink-soft); }
.industries-block { padding-bottom: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.quote blockquote {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}
.quote figcaption { font-weight: 600; color: var(--accent); font-size: 0.95rem; }
.quote figcaption::before { content: "\2014\00a0"; }

/* CTA band */
.cta-band { background: var(--deep); color: #fff; padding: 80px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: 0.88; max-width: 36em; margin: 0 auto 2rem; font-size: 1.1rem; }

/* About page */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.3fr; gap: 56px; align-items: start; }
.about-grid .hero-photo { position: sticky; top: 100px; }
.prose p { margin-bottom: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.cred {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.cred img { border-radius: 8px; margin: 0 auto; }
.cred .badge { max-width: 220px; }
.cred .cert { border: 1px solid var(--line); }
.cred p { color: var(--ink-soft); font-size: 0.97rem; }
.cred-wide { grid-column: 1 / -1; }

/* Contact */
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-list li { font-size: 1.02rem; }
.contact-list strong { display: inline-block; min-width: 92px; color: var(--ink-soft); font-weight: 500; }

footer { padding: 36px 0; font-size: 0.9rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Mobile */
@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero-grid, .about-grid, .contact-box { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 380px; }
  .about-grid .hero-photo { position: static; }
  .cards, .pain-list, .creds, .quotes { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  section.block { padding: 60px 0; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .brand span { font-size: 0.62rem; letter-spacing: 0.06em; }
  .brand strong { font-size: 1.15rem; }
}
@media (max-width: 520px) {
  .nav-links { gap: 12px; }
  .nav-links li:first-child { display: none; }
  .btn.small { padding: 9px 14px; font-size: 0.85rem; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .nav-links a:not(.btn) { font-size: 0.9rem; }
}
