/*
 * Tree service: the photo.
 * Every class is prefixed tr-. Field-notebook paper for reading, forest night
 * for the storm chapter and the close, hi-vis orange for the pins and the
 * highlights, leaf green for a job that is booked and storm red for the call
 * that cannot wait.
 */
.tr-page {
  --tr-paper: #f3efe3;
  --tr-sheet: #fffdf6;
  --tr-ink: #1e2419;
  --tr-soft: #3b4533;
  --tr-muted: #5f6a55;
  --tr-rule: #d8d3c0;
  --tr-graphite: #1a2716;
  --tr-graphite-2: #26371f;
  --tr-steel: #3a4d30;
  --tr-orange: #e0640f;
  --tr-forest: #2f5a22;
  --tr-forest-deep: #1b3a12;
  --tr-wire: #e0640f;
  --tr-wire-deep: #8a3d05;
  --tr-wire-wash: #fbe1c9;
  --tr-live: #3f7a2a;
  --tr-live-deep: #2b5a1c;
  --tr-live-wash: #e1eed6;
  --tr-hot: #c7421a;
  --tr-hot-deep: #9a3012;
  --tr-hot-wash: #f6ddd3;
  --tr-on-dark: #edf0e8;
  --tr-on-dark-soft: #b3bfa8;
  --tr-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;
  --tr-hand: "Bradley Hand", "Segoe Print", "Marker Felt", "Comic Sans MS", cursive;
  background: var(--tr-paper);
  color: var(--tr-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.tr-page *, .tr-page *::before, .tr-page *::after { box-sizing: border-box; }
.tr-page ::selection { background: var(--tr-wire); color: var(--tr-ink); }
.tr-page a:focus-visible,
.tr-page summary:focus-visible,
.tr-page [tabindex]:focus-visible { outline: 2px solid var(--tr-live); outline-offset: 4px; }
.tr-close a:focus-visible { outline-color: var(--tr-wire); }
.tr-page section[id] { scroll-margin-top: 130px; }
.tr-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }

.tr-page h1, .tr-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.tr-page h2 { font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; }
.tr-page h1 em, .tr-page h2 em { font-style: italic; }
.tr-page h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.tr-section { padding: clamp(64px, 8vw, 108px) 0; }
.tr-section p { max-width: 68ch; }
.tr-section h2 + p { margin-top: 18px; }
.tr-page p a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tr-page p a:hover { color: var(--tr-live-deep); }
.tr-tie { margin-top: 24px; font-weight: 500; }
.tr-table-scroll { overflow-x: auto; margin-top: 30px; }

/* Chapter tag, like a flag tied to a branch */
.tr-tag {
  display: inline-block; margin: 0 0 18px; padding: 5px 14px; background: var(--tr-orange); color: #fff;
  border-radius: 3px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--tr-wire-wash);
}

/* Buttons and quiet links */
.tr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.tr-button {
  display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--tr-graphite); color: #fff; font-weight: 700; font-size: 15.5px; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(35, 40, 44, 0.85); transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.tr-button:hover { background: var(--tr-live-deep); transform: translateY(-1px); }
.tr-quiet-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: inherit; font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-color: rgba(31, 35, 38, 0.4); text-underline-offset: 5px;
}
.tr-quiet-link:hover { text-decoration-color: currentColor; }
.tr-close .tr-button { background: var(--tr-wire); color: var(--tr-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.7); }
.tr-close .tr-button:hover { background: #f6c64d; }
.tr-close .tr-quiet-link { text-decoration-color: rgba(236, 239, 240, 0.45); }

/* Hero */
.tr-hero-shell {
  padding-top: 101px;
  background-color: var(--tr-paper);
  background-image: radial-gradient(ellipse 55% 60% at 80% 44%, #fff4d6 0, rgba(255, 244, 214, 0) 72%);
  border-bottom: 4px solid var(--tr-wire);
}
.tr-hero {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 60px);
  align-items: start; padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 84px);
}
.tr-hero-copy { padding: 6px 0; }
.tr-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1.03; color: var(--tr-ink); }
.tr-hero h1 .h1-kicker {
  display: block; margin-bottom: 20px; font-family: var(--font-sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--tr-wire-deep);
}
.tr-h1-line { display: inline; }
.tr-lede { margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--tr-soft); max-width: 52ch; }
.tr-price { display: grid; gap: 6px; margin-top: 22px; font-size: 15.5px; color: var(--tr-soft); }
.tr-price strong { color: var(--tr-ink); font-weight: 800; margin-right: 6px; }

