/* Old Timer Garage, site styles. Same design as copperstateclassiccars.com (clean and bright):
   white pages, black header, sand bands. Old Timer Garage green for actions, dark green for labels.
   To use the Copperstate orange instead, set --orange: #F68E13 and --copper: #B35A12. */
:root {
  --ink: #161616;
  --ink-2: #4D4D4D;
  --muted: #5C5C5C;
  --paper: #FFFFFF;
  --sand: #F5F4F2;
  --sand-2: #EDEBE8;
  --stone: #DCD9D4;
  --line: #E6E3DF;
  --night: #111111;
  --night-2: #2B2B2B;
  --night-ink: #FFFFFF;
  --night-muted: #D6D6D6;
  --orange: #7FAD00;
  --orange-ink: #111111;
  --copper: #4D6B00;
  --focus: #1F6FEB;
  --font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --radius: 12px;
  --pill: 999px;
  --wrap: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--copper); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 96px; }
.band-tight { padding-block: 64px; }
.band-sand { background: var(--sand); }
.band-dark { background: var(--night); color: var(--night-ink); }
.band-dark a:not(.btn) { color: var(--night-ink); }
.band-dark .lead, .band-dark .muted { color: var(--night-muted); }

.eyebrow { margin: 0 0 8px; color: var(--copper); font-weight: 600; font-size: 15px; }
.band-dark .eyebrow { color: var(--orange); }
.lead { color: var(--ink-2); font-size: 18px; max-width: 64ch; }
.muted { color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 48px; display: grid; gap: 12px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .lead { margin: 0; }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.row-head .section-head { margin-bottom: 0; }
.link-arrow { color: var(--copper); font-weight: 600; }
.band-dark .link-arrow { color: var(--orange); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--paper); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px; border-radius: var(--pill);
  font-weight: 600; font-size: 16px; line-height: 1.2; border: 2px solid transparent;
  cursor: pointer; font-family: inherit; text-align: center;
}
.btn-primary { background: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: #729C00; color: var(--orange-ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-dark { background: var(--night); color: var(--night-ink); }
.btn-dark:hover { background: #333333; color: var(--night-ink); }
.btn-outline-light { border-color: var(--night-ink); color: var(--night-ink); background: transparent; }
.btn-outline-light:hover { background: var(--night-ink); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header { background: var(--night); color: var(--night-ink); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand img { width: 210px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a, .nav .nav-parent { color: var(--night-ink); font-weight: 500; font-size: 15px; display: block; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav .nav-parent:hover { color: var(--orange); }
.nav a[aria-current="page"] { color: var(--orange); }
.nav .has-sub { position: relative; }
.nav .sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
  min-width: 260px; background: var(--paper); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18); display: none;
}
.nav .sub a { color: var(--ink); padding: 8px 12px; font-size: 15px; }
.nav .sub a:hover { background: var(--sand); color: var(--copper); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--night-ink); font-weight: 600; white-space: nowrap; }
.header-phone:hover { color: var(--orange); }
.header-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.menu-toggle {
  display: none; margin-left: auto; background: transparent; color: var(--night-ink);
  border: 2px solid #555555; border-radius: 8px; min-height: 44px; padding: 8px 14px;
  font: 600 15px var(--font); cursor: pointer;
}

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-inner { flex-wrap: wrap; }
  .nav, .header-actions { display: none; width: 100%; }
  .site-header.open .nav, .site-header.open .header-actions { display: block; }
  .nav { margin-left: 0; padding-bottom: 8px; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .sub { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  .nav .sub a { color: var(--night-muted); }
  .nav .sub a:hover { background: transparent; color: var(--orange); }
  .site-header.open .header-actions { display: flex; flex-wrap: wrap; padding-bottom: 20px; }
}

/* Photos */
.media { border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Home hero */
.hero { background: var(--sand); }
.hero-photo { height: clamp(260px, 38vw, 480px); border-radius: 0; }
.hero-card-wrap { max-width: 1040px; margin: -120px auto 0; position: relative; padding-bottom: 96px; }
.hero-card {
  background: var(--paper); border-radius: 16px; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.08);
}
.hero-card h1 { max-width: 820px; margin: 0 auto; }
.hero-card .lead { margin: 20px auto 0; max-width: 600px; font-size: 19px; }
.hero-card .btn-row { justify-content: center; margin-top: 36px; }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}
.stat-num { font-weight: 700; font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 14px; }

/* Inner page hero */
.page-hero { background: var(--sand); padding-block: 64px 56px; }
.page-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.page-hero .crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 900px; }
.page-hero .lead { margin: 16px 0 0; }
.page-hero .btn-row { margin-top: 28px; }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-line { border: 1px solid var(--line); }
.card .ph { border-radius: 0; }
.card-body { padding: 24px; display: grid; gap: 8px; align-content: start; }
.card-body p { margin: 0; }
.card-tag { color: var(--copper); font-size: 13px; font-weight: 600; }
.service-card .ph, .service-card .media { min-height: 150px; height: 150px; border-radius: 0; }
.service-card h3 { font-size: 18px; }
.service-card p { color: var(--muted); font-size: 14px; }
a.card:hover h3 { color: var(--copper); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chips.center { justify-content: center; }
.chip { background: var(--sand); border-radius: var(--pill); padding: 8px 18px; font-size: 15px; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps.center { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: var(--pill); background: var(--orange); color: var(--orange-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px;
}
.steps.center .step-num { margin: 0 auto; }
.steps h3 { margin: 20px 0 8px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }
.band-dark .steps p { color: var(--night-muted); }

/* Split layouts */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split .ph, .split .media { height: 380px; border-radius: var(--radius); }
.checklist { padding: 0 0 0 20px; display: grid; gap: 8px; font-size: 17px; }
.band-dark .checklist { color: var(--night-muted); }

/* CTA */
.cta-orange { background: var(--orange); border-radius: 16px; padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 48px); text-align: center; }
.cta-orange h2 { margin-bottom: 12px; }
.cta-orange p { max-width: 560px; margin: 0 auto 32px; font-size: 18px; }
.cta-orange .btn-outline:hover { background: var(--night); color: var(--night-ink); }

/* Prose pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17px; color: #2E2E2E; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin-bottom: 1em; }
.two-col { display: flex; flex-wrap: wrap; gap: 56px; }
.two-col > .main { flex: 2 1 520px; min-width: 0; }
.two-col > .aside { flex: 1 1 300px; min-width: 0; }
.aside-box { background: var(--sand); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; position: sticky; top: 24px; }
.aside-box h3 { font-size: 20px; }
.aside-box p { margin: 0; color: var(--ink-2); font-size: 15px; }
.included { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.included li { background: var(--sand); border-radius: 10px; padding: 16px 18px; font-size: 16px; display: flex; gap: 12px; align-items: flex-start; }
.included svg { flex: none; margin-top: 3px; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.gallery .ph, .gallery .media { height: 200px; border-radius: 10px; }
.aside .media { height: 240px; }
.hero .media.hero-photo { border-radius: 0; }

/* FAQ */
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 24px; margin-bottom: 16px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17px; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 24px; font-weight: 400; color: var(--copper); }
details.faq[open] summary::after { content: "\2212"; }
details.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
details.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 20px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.form legend { font-weight: 700; font-size: 20px; margin-bottom: 4px; padding: 0; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 16px var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid #B9B4AD; border-radius: 8px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(127,173,0,0.35); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.req { color: var(--copper); }
.form-note { background: var(--sand); border-radius: 10px; padding: 16px 18px; font-size: 15px; }
.form-status { font-weight: 600; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 40px); }

/* Footer */
.site-footer { background: var(--sand); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); padding-block: 64px 32px; }
.site-footer h3 { font-size: 15px; margin: 0 0 10px; }
.site-footer h3 + p { margin-bottom: 20px; }
.site-footer p { color: var(--ink-2); margin: 0; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-logo { width: 160px; margin-bottom: 16px; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .band { padding-block: 72px; }
  .hero-card-wrap { margin-top: -64px; padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--night); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }
  .mobile-bar .btn { min-height: 46px; padding: 10px 12px; font-size: 15px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .split .ph, .split .media { height: 260px; }
  .aside-box { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Forms: spam trap field, hidden from people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* Old Timer Garage additions */
.stats-3 { max-width: 640px; margin-left: auto; margin-right: auto; }
.post-card { border: 1px solid var(--line); color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
.post-card:hover { color: inherit; box-shadow: 0 10px 28px rgba(0,0,0,0.10); transform: translateY(-2px); }
.post-card .media { height: 220px; border-radius: 0; }
.post-card h3 { font-size: 18px; }
.post-card .card-teaser { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .card-more { color: var(--copper); font-weight: 600; font-size: 14px; }
.post-date { color: var(--muted); font-size: 14px; }
.series-head { margin: 64px 0 28px; display: grid; gap: 8px; }
.series-head:first-child { margin-top: 0; }
.series-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post-hero-meta { color: var(--muted); font-size: 15px; margin-top: 12px; }
.post-cover { height: clamp(220px, 40vw, 520px); border-radius: var(--radius); margin-bottom: 40px; }
.prose figure { margin: 28px 0; }
.prose figure img, .prose .pair img { width: 100%; border-radius: 10px; }
.prose .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 28px 0; }
.prose .pair a, .prose figure a { display: block; }
.prose .pair img { height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.videos { display: grid; gap: 20px; margin: 32px 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-nav { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-nav a:hover { border-color: var(--ink); color: inherit; }
.post-nav .label { color: var(--copper); font-size: 13px; font-weight: 600; }
.post-nav .next { text-align: right; }
.series-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.series-list a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.series-list a:hover { background: var(--paper); color: var(--copper); }
.series-list a[aria-current="page"] { background: var(--paper); color: var(--ink); font-weight: 600; }
.why { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.why .card-body { padding: 32px; }
.why h3 { font-size: 20px; }
.why p { color: var(--ink-2); }
.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 560px; margin: 0 auto; }
.signup input[type=email] { flex: 1 1 260px; font: 16px var(--font); border: 0; border-radius: var(--pill); padding: 12px 20px; min-height: 48px; }
.signup .form-status { flex-basis: 100%; background: rgba(255,255,255,0.85); }
.cta-orange .btn-row { margin-top: 20px; }
.header-social { color: var(--night-ink); font-weight: 600; font-size: 15px; }
.header-social:hover { color: var(--orange); }
@media (max-width: 560px) { .stats-3 > div:first-child { grid-column: auto; } .stats-3 > div:last-child { grid-column: 1 / -1; } }

/* Pictures page */
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photo-grid .shot { margin: 0; }
.photo-grid a { display: block; border-radius: 10px; overflow: hidden; background: var(--sand-2); aspect-ratio: 4 / 3; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.photo-grid a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,0.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { color: #E6E6E6; font-size: 15px; text-align: center; }
.lightbox figcaption a { color: var(--orange); text-decoration: underline; }
.lightbox button { position: absolute; background: rgba(255,255,255,0.12); color: #FFFFFF; border: 0; border-radius: var(--pill); width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox { padding: 64px 8px; } .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }
@media (prefers-reduced-motion: reduce) { .photo-grid a:hover img { transform: none; } }
