/* ============================================================
   Twisted Pine Tree Service — site stylesheet
   Built on tokens.css. Vanilla CSS, no framework.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-body);
  background: var(--color-bg);
  padding-bottom: 64px; /* room for sticky mobile call bar */
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary-strong); text-decoration-thickness: 2px; }
a:hover { color: var(--color-accent-strong); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
h1, h2 { letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--space-4); }
ul { margin: 0 0 var(--space-4); padding-left: 1.2em; }
li { margin-bottom: var(--space-2); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section { padding: var(--space-9) 0; }
.section-alt { background: var(--color-surface); }
.section-tight { padding: var(--space-7) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: clamp(.8125rem, 1.4vw, .875rem);
  color: var(--color-body);
  margin-bottom: var(--space-3);
}
.eyebrow--accent { color: var(--color-accent-strong); }

.section-head { max-width: 720px; margin: 0 0 var(--space-6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .9em 1.6em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-primary);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--color-accent-strong); color: var(--color-on-primary); }
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.btn-secondary:hover { background: var(--color-primary-strong); color: var(--color-on-primary); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: var(--color-bg); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---- header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-ink);
  min-width: 0;
}
.brand img { height: 56px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-ink);
}
.brand-text span {
  font-size: .8rem;
  color: var(--color-body);
  font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-5);
}
.main-nav a {
  white-space: nowrap;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.main-nav a[aria-current="page"] { color: var(--color-primary-strong); }
.main-nav a:hover { color: var(--color-accent-strong); }

.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}
.phone-btn svg { width: 1.2em; height: 1.2em; color: var(--color-accent); flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-ink);
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1100px) {
  .main-nav { position: fixed; inset: 0; top: 0; background: var(--color-bg); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: var(--space-7) var(--space-5); gap: var(--space-6); transform: translateX(100%); transition: transform .2s ease; overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: var(--space-5); }
  .main-nav a {
  white-space: nowrap; font-size: 1.3rem; }
  .header-cta { display: none; }
  .main-nav .header-cta { display: flex; flex-direction: column; align-items: stretch; margin-top: var(--space-6); }
  .main-nav .header-cta .btn, .main-nav .header-cta .phone-btn { width: 100%; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .nav-close { display: inline-flex; margin-left: auto; }
}

/* ---- mobile sticky call bar -------------------------------------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--color-accent);
  color: var(--color-on-primary);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 14px;
  color: var(--color-on-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .mobile-call-bar { display: block; }
}
@media (min-width: 901px) {
  body { padding-bottom: 0; }
}

/* ---- hero --------------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero video, .hero .hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,27,18,.55) 0%, rgba(34,27,18,.35) 45%, rgba(34,27,18,.75) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; padding: var(--space-8) 0; }
.hero-eyebrow {
  color: #E9F1D6;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
/* stacked display block ("Trim. / Remove. / Clear.") -- decorative,
   aria-hidden in the markup; .hero-eyebrow carries the same words
   for screen readers so nothing is lost. */
.hero-stack {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.06;
  font-size: clamp(2.5rem, 10.5vw, 5.4rem);
  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,.55);
  margin-bottom: var(--space-4);
}
.hero-stack span { display: block; }
.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  text-shadow: 0 3px 16px rgba(0,0,0,.55);
  max-width: 20ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5); }

