/* Mobile Vehicle Maintenance - mobile mechanic, Hibiscus Coast.
   Graphite and steel from the workshop, off-white paper, and the one lime
   from the owner's logo, used only on dark surfaces and the primary button.
   Labels and numbers are set in the system monospace, like a job sheet. */

:root {
  --graphite: #17191c;
  --graphite-deep: #0e0f11;
  --steel: #2b2f35;
  --steel-light: #3d434b;
  --slate: #5d646e;
  --ash: #9aa1ab;
  --paper: #f4f4f1;
  --paper-deep: #e6e6e1;
  --line: #d6d7d2;
  --white: #ffffff;
  --lime: #19ff11;
  --lime-deep: #12c60d;
  --ink: #1a1c1f;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 72rem;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 20px 50px -28px rgba(14, 15, 17, 0.6);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tread: repeating-linear-gradient(
    -45deg,
    transparent 0 14px,
    rgba(255,255,255,0.035) 14px 28px
  );
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--graphite); text-underline-offset: 0.18em; }
a:hover { color: var(--steel-light); }

:focus-visible {
  outline: 3px solid var(--lime-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--graphite);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: var(--measure); }
.lede { font-size: 1.2rem; color: var(--slate); }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow::before { content: "// "; color: var(--lime-deep); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--ash); }
.section--dark .eyebrow::before, .hero .eyebrow::before { color: var(--lime); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
[id] { scroll-margin-top: 5.5rem; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--graphite); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--ash); }
.section--dark .lede { color: var(--paper-deep); }
.section + .section:not(.section--paper):not(.section--dark) { border-top: 1px solid var(--line); }

.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: normal;
  text-align: center;
  min-height: 44px;
  font-family: inherit;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--graphite); color: var(--lime); border-color: var(--graphite); }
.btn--primary:hover { background: var(--graphite-deep); border-color: var(--lime); color: var(--lime); }
.btn--ghost { background: transparent; color: var(--graphite); border-color: #b8bcc2; }
.btn--ghost:hover { border-color: var(--graphite); color: var(--graphite); }
.btn--ghost.on-dark, .section--dark .btn--ghost, .hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost.on-dark:hover, .section--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--white); color: var(--white); }
.hero .btn--primary, .section--dark .btn--primary, .callbar .btn--primary { background: var(--lime); color: var(--graphite-deep); border-color: var(--lime); }
.hero .btn--primary:hover, .section--dark .btn--primary:hover, .callbar .btn--primary:hover { background: var(--white); border-color: var(--white); color: var(--graphite-deep); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.topbar {
  background: var(--graphite-deep);
  color: var(--ash);
  font-size: 0.9rem;
  border-bottom: 2px solid var(--lime);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.4rem;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; font-family: var(--mono); letter-spacing: 0.02em; }
.topbar a:hover { text-decoration: underline; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--graphite);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand img { width: 2.6rem; height: 2.6rem; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-top: 0.35rem;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--steel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--graphite); }
.nav .btn { padding: 0.7rem 1.15rem; font-size: 0.95rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  color: var(--graphite);
  cursor: pointer;
  min-height: 44px;
}

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
    box-shadow: var(--shadow);
  }
  .nav-ready .nav.is-open { display: flex; }
  html:not(.js) .header .wrap { flex-wrap: wrap; padding-block: 1rem; }
  html:not(.js) .header .nav { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--paper-deep); }
  .nav .btn { margin-top: 0.75rem; }
  .topbar .topbar-note { display: none; }
}

