/* ============================================================
   Bryan Muffler & Performance — client-branded demo site
   Brand system: SOURCED from real research (Google Maps listing,
   reviews, and photos, verified 2026-08-28 via a non-headless
   Chrome session) — see README. Dark asphalt base + bold sign-board
   red + gray-blue corrugated-metal steel + cream sign lettering.
   Retro hot-rod/performance-shop energy — the loudest, most
   colorful of the four auto-shop demos, on purpose: the real sign
   photo genuinely is a bold red board, unlike the muted barn-red
   (Bos Garage), sign-tan/green (Brazos Valley), or rust/olive
   (Limitless Diesel) siblings.
   Typography: Alfa Slab One (sign-board display) + Archivo (body)
   + IBM Plex Mono (spec/part-number utility labels).
   This page intentionally carries ZERO Lewis Digital gold.
   ============================================================ */

:root {
  --asphalt: #1b1917;         /* near-black warm dark — main page background */
  --asphalt-raised: #262220;  /* panel background on dark sections */
  --asphalt-line: #3a342f;    /* hairline on dark */

  --steel: #90a7ae;           /* light steel-blue-gray — corrugated metal, photo-sourced */
  --steel-deep: #4f6870;      /* deep steel-blue — borders, secondary text on light */

  --sign-red: #c9202b;        /* bold sign-board red, photo-sourced — primary accent/CTA */
  --sign-red-deep: #96131c;   /* hover/pressed red */

  --cream: #f2ead8;           /* cream/white sign lettering — text on red/dark, light panel bg */
  --cream-panel: #ece2cd;     /* slightly deeper cream panel */
  --ink: #1b1917;             /* dark text on light panels */
  --muted-on-dark: #b9ada0;   /* muted warm gray text on dark backgrounds */
  --muted-on-light: #5c5348;  /* muted warm gray text on light backgrounds */

  --font-display: "Alfa Slab One", Georgia, serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --radius: 10px;
  --shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--asphalt);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1140px, 92%); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { line-height: 1.1; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sign-red);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--sign-red);
  font-weight: 600; margin-bottom: 0.9rem;
}
.eyebrow--onred { color: var(--cream); }
.section { padding: 4.8rem 0; }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); max-width: 26em; color: var(--cream);
}
.section__lede { margin-top: 1rem; color: var(--muted-on-dark); max-width: 48em; font-size: 1.02rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 0.96rem;
  padding: 0.85rem 1.7rem; border-radius: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent; font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--sign-red); color: var(--cream); }
.btn--red:hover { background: var(--sign-red-deep); }
.btn--line { border-color: var(--steel); color: var(--cream); }
.btn--line:hover { border-color: var(--sign-red); color: var(--sign-red); }
.btn--outline { border-color: var(--sign-red); color: var(--sign-red); background: transparent; }
.btn--outline:hover { background: var(--sign-red); color: var(--cream); }
.btn--big { font-size: 1.05rem; padding: 1rem 2.2rem; }

/* ---------- phone band (top strip, echoes the real red phone band) ---------- */
.phoneband { background: var(--sign-red); color: var(--cream); font-family: var(--font-mono); }
.phoneband__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0; font-size: 0.78rem; letter-spacing: 0.03em; gap: 1rem; flex-wrap: wrap;
}
.phoneband__addr { opacity: 0.92; }
.phoneband__phone { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--cream); font-weight: 600; }
.phoneband__phone-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.68rem; opacity: 0.85; }
.phoneband__phone-num { font-size: 0.92rem; }
.phoneband__phone:hover { text-decoration: underline; }

