:root{--ink:#17231d;--primary:#17402c;--primary-deep:#0f2c1e;--foliage:#3f7d4e;--foliage-dark:#245538;--foliage-light:#6a9f62;--accent:#ffc629;--sky:#e6eff2;--soil:#7a5a3c;--paper:#ffffff;}
@font-face { font-family: "Bitter"; src: url("/assets/bitter.f17eb3cff8.woff") format("woff"); font-weight: 600 800; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; }
h1, h2, h3, .brand, .price, .header-phone, .footer-name { font-family: "Bitter", Georgia, serif; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 750; margin: 0 0 .75rem; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .35rem; }
p { margin: 0 0 1rem; max-width: 68ch; }
a { color: var(--primary); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2rem, 48rem); }
.band { background: var(--sky); }
.lead { font-size: 1.25rem; max-width: 42ch; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--accent); color: var(--ink); padding: .6rem 1rem; }
.notice { margin: 0; max-width: none; padding: .6rem 1rem; text-align: center; background: var(--accent); font-weight: 600; }

/* Header and footer */
.site-header { position: relative; z-index: 15; background: var(--primary-deep); color: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .75rem 0; }
.site-header a { color: inherit; text-decoration: none; }
.brand { display: flex; flex: 1; min-width: 0; min-height: 2.75rem; align-items: center; gap: .65rem; font-size: clamp(1rem, 4.6vw, 1.15rem); font-weight: 750; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.site-header nav { width: 100%; }
.site-header nav a { display: inline-block; padding: .6rem 0; border-bottom: 3px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-color: var(--accent); }

/* Menu buttons appear only once nav.js is running; without it every link is listed */
.menu-toggle, .submenu-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; }
.js .menu-toggle { display: grid; place-items: center; flex-shrink: 0; width: 3rem; height: 3rem; padding: 0; border: 2px solid var(--paper); border-radius: 6px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.4rem; height: 3px; border-radius: 2px; background: var(--paper); }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; transition: transform .18s ease; }
.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
.js .submenu-toggle { display: flex; align-items: center; gap: .6rem; font: inherit; border-bottom: 3px solid transparent; }
.submenu-toggle::after { content: ""; width: .5rem; height: .5rem; margin-top: -.25rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.submenu-toggle[aria-expanded="true"]::after { margin-top: .25rem; transform: rotate(225deg); }
.js .submenu-toggle[aria-expanded="false"] + .submenu { display: none; }

/* Phones and small tablets: the menu drops down over the page */
@media (max-width: 55.99rem) {
  .js .menu-toggle[aria-expanded="false"] ~ nav { display: none; }
  .js .site-header nav { position: absolute; top: 100%; left: 0; right: 0; padding: 0 1rem .5rem; background: var(--primary-deep); border-bottom: 4px solid var(--accent); }
  .js .site-header .menu, .js .site-header .submenu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .js .site-header .menu > li { border-top: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
  .js .site-header nav a, .js .submenu-toggle { display: flex; align-items: center; width: 100%; min-height: 3.25rem; padding: .5rem .75rem; font-size: 1.1rem; border: 0; border-left: 4px solid transparent; }
  .js .submenu-toggle { justify-content: space-between; text-align: left; }
  .js .submenu-toggle[aria-expanded="true"] + .submenu { display: flex; padding: 0 0 .4rem 1rem; }
  .js .site-header nav a[aria-current="page"], .js .submenu-toggle.is-current { border-left-color: var(--accent); }
}
.header-phone { display: none; font-size: 1.3rem; font-weight: 800; text-align: right; }
.header-phone small { display: block; font: 400 .875rem/1.3 system-ui, sans-serif; }
.site-footer { background: var(--primary-deep); color: var(--paper); padding: 2.5rem 0 7rem; }
.site-footer a { color: inherit; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.site-footer nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.site-footer nav a, .site-footer p a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-name { font-size: 1.25rem; font-weight: 750; }
.legal { font-size: .875rem; margin: 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; max-width: none; }
.button { display: inline-block; padding: .85rem 1.4rem; border: 2px solid var(--ink); border-radius: 6px; font-weight: 700; text-decoration: none; text-align: center; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-secondary { background: var(--paper); color: var(--ink); }
.button:hover { text-decoration: underline; }

/* Hero and page headings */
.hero { padding-bottom: 1.5rem; }
.page-head { background: var(--sky); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; }
.hero h1 { max-width: 17ch; }
.prices { background: var(--sky); }

/* Installation switch */
.switches { margin: 1.25rem 0; }
.switch { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; font-weight: 700; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 4rem; height: 2.15rem; margin: 0; border-radius: 99px; border: 2px solid var(--ink); background: var(--paper); position: relative; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: .22rem; left: .25rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--ink); transition: transform .18s ease; }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(1.8rem); }
.mulch-option { display: none; margin-top: .5rem; padding: .5rem 0; cursor: pointer; }
.mulch-option input { width: 1.15rem; height: 1.15rem; margin-right: .4rem; vertical-align: -.15rem; accent-color: var(--primary); }
.price-state { margin: .6rem 0 0; min-height: 1.6em; }
.no-has { display: none; }
.v-inst, .v-mulch { display: none; }
.priced:has(#installed:checked) .v-bare { display: none; }
/* The planting fee is already part of installed prices */
.priced:has(#installed:checked) .col-fee { display: none; }
.priced:has(#installed:checked) .v-inst { display: inline; }
.priced:has(#installed:checked) .mulch-option { display: block; }
.priced:has(#installed:checked):has(#mulch:checked) .v-inst { display: none; }
.priced:has(#installed:checked):has(#mulch:checked) .v-mulch { display: inline; }
@supports not selector(:has(*)) {
  .switch, .price-state { display: none; }
  .no-has { display: block; }
}

/* Size lineup: every tree is drawn to the same scale against a 6 ft fence */
.yard { --ft: clamp(30px, 6.2vw, 56px); position: relative; margin-bottom: 1.5rem; }
.yard::before { content: ""; position: absolute; left: 0; right: 0; top: var(--ft); height: calc(var(--ft) * 6);
  border-top: 3px solid var(--soil); opacity: .28;
  background: repeating-linear-gradient(90deg, var(--soil) 0 2px, transparent 2px 22px); }
.fence-label { position: absolute; left: 0; top: calc(var(--ft) - 1.6rem); margin: 0; font-size: .875rem; font-weight: 600; }
.lineup { position: relative; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr)); gap: 0 clamp(.35rem, 1.5vw, 1.25rem); margin: 0; padding: 0; }
.size { display: flex; flex-direction: column; }
.stage { height: calc(var(--ft) * 7 + 5px); display: flex; align-items: flex-end; justify-content: center; border-bottom: 5px solid var(--soil); }
.stage img { display: block; width: auto; max-width: none; }
.ft3 img { height: calc(var(--ft) * 3); }
.ft4 img { height: calc(var(--ft) * 4); }
.ft5 img { height: calc(var(--ft) * 5); }
.ft6 img { height: calc(var(--ft) * 6); }
.ft2 img { height: calc(var(--ft) * 2); }
.ft7 img, .ft8 img { height: calc(var(--ft) * 7); }
/* Prices hang like nursery stock tags */
.tag { position: relative; display: flex; flex-direction: column; flex: 1; margin-top: 1.1rem; padding: 1.35rem .4rem .8rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px 14px 5px 5px; text-align: center; }
.tag::before { content: ""; position: absolute; top: .45rem; left: calc(50% - .3rem); width: .6rem; height: .6rem; border-radius: 50%; border: 2px solid var(--ink); background: var(--sky); }
.is-popular .tag { background: var(--accent); }
.tag h3 { margin: 0; }
.price { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 800; margin: .15rem 0; font-variant-numeric: lining-nums tabular-nums; }
.bulk, .popular { margin: 0; font-size: .9rem; line-height: 1.4; }
.popular { font-weight: 700; }
.tag a { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; margin-top: auto; color: var(--ink); font-size: .9rem; line-height: 1.35; font-weight: 600; }

/* Content blocks */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.5rem 0 0; padding: 0; }
.steps li { counter-increment: step; border-top: 4px solid var(--primary); padding-top: .9rem; }
.steps h3::before { content: counter(step) ". "; }
.table-scroll { overflow-x: auto; margin-bottom: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
th, td { text-align: left; padding: .75rem .5rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
thead th { border-bottom: 3px solid var(--primary); vertical-align: bottom; line-height: 1.3; }
.price-table td { font-weight: 700; }
.terms div { padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
dt { font-weight: 700; }
dd { margin: 0; }
.examples { list-style: none; margin: 0 0 1rem; padding: 0; }
.examples li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; margin-bottom: .5rem; background: var(--paper); border-radius: 5px; }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.faq summary { padding: .9rem 0; font-weight: 700; cursor: pointer; }
.varieties { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.varieties li { border-top: 4px solid var(--primary); padding-top: 1rem; }
.varieties h2 { font-size: 1.4rem; margin-bottom: .1rem; }
.botanical { margin-bottom: .6rem; }
.varieties dl { display: flex; gap: 2rem; margin: 0 0 .75rem; }
.sources { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .9rem; }
article + article { margin-top: 2.5rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.chips li { background: var(--paper); border: 1px solid var(--primary); border-radius: 4px; padding: .3rem .75rem; }
.counties { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin-bottom: 2rem; }
.counties h3 { border-bottom: 4px solid var(--primary); padding-bottom: .4rem; }
.area-map { margin: 0; }
#area-map { height: clamp(22rem, 62vh, 34rem); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--sky); }
.area-map figcaption { margin-top: .75rem; }
.counties ul { list-style: none; margin: 0; padding: 0; }
.cta-band { background: var(--primary); color: var(--paper); }

/* Help me pick calculator */
[hidden] { display: none !important; }
.calculator-section fieldset { border: 0; margin: 0 0 1.75rem; padding: 0; min-width: 0; }
.calculator-section legend { padding: 0; margin-bottom: .75rem; font: 750 1.4rem/1.2 "Bitter", Georgia, serif; }
#calculator, #results-heading { scroll-margin-top: 1rem; }
/* Headings receive focus from the script so screen readers announce them; no ring is needed */
.calculator-section [tabindex="-1"]:focus { outline: none; box-shadow: none; }
#mulch-row label { display: block; padding: .5rem 0; }
#more-varieties summary { padding: .75rem 0; font-weight: 600; cursor: pointer; }
progress { display: block; width: 100%; height: .6rem; margin-bottom: 1.5rem; appearance: none; -webkit-appearance: none; border: 0; background: var(--sky); }
progress::-webkit-progress-bar { background: var(--sky); }
progress::-webkit-progress-value { background: var(--primary); }
progress::-moz-progress-bar { background: var(--primary); }
.options { display: grid; gap: .6rem; }
.options-row { grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); }
.option { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 8px; cursor: pointer; }
.option input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; flex-shrink: 0; accent-color: var(--primary); }
.option:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--accent) 30%, var(--paper)); }
.option strong { display: block; line-height: 1.35; }
.option-detail { display: block; line-height: 1.45; }
button { font: inherit; color: inherit; cursor: pointer; }
.button { font: inherit; font-weight: 700; }
.length-field input, .stepper input { font: 800 1.5rem/1 "Bitter", Georgia, serif; width: 7rem; padding: .6rem .75rem; border: 2px solid var(--ink); border-radius: 6px; }
.quick-picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.quick-picks button, .stepper button:not(.link-button) { min-width: 3rem; min-height: 2.9rem; padding: .4rem .9rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; font-weight: 700; }
.stepper { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; }
.stepper input { text-align: center; }
.link-button { min-height: 2.75rem; background: none; border: 0; padding: .4rem 0; color: var(--primary); text-decoration: underline; text-underline-offset: .18em; font-weight: 600; }
.step-error { color: #8a1c13; font-weight: 700; }
.warning { padding: .75rem 1rem; border-left: 5px solid var(--accent); background: var(--sky); }
.summary { padding: 1.5rem; margin-bottom: 1rem; border: 2px solid var(--ink); border-radius: 14px 14px 6px 6px; background: var(--sky); }
.summary-label { margin: 0; font-weight: 700; }
.total { margin: 0; font: 800 clamp(2.5rem, 10vw, 3.75rem)/1.1 "Bitter", Georgia, serif; font-variant-numeric: lining-nums tabular-nums; }

/* Call and text stay one tap away on phones */
.call-bar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--primary-deep); }
.call-bar .button { padding: .7rem; }

@media (min-width: 56rem) {
  .site-header .wrap { gap: .75rem 2rem; padding: .9rem 0; }
  .site-header nav { width: auto; }
  .js .menu-toggle { display: none; }
  .js .has-submenu { position: relative; }
  .js .submenu-toggle { padding: .6rem 0; }
  .js .submenu-toggle.is-current, .js .submenu-toggle:hover { border-bottom-color: var(--accent); }
  .js .submenu-toggle[aria-expanded="true"] + .submenu { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; position: absolute; top: calc(100% + .5rem); left: -1rem; min-width: 14rem; padding: .4rem 0; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; }
  .js .site-header .submenu a { display: block; padding: .65rem 1rem; border: 0; border-left: 4px solid transparent; white-space: nowrap; }
  .js .site-header .submenu a:hover, .js .site-header .submenu a[aria-current="page"] { border-left-color: var(--primary); background: var(--sky); }
  .header-phone { display: block; }
  .hero .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
  .hero .actions { flex-direction: column; flex-shrink: 0; margin-bottom: 1rem; }
  .site-footer { padding-bottom: 2.5rem; }
  .site-footer .wrap { grid-template-columns: 2fr 1fr; }
  .legal { grid-column: 1 / -1; }
  .call-bar { display: none; }
}
/* Keep focused and linked content clear of the call bar */
@media (max-width: 55.99rem) { html { scroll-padding-bottom: 6rem; } }
@media (max-width: 34rem) {
  h1, h2 { overflow-wrap: break-word; }
  .actions .button { flex: 1 1 100%; }
  .calculator-section form .actions .button { flex: 1 1 0; }
  /* Two trees per row, each in front of its own stretch of fence */
  .yard { --ft: 27px; }
  .yard::before { content: none; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }
  .stage { position: relative; }
  .stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--ft) * 6);
    border-top: 3px solid var(--soil); opacity: .28;
    background: repeating-linear-gradient(90deg, var(--soil) 0 2px, transparent 2px 22px); }
  .stage img { position: relative; }
  th, td { padding: .65rem .3rem; }
  table { font-size: .95rem; }
  .counties { grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 1.5rem 1rem; }
  .counties h3 { font-size: 1.1rem; }
}
@media (max-width: 55.99rem) and (max-height: 30rem) {
  html { scroll-padding-bottom: 4.5rem; }
  .call-bar { padding-top: .35rem; padding-bottom: calc(.35rem + env(safe-area-inset-bottom)); }
  .call-bar .button { padding: .5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
