/* =========================================================================
   AUTO-SHOP WEBSITE TEMPLATE  ·  shared stylesheet
   Re-skin for any local-service category by editing the :root variables only.
   ========================================================================= */

:root {
  /* ---- Brand palette (charcoal + orange, industrial/premium) ---- */
  --ink:        #16181c;   /* near-black, warm charcoal */
  --ink-2:      #23262d;   /* raised charcoal (cards on dark) */
  --ink-3:      #353941;   /* hairlines on dark */
  --paper:      #ffffff;
  --paper-2:    #f5f3ef;   /* warm off-white section bg */
  --paper-3:    #ece8e1;   /* warmer panel / placeholder */
  --muted:      #6c7077;   /* secondary text on light */
  --muted-2:    #9aa0a8;   /* tertiary / on dark */

  --accent:     #ef7314;   /* safety orange — CTAs, highlights, stars */
  --accent-600: #d8620a;   /* hover */
  --accent-tint:#fbe9d7;   /* soft orange wash */
  --on-accent:  #ffffff;

  --line:       #e3ded5;   /* hairline on light */
  --line-2:     #d6cfc3;

  /* ---- Shape ---- */
  --r:     14px;   /* cards / panels */
  --r-sm:  9px;    /* buttons, chips, inputs */
  --r-lg:  20px;   /* hero, large media */
  --shadow-sm: 0 1px 2px rgba(20,22,28,.06), 0 2px 8px rgba(20,22,28,.05);
  --shadow:    0 4px 12px rgba(20,22,28,.08), 0 18px 40px rgba(20,22,28,.10);

  /* ---- Type ---- */
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --gutter: clamp(18px, 4.5vw, 40px);
}

/* ===================== reset / base ===================== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .005em;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--accent-600);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--paper-2); }
.section--ink  { background: var(--ink); color: #f2f1ee; }
.section--ink .eyebrow { color: var(--accent); }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: .01em; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 56ch; }
.section--ink .section-head p { color: var(--muted-2); }

/* ===================== buttons ===================== */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  padding: 14px 24px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 18px; line-height: 1;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--accent { --bg: var(--accent); --fg: var(--on-accent); --bd: var(--accent); box-shadow: 0 6px 18px rgba(239,115,20,.32); }
.btn--accent:hover { --bg: var(--accent-600); --bd: var(--accent-600); box-shadow: 0 10px 26px rgba(239,115,20,.40); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost:hover { --bd: var(--ink); }
.btn--on-dark { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.30); }
.btn--on-dark:hover { --bg: rgba(255,255,255,.08); --bd: rgba(255,255,255,.6); }
.btn--lg { padding: 17px 30px; font-size: 20px; }
.btn--block { width: 100%; }

/* ===================== stars / rating ===================== */
.stars { display: inline-flex; gap: 2px; color: var(--accent); line-height: 0; }
.stars .st-off { opacity: .20; }
.stars svg { width: 18px; height: 18px; }
.stars--lg svg { width: 24px; height: 24px; }

.rating {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
}
.rating .num { font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 1; }
.rating .count { color: var(--muted); font-weight: 500; font-size: 15px; }
.section--ink .rating .count, .hero .rating .count { color: rgba(255,255,255,.75); }

.badge-trust {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.10); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 11px 18px; border-radius: 100px;
}
.badge-trust .num { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: #fff; line-height: 1; }
.badge-trust .stars { margin-top: -2px; }
.badge-trust .count { color: rgba(255,255,255,.82); font-size: 14.5px; font-weight: 500; }
.badge-trust .gmark { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .02em; }

/* ===================== top utility bar ===================== */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.82);
  font-size: 13.5px; font-weight: 500;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 18px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-item svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.topbar .tb-rate b { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.topbar .tb-right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 720px) { .topbar .tb-hide-sm { display: none; } }

