/* Dunn Right Towing & Recovery */
@font-face { font-family: "Epilogue"; src: url("fonts/epilogue.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("fonts/mulish.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }

:root {
    --cab: #f3f4f1;
    --badge: #17191b;
    --navy: #1c2c4c;
    --navy-deep: #131f38;
    --beacon: #f0a202;
    --chain: #868c91;
    --road: #e3e5e0;
    --white: #ffffff;
    --max-width: 1180px;
    --radius: 6px;
    --radius-lg: 12px;
    --head: "Epilogue", "Arial Black", Arial, sans-serif;
    --body: "Mulish", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cab); color: var(--badge); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-weight: 750; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--beacon); color: var(--badge); padding: 10px 14px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--beacon); outline-offset: 3px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--body); font-size: 1rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; }
.button-call { background: var(--beacon); color: var(--badge); border-color: var(--beacon); }
.button-call:hover { background: #ffb41f; border-color: #ffb41f; }
.button-quiet { background: transparent; color: inherit; border-color: currentColor; }
.button-quiet:hover { background: rgba(255, 255, 255, 0.12); }
.text-link { font-weight: 700; text-underline-offset: 4px; }

.topbar { background: var(--badge); color: var(--cab); font-size: 0.9rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-right { display: flex; gap: 20px; }
.topbar a { white-space: nowrap; font-weight: 800; text-decoration: none; color: var(--beacon); }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--road); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.2rem; line-height: 1.05; letter-spacing: -0.02em; }
.brand-sub { display: block; font-weight: 500; font-size: 0.86rem; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.nav a:not(.button):hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 16px; background: var(--badge); color: var(--cab); border: 0; border-radius: var(--radius); font-family: var(--body); font-weight: 800; font-size: 1rem; cursor: pointer; }

