/* =========================================================
   Microsite Base — shared styles
   Plain CSS, no build step. Edit freely.
   Brand color and font are driven by CSS variables below so
   a single change re-themes the whole site.
   ========================================================= */

:root {
  --brand:        #a20000;   /* primary brand / links / buttons */
  --brand-dark:   #7d0000;   /* darker shade for hovers */
  --ink:          #15212e;   /* body text */
  --ink-soft:     #4a5a6a;   /* secondary text */
  --line:         #e3e8ee;   /* hairlines / borders */
  --accent:       #f6b41c;   /* friendly golden accent */
  --accent-soft:  #fdf3da;   /* pale yellow chip / hover fill */
  --bg:           #ffffff;
  --bg-alt:       #faf6ee;   /* alternating section background (warm cream) */
  --bg-dark:      #15212e;   /* footer / dark band */
  --max:          1160px;    /* content max width */
  --radius:       14px;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; margin-bottom: .35em; }
p  { margin-bottom: 1rem; color: var(--ink-soft); }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

.muted { color: var(--ink-soft); font-size: .9rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 20px; max-width: var(--max); margin: 0 auto;
}
.nav__logo img { max-height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .97rem; white-space: nowrap; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }

/* dropdown for services */
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 250px; padding: 8px 0; box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
/* invisible bridge: fills the gap between the menu item and the dropdown
   so hover isn't lost when the mouse travels down into the submenu */
.has-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none;
}
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 9px 18px; font-size: .92rem; }
.dropdown a:hover { background: var(--bg-alt); }

.nav__call {
  white-space: nowrap;
  background: var(--brand); color: #fff !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.nav__call:hover { background: var(--brand-dark); text-decoration: none; }

@media (max-width: 1290px) {
  .nav__links { gap: 14px; }
  .nav__links a { font-size: .92rem; }
}
/* mobile nav toggle */
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 1120px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px; }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 8px 0; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 4px 0 4px 14px; min-width: 0; }
  .nav__toggle { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media picture { display: block; width: 100%; height: 100%; }
/* faces and truck lettering live in the upper band of every hero photo:
   bias the cover-crop upward at all widths so heads never get cut */
.hero__media img { object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,33,46,.55), rgba(21,33,46,.78)); z-index: 1; }
@media (min-width: 901px) {
  /* text sits left on desktop: anchor the dark there, let the photo side breathe */
  .hero::after {
    background:
      linear-gradient(to top, rgba(21,33,46,.4) 0%, rgba(21,33,46,0) 22%),
      linear-gradient(90deg, rgba(21,33,46,.82) 0%, rgba(21,33,46,.6) 40%, rgba(21,33,46,.18) 70%, rgba(21,33,46,.06) 100%);
  }
}
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 90px 20px; }
.hero .hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: var(--accent); }
.hero h1 { color: #fff; margin: 10px 0 16px; max-width: 18ch; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 46ch; }
.hero__cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.82); }
.section__lead { max-width: 65ch; }
.center { text-align: center; }
.center .section__lead { margin: 0 auto; }

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* feature / why-us grid */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.section--alt .card { background: #fff; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* service / area link list */
.linklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
@media (max-width: 800px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .linklist { grid-template-columns: 1fr; } }
.linklist a {
  display: block; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 600;
}
.linklist a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--brand); text-decoration: none; }

/* cost table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
th { background: var(--bg-alt); font-family: var(--font-body); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-head); font-size: 1.1rem; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding-bottom: 16px; margin-bottom: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; padding: 56px 20px 120px; border-top: 4px solid var(--accent); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: #f0f3f7; }

/* ---------- estimate / contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.8); padding: 56px 0 28px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-body); font-size: 1rem; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.8); font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-disclaimer { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 10px; line-height: 1.5; }

/* phone link — class is a stable hook for WhatConverts dynamic number insertion */
.wc-phone { font-weight: 700; }

/* ---------- accessibility ---------- */
/* visible keyboard focus (mouse clicks stay clean via :focus-visible) */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}
/* on dark/brand backgrounds a red ring disappears — use white there */
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.nav__call:focus-visible {
  outline-color: #fff;
}

/* skip link: offscreen until focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 12px 22px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0 !important;
  text-decoration: none;
}

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ---------- homepage polish ---------- */
/* icon chip on feature cards */
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card__icon svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* numbered how-it-works steps */
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; margin-bottom: 12px;
}

