/* ==========================================================================
   Bryant Automotive Inc — production stylesheet
   Hand-translated from the "Family-Owned Mechanic" template
   (tokens.css + the inline styles in sections.jsx). No JavaScript anywhere.

   Brand navy #183059 and brand red #87181A were sampled from BOTH the live
   site's general.css AND the logo PNG — the two sources agree.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #183059;
  --navy-700: #22406F;
  --navy-900: #0E1E3A;
  --red: #87181A;
  --red-600: #6E1215;
  --terracotta: #9C1C23;
  /* Brand red is far darker than the template's orange and fails contrast on
     navy. This lightened tint is for accent text/rules on dark grounds. */
  --accent-on-dark: #E9A9A2;
  --green: #166534;

  --sand: #EDE4D5;
  --sand-200: #F5EFE3;
  --sand-300: #E0D4BD;

  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --surface-2: #F5EFE3;
  --ink: #1F2530;
  --ink-2: #4A5260;
  --ink-3: #7B8392;
  --hairline: #E6DFD0;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 8px;  --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-full: 999px;

  --sh-sm: 0 1px 2px rgba(31,37,48,.04), 0 1px 3px rgba(31,37,48,.06);
  --sh-md: 0 4px 10px rgba(31,37,48,.05), 0 8px 24px rgba(31,37,48,.06);
  --sh-lg: 0 10px 24px rgba(31,37,48,.07), 0 24px 48px rgba(31,37,48,.08);
  --sh-glow: 0 8px 28px rgba(135,24,26,.22);

  --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Webflow-style width-only sizing needs this or injected height attrs stretch art */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
:focus-visible {
  outline: 3px solid #C97A72;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link — keyboard users land here first */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-md) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Type scale ---------- */
.h-display { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 6.5vw, 84px); line-height: 1.02; letter-spacing: -.015em; margin: 0; }
.h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -.012em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 3vw, 42px); line-height: 1.12; letter-spacing: -.008em; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0; }
.eyebrow {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 13px; color: var(--terracotta);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.eyebrow--on-dark { color: var(--accent-on-dark); }
.body-lg { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.body { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.muted { color: var(--ink-3); }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 720px) { .container { padding: 0 18px; } }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
@media (max-width: 900px) { .section { padding: 64px 0; } }
.sand-bg {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(156,28,35,.06), transparent 60%),
    radial-gradient(900px 350px at -10% 110%, rgba(24,48,89,.06), transparent 60%),
    var(--sand-200);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  padding: 16px 26px; border-radius: var(--r-full);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  min-height: 52px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--sh-glow); }
.btn-primary:hover { background: var(--red-600); color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-on-dark:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-lg { padding: 20px 32px; min-height: 60px; font-size: 18px; }

/* ---------- Pills / cards ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-full);
  background: var(--sand); color: var(--navy);
  font-size: 14px; font-weight: 600; border: 1px solid var(--sand-300);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--hairline); box-shadow: var(--sh-sm);
}

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px 22px;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; opacity: .92; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-right { font-weight: 600; }
@media (max-width: 860px) { .topbar-right { display: none; } }
@media (max-width: 560px) { .topbar { font-size: 12.5px; } .topbar-left { gap: 14px; } }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--bg); border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 40;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 20px;
  box-shadow: inset 0 -3px 0 var(--red); flex: none; line-height: 1;
}
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.1; }
.brand-sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.brand-name { white-space: nowrap; }
@media (max-width: 420px) { .brand-name { font-size: 17px; } .brand-sub { font-size: 10px; letter-spacing: .12em; } }

.primary-nav { display: flex; gap: 22px; font-weight: 500; align-items: center; }
/* Lives inside the nav so it appears in the mobile drawer; never on desktop. */
.primary-nav .nav-drawer-cta { display: none; }
.primary-nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { white-space: nowrap; }
.nav-phone { text-decoration: none; text-align: right; line-height: 1.1; }
.nav-phone .small { font-size: 12px; color: var(--ink-3); }
.nav-phone strong {
  display: block; font-family: var(--serif); font-size: 22px;
  font-weight: 700; color: var(--navy); white-space: nowrap;
}

/* Mobile nav — checkbox toggle, zero JavaScript.
   The template had NO mobile nav at all; links simply vanished under 980px. */
.nav-toggle {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}
.nav-burger {
  display: none; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--hairline); background: var(--surface);
  cursor: pointer; align-items: center; justify-content: center; flex: none;
}
.nav-burger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: background .2s ease;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid #C97A72; outline-offset: 3px; }

