/* Josh's Auto Body — demo by Ancient Landmark Web Co.
   Light page, one accent. Deliberately not the dark look every chain uses. */
:root {
  --ink: #16191c;
  --ink-soft: #4e565d;
  --paper: #ffffff;
  --stone: #f4f5f6;
  --line: #e0e3e6;
  --accent: #c8321f;        /* large text, buttons, rules */
  --accent-deep: #9c2415;   /* small text and links on light */
  --accent-wash: #fdf2f0;
  --ok: #1e5e37;
  --radius: 10px;
  --max: 1100px;
  --gutter: clamp(18px, 4vw, 40px);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  padding-bottom: 68px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #1A73E8; outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--display); font-weight: 600; line-height: 1.05;
  margin: 0 0 .45em; text-transform: uppercase; letter-spacing: .01em;
}
h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: .03em; }
p { margin: 0 0 1em; max-width: 64ch; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--accent); color: #fff; padding: 10px 14px; z-index: 200; font-weight: 700; }
.skip-link:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 54px; padding: 14px 26px; border-radius: var(--radius);
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b5bcc2; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* the line under a button that answers the hesitation */
.micro { font-size: .92rem; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 80; }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 12px; }
/* NOTE: padding-block, never the padding shorthand. This element is also a .container,
   and the shorthand silently wipes out the gutter .container sets. */
.wordmark { text-decoration: none; display: flex; flex-direction: column; }
.wordmark b { font-family: var(--display); font-size: clamp(1.25rem, 4vw, 1.7rem); letter-spacing: .03em; color: var(--ink); text-transform: uppercase; }
.wordmark img { width: clamp(168px, 46vw, 226px); height: auto; margin-bottom: 3px; }
.wordmark span { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.header-call { display: none; padding: 10px 16px; font-size: 1rem; min-height: 46px; }
@media (min-width: 760px) { .header-call { display: inline-flex; } }

/* Hamburger. Three bars that fold into an X when the panel is open.
   Drawn in CSS, so there is no icon file to load and it inherits the ink colour. */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; margin-left: auto;
  background: none; border: 0; border-radius: var(--radius);
  color: var(--ink); cursor: pointer;
}
.nav-toggle:hover { color: var(--accent); }
.nav-toggle .bars { position: relative; display: block; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transition: background-color .15s ease; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
.nav-toggle .bars::before { top: -8px; }
.nav-toggle .bars::after  { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-8px) rotate(-45deg); }

/* The panel drops over the page rather than pushing it down. */
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(22, 25, 28, .14);
}
.site-nav ul { list-style: none; margin: 0; padding: 4px var(--gutter) 16px; }
.site-nav a {
  display: flex; align-items: center; min-height: 54px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover { color: var(--accent-deep); }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; margin-left: auto; border: 0; box-shadow: none; background: none; }
  .site-nav ul { display: flex; gap: 20px; padding: 0; }
  .site-nav a { min-height: 0; border-bottom: 0; font-size: 1rem; letter-spacing: .05em; white-space: nowrap; }
}
/* The header is sticky, so an anchor must stop below it, not under it. */
[id] { scroll-margin-top: 86px; }

/* ---------- hero ---------- */
.hero { padding: clamp(34px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); }
.hero .eyebrow { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; color: var(--accent-deep); margin: 0 0 10px; }
.hero h1 { margin-bottom: .25em; }
.hero-lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-soft); max-width: 54ch; }
.hero-points { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }

/* a clearly-marked stand-in until Josh supplies real photographs */
.photo-slot {
  background: repeating-linear-gradient(45deg, #eceef0, #eceef0 12px, #e4e7ea 12px, #e4e7ea 24px);
  border: 2px dashed #b9c0c6; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #6b7279; font-size: .9rem; padding: 20px; min-height: 220px;
}
.photo-slot span { max-width: 32ch; }

/* ---------- emergency strip ---------- */
.emergency { background: var(--accent-wash); border-top: 3px solid var(--accent); border-bottom: 1px solid #f0d5d0; padding: clamp(26px, 4vw, 42px) 0; }
.emergency h2 { color: var(--accent-deep); margin-bottom: .3em; }

/* ---------- proof bar ---------- */
.proof { background: var(--ink); color: #fff; padding: 22px 0; }
.proof-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; text-align: center; }
@media (min-width: 820px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }
.proof b { display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: .02em; }
.proof small { font-size: .82rem; color: #b9c0c6; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- sections ---------- */
.section { padding: clamp(42px, 7vw, 86px) 0; }
.section-stone { background: var(--stone); }
.section-head { max-width: 56ch; margin-bottom: 30px; }
.section-head .eyebrow { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: .9rem; color: var(--accent-deep); margin: 0 0 8px; }

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-stone .card { background: var(--paper); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* numbered steps */
.steps { counter-reset: s; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before {
  content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--display); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px;
}
.steps strong { display: block; margin-bottom: 4px; }

/* service list */
.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 680px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.services li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; font-weight: 600; }

/* before / after pairs */
.pairs { display: grid; gap: 20px; }
@media (min-width: 760px) { .pairs { grid-template-columns: repeat(2, 1fr); } }
.pair figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 54px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { margin-bottom: 18px; }

/* where we are */
.where-grid { display: grid; gap: 26px; }
@media (min-width: 880px) { .where-grid { grid-template-columns: 1fr 1fr; } }
.towns { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .92rem; font-weight: 600; }

/* confirm markers — these must be impossible to miss before launch */
.confirm { background: #fff3cd; border: 1px dashed #b8860b; color: #6b4e00; padding: 1px 7px; border-radius: 4px; font-size: .88rem; font-weight: 600; }

/* footer */
.site-footer { background: var(--ink); color: #c3c9ce; padding: 36px 0; font-size: .94rem; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
/* His crest sits on a dark footer; the artwork has a white field, so give it one. */
.foot-crest { width: 190px; height: auto; background: #fff; border-radius: 6px; padding: 7px 10px; margin-bottom: 12px; }
.foot-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* sticky action bar on phones */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; border-top: 2px solid var(--accent-deep); }
.actionbar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 58px; text-decoration: none; font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.actionbar .call { background: var(--accent); color: #fff; flex: 1.4; }
.actionbar .est { background: var(--ink); color: #fff; }
@media (min-width: 760px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* demo banner */
.demo-bar { background: #16191c; color: #fff; text-align: center; padding: 10px 14px; font-size: .9rem; line-height: 1.45; }
.demo-bar b { color: #ffcf66; }

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