/* Tyson Auto Repair and Body Shop — collision-shop bold
   off-white · safety orange · charcoal · Archivo Black + Archivo */
:root {
  --bg: #f5f3ef;
  --paper: #ffffff;
  --ink: #1f1f22;
  --char: #26262a;
  --char-2: #33333a;
  --orange: #ea580c;
  --orange-dk: #c2410c;
  --orange-lt: #fff1e8;
  --muted: #5d5852;
  --line: #e3ddd4;
  --head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }

/* Top bar */
.topbar { background: var(--char); color: #d8d4ce; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 3px solid var(--orange); transition: box-shadow 0.25s; }
header.site.scrolled { box-shadow: 0 10px 30px rgba(20,20,24,0.12); }
header.site .wrap { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { width: 44px; height: 44px; background: var(--orange); color: #fff; font-family: var(--head); font-size: 26px; display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.logo .name { font-family: var(--head); font-size: 19px; line-height: 1; text-transform: uppercase; }
.logo .name small { display: block; font-family: var(--body); font-weight: 700; font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted); margin-top: 4px; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a { font-weight: 700; font-size: 15px; padding: 8px 14px; text-transform: uppercase; letter-spacing: 0.06em; position: relative; }
nav.main a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
nav.main a:hover::after, nav.main a.active::after { transform: scaleX(1); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 4px; background: #eee9e2; color: var(--ink); white-space: nowrap; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9a948c; }
.status-pill.open { background: #e5f6ea; color: #14532d; }
.status-pill.open::before { background: #16a34a; box-shadow: 0 0 0 0 rgba(22,163,74,0.6); animation: pulse 2s infinite; }
.status-pill.closed { background: #fdecec; color: #8a1c1c; }
.status-pill.closed::before { background: #dc2626; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); } 70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.call-btn { background: var(--orange); color: #fff; font-weight: 800; padding: 11px 18px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background 0.2s, transform 0.2s; }
.call-btn:hover { background: var(--orange-dk); transform: translateY(-1px); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); width: 44px; height: 40px; font-size: 20px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 15.5px; padding: 16px 26px; transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s; }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 6px 6px 0 var(--char); }
.btn.primary:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--char); }
.btn.ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); box-shadow: 6px 6px 0 var(--char); }

/* Split hero with diagonal photo panel */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero .split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 600px; }
.hero .copy { padding: 76px 48px 76px max(24px, calc((100vw - 1180px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge { font-size: 13px; font-weight: 700; padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.badge b { color: var(--orange-dk); }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 19px; color: var(--muted); margin: 22px 0 32px; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .photo { position: relative; }
.hero .photo::before { content: ""; position: absolute; inset: 0; background: var(--orange); clip-path: polygon(14% 0, 22% 0, 8% 100%, 0 100%); z-index: 1; }
.hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(24% 0, 100% 0, 100% 100%, 10% 100%); }
.hero .photo .tag { position: absolute; right: 24px; bottom: 24px; z-index: 2; background: var(--char); color: #fff; padding: 14px 18px; font-weight: 700; font-size: 14px; max-width: 280px; border-left: 4px solid var(--orange); }
.hero .photo .tag b { font-family: var(--head); font-weight: 400; display: block; font-size: 22px; color: var(--orange); }
.hero.slim .split { min-height: 420px; }
.hero.slim .copy { padding-top: 60px; padding-bottom: 60px; }
.hero.slim h1 { font-size: clamp(36px, 4.6vw, 58px); }

/* Hero entrance */
.hero .copy > * { animation: slideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero .copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero .copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero .copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero .photo img { animation: wipe 1.1s cubic-bezier(0.65, 0, 0.35, 1) both; }
.hero .photo::before { animation: slash 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(24% 0, 100% 0, 100% 100%, 10% 100%); } }
@keyframes slash { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

/* Stats band */
.stats { background: var(--char); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 30px 20px; border-left: 1px solid rgba(255,255,255,0.12); }
.stats .wrap > div:first-child { border-left: 0; }
.stats b { font-family: var(--head); font-weight: 400; font-size: 40px; color: var(--orange); display: block; line-height: 1; }
.stats span { font-size: 14px; color: #c9c4bd; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; display: block; margin-top: 8px; }

/* Sections */
.block { padding: 92px 0; }
.block.alt { background: var(--paper); }
.block.dark { background: var(--char); color: #fff; }
.kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-dk); margin-bottom: 14px; padding-left: 34px; position: relative; }
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 3px; background: var(--orange); }
.block.dark .kicker { color: #fdba74; }
h2.title { font-size: clamp(30px, 3.8vw, 46px); text-transform: uppercase; max-width: 820px; }
.sub { color: var(--muted); font-size: 18px; max-width: 720px; margin-top: 16px; }
.block.dark .sub { color: #c9c4bd; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }

/* Expandable service rows */
.rows { border-top: 2px solid var(--ink); }
details.row { border-bottom: 1px solid var(--line); background: transparent; transition: background 0.25s; }
details.row[open] { background: var(--paper); }
details.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr auto 44px; align-items: center; gap: 18px; padding: 22px 18px; }
details.row summary::-webkit-details-marker { display: none; }
details.row .n { font-family: var(--head); font-size: 28px; color: var(--orange); }
details.row h3 { font-size: 22px; text-transform: uppercase; }
details.row .tag { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
details.row .pm { width: 40px; height: 40px; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--head); font-size: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
details.row .pm::before { content: "+"; font-size: 22px; line-height: 1; transition: transform 0.3s; }
details.row[open] .pm { background: var(--orange); border-color: var(--orange); color: #fff; }
details.row[open] .pm::before { transform: rotate(45deg); }
details.row summary:hover .pm { background: var(--ink); color: #fff; }
details.row .body { padding: 0 18px 26px 106px; color: var(--muted); max-width: 900px; }
details.row .body p + p { margin-top: 12px; }
details.row[open] .body { animation: drop 0.35s ease both; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.more-link { display: inline-block; margin-top: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 3px solid var(--orange); padding-bottom: 2px; }

/* Prose + side panel */
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
h2.title + .prose { margin-top: 24px; }
.prose p { margin-bottom: 18px; color: #3b3834; }
.prose p strong { color: var(--ink); }
.prose a { color: var(--orange-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--orange); padding: 30px; }
.block.alt .panel { background: var(--bg); }
.panel h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }
.panel p { color: var(--muted); margin-bottom: 12px; }
.panel ul { list-style: none; }
.panel li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; }
.panel li::before { content: "▸"; color: var(--orange); font-weight: 800; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.hours-row:last-child { border-bottom: 0; }
.hours-row b { font-weight: 700; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two-col { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); padding: 30px; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--orange); }
.card .num { font-family: var(--head); font-size: 50px; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.card h3 { font-size: 21px; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); }
.block.dark .card { background: var(--char-2); border-color: #44444c; }
.block.dark .card p { color: #cfcac3; }

/* Reviews */
.review-band { background: var(--char); color: #fff; padding: 92px 0; position: relative; overflow: hidden; }
.review-band::before { content: ""; position: absolute; right: -120px; top: 0; bottom: 0; width: 380px; background: var(--orange); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); opacity: 0.9; }
.review-band .wrap { position: relative; }
.review-band .score { font-family: var(--head); font-size: 84px; line-height: 1; color: var(--orange); }
.review-band .stars { color: #fdba74; font-size: 22px; letter-spacing: 4px; margin: 6px 0 14px; }
.review-band h2 { font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; max-width: 720px; }
.review-band > .wrap > p { color: #c9c4bd; max-width: 640px; margin: 14px 0 34px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.quote { background: var(--char-2); padding: 28px; border-left: 5px solid var(--orange); }
.quote p { font-size: 18px; line-height: 1.55; margin-bottom: 16px; }
.quote cite { font-style: normal; font-weight: 700; color: #fdba74; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* FAQ */
.faq { max-width: 900px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 50px 20px 0; font-weight: 800; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--head); font-size: 24px; color: var(--orange); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 800px; }

/* Steps */
.steps { counter-reset: step; }
.steps .card h3::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 15px; color: var(--orange); margin-bottom: 8px; letter-spacing: 0.1em; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ph { overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ph:hover img { transform: scale(1.06); }
.caption { font-size: 14px; color: var(--muted); margin-top: 14px; font-style: italic; }

/* Contact */
.contact-big a { display: block; font-family: var(--head); font-size: 28px; margin-bottom: 8px; }
.contact-big a.addr { font-family: var(--body); font-weight: 700; font-size: 18px; }
.map-embed { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(0.2); }
.map-wrap { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--orange); }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; padding: 70px 24px; text-align: center; position: relative; overflow: hidden; clip-path: polygon(0 18px, 100% 0, 100% 100%, 0 100%); }
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); text-transform: uppercase; margin-bottom: 12px; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; font-size: 18px; color: #fff7ed; }

/* Footer */
footer.site { background: #18181b; color: #bdb8b1; padding: 64px 0 0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
footer.site h4 { color: #fff; font-size: 17px; text-transform: uppercase; margin-bottom: 14px; }
footer.site a { display: block; color: #fff; margin-bottom: 6px; }
footer.site a:hover { color: #fdba74; }
.footnote { border-top: 1px solid #2f2f35; padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footnote .credit { display: inline; color: #fdba74; font-weight: 700; margin: 0; }

/* Reveal (app.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-4px); }

/* Sticky mobile call bar (app.js) */
.callbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(24,24,27,0.96); }
.callbar a { flex: 1; text-align: center; font-weight: 800; padding: 13px 10px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.callbar .cb-call { background: var(--orange); color: #fff; }
.callbar .cb-dir { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }

@media (max-width: 1020px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap > div:nth-child(3) { border-left: 0; }
  .stats .wrap > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }
  .quotes, .grid.three { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .header-pill { position: absolute; top: 100%; left: 0; right: 0; justify-content: center; border-radius: 0; padding: 7px 12px; margin-top: 3px; }
}
@media (max-width: 860px) {
  nav.main { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 24px 18px; border-bottom: 3px solid var(--orange); }
  nav.main.open { display: flex; z-index: 3; }
  nav.main a { padding: 13px 0; font-size: 17px; }
  nav.main a::after { left: 0; right: auto; width: 40px; }
  .menu-toggle { display: block; }
  header.site .call-btn { display: none; }
  .hero .split { grid-template-columns: 1fr; min-height: 0; }
  .hero .photo { order: -1; height: 300px; }
  .hero .photo img { clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); animation: none; }
  .hero .photo::before { clip-path: polygon(0 90%, 100% 74%, 100% 84%, 0 100%); }
  .hero .photo .tag { bottom: 40px; right: 16px; }
  .hero .copy { padding: 34px 24px 60px; }
  .hero.slim .photo { height: 220px; }
  .grid.two-col { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 28px; }
  details.row summary { grid-template-columns: 44px 1fr 40px; padding: 18px 6px; gap: 12px; }
  details.row .tag { display: none; }
  details.row .n { font-size: 22px; }
  details.row h3 { font-size: 18px; }
  details.row .body { padding: 0 6px 22px 56px; }
}
@media (max-width: 760px) {
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 72px; }
  .block, .review-band { padding: 64px 0; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar .hide-sm { display: none; }
  .stats b { font-size: 32px; }
  .review-band::before { width: 200px; opacity: 0.5; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .logo .name { font-size: 16px; }
  .logo .name small { font-size: 10px; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