/* ---------- main header ---------- */
.site-header {
  background: var(--asphalt); border-bottom: 1px solid var(--asphalt-line);
  position: sticky; top: 0; z-index: 50;
}
.header__row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0.85rem 0; }
.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.wordmark__mark { width: 40px; height: 40px; flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark__name { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--cream); }
.wordmark__tag { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--steel); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { color: var(--muted-on-dark); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.site-nav a:hover { color: var(--cream); }
.site-nav__cta {
  background: var(--sign-red); color: var(--cream) !important;
  padding: 0.55rem 1.1rem; border-radius: 6px; white-space: nowrap;
}
.site-nav__cta:hover { background: var(--sign-red-deep); color: var(--cream) !important; }

/* ---------- hero: headline rendered as the shop's own red sign board ---------- */
.hero { padding: 3.6rem 0 3rem; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }

.signboard {
  position: relative; display: inline-block; background: var(--sign-red);
  border-radius: 14px; padding: 1.6rem 2rem 1.4rem; margin-top: 0.2rem;
  box-shadow: var(--shadow); animation: sign-in 0.6s ease both;
}
.signboard__title {
  font-family: var(--font-display); font-weight: 400; color: var(--cream);
  font-size: clamp(2.6rem, 6.2vw, 4rem); line-height: 0.98; letter-spacing: 0.01em;
}
.signboard__sub {
  font-family: var(--font-mono); font-weight: 600; color: var(--cream);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem); letter-spacing: 0.3em; margin-top: 0.6rem;
}
.signboard__rivet {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--asphalt-raised); box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.15);
}
.signboard__rivet--tl { top: 10px; left: 10px; }
.signboard__rivet--tr { top: 10px; right: 10px; }
.signboard__rivet--bl { bottom: 10px; left: 10px; }
.signboard__rivet--br { bottom: 10px; right: 10px; }
@keyframes sign-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__tagline { margin-top: 1.6rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--cream); max-width: 34em; font-style: italic; }
.hero__tagline-source { margin-top: 0.5rem; font-size: 0.82rem; color: var(--muted-on-dark); }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

.hero__art { align-self: center; width: 100%; }
.hero__art img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3/2; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--asphalt-line);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.6);
}
.hero__art figcaption { margin-top: 0.6rem; font-size: 0.74rem; color: var(--steel); text-align: center; }

/* ---------- spec plate: verified facts as a vehicle ID plate ---------- */
.specplate { padding: 0 0 3.2rem; }
.specplate__panel {
  position: relative; background: var(--asphalt-raised); border: 1px solid var(--asphalt-line);
  border-radius: var(--radius); padding: 1.8rem 2.2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
}
.specplate__field { display: flex; flex-direction: column; gap: 0.3rem; text-align: center; }
.specplate__label {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--steel);
}
.specplate__value { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--cream); }
.specplate__value--text { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }
.specplate__unit { font-size: 0.9rem; color: var(--muted-on-dark); }
.rivet {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--asphalt); box-shadow: inset 0 1px 2px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.08);
}
.rivet--tl { top: 10px; left: 10px; }
.rivet--tr { top: 10px; right: 10px; }
.rivet--bl { bottom: 10px; left: 10px; }
.rivet--br { bottom: 10px; right: 10px; }
.specplate__source { margin-top: 1rem; font-size: 0.8rem; color: var(--muted-on-dark); text-align: center; }

/* ---------- about ---------- */
.about { background: var(--cream); color: var(--ink); }
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.2rem; align-items: start; }
.about .eyebrow { color: var(--sign-red-deep); }
.about .section__title { color: var(--ink); }
.about__copy p { margin-top: 1.1rem; font-size: 1.02rem; max-width: 42em; }
.about__source { margin-top: 1.4rem !important; font-size: 0.82rem; color: var(--muted-on-light); max-width: 46em; }

