/* Shared Rank & Rent redesign stylesheet. Per-site tokens are set on :root by the builder. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, video, iframe, svg { max-width: 100%; height: auto; display: block; }
p, li, td, th, a, h1, h2, h3, h4, .article-body, .prose {
  overflow-wrap: anywhere;
  word-break: break-word;
}
iframe { border: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); font-family: var(--display); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--accent); color: var(--btn-ink);
  padding: 8px 16px; z-index: 300;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap, 1180px), calc(100% - 40px)); margin-inline: auto; }
.sr, .sr-only, .sr-wrap .sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); color: var(--header-ink);
  border-bottom: 3px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h, 96px);
  width: min(var(--wrap, 1180px), calc(100% - 32px));
  margin-inline: auto;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--header-ink) !important;
  flex-shrink: 0;
}
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-kicker {
  font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
}
.logo-sub { font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 700; opacity: 0.85; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.desktop-nav > ul > li { position: relative; }
.desktop-nav a.top-link, .desktop-nav span.top-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  color: var(--header-ink) !important; text-decoration: none; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: none; border: 0; cursor: pointer; font-family: var(--sans);
}
.desktop-nav a.top-link:hover, .desktop-nav a.top-link.is-active { color: var(--accent) !important; }
.desktop-nav .drop {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--card-bg, #fff); border: 2px solid var(--line);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12); padding: 8px 0; z-index: 120;
  flex-direction: column;
}
.desktop-nav li:hover > .drop, .desktop-nav li:focus-within > .drop { display: flex; }
.desktop-nav .drop a {
  display: block; padding: 10px 16px; color: var(--ink) !important; text-decoration: none;
  min-height: 44px;
}
.desktop-nav .drop a:hover { background: var(--band); color: var(--accent) !important; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-call, .btn-quote, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; font-weight: 700; text-decoration: none !important;
  font-family: var(--sans); font-size: 0.95rem; border-radius: var(--radius, 0);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-call, .btn-call-now { background: var(--call-bg); color: var(--call-ink) !important; border-color: var(--call-bg); }
.btn-call:hover, .btn-call-now:hover { filter: brightness(1.08); }
.btn-call svg, .btn-call-now svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-call-now {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; font-weight: 700; text-decoration: none !important;
  border: 2px solid var(--call-bg); border-radius: var(--radius, 2px); box-sizing: border-box;
  font-size: 1rem; line-height: 1.2;
}
.btn-call-now.outline, a.btn-call-now.outline {
  background: transparent; color: var(--call-bg) !important; border-color: var(--call-bg);
}
.btn-quote { background: var(--btn-bg); color: var(--btn-ink) !important; border-color: var(--btn-bg); }
.btn-quote:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--btn-ink) !important; }
.btn-outline { background: transparent; color: var(--header-ink) !important; border-color: var(--header-ink); }
.btn-outline:hover { background: var(--header-ink); color: var(--header-bg) !important; }
.nav-toggle {
  display: none; background: var(--header-ink); color: var(--header-bg);
  border: 0; width: 44px; height: 44px; border-radius: var(--radius, 0);
  cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.mobile-panel {
  display: none; background: var(--header-bg); color: var(--header-ink);
  border-top: 1px solid var(--line); max-height: calc(100vh - var(--header-h, 96px));
  overflow: auto; padding: 12px 20px 28px;
}
.mobile-panel.is-open { display: block; }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel a, .mobile-panel button[data-acc] {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; padding: 10px 4px; color: var(--header-ink) !important;
  text-decoration: none; font-weight: 700; width: 100%;
  background: none; border: 0; font-family: var(--sans); font-size: 1rem; cursor: pointer; text-align: left;
}
.mobile-panel .sub { display: none; padding-left: 16px; }
.mobile-panel li.is-open > .sub { display: block; }
.mobile-panel .sub a { font-weight: 500; font-size: 0.95rem; }
.mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
body.nav-open { overflow: hidden; }

@media (max-width: 980px) {
  .desktop-nav, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-inner { gap: 6px; width: min(var(--wrap, 1180px), calc(100% - 20px)); max-width: 100%; }
  .logo { gap: 5px; min-width: 0; flex-shrink: 1; }
  .logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
  .logo-kicker { font-size: 0.68rem; letter-spacing: 0.04em; }
  .logo-sub { font-size: 0.54rem; letter-spacing: 0.08em; }
  .header-actions { gap: 5px; flex-shrink: 0; }
  .header-actions .btn-call { padding: 8px 8px; font-size: 0.8rem; gap: 4px; }
  .header-actions .btn-call .call-label { font-size: 0.8rem; }
  .header-actions .btn-call svg { width: 15px; height: 15px; }
}

/* ---------- Hero shared ---------- */
.hero-bleed, .hero-split, .hero-warm {
  position: relative; color: var(--title-on-hero);
  min-height: 520px;
  display: flex; align-items: center;
}
.hero-bleed { min-height: 620px; }
.hero-photo, .hero-bleed img.hero-photo, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bleed .hero-photo, .hero-bleed > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-shade {
  position: absolute; inset: 0; background: var(--hero-shade); z-index: 1; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start;
  width: min(var(--wrap, 1180px), calc(100% - 40px));
  margin: 40px auto;
  padding: 12px 0;
}
.hero-grid.solo { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.title-card h1, .title-card .lede, .title-card .kicker { color: var(--title-on-hero); }
.title-card .lede { font-size: 1.05rem; max-width: 40em; }
.title-card .lede a { color: var(--title-on-hero); text-decoration: underline; }
.title-card .kicker {
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  margin: 0 0 10px; opacity: 0.92;
}
.title-rule { width: 72px; height: 4px; background: var(--line); margin: 0 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-inner-page { min-height: 420px; }
.hero-inner-page .hero-grid { margin: 28px auto; }

/* green-chrome: white title card on work photo, green rule, city-sized H1 */
body.hero-green-chrome .title-card {
  background: #fff; color: var(--ink); padding: 28px 32px; border-left: 8px solid var(--accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}
body.hero-green-chrome .title-card h1,
body.hero-green-chrome .title-card .lede,
body.hero-green-chrome .title-card .kicker,
body.hero-green-chrome .title-card .lede a { color: var(--ink); }
body.hero-green-chrome .title-card h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
body.hero-green-chrome .title-card .kicker { color: var(--accent); }
body.hero-green-chrome .quote-card { border: 4px solid var(--accent); }

/* light-product: airy split, big close-up photo, compact form, lots of open space */
body.hero-light-product .hero-bleed { background: var(--bg); min-height: 0; display: block; }
body.hero-light-product .hero-bleed > img,
body.hero-light-product .hero-bleed .hero-photo {
  position: relative; inset: auto; height: 46vh; max-height: 420px; min-height: 220px;
  width: 100%; object-fit: cover; object-position: center 40%;
}
body.hero-light-product .hero-shade { display: none; }
body.hero-light-product .hero-grid {
  margin-top: -64px; background: transparent; align-items: start;
}
body.hero-light-product .title-card {
  background: var(--bg); color: var(--ink); padding: 22px 20px 8px;
  box-shadow: 0 -8px 24px var(--bg);
}
body.hero-light-product .quote-form textarea { min-height: 72px; }
body.hero-light-product .title-card h1,
body.hero-light-product .title-card .lede,
body.hero-light-product .title-card .kicker,
body.hero-light-product .title-card .lede a { color: var(--ink); }
body.hero-light-product .title-card h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; }
body.hero-light-product .quote-card { box-shadow: 0 16px 50px rgba(0,0,0,0.12); }

/* light-damage: airy, desert, cracked-glass featured in a frame */
body.hero-light-damage .hero-bleed { background: var(--bg); min-height: 0; display: block; padding: 20px 0 10px; }
body.hero-light-damage .hero-bleed > img,
body.hero-light-damage .hero-bleed .hero-photo {
  position: relative; inset: auto; height: 42vh; max-height: 400px; min-height: 200px;
  width: min(1180px, calc(100% - 40px)); margin: 0 auto; object-fit: cover; border: 6px solid var(--line);
}
body.hero-light-damage .hero-shade { display: none; }
body.hero-light-damage .hero-grid { margin-top: 8px; align-items: start; }
body.hero-light-damage .title-card h1,
body.hero-light-damage .title-card .lede,
body.hero-light-damage .title-card .kicker,
body.hero-light-damage .title-card .lede a { color: var(--ink); }
body.hero-light-damage .title-card h1 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }

/* dark-city: huge condensed city title over night photo */
body.hero-dark-city { background: var(--bg); color: var(--ink); }
body.hero-dark-city .hero-bleed { min-height: 680px; }
body.hero-dark-city .title-card h1 {
  font-family: var(--display); font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95;
  color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
body.hero-dark-city .title-card .kicker { color: var(--accent); letter-spacing: 0.2em; }
body.hero-dark-city .title-card .lede, body.hero-dark-city .title-card .lede a { color: #f0f3f8; }
body.hero-dark-city .quote-card { background: #151C2C; color: #E8EEF6; border: 1px solid #2A3548; }
body.hero-dark-city .quote-card .form-heading { color: var(--accent); }
body.hero-dark-city .quote-form label, body.hero-dark-city .req-note, body.hero-dark-city .field-label { color: #E8EEF6; }
body.hero-dark-city a { color: var(--accent); }
body.hero-dark-city a:hover { color: var(--accent-dark); }
body.hero-dark-city .page-band, body.hero-dark-city .article-band { color: var(--ink); }
body.hero-dark-city .page-band.cream, body.hero-dark-city .faq-band { background: var(--band); }
body.hero-dark-city h1, body.hero-dark-city h2, body.hero-dark-city h3 { color: #F4F7FC; }
body.hero-dark-city .page-band h2, body.hero-dark-city .article-band h2, body.hero-dark-city .article-band h3 { color: #F4F7FC; }
body.hero-dark-city .article-band p, body.hero-dark-city .page-band p, body.hero-dark-city li { color: #E8EEF6; }
body.hero-dark-city .desktop-nav .drop a { color: #E8EEF6 !important; }
body.hero-dark-city .desktop-nav a.top-link.is-active, body.hero-dark-city .desktop-nav a.top-link:hover { color: var(--accent) !important; }

/* van-craft: landscape hero, copper rule, craft-strip of conductors below */
body.hero-van-craft .title-card h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
body.hero-van-craft .title-rule { background: var(--line); width: 88px; height: 5px; }
body.hero-van-craft .craft-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: var(--ink); padding: 8px;
}
body.hero-van-craft .craft-strip img { width: 100%; height: 180px; object-fit: cover; }

/* bold-yellow: black and yellow, huge condensed type */
body.hero-bold-yellow .site-header { border-bottom-width: 5px; }
body.hero-bold-yellow .hero-bleed { min-height: 660px; }
body.hero-bold-yellow .title-card h1 {
  font-family: var(--display); font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.92;
  color: var(--yellow, #FFD000); text-shadow: 0 3px 0 #000;
}
body.hero-bold-yellow .title-card {
  background: rgba(0,0,0,0.55);
  padding: 24px 28px 20px;
  border-left: 6px solid var(--yellow, #FFD000);
}
body.hero-bold-yellow .title-card p,
body.hero-bold-yellow .title-card a {
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
body.hero-bold-yellow .title-card .kicker { color: var(--yellow, #FFD000); }
body.hero-bold-yellow .title-card .lede, body.hero-bold-yellow .title-card .lede a { color: #fff !important; text-shadow: 0 1px 10px rgba(0,0,0,0.75); }
body.hero-bold-yellow .quote-card { background: #111; color: #fff; border: 4px solid var(--yellow, #FFD000); }
body.hero-bold-yellow .quote-card .form-heading { color: var(--yellow, #FFD000); font-family: var(--display); text-transform: uppercase; font-size: 2rem; }
body.hero-bold-yellow .quote-form label, body.hero-bold-yellow .req-note, body.hero-bold-yellow .field-label { color: #fff; }
body.hero-bold-yellow .btn-quote, body.hero-bold-yellow .quote-form button[type="submit"] {
  background: var(--yellow, #FFD000); color: #111 !important; border-color: var(--yellow, #FFD000);
}
body.hero-bold-yellow .desktop-nav a.top-link:hover,
body.hero-bold-yellow .desktop-nav a.top-link.is-active { color: var(--yellow, #FFD000) !important; }
body.hero-bold-yellow .desktop-nav .drop a { color: #111 !important; }
body.hero-bold-yellow .page-band a, body.hero-bold-yellow .article-band a, body.hero-bold-yellow .faq-band a { color: #111; }
/* Off-white, not whiteish (r/g/b all ≤248), so alt bands count as Critiquito visual breaks. */
body.hero-bold-yellow .article-band.alt,
body.hero-bold-yellow .page-band.alt { background: #EEECE4; }


/* warm-heritage: cream, serif, gold rule, dusk photo */
body.hero-warm-heritage .hero-bleed { min-height: 640px; }
body.hero-warm-heritage .title-card {
  background: rgba(246, 239, 228, 0.94); color: var(--ink); padding: 32px 36px;
  border-top: 6px solid var(--line);
}
body.hero-warm-heritage .title-card h1,
body.hero-warm-heritage .title-card .lede,
body.hero-warm-heritage .title-card .kicker,
body.hero-warm-heritage .title-card .lede a { color: var(--ink); }
body.hero-warm-heritage .title-card h1 { font-family: var(--display); font-size: clamp(2.1rem, 4.5vw, 3.5rem); font-weight: 700; }
body.hero-warm-heritage .title-card .kicker { color: var(--accent); letter-spacing: 0.16em; }
body.hero-warm-heritage .quote-card { background: var(--card-bg); border: 1px solid var(--line); }

/* truck-yellow: yellow bar energy, truck fills the fold */
body.hero-truck-yellow .hero-bleed { min-height: 660px; }
body.hero-truck-yellow .title-card h1 {
  font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.6rem);
  text-transform: uppercase; line-height: 0.95; color: #fff;
  text-shadow: 2px 3px 0 #000;
}
body.hero-truck-yellow .title-card .lede, body.hero-truck-yellow .title-card .lede a { color: #fff; }
body.hero-truck-yellow .quote-card { background: #111; color: #fff; border: 4px solid var(--yellow, #FFD000); }
body.hero-truck-yellow .quote-card .form-heading { color: var(--yellow, #FFD000); font-family: var(--display); text-transform: uppercase; }
body.hero-truck-yellow .quote-form label, body.hero-truck-yellow .req-note, body.hero-truck-yellow .field-label { color: #fff; }
body.hero-truck-yellow .desktop-nav a.top-link { color: #111 !important; }
body.hero-truck-yellow .desktop-nav a.top-link:hover,
body.hero-truck-yellow .desktop-nav a.top-link.is-active { color: #111 !important; text-decoration: underline; }
body.hero-truck-yellow .desktop-nav .drop a { color: #111 !important; }
body.hero-truck-yellow .btn-outline { color: #111 !important; border-color: #111; }

/* truck-blue: huge blue roll-off fills the fold, simple ask */
body.hero-truck-blue .hero-bleed { min-height: 680px; }
body.hero-truck-blue .title-card h1 {
  font-family: var(--display); font-size: clamp(2.6rem, 7vw, 5.2rem);
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
body.hero-truck-blue .title-card .kicker { color: #fff; }
body.hero-truck-blue .title-card .lede, body.hero-truck-blue .title-card .lede a { color: #fff; }
body.hero-truck-blue .quote-card { border: 4px solid var(--accent); }
body.hero-truck-blue .desktop-nav a.top-link { color: #fff !important; }
body.hero-truck-blue .desktop-nav a.top-link:hover,
body.hero-truck-blue .desktop-nav a.top-link.is-active { color: #fff !important; text-decoration: underline; }
body.hero-truck-blue .btn-outline { color: #fff !important; border-color: #fff; }
body.hero-truck-blue .logo { color: #fff !important; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; margin: 24px auto; }
  .hero-bleed, body.hero-dark-city .hero-bleed, body.hero-bold-yellow .hero-bleed,
  body.hero-truck-yellow .hero-bleed, body.hero-truck-blue .hero-bleed,
  body.hero-warm-heritage .hero-bleed { min-height: 0; }
  .hero-bleed { padding-bottom: 12px; }
  body.hero-light-product .hero-grid { margin-top: 0; }
  body.hero-light-product .hero-bleed > img,
  body.hero-light-product .hero-bleed .hero-photo { height: 38vh; max-height: 320px; }
  body.hero-light-damage .hero-bleed > img,
  body.hero-light-damage .hero-bleed .hero-photo { height: 36vh; max-height: 300px; }
  body.hero-van-craft .craft-strip { grid-template-columns: 1fr; }
  body.hero-van-craft .craft-strip img { height: 140px; }
  .title-card h1, body.hero-green-chrome .title-card h1,
  body.hero-dark-city .title-card h1, body.hero-bold-yellow .title-card h1,
  body.hero-truck-yellow .title-card h1, body.hero-truck-blue .title-card h1 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }
}

/* ---------- Form ---------- */
.quote-card {
  background: var(--card-bg, #fff); color: var(--ink);
  padding: 22px 22px 18px; border: 3px solid var(--line);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.quote-card .form-heading {
  font-family: var(--display); font-size: 1.55rem; margin: 0 0 8px; color: var(--accent);
}
.quote-form .req-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.quote-form .req { color: var(--accent); }
.quote-form label, .quote-form .field-label { display: block; font-weight: 700; margin: 10px 0 4px; }
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form input[type="number"],
.quote-form input:not([type]),
.quote-form textarea,
.quote-form select {
  width: 100%; padding: 10px 12px; min-height: 44px;
  border: 2px solid #8A8A8A; border-radius: var(--radius, 0);
  font-family: var(--sans); font-size: 1rem; color: #111; background: #fff;
}
.quote-form textarea { min-height: 96px; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus {
  outline: 2px solid var(--accent); border-color: var(--accent);
}
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-form button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; margin-top: 14px;
  background: var(--btn-bg); color: var(--btn-ink); border: 0;
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem;
  cursor: pointer; border-radius: var(--radius, 0);
}
.quote-form button[type="submit"]:hover { background: var(--accent-dark); }
.quote-form .note { min-height: 1.2em; margin: 8px 0 0; font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Bands & articles ---------- */
.page-band, .article-band, .guides-band, .svc-band, .how-band, .trust-band {
  padding: 48px 0;
  background: var(--bg);
}
.page-band.cream, .article-band.cream, .guides-band, .faq-band, .how-band { background: var(--band); }
.page-band.alt, .article-band.alt { background: var(--bg); }
.page-band h2, .article-band h2, .guides-band h2, .svc-band h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.break-photo { margin: 28px 0; }
.break-photo img { width: 100%; height: auto; object-fit: cover; max-height: 560px; }
.break-photo.framed img { border: 4px solid var(--line); }
.break-photo.wide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.break-photo.wide img { max-height: 480px; width: 100%; }
.prose, .article-body { max-width: 760px; }
.prose-wide, .article-body.wide { max-width: 860px; }
.article-body > * { max-width: 100%; }
.article-body table, .prose table {
  width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem;
  overflow-x: auto; display: block;
}
.article-body th, .article-body td, .prose th, .prose td {
  border: 1px solid var(--muted); padding: 8px 10px; text-align: left; color: inherit;
}
.related, .sources, .credits-list { padding-left: 1.2em; }
.sources-head { margin-top: 1.6em; }

/* Services */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px;
}
.svc-card {
  background: var(--card-bg, #fff); border: 2px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
}
.svc-card img { width: 100%; height: 200px; object-fit: cover; }
.svc-body { padding: 18px 18px 22px; color: var(--ink); }
.svc-body h2 { font-size: 1.25rem; margin-bottom: 0.4em; }
.svc-body h2 a { color: inherit; text-decoration: none; }
.svc-body h2 a:hover { color: var(--accent); }

.svc-more-links { margin: 8px auto 0; padding: 8px 0 28px; max-width: var(--wrap, 1180px); font-size: 1rem; }
.svc-more-links a { margin-right: 0.6em; }
.svc-rows-alt .svc-card { flex-direction: row; }
.svc-rows-alt .svc-card img { width: 42%; height: auto; min-height: 180px; }
@media (max-width: 700px) {
  .svc-rows-alt .svc-card { flex-direction: column; }
  .svc-rows-alt .svc-card img { width: 100%; height: 200px; }
}

/* Topic / guides */
.topic-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.topic-list a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
  background: var(--card-bg, #fff); border: 2px solid var(--line);
  text-decoration: none; font-weight: 700; color: var(--ink);
}
.topic-list a:hover { color: var(--accent); }

/* Trust / how */
.trust-grid, .how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.trust-item, .how-step { background: var(--card-bg, #fff); padding: 18px; border-left: 4px solid var(--line); color: var(--ink); }
.trust-item { font-weight: 700; }

/* FAQ */
.faq-band { padding: 52px 0; background: var(--band); }
.faq-item { border-bottom: 1px solid var(--muted); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: var(--ink); padding: 16px 40px 16px 0; min-height: 52px;
  position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; }
.faq-item.is-open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 0 16px; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* Locations */
.locations-band {
  position: relative; color: #fff; padding: 64px 0; overflow: hidden;
  min-height: 420px; display: flex; align-items: center;
}
.locations-band .band-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.locations-band .shade {
  position: absolute; inset: 0; background: rgba(16, 20, 24, 0.62); z-index: 1;
}
.locations-band .wrap { position: relative; z-index: 2; }
.locations-band h2, .locations-band p, .locations-band a { color: #fff; }
.locations-band a { text-decoration: underline; }
.town-grid {
  list-style: none; padding: 0; margin: 16px 0 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 16px;
}
.town-grid a {
  display: flex; align-items: center; min-height: 44px; color: #fff !important; font-weight: 700;
}
.map-card { background: #fff; padding: 8px; border: 3px solid #fff; }
.map-card iframe { width: 100%; min-height: 280px; }

/* CTA photo band */
.cta-photo {
  position: relative; color: #fff; padding: 72px 0; overflow: hidden; min-height: 380px;
  display: flex; align-items: center;
}
.cta-photo .band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-photo .shade { position: absolute; inset: 0; background: rgba(12, 14, 16, 0.55); z-index: 1; }
.cta-photo .wrap { position: relative; z-index: 2; }
.cta-photo h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-photo p, .cta-photo a { color: #fff; }
.info-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.info-photos img { width: 100%; height: 140px; object-fit: cover; }
.process-band { padding: 40px 0; background: var(--band); }
.need-cta { padding: 48px 0; background: var(--accent); color: var(--btn-ink); }
.need-cta h2, .need-cta p, .need-cta a { color: var(--btn-ink); }
.need-cta .btn-quote { background: var(--btn-ink); color: var(--accent) !important; }
.need-cta .btn-call { background: transparent; color: var(--btn-ink) !important; border-color: var(--btn-ink); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 48px 0 32px; }
.site-footer a { color: var(--footer-ink) !important; }
.site-footer .logo { color: var(--footer-ink) !important; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; }
.foot-label { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 10px; }
.foot-nav, .serving-list { list-style: none; padding: 0; margin: 0; }
.foot-nav a, .serving-list a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.foot-nav a:hover, .serving-list a:hover { text-decoration: underline; }
.legal-bar { background: var(--footer-bg); color: var(--footer-ink); border-top: 1px solid rgba(255,255,255,0.15); padding: 16px 0 24px; font-size: 0.92rem; }
.legal-bar a { color: var(--footer-ink) !important; }
.disclose { margin: 8px 0 0; max-width: 50em; opacity: 0.95; }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr; }
  .name-row { grid-template-columns: 1fr; }
  .info-photos { grid-template-columns: 1fr; }
  .info-photos img { height: 180px; }
}

/* 404 / credits */
.page-simple { padding: 56px 0 80px; }
.page-simple .prose { max-width: 760px; }

/* Form row (how-it-works + form) */
.form-row { padding: 48px 0; background: var(--band); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 800px) { .form-grid { grid-template-columns: 1fr; } }

/* Trust / how / size-guide: stacked label + text, readable on dark card-bg themes */
.how-band ol.steps { list-style: decimal; padding-left: 1.4em; max-width: 48em; }
.how-band ol.steps li { margin: 0 0 14px; }
.how-band ol.steps li strong,
.how-band li strong { display: block; margin-bottom: 2px; }
.how-band ol.steps li span,
.how-band li span { display: block; font-weight: 400; }
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 18px 0; }
.sizes > div { padding: 14px 16px; background: var(--band); border-left: 4px solid var(--line); }
.sizes strong { display: block; }
.sizes span { display: block; }
body.hero-truck-yellow .trust-band { background: #111; padding: 22px 0; }
body.hero-truck-yellow .trust-item {
  background: #FFD000; color: #111; border-left: 0; text-align: center;
  font-weight: 800; list-style: none;
}
body.hero-truck-yellow .trust-grid { list-style: none; margin: 0; padding: 0; }
body.hero-truck-yellow .title-card p,
body.hero-truck-yellow .title-card li,
body.hero-truck-yellow .title-card a { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.65); }
body.hero-truck-yellow .title-card ul.hl { margin: 12px 0 0; padding: 0; list-style: none; }
body.hero-truck-yellow .title-card ul.hl li { margin: 4px 0; padding-left: 0; font-weight: 700; }
body.hero-truck-yellow .zip-card { background: #111; color: #fff; border: 4px solid #FFD000; padding: 22px 24px; }
body.hero-truck-yellow .zip-card .ht,
body.hero-truck-yellow .zip-card .form-heading { color: #FFD000; font-family: var(--display); text-transform: uppercase; font-size: 1.7rem; margin: 0 0 10px; }
body.hero-truck-yellow .zip-card label,
body.hero-truck-yellow .zip-card .note { color: #fff; }
body.hero-truck-yellow .zip-card button,
body.hero-truck-yellow .zip-form button {
  background: #FFD000; color: #111; border: 0; font-weight: 800;
  padding: 12px 18px; width: 100%; cursor: pointer; font-size: 1rem;
  font-family: var(--sans); margin-top: 10px;
}
body.hero-truck-yellow .svc-card .btn-quote { background: #111; color: #FFD000; }

body.hero-truck-blue .title-card p,
body.hero-truck-blue .title-card li,
body.hero-truck-blue .title-card a {
  color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
body.hero-truck-blue .quote-card { background: #fff; border: 4px solid var(--accent); }


/* Contrasting mid-page call band. Cream/tan text bands are not breaks; this is. */
.call-break {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 28px 0;
}
.call-break .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.call-break .btn-call, .call-break .btn-quote, .call-break .btn-call-now {
  min-height: 44px;
}
body.hero-dark-city .call-break {
  background: var(--accent);
  color: var(--btn-ink);
}
body.hero-dark-city .call-break .btn-call {
  background: var(--btn-ink);
  color: var(--accent) !important;
  border-color: var(--btn-ink);
}
body.hero-dark-city .call-break .btn-quote {
  background: transparent;
  color: var(--btn-ink) !important;
  border-color: var(--btn-ink);
}
body.hero-truck-yellow .call-break .btn-quote {
  background: #FFD000;
  color: #111 !important;
  border-color: #FFD000;
}
body.hero-bold-yellow .call-break {
  background: #111;
  color: #FFD000;
}
body.hero-bold-yellow .call-break .btn-quote {
  background: #FFD000;
  color: #111 !important;
  border-color: #FFD000;
}
body.hero-warm-heritage .call-break {
  background: var(--footer-bg);
  color: var(--footer-ink);
}

/* Photo-credits cards: thumbnail + credit text, a real visual break. */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 8px 0 28px;
  list-style: none;
  padding: 0;
}
@media (min-width: 700px) {
  .credits-grid { grid-template-columns: 1fr 1fr; }
}
.credit-card {
  background: var(--card-bg, #fff);
  color: var(--ink);
  border: 1px solid var(--line, #ccc);
  overflow: hidden;
}
.credit-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.credit-body { padding: 12px 14px 16px; font-size: 0.95rem; }
.credit-body p { margin: 0; }

/* Closed accordion for a single long passage that cannot be split without changing copy. */
.long-fold {
  border: 2px solid var(--line);
  background: var(--card-bg, #fff);
  color: var(--ink);
  margin: 12px 0 8px;
}
.long-fold > summary {
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.long-fold > summary::-webkit-details-marker { display: none; }
.long-fold > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.long-fold[open] > summary::after { content: "–"; }
.long-fold[open] > summary { border-bottom: 1px solid var(--line); }
.long-fold-body { padding: 16px 18px 20px; }
.long-fold-body > :first-child { margin-top: 0; }
.long-fold-body > :last-child { margin-bottom: 0; }

/* ---------- 16 Nov Critiquito recheck: contrast fixes (all text, links and button labels >= 4.5:1) ---------- */
/* Bands that lost their photo get a solid dark band (same idea as ABQ's navy band). */
.cta-photo.no-photo, .locations-band.no-photo { background: var(--footer-bg); color: #fff; }
.cta-photo.no-photo h2, .cta-photo.no-photo p, .cta-photo.no-photo .lead, .cta-photo.no-photo a:not(.btn-call):not(.btn-quote),
.locations-band.no-photo h2, .locations-band.no-photo p, .locations-band.no-photo .lead, .locations-band.no-photo a:not(.btn-call):not(.btn-quote) { color: #fff !important; }
.cta-photo.no-photo .btn-call, .locations-band.no-photo .btn-call { border-color: #fff; }
body.hero-dark-city .cta-photo.no-photo, body.hero-dark-city .locations-band.no-photo { background: var(--band); }
/* Button labels always take the button's own ink. */
.btn-call .call-label, .btn-call-now .call-label { color: inherit !important; }
/* Outline call button inside a solid accent band. */
.need-cta .btn-call-now.outline, .need-cta a.btn-call-now.outline { color: var(--btn-ink) !important; border-color: var(--btn-ink); }
/* ABQ (dark city): gold need-cta takes dark ink; captions on white cards take dark links. */
body.hero-dark-city .need-cta h2, body.hero-dark-city .need-cta h3, body.hero-dark-city .need-cta p, body.hero-dark-city .need-cta li,
body.hero-dark-city .need-cta a:not(.btn-call):not(.btn-quote):not(.btn-call-now) { color: var(--btn-ink) !important; }
body.hero-dark-city figcaption a { color: #0B1220; }
/* Spokane (bold yellow): yellow hero buttons take black ink. */
body.hero-bold-yellow .title-card .btn-quote, body.hero-bold-yellow .title-card .btn-call,
body.hero-bold-yellow .hero-actions .btn-quote { color: #111 !important; text-shadow: none; }
/* Footer call button keeps its own ink (footer link color must not repaint the button label). */
.site-footer a.btn-call, .site-footer a.btn-call-now:not(.outline) { color: var(--call-ink) !important; }
/* CS Junk (truck yellow): service cards are black, so their text is white with yellow titles. */
body.hero-truck-yellow .svc-body { color: #fff; }
body.hero-truck-yellow .svc-body h2, body.hero-truck-yellow .svc-body h2 a { color: #FFD000; }
body.hero-truck-yellow .svc-body p { color: #fff; }

/* 16 Nov add-back bands: tinted alternate band breaks long reading runs */
.article-band.addback-tint{background:#BFCAD6 !important;color:#111 !important}
.article-band.addback-tint h2,.article-band.addback-tint h3,.article-band.addback-tint p,.article-band.addback-tint li,.article-band.addback-tint strong{color:#111 !important}
.article-band.addback-tint a{color:#0B1220 !important;text-decoration:underline}
/* 16 Nov batch 3: axe "1:1" fixes. Skip link was ink-on-ink when focused; dark-card themes had #111 text on #111 cards. */
.skip, a.skip { background: #111 !important; color: #fff !important; }
body.hero-bold-yellow .svc-body, body.hero-bold-yellow .svc-body p, body.hero-bold-yellow .svc-body h2, body.hero-bold-yellow .svc-body li,
body.hero-truck-yellow .credit-body, body.hero-bold-yellow .credit-body,
body.hero-bold-yellow .long-fold, body.hero-bold-yellow .long-fold > summary, body.hero-bold-yellow .long-fold-body, body.hero-bold-yellow .long-fold-body p, body.hero-bold-yellow .long-fold-body li { color: #fff !important; }
body.hero-bold-yellow .svc-body a:not(.btn-quote):not(.btn-call):not(.btn-call-now), body.hero-bold-yellow .svc-body h2 a, body.hero-bold-yellow .long-fold a,
body.hero-truck-yellow .credit-body a, body.hero-bold-yellow .credit-body a { color: #FFD000 !important; }
body.hero-bold-yellow .topic-list a, body.hero-truck-yellow .topic-list a { color: #fff !important; }
body.hero-bold-yellow .topic-list a:hover, body.hero-truck-yellow .topic-list a:hover { color: #FFD000 !important; }
body.hero-bold-yellow .need-cta { background: #111 !important; color: #fff !important; }
body.hero-bold-yellow .need-cta h2, body.hero-bold-yellow .need-cta h3, body.hero-bold-yellow .need-cta p, body.hero-bold-yellow .need-cta .honest,
body.hero-bold-yellow .need-cta a:not(.btn-quote):not(.btn-call):not(.btn-call-now) { color: #fff !important; }
body.hero-bold-yellow .need-cta .btn-call-now.fill, body.hero-bold-yellow .need-cta a.btn-call-now.fill { color: #111 !important; }
body.hero-bold-yellow .need-cta .btn-call-now.outline, body.hero-bold-yellow .need-cta a.btn-call-now.outline { color: #fff !important; border-color: #fff !important; }
body.hero-bold-yellow .need-cta .btn-call, body.hero-bold-yellow .need-cta .btn-call .call-label { color: #fff !important; border-color: #fff !important; }
body.hero-bold-yellow .need-cta .btn-quote { background: #FFD000 !important; color: #111 !important; }
/* Sources band (2:56 PM sweep): one small reference block at the end of main */
section.page-band.sources-band{background:#BFCAD6 !important;color:#111 !important;font-size:.85rem;padding:1.5rem 0 !important}
section.page-band.sources-band h2{font-size:1.05rem !important;color:#111 !important;margin:0 0 .5rem}
section.page-band.sources-band li,section.page-band.sources-band p{color:#111 !important;margin:.25rem 0;line-height:1.45}
section.page-band.sources-band a{color:#0B1220 !important;text-decoration:underline}

/* Kern County Tree Service brand kit (Nov 24, 2026). Preview only. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body.theme-kerncountytreeservice a.logo img { height: 62px; width: auto; max-width: 260px; display: block; }
@media (max-width: 980px) { body.theme-kerncountytreeservice a.logo img { height: 46px; max-width: 190px; } }
@media (max-width: 420px) { body.theme-kerncountytreeservice a.logo img { height: 38px; max-width: 150px; } }
body.theme-kerncountytreeservice .page-band.cream,
body.theme-kerncountytreeservice .article-band.cream,
body.theme-kerncountytreeservice .guides-band,
body.theme-kerncountytreeservice .faq-band,
body.theme-kerncountytreeservice .how-band {
  background-color: var(--band);
  background-image: url("/img/motif.svg");
  background-size: 220px 220px;
  background-repeat: repeat;
}
body.theme-kerncountytreeservice.hero-light-product .title-card {
  background-color: var(--bg);
  background-image: url("/img/motif.svg");
  background-size: 220px 220px;
  background-repeat: repeat;
}
body.theme-kerncountytreeservice .sources-band { background-image: none; }
body.theme-kerncountytreeservice .skip:not(:focus) { top: -80px; }
body.theme-kerncountytreeservice .title-rule { background: var(--poppy); width: 72px; height: 4px; border-radius: 2px; }
body.theme-kerncountytreeservice .site-header { border-bottom: 3px solid var(--accent); }
body.theme-kerncountytreeservice h1, body.theme-kerncountytreeservice h2, body.theme-kerncountytreeservice h3 { letter-spacing: -0.01em; }
body.theme-kerncountytreeservice.hero-light-product .title-card h1 { font-weight: 700; }
body.theme-kerncountytreeservice .title-card .intro-call { color: var(--ink); font-size: 1.06rem; line-height: 1.55; }
body.theme-kerncountytreeservice .title-card .intro-call a { color: var(--accent); }
body.theme-kerncountytreeservice .hero-photo-wrap { overflow: hidden; height: 46vh; max-height: 420px; min-height: 220px; width: 100%; }
body.theme-kerncountytreeservice.hero-light-product .hero-bleed .hero-photo-wrap .hero-photo {
  position: relative; inset: auto; height: 100%; max-height: none; min-height: 0; width: 100%;
  object-fit: cover; object-position: center 40%; display: block;
}
@media (prefers-reduced-motion: no-preference) {
  body.theme-kerncountytreeservice .hero-photo-wrap .hero-photo { animation: kct-kenburns 28s ease-in-out infinite alternate; transform-origin: center 40%; }
}
@keyframes kct-kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-kerncountytreeservice .hero-photo-wrap .hero-photo { animation: none; transform: none; }
}
@media (max-width: 700px) { body.theme-kerncountytreeservice .hero-photo-wrap { height: 38vh; max-height: 320px; } }
body.theme-kerncountytreeservice.hero-light-product .hero-bleed .hero-photo-wrap .hero-photo[src*="tree-felling-yard"] { object-position: center 88%; transform-origin: center 88%; }
body.theme-kerncountytreeservice .hero-actions .btn-call, body.theme-kerncountytreeservice .hero-actions .btn-quote,
body.theme-kerncountytreeservice .call-break .btn-call, body.theme-kerncountytreeservice .call-break .btn-quote { min-height: 48px; }
body.theme-kerncountytreeservice .quote-card .form-heading, body.theme-kerncountytreeservice .zip-card .form-heading { font-weight: 600; }