.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,27,18,.45) 0%, rgba(34,27,18,.78) 100%);
  z-index: 1;
}
.page-hero-inner { position: relative; z-index: 2; padding: var(--space-7) 0 var(--space-6); }
.page-hero .eyebrow { color: #E9F1D6; }
.page-hero h1 { color: #fff; text-shadow: 0 3px 16px rgba(0,0,0,.5); max-width: 20ch; }
.page-hero .lede { color: #F3EFE2; max-width: 60ch; font-size: 1.1rem; }

/* breadcrumb-ish meta line under page hero */
.meta-line { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-4); }
.meta-pill {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: .4em 1em;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 600;
}

/* ---- grids / cards -------------------------------------------- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; }

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card-body h3 { margin-bottom: 0; }
.card-body p { margin-bottom: 0; color: var(--color-body); }
.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--color-primary-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.card-link svg { width: 1em; height: 1em; transition: transform .18s ease; }
.card-link:hover svg, .card-link:focus-visible svg { transform: translate(3px, -3px); }


/* process steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  isolation: isolate;
  padding-left: 3.2em;
  margin-bottom: var(--space-6);
}
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.4em; height: 2.4em;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1;
}
.step h3 { margin-bottom: var(--space-2); }
.step p { margin-bottom: 0; }

/* icon row (why choose us) */
.icon-row-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6); }
.icon-row-grid > div { flex: 1 1 160px; max-width: 200px; }
.icon-row { text-align: center; }
.icon-row .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
  color: var(--color-primary-strong);
}
.icon-row .icon-wrap svg { width: 30px; height: 30px; }
.icon-row h3 { font-size: 1.05rem; margin-bottom: 0; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7em;
  margin-bottom: var(--space-3);
}
.checklist svg {
  flex: none;
  width: 1.35em; height: 1.35em;
  color: var(--color-primary-strong);
  margin-top: .1em;
}

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.tag-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  padding: .5em 1.1em;
  font-weight: 600;
  color: var(--color-ink);
  font-size: .96rem;
  margin: 0;
}

/* service areas */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: 1fr; } }
.area-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-5);
}
.area-card h3 { font-size: 1.1rem; margin-bottom: var(--space-2); color: var(--color-primary-strong); }
.area-card p { margin-bottom: 0; font-size: .98rem; }
/* home-base card: same parchment as the rest, marked by a badge (not a hover-green fill) */
.area-card--home { border-color: var(--color-primary); border-width: 2px; }
.area-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-bottom: var(--space-3);
}
/* linked city cards: whole card clickable, clear hover affordance */
a.area-card--link {
  display: block;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.area-card--link:hover, a.area-card--link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}
.area-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-primary-strong);
}
.area-more svg { width: 15px; height: 15px; transition: transform .18s ease; }
a.area-card--link:hover .area-more svg, a.area-card--link:focus-visible .area-more svg { transform: translate(3px, -3px); }

/* video section */
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-ink);
}
.video-frame video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
/* genuinely vertical phone footage: show as a phone-style card instead */
.video-frame--tall { max-width: 340px; margin-inline: auto; }
.video-frame--tall video { aspect-ratio: 9 / 16; }
.video-copy { max-width: 620px; }