.about__plate {
  background: var(--asphalt); color: var(--cream); border-radius: var(--radius);
  padding: 1.8rem 1.9rem; box-shadow: var(--shadow);
}
.about__plate-title { font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--steel); margin-bottom: 1rem; }
.about__plate-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.94rem; }
.about__plate-list li { display: flex; align-items: center; gap: 0.7rem; }
.swatch { width: 22px; height: 22px; border-radius: 5px; flex: none; }
.swatch--steel { background: var(--steel); }
.swatch--red { background: var(--sign-red); }
.swatch--cream { background: var(--cream); }
.swatch--asphalt { background: var(--asphalt-raised); border: 1px solid var(--steel-deep); }
.about__plate-note { margin-top: 1.1rem; font-size: 0.76rem; color: var(--muted-on-dark); line-height: 1.5; }

/* ---------- craft: custom exhaust + sound-tuning spotlight ---------- */
.craft { background: var(--sign-red); color: var(--cream); padding: 4.4rem 0; }
.craft__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.craft__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--cream); }
.craft__text { margin-top: 1.1rem; font-size: 1.02rem; max-width: 40em; color: var(--cream); opacity: 0.96; }
.craft__note { margin-top: 1rem; font-size: 0.82rem; color: var(--cream); opacity: 0.78; }

.craft__media { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.craft__photo { width: 100%; max-width: 320px; }
.craft__photo img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3/2; object-fit: cover;
  border-radius: 6px; border: 1px solid rgba(242,234,216,0.25);
}
.craft__photo figcaption { margin-top: 0.5rem; font-size: 0.72rem; color: var(--cream); opacity: 0.75; text-align: center; }
.waveform { display: flex; align-items: flex-end; gap: 6px; height: 120px; width: 100%; max-width: 280px; }
.waveform span {
  flex: 1; height: var(--h); background: var(--cream); border-radius: 3px 3px 0 0;
  opacity: 0.9; animation: wave-pulse 2.6s ease-in-out infinite;
}
.waveform span:nth-child(odd) { animation-delay: -0.6s; }
.waveform span:nth-child(3n) { animation-delay: -1.2s; }
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.82); }
}
.waveform__tags { display: flex; gap: 1.2rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--cream); opacity: 0.85; }

/* ---------- services ---------- */
.services { background: var(--asphalt); }
.verified-tags {
  margin-top: 2rem; background: var(--asphalt-raised); border: 1px solid var(--asphalt-line);
  border-left: 4px solid var(--sign-red); border-radius: 8px; padding: 1.3rem 1.6rem;
}
.verified-tags__label { font-size: 0.9rem; font-weight: 700; color: var(--cream); }
.verified-tags__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-top: 0.9rem; }
.verified-tags__list li {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--cream);
  background: var(--asphalt); border: 1px solid var(--steel-deep); border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.verified-tags__list li span { color: var(--steel); margin-left: 0.3rem; }
.verified-tags__source { margin-top: 0.9rem; font-size: 0.76rem; color: var(--muted-on-dark); }

.tagboard {
  list-style: none; margin-top: 2.6rem; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.4rem;
}
.tag {
  position: relative; background: var(--cream); color: var(--ink); border-radius: 6px;
  padding: 1.5rem 1.3rem 1.3rem; box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.tag:nth-child(3n+1) { transform: rotate(-1.4deg); }
.tag:nth-child(3n+2) { transform: rotate(1deg); }
.tag:nth-child(3n) { transform: rotate(-0.6deg); }
.tag:hover { transform: rotate(0deg) translateY(-3px); }
.tag__hole {
  position: absolute; top: 12px; left: 12px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--asphalt); box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}
.tag__code {
  display: block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  color: var(--sign-red-deep); letter-spacing: 0.06em; margin-left: 1.6rem; margin-bottom: 0.5rem;
}
.tag__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.tag__text { font-size: 0.88rem; color: var(--muted-on-light); }
.services__note {
  margin-top: 2.2rem; font-size: 0.86rem; color: var(--muted-on-dark); max-width: 56em;
  border-top: 1px solid var(--asphalt-line); padding-top: 1.1rem;
}
.services__note a { color: var(--sign-red); font-weight: 600; }