@media (max-width: 1120px) {
  .nav-burger { display: inline-flex; }
  .nav-phone { display: none; }
  .nav-cta .btn { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--surface); border-left: 1px solid var(--hairline);
    box-shadow: var(--sh-lg);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 92px 0 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease;
    z-index: 60;
  }
  .primary-nav a {
    padding: 15px 26px; border-bottom: 1px solid var(--hairline); font-size: 17px;
  }
  .primary-nav .nav-drawer-cta {
    display: inline-flex; margin: 20px 26px 0; border: 0; justify-content: center;
  }
  .nav-toggle:checked ~ .primary-nav { transform: translateX(0); }
  .nav-toggle:checked ~ .nav-scrim {
    opacity: 1; pointer-events: auto;
  }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(14,30,58,.45);
    opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 50;
  }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after  { top: 0; transform: rotate(-45deg); }
}
@media (min-width: 1121px) { .nav-scrim { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero-lede { max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--hairline); }
.hero-stats .k { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); }
.hero-media { position: relative; }
.hero-media .frame-main { border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; aspect-ratio: 16/11; }
.hero-media .frame-main img { object-position: 50% 42%; }
.hero-media .frame-inset {
  position: absolute; left: -34px; bottom: -34px; width: 210px; aspect-ratio: 4/3;
  box-shadow: var(--sh-md); border-radius: var(--r-lg); overflow: hidden; transform: rotate(-4deg);
}
.hero-quote {
  position: absolute; right: -28px; bottom: -46px; width: 262px; padding: 18px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--sh-md);
}
.hero-quote p { font-family: var(--serif); font-size: 17px; line-height: 1.35; color: var(--ink); margin: 8px 0 0; }
.stars { display: flex; gap: 4px; color: var(--red); }
.stars--on-dark { color: var(--accent-on-dark); }
@media (max-width: 1100px) {
  .hero-media .frame-inset { left: -12px; width: 165px; }
  .hero-quote { right: -8px; width: 228px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 620px; margin-bottom: 60px; }
  .hero-media .frame-inset { left: 0; bottom: -30px; width: 150px; }
  .hero-quote { right: 0; bottom: -40px; }
}
@media (max-width: 600px) {
  .hero-media .frame-inset, .hero-quote { position: static; width: auto; transform: none; margin-top: 16px; }
  .hero-media .frame-inset { aspect-ratio: 16/10; }
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--surface); }
.trust .container { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 22px; padding-bottom: 22px; gap: 16px; }
.trust div {
  text-align: center; color: var(--ink-2); font-family: var(--serif);
  font-size: 18px; font-style: italic; border-right: 1px solid var(--hairline);
}
.trust div:last-child { border-right: 0; }
@media (max-width: 860px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust div { border-right: 0; font-size: 16px; }
}