/* CTA banner */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-on-primary);
  text-align: center;
}
.cta-banner h2 { color: var(--color-on-primary); }
.cta-banner p { color: #EAF1DC; max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: var(--color-accent); }
.cta-banner .btn-outline { color: #fff; }
.cta-banner .btn-outline:hover { background: #fff; color: var(--color-primary-strong); }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5); }

/* two column content + photo */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split.reverse .split-media { order: -1; } }

/* ---- footer ------------------------------------------------------ */
.site-footer {
  background: var(--color-ink);
  color: #E7E2D4;
  padding: var(--space-8) 0 var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  margin-bottom: var(--space-4);
}
.site-footer a { color: #E7E2D4; text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.footer-brand img { height: 48px; width: auto; }
.footer-brand strong { font-family: var(--font-display); color: #fff; font-size: 1.15rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.footer-socials { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-socials svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: .88rem;
  color: #B9B29B;
}
.footer-bottom a { color: #B9B29B; }

/* ---- quote form -------------------------------------------------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-sidebar {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-6);
  border: 1px solid var(--color-line);
}
.quote-contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
  color: var(--color-ink);
}
.quote-contact .icon-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.quote-contact .icon-wrap svg { width: 24px; height: 24px; }
.quote-contact strong { display: block; font-size: 1.1rem; }
.quote-contact span { font-size: .9rem; color: var(--color-body); }

.form-card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow);
}

/* Spam honeypot: off-screen rather than display:none, which some bots skip. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
  font-size: .98rem;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: .85em 1em;
  border: 2px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink);
  min-height: 52px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.checkbox-group { display: flex; flex-direction: column; gap: var(--space-3); }
.checkbox-option {
  display: flex;
  align-items: center;
  gap: .75em;
  padding: .9em 1em;
  border: 2px solid var(--color-line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-ink);
}
.checkbox-option input { width: 22px; height: 22px; flex: none; }
.form-note { font-size: .88rem; color: var(--color-body); margin-top: var(--space-3); }
.required { color: var(--color-accent-strong); }

/* ---- generic page content blocks ---------------------------------- */
.content-block { max-width: 780px; }
.stat-strip { display: flex; flex-wrap: wrap; gap: var(--space-7); }
.stat { min-width: 140px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--color-primary-strong); }
.stat span { font-size: .95rem; color: var(--color-body); }

/* 404 */
.error-page { text-align: center; padding: var(--space-8) 0; }
.error-page h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--color-primary); margin-bottom: var(--space-3); }

/* thanks page */
.thanks-page { text-align: center; padding: var(--space-8) 0; }
.thanks-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5);
}
.thanks-icon svg { width: 44px; height: 44px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 1em 1.4em;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.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;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---- breadcrumb bar (service-area, blog, hurricane pages) --------- */
.breadcrumb-bar {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
}
.breadcrumb-bar ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: var(--space-3) 0;
  font-size: .85rem;
}
.breadcrumb-bar li { margin: 0; display: flex; align-items: center; }
.breadcrumb-bar li:not(:last-child)::after {
  content: "/";
  margin: 0 .6em;
  color: var(--color-line);
}
.breadcrumb-bar a { color: var(--color-body); text-decoration: none; font-weight: 600; }
.breadcrumb-bar a:hover { color: var(--color-accent-strong); }
.breadcrumb-bar li[aria-current] { color: var(--color-ink); font-weight: 700; }

/* ---- FAQ list (city pages, hurricane guide, insurance post) ------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-6); max-width: 760px; }
.faq-item h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.faq-item p { margin-bottom: 0; }

/* ---- area/blog card grids ------------------------------------------ */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } }
.blog-date {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-primary-strong);
}
.also-serving {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-6);
  text-align: center;
}
.also-serving p { margin-bottom: 0; }

/* ---- inline callout box (blog post end-CTA) ------------------------ */
.callout-box {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: var(--space-6);
  margin: var(--space-7) 0;
}
.callout-box h3 { margin-bottom: var(--space-2); }
.callout-box p:last-of-type { margin-bottom: var(--space-4); }
.callout-box .cta-actions { justify-content: flex-start; margin-top: 0; }

/* ---- home services "also" strip (storm cleanup) --------------------- */
.services-more {
  font-size: .95rem;
  color: var(--color-body);
  margin-top: var(--space-6);
}
.services-more a { color: var(--color-primary-strong); font-weight: 600; }

/* ---- long-form article body ----------------------------------------- */
.article-body { max-width: 760px; }
.article-body h2 { margin-top: var(--space-8); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: var(--space-6); }
.article-meta { color: var(--color-body); font-size: .95rem; margin-bottom: var(--space-2); }
.article-hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: var(--space-6) 0 var(--space-7);
}

