/* Jimmys Stump Grinding Service — Design DNA
   Mood: industrial, heavy-equipment trade grit, cleared land after the work is done
   Color: charcoal canvas (dark), safety-amber + rust brand colors, no soft greens
   Type: Fraunces (display, heavy weights, uppercase tracking) + Inter (body)
   Layout: centered stacked hero with full-width stat bar, spec-sheet service list
            (not a card grid), diagonal clipped CTA band
   Motion: calm fades, plus a slow-draw saw-cut line through tree rings
   Signature element: hand-drawn tree-ring cross-section sliced by a grinder cut line,
            with wood-chip particles kicking off the cut
*/

:root {
  --charcoal: oklch(18% 0.012 250);
  --charcoal-alt: oklch(23% 0.014 250);
  --charcoal-raised: oklch(27% 0.016 250);
  --ink: oklch(93% 0.01 90);
  --ink-soft: oklch(72% 0.015 90);
  --amber: oklch(74% 0.16 70);
  --amber-dark: oklch(62% 0.16 68);
  --rust: oklch(52% 0.16 35);
  --line: oklch(36% 0.015 250);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--charcoal);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---- Nav ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px;
  max-width: 1120px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-brand span { color: var(--amber); }

.nav-links { display: flex; gap: 32px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--amber); }

.nav-cta {
  background: var(--amber);
  color: var(--charcoal) !important;
  padding: 11px 22px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Hero: centered, stacked, full-width stat bar ---- */
.hero {
  max-width: 900px;
  margin: 72px auto 0;
  padding: 0 32px;
  text-align: center;
}

.hero .eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  margin-bottom: 22px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero .sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.22s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.34s forwards;
}

.btn-primary {
  background: var(--amber);
  color: var(--charcoal);
  padding: 15px 30px;
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--amber-dark); }

.btn-secondary {
  border: 1.5px solid var(--line);
  padding: 15px 30px;
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Signature element: tree-ring cross-section + saw-cut line ---- */
.hero-visual {
  position: relative;
  max-width: 640px;
  margin: 56px auto 0;
}
.ring-svg { width: 100%; height: auto; }
.ring { fill: none; }
.cut-path {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawCut 1.8s ease-out 0.5s forwards;
}
@keyframes drawCut {
  to { stroke-dashoffset: 0; }
}
.chip {
  opacity: 0;
  animation: popChip 0.5s ease-out forwards;
}
.chip:nth-child(6) { animation-delay: 1.3s; }
.chip:nth-child(7) { animation-delay: 1.45s; }
.chip:nth-child(8) { animation-delay: 1.6s; }
.chip:nth-child(9) { animation-delay: 1.75s; }
.chip:nth-child(10) { animation-delay: 1.9s; }
@keyframes popChip {
  from { opacity: 0; transform: translateY(4px) scale(0.6); }
  to { opacity: 0.9; transform: translateY(0) scale(1); }
}
@media (hover: hover) {
  .hero-visual:hover .cut-path { animation: drawCut 1s ease-out forwards; }
}

/* ---- Stat bar (replaces rating badge) ---- */
.stat-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 720px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-bar .stat-item {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
}
.stat-bar .stat-item:last-child { border-right: none; }
.stat-bar strong {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--amber);
  display: block;
}
.stat-bar span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---- Sections ---- */
section { padding: 90px 0; }
.section-alt { background: var(--charcoal-alt); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 16px; max-width: 640px; text-transform: uppercase; }
.section-head p { color: var(--ink-soft); font-size: 17px; max-width: 560px; }

/* Spec-sheet service list (not a card grid) */
.service-list { margin-top: 48px; border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-row .num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--amber);
  font-weight: 700;
}
.service-row h3 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.service-row p { font-size: 15px; color: var(--ink-soft); }

@media (max-width: 700px) {
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row p { grid-column: 1 / -1; }
}

/* ---- Testimonial strip ---- */
.testimonial {
  border-left: 3px solid var(--amber);
  padding-left: 28px;
  max-width: 680px;
  margin: 48px auto 0;
}
.testimonial p { font-size: 20px; font-family: 'Fraunces', serif; font-style: italic; color: var(--ink); margin-bottom: 12px; font-weight: 500; }
.testimonial cite { font-size: 14px; color: var(--ink-soft); font-style: normal; }

/* ---- CTA band: diagonal clipped edge ---- */
.cta-band-wrap {
  background: var(--rust);
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  padding: 100px 32px;
}
.cta-band {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.cta-band h2 { color: var(--ink); font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; text-transform: uppercase; }
.cta-band p { color: oklch(90% 0.02 40); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--charcoal); color: var(--amber); }
.cta-band .btn-primary:hover { background: var(--charcoal-alt); }

/* ---- Footer ---- */
footer {
  padding: 40px 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Inner page layout (about/contact) ---- */
.page-header {
  padding: 64px 32px 0;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.page-header h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 16px; text-transform: uppercase; }
.page-header p { font-size: 18px; color: var(--ink-soft); }

/* About: horizontal stat strip up top, single-column narrative below (spec-sheet feel) */
.about-stats {
  display: flex;
  max-width: 900px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-stats .stat {
  flex: 1;
  border-left: none;
  border-right: 1px solid var(--line);
  padding: 26px 20px;
  text-align: center;
}
.about-stats .stat:last-child { border-right: none; }
.about-stats .stat strong { font-family: 'Fraunces', serif; font-size: 26px; display: block; color: var(--amber); }
.about-stats .stat span { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

.about-body {
  max-width: 720px;
  margin: 56px auto 90px;
  padding: 0 32px;
}
.about-body p { margin-bottom: 18px; color: var(--ink-soft); font-size: 17px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 56px auto 90px;
  padding: 0 32px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 36px;
  background: var(--charcoal-alt);
}
.contact-card a.phone { font-family: 'Fraunces', serif; font-size: 28px; color: var(--amber); display: block; margin: 8px 0 24px; }
.contact-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-row span:first-child { color: var(--ink-soft); text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; }
.contact-row:last-child { border-bottom: none; }

form.light-form { display: flex; flex-direction: column; gap: 16px; }
form.light-form label { font-size: 13px; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
form.light-form input, form.light-form select, form.light-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--charcoal);
  color: var(--ink);
}
form.light-form input:focus, form.light-form select:focus, form.light-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}
form.light-form button {
  background: var(--amber);
  color: var(--charcoal);
  border: none;
  padding: 15px;
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 8px;
}
form.light-form button:hover { background: var(--amber-dark); }

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stat-bar { flex-direction: column; }
  .stat-bar .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-bar .stat-item:last-child { border-bottom: none; }
  .about-stats { flex-direction: column; }
  .about-stats .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .about-stats .stat:last-child { border-bottom: none; }
}