/* ---------- Section heading row ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 32px; flex-wrap: wrap;
}
.section-head > div { max-width: 620px; }
.section-head h2 { margin: 12px 0 16px; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-grid > .span-2 { grid-column: span 2; }
.service-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.service-card .thumb { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; margin-bottom: 6px; }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--sand); color: var(--navy);
  display: grid; place-items: center; border: 1px solid var(--sand-300); flex: none;
}
.price-tag {
  font-size: 14px; color: var(--terracotta); font-weight: 600;
  background: rgba(156,28,35,.08); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.service-card p { margin: 0; flex: 1; }
.link-arrow {
  color: var(--navy); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.link-arrow:hover { color: var(--red); }
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid > .span-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-grid > .span-2 { grid-column: span 1; }
}

/* ---------- Family ---------- */
.family-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.family-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.family-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.95); padding: 16px 20px; border-radius: var(--r-md);
  font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--ink);
}
.family-caption .small { font-style: normal; margin-top: 6px; }
.family-intro h2 { margin: 12px 0 22px; }
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.team-card { padding: 0; overflow: hidden; }
.team-card .portrait { aspect-ratio: 1/1.1; overflow: hidden; }
.team-card .meta { padding: 18px; }
.team-card .name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); }
.team-card .years {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--terracotta); font-weight: 600; font-size: 13px;
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .family-intro { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials (static grid — the JSX carousel needed JS) ---------- */
.testimonials { background: var(--navy); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.testimonials h2 { color: #fff; margin: 12px 0 48px; }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 28px;
}
.testi p { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: #fff; margin: 12px 0 18px; }
.testi .who { font-weight: 600; color: #fff; }
.testi .where { font-size: 14px; color: rgba(255,255,255,.65); }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Conveniences ---------- */
.conv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.conv-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.conv-card { padding: 18px; display: flex; gap: 14px; }
.conv-card .ico {
  width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff;
  display: grid; place-items: center; flex: none;
}
.conv-card .t { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.conv-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; grid-template-rows: 200px 200px 200px; }
.conv-photos > * { overflow: hidden; border-radius: var(--r-md); }
.conv-photos .tall { grid-row: span 2; }
.conv-photos .wide { grid-column: span 2; }
@media (max-width: 980px) { .conv-row { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .conv-cards { grid-template-columns: 1fr; } }

/* ---------- Visit / map ---------- */
.visit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.visit-card { padding: 48px; background: var(--navy); color: #fff; border: 0; position: relative; overflow: hidden; }
.visit-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(135,24,26,.28); filter: blur(20px);
}
.visit-card h2 { color: #fff; margin: 12px 0 16px; }
.visit-card > * { position: relative; z-index: 1; }
.visit-lede { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.6; margin-bottom: 28px; }
.visit-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.visit-rows .r { display: flex; gap: 14px; align-items: center; }
.visit-rows .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.visit-rows .l { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.visit-rows .v { font-size: 18px; font-weight: 600; font-family: var(--serif); }
.visit-rows a.v { color: #fff; text-decoration: none; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.map-figure { flex: 1; min-height: 320px; background: var(--sand-200); position: relative; }
.map-figure svg { display: block; width: 100%; height: 100%; }
.map-foot {
  padding: 22px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.map-foot .addr { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.area-chips { padding: 16px 22px; border-top: 1px solid var(--hairline); background: var(--sand-200); display: flex; gap: 8px; flex-wrap: wrap; }
.area-chips span {
  background: var(--surface); border: 1px solid var(--hairline); padding: 6px 12px;
  border-radius: 999px; font-weight: 500; color: var(--ink-2); font-size: 14px;
}
@media (max-width: 980px) { .visit-row { grid-template-columns: 1fr; gap: 32px; } .visit-card { padding: 32px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.85); padding-top: 72px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-mark {
  width: 50px; height: 50px; border-radius: 12px; background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 14px;
}
.footer-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; line-height: 1.2; }
.site-footer h2 { font-family: var(--serif); font-weight: 700; color: #fff; margin: 0 0 16px; font-size: 17px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-phone {
  color: var(--accent-on-dark) !important; font-weight: 600;
  font-size: 22px; font-family: var(--serif); text-decoration: none;
}
.hours-row { display: flex; justify-content: space-between; gap: 12px; }
.hours-row .closed { opacity: .5; }
.hours-row.accent { margin-top: 8px; color: var(--accent-on-dark); }
.footer-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-chips span, .footer-chips a {
  font-size: 13px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); text-decoration: none;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0 32px; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Prose (blog + long-form pages) ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 18px; line-height: 1.72; color: var(--ink-2); margin: 0 0 22px; }
.prose h2 { font-family: var(--serif); font-size: 30px; color: var(--ink); margin: 44px 0 16px; line-height: 1.2; }
.prose h3 { font-family: var(--serif); font-size: 23px; color: var(--ink); margin: 34px 0 12px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--r-md); margin: 26px 0; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--red);
  background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink);
}
/* Legacy bodies carry inline font-family/size/color — strip so they inherit */
.prose [style] { font-family: inherit !important; font-size: inherit !important; }
.prose span[style] { color: inherit !important; background: none !important; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0 72px; }
/* Optional banner behind the hero. The navy gradient is opaque enough on the
   text side to hold contrast no matter what the photo does underneath. */
.page-hero--image {
  position: relative;
  background-image:
    linear-gradient(100deg, rgba(24,48,89,.94) 0%, rgba(24,48,89,.88) 45%, rgba(24,48,89,.62) 100%),
    var(--hero-img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
@media (max-width: 760px) {
  .page-hero--image {
    background-image:
      linear-gradient(180deg, rgba(24,48,89,.93) 0%, rgba(24,48,89,.90) 100%),
      var(--hero-img);
  }
}

.page-hero h1 { color: #fff; margin: 14px 0 16px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 19px; max-width: 720px; margin: 0; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Card grids (blog index, vehicles, services index) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; height: 100%; }
.tile .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tile .meta { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile .t { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.tile:hover .t { color: var(--red); }
.tile .d { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.tile .x { font-size: 15px; color: var(--ink-2); flex: 1; }
@media (max-width: 1000px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tile-grid { grid-template-columns: 1fr; } }

.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.chip-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 18px; font-weight: 600; box-shadow: var(--sh-sm);
}
.chip-grid a:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 900px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .chip-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sand-200); border-top: 1px solid var(--hairline); padding: 72px 0; text-align: center; }
.cta-band h2 { margin: 12px 0 14px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Notice (placeholder content awaiting client) ---------- */
.notice {
  border: 1px dashed var(--sand-300); background: var(--sand-200);
  border-radius: var(--r-md); padding: 22px 24px; color: var(--ink-2); font-size: 16px;
}
.notice strong { color: var(--ink); }

/* ---------- Media placeholder (until client photos land) ---------- */
.ph {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(24,48,89,.07) 0 12px, rgba(24,48,89,.02) 12px 24px),
    var(--sand);
  color: var(--navy); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 12px;
}
.ph::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px dashed rgba(24,48,89,.25); border-radius: 10px; pointer-events: none;
}
.ph span { position: relative; z-index: 1; background: rgba(255,255,255,.6); padding: 6px 10px; border-radius: 6px; }

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .cta-band, .nav-burger, .nav-scrim { display: none !important; }
  body { background: #fff; }
}

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

/* ---------- Photo frames (replacing the build-time placeholders) ---------- */
.frame-main img, .frame-inset img, .conv-photos img,
.family-photo img, .team-card .portrait img, .service-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.conv-photos > figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); }
.photo-credit {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(14,30,58,.82), transparent);
  color: #fff; font-size: 12px; padding: 18px 12px 8px; line-height: 1.3;
}

/* ---------- Rating block (stands in for testimonials until real ones land) ---------- */
.rating-block { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.rating-score { display: flex; flex-direction: column; gap: 8px; }
.rating-num { font-family: var(--serif); font-size: 76px; font-weight: 700; color: #fff; line-height: 1; }
.rating-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.rating-copy { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0; max-width: 620px; }
@media (max-width: 760px) {
  .rating-block { grid-template-columns: 1fr; gap: 24px; }
  .rating-num { font-size: 60px; }
}