.hero-photo { height: clamp(300px, 60vh, 620px); overflow: hidden; background: var(--road); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-inner { position: relative; }
.hero-plate { position: relative; max-width: 760px; margin-top: -130px; padding: 36px 40px 30px 0; background: var(--cab); }
.hero-plate::before { content: ""; position: absolute; top: 0; bottom: 0; right: calc(100% - 1px); width: 100vw; background: var(--cab); }
.lede { margin-top: 18px; font-size: 1.16rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.hero-note { margin: 18px 0 0; font-size: 0.94rem; color: #4b5156; }

.sheet { margin-top: 72px; padding: 80px 0 88px; background: var(--navy); color: var(--cab); }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.sheet-intro { margin-top: 14px; max-width: 46ch; color: #cfd6e4; }
#call-sheet { margin-top: 28px; }
.q { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.q legend, .q-label { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 12px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.q-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--cab); font-size: 0.95rem; font-weight: 800; flex: none; }
.q.is-done .q-num { background: var(--cab); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 9px 16px; border: 2px solid rgba(243, 244, 241, 0.45); border-radius: var(--radius); font-weight: 700; }
.chips label:hover span { border-color: var(--cab); }
.chips input:checked + span { background: var(--cab); color: var(--navy); border-color: var(--cab); }
.chips input:focus-visible + span { outline: 3px solid var(--beacon); outline-offset: 3px; }
.field { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--navy-deep); color: var(--cab); border: 2px solid rgba(243, 244, 241, 0.45); border-radius: var(--radius); font-family: var(--body); font-size: 1.0625rem; }
.field::placeholder { color: #9aa6bd; }
.field:focus { border-color: var(--cab); }
.locate-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.locate-row .button { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.locate-note { font-size: 0.92rem; color: #cfd6e4; }

.sheet-side { position: sticky; top: 100px; }
.deck-stage { background: var(--navy-deep); border-radius: var(--radius-lg); padding: 18px 18px 14px; }
.deck-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ground { stroke: var(--chain); stroke-width: 2; }
.frame { fill: #0a1222; }
.cab { fill: var(--cab); }
.glass { fill: var(--navy); }
.beacon { fill: var(--beacon); }
.door-badge { fill: none; stroke: var(--badge); stroke-width: 3; }
.wheels circle { fill: #0a1222; stroke: var(--chain); stroke-width: 3; }
.wheels .hub { fill: var(--chain); stroke: none; }
.deck-bed { fill: #c7ccd0; }
.headboard { fill: #c7ccd0; }
.winch { fill: var(--chain); }
.cable { stroke: var(--beacon); stroke-width: 2.5; stroke-linecap: round; }
.hook { stroke: var(--beacon); stroke-width: 4; stroke-linecap: round; }
#load .shape path { fill: #31487a; stroke: var(--cab); stroke-width: 3; stroke-linejoin: round; }
.load-wheels circle { fill: #0a1222; stroke: var(--cab); stroke-width: 3; }
.deck-status { margin: 10px 0 0; font-size: 0.95rem; color: #cfd6e4; min-height: 3em; }

.slip { position: relative; margin-top: 18px; padding: 24px 24px 20px; background: var(--cab); color: var(--badge); border-radius: var(--radius-lg); }
.slip dl { margin: 14px 0 0; }
.slip dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--road); }
.slip dt { font-weight: 800; font-size: 0.95rem; }
.slip dd { margin: 0; overflow-wrap: anywhere; }
.slip dd.is-empty { color: #6b7176; }
.slip-send { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--road); font-weight: 700; }
.slip-send:empty { display: none; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.slip .button-quiet:hover { background: var(--road); }
.slip-stamp { position: absolute; top: 20px; right: 20px; margin: 0; padding: 4px 12px; border: 3px solid #b3261e; color: #b3261e; border-radius: 4px; font-family: var(--head); font-weight: 800; font-size: 1rem; transform: rotate(-6deg); background: var(--cab); }
.form-note { margin: 16px 0 0; font-size: 0.9rem; color: #4b5156; }

.services { padding: 96px 0 40px; }
.services-head { max-width: 640px; }
.services-head p { margin-top: 14px; }
.services-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; margin-top: 36px; align-items: start; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 2px solid var(--badge); }
.service-list li:last-child { border-bottom: 2px solid var(--badge); }
.service-list p { margin: 0; }
.services-photos { display: grid; gap: 28px; }
.services-photos figure, .quote { margin: 0; }
.services-photos img { width: 100%; border-radius: var(--radius); }
figcaption { margin-top: 8px; font-size: 0.94rem; color: #4b5156; }

.recovery { padding: 72px 0 96px; }
.recovery-intro { margin-top: 14px; max-width: 60ch; }
.strip { list-style: none; display: flex; gap: 20px; margin: 32px 0 0; padding: 0 24px 18px max(24px, calc((100vw - var(--max-width)) / 2 + 24px)); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px)); -webkit-overflow-scrolling: touch; scrollbar-color: var(--badge) var(--road); }
.strip li { flex: 0 0 min(80vw, 540px); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.strip p { display: flex; gap: 12px; align-items: baseline; margin: 12px 0 0; font-weight: 600; }
.strip p span { font-family: var(--head); font-weight: 800; font-size: 1.3rem; }

.reviews { padding: 88px 0; background: var(--road); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.reviews-head p { margin-top: 14px; }
.reviews-head img { margin-top: 24px; border-radius: var(--radius); width: 100%; }
.quote { padding: 0 0 28px 24px; border-left: 4px solid var(--badge); }
.quote + .quote { margin-top: 32px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 1.14rem; line-height: 1.55; }
.quote figcaption { font-weight: 800; color: var(--badge); margin-top: 12px; }

.faq { padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-item { border-top: 2px solid var(--badge); }
.faq-item:last-child { border-bottom: 2px solid var(--badge); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--badge); border-bottom: 3px solid var(--badge); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s ease; }
.faq-item.is-open summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-answer { margin: 0; padding-bottom: 22px; max-width: 62ch; overflow: hidden; }

.yard { padding: 88px 0; background: var(--navy); color: var(--cab); }
.yard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.yard-phone { display: inline-block; margin: 10px 0 18px; font-family: var(--head); font-weight: 800; font-size: clamp(2.5rem, 12vw, 5.2rem); white-space: nowrap; line-height: 1; letter-spacing: -0.04em; color: var(--beacon); text-decoration: none; }
.yard-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.yard p { max-width: 48ch; margin: 0; }
.yard-facts { margin: 0; }
.yard-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(243, 244, 241, 0.3); }
.yard-facts dt { font-weight: 800; }
.yard-facts dd { margin: 0; }

.site-footer { background: var(--badge); color: var(--cab); padding: 48px 0 110px; font-size: 0.98rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 20px; align-items: center; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; }
address { font-style: normal; }
.footer-meta p { margin: 0 0 6px; }
.footer-credit { color: #b9bec2; }

.page-simple main { padding: 72px 0 96px; }
.page-simple h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 20px; }
.page-simple h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.page-simple main p, .page-simple main li { max-width: 68ch; }

@media (max-width: 980px) {
    .sheet-grid, .services-grid, .reviews-grid, .faq-grid, .yard-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .sheet-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
    .sheet-side { display: contents; }
    .deck-stage { order: -1; position: sticky; top: 84px; z-index: 5; padding: 12px 14px 10px; box-shadow: 0 0 0 8px var(--navy); }
    .deck-status { min-height: 0; margin-top: 6px; }
    .slip { margin-top: 0; }
    .yard-grid { align-items: start; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; align-items: center; }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--white); border-bottom: 1px solid var(--road); }
    .nav.is-open { display: flex; }
    .nav a:not(.button) { padding: 13px 0; border-bottom: 1px solid var(--road); }
    .nav-call { margin-top: 14px; }
    .header-inner { position: relative; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .wrap { padding: 0 18px; }
    .topbar-hours, .topbar-street { display: none; }
    .topbar-inner { font-size: 0.82rem; }
    .header-inner { min-height: 64px; }
    .deck-stage { top: 72px; }
    .brand img { width: 46px; height: 46px; }
    .brand-name { font-size: 1.05rem; }
    .hero-photo { height: 46vh; min-height: 260px; }
    .hero-plate { margin-top: -44px; margin-right: 22px; padding: 24px 18px 8px 0; }
    .hero-actions .button { width: 100%; }
    .sheet { margin-top: 48px; padding: 56px 0 64px; }
    .slip { padding: 20px 16px 16px; }
    .slip-actions .button { width: 100%; }
    .slip dl div { grid-template-columns: 80px 1fr; }
    .services { padding: 64px 0 24px; }
    .service-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .recovery { padding: 56px 0 64px; }
    .strip { padding-left: 18px; padding-right: 18px; gap: 14px; scroll-padding-left: 18px; }
    .reviews, .faq, .yard { padding: 64px 0; }
    .yard-facts div { grid-template-columns: 100px 1fr; }
    .footer-brand { align-items: flex-start; }
    .footer-brand img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .faq-item summary::after { transition: none; }
}

#load.is-trailer .load-wheels circle:first-child { transform: translateX(20px); }
#load.is-trailer .load-wheels circle:last-child { transform: translateX(-42px); }
#load .shape[hidden] { display: none; }
