/* A94 Interlock — main site, Tesla-inspired restyle (2026-11-04).
   Inspired by Tesla's design language only: no Tesla logos, trademarks,
   fonts, or car imagery. Minimal, airy, black/white/neutral, full-bleed
   imagery, one clear idea per section. Mobile-first, no frameworks,
   no webfonts (system stack = fast). */
:root {
  --black: #171a20;
  --ink: #171a20;
  --gray: #5c5e62;
  --muted: #5c5e62;
  --faint: #f4f4f4;
  --line: #e2e2e2;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip; /* guards the full-bleed figures against 100vw scrollbar overflow; clip keeps position: sticky working */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--black); outline-offset: 3px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header: slim, white, sticky, minimal ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1280px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--black); text-decoration: none; }
.brand img { width: 38px; height: auto; }
.brand-lines { line-height: 1.2; }
.brand-name {
  font-weight: 700; letter-spacing: 0.14em; font-size: 0.95rem;
  text-transform: uppercase; white-space: nowrap;
}
.brand-sub {
  font-weight: 600; letter-spacing: 0.24em; font-size: 0.55rem;
  text-transform: uppercase; opacity: 0.7; white-space: nowrap;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 500; font-size: 0.95rem; }
.main-nav a { color: var(--black); text-decoration: none; padding: 6px 2px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 0.6; }
.header-call { display: flex; align-items: center; }

/* ---------- Buttons: Tesla-style pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px;
  font-weight: 500; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; font-size: 0.95rem;
  min-width: 180px;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { opacity: 0.85; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { opacity: 0.85; }
/* Dark sections: primary CTA reads as a white pill, like a hero button. */
.navy .btn-primary { background: var(--white); color: var(--black); }
.navy .btn-primary:hover { opacity: 0.85; }
/* Links in dark sections default to white, which would hide the text on white pills — keep button text dark. */
.section.navy .btn-primary,
.section.navy .btn-light { color: var(--black); }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.cta-row .btn { width: 100%; }
/* Header call button stays compact, never full-width. */
.header-call .btn { min-width: 0; padding: 8px 18px; font-size: 0.9rem; }

/* ---------- Hero: full-viewport, full-bleed photo ---------- */
.hero { position: relative; color: var(--white); background: var(--black); overflow: hidden; }
.hero .hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55));
}
.hero-content {
  position: relative; min-height: 150svh; min-height: 840px;
  display: flex; flex-direction: column; justify-content: flex-end;
  align-items: center; text-align: center;
  padding: 96px 24px 72px; max-width: 1080px; margin: 0 auto;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 8vw, 4rem); line-height: 1.05;
  font-weight: 500; letter-spacing: -0.015em; margin: 0 0 14px;
}
.hero-content p.lede { font-size: 1.1rem; max-width: 620px; margin: 0; opacity: 0.95; font-weight: 400; }
.hero .cta-row { align-items: center; }
.hero .btn-outline { border-color: var(--white); }

/* Inner-page hero: airy, centered, no photo — quiet before the content. */
.page-hero { background: var(--white); color: var(--black); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 72px; padding-bottom: 56px; text-align: center; }
.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1;
  font-weight: 500; letter-spacing: -0.015em; margin: 0 0 12px;
}
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--gray); font-size: 1.05rem; }

/* ---------- Sections: alternating white / light gray / black ---------- */
.section { padding: 72px 0; }
.section.sand { background: var(--faint); }
.section.navy { background: var(--black); color: var(--white); }
.section.navy a { color: var(--white); }
.section.navy p { color: rgba(255, 255, 255, 0.85); }
.section.navy h2 { color: var(--white); }
h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15;
  font-weight: 500; letter-spacing: -0.01em; margin: 0 0 14px;
}
h3 { font-size: 1.2rem; font-weight: 500; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.small { font-size: 0.9rem; color: var(--gray); }
.fineprint { font-size: 0.85rem; color: var(--gray); }
.price { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.01em; color: var(--black); }
.cards { display: grid; grid-template-columns: 1fr; gap: 32px 24px; margin-top: 28px; }
.card { background: transparent; padding: 0; }
.card img { border-radius: 0; margin-bottom: 14px; }
.card p:last-child { margin-bottom: 0; }
.navy .card { background: transparent; color: var(--white); }
.navy .card .price { color: var(--white); }
/* Service-area chips: plain text row, no pills. */
.chips { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 14px; padding: 0; list-style: none; }
.chips li { background: none; border: 0; padding: 0; font-weight: 500; }
.chips li:not(:last-child)::after { content: "·"; margin: 0 10px; opacity: 0.5; }
.navy .chips li { background: none; border: 0; }
/* Trust strip: quiet stats on hairline rules, no dark block. */
.trustbar {
  background: var(--white); color: var(--black);
  display: grid; grid-template-columns: 1fr; gap: 20px;
  padding: 28px 24px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.trustbar strong { display: block; font-size: 1.6rem; font-weight: 500; letter-spacing: -0.01em; }
.trustbar span { font-size: 0.9rem; color: var(--gray); }
/* Full-bleed figures: photos break out of the text column, edge to edge. */
.figure { margin: 32px 0; }
.figure img {
  border-radius: 0; width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.figure figcaption { font-size: 0.9rem; color: var(--gray); margin-top: 10px; text-align: center; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
.gallery .figure { margin: 0; }
.gallery .figure img { width: 100%; max-width: 100%; margin-left: 0; }
.testimonials { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
.testimonials .figure { margin: 0; }
.testimonials video { width: 100%; height: auto; display: block; background: var(--black); }
.testimonials figcaption { font-size: 0.95rem; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 24px; text-align: center; }
.stat { flex: 0 1 100%; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 500; letter-spacing: -0.01em; }
.stat span { display: block; font-size: 0.9rem; color: var(--gray); margin-top: 2px; }
.stat-note { font-size: 0.85rem; color: var(--gray); text-align: center; margin: 28px 0 0; }
.callout {
  border-left: 0; background: var(--faint);
  padding: 24px; border-radius: 0; margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ: hairline dividers only ---------- */
.faq details {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 18px 0; margin-bottom: 0;
}
.faq summary { font-weight: 500; cursor: pointer; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { color: var(--gray); }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- Form: square corners, quiet borders ---------- */
form.quote { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem;
  border: 1px solid #c7c7c7; border-radius: 0; background: var(--white);
  font-family: inherit; color: var(--black);
}
.field small { color: var(--gray); }

/* ---------- Footer: light, small, quiet ---------- */
.site-footer { background: var(--white); color: var(--black); margin-top: 0; border-top: 1px solid var(--line); }
.footer-lockup { text-align: center; padding: 40px 24px 8px; }
.footer-lockup img { width: 44px; margin: 0 auto 10px; }
.footer-lockup .brand-name { font-size: 1.05rem; letter-spacing: 0.14em; }
.footer-lockup .brand-sub { font-size: 0.6rem; letter-spacing: 0.24em; }
.footer-contact { text-align: center; padding: 10px 24px 24px; color: var(--gray); font-size: 0.95rem; }
.footer-contact a { color: var(--black); }
.footer-contact p { margin: 0 0 6px; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center;
  border-top: 1px solid var(--line); padding: 18px 24px; font-weight: 500; font-size: 0.9rem;
}
.footer-nav a { color: var(--gray); text-decoration: none; }
.footer-nav a:hover { color: var(--black); }
.footer-base {
  text-align: center; font-size: 0.85rem; color: var(--gray);
  padding: 0 24px 28px;
}

/* ---------- Wider screens ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .stat { flex-basis: 28%; }
  .trustbar { grid-template-columns: repeat(3, 1fr); }
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .cta-row .btn { width: auto; flex: 0 1 240px; }
  .hero .cta-row { justify-content: center; }
  .section { padding: 96px 0; }
  .page-hero .wrap { padding-top: 96px; padding-bottom: 72px; }
}
@media (min-width: 900px) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .stat { flex-basis: 17%; }
  .stat strong { font-size: 1.6rem; }
  .header-inner { flex-wrap: nowrap; }
}
