/* Figgins Garage — demo rebuild. Mobile-first, no JS, no framework. */

:root {
  --ink: #182229;
  --paper: #f5f2ea;
  --card: #ffffff;
  --steel: #2c3e4f;
  --steel-dark: #1c2733;
  --orange: #c1500f;
  --orange-dark: #9c3f0b;
  --line: #d9d3c4;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
img, .photo-frame { max-width: 100%; }
a { color: var(--orange-dark); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Masthead ---------- */
.masthead {
  background: var(--steel-dark);
  color: #fdfaf4;
  position: sticky;
  top: 0;
  z-index: 20;
}
.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
}
.brand-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.brand-tag {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #c9d2da;
}
.call-button {
  flex: 0 0 auto;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.call-icon { display: inline-block; transform: rotate(90deg); }

.index-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  -webkit-overflow-scrolling: touch;
}
.index-strip a {
  flex: 0 0 auto;
  color: #dfe6ec;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.index-strip a:hover, .index-strip a:focus { background: rgba(255,255,255,0.08); }
.index-strip .idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #f0a066;
  margin-right: 0.3rem;
}

/* ---------- Fact strip ---------- */
.fact-strip {
  background: #ece5d3;
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem;
}
.fact-strip p {
  margin: 0;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--steel-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}
.fact-strip span::before { content: "· "; color: var(--orange-dark); }
.fact-strip span:first-child::before { content: ""; }

/* ---------- Services ---------- */
.service {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.25rem 1.1rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6.5rem;
}
.service.alt { background: #efeade; }
.service-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--orange-dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.service-text h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: var(--steel-dark);
}
.service-text p { margin: 0 0 1rem; max-width: 60ch; }
.service-call {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: var(--orange-dark);
  border-bottom: 2px solid var(--orange-dark);
  padding-bottom: 0.1rem;
}

.photo-frame {
  background: repeating-linear-gradient(135deg, #dfd8c6, #dfd8c6 10px, #d3cbb6 10px, #d3cbb6 20px);
  border: 2px dashed #a89a78;
  border-radius: 10px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.photo-frame span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5c5236;
  background: rgba(255,255,255,0.75);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  line-height: 1.4;
}

/* ---------- Reviews ---------- */
.reviews {
  padding: 2.25rem 1.1rem;
  background: var(--steel-dark);
  color: #f5f2ea;
}
.reviews h2 { margin: 0 0 0.35rem; color: #fff; }
.reviews-note {
  margin: 0 0 1.4rem;
  font-size: 0.82rem;
  color: #b7c2cc;
}
.review-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.review-grid blockquote {
  margin: 0;
  background: #26333f;
  border-left: 3px solid var(--orange);
  padding: 1rem 1.1rem;
  border-radius: 4px;
}
.review-grid p { margin: 0 0 0.7rem; font-size: 0.95rem; }
.review-grid cite {
  font-style: normal;
  font-weight: 700;
  color: #f0a066;
  font-size: 0.85rem;
}

/* ---------- About ---------- */
.about { padding: 2.25rem 1.1rem; max-width: 62ch; }
.about h2 { margin: 0 0 0.6rem; color: var(--steel-dark); }

/* ---------- Contact ---------- */
.contact {
  padding: 2.25rem 1.1rem 6rem;
  background: #ece5d3;
  border-top: 1px solid var(--line);
  scroll-margin-top: 6.5rem;
}
.contact h2 { margin: 0 0 1.25rem; color: var(--steel-dark); }
.contact-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1fr;
}
.contact-label {
  margin: 0 0 0.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
}
.contact-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--steel-dark);
  text-decoration: none;
}
a.contact-value:hover { text-decoration: underline; }
.map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  z-index: 30;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.25);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-dark);
  color: #b7c2cc;
  padding: 1.5rem 1.1rem 6rem;
  font-size: 0.78rem;
}
.site-footer p { margin: 0; max-width: 70ch; }
.site-footer strong { color: #fff; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .masthead-top { padding: 1rem 2rem; }
  .brand-name { font-size: 1.5rem; }
  .index-strip { padding: 0 1.25rem; }
  .index-strip a { font-size: 0.85rem; padding: 0.7rem 1.1rem; }
  .fact-strip { padding: 0.7rem 2rem; }

  .service {
    flex-direction: row;
    align-items: center;
    padding: 3.5rem 2rem;
    gap: 3rem;
  }
  .service > * { flex: 1 1 0; }
  .service.alt { flex-direction: row-reverse; }
  .photo-frame { min-height: 280px; }
  .service-text h2 { font-size: 1.7rem; }

  .reviews, .about, .contact, .site-footer { padding-left: 2rem; padding-right: 2rem; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }

  .mobile-call-bar { display: none; }
  .site-footer { padding-bottom: 1.5rem; }
  .contact { padding-bottom: 2.5rem; }
}
