/* ==========================================================================
   Stack-Up Towing LLC — Tucson, AZ
   Palette : Sonoran dusk — sand + sunset red-orange + desert teal
   Type    : Bricolage Grotesque (display) · Instrument Sans · Martian Mono
   ========================================================================== */

:root{
  --bg:#F1EDE6; --bg-2:#F8F5F0; --surface:#FFFFFF; --surface-2:#E6E0D6;
  --ink:#171310; --ink-2:#574F47; --ink-3:#8A8076;
  --line:#DCD5C9; --line-2:#C6BDAE;
  --accent:#D8431C; --accent-2:#12857D; --good:#1B7A4E;
  --shadow:0 1px 2px rgba(23,19,16,.06), 0 12px 34px -14px rgba(23,19,16,.24);
  --shadow-lg:0 2px 5px rgba(23,19,16,.08), 0 32px 66px -26px rgba(23,19,16,.36);
  --g-star:#FBBC04;
  --sans:"Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:"Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display:"Bricolage Grotesque", var(--sans);
  --wrap:1220px; --r:3px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0E0B09; --bg-2:#14100D; --surface:#1B1613; --surface-2:#251E19;
    --ink:#F2EEE8; --ink-2:#A79C90; --ink-3:#7A6F64;
    --line:#2C241E; --line-2:#3E332B;
    --accent:#FF6033; --accent-2:#2FC0B4; --good:#34C182;
    --shadow:0 1px 2px rgba(0,0,0,.5), 0 12px 34px -14px rgba(0,0,0,.72);
    --shadow-lg:0 2px 5px rgba(0,0,0,.5), 0 32px 66px -26px rgba(0,0,0,.86);
  }
}
:root[data-theme="dark"]{
  --bg:#0E0B09; --bg-2:#14100D; --surface:#1B1613; --surface-2:#251E19;
  --ink:#F2EEE8; --ink-2:#A79C90; --ink-3:#7A6F64;
  --line:#2C241E; --line-2:#3E332B;
  --accent:#FF6033; --accent-2:#2FC0B4; --good:#34C182;
  --shadow:0 1px 2px rgba(0,0,0,.5), 0 12px 34px -14px rgba(0,0,0,.72);
  --shadow-lg:0 2px 5px rgba(0,0,0,.5), 0 32px 66px -26px rgba(0,0,0,.86);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{margin:0; background:var(--bg); color:var(--ink); overflow-x:clip;
  font-family:var(--sans); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased}
img{max-width:100%; display:block}
a{color:inherit; -webkit-tap-highlight-color:transparent}
p{margin:0}
:focus-visible{outline:3px solid var(--accent); outline-offset:3px; border-radius:2px}
.skip{position:absolute; left:-9999px; top:0; z-index:100; background:var(--accent);
  color:#fff; padding:12px 18px; font-weight:600}
.skip:focus{left:12px; top:12px}
.wrap{max-width:var(--wrap); margin-inline:auto; padding-inline:24px}
.mt-30{margin-top:30px}

h1,h2,h3{font-family:var(--display); text-wrap:balance; margin:0;
  font-variation-settings:"wdth" 96; letter-spacing:-.022em; line-height:1.02}
h2{font-weight:800; font-size:clamp(28px,4.3vw,48px); margin-top:14px}
h3{font-weight:700; font-size:19.5px; line-height:1.22}

.eyebrow{font-family:var(--mono); font-size:10.5px; font-weight:500; letter-spacing:.12em;
  text-transform:uppercase; color:var(--accent); display:flex; align-items:center; gap:10px}
.eyebrow::before{content:""; width:20px; height:2px; background:var(--accent); flex:none}
.sec-lede{color:var(--ink-2); max-width:56ch; margin-top:16px}

/* ---------- call bar ---------- */
.callbar{position:sticky; top:0; z-index:60; border-bottom:1px solid var(--line);
  background:color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter:saturate(1.5) blur(14px)}
.callbar-in{display:flex; align-items:center; gap:22px; height:68px}
.mark{display:block; text-decoration:none; margin-right:auto}
.mark-name{font-family:var(--display); font-weight:800; font-size:20px;
  font-variation-settings:"wdth" 82; letter-spacing:-.01em; line-height:1; display:block}
.mark-sub{font-family:var(--mono); font-size:9px; letter-spacing:.17em; text-transform:uppercase;
  color:var(--ink-3); line-height:1; margin-top:5px; display:block}
.nav{display:flex; gap:24px}
.nav a{font-size:14px; text-decoration:none; color:var(--ink-2); font-weight:500}
.nav a:hover{color:var(--accent)}
.status{display:flex; align-items:center; gap:7px; font-family:var(--mono); font-size:10.5px; color:var(--ink-2)}
.dot-live{width:7px; height:7px; border-radius:50%; background:var(--good); flex:none}
@media (max-width:1120px){.nav{display:none}}
@media (max-width:920px){.status{display:none}}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; text-decoration:none;
  font-family:var(--display); font-weight:700; font-size:15px; font-variation-settings:"wdth" 92;
  padding:13px 22px; border-radius:var(--r); border:1px solid transparent; white-space:nowrap;
  transition:transform .12s ease, background .18s ease, border-color .18s ease}
.btn-call{background:var(--accent); color:#fff;
  box-shadow:0 8px 22px -10px color-mix(in srgb, var(--accent) 85%, transparent)}
.btn-call:hover{transform:translateY(-1px); filter:brightness(1.08)}
.btn-ghost{background:transparent; color:var(--ink); border-color:var(--line-2)}
.btn-ghost:hover{border-color:var(--ink-3); background:var(--surface)}
.btn-lg{font-size:18px; padding:17px 30px}
.btn-xl{font-size:22px; padding:20px 40px; margin-top:34px}

/* ==========================================================================
   HERO + THE LOAD-UP
   ========================================================================== */
/* The hero and the desert scene are one band: the hero's ground colour is
   the exact top stop of the SVG sky (#1B1436), so the illustration begins
   with no seam. The headline still sits in its own block above the artwork —
   merged background, never overlapping the truck. */
.hero{ background:#1B1436; color:#F4F0EA; }
/* The copy band ends on #1B1436 — the exact top stop of the SVG sky — so the
   illustration continues it with no seam at all. Its bottom padding is the
   clearance that keeps the headline off the truck. */
.hero-top{
  background:linear-gradient(180deg,#07050E 0%, #0C0718 38%, #150F2B 74%, #1B1436 100%);
  padding:92px 0 clamp(52px,7vw,112px);
}
.hero-in{position:relative; z-index:2; max-width:1000px}
.hero h1{
  font-weight:800; font-variation-settings:"wdth" 86;
  font-size:clamp(54px,10.6vw,148px); letter-spacing:-.042em;
  line-height:.94; margin:22px 0 0; color:#FFF9F2;
}
.hero h1 .accent{color:#FF6033}
.hero-lede{margin-top:28px; max-width:56ch; font-size:clamp(16px,2vw,20px); color:#B4A7C0}
.hero-cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:36px}
.hero .eyebrow{color:#FF7A4D}
.hero .eyebrow::before{background:#FF7A4D}
.hero .btn-ghost{color:#fff; border-color:rgba(255,255,255,.3)}
.hero .btn-ghost:hover{background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.55)}

/* Clearance between the last line of copy and the horizon — this gap is what
   keeps the words off the artwork. */
.scene-wrap{position:relative; z-index:1; margin-top:0; background:transparent}
.scene{display:block; width:100%; height:auto}

.scene-specs{display:grid; grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(255,255,255,.13)}
.scene-specs{max-width:var(--wrap); margin-inline:auto}
.scene-wrap .spec{padding:20px 22px 22px; border-right:1px solid rgba(255,255,255,.13)}
.scene-wrap .spec:last-child{border-right:0}
.spec-k{font-family:var(--display); font-weight:800; font-size:25px; font-variation-settings:"wdth" 88;
  color:#F6F1EA; line-height:1; font-variant-numeric:tabular-nums}
.spec-k span{color:#FBBC04; font-size:19px}
.spec-v{font-family:var(--mono); font-size:9.5px; letter-spacing:.11em; text-transform:uppercase;
  color:#B0A0AE; margin-top:10px}
@media (max-width:720px){
  .scene-specs{grid-template-columns:1fr 1fr}
  .scene-wrap .spec{border-bottom:1px solid rgba(255,255,255,.13)}
  .scene-wrap .spec:nth-child(2n){border-right:0}
  .scene-wrap .spec:nth-child(n+3){border-bottom:0}
}

/* ---- the animation ---- */
#rig, #deck, #car, .wheel, .dust{ transform-box:view-box; }
#rig  { animation:rig-drive 15s cubic-bezier(.55,0,.35,1) infinite; }
#deck { transform-origin:304px 291px; animation:deck-tilt 15s cubic-bezier(.4,0,.3,1) infinite; }
#car  { animation:car-load 15s cubic-bezier(.4,0,.35,1) infinite; }
.wheel{ animation:wheel-spin 15s cubic-bezier(.55,0,.35,1) infinite; }
.dust { animation:dust-puff 15s linear infinite; }
.beacon{ animation:beacon-flash 1s steps(1,end) infinite; }
.b2{ animation-delay:.5s; }

@keyframes rig-drive{
  0%   { transform:translateX(-1040px); }
  14%  { transform:translateX(0); }
  74%  { transform:translateX(0); }
  90%  { transform:translateX(-1560px); }
  100% { transform:translateX(-1560px); }
}
/* The deck slides back as it tilts, the way a real tilt-bed does — without the
   slide the front of the deck swings up through the cab. */
@keyframes deck-tilt{
  0%,18% { transform:translateX(0) rotate(0deg); }
  26%    { transform:translateX(70px) rotate(7.6deg); }
  52%    { transform:translateX(70px) rotate(7.6deg); }
  60%    { transform:translateX(0) rotate(0deg); }
  100%   { transform:translateX(0) rotate(0deg); }
}
/* The car is nested inside the deck group, so levelling the deck carries the
   car up with it for free. */
@keyframes car-load{
  0%,19% { transform:translateX(125px); opacity:0; }
  22%    { transform:translateX(125px); opacity:1; }
  48%    { transform:translateX(0);     opacity:1; }
  100%   { transform:translateX(0);     opacity:1; }
}
@keyframes wheel-spin{
  0%   { transform:rotate(0deg); }
  14%  { transform:rotate(1080deg); }
  74%  { transform:rotate(1080deg); }
  90%  { transform:rotate(2160deg); }
  100% { transform:rotate(2160deg); }
}
/* Loaded, level and holding from 9.0s to 11.1s — the shot the whole
   sequence exists to arrive at. */
@keyframes dust-puff{
  0%,12%   { opacity:.65; }
  16%,72%  { opacity:0; }
  92%,100% { opacity:.65; }
}
@keyframes beacon-flash{ 0%,49%{opacity:1} 50%,100%{opacity:.16} }

/* ==========================================================================
   GOOGLE BAND
   ========================================================================== */
.gband{background:var(--surface); border-bottom:1px solid var(--line)}
.gband-in{display:grid; grid-template-columns:auto 1fr auto; gap:34px; padding:28px 0;
  align-items:center; grid-template-areas:"claim claim claim" "rating bars link"}
.claim{grid-area:claim; display:flex; align-items:center; gap:13px; flex-wrap:wrap;
  font-family:var(--display); font-weight:800; font-variation-settings:"wdth" 92;
  font-size:clamp(21px,2.7vw,31px); line-height:1.1; color:var(--ink);
  padding-bottom:22px; border-bottom:1px solid var(--line)}
.claim-stars{display:flex; gap:2px}
.grating{grid-area:rating; display:flex; align-items:center; gap:16px}
.gbars{grid-area:bars; display:grid; gap:5px; min-width:210px; max-width:340px; width:100%}
.gband-in > .btn{grid-area:link}
.gscore{font-family:var(--display); font-weight:800; font-size:54px; line-height:.9;
  font-variation-settings:"wdth" 84; font-variant-numeric:tabular-nums}
.gstars{display:flex; gap:2px}
.gmeta{font-size:13.5px; color:var(--ink-2); margin-top:7px}
.gmeta b{color:var(--ink); font-weight:600}
.gbar{display:grid; grid-template-columns:12px 1fr 40px; gap:9px; align-items:center;
  font-family:var(--mono); font-size:10px; color:var(--ink-3)}
.gbar-t{height:7px; border-radius:99px; background:var(--surface-2); overflow:hidden}
.gbar-f{display:block; height:100%; background:var(--g-star); border-radius:99px; width:0;
  transition:width 1.1s cubic-bezier(.2,.7,.2,1)}
@media (max-width:920px){
  .gband-in{grid-template-columns:1fr; grid-template-areas:"claim" "rating" "bars" "link";
    justify-items:center; text-align:center}
  .claim{justify-content:center}
}

/* ==========================================================================
   MOVING REVIEWS
   ========================================================================== */
.reviews{padding:76px 0 84px; background:var(--bg-2); border-bottom:1px solid var(--line); overflow:hidden}
.reviews-head{margin-bottom:36px}
.reviews-head p{color:var(--ink-2); max-width:50ch; margin-top:14px}
.rail{position:relative; margin-top:16px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.rail-track{display:flex; gap:16px; width:max-content; will-change:transform}
.rail-a .rail-track{animation:slide-l 66s linear infinite}
.rail-b .rail-track{animation:slide-r 80s linear infinite}
@keyframes slide-l{from{transform:translate3d(0,0,0)} to{transform:translate3d(-50%,0,0)}}
@keyframes slide-r{from{transform:translate3d(-50%,0,0)} to{transform:translate3d(0,0,0)}}
.rail:hover .rail-track,.rail-track.is-paused{animation-play-state:paused}

.rcard{flex:none; width:352px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:22px; box-shadow:var(--shadow);
  display:flex; flex-direction:column; gap:14px}
.rcard-top{display:flex; align-items:center; gap:12px}
.avatar{width:40px; height:40px; border-radius:50%; flex:none; display:grid; place-items:center;
  color:#fff; font-weight:600; font-family:var(--display)}
.rname{font-weight:600; font-size:14.5px; line-height:1.25}
.rdate{font-family:var(--mono); font-size:10px; color:var(--ink-3); margin-top:4px}
.rbody{font-size:14.5px; line-height:1.62; color:var(--ink-2)}
.rslot{border:1px dashed var(--line-2); border-radius:var(--r); padding:14px 15px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.04em; color:var(--ink-3); line-height:1.7;
  background:repeating-linear-gradient(135deg,transparent 0 9px, color-mix(in srgb,var(--line) 50%,transparent) 9px 10px)}
.rslot b{display:block; color:var(--ink-2); letter-spacing:.12em; text-transform:uppercase;
  font-size:9.5px; margin-bottom:6px}
.rfoot{display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:4px}
.rposted{font-family:var(--mono); font-size:9px; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-3)}

/* ==========================================================================
   THE WORK — real photos, all portrait
   ========================================================================== */
.work{padding:84px 0}
.photo-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-top:40px}
.pslot{position:relative; margin:0; overflow:hidden; border-radius:var(--r);
  border:1px solid var(--line); background:var(--surface-2)}
.pslot img{width:100%; height:auto; transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.pslot:hover img{transform:scale(1.05)}
.pcap{position:absolute; inset:auto 0 0 0; z-index:2; padding:34px 14px 12px;
  font-family:var(--mono); font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:#fff;
  background:linear-gradient(transparent, rgba(0,0,0,.82));
  opacity:0; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease}
.pslot:hover .pcap,.pslot:focus-within .pcap{opacity:1; transform:none}
@media (hover:none){.pcap{opacity:1; transform:none}}
@media (max-width:1000px){.photo-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:620px){.photo-grid{grid-template-columns:repeat(2,1fr); gap:10px}}

/* ==========================================================================
   SERVICES / CREDENTIALS / LOCATION / CTA
   ========================================================================== */
.services{padding:0 0 84px}
.svc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:var(--r); overflow:hidden; margin-top:40px}
.svc{background:var(--surface); padding:28px 26px 30px; display:flex; flex-direction:column;
  transition:background .2s ease}
.svc:hover{background:var(--surface-2)}
.svc-n{font-family:var(--mono); font-size:10px; color:var(--accent); letter-spacing:.12em}
.svc h3{margin:14px 0 10px}
.svc p{font-size:14.5px; color:var(--ink-2); line-height:1.62; margin-top:auto}
@media (max-width:980px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.svc-grid{grid-template-columns:1fr}}

.creds{background:var(--surface); border-block:1px solid var(--line); padding:76px 0}
.cred-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:34px; margin-top:40px}
.cred-k{font-family:var(--display); font-weight:800; font-size:33px; font-variation-settings:"wdth" 86;
  font-variant-numeric:tabular-nums; line-height:1}
.cred-l{font-family:var(--mono); font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent); margin-top:12px}
.cred-d{font-size:14px; color:var(--ink-2); margin-top:10px; line-height:1.58}

.loc{padding:84px 0}
.loc-grid{display:grid; grid-template-columns:1fr 1.15fr; gap:44px; align-items:center; margin-top:40px}
@media (max-width:920px){.loc-grid{grid-template-columns:1fr; gap:32px}}
.addr-list{margin-top:28px; border-top:1px solid var(--line)}
.addr-row{display:grid; grid-template-columns:104px 1fr; gap:18px; padding:17px 0;
  border-bottom:1px solid var(--line); align-items:baseline}
.addr-k{font-family:var(--mono); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3)}
.addr-v{font-size:16px; line-height:1.5}
.addr-v a{color:var(--accent); text-decoration:none; font-weight:600}
.addr-v a:hover{text-decoration:underline}
.mapbox{position:relative; border:1px solid var(--line); border-radius:var(--r); overflow:hidden;
  box-shadow:var(--shadow-lg); background:var(--surface-2); aspect-ratio:16/11}
.mapbox svg{display:block; width:100%; height:100%}
.map-chip{position:absolute; left:14px; bottom:14px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:9px 13px; font-family:var(--mono); font-size:10px; color:var(--ink-2);
  box-shadow:var(--shadow); display:flex; align-items:center; gap:8px}

.final{position:relative; background:#241826; color:#fff; overflow:hidden; text-align:center; padding:94px 0 98px}
.final::before{content:""; position:absolute; inset:0;
  background:radial-gradient(70% 120% at 50% 0%, color-mix(in srgb,var(--accent) 34%, transparent), transparent 66%)}
.final-in{position:relative}
.final h2{color:#fff; font-size:clamp(34px,5.8vw,66px); font-weight:800; font-variation-settings:"wdth" 88}
.final p{color:#B7A6B4; margin:20px auto 0; max-width:48ch; font-size:17px}
.final-note{font-family:var(--mono); font-size:10px; letter-spacing:.11em; text-transform:uppercase;
  color:#7C6B7A; margin-top:28px}

footer{background:var(--bg-2); padding:38px 0; border-top:1px solid var(--line)}
.foot{display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; align-items:center;
  font-family:var(--mono); font-size:10px; color:var(--ink-3)}
.foot-nav{display:none; gap:20px}
.foot-nav a{color:var(--ink-2); text-decoration:none}
@media (max-width:1120px){.foot-nav{display:flex}}

/* ==========================================================================
   MOBILE
   ========================================================================== */
.thumbbar{display:none}
#work,#reviews,#services,#location,#top{scroll-margin-top:80px}

@media (max-width:720px){
  .thumbbar{display:block; position:fixed; left:0; right:0; bottom:0; z-index:70;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:var(--bg); border-top:1px solid var(--line)}
  .thumbbar .btn{width:100%; font-size:17px; padding:16px 20px; min-height:56px}
  .topcall{display:none}
  body{padding-bottom:88px}
  .callbar{background:var(--bg); backdrop-filter:none}
  .callbar-in{height:60px; gap:14px}
  .status{display:flex; font-size:9.5px}

  .hero-top{padding:52px 0 40px}
  .hero h1{font-size:clamp(44px,13.5vw,72px); line-height:.96}
  .hero-lede{font-size:16px; margin-top:18px}
  .hero-cta{gap:10px; margin-top:26px}
  .hero-cta .btn{flex:1 1 100%; min-height:54px}
  

  .reviews{padding:58px 0 64px}
  .work,.loc{padding:60px 0}
  .services{padding-bottom:60px}
  .creds{padding:58px 0}
  .final{padding:70px 0 74px}
  .btn-xl{font-size:19px; padding:17px 30px; width:100%}
  .rcard{width:min(300px,82vw); padding:18px}
  .rail-a .rail-track{animation-duration:50s}
  .rail-b .rail-track{animation-duration:60s}
  .claim{font-size:19px; gap:9px; padding-bottom:16px}
  .claim-stars svg{width:15px; height:15px}
  .addr-row{grid-template-columns:1fr; gap:5px; padding:15px 0}
  .mapbox{aspect-ratio:4/3}
  .foot{flex-direction:column; align-items:flex-start; gap:14px}
  .pslot:hover img{transform:none}
  .services,.creds,.loc{content-visibility:auto; contain-intrinsic-size:auto 900px}
}
@media (hover:none){.btn{min-height:48px}}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important}
  /* Freeze the rig mid-scene, loaded and level, rather than off-screen. */
  #rig{animation:none !important; transform:none !important}
  #deck{animation:none !important; transform:none !important}
  #car{animation:none !important; transform:translateX(0) !important; opacity:1 !important}
  .wheel,.dust{animation:none !important}
  .dust{opacity:0}
  .beacon{animation:none !important}
  .rail-track{animation:none !important}
  .rail{overflow-x:auto; mask-image:none; -webkit-mask-image:none}
}
