:root {
  --ink: #161d1b;
  --ink-soft: #46504c;
  --paper: #f7f7f3;
  --white: #ffffff;
  --red: #c83d32;
  --red-dark: #982b23;
  --green: #285e4a;
  --green-light: #dce9e2;
  --line: #d7dbd8;
  --yellow: #f2c45c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
button, input, select { font: inherit; }

.site-header {
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
  font-size: 0.98rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--red);
  font-weight: 900;
}

.site-header nav { display: flex; gap: 30px; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 0.86rem; }
.site-header nav a:hover { color: var(--red); }

.header-cta {
  justify-self: end;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.88rem;
}

.hero {
  min-height: min(720px, calc(100vh - 72px));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #dfe2df;
}

.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(247,247,243,.98) 0%, rgba(247,247,243,.92) 37%, rgba(247,247,243,.32) 64%, rgba(247,247,243,0) 100%); }

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 58vw);
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 72px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1, h2, h3, p { letter-spacing: 0; }
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}
h1 { font-size: clamp(3.5rem, 6.4vw, 6.8rem); max-width: 760px; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.3rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }

.hero-copy { max-width: 585px; margin: 24px 0 28px; color: var(--ink-soft); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { background: rgba(255,255,255,.75); border-color: #9ba39f; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: white; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; padding: 0; margin: 28px 0 0; list-style: none; font-weight: 800; font-size: .82rem; }
.hero-proof li::before { content: ""; width: 8px; height: 8px; margin-right: 8px; display: inline-block; background: var(--green); }

.process-band { background: var(--ink); color: white; }
.process-band ol { max-width: var(--max); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; list-style: none; }
.process-band li { padding: 12px 22px; display: flex; align-items: center; gap: 13px; border-right: 1px solid #46504c; }
.process-band li:last-child { border-right: 0; }
.process-band span { color: var(--yellow); font-size: .72rem; font-weight: 900; }
.process-band strong { font-size: .88rem; }

.section { max-width: var(--max); margin: 0 auto; padding: 104px 24px; }
.section-heading { max-width: 780px; }
.section-heading > p:last-child { max-width: 650px; color: var(--ink-soft); }
.section-heading.compact { max-width: 650px; }

.service-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { padding: 24px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-number { color: var(--red); font-size: .7rem; font-weight: 900; }
.service-grid h3 { margin: 12px 0 8px; }
.service-grid p { margin: 0; color: var(--ink-soft); max-width: 460px; }

.tracking-section { background: var(--green); color: white; }
.tracking-inner { max-width: var(--max); margin: 0 auto; padding: 104px 24px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 76px; align-items: center; }
.tracking-section .eyebrow { color: #f4ce76; }
.tracking-copy > p:not(.eyebrow) { color: #dce9e2; max-width: 540px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: white; font-weight: 850; margin-top: 18px; text-decoration-color: #f4ce76; text-underline-offset: 5px; }
.tracking-board { display: grid; grid-template-columns: repeat(2, 1fr); background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.3); }
.tracking-board div { min-height: 150px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.tracking-board div:nth-child(2n) { border-right: 0; }
.tracking-board div:nth-child(n+3) { border-bottom: 0; }
.tracking-board span { color: #dce9e2; font-size: .82rem; margin-top: 6px; }

.price-table { margin-top: 48px; border: 1px solid var(--line); background: white; }
.price-row { min-height: 78px; display: grid; grid-template-columns: 1.25fr 1fr .75fr .75fr; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-head { min-height: 46px; background: #eef0ee; color: var(--ink-soft); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.price { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 700; }
.link-button { color: var(--red); background: none; border: 0; padding: 10px 0; font-weight: 850; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pricing-note { color: var(--ink-soft); font-size: .76rem; }

.sample { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; max-width: var(--max); margin: 0 auto 96px; padding: 72px; background: var(--white); border-top: 6px solid var(--red); }
.sample-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.sample-copy ul { list-style: none; padding: 0; margin: 28px 0 0; }
.sample-copy li { padding: 9px 0 9px 24px; position: relative; border-bottom: 1px solid var(--line); font-weight: 700; }
.sample-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.quote-form { padding: 34px; background: var(--paper); border: 1px solid var(--line); }
.quote-form h3 { margin: 0; font-family: Georgia, serif; font-size: 1.65rem; }
.quote-form > p { margin-top: 6px; color: var(--ink-soft); font-size: .84rem; }
.quote-form label { display: block; margin: 16px 0 6px; font-size: .75rem; font-weight: 850; }
.quote-form input, .quote-form select { width: 100%; min-height: 46px; padding: 0 12px; color: var(--ink); background: white; border: 1px solid #adb5b1; border-radius: 2px; }
.quote-form input:focus, .quote-form select:focus { outline: 3px solid rgba(40,94,74,.18); border-color: var(--green); }
.quote-form .button { width: 100%; margin-top: 22px; }
.quote-form .form-note { margin: 10px 0 0; font-size: .7rem; }

footer { min-height: 150px; padding: 42px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto auto; gap: 36px; align-items: center; color: white; background: var(--ink); }
footer p { color: #bfc6c2; font-size: .82rem; }
footer > a:last-child { color: #f4ce76; font-weight: 850; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 720px; align-items: flex-end; }
  .hero-image { object-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(247,247,243,.98) 0%, rgba(247,247,243,.91) 72%, rgba(247,247,243,.32) 100%); }
  .hero-content { width: auto; margin: 0; padding: 66px 24px; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .process-band ol { grid-template-columns: repeat(2, 1fr); }
  .process-band li:nth-child(2) { border-right: 0; }
  .tracking-inner, .sample { grid-template-columns: 1fr; gap: 48px; }
  .sample { margin: 0 20px 72px; padding: 48px 32px; }
}

@media (max-width: 580px) {
  .site-header { min-height: 64px; padding: 0 16px; }
  .header-cta { font-size: 0; }
  .header-cta::after { content: "Call"; font-size: .82rem; padding: 9px 12px; color: white; background: var(--green); }
  .hero { min-height: 670px; }
  .hero-overlay { background: rgba(247,247,243,.88); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { gap: 12px 18px; }
  .process-band ol { grid-template-columns: 1fr; padding: 14px 18px; }
  .process-band li { border-right: 0; border-bottom: 1px solid #46504c; padding: 12px 4px; }
  .process-band li:last-child { border-bottom: 0; }
  .section, .tracking-inner { padding: 76px 20px; }
  .service-grid, .tracking-board { grid-template-columns: 1fr; }
  .service-grid article { padding: 20px; }
  .service-grid h3 { margin-top: 10px; }
  .tracking-board div, .tracking-board div:nth-child(2n), .tracking-board div:nth-child(n+3) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .tracking-board div:last-child { border-bottom: 0; }
  .price-head { display: none; }
  .price-row { grid-template-columns: 1fr auto; gap: 5px 14px; padding: 18px; }
  .price-row span:nth-child(2) { grid-column: 1; font-size: .78rem; color: var(--ink-soft); }
  .price-row span:nth-child(3) { grid-column: 2; grid-row: 1; }
  .price-row span:nth-child(4) { grid-column: 2; grid-row: 2; }
  .sample { padding: 42px 20px; }
  .quote-form { padding: 24px 18px; }
  footer { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