/* ===================== header / nav ===================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 22px; min-height: 70px; }

.wordmark { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.wordmark .wm-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: .02em;
  border: 2px solid var(--ink);
}
.wordmark .wm-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark .wm-name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; color: var(--ink); }
.wordmark .wm-sub { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 17px; color: var(--ink);
  padding: 9px 14px; border-radius: 8px; position: relative;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--accent-600); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 2px solid var(--line-2);
  border-radius: 10px; background: #fff; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--ink); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn span.cta-label { display: none; }
  .header-cta .btn { padding: 12px 14px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--ink); color: #fff;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 92px 22px 28px; z-index: 70;
    transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 50px rgba(0,0,0,.35);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: #fff; font-size: 22px; padding: 14px 16px; }
  .nav a:hover { background: rgba(255,255,255,.08); }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(10,11,14,.5); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .26s; }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
  .nav-close { position: absolute; top: 20px; right: 18px; width: 44px; height: 44px; background: rgba(255,255,255,.1); border: none; border-radius: 10px; color: #fff; display: grid; place-items: center; }
  .nav-close svg { width: 26px; height: 26px; }
}
.nav-close { display: none; }
@media (max-width: 940px) { .nav.open ~ * .nav-close, .nav .nav-close { display: grid; } }

/* ===================== hero ===================== */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,20,24,.55) 0%, rgba(18,20,24,.42) 35%, rgba(18,20,24,.78) 100%),
    linear-gradient(95deg, rgba(18,20,24,.82) 8%, rgba(18,20,24,.28) 62%);
}
.hero.no-photo .hero-media { background:
    radial-gradient(120% 120% at 18% 0%, #2b2f37 0%, var(--ink) 60%); }
.hero.no-photo .hero-media::after { background: linear-gradient(95deg, rgba(18,20,24,.6), rgba(18,20,24,.2)); }
.hero-inner { position: relative; z-index: 1; padding: clamp(64px, 11vh, 132px) 0 clamp(56px, 9vh, 104px); max-width: 760px; }
.hero h1 { font-size: clamp(46px, 8.5vw, 104px); letter-spacing: .005em; line-height: .94; }
.hero .hero-type { color: var(--accent); display: block; font-size: clamp(16px, 2.4vw, 22px); letter-spacing: .14em; margin-bottom: 18px; }
.hero .hero-sub { font-size: clamp(18px, 2.4vw, 22px); color: rgba(255,255,255,.88); margin: 22px 0 30px; max-width: 48ch; font-weight: 400; }
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .badge-trust { margin-top: 30px; }
.hero-strip {
  position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
}
.hero-strip .container { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 16px; align-items: center; }
.hero-strip .hs-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.9); }
.hero-strip .hs-item svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-strip .hs-item b { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; }

/* ===================== generic grids ===================== */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---- service card ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
@media (max-width: 880px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; gap: 14px; min-height: 100%;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-ico {
  width: 54px; height: 54px; border-radius: 13px; flex: none;
  background: var(--accent-tint); color: var(--accent-600);
  display: grid; place-items: center; border: 1px solid #f3d6bb;
}
.svc-ico svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 24px; letter-spacing: .01em; }
.svc-card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.svc-card.is-link::after { content: ""; }

/* teaser card variant (home) sits on tinted bg */
.section--tint .svc-card { box-shadow: var(--shadow-sm); }