/* ------------------------------------------------------------------
   Parchment grain (added 2026-07-23, Brandyn's ask — the old Wix site
   had texture; this is a ~1KB inline SVG noise tile instead of Wix's
   25MB photo). Ink-tinted fractal noise at ~5% alpha over the brand
   background. Cards stay smooth on purpose — the contrast reads as
   paper under objects.
   ------------------------------------------------------------------ */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.133 0 0 0 0 0.106 0 0 0 0 0.071 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.section-alt {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.133 0 0 0 0 0.106 0 0 0 0 0.071 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* honeypot field for /api/quote spam filtering (form wiring, 2026-08-01) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==================================================================
   Dynamic range pass (2026-08-06) — contrast + motion, restraint over
   spectacle. Six moves: scroll reveals, Ken Burns stills, a drawing
   process line, one dark dramatic band, a graded hero entrance, and
   quiet parallax depth. Every rule here is opacity/transform only —
   nothing animates layout — and everything is gated so the page is
   correct with JS off or motion reduced.
   ================================================================== */

/* ---- 1. scroll reveals (progressive enhancement) -------------------
   Un-gated by default: with no JS, html never gets .js, so .reveal and
   .stagger children carry no opacity/transform rule at all and render
   normally. site.js adds .js to <html> in an inline <head> script (so
   it lands before first paint), then an IntersectionObserver adds
   .in-view once an element scrolls into range. ------------------- */
html.js .reveal,
html.js .stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
html.js .reveal.in-view,
html.js .stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
/* stagger: 90ms steps, first 9 children (covers every card/step/area grid on the site) */
html.js .stagger > *:nth-child(1) { transition-delay: 0ms; }
html.js .stagger > *:nth-child(2) { transition-delay: 90ms; }
html.js .stagger > *:nth-child(3) { transition-delay: 180ms; }
html.js .stagger > *:nth-child(4) { transition-delay: 270ms; }
html.js .stagger > *:nth-child(5) { transition-delay: 360ms; }
html.js .stagger > *:nth-child(6) { transition-delay: 450ms; }
html.js .stagger > *:nth-child(7) { transition-delay: 540ms; }
html.js .stagger > *:nth-child(8) { transition-delay: 630ms; }
html.js .stagger > *:nth-child(9) { transition-delay: 720ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- 2. Ken Burns on stills -----------------------------------------
   About photo + the 3 home service-card images only (not every card
   sitewide -- restraint). Both frames already have overflow:hidden.
   Page-hero images instead get a one-time settle on load. ---------- */
@keyframes tp-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.10); }
}
.about-photo img,
.services-grid .card img {
  animation: tp-kenburns 16s ease-in-out infinite alternate;
}
/* desync the three service-card zooms so they don't breathe in lockstep */
.services-grid .card:nth-child(1) img { animation-delay: 0s; }
.services-grid .card:nth-child(2) img { animation-delay: -5s; }
.services-grid .card:nth-child(3) img { animation-delay: -9s; }

@keyframes tp-hero-settle {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}
.page-hero img {
  animation: tp-hero-settle 1.1s cubic-bezier(.16,1,.3,1) both;
}

@media (prefers-reduced-motion: reduce) {
  .about-photo img,
  .services-grid .card img,
  .page-hero img {
    animation: none;
    transform: none;
  }
}

/* ---- 3. the drawing process line -------------------------------------
   Line + fill are injected by site.js into every .steps grid (home,
   tree-removal, land-clearing) -- nothing in the HTML to hide if JS
   never runs. Badges "light up" via .step.lit, driven by scroll. --- */
.steps { position: relative; }
.steps > .step { z-index: 1; } /* keep badges above the line */
.steps-line {
  position: absolute;
  left: 1.2em;
  width: 2px;
  background: var(--color-line);
  z-index: 0;
  pointer-events: none;
}
.steps-line-fill {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: top;
}
html:not(.js) .steps-line { display: none; }

.step::before { transition: background-color .45s ease; }
.step.lit::before { background: var(--color-accent); }

@media (prefers-reduced-motion: reduce) {
  .steps-line-fill { transform: scaleY(1); }
  .step.lit::before { background: var(--color-accent); }
}

/* ---- 4. the dark movement (home page storm band) ---------------------
   The page's one fortissimo passage -- near-black, a real storm photo
   dark-treated, a thin orange rule, and a single honest line about the
   queue. Stronger grain than the sitewide parchment texture. -------- */
