:root {
  --paper: #f3f0e9;
  --paper-2: #e8e3d9;
  --ink: #172018;
  --forest: #283d2b;
  --forest-2: #19291d;
  --gold: #b78645;
  --line: rgba(23, 32, 24, 0.26);
  --white: #fffdf8;
  --muted: #5e665e;
  --success: #dce9d5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, .serif {
  margin-top: 0;
  font-family: "Ibarra Real Nova", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  color: var(--forest);
}

a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.lead { max-width: 760px; font-size: clamp(18px, 2vw, 22px); color: #354038; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 240, 233, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { text-decoration: none; font-size: 23px; color: var(--forest); }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.site-nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.nav-cta { padding: 11px 16px; border: 1px solid var(--forest); }

.hero { padding: 108px 0 92px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 72px; align-items: end; }
.hero h1 { margin-bottom: 26px; font-size: clamp(54px, 8vw, 96px); letter-spacing: -.035em; }
.hero-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
  font: 600 12px/1 Inter, sans-serif;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button.primary { background: var(--forest); color: var(--white); }
.button.light { border-color: var(--white); color: var(--white); }
.button.gold { border-color: var(--gold); background: var(--gold); color: #171a16; }
.proof-list { display: grid; gap: 18px; }
.proof-item { padding-top: 16px; border-top: 1px solid var(--line); }
.proof-item strong { display: block; font: 500 34px/1 "Ibarra Real Nova", serif; color: var(--forest); }
.proof-item span { font: 11px/1.4 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 84px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--forest-2); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 0; font-size: clamp(38px, 5vw, 60px); }
.section-head p { max-width: 520px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); background: var(--paper); padding: 28px; }
.card h3 { font-size: 31px; margin-bottom: 14px; }
.card p { margin: 0 0 20px; }
.card .card-link { color: var(--forest); font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.card.featured { background: var(--forest); color: var(--white); }
.card.featured h3, .card.featured .card-link { color: var(--white); }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card { border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.project-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.project-body { padding: 28px; }
.project-body h3 { font-size: 34px; margin-bottom: 12px; }

.page-hero { padding: 88px 0 68px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 980px; margin-bottom: 24px; font-size: clamp(50px, 7vw, 82px); letter-spacing: -.03em; }
.page-hero.compact h1 { font-size: clamp(46px, 6vw, 70px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.split h2 { font-size: clamp(38px, 5vw, 58px); }
.stack { display: grid; gap: 14px; }
.check {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--white);
}
.check strong { display: block; margin-bottom: 4px; color: var(--forest); }

.audit-table { width: 100%; border-collapse: collapse; background: var(--white); }
.audit-table th, .audit-table td { padding: 15px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.audit-table th { background: var(--forest); color: var(--white); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.audit-table td:first-child { font-family: "DM Mono", monospace; font-size: 13px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.metric { padding: 28px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font: 500 45px/1 "Ibarra Real Nova", serif; color: var(--forest); }
.metric span { font-size: 12px; color: var(--muted); }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.state { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.state.after { background: var(--success); }
.state h3 { font-size: 32px; }
.state ul { padding-left: 20px; }

.channel-section { padding-top: 64px; }
.channel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.channel {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.channel img { width: 38px; height: 38px; object-fit: contain; }
.channel span { font-size: 12px; font-weight: 700; }
.channel-note { max-width: 860px; margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.gmc-evidence { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; align-items: stretch; }
.gmc-shot { margin: 0; border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.gmc-shot img { width: 100%; display: block; border-bottom: 1px solid var(--line); }
.gmc-shot figcaption { padding: 16px 18px; color: var(--muted); font-size: 13px; }
.evidence-label {
  padding: 11px 16px;
  font: 600 11px/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.evidence-label.bad { background: #efe0d8; color: #7d2b22; }
.evidence-label.good { background: var(--success); color: var(--forest); }
.gmc-result { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--forest); color: var(--white); }
.gmc-result h3 { padding: 0 28px; color: var(--white); font-size: 34px; }
.gmc-result > p:not(.result-number) { padding: 0 28px; }
.result-number { margin: 38px 28px 24px; font: 500 clamp(48px, 7vw, 78px)/.9 "Ibarra Real Nova", serif; }
.result-number span { color: var(--gold); }
.result-checks { display: grid; gap: 8px; margin-top: auto; padding: 24px 28px 28px; }
.result-checks span { padding-top: 9px; border-top: 1px solid rgba(255,255,255,.25); font-size: 13px; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.process-step { min-height: 230px; padding: 24px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font: 12px/1 "DM Mono", monospace;
}
.process-step h3 { font-size: 27px; }

.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.lead-form { padding: 32px; border: 1px solid var(--line); background: var(--white); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

.cta-band { padding: 62px; background: var(--forest); color: var(--white); }
.cta-band h2 { max-width: 800px; margin-bottom: 14px; color: var(--white); font-size: clamp(38px, 5vw, 60px); }
.cta-band p { max-width: 680px; }

.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-size: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; padding: 18px 0; }
  .site-nav { gap: 12px; flex-wrap: wrap; }
  .hero-grid, .split, .form-shell { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .gmc-evidence { grid-template-columns: 1fr; }
  .metric-grid, .process { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner, .footer-inner { display: block; }
  .brand { display: block; margin-bottom: 14px; }
  .site-nav { justify-content: flex-start; }
  .site-nav a { font-size: 10px; }
  .hero, .page-hero { padding: 68px 0 54px; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .section-head h2 { margin-bottom: 16px; }
  .project-grid, .before-after, .field-grid, .metric-grid, .process, .channel-grid { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(2), .process-step, .process-step:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child, .process-step:last-child { border-bottom: 0; }
  .cta-band { padding: 36px 24px; }
}