/* The signature: one yard photo, five pins */
.tr-photo { margin: 0; }
.tr-pinradio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tr-frame {
  position: relative; background: #fff; padding: 10px 10px 12px; border-radius: 6px; border: 1px solid var(--tr-rule);
  box-shadow: 0 26px 52px -28px rgba(30, 36, 25, 0.55); transform: rotate(-0.6deg);
}
.tr-yard { display: block; width: 100%; height: auto; border-radius: 3px; }
.tr-pin {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; transform: translate(-14px, -14px); cursor: pointer; z-index: 2;
}
.tr-pin-n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tr-orange); color: #fff;
  font-weight: 800; font-size: 14px; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35); flex: none;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}
.tr-pin-name {
  padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.92); color: var(--tr-ink); font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); white-space: nowrap;
}
.tr-pin:hover .tr-pin-n { transform: scale(1.08); }
#tr-pin-wires:checked ~ .tr-frame label[for="tr-pin-wires"] .tr-pin-n,
#tr-pin-house:checked ~ .tr-frame label[for="tr-pin-house"] .tr-pin-n,
#tr-pin-gate:checked ~ .tr-frame label[for="tr-pin-gate"] .tr-pin-n,
#tr-pin-lean:checked ~ .tr-frame label[for="tr-pin-lean"] .tr-pin-n,
#tr-pin-under:checked ~ .tr-frame label[for="tr-pin-under"] .tr-pin-n { background: var(--tr-forest-deep); transform: scale(1.18); }
.tr-pinradio:focus-visible ~ .tr-frame { outline: 2px solid var(--tr-orange); outline-offset: 4px; }
.tr-answers { margin-top: 14px; }
.tr-ans { display: none; padding: 16px 18px; background: var(--tr-sheet); border: 1px solid var(--tr-rule); border-left: 5px solid var(--tr-orange); border-radius: 6px; box-shadow: 0 14px 30px -24px rgba(30, 36, 25, 0.5); }
#tr-pin-wires:checked ~ .tr-answers .tr-ans-wires,
#tr-pin-house:checked ~ .tr-answers .tr-ans-house,
#tr-pin-gate:checked ~ .tr-answers .tr-ans-gate,
#tr-pin-lean:checked ~ .tr-answers .tr-ans-lean,
#tr-pin-under:checked ~ .tr-answers .tr-ans-under { display: block; }
.tr-ans-ask { margin: 0; font-weight: 700; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.tr-ans-ask span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tr-orange); color: #fff; font-size: 12.5px; font-weight: 800; }
.tr-ans-line { margin: 8px 0 0; font-size: 14px; color: var(--tr-soft); }
.tr-ans-line strong { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tr-forest); }
.tr-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--tr-muted); max-width: 60ch; }
.tr-models { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; font-size: 13px; color: var(--tr-muted); }
.tr-model { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--tr-ink); }
.tr-model-maker { font-weight: 500; color: var(--tr-muted); }

/* Jump nav */
.tr-jump { position: sticky; top: 70px; z-index: 5; background: rgba(244, 241, 233, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--tr-rule); }
.tr-jump .tr-wrap { display: flex; gap: 6px 22px; overflow-x: auto; scrollbar-width: none; }
.tr-jump a { flex: none; display: inline-flex; align-items: center; min-height: 48px; font-size: 13.5px; font-weight: 700; color: var(--tr-soft); text-decoration: none; white-space: nowrap; }
.tr-jump a:hover { color: var(--tr-live-deep); }

/* Intro */
.tr-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tr-two p + p { margin-top: 16px; }
.tr-aside { padding: 26px; background: var(--tr-sheet); border: 1px solid var(--tr-rule); border-top: 4px solid var(--tr-wire); border-radius: 8px; }
.tr-aside ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; color: var(--tr-soft); }

/* Chapters */
.tr-chapter { border-top: 1px solid var(--tr-rule); }
.tr-chapter-head { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.tr-chapter-head p + p { margin-top: 16px; }
.tr-chapter-head .tr-tag { justify-self: start; margin-top: 6px; }

/* Tables */
.tr-compare-table {
  width: 100%; border-collapse: collapse; background: var(--tr-sheet); border: 1px solid var(--tr-rule); font-size: 14.5px;
}
.tr-compare-table { min-width: 720px; }
.tr-compare-table th, .tr-compare-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tr-rule); }
.tr-compare-table thead th {
  background: var(--tr-graphite); color: #fff; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.tr-compare-table tbody th { font-weight: 700; width: 26%; }
.tr-compare-table tbody td:last-child { background: var(--tr-live-wash); font-weight: 600; }

/* Emergency: the dark chapter */

/* Big jobs */
.tr-estimate-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 56px); margin-top: 40px; align-items: start; }
.tr-card { background: var(--tr-sheet); border: 1px solid var(--tr-rule); border-top: 5px solid var(--tr-wire); border-radius: 6px; box-shadow: 0 18px 40px -28px rgba(31, 35, 38, 0.5); padding: 22px 24px; }
.tr-card-title { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tr-wire-deep); }
.tr-card dl { margin: 0; }
.tr-card dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--tr-rule); font-size: 14.5px; }
.tr-card dt { font-weight: 800; color: var(--tr-live-deep); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.tr-card dd { margin: 0; }
/* Service */
.tr-rules { padding: 24px 26px; background: var(--tr-sheet); border: 1px dashed var(--tr-live); border-radius: 8px; }
.tr-rules ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--tr-soft); }
.tr-rules > p { margin-top: 16px; font-size: 14.5px; }

