/* =====================================================
   Mike's Auto Repair — Shop-class chalkboard
   ===================================================== */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root {
  --slate: #1c2c26;
  --slate-deep: #14201b;
  --slate-edge: #0d1612;
  --cream: #f5f1e8;
  --cream-warm: #ede7d8;
  --paper: #faf6ee;
  --ink: #1b1d1c;
  --ink-soft: #3a3d3a;
  --muted: #6c6f69;
  --chalk: #ffffff;
  --chalk-soft: #e9e5d6;
  --rule: #d8d2c0;
  --red: #c8302b;
  --red-deep: #a4231f;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--slate);
  color: var(--chalk);
  border-bottom: 1px solid var(--slate-edge);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--chalk);
}
.brand-script {
  font-family: 'Yellowtail', cursive;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--chalk);
  letter-spacing: 0.5px;
}
.brand-tail {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk-soft);
  display: none;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-soft);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fd28a;
  box-shadow: 0 0 0 3px rgba(111,210,138,0.18);
}
.status-dot.closed { background: #d28a6f; box-shadow: 0 0 0 3px rgba(210,138,111,0.18); }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid var(--red-deep);
}
.nav-call-label { display: none; }
.nav-call-num { font-variant-numeric: tabular-nums; }

@media (min-width: 720px) {
  .nav { padding: 14px 28px; }
  .brand-script { font-size: 1.95rem; }
  .brand-tail { display: inline; }
  .status { display: inline-flex; }
  .nav-call-label { display: inline; opacity: 0.85; font-weight: 500; }
}

/* =====================================================
   HERO  —  the chalkboard
   ===================================================== */
.hero {
  position: relative;
  background: var(--slate);
  color: var(--chalk);
  padding: 44px 20px 56px;
  border-bottom: 6px solid var(--slate-edge);
  overflow: hidden;
}

.hero::before {
  /* subtle inner shadow on the chalkboard, no grain texture */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.04), transparent 55%),
    radial-gradient(140% 120% at 50% 100%, rgba(0,0,0,0.35), transparent 60%);
}

.hero-eyebrow {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chalk-soft);
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.hero-h {
  position: relative;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--chalk);
}
.hero-h .script {
  display: block;
  font-family: 'Yellowtail', cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--chalk);
  margin-bottom: 4px;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.hero-h .underlined {
  position: relative;
  display: inline-block;
}
.hero-h .underlined::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -4px;
  height: 6px;
  background: var(--red);
  transform: skewY(-1deg);
  border-radius: 2px;
}

.hero-sub {
  position: relative;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--chalk-soft);
  margin: 0 0 28px;
}

.hero-ctas {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red-deep);
}
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost {
  background: transparent;
  color: var(--chalk);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-num { font-variant-numeric: tabular-nums; }

@media (min-width: 720px) {
  .hero { padding: 88px 56px 96px; }
  .hero-ctas { flex-direction: row; align-items: center; }
  .hero-sub { font-size: 1.15rem; }
}

/* =====================================================
   STATS BAND
   ===================================================== */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}
.band-cell {
  padding: 22px 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.band-cell:nth-child(2n) { border-right: none; }
.band-cell:nth-last-child(-n+2) { border-bottom: none; }

.band-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.band-star { color: var(--red); font-size: 0.75em; }
.band-dash { color: var(--muted); margin: 0 2px; }
.band-cap {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 720px) {
  .band { grid-template-columns: repeat(4, 1fr); }
  .band-cell { padding: 32px 28px; border-bottom: none; border-right: 1px solid var(--rule); }
  .band-cell:nth-child(2n) { border-right: 1px solid var(--rule); }
  .band-cell:last-child { border-right: none; }
}

/* =====================================================
   SECTION SCAFFOLDING
   ===================================================== */
.section {
  padding: 56px 20px;
}
@media (min-width: 720px) {
  .section { padding: 88px 56px; }
}

.kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--red);
}

