/* Circle Automotive Service — minimal / raw */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #4a4a4a;
  --accent: #ff5a1f;
  --line: 2px solid var(--ink);
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

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

h1,
h2,
h3,
p,
dl,
dd,
ol,
figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.skip:focus {
  top: 1rem;
}

.label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.4rem;
  border: var(--line);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--accent);
  color: var(--ink);
}

.btn-line {
  background: var(--paper);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-lg {
  min-height: 3.75rem;
  font-size: 1.25rem;
  padding: 0.9rem 1.8rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  background: var(--ink);
  padding: 0.15rem 0.35rem;
  letter-spacing: -0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: none;
}

.btn-call-head {
  min-height: 3rem;
  padding: 0.6rem 1.1rem;
}

.hide-sm {
  display: none;
}

/* Hero */

.hero {
  border-bottom: var(--line);
  padding: 2.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero .label {
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 14ch;
}

.lede {
  margin-top: 1.1rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.big-phone {
  display: block;
  margin-top: 2rem;
  padding: 0.6rem 0;
  border-top: var(--line);
  border-bottom: var(--line);
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.1rem, 9.4vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.big-phone:hover {
  color: var(--accent);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rating {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.9375rem;
}

.rating strong {
  background: var(--accent);
  padding: 0.05rem 0.35rem;
}

.fact-card {
  border: var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: var(--line);
}

.fact:last-child {
  border-bottom: 0;
}

.fact dt {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}

.fact-big {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Section scaffolding */

.services,
.why,
.visit {
  padding: 3.5rem 0;
  border-bottom: var(--line);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head .label {
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.9rem, 6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.section-note {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Services */

.service-list {
  list-style: none;
  padding: 0;
  border-top: var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 0.75rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--ink);
}

.num {
  grid-row: span 2;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  padding-top: 0.3rem;
}

.service-list h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.service-list p {
  margin-top: 0.4rem;
  color: var(--muted);
}

/* Why */

.why {
  background: var(--ink);
  color: var(--paper);
}

.why .label {
  color: var(--accent);
}

.why-grid {
  border-top: 2px solid var(--paper);
}

.why-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid #6b6b6b;
}

.why-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.why-stat {
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.why-item h3 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
}

.why-item p:last-child {
  margin-top: 0.4rem;
  color: #d6d6d6;
  max-width: 34ch;
}

/* Visit */

.visit-grid {
  display: grid;
  gap: 2.5rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  border: var(--line);
  font-size: 1rem;
}

.hours caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 0.75rem;
  font-family: var(--mono);
  font-size: 0.875rem;
}

.hours th,
.hours td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--ink);
  text-align: left;
}

.hours th {
  font-weight: 500;
}

.hours td {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.hours tr.closed {
  color: var(--muted);
}

.contact-block {
  margin-top: 2rem;
}

.contact-block .label {
  margin-top: 1.25rem;
}

.contact-block .label:first-child {
  margin-top: 0;
}

.contact-line {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.25rem;
}

.areas {
  margin-top: 0.25rem;
  color: var(--muted);
}

.map {
  border: var(--line);
  display: flex;
  flex-direction: column;
}

.map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  background: #f1f1f1;
}

.map figcaption {
  padding: 0.85rem 1rem;
  border-top: var(--line);
  font-size: 0.9375rem;
}

/* CTA */

.cta {
  background: var(--accent);
  padding: 3.5rem 0;
  border-bottom: var(--line);
}

.cta-inner {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.cta h2 {
  max-width: 18ch;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 0.35rem;
}

.footer-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.copy {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Tablet */

@media (min-width: 600px) {
  :root {
    --pad: 2rem;
  }

  .hide-sm {
    display: inline;
  }

  .btn-call-head .hide-sm {
    margin-left: 0.3em;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

}

/* Desktop */

@media (min-width: 960px) {
  .nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    margin-right: 1.5rem;
    font-weight: 500;
  }

  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.55fr 1fr;
    gap: 4rem;
    align-items: end;
  }

  .big-phone {
    font-size: clamp(3rem, 5vw, 4.75rem);
  }

  .services,
  .why,
  .visit {
    padding: 5.5rem 0;
  }

  .section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: end;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .section-head .label {
    margin-bottom: 0.4rem;
  }

  .section-note {
    grid-column: 2;
    margin-top: 0;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-list li {
    padding: 1.75rem 0 2rem;
  }

  .why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .why-item {
    padding: 2rem 1.5rem 0 0;
    border-bottom: 0;
  }

  .why-item + .why-item {
    padding-left: 1.5rem;
    border-left: 1px solid #6b6b6b;
  }

  .why-stat {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
  }

  .visit-grid {
    grid-template-columns: 1fr 1.35fr;
    gap: 4rem;
    align-items: start;
  }

  .map iframe {
    height: 520px;
  }

  .cta {
    padding: 5rem 0;
  }

  .cta-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1.5fr 1fr 1.8fr;
    align-items: baseline;
    gap: 1.5rem;
  }

  .footer-name {
    margin-bottom: 0;
  }

  .copy {
    grid-column: 1 / -1;
    margin-top: 1rem;
  }
}