.storm-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-ink);
  color: #fff;
  padding: var(--space-9) 0;
  text-align: center;
}
.storm-band-img {
  position: absolute;
  left: 0; right: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(.4) contrast(1.08) brightness(.5);
  opacity: .6;
  z-index: -3;
}
.storm-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26,21,14,.25) 0%, rgba(26,21,14,.9) 75%, rgba(26,21,14,.97) 100%);
  z-index: -2;
}
.storm-band::after {
  /* stronger grain than the sitewide 5%-alpha parchment texture, tinted
     light so it reads against the near-black background */
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.97 0 0 0 0 0.95 0 0 0 0 0.87 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}
.storm-band-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.storm-band-rule {
  width: 56px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto var(--space-5);
}
.storm-band-eyebrow {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.storm-band h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 0 3px 20px rgba(0,0,0,.5);
  margin-bottom: var(--space-4);
}
.storm-band-copy {
  color: #E7E2D4;
  font-size: 1.1rem;
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}
.storm-band .btn-primary { background: var(--color-accent); }
.storm-band .btn-primary:hover { background: var(--color-accent-strong); }

/* ---- 5. hero entrance (home) + video grading -------------------------
   CSS-only animation on load, no JS, so it can't touch LCP timing.
   Sequence: 3 stacked words rise in ~120ms apart, then h1, then the
   buttons -- everything settled by ~860ms. ------------------------- */
@keyframes tp-hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-stack span {
  opacity: 0;
  animation: tp-hero-rise .85s cubic-bezier(.16,1,.3,1) both;
}
.hero-stack span:nth-child(1) { animation-delay: 150ms; }
.hero-stack span:nth-child(2) { animation-delay: 400ms; }
.hero-stack span:nth-child(3) { animation-delay: 650ms; }
.hero h1 {
  opacity: 0;
  animation: tp-hero-rise .6s cubic-bezier(.16,1,.3,1) both;
  animation-delay: 950ms;
}
.hero .hero-actions {
  opacity: 0;
  animation: tp-hero-rise .5s cubic-bezier(.16,1,.3,1) both;
  animation-delay: 1150ms;
}
@media (prefers-reduced-motion: reduce) {
  .hero-stack span, .hero h1, .hero .hero-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero video {
  filter: contrast(1.06) saturate(1.08) brightness(.96);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.34) 100%);
  pointer-events: none;
}

/* ---- 6. quiet depth --------------------------------------------------
   (a) parallax drift (site.js, ±10px max) on .about-photo and
       .storm-band-img only -- applied to elements with no competing
       CSS transform/animation of their own, so JS never fights CSS.
   (b) shadow system: see --shadow in tokens.css (two-part shadow now
       lands on every .card / .btn-primary / .about-photo automatically).
   (c) button press state already existed (.btn:active translateY(1px)
       above) -- confirmed, no change needed. ------------------------ */
.about-photo,
.storm-band-img {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .about-photo,
  .storm-band-img {
    transform: none !important;
  }
}

/* ---- round-2 feedback (2026-08-06 pm) ------------------------------ */
/* balanced media in the action split: crop the loop to 4:3 so both
   columns carry equal visual weight */
.video-frame--balanced video { aspect-ratio: 4 / 3; }

/* generic overflow frame + slow horizontal Ken Burns pan */
.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media-frame img { display: block; width: 100%; }
@keyframes tp-kb-pan {
  from { transform: scale(1.1) translateX(-1.8%); }
  to   { transform: scale(1.1) translateX(1.8%); }
}
.kb-pan img { animation: tp-kb-pan 18s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .kb-pan img { animation: none; }
}

/* every button answers the cursor */
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.cta-banner .btn-primary:hover { background: var(--color-accent-strong); }

/* round-3: equal-height action split -- the video fills its column */
@media (min-width: 901px) {
  .split--fill { align-items: stretch; }
  .split--fill .split-media { display: flex; }
  .split--fill .video-frame { height: 100%; width: 100%; }
  .split--fill .video-frame video { height: 100%; aspect-ratio: auto; object-fit: cover; }
}