/* Hero: graphite with a faint tread pattern, the logo as the visual. */
.hero {
  position: relative;
  background: var(--graphite);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tread);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { color: var(--white); max-width: 14ch; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { color: var(--paper-deep); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-proof {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: var(--ash);
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-proof svg { width: 1.1em; height: 1.1em; color: var(--lime); flex: none; }
.hero-media { margin: 0; min-width: 0; justify-self: center; width: min(100%, 22rem); }
.hero-logo {
  background: var(--white);
  border-radius: 50%;
  padding: 8%;
  box-shadow: var(--shadow), 0 0 0 10px rgba(255,255,255,0.06);
}
.hero-logo img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-media { width: min(100%, 15rem); justify-self: start; order: -1; }
}
@media (max-width: 600px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-proof { flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
}

/* Services: three rows on rules with a job-sheet number, because the list
   is short and the items are each a heading plus one sentence. */
.services {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 2px solid var(--graphite);
  counter-reset: svc;
}
.service {
  counter-increment: svc;
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.5rem 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.service::before {
  content: "0" counter(svc);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  padding-top: 0.35rem;
}
.service h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.service p { margin: 0; color: var(--slate); }
.service-tags { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-tags li {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--steel);
  background: var(--white);
}
.services-note { margin-top: 1.5rem; font-size: 0.95rem; color: var(--slate); }
@media (max-width: 560px) {
  .service { grid-template-columns: 1fr; gap: 0.25rem; }
  .service::before { padding-top: 0; }
}

/* Priorities strip: the two lines the owner leads with. */
.priorities {
  list-style: none;
  margin: 2.5rem 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.priorities li {
  background: var(--graphite);
  color: var(--paper);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: 0.25rem;
}
.priorities strong { color: var(--white); font-size: 1.1rem; }
.priorities span { color: var(--ash); font-size: 0.95rem; }
@media (max-width: 640px) { .priorities { grid-template-columns: 1fr; } }

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-facts {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.about-facts li {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.about-facts dt, .about-facts .k {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  padding-top: 0.25rem;
}
.about-facts .v { color: var(--white); font-weight: 600; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .about-facts li { grid-template-columns: 1fr; gap: 0.25rem; } }

/* Process: numbered, because it is a sequence. */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 1rem; border-top: 2px solid var(--graphite); }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lime-deep);
  margin-bottom: 0.75rem;
}
.steps p { margin: 0; font-size: 0.98rem; color: var(--slate); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Hours and area */
.hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.hours {
  margin: 0;
  border-top: 2px solid var(--graphite);
  max-width: 28rem;
}
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.hours dt { font-weight: 700; color: var(--graphite); }
.hours dd { margin: 0; font-family: var(--mono); font-size: 0.95rem; color: var(--steel); }
.hours dd.closed { color: var(--slate); }
.hours-note { margin-top: 1rem; font-size: 0.95rem; color: var(--slate); }
.towns {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.6rem;
}
.towns li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--graphite);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  color: var(--graphite);
  font-size: 0.95rem;
}
@media (max-width: 760px) { .hours-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: var(--measure); border-top: 2px solid var(--graphite); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 700;
  color: var(--graphite);
  position: relative;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.35rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--lime-deep);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 1.15rem; color: var(--slate); }
@media (min-width: 861px) {
  #services .wrap, #faq .wrap { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 0 4rem; align-items: start; }
  #services .section-head, #faq .section-head { position: sticky; top: 7rem; }
  .services-note, .priorities { grid-column: 2; }
}

/* Booking form */
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list svg { width: 1.35rem; height: 1.35rem; color: var(--lime); flex: none; margin-top: 0.2rem; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { display: block; font-size: 0.9rem; color: var(--ash); }

.form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--lime);
}
.form p { color: var(--slate); }
.form-intro { font-size: 0.95rem; }
.form-status { min-height: 1.6em; font-weight: 600; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row--3 { grid-template-columns: 1.4fr 1.4fr 0.8fr; }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--graphite); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #7c8189;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--lime-deep);
  outline-offset: 2px;
  border-color: var(--graphite);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field-hint { font-size: 0.85rem; color: var(--slate); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form .field-error { color: #b3261e; font-size: 0.85rem; margin: 0; }
.form .field-error:empty { display: none; }
.form .btn { width: 100%; margin-top: 0.5rem; }
.btn:disabled { cursor: wait; opacity: 0.75; }
.form-fine { font-size: 0.82rem; color: var(--slate); margin: 0.9rem 0 0; }
.honey { position: absolute; left: -9999px; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-row--3 { grid-template-columns: 1fr 1fr; } .form-row--3 .field:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--graphite-deep); color: var(--ash); padding-block: 3rem 2rem; font-size: 0.92rem; border-top: 2px solid var(--lime); }
.footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}
.footer .brand { color: var(--white); margin-bottom: 1rem; }
.footer .brand img { background: var(--white); border-radius: 50%; }
.footer .brand small { color: var(--ash); }
.footer h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer a { color: var(--paper-deep); text-decoration: none; overflow-wrap: anywhere; }
.footer li a { display: inline-block; padding-block: 0.25rem; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer p { color: var(--ash); max-width: 40ch; }
.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(154,161,171,0.9);
}
.footer-legal a { color: inherit; text-decoration: underline; }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .wrap { grid-template-columns: 1fr; } }

/* Mobile call bar: a phone visitor wants the number. */
.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--graphite-deep);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.callbar .btn { flex: 1; }
.callbar .btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
@media (max-width: 860px) {
  .callbar { display: flex; }
  .has-callbar { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 6rem; }
}

/* Inner pages */
.page { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page .wrap { max-width: var(--measure); }
.page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page h2 { font-size: 1.35rem; margin-top: 2rem; }
.page ul { padding-left: 1.2rem; }
.page li { margin-bottom: 0.3rem; }
.page .meta { color: var(--slate); font-size: 0.95rem; font-family: var(--mono); }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: 0.75rem 1rem; background: var(--white); color: var(--graphite); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .hero::before { display: none; }
}