/* hero trust points */
.hero__points {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin-top: 22px; padding: 0; list-style: none;
}
.hero__points li {
  color: rgba(255,255,255,.92); font-size: .95rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.hero__points li::before {
  content: "\2713"; color: var(--ink); font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; flex-shrink: 0;
}

/* split-layout imagery */
.split img { border-radius: var(--radius); width: 100%; height: auto; }

/* FAQ hover affordance */
.faq summary:hover { color: var(--brand); }

/* sticky mobile call bar (phone-first business) */
.call-bar { display: none; }
@media (max-width: 900px) {
  .call-bar {
    display: block !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--brand);
    border-top: 3px solid var(--accent);
    /* own compositing layer: stops iOS Safari painting the bar at a stale
       scroll offset (bar appearing mid-page during scroll) */
    transform: translateZ(0);
    will-change: transform;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 18px rgba(0,0,0,.18);
  }
  .call-bar a {
    display: block; text-align: center; color: #fff; font-weight: 700;
    font-size: 1.05rem; padding: 15px 20px; text-decoration: none;
  }
  .call-bar a:hover { background: var(--brand-dark); text-decoration: none; }
  /* keep the footer readable above the fixed bar */
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

/* ---------- breadcrumbs (service & location pages) ---------- */
.crumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 0; font-size: .85rem;
}
.crumbs li { color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "\203A"; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- mobile header refinement ---------- */
.nav__phone { display: none; } /* header call pill: mobile-only */
@media (max-width: 1120px) {
  .nav { padding: 10px 16px; }
  /* quick-call chip beside the hamburger */
  .nav__phone {
    display: inline-flex !important; flex-direction: column; align-items: center;
    justify-content: center; gap: 1px;
    min-height: 42px; padding: 5px 13px; border-radius: 11px;
    background: var(--brand); color: #fff; flex-shrink: 0; margin-left: auto;
    line-height: 1.15; text-align: center;
  }
  .nav__phone:hover { background: var(--brand-dark); text-decoration: none; }
  .nav__phone-cta {
    font-size: .6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .09em; color: rgba(255,255,255,.85);
  }
  .nav__phone-num { font-size: .88rem; font-weight: 700; white-space: nowrap; }
  /* bigger, stateful toggle */
  .nav__toggle {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 1.45rem; line-height: 1; margin-left: 6px;
  }
  .nav__toggle[aria-expanded="true"] { background: var(--bg-alt); }
  /* the menu panel: scrollable, separated, compact */
  .nav__links {
    max-height: calc(100vh - 66px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 4px 20px 18px;
    box-shadow: 0 16px 28px rgba(21,33,46,.14);
  }
  .nav__links li { padding: 0; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links > li > a { display: block; padding: 14px 0; font-size: 1.02rem; }
  /* services sub-list: quiet, indented, clearly grouped */
  .dropdown { border-left: 2px solid var(--line); padding: 0 0 10px 14px; margin-bottom: 8px; }
  .dropdown li { border-bottom: 0; }
  .dropdown a { padding: 8px 0; font-size: .95rem; color: var(--ink-soft); }
  /* the call button inside the menu matches the site's .btn styling
     (extra specificity so .nav__links > li > a cannot strip it) */
  .nav__links li .nav__call {
    display: block; text-align: center;
    margin: 14px 0 4px; padding: 16px 18px;
    font-size: 1.05rem; font-weight: 600;
    border-radius: var(--radius);
  }
  /* page doesn't scroll behind an open menu */
  body.menu-open { overflow: hidden; }
}

/* small-phone safeguard: keep logo, call pill, and toggle on one row */
@media (max-width: 380px) {
  .nav { padding: 10px 12px; gap: 10px; }
  .nav__logo img { max-height: 38px; }
  .nav__phone { padding: 4px 10px; }
  .nav__phone-num { font-size: .82rem; }
}

/* ---------- friendly accent system ---------- */
/* short golden bar under section headings */
.section h2::after,
.cta-band h2::after {
  content: ""; display: block;
  width: 44px; height: 4px; border-radius: 2px;
  background: var(--accent);
  margin-top: 12px;
}
.center h2::after { margin-left: auto; margin-right: auto; }
.cta-band h2::after { margin-left: auto; margin-right: auto; }

/* ---------- step timeline connectors ---------- */
.steps .card { position: relative; }
@media (min-width: 900px) {
  /* golden bar bridging the grid gap, at step-circle height */
  .steps .card + .card::before {
    content: ""; position: absolute;
    top: 44px; left: -24px; width: 24px; height: 3px;
    border-radius: 2px; background: var(--accent);
  }
}


/* ---------- cinematic service tiles ---------- */
.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;
}
.card--tile {
  position: relative; aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: var(--radius);
  background: var(--ink);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card--tile:hover { box-shadow: 0 16px 36px rgba(21,33,46,.22); transform: translateY(-3px); }
.card--tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s ease;
}
.card--tile:hover img { transform: scale(1.07); }
.card__scrim {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px 20px;
  background: linear-gradient(to top, rgba(21,33,46,.88) 0%, rgba(21,33,46,.45) 38%, rgba(21,33,46,0) 68%);
  transition: background .3s ease;
  pointer-events: none;
}
.card--tile:hover .card__scrim {
  background: linear-gradient(to top, rgba(21,33,46,.94) 0%, rgba(21,33,46,.55) 42%, rgba(21,33,46,.08) 72%);
}
.card__scrim h3 { color: #fff; font-size: 1.35rem; margin: 0 0 2px; line-height: 1.2; }
.card__scrim h3::after {
  content: ""; display: block; width: 36px; height: 3px;
  border-radius: 2px; background: var(--accent); margin-top: 8px;
}
.card__scrim p {
  color: rgba(255,255,255,.9); font-size: .9rem; line-height: 1.45;
  margin: 8px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* link is static so its ::after resolves against the tile -> whole tile clickable */
.card--tile .card__more { position: static; }
.card--tile .card__more::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.card--tile .card__more-arrow {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  width: 34px; height: 34px; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.card--tile:hover .card__more-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .card--tile:hover img, .card--tile:hover .card__more-arrow, .card--tile:hover { transform: none; }
}

/* ---------- niche-signature homepage blocks ---------- */
/* hero curve */
.hero { padding-bottom: 34px; }
.hero__curve {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  line-height: 0; pointer-events: none;
}
.hero__curve svg { display: block; width: 100%; height: 70px; }

/* floating hours chip */
.hours-chip-wrap { position: relative; z-index: 5; margin-top: -30px; padding: 0 20px; }
.hours-chip {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 12px 30px rgba(21,33,46,.12);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; padding: 13px 26px;
  font-weight: 600; color: var(--ink); text-align: center;
}
.hours-chip svg { width: 20px; height: 20px; stroke: var(--brand); flex-shrink: 0; }
.hours-chip .wc-phone { color: var(--brand); white-space: nowrap; }
@media (max-width: 480px) { .hours-chip { border-radius: 22px; font-size: .95rem; } }

/* truck load-size figures */
.loads { text-align: center; }
.loads figure { margin: 0; }
.loads svg { width: 100%; max-width: 190px; height: auto; }
.loads figcaption { font-weight: 700; color: var(--ink); margin-top: 6px; }
.loads .muted { display: block; margin-top: 2px; }

/* item icon strip */
.take-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
@media (max-width: 900px) { .take-strip { grid-template-columns: repeat(4, 1fr); } }
.take-strip a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; font-size: .88rem; text-align: center;
}
.take-strip a:hover { color: var(--brand); text-decoration: none; }
.take-chip {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid rgba(246,180,28,.45);
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.take-strip a:hover .take-chip { transform: translateY(-3px); background: var(--accent); }
.take-chip svg { width: 28px; height: 28px; stroke: var(--brand); }
@media (prefers-reduced-motion: reduce) { .take-strip a:hover .take-chip { transform: none; } }

/* ---------- desktop truck-buddy call CTA ---------- */
.truck-buddy { display: none; }
@media (min-width: 901px) {
  .truck-buddy {
    display: block; position: fixed; right: 22px; bottom: 22px; z-index: 55;
    transform: translateX(130%);
    transition: transform .5s cubic-bezier(.22,.9,.34,1.1);
  }
  .truck-buddy.is-in { transform: translateX(0); }
  .tb-link { display: block; text-decoration: none; }
  .tb-link:hover { text-decoration: none; }
  .tb-bubble {
    display: block;
    background: #fff; border: 2px solid var(--accent); border-radius: 14px;
    padding: 10px 16px; margin-bottom: 10px; margin-right: 8px;
    box-shadow: 0 10px 26px rgba(21,33,46,.16);
    font-weight: 600; color: var(--ink); font-size: .95rem;
    text-align: center; position: relative;
    transition: transform .2s ease;
  }
  .tb-bubble strong { display: block; color: var(--brand); font-size: 1.05rem; margin-top: 2px; }
  .tb-bubble::after { /* speech tail */
    content: ""; position: absolute; bottom: -9px; right: 34px;
    width: 14px; height: 14px; background: #fff;
    border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
  }
  .tb-truck { display: block; margin-left: auto; width: 116px; height: auto; }
  .truck-buddy:hover .tb-bubble { transform: translateY(-3px); }
  .truck-buddy:hover .tb-truck { animation: tb-bounce .45s ease; }
  @keyframes tb-bounce {
    0%,100% { transform: translateY(0); }
    35% { transform: translateY(-7px); }
    65% { transform: translateY(-2px); }
  }
  .tb-close {
    position: absolute; top: -10px; right: -6px; z-index: 2;
    width: 24px; height: 24px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
    font-size: .95rem; line-height: 1; cursor: pointer;
    box-shadow: 0 3px 10px rgba(21,33,46,.15);
  }
  .tb-close:hover { color: var(--brand); border-color: var(--brand); }
  @media (prefers-reduced-motion: reduce) {
    .truck-buddy { transition: none; }
    .truck-buddy:hover .tb-truck { animation: none; }
  }
}

/* footer logo: white on the dark band */
.footer-logo {
  width: 190px; height: auto; margin-bottom: 16px; display: block;
  filter: brightness(0) invert(1); opacity: .95;
}

/* ---------- print ---------- */
@media print {
  .site-header, .call-bar, .truck-buddy, .hero__curve, .nav__toggle,
  .hours-chip-wrap, .skip-link { display: none !important; }
  body { padding-bottom: 0 !important; background: #fff; color: #000; }
  .hero { color: #000; padding-bottom: 0; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero p, .hero__eyebrow { color: #000 !important; }
  .hero__cta, .btn { display: none !important; }
  .cta-band { background: none !important; border: 0; color: #000; padding: 12px 0; }
  .cta-band h2, .cta-band p { color: #000 !important; }
  .section { padding: 14px 0; }
  a { color: #000; text-decoration: underline; }
  .wc-phone { font-size: 1.1em; }
  .site-footer { background: none; color: #000; }
  .site-footer a, .site-footer h4, .site-footer p { color: #000 !important; }
  .footer-logo { filter: none; }
}

/* ---------- little crew doodles ---------- */
.doodle { color: var(--brand); pointer-events: none; }
.doodle svg { display: block; width: 100%; height: auto; }
/* footer sweeper: quiet, working the baseline */
/* ---------- footer loading scene: crew loads the truck, it drives off ---------- */
.footer-bottom { position: relative; }
.footer-parade {
  position: relative; height: 64px; overflow: hidden;
  margin: 0 -20px 10px; pointer-events: none;
  color: rgba(255,255,255,.7);
}
.fp { position: absolute; left: 0; bottom: 0; width: 64px; will-change: transform, opacity; }
.fp svg { display: block; width: 100%; height: auto; }
.fp--truck { width: 108px; }
.fp--2 { width: 86px; }
/* one shared 34s timeline: park -> load x3 -> depart -> sweep */
.fp--truck { animation: fc-truck 34s linear infinite; }
.fp--1 { animation: fc-box 34s linear infinite; }
.fp--2 { animation: fc-duo 34s linear infinite; }
.fp--3 { animation: fc-dolly 34s linear infinite; }
.fp--4 { animation: fc-waver 34s linear infinite; }
.fp--5 { animation: fc-sweep 34s linear infinite; }
@keyframes fc-truck {
  0% { transform: translateX(-130px); }
  14%, 64% { transform: translateX(24vw); }
  80%, 100% { transform: translateX(calc(100vw + 60px)); }
}
@keyframes fc-box { /* first load: box guy */
  0%, 8% { transform: translateX(-90px); opacity: 1; }
  26% { transform: translateX(calc(24vw - 58px)); opacity: 1; }
  28%, 100% { transform: translateX(calc(24vw - 58px)); opacity: 0; }
}
@keyframes fc-duo { /* second: the couch */
  0%, 20% { transform: translateX(-170px); opacity: 1; }
  42% { transform: translateX(calc(24vw - 76px)); opacity: 1; }
  44%, 100% { transform: translateX(calc(24vw - 76px)); opacity: 0; }
}
@keyframes fc-dolly { /* third: dolly load */
  0%, 34% { transform: translateX(-110px); opacity: 1; }
  56% { transform: translateX(calc(24vw - 58px)); opacity: 1; }
  58%, 100% { transform: translateX(calc(24vw - 58px)); opacity: 0; }
}
@keyframes fc-waver { /* directs the loading from beside the cab, jogs off ahead of the truck */
  0%, 4% { transform: translateX(-70px); }
  14%, 60% { transform: translateX(calc(24vw + 124px)); }
  74%, 100% { transform: translateX(calc(100vw + 40px)); }
}
@keyframes fc-sweep { /* sweeps the empty spot after departure */
  0%, 76% { transform: translateX(-90px); }
  100% { transform: translateX(calc(100vw + 30px)); }
}
@media (prefers-reduced-motion: reduce) {
  .fp { animation: none !important; opacity: 1 !important; }
  .fp--truck { left: 30%; } .fp--1 { left: 8%; } .fp--2 { left: 14%; }
  .fp--3 { left: 23%; } .fp--4 { left: 52%; } .fp--5 { left: 68%; }
}

/* crew photo framed inside the homepage CTA band */
.cta-crew {
  display: block; width: 100%; max-width: 560px; height: auto;
  margin: 26px auto 4px; border-radius: var(--radius);
  border: 3px solid rgba(255,255,255,.28);
  box-shadow: 0 16px 40px rgba(0,0,0,.32);
}

/* ---------- marching crew parade (CTA bands) ---------- */
.cta-band { position: relative; overflow: visible; }
.crew-parade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  overflow: hidden;              /* clips off-screen walkers: no page overflow */
  pointer-events: none; color: rgba(255,255,255,.65);
}
.walker { position: absolute; left: 0; bottom: -2px; width: 62px; will-change: transform; }
.walker svg { display: block; width: 100%; height: auto; }
.walker--2 { width: 86px; }
.walker--1 { animation: crew-cross 38s linear infinite; }
.walker--2 { animation: crew-cross 38s linear infinite; animation-delay: -9.5s; }
.walker--3 { animation: crew-cross 38s linear infinite; animation-delay: -19s; }
.walker--4 { animation: crew-cross 38s linear infinite; animation-delay: -28.5s; }
.bob { display: block; animation: crew-bob .5s ease-in-out infinite alternate; }
@keyframes crew-cross {
  from { transform: translateX(-160px); }
  to   { transform: translateX(calc(100vw + 40px)); }
}
@keyframes crew-bob {
  from { transform: translateY(0); }
  to   { transform: translateY(-3px); }
}
@media (max-width: 640px) {
  .walker { width: 54px; }
  .walker--2 { width: 74px; }
  .crew-parade { height: 56px; }
  .cta-band { padding-bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .walker, .bob, .doodle-sweep, .doodle-sweep svg { animation: none !important; }
  .walker { transform: none; }
  .walker--1 { left: 16%; } .walker--2 { left: 40%; } .walker--3 { left: 66%; } .walker--4 { left: 86%; }
  .doodle-sweep { transform: none; left: auto; right: 20px; }
}

/* ---------- orbiting ring on phone buttons (story-ring, house colors) ---------- */
@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.ring-cta { position: relative; }
.nav__phone.ring-cta { --ring-r: 11px; }
.ring-cta::before {
  content: ""; position: absolute; inset: -5px;
  border-radius: calc(var(--ring-r, 999px) + 5px); padding: 3px;
  background: conic-gradient(from var(--ring-angle),
    #f6b41c, #a20000 22%, #f6b41c 45%, #ffffff 55%, #f6b41c 65%, #a20000 82%, #f6b41c);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: ring-spin 2.8s linear infinite;
  pointer-events: none;
}
@keyframes ring-spin { to { --ring-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .ring-cta::before { animation: none; }
}
