/* Spring Tree Service Pros — base stylesheet
   Single static stylesheet, no build step, no external font/JS dependency.

   Palette: aubergine chrome with a chartreuse highlight, assigned before the
   build. The rationale is recorded outside the web root.

   Contrast, computed rather than eyeballed (WCAG AA needs 4.5:1):
     --inner-script-c on --steady-field ................................ 16.92:1
     --spire-quiet on --steady-field .............................. 6.98:1
     white on --heartwood (chrome) ................ 14.90:1
     white on --burl (buttons, accent) ............ 9.75:1
     white on --burl-deep (hover, footer) ......... 12.97:1
     --burl on --steady-field (links, labels) ............... 9.08:1
     --burl on white .............................. 9.75:1
     nav link / hero lead (#e6dcef) on chrome ..... 11.25:1
     brand mark (--catkin) on chrome .............. 12.17:1
     ink on --catkin (tier tags) .................. 14.85:1
     footer text (#c4b3d4) on --burl-deep ......... 6.64:1
     success text (#4a2769) on #efe7f5 ............ 9.76:1
     error text (#b3261e) on #fdecea .............. 5.72:1
   --cambium (#7a52a0) is the light end of the hero gradient and a card tint
   only; white on it is 5.93:1 but it is never used behind body text.
   --catkin is small-area only: tags and the brand mark, never large fills.
*/

:root {
  --heartwood: #371a4a;
  /* RGB channels of --heartwood, for the hero photo scrim. */
  --humble-dim-layer: 55, 26, 74;
  --cambium: #7a52a0;
  --burl: #5a2f80;
  --burl-deep: #42225d;
  --catkin: #e4f25a;
  --steady-field: #f8f6f9;
  --ash-bright: #ffffff;
  --inner-script-c: #1b1221;
  --spire-quiet: #5e4f69;
  --brook-keyline: #e3dbe9;
  --ebony-radius: 10px;
  --trim-limit: 1100px;
  /* The fixed CTA bar's real height: 10+12 padding plus a 0.95rem line
     (24px), +3px slack. Above 721px the link grows to 1rem. */
  --isle-bar-h: 71px;
}
@media (min-width: 721px) { :root { --isle-bar-h: 72px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--inner-script-c);
  background: var(--steady-field);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--burl); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--burl-deep); }
.whistle-bound { max-width: var(--trim-limit); margin: 0 auto; padding: 0 20px; }

/* Header */
header.neat-crown { background: var(--heartwood); color: var(--ash-bright); position: sticky; top: 0; z-index: 50; }
header.neat-crown .chord-gantry {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; max-width: var(--trim-limit); margin: 0 auto; flex-wrap: wrap; gap: 10px;
}
header.neat-crown .marble-nameplate {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.12rem; color: var(--ash-bright); text-decoration: none;
}
header.neat-crown .marble-nameplate span { color: var(--catkin); }
.stout-crest { width: 32px; height: 32px; border-radius: 50%; display: block; flex-shrink: 0; }
header.neat-crown nav { display: flex; gap: 15px; flex-wrap: wrap; }
header.neat-crown nav a { color: #e6dcef; font-size: 0.93rem; text-decoration: none; }
header.neat-crown nav a:hover { color: var(--ash-bright); text-decoration: underline; }
header.neat-crown .gentle-handset-link {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--burl); color: var(--ash-bright); padding: 9px 15px;
  border-radius: var(--ebony-radius); font-weight: 700; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
}
header.neat-crown .gentle-handset-link:hover { background: var(--burl-deep); color: var(--ash-bright); }
@media (min-width: 821px) and (max-width: 1080px) {
  header.neat-crown nav { order: 3; flex: 1 0 100%; justify-content: center; margin-top: 2px; }
}