/* Search */
.tr-search p + p { margin-top: 16px; }
.tr-pins { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.tr-pins li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: start; padding: 18px; background: var(--tr-sheet); border: 1px solid var(--tr-rule); border-radius: 8px; }
.tr-pin-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tr-orange); color: #fff; font-weight: 800; font-size: 13px; }
.tr-pins div { display: grid; gap: 2px; font-size: 14.5px; color: var(--tr-soft); }
.tr-pins strong { color: var(--tr-ink); }
.tr-pins p { margin: 0; }

/* The quote board */

/* Repeat accounts */

/* Storm prep sheet */
.tr-prep { margin-top: 30px; padding: 22px 24px; background: var(--tr-sheet); border: 1px dashed var(--tr-live); border-radius: 8px; }
.tr-prep ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.tr-prep li { display: flex; gap: 12px; align-items: flex-start; }

/* Answering, kinds */
.tr-answering { border-top: 1px solid var(--tr-rule); }

/* How */
.tr-steps { list-style: none; counter-reset: step; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.tr-steps li { counter-increment: step; position: relative; padding: 0 0 0 54px; }
.tr-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tr-graphite); color: var(--tr-wire); font-weight: 800; }
.tr-steps p { margin-top: 4px; color: var(--tr-soft); }
.tr-check { flex: none; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--tr-live); border-radius: 4px; }

/* FAQ */
.tr-faq { border-top: 1px solid var(--tr-rule); }
.tr-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tr-faq-list { display: grid; gap: 0; border-top: 1px solid var(--tr-rule); }
.tr-faq-list details { border-bottom: 1px solid var(--tr-rule); }
.tr-faq-list summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.tr-faq-list summary::-webkit-details-marker { display: none; }
.tr-faq-list summary span { flex: none; font-size: 22px; color: var(--tr-live); transition: transform 160ms; }
.tr-faq-list details[open] summary span { transform: rotate(45deg); }
.tr-faq-list details p { padding: 0 0 22px; color: var(--tr-soft); max-width: 70ch; }

/* Breadcrumb, close */
.tr-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 22px 0 8px; font-size: 12.5px; color: var(--tr-muted); }
.tr-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.tr-breadcrumb a:hover { color: var(--tr-ink); text-decoration: underline; }
.tr-close { background: var(--tr-graphite); color: var(--tr-on-dark); padding: clamp(64px, 8vw, 100px) 0; }
.tr-close-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tr-close h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.tr-close p { margin-top: 18px; max-width: 58ch; color: var(--tr-on-dark-soft); }
.tr-close aside { display: grid; gap: 4px; align-content: start; }
.tr-close aside strong { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tr-on-dark-soft); margin-bottom: 8px; }
.tr-close aside a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); color: #fff; text-decoration: none; font-weight: 600; }
.tr-close aside a:hover { color: var(--tr-wire); }

/* Responsive */
/* Six systems: hang tags */

@media (max-width: 1000px) {
  .tr-hero, .tr-two, .tr-estimate-grid, .tr-faq-grid, .tr-close-grid { grid-template-columns: 1fr; }
  .tr-chapter-head { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .tr-wrap { width: min(100% - 32px, 1280px); }
  .tr-hero-shell { padding-top: 88px; }
  .tr-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .tr-pin-name { display: none; }
  .tr-frame { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tr-button, .tr-faq-list summary span, .tr-pin-n { transition: none; }
}

/* Service-page plan and estimator request brief. */
.tr-website { background: var(--tr-sheet); border-top: 1px solid var(--tr-rule); }
.tr-website h2 { max-width: 24ch; }
.tr-website p { margin-top: 20px; }
.tr-page-plan { margin-block: 32px; border-top: 1px solid var(--tr-rule); }
.tr-page-plan > div { display: grid; grid-template-columns: .32fr 1fr; gap: 30px; padding-block: 22px; border-bottom: 1px solid var(--tr-rule); }
.tr-page-plan dt { font-weight: 700; color: var(--tr-forest-deep); }
.tr-page-plan dd { margin: 0; max-width: 72ch; }
.tr-request-brief { max-width: 80ch; padding: 24px; border-left: 3px solid var(--tr-forest); background: var(--tr-paper); }
.tr-website a { text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:700px) { .tr-page-plan > div { grid-template-columns: minmax(0,1fr); gap: 9px; } }