/* ===================== reviews ===================== */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,1.8vw,22px); align-items: start; }
@media (max-width: 900px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rev-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.review-card .stars { margin-bottom: 2px; }
.review-card .rv-text { font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.review-card .rv-text.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .rv-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review-card .rv-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.review-card .rv-who { display: flex; flex-direction: column; line-height: 1.2; }
.review-card .rv-name { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: .01em; text-transform: uppercase; }
.review-card .rv-when { font-size: 13.5px; color: var(--muted); }
.review-card .gquote { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; font-weight: 600; text-transform: uppercase; }

/* big pull-quote (home featured) */
.quote-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 880px) { .quote-row { grid-template-columns: 1fr; } }
.pquote { display: flex; flex-direction: column; gap: 14px; }
.pquote .stars { color: var(--accent); }
.pquote blockquote {
  margin: 0; font-size: 19px; line-height: 1.5; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden;
}
.section--ink .pquote blockquote { color: #fff; }
.pquote .src { color: var(--muted); font-weight: 600; font-size: 15px; }
.section--ink .pquote .src { color: var(--muted-2); }
.pquote .src b { color: var(--accent); }

.reviews-empty {
  text-align: center; max-width: 520px; margin-inline: auto;
  padding: 40px 24px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--paper);
}

/* ===================== hours ===================== */
.hours-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--accent); color: #fff; border-radius: var(--r);
  padding: 22px 28px;
}
.hours-strip .hs-status { display: flex; align-items: center; gap: 14px; }
.hours-strip .dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); flex: none; }
.hours-strip .hs-label { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: .02em; }
.hours-strip .hs-sub { font-size: 15px; color: rgba(255,255,255,.9); }
.hours-strip .btn { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.hours-strip .btn:hover { --bg: var(--ink); --fg: #fff; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.hours-table th, .hours-table td { text-align: left; padding: 13px 6px; border-bottom: 1px solid var(--line); }
.hours-table th { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 18px; width: 45%; }
.hours-table td { color: var(--muted); font-weight: 500; }
.hours-table tr.is-today th { color: var(--accent-600); }
.hours-table tr.is-today td { color: var(--ink); font-weight: 700; }
.hours-table tr.is-today { background: var(--accent-tint); }
.hours-table tr.is-closed td { color: var(--muted-2); }

/* ===================== trust bar / stats ===================== */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.trust-bar--auto { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 760px) { .trust-bar { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px) { .trust-bar { grid-template-columns: 1fr; } }
.trust-bar .ti { background: var(--paper); padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; }
.section--ink .trust-bar { background: var(--ink-3); border-color: var(--ink-3); }
.section--ink .trust-bar .ti { background: var(--ink-2); }
.trust-bar .ti .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px,4vw,46px); color: var(--accent); line-height: 1; letter-spacing: .01em; }
.trust-bar .ti .lbl { font-weight: 600; color: var(--muted); font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; }
.section--ink .trust-bar .ti .lbl { color: var(--muted-2); }

/* ===================== media / gallery ===================== */
.media { border-radius: var(--r); overflow: hidden; background: var(--paper-3); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-169 { aspect-ratio: 16 / 9; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2,1fr); } }
.gallery .media { cursor: zoom-in; }
.gallery .media img { transition: transform .4s ease; }
.gallery .media:hover img { transform: scale(1.05); }
.gallery.count-1 { grid-template-columns: 1fr; max-width: 760px; }
.gallery.count-2 { grid-template-columns: repeat(2,1fr); }

/* placeholder fill (broken/missing image) — set by JS */
.media.is-empty img, img.img-hidden { display: none; }
.media.is-empty {
  background:
    repeating-linear-gradient(45deg, var(--paper-3) 0 14px, #e4dfd6 14px 28px);
}
.media.is-empty::after {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-body); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

/* ===================== split / about ===================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4.5vw, 70px); align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } }
.prose { font-size: 17.5px; color: #2c2f35; }
.prose p { margin-bottom: 1.1em; }
.prose.on-dark { color: rgba(255,255,255,.84); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-weight: 500; }
.checklist li svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 1px; }

/* ===================== contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 4px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-row:first-child { padding-top: 0; }
.info-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--accent); display: grid; place-items: center; flex: none; }
.info-ico svg { width: 22px; height: 22px; }
.info-row .lbl { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--muted); margin-bottom: 2px; }
.info-row .val { font-size: 18.5px; font-weight: 500; }
.info-row .val a:hover { color: var(--accent-600); }

.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-3); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px,3vw,38px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--paper-2); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,115,20,.16); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ===================== CTA band ===================== */
.cta-band { background: var(--accent); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px,6vw,64px); }
.cta-band h2 { color: #fff; font-size: clamp(32px,4.6vw,52px); max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 18px; margin-top: 8px; }
.cta-band .btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.cta-band .btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); }

