/* Joel's Tree Services: minimal / raw */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --green: #1d4a2a;
  --muted: #4a4a4a;
  --line: 2px solid var(--ink);
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }

.skip {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100;
}
.skip:focus { top: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  font-family: var(--mono); font-weight: 600; font-size: 0.9375rem;
  text-decoration: none; border: var(--line); border-radius: 0;
  transition: background-color .15s, color .15s;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-invert { background: var(--paper); color: var(--green); border-color: var(--paper); }
.btn-invert:hover { background: var(--green); color: var(--paper); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo {
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
  text-decoration: none; margin-right: auto; white-space: nowrap;
}
.logo span { font-weight: 400; }
.nav { display: none; }
.header-call { min-height: 48px; padding: 0 16px; }
.hide-sm { display: none; }

/* Hero */
.hero { border-bottom: var(--line); padding: 40px 0 0; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 6.4vw, 3.25rem);
  line-height: 1.12; letter-spacing: -0.025em; font-weight: 700;
  max-width: 20ch;
}
.lede { margin-top: 18px; max-width: 46ch; color: var(--muted); font-size: 1.125rem; }
.big-phone {
  display: block; margin-top: 28px;
  font-size: clamp(2.3rem, 10.4vw, 5.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  text-decoration: none; white-space: nowrap;
  border-top: var(--line); border-bottom: var(--line); padding: 16px 0;
}
.big-phone:hover { color: var(--green); }
.actions { display: grid; gap: 12px; margin-top: 24px; }
.rating {
  margin-top: 18px; font-family: var(--mono); font-size: 0.875rem;
}
.facts { border: var(--line); border-bottom: 0; margin: 0 -16px; border-left: 0; border-right: 0; }
.facts dl { margin: 0; }
.facts dl > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--ink);
}
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); font-weight: 600; padding-top: 2px; }
.facts dd { margin: 0; }

/* Sections */
section { scroll-margin-top: 70px; }
.services, .why, .contact { padding: 56px 0; border-bottom: var(--line); }
.section-head { margin-bottom: 28px; }
.section-head h2, .contact h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
}

/* Services: numbered bordered grid */
.service-list { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.service-list li {
  display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px;
  padding: 22px 0; border-bottom: 1px solid var(--ink);
}
.service-list .num { font-family: var(--mono); font-size: 0.9375rem; color: var(--green); font-weight: 600; padding-top: 4px; grid-row: span 2; }
.service-list h3 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.25; }
.service-list p { margin-top: 6px; color: var(--muted); }
.aside-note { margin-top: 28px; max-width: 62ch; padding-left: 14px; border-left: 4px solid var(--green); }

/* Why */
.why-grid { display: grid; border-top: var(--line); }
.why-item { padding: 26px 0; border-bottom: 1px solid var(--ink); }
.why-big {
  font-size: clamp(2.5rem, 12vw, 4.5rem); font-weight: 700; line-height: 1;
  letter-spacing: -0.04em; color: var(--green); margin-bottom: 14px;
}
.why-item h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.why-item p:last-child { margin-top: 8px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 36px; }
.hours { width: 100%; border-collapse: collapse; margin-top: 24px; border-top: var(--line); }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--ink); vertical-align: top; }
.hours th { font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--green); width: 9.5rem; padding-right: 12px; padding-top: 16px; }
.hours td { overflow-wrap: anywhere; }
.area-h { margin-top: 28px; font-family: var(--mono); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--green); }
.area { margin-top: 8px; color: var(--muted); max-width: 60ch; }
.map-block { border: var(--line); }
.map-block iframe { display: block; width: 100%; height: 320px; border: 0; border-bottom: var(--line); background: #ecebe6; }
.map-caption { padding: 12px 14px; font-size: 0.9375rem; }

/* CTA */
.cta { background: var(--green); color: var(--paper); padding: 56px 0; }
.cta-inner { display: grid; gap: 24px; }
.cta h2 { font-size: clamp(1.75rem, 6vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 22ch; }

/* Footer */
.site-footer { padding: 28px 0 36px; font-family: var(--mono); font-size: 0.875rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-name { font-family: var(--sans); font-weight: 700; font-size: 1rem; width: 100%; }

/* Tablet up */
@media (min-width: 640px) {
  .wrap { padding: 0 32px; }
  .hide-sm { display: inline; }
  .actions { grid-template-columns: auto auto; justify-content: start; }
  .facts { margin: 0; border: var(--line); }
  .why-grid { grid-template-columns: repeat(3, 1fr); border: var(--line); }
  .why-item { padding: 28px 24px; border-bottom: 0; border-right: 1px solid var(--ink); }
  .why-item:last-child { border-right: 0; }
  .service-list { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); }
  .service-list li { padding: 26px 24px; border-bottom: 1px solid var(--ink); }
  .service-list li:nth-child(odd) { border-right: 1px solid var(--ink); }
  .service-list li:nth-last-child(-n+2) { border-bottom: 0; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-name { width: auto; margin-right: auto; }
}

/* Desktop */
@media (min-width: 1000px) {
  .nav { display: flex; gap: 28px; margin-right: 12px; }
  .nav a { font-family: var(--mono); font-size: 0.875rem; }
  .hero { padding: 72px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: end; }
  .services, .why, .contact { padding: 96px 0; }
  .section-head { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 40px; }
  .section-head h2 { margin-top: 0; }
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .service-list li { border-right: 1px solid var(--ink); }
  .service-list li:nth-child(odd) { border-right: 1px solid var(--ink); }
  .service-list li:nth-child(3n) { border-right: 0; }
  .service-list li:nth-last-child(-n+3) { border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .map-block iframe { height: 460px; }
  .cta { padding: 88px 0; }
}
