/* ============================================
   Skokie Tree Removal — Design Tokens
   Palette: deep evergreen + bark brown + warm paper, muted gold-green accent
   Type: Fraunces (display, characterful) + Public Sans (body/utility)
   Signature: concentric "growth ring" motif used as divider/marker
   ============================================ */

:root {
  --ink: #1c231e;
  --paper: #f5f3ec;
  --paper-dim: #ece8dc;
  --evergreen: #1f3a2e;
  --evergreen-2: #2e5240;
  --evergreen-tint: #eaf0ea;
  --bark: #7a5b3a;
  --bark-dark: #5e4529;
  --gold: #b99a4d;
  --line: #d9d2bd;
  --white: #fffdf8;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --max-w: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--evergreen-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--evergreen);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 500; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 0.6em;
  display: inline-block;
}

/* ---------- Growth ring signature motif ---------- */
.ring {
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  vertical-align: middle;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.55;
}

.ring-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 3.2em 0 2.2em;
  color: var(--bark);
}
.ring-divider::before, .ring-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.ring-divider .ring { width: 22px; height: 22px; }

/* ---------- Header ---------- */
header.site {
  background: var(--evergreen);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--gold);
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.brand .ring { color: var(--gold); }

nav.primary {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
nav.primary a {
  color: var(--white);
  opacity: 0.88;
  text-decoration: none;
}
nav.primary a:hover { opacity: 1; text-decoration: underline; }

.call-btn {
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}
.call-btn:hover { background: #cbae63; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--evergreen) 0%, var(--evergreen-2) 100%);
  color: var(--white);
  padding: 64px 0 76px;
}
.hero .container { max-width: 820px; }
.hero h1 { color: var(--white); }
.hero p.lede {
  font-size: 1.15rem;
  color: #e7ecdf;
  max-width: 62ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #cbae63; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 58px 0; }
.section.alt { background: var(--evergreen-tint); }
.section.dark {
  background: var(--evergreen);
  color: var(--white);
}
.section.dark h2 { color: var(--white); }

.section > .container > .eyebrow { display: block; }

.lead-copy { max-width: 74ch; }

/* Service grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 2em;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.card h3 { margin-bottom: 0.4em; }
.card a.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

/* FAQ */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
details.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--evergreen);
  cursor: pointer;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "+ "; color: var(--bark); font-weight: 700; }
details.faq[open] summary::before { content: "\2212 "; }
details.faq p { margin-top: 0.8em; }

/* Permit / info callout */
.callout {
  border-left: 4px solid var(--bark);
  background: var(--paper-dim);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }

/* Disclosure strip */
.disclosure {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: #4a4a42;
  padding: 12px 0;
}

/* Footer */
footer.site {
  background: var(--ink);
  color: #cfd4c9;
  padding: 46px 0 30px;
  font-size: 0.92rem;
}
footer.site h3 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
footer.site a { color: #cfd4c9; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  margin-bottom: 30px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #33392f;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #8b917f;
}

/* CTA band */
.cta-band {
  background: var(--bark);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }

/* Photo banner under hero */
.photo-banner { background: var(--paper); }
.photo-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* Utility */
.text-center { text-align: center; }
.small { font-size: 0.85rem; color: #55584d; }

@media (max-width: 720px) {
  nav.primary { display: none; }
  .hero { padding: 48px 0 56px; }
}