/* ---------- hours: work-order form motif ---------- */
.hours { background: var(--cream); color: var(--ink); }
.hours .eyebrow { color: var(--sign-red-deep); }
.hours .section__title { color: var(--ink); }
.workorder {
  margin-top: 2.2rem; background: #fffdf8; border: 2px solid var(--ink);
  border-radius: 6px; padding: 2rem 2.2rem; box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(180deg, transparent, transparent 42px, rgba(27,25,23,0.06) 43px);
}
.workorder__row {
  display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: 0.55rem 0;
  border-bottom: 1px dashed var(--steel-deep); align-items: baseline;
}
.workorder__row:last-of-type { border-bottom: none; }
.workorder__label {
  font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--sign-red-deep); font-weight: 700;
}
.workorder__value { font-size: 1.02rem; }
.workorder__value a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sign-red); }
.workorder__value a:hover { color: var(--sign-red-deep); }
.workorder__note { margin-top: 1.2rem; font-size: 0.88rem; color: var(--muted-on-light); }

/* ---------- reviews: gauge dial ---------- */
.reviews { background: var(--asphalt); }
.reviews__grid { display: grid; grid-template-columns: 0.75fr 1.6fr; gap: 3.2rem; align-items: center; }
.gauge { text-align: center; }
.gauge svg { width: 220px; margin-inline: auto; }
.gauge__num { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; color: var(--cream); margin-top: -1.6rem; }
.gauge__label { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel); }
.reviews__coming {
  margin-top: 1.2rem; font-size: 0.95rem; font-style: italic; color: var(--muted-on-dark);
  border-left: 4px solid var(--sign-red); padding-left: 0.9rem;
}
.reviews__source { margin-top: 1.1rem; font-size: 0.8rem; color: var(--muted-on-dark); }
.reviews__grid .btn { margin-top: 1.2rem; }

/* ---------- contact ---------- */
.contact { background: var(--asphalt-raised); text-align: center; padding: 4.8rem 0; border-top: 1px solid var(--asphalt-line); }
.contact__inner { max-width: 640px; margin-inline: auto; }
.contact__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.8vw, 2.4rem); color: var(--cream); }
.contact__text { margin: 1.1rem auto 1.8rem; font-size: 1.05rem; color: var(--muted-on-dark); }
.contact__directions { margin-top: 1.6rem; font-size: 0.92rem; font-weight: 600; }
.contact__directions a { color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--sign-red); }
.contact__directions a:hover { border-color: var(--cream); }

/* ---------- footer ---------- */
.footer { background: var(--asphalt); color: var(--muted-on-dark); font-size: 0.85rem; border-top: 1px solid var(--asphalt-line); }
.footer__inner { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; text-align: center; padding: 1.8rem 0; }
.footer a { color: var(--steel); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__credit { font-size: 0.78rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; width: min(340px, 100%); margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .craft__grid { grid-template-columns: 1fr; text-align: center; }
  .craft__copy p, .craft__text { margin-inline: auto; }
  .craft__media { margin-top: 1rem; }
  .specplate__panel { grid-template-columns: repeat(2, 1fr); }
  .tagboard { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; text-align: center; }
  .gauge svg { margin-inline: auto; }
  .reviews__coming { border-left: none; border-top: 4px solid var(--sign-red); padding-left: 0; padding-top: 0.9rem; }
}
@media (max-width: 640px) {
  .section { padding: 3.4rem 0; }
  .hero { padding: 2.6rem 0 2.2rem; }
  .site-nav a:not(.site-nav__cta) { display: none; }
  .site-nav__cta { font-size: 0.82rem; padding: 0.5rem 0.95rem; }
  .phoneband__row { justify-content: center; text-align: center; }
  .phoneband__addr { display: none; }
  .tagboard { grid-template-columns: 1fr; }
  .specplate__panel { grid-template-columns: 1fr 1fr; padding: 1.5rem; }
  .workorder__row { grid-template-columns: 1fr; gap: 0.2rem; }
}