/* Hero */
.copper-splash {
  background: linear-gradient(150deg, var(--heartwood) 0%, var(--burl) 70%, var(--cambium) 130%);
  color: var(--ash-bright);
  padding: 52px 20px 46px;
}
.copper-splash .whistle-bound { display: flex; flex-direction: column; gap: 16px; }
.copper-splash .vista-overline {
  display: inline-block; width: fit-content;
  border-left: 3px solid var(--catkin); padding: 2px 0 2px 10px;
  font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: #e6dcef;
}
.copper-splash h1 { font-size: 2.15rem; line-height: 1.2; margin: 0; max-width: 780px; }
.copper-splash p.glint-lead { font-size: 1.08rem; color: #e6dcef; max-width: 640px; margin: 0; }
.copper-splash .broad-picks { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.copper-splash .wren-tail-note { font-size: 0.88rem; color: #e6dcef; margin: 0; max-width: 620px; }
.copper-splash.stable-scened {
  background-image:
    linear-gradient(90deg, rgba(var(--humble-dim-layer), 0.93) 0%, rgba(var(--humble-dim-layer), 0.78) 42%, rgba(var(--humble-dim-layer), 0.30) 72%, rgba(var(--humble-dim-layer), 0.06) 100%),
    url('/images/hero-tree-photo.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  min-height: 540px; display: flex; align-items: center; padding: 56px 20px;
}
.copper-splash.stable-scened .whistle-bound { width: 100%; }
@media (max-width: 820px) {
  .copper-splash.stable-scened {
    background-image:
      linear-gradient(180deg, rgba(var(--humble-dim-layer), 0.90) 0%, rgba(var(--humble-dim-layer), 0.82) 55%, rgba(var(--humble-dim-layer), 0.68) 100%),
      url('/images/hero-tree-photo-mobile.jpg');
    min-height: 470px;
  }
  .copper-splash h1 { font-size: 1.68rem; }
}

.tempo-control {
  display: inline-block; padding: 13px 21px; border-radius: var(--ebony-radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center;
}
.tempo-control.nettle-lead-btn { background: var(--burl); color: var(--ash-bright); border: 1px solid rgba(255,255,255,0.28); }
.tempo-control.nettle-lead-btn:hover { background: var(--burl-deep); color: var(--ash-bright); }
.tempo-control.thread-hairline-btn { background: rgba(255,255,255,0.08); color: var(--ash-bright); border: 1px solid rgba(255,255,255,0.4); }
.tempo-control.thread-hairline-btn:hover { background: rgba(255,255,255,0.17); color: var(--ash-bright); }

/* Sections */
section { padding: 46px 20px; }
section.alder-band-b { background: var(--ash-bright); border-top: 1px solid var(--brook-keyline); border-bottom: 1px solid var(--brook-keyline); }
.canvas-rubric-line {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  color: var(--burl); font-weight: 700; margin-bottom: 6px;
}
h2 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 18px; color: var(--heartwood); }
h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--heartwood); }
h2.bough-h { font-size: 1.12rem; margin: 0 0 8px; color: var(--heartwood); }

/* Grid cards */
.wise-tiles { display: grid; gap: 18px; }
.wise-tiles.firm-split-3 { grid-template-columns: repeat(3, 1fr); }
.wise-tiles.firm-bisect { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
  .wise-tiles.firm-split-3, .wise-tiles.firm-bisect { grid-template-columns: 1fr; }
  header.neat-crown .chord-gantry { justify-content: center; text-align: center; }
}
.vital-panel {
  background: var(--ash-bright); border: 1px solid var(--brook-keyline); border-top: 3px solid var(--cambium);
  border-radius: var(--ebony-radius); padding: 20px;
}
.vital-panel p { color: var(--spire-quiet); margin: 6px 0 10px; font-size: 0.95rem; }
.vital-panel a { font-weight: 600; font-size: 0.93rem; }

/* Urgency ladder (homepage and service index) */
ol.wait-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
ol.wait-ladder > li {
  background: var(--ash-bright); border: 1px solid var(--brook-keyline); border-radius: var(--ebony-radius);
  padding: 18px 20px 18px 22px; border-left: 6px solid var(--cambium);
}
ol.wait-ladder > li.ladder-now { border-left-color: var(--heartwood); }
ol.wait-ladder > li.ladder-routine { border-left-color: #b9a7c9; }
.ladder-tag {
  display: inline-block; background: var(--catkin); color: var(--inner-script-c);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 8px;
}
ol.wait-ladder h3 { margin-bottom: 6px; }
ol.wait-ladder p { margin: 0 0 8px; color: var(--spire-quiet); }
ol.wait-ladder .who-first { color: var(--inner-script-c); font-weight: 600; }
ol.wait-ladder .tier-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.93rem; }

/* Long-form copy */
.bark-copy { max-width: 760px; }
.bark-copy p, .bark-copy li { font-size: 1.02rem; }
.bark-copy ul, .bark-copy ol { padding-left: 22px; }
.bark-copy li { margin-bottom: 6px; }
.bark-copy h2 { margin-top: 28px; }
.bark-copy h2:first-child { margin-top: 0; }

/* Sourced fact panel */
.field-record {
  background: #efe7f5; border-radius: var(--ebony-radius); padding: 18px 20px; margin: 18px 0; max-width: 760px;
}
.field-record p { margin: 0 0 8px; }
.field-record p:last-child { margin-bottom: 0; }
.field-record .ringcount-note { font-size: 0.84rem; color: var(--spire-quiet); }

/* Where the tree crew's job stops */
.crew-boundary {
  border: 1px solid var(--brook-keyline); border-left: 4px solid var(--catkin);
  background: var(--ash-bright); border-radius: var(--ebony-radius); padding: 18px 20px; margin: 18px 0; max-width: 760px;
}
.crew-boundary p { margin: 0 0 8px; color: var(--inner-script-c); }
.crew-boundary p:last-child { margin-bottom: 0; }

/* Canopy note */
.canopy-note {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start;
}
.canopy-note dl { margin: 0; display: grid; gap: 12px; }
.canopy-note dt { font-weight: 700; color: var(--heartwood); }
.canopy-note dd { margin: 2px 0 0; color: var(--spire-quiet); font-size: 0.95rem; }
@media (max-width: 820px) { .canopy-note { grid-template-columns: 1fr; } }

/* Numbered steps */
.poplar-progression { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deep-stage { background: var(--ash-bright); border: 1px solid var(--brook-keyline); border-radius: var(--ebony-radius); padding: 18px; display: flex; gap: 12px; }
.deep-stage .sail-beat-count {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #efe7f5; color: var(--burl); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.deep-stage h3 { font-size: 1.02rem; }
.deep-stage p { color: var(--spire-quiet); font-size: 0.93rem; margin: 0; }
@media (max-width: 820px) { .poplar-progression { grid-template-columns: 1fr; } }

/* Comparison table */
.quartz-table-swipe { overflow-x: auto; margin: 16px 0; }
table.compare-grid { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--ash-bright); font-size: 0.94rem; }
table.compare-grid th, table.compare-grid td { border: 1px solid var(--brook-keyline); padding: 10px 12px; text-align: left; vertical-align: top; }
table.compare-grid th { background: #efe7f5; color: var(--heartwood); }

/* FAQ — numbered <details> */
ol.faq-numbered { margin: 0; padding-left: 26px; max-width: 820px; }
ol.faq-numbered > li { padding-left: 4px; }
ol.faq-numbered > li::marker { color: var(--burl); font-weight: 800; }
.true-query-block { border-bottom: 1px solid var(--brook-keyline); padding: 13px 0; }
.true-query-block summary {
  font-size: 1.07rem; font-weight: 650; color: var(--heartwood); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.true-query-block summary::-webkit-details-marker { display: none; }
.true-query-block summary::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--burl); flex-shrink: 0; }
.true-query-block[open] summary::after { content: "\2212"; }
.true-query-block p { margin: 10px 0 0; color: var(--spire-quiet); }

/* Sticky CTA bar */
.knoll-clingbar {
  display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--heartwood);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.18); gap: 10px; justify-content: center;
}
.knoll-clingbar-inner { display: flex; gap: 10px; width: 100%; max-width: var(--trim-limit); margin: 0 auto; }
.knoll-clingbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  text-align: center; padding: 12px 10px; border-radius: var(--ebony-radius);
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.knoll-clingbar .knoll-ring-mark { flex: none; }
.knoll-clingbar-call { flex: 3; background: var(--burl); color: var(--ash-bright); border: 1px solid rgba(255,255,255,0.28); }
.knoll-clingbar-quote { flex: 2; background: rgba(255,255,255,0.1); color: var(--ash-bright); border: 1px solid rgba(255,255,255,0.38); }
.knoll-clingbar-call:hover { background: var(--burl-deep); color: var(--ash-bright); }
.knoll-clingbar-quote:hover { background: rgba(255,255,255,0.18); color: var(--ash-bright); }
.knoll-clingbar .navy-addendum-cta { display: none; }
@media (min-width: 600px) { .knoll-clingbar .navy-addendum-cta { display: inline; } }
@media (min-width: 721px) {
  .knoll-clingbar-inner { justify-content: center; }
  .knoll-clingbar a { flex: 0 0 auto; padding: 12px 24px; font-size: 1rem; }
}
body { padding-bottom: var(--isle-bar-h); }

/* Area links */
.true-zones-list { display: flex; flex-wrap: wrap; gap: 10px; }
.true-zones-list a {
  background: var(--ash-bright); border: 1px solid var(--brook-keyline); padding: 9px 15px;
  border-radius: 999px; color: var(--heartwood); font-size: 0.92rem; text-decoration: none;
}
.true-zones-list a:hover { border-color: var(--burl); }

/* CTA band */
.sigma-outro { background: var(--heartwood); color: var(--ash-bright); text-align: center; padding: 44px 20px; }
.sigma-outro h2 { color: var(--ash-bright); }
.sigma-outro p { color: #e6dcef; margin: 0 auto 18px; max-width: 640px; }
.sigma-outro .tempo-control { margin: 4px; }

/* Contact form */
form.glade-ask-form { display: grid; gap: 12px; max-width: 500px; }
form.glade-ask-form label { font-size: 0.88rem; font-weight: 600; color: var(--heartwood); display: block; margin-bottom: 4px; }
form.glade-ask-form input, form.glade-ask-form select, form.glade-ask-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #cbbfd6; border-radius: var(--ebony-radius);
  font-size: 0.95rem; font-family: inherit; background: var(--ash-bright);
}
form.glade-ask-form .amber-notice-line { font-size: 0.8rem; color: var(--spire-quiet); margin: 0; }
form.glade-ask-form .sonnet-aux-line { position: absolute; left: -9999px; top: -9999px; }
form.glade-ask-form button { cursor: pointer; }
form.glade-ask-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.cedar-status-line { margin-top: 12px; padding: 11px 14px; border-radius: var(--ebony-radius); font-size: 0.9rem; display: none; }
.cedar-status-line.visible { display: block; }
.cedar-status-line.success { background: #efe7f5; color: #4a2769; }
.cedar-status-line.error { background: #fdecea; color: #b3261e; }

/* Breadcrumb */
.sincere-trailmarks { font-size: 0.85rem; color: var(--spire-quiet); padding: 14px 20px 0; max-width: var(--trim-limit); margin: 0 auto; }
.sincere-trailmarks a { color: var(--spire-quiet); }

/* Footer */
footer.neat-crown { background: var(--burl-deep); color: #c4b3d4; padding: 40px 20px 24px; font-size: 0.9rem; }
footer.neat-crown .whistle-bound { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer.neat-crown h2 { color: var(--ash-bright); font-size: 0.95rem; margin: 0 0 10px; }
footer.neat-crown p { margin: 0; }
footer.neat-crown ul { list-style: none; padding: 0; margin: 0; }
footer.neat-crown li { margin-bottom: 6px; }
footer.neat-crown a { color: #c4b3d4; text-decoration: none; }
footer.neat-crown a:hover { color: var(--ash-bright); text-decoration: underline; }
footer.neat-crown .wick-last-row {
  max-width: var(--trim-limit); margin: 24px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 720px) { footer.neat-crown .whistle-bound { grid-template-columns: 1fr 1fr; } }

.heather-placeholder-flag { background: #fff3cd; color: #7a5b00; border: 1px dashed #b08a00; padding: 2px 6px; border-radius: 3px; font-size: 0.82em; }

/* Work photos */
.loyal-work-photo { max-width: var(--trim-limit); margin: 0 auto; padding: 30px 20px; }
.loyal-work-photo img {
  display: block; width: 100%; max-width: 820px; height: auto; margin: 0 auto;
  border-radius: var(--ebony-radius); border: 1px solid var(--brook-keyline);
}

/* Homepage work strip */
.tall-photo-row .primrose-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tall-photo-row img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--ebony-radius); border: 1px solid var(--brook-keyline); background: var(--ash-bright);
}
@media (max-width: 520px) { .tall-photo-row .primrose-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
