/* 356 Carburetor Rescue — Version B (Classic/Simple) */

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #222;
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #111;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.2rem; margin-top: 1.5rem; }

a { color: #1a5276; }
a:hover { color: #0d2f4a; }

img { max-width: 100%; height: auto; border: 1px solid #ddd; border-radius: 2px; }

/* Layout */
.wrap { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }

/* Nav */
nav { background: #f5f5f5; border-bottom: 2px solid #c9a84c; padding: 0.75rem 0; }
nav .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
nav .brand { font-family: Georgia, serif; font-size: 1.25rem; color: #111; text-decoration: none; }
nav .brand span { color: #b8952f; font-weight: bold; }
nav .links { display: flex; flex-wrap: wrap; gap: 0.25rem; }
nav .links a { font-size: 0.85rem; padding: 0.3rem 0.6rem; color: #444; text-decoration: none; border-radius: 2px; }
nav .links a:hover, nav .links a.active { color: #111; background: #e8e4de; }
nav .phone { font-size: 0.85rem; color: #b8952f; text-decoration: none; white-space: nowrap; }

/* Main content */
main { padding: 2rem 0 3rem; }
main p { margin-bottom: 1em; }
main ul, main ol { margin: 0.75em 0 1em 1.5em; }
main li { margin-bottom: 0.4em; }

/* Page header */
.page-header { text-align: center; padding: 2rem 0 1.5rem; border-bottom: 1px solid #e8e4de; margin-bottom: 2rem; }
.page-header h1 { margin-bottom: 0.25em; }
.page-header p { color: #666; font-size: 1rem; }

/* Two column */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .two-col { grid-template-columns: 2fr 1fr; } }

/* Sidebar box */
.sidebar-box { background: #fafaf8; border: 1px solid #e0ddd5; padding: 1.25rem; border-radius: 2px; }
.sidebar-box h3 { font-size: 1rem; margin-top: 0; }
.sidebar-box h4 { font-size: 0.9rem; color: #8a6624; margin-top: 1rem; margin-bottom: 0.25rem; }
.sidebar-box ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: #555; }
.sidebar-box li { margin-bottom: 0.2rem; }

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.5rem 0; }
.photo-strip img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
th { background: #f0ece6; text-align: left; padding: 0.6rem 0.75rem; font-weight: 600; border-bottom: 2px solid #d4cfc6; }
td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #e8e4de; }
td.mono { font-family: "Consolas", "Monaco", monospace; }

/* Callout boxes */
.callout { background: #fafaf8; border: 1px solid #e0ddd5; border-left: 3px solid #c9a84c; padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 2px; }
.callout-warn { border-left-color: #c0392b; background: #fdf6f5; }
.callout p { margin-bottom: 0.5em; }
.callout p:last-child { margin-bottom: 0; }

/* Contact card */
.contact-card { background: #fafaf8; border: 1px solid #e0ddd5; padding: 1.25rem; border-radius: 2px; }
.contact-card h3 { margin-top: 0; font-size: 1.1rem; }
.contact-card .role { font-size: 0.85rem; color: #8a6624; margin-bottom: 0.75rem; }

/* Image gallery grid */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery .label { font-size: 0.75rem; text-align: center; color: #888; margin-top: 0.25rem; }

/* Footer */
footer { background: #f5f5f5; border-top: 2px solid #c9a84c; padding: 2rem 0; margin-top: 3rem; font-size: 0.85rem; color: #666; }
footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8a6624; margin-bottom: 0.5rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 0.25rem; }
footer a { color: #555; text-decoration: none; }
footer a:hover { color: #222; }
footer .legal { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #ddd; text-align: center; font-size: 0.75rem; color: #999; }
footer .legal em { display: block; margin-top: 0.25rem; }

/* Responsive */
@media (max-width: 500px) {
  .photo-strip { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  nav .links { gap: 0; }
  nav .links a { padding: 0.25rem 0.4rem; font-size: 0.8rem; }
}