/* ---- round-3b ------------------------------------------------------- */
/* steps read as one sequence: single column by default (service pages),
   the home page opts back into a 3-across row with a horizontal line */
.steps { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.steps--row { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
@media (max-width: 900px) { .steps--row { grid-template-columns: 1fr; max-width: 640px; } }

/* the area cards now sit on the big oak itself */
.areas-bg { position: relative; }
.areas-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/optimized/live-oak-front-yard-wide-1200.avif') center 32% / cover no-repeat;
  opacity: .16;
  pointer-events: none;
}
.areas-bg > .container { position: relative; }

/* scrolling marquee ribbon */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
  padding: var(--space-4) 0;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tp-marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track .mq-seq {
  display: inline-flex;
  align-items: center;
  gap: 1.4em;
  padding-right: 1.4em;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(.8rem, 1.6vw, .95rem);
  color: rgba(34, 27, 18, .55);
  white-space: nowrap;
}
.marquee-track .mq-seq em { font-style: normal; }
.marquee-track .mq-seq svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-primary);
  opacity: .8;
}
@keyframes tp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* round-4: the row-mode process line gets its own clean lane -- badges sit
   in a dedicated top band so the line never strikes through text */
@media (min-width: 901px) {
  .steps--row .step { padding-left: 0; padding-top: 58px; }
  .steps--row .step::before { left: 0; top: 0; }
}

/* Launch accessibility and loading pass. Keep the selected palette, using
   its darker existing tones behind small white type. */
.btn-primary, .cta-banner .btn-primary, .storm-band .btn-primary,
.mobile-call-bar { background: var(--color-accent-strong); }
.btn-primary:hover, .cta-banner .btn-primary:hover, .storm-band .btn-primary:hover { background: #913f0e; }
.main-nav .btn-primary, .main-nav .btn-primary:hover { color: #fff; }
.btn-secondary, .cta-banner { background: var(--color-primary-strong); }
.cta-banner p { color: #fff; }
.marquee-track .mq-seq { color: var(--color-body); }
.site-footer h2 { color: #fff; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: var(--space-4); }
:focus-visible { outline: 3px solid var(--color-accent-strong); outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible, .cta-banner :focus-visible { outline-color: #fff; }
.nav-open { overflow: hidden; }
@media (max-width: 1100px) {
  html.js .main-nav:not(.is-open) { visibility: hidden; }
  html:not(.js) .main-nav { position: static; transform: none; padding: 1rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
}
.hero video[data-src] { opacity: 0; }
.hero video.has-video { opacity: 1; }
.header-inner, .hero-inner { padding-left: var(--space-5); padding-right: var(--space-5); }
.hero { padding: 0; }
.hero-media-toggle { position: absolute; right: 1.5rem; bottom: 1.25rem; z-index: 3; border: 1px solid #fff; border-radius: 999px; padding: .65rem 1rem; min-height: 44px; background: #221b12; color: #fff; font: 600 .85rem var(--font-body); cursor: pointer; }
.hero-media-toggle[hidden] { display: none; }
.hero h1, .hero .hero-actions { animation: none; opacity: 1; transform: none; }
.quote-contact { overflow-wrap: anywhere; }
.quote-contact-fields, .service-fields { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.quote-contact-fields legend, .service-fields legend { color: var(--color-ink); font-weight: 700; margin-bottom: .65rem; }
.contact-help, .form-privacy { font-size: .9rem; }
.form-privacy { margin-top: 1rem; }
#quote-error:not([hidden]) { padding: 1rem; background: #fff3e7; border: 2px solid #913f0e; border-radius: 8px; color: #612608; }
.form-card button:disabled { opacity: .7; cursor: wait; }
.privacy-copy h2 { margin-top: 2rem; font-size: 1.5rem; }
@media (max-width: 900px) {
  .hero-stack span { animation: none; opacity: 1; transform: none; }
  .hero-inner { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

picture { display: block; }
