/* Tulsa Area Tree Removal
   Plain and sturdy: large readable text, one left edge, even spacing.
   Safety orange is reserved for "call" actions. */
@font-face {
  font-family: "Archivo";
  src: url(/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
:root {
  --spruce: #1F4535; --leaf: #2F5D46; --band: #EEF1EC; --paper: #FFFFFF;
  --ink: #1A201C; --text: #2B332E; --muted: #4A554D; --line: #CCD5CA;
  --orange: #F07A2B; --orange-dark: #D9661A; --sap: #F3C29B;
  --radius: 6px;
  --gap: 48px;           /* vertical space around every section */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.125rem/1.65 var(--font); color: var(--text); background: var(--paper);
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
picture source { display: none; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--spruce); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }

/* one container, one left edge */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: var(--gap); padding-bottom: var(--gap); }
.section + .section { padding-top: 0; }

/* type */
h1, h2, h3 { text-wrap: balance; font-weight: 800; line-height: 1.2; color: var(--spruce); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 1.3rem + .6vw, 1.75rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.meta { color: var(--muted); font-size: .95rem; margin: 0 0 .5em; }

/* long text: same left edge as everything else, comfortable line length */
.prose > * { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose > h1 + * , .prose > h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px; text-align: left; }

/* top strip + header */
.strip { background: var(--spruce); color: #E2EAE3; font-size: .95rem; padding: 6px 0; }
.strip-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.strip-phone { color: #fff; font-weight: 800; text-decoration: none; }
.strip-phone:hover { color: var(--sap); text-decoration: underline; }
.top { background: var(--paper); border-bottom: 2px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 70px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--spruce);
  font-weight: 800; font-size: 1.2rem; }
.logo .rings { width: 34px; height: 34px; color: var(--leaf); }
nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
nav a:hover { color: var(--leaf); text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none;
  border-radius: var(--radius); padding: 13px 22px; line-height: 1.2; border: 2px solid transparent; font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-call { background: var(--orange); color: var(--ink); }
.btn-call:hover { background: var(--orange-dark); color: var(--ink); }
.btn-big { font-size: 1.2rem; padding: 16px 26px; }
.btn-small { padding: 9px 14px; font-size: 1rem; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-light { background: #fff; color: var(--spruce); }
.btn-light:hover { background: var(--band); color: var(--spruce); }

/* photo fallback (only if a page has no photo) */
.photo-fallback { background: var(--leaf); color: rgba(243,194,155,.5); display: grid; place-items: center; overflow: hidden; }
.photo-fallback .rings { width: 60%; max-width: 220px; height: auto; }

/* home banner */
.hero { position: relative; background: var(--spruce); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero:not(.hero-plain)::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,36,28,.94) 0%, rgba(18,36,28,.86) 50%, rgba(18,36,28,.35) 100%); }
.hero-plain .hero-img { display: none; }
.hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 68px; }
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); }
.hero .lede { color: #EEF3EE; max-width: 58ch; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 8px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--sap) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231F4535' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* service cards */
.svc-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
.svc a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.svc a:hover { border-color: var(--leaf); }
.svc a:hover strong { text-decoration: underline; }
.svc-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.svc-body { padding: 14px 16px 18px; display: grid; gap: 6px; align-content: start; }
.svc-body strong { font-size: 1.12rem; color: var(--spruce); line-height: 1.3; }
.svc-body span { color: var(--muted); font-size: 1rem; line-height: 1.5; }

/* how it works: a real sequence, so numbered */
.band { background: var(--band); padding: var(--gap) 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding-left: 58px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--leaf); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; }
.steps strong { display: block; color: var(--ink); font-size: 1.12rem; margin-bottom: 2px; }

/* call box inside long pages */
.callbox { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  max-width: 70ch; margin: 28px 0; padding: 20px 22px; background: #FFF4EC; border: 2px solid var(--orange); border-radius: var(--radius); }
.callbox p { margin: 0; }
.callbox .callbox-h { font-weight: 800; font-size: 1.25rem; color: var(--ink); margin-bottom: 2px; }
.svc-grid + .callbox { max-width: none; margin-bottom: 0; }

/* storm band */
.storm { background: var(--leaf); color: #fff; }
.storm-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 36px; }
.storm h2 { color: #fff; margin-bottom: .25em; }
.storm p { margin: 0; color: #E8EFE9; max-width: 60ch; }

/* service page header */
.page-hero { background: var(--band); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.page-hero:not(.has-img) .page-hero-grid { grid-template-columns: 1fr; }
.page-hero-img { border-radius: var(--radius); aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.crumb { font-size: .95rem; color: var(--muted); margin: 0 0 10px; }
.page-hero .lede { margin-bottom: 22px; }
.post-img { border-radius: var(--radius); margin: 8px 0 24px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; max-width: 70ch; }

/* areas */
.towns { list-style: none; padding: 0; margin: 16px 0 0; columns: 4 170px; column-gap: 24px; max-width: 900px; }
.towns li { padding: 3px 0 3px 22px; position: relative; font-weight: 600; break-inside: avoid; }
.towns li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

/* questions */
.faq { max-width: 70ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--spruce); font-size: 1.1rem; }
.faq details p { margin: 0 0 16px; color: var(--text); }
.faq + p { margin-top: 14px; }
.faq-open h2 { font-size: 1.3rem; margin-top: 1.4em; }

/* blog list */
.post-list { list-style: none; padding: 0; margin: 20px 0 0; max-width: 70ch; }
.post-list li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.post-list a { font-size: 1.2rem; font-weight: 700; }

/* call band + footer */
.cta { background: var(--spruce); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.cta p { margin: 0; font-size: 1.4rem; font-weight: 800; max-width: 34ch; }
.foot { background: #14281F; color: #C3CFC6; font-size: .98rem; padding: 44px 0 52px; flex-shrink: 0; }
.foot a { color: #E2EAE3; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.foot p { margin: 0 0 .8em; }
.foot-name { font-weight: 800; color: #fff; font-size: 1.12rem; }
.foot-h { font-weight: 700; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* phones: call button pinned to the bottom of the screen */
.callbar { display: none; }
@media (max-width: 820px) {
  :root { --gap: 36px; }
  .has-callbar { padding-bottom: 72px; }
  .callbar { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--orange); color: var(--ink); font-weight: 800; font-size: 1.2rem; text-decoration: none;
    min-height: 60px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 0 rgba(20,40,31,.18); }
  .callbar svg { width: 22px; height: 22px; }
  .top .btn-call { display: none; }
  .top { position: static; }
  .bar { padding-top: 10px; padding-bottom: 10px; gap: 8px 18px; min-height: 0; }
  nav { order: 3; width: 100%; gap: 18px; }
  .page-hero-grid, .foot-grid { grid-template-columns: 1fr; }
  .page-hero-grid { gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .page-hero-img { aspect-ratio: 16 / 9; order: -1; }
  .hero::after { background: rgba(18,36,28,.86) !important; }
  .hero-inner { padding-top: 40px; padding-bottom: 44px; }
  .hero .lede { font-size: 1.08rem; }
  .strip-phone { display: none; }
  .hero-inner { display: flex; flex-direction: column; }
  .hero-inner h1 { order: 0; }
  .hero-actions { order: 1; margin-bottom: 22px; }
  .hero .lede { order: 2; }
  .checks { order: 3; margin-bottom: 0; }
}
@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .svc-grid { gap: 12px; grid-template-columns: 1fr; }
  .svc a { flex-direction: row; align-items: stretch; }
  .svc-img { width: 112px; flex: none; aspect-ratio: auto; min-height: 112px; }
  .svc-body { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Phone placeholder (no number yet): looks like the button but is not a link */
.is-soon { cursor: default; }
