/* Scott Mumford Heating and Air — "the signed work order"
   Split: carbon-copy paper hero / shop-ink body, single sign-off spruce accent. */

:root {
  --carbon: #f3eddb;
  --carbon-wash: #e9dfc4;
  --ink: #1c2321;
  --ink-band: #161c1b;
  --cream: #f0ead6;
  --muted-ink: #8a8f8b;
  --muted-paper: #6d6455;
  --hairline-paper: #d6cba8;
  --hairline-ink: #2c3533;
  --spruce: #0f6a55;
  --spruce-deep: #0b5243;
  --spruce-soft: #cfe0d6;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

h1, h2, h3, .brand-word {
  font-family: "Cardo", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
}
h1 em, h2 em, .brand-word em, .final-title em, .wo-sign em { font-style: italic; color: var(--spruce); }

.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem;
  color: var(--spruce-deep); margin: 0 0 1rem;
}
.eyebrow-cream { color: var(--spruce-soft); }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--spruce); color: #faf8ef; padding: 0.75rem 1.25rem; z-index: 50; }
.skip:focus { left: 0.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 237, 219, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-slip { width: 38px; height: 38px; border-radius: 8px; background: var(--spruce); color: #faf8ef;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Cardo", serif; font-weight: 700; font-size: 0.8rem; flex: none; }
.brand-word { font-size: 1.2rem; margin: 0; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-solid { background: var(--spruce); color: #faf8ef; box-shadow: 0 2px 0 var(--spruce-deep); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15, 106, 85, 0.4); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--carbon); transform: translateY(-2px); }
.btn-call { background: var(--ink); color: var(--carbon); padding: 0.65rem 1.2rem; font-size: 0.95rem; white-space: nowrap; }
.btn-call:hover { background: var(--spruce-deep); transform: translateY(-2px); }

/* Hero: carbon paper */
.hero { background: var(--carbon); color: var(--ink); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-title { font-size: clamp(2.9rem, 6.5vw, 4.9rem); }
.hero-title em { color: var(--spruce-deep); }
.hero-sub { font-size: 1.15rem; color: var(--muted-paper); max-width: 36ch; margin: 0 0 1.5rem; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 0 0 2rem; padding: 0; font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.trust-row li { display: flex; align-items: center; gap: 0.55rem; }
.stamp { width: 1.7em; height: 1.7em; border-radius: 50%; border: 2px solid var(--spruce); color: var(--spruce-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.72em; font-weight: 800; flex: none; }
.stamp::before { content: "✓"; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Signature device: the work order */
.work-order {
  margin: 0; background: #faf5e6; border: 1px solid var(--hairline-paper);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(28, 35, 33, 0.45);
}
.wo-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.25rem; border-bottom: 2px dashed var(--hairline-paper); }
.wo-no { font-family: "Cardo", serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.wo-chip { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--spruce); color: #faf8ef; border-radius: 999px; padding: 0.4rem 0.9rem; white-space: nowrap; }
.work-order img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; }
.wo-foot { padding: 0.9rem 1.25rem; border-top: 2px dashed var(--hairline-paper); }
.wo-sign { font-family: "Cardo", serif; font-size: 1.1rem; color: var(--ink); }
.wo-sign em { font-size: 1.35rem; color: var(--spruce-deep); }

/* Signature-swipe divider */
.sig-divider { height: 44px; display: flex; align-items: center; justify-content: center; background: var(--ink); padding: 0; }
.sig-divider svg { width: min(620px, 80%); height: 40px; }
.sig-path { stroke: var(--spruce); stroke-width: 3; stroke-linecap: round; opacity: 0.9; }

/* Services */
.services { background: var(--ink); }
.services .section-title { color: var(--cream); }
.services .eyebrow { color: var(--spruce-soft); }
.service-rows { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--hairline-ink); }
.service-row { display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem; align-items: start;
  padding: 1.8rem 0; border-bottom: 1px solid var(--hairline-ink); transition: background 0.2s ease; }
.service-row:hover { background: var(--ink-band); }
.row-chip { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--spruce-soft);
  border: 1px solid var(--spruce); border-radius: 8px; padding: 0.45rem 0.6rem; text-align: center; margin-top: 0.3rem; }
.service-row h3 { font-size: 1.7rem; color: var(--cream); margin: 0 0 0.35rem; }
.service-row p { margin: 0; color: var(--muted-ink); max-width: 54ch; }

/* The Scott Mumford Way */
.way { background: var(--ink-band); }
.way .section-title { color: var(--cream); }
.way .eyebrow { color: var(--spruce-soft); }
.way-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.way-steps li { border: 1px solid var(--hairline-ink); border-radius: var(--radius); padding: 1.6rem; background: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease; }
.way-steps li:hover { transform: translateY(-4px); border-color: var(--spruce); }
.way-chip { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--spruce); color: #faf8ef; border-radius: 6px; padding: 0.4rem 0.8rem; margin-bottom: 1rem; }
.way-steps h3 { font-size: 1.4rem; color: var(--cream); margin: 0 0 0.4rem; }
.way-steps p { margin: 0; color: var(--muted-ink); }

/* Reviews: work-order slips */
.reviews { background: var(--ink); }
.reviews .section-title { color: var(--cream); }
.reviews .eyebrow { color: var(--spruce-soft); }
.review-list { display: grid; gap: 1.6rem; margin-top: 2.5rem; }
.review-slip { margin: 0; background: var(--carbon); color: var(--ink); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); border-left: 8px solid var(--spruce);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.5); }
.review-stars { color: var(--spruce-deep); letter-spacing: 0.15em; margin: 0 0 0.8rem; font-size: 1.1rem; }
.review-slip > p:nth-of-type(2) { margin: 0 0 1.2rem; font-size: 1.06rem; }
.review-slip footer { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.review-slip cite { font-style: normal; font-family: "Cardo", serif; font-weight: 700; font-size: 1.15rem; }
.review-chip { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--hairline-paper); border-radius: 999px; padding: 0.35rem 0.8rem; color: var(--muted-paper); }

/* FAQ */
.faq { background: var(--ink-band); }
.faq .section-title { color: var(--cream); }
.faq .eyebrow { color: var(--spruce-soft); }
.faq-list { margin-top: 2rem; border-top: 1px solid var(--hairline-ink); }
.faq-list details { border-bottom: 1px solid var(--hairline-ink); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: "Cardo", serif; font-weight: 700; font-size: 1.25rem; color: var(--cream); padding: 1.2rem 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.7rem; color: var(--spruce-soft); flex: none; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted-ink); margin: 0 0 1.4rem; max-width: 60ch; }

/* Final CTA */
.final-cta { background: var(--spruce-deep); color: var(--cream); text-align: center; }
.final-title { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--cream); }
.final-title em { color: #a9d8bd; }
.final-phone { display: inline-block; font-family: "Cardo", serif; font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem);
  color: #faf8ef; text-decoration: none; margin: 0.5rem 0 1rem; border-bottom: 4px solid var(--carbon); transition: color 0.18s ease; }
.final-phone:hover { color: var(--carbon); }
.final-note { color: #cfe0d6; margin: 0; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--ink-band); color: var(--muted-ink); border-top: 1px solid var(--hairline-ink); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: 0.92rem; }
.site-footer a { color: var(--cream); }
.footer-demo { margin: 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .hero-copy > * { opacity: 0; transform: translateY(24px); animation: heroIn 0.8s ease forwards; }
.js .hero .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.js .hero .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.js .hero .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.js .hero .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
.js .hero .work-order { opacity: 0; transform: translateY(24px); animation: heroIn 0.8s ease 0.4s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .hero-copy > *, .js .hero .work-order { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .way-steps { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 3.6rem 1fr; gap: 1rem; }
  .btn-call { font-size: 0.85rem; padding: 0.6rem 1rem; }
}