/* ===================== footer ===================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(48px,6vw,76px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .wordmark .wm-name, .site-footer .wordmark .wm-sub { color: #fff; }
.site-footer .wordmark .wm-sub { color: var(--muted-2); }
.footer-about { color: rgba(255,255,255,.66); font-size: 15.5px; margin-top: 16px; max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: 19px; margin-bottom: 16px; letter-spacing: .03em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: rgba(255,255,255,.72); font-size: 15.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact .fc-row { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; font-size: 15.5px; }
.footer-contact .fc-row svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.footer-contact a { color: #fff; font-weight: 500; }
.footer-bar { border-top: 1px solid var(--ink-3); padding: 22px 0; }
.footer-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted-2); }
.footer-bar a:hover { color: #fff; }

/* ===================== sticky mobile call bar ===================== */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(22,24,28,.92); backdrop-filter: blur(8px); border-top: 1px solid var(--ink-3);
}
.call-bar .btn { width: 100%; --bg: var(--accent); --fg: #fff; --bd: var(--accent); font-size: 20px; padding: 15px; box-shadow: 0 4px 18px rgba(239,115,20,.4); }
@media (max-width: 720px) { .call-bar { display: block; } body { padding-bottom: 76px; } }

/* ===================== lightbox ===================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,12,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .lb-close { position: absolute; top: 18px; right: 20px; width: 50px; height: 50px; border: none; background: rgba(255,255,255,.12); color: #fff; border-radius: 12px; display: grid; place-items: center; }
.lightbox .lb-close svg { width: 28px; height: 28px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: none; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; display: grid; place-items: center; }
.lightbox .lb-nav:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox .lb-nav svg { width: 26px; height: 26px; }

/* ===================== utilities ===================== */
.mt-0 { margin-top: 0; } .center { text-align: center; }
.is-token-optional:empty { display: none; }
[hidden] { display: none !important; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.lead { font-size: 20px; color: var(--muted); }
.section--ink .lead { color: var(--muted-2); }

/* =========================================================================
   MOTION LAYER
   Strategy (one hero moment, purposeful feedback, capped stagger):
   - Hero entrance is the single signature animation (CSS-only, page load).
   - Card grids get a one-shot staggered reveal via IntersectionObserver
     (site.js adds .reveal-item/--i and .in). Whole sections never fade.
   - Everything respects prefers-reduced-motion.
   ========================================================================= */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);      /* quint — snappy settle */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);  /* confident entrances */
}

/* ---- hero moment: staggered rise + photo settle (load only) ---- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-settle {
  from { transform: scale(1.06); }
  to   { transform: none; }
}
.hero-inner > * { animation: rise-in .65s var(--ease-out-expo) both; }
.hero-inner > *:nth-child(2) { animation-delay: .08s; }
.hero-inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4) { animation-delay: .24s; }
.hero-inner > *:nth-child(5) { animation-delay: .32s; }
.hero-media img { animation: hero-settle 1.3s var(--ease-out-expo) both; }
.hero-strip { animation: rise-in .6s var(--ease-out-expo) .4s both; }

/* ---- scroll reveal: card grids only, staggered, one-shot ----
   Gated on html.anim-ready (set by JS when motion is allowed) so content
   is never hidden without JS or for reduced-motion users. */
html.anim-ready .reveal-item {
  opacity: 0; transform: translateY(16px);
}
html.anim-ready .reveal-item.in {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease-out), transform .55s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ---- feedback layer ---- */
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* nav underline grows in (desktop); current page stays fixed */
@media (min-width: 941px) {
  .nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .22s var(--ease-out);
  }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* form success message animates in when revealed */
[data-form-ok]:not([hidden]) { animation: rise-in .45s var(--ease-out) both; }

/* ---- state: "open now" dot pulses ---- */
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.hours-strip .dot { animation: dot-pulse 2.2s ease-out infinite; }

/* ---- lightbox entrance ---- */
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox.open { animation: lb-fade .22s ease-out both; }
.lightbox.open img { animation: lb-zoom .3s var(--ease-out) both; }

/* ---- accessibility: reduced motion kills all of it ---- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}