.section-h {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 5.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}
.section-sub {
  max-width: 56ch;
  margin: 8px 0 36px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.chalk-mark {
  position: relative;
  display: inline-block;
}
.chalk-mark::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -5px;
  height: 5px;
  background: var(--red);
  transform: skewY(-1.2deg);
  border-radius: 2px;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services { background: var(--paper); border-bottom: 1px solid var(--rule); }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.svc {
  padding: 26px 4px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-items: start;
}
.svc-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.svc h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  color: var(--ink);
}
.svc p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
  .svc { padding: 32px 0; }
  .svc:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .svc:last-child { border-bottom: 1px solid var(--rule); }
}

/* =====================================================
   PHOTO STRIP — full bleed
   ===================================================== */
.strip {
  position: relative;
  background: var(--slate);
  color: var(--chalk);
  overflow: hidden;
}
.strip-photo {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(260px, 60vw, 480px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
}
.strip-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,27,0.55), rgba(20,32,27,0.85));
  pointer-events: none;
}
.strip-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 20px 32px;
}
.strip-script {
  font-family: 'Yellowtail', cursive;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1;
  color: var(--chalk);
  margin: 0 0 4px;
}
.strip-line {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.3rem);
  letter-spacing: 0.02em;
  color: var(--chalk-soft);
  margin: 0;
  max-width: 36ch;
}

@media (min-width: 720px) {
  .strip-copy { padding: 48px 56px; }
}

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews { background: var(--cream); border-bottom: 1px solid var(--rule); }

.rv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.rv {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 22px 22px 18px;
  border-radius: 2px;
  position: relative;
}
.rv-stars {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--red);
  margin: 0 0 10px;
}
.rv p {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}
.rv footer {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.rv footer strong { color: var(--ink); font-weight: 700; }

@media (min-width: 720px) {
  .rv-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .rv-tall { grid-row: span 2; }
}
@media (min-width: 1100px) {
  .rv-grid { grid-template-columns: repeat(3, 1fr); }
  .rv-tall { grid-row: span 1; }
}

/* =====================================================
   VISIT
   ===================================================== */
.visit { background: var(--paper); border-bottom: 1px solid var(--rule); }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}
.visit-block {
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--rule);
}
.visit-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}
.visit-value {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 10px;
  font-weight: 600;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-feature-settings: 'tnum'; }

.visit-cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  margin-top: 4px;
  min-height: 44px;
  line-height: 44px;
}

.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--rule);
}
.hours li:last-child { border-bottom: none; }
.hours li span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.hours li span:last-child { color: var(--ink-soft); }
.hours li.is-closed span:last-child { color: var(--muted); font-style: italic; }

.visit-map {
  grid-column: 1 / -1;
  border: 1px solid var(--rule);
  background: var(--cream);
  overflow: hidden;
}
.visit-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

@media (min-width: 720px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
  }
  .visit-map { grid-column: 1 / -1; }
  .visit-map iframe { height: 380px; }
}

/* =====================================================
   FOOT CTA
   ===================================================== */
.cta-foot {
  background: var(--slate);
  color: var(--chalk);
  text-align: center;
  padding: 64px 20px 72px;
  position: relative;
  overflow: hidden;
}
.cta-foot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.04), transparent 55%);
  pointer-events: none;
}
.cta-script {
  position: relative;
  font-family: 'Yellowtail', cursive;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 1.0;
  margin: 0 0 12px;
  color: var(--chalk);
}
.cta-line {
  position: relative;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  letter-spacing: 0.02em;
  color: var(--chalk-soft);
  margin: 0 0 28px;
}
.cta-foot .btn-primary {
  position: relative;
  font-size: 1.05rem;
  padding: 16px 28px;
  min-height: 56px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.foot {
  background: var(--slate-deep);
  color: var(--chalk-soft);
  padding: 32px 20px;
  border-top: 1px solid var(--slate-edge);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
}
.foot-brand {
  font-family: 'Yellowtail', cursive;
  font-size: 1.6rem;
  color: var(--chalk);
  margin: 0 0 4px;
}
.foot-line {
  margin: 2px 0;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--chalk-soft);
}
.foot-fine {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

@media (min-width: 720px) {
  .foot { padding: 40px 56px; }
  .foot-grid { grid-template-columns: 1fr auto; }
  .foot-fine { text-align: right; }
}

/* =====================================================
   SECTION DIVIDER (red chalk underline accent)
   ===================================================== */
.divider {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 18px 0 28px;
  transform: skewY(-1.2deg);
}
