/* Trinity Auto Repair — "SERVICE BAY". Graphite + strip-light white, one signal red from the bay-door sign.
   One family (Archivo, width axis) for everything; mono only for workshop-manual labels. */
:root {
  --ink: #0b0c0e;
  --graphite: #15171a;
  --steel: #8a939b;
  --strip: #e8eef2;
  --text: #dfe4e8;
  --muted: #9aa3ab;
  --red: #d7262e;
  --red-hi: #ef3a42;
  --line: rgba(232,238,242,.16);
  --wrap: min(1240px, 100% - 48px);
  --wide: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--wide); font-variation-settings: "wdth" 100; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.red { color: var(--red-hi); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--strip); }

/* the repeated framing device: workshop-manual section tag with a red tick */
.tag { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 0 0 28px; }
.tick { width: 28px; height: 2px; background: var(--red); flex: none; box-shadow: 0 0 12px rgba(215,38,46,.6); }
.frame { position: relative; border: 1px solid var(--line); background: rgba(11,12,14,.55); }
.frame::before, .frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--red); pointer-events: none; }
.frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 2px;
  font: 600 13px/1 var(--wide); font-variation-settings: "wdth" 115; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s;
}
.btn--lg { padding: 18px 26px; font-size: 14px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(232,238,242,.4); color: var(--strip); background: rgba(11,12,14,.35); }
.btn--ghost:hover { border-color: var(--strip); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

/* demo flag */
.demo-flag {
  margin: 0; padding: 8px 24px; text-align: center; font-size: 12.5px; color: var(--muted);
  background: rgba(11,12,14,.92); border-bottom: 1px solid var(--line);
}
.demo-flag strong { color: var(--strip); }

/* HUD */
.hud {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px 24px; background: rgba(11,12,14,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hud__brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.hud__word { font-weight: 900; font-variation-settings: "wdth" 125; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: var(--strip); }
.hud__sub { color: var(--muted); font-size: 11px; }
.hud__nav { display: flex; gap: 22px; margin-left: auto; }
.hud__nav a { text-decoration: none; color: var(--muted); }
.hud__nav a:hover, .hud__nav a.is-on { color: var(--strip); }
.hud__call { padding: 10px 16px; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.dot.is-open { background: #46d27a; box-shadow: 0 0 8px #46d27a; }

/* HERO */
.hero { min-height: calc(100svh - 110px); display: grid; align-items: center; padding: 72px 0 64px; }
.hero__h {
  margin: 0; font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(44px, 8.4vw, 124px); line-height: .9; letter-spacing: -.01em; color: var(--strip);
  max-width: 11ch;
}
.hero__lede { max-width: 33rem; margin: 30px 0 0; font-size: 19px; color: var(--text); }
.hero__lede strong { color: var(--strip); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 0; margin: 44px 0 0; border-top: 1px solid var(--line); max-width: 640px; }
.hero__strip div { padding: 14px 28px 0 0; margin-right: 28px; }
.hero__strip dt { color: var(--muted); font-size: 11px; }
.hero__strip dd { margin: 4px 0 0; color: var(--strip); font-size: 14px; }

/* MAKES — pinned; the list lights up row by row as it travels */
.makes { height: 220vh; }
.makes .ws-pin { background: linear-gradient(90deg, rgba(11,12,14,.62), rgba(11,12,14,.25)); }
.makes__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.makes__list li {
  display: flex; align-items: baseline; gap: 22px; padding: 6px 0; border-bottom: 1px solid var(--line);
  font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(25px, 5.6vw, 76px); line-height: 1.08; color: transparent; -webkit-text-stroke: 1px rgba(232,238,242,.5);
  transition: color .5s ease, -webkit-text-stroke-color .5s ease;
}
.makes__list li.is-lit { color: var(--strip); -webkit-text-stroke-color: transparent; }
.makes__n { color: var(--red-hi); -webkit-text-stroke: 0; font-size: 12px; transform: translateY(-1.2em); }
.makes__note { margin: 26px 0 0; max-width: 34rem; color: var(--muted); }

/* WHY */
.why, .reviews, .shop, .visit { padding: 120px 0; }
.h2 {
  margin: 0; font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(34px, 5.2vw, 72px); line-height: .95; color: var(--strip);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 28px 28px 0 0; border-right: 1px solid var(--line); margin-right: 28px; }
.stat:last-child { border-right: 0; }
.stat__n { display: block; font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(56px, 8vw, 112px); line-height: 1; color: var(--strip); }
.stat__l { display: block; margin-top: 12px; color: var(--muted); max-width: 22ch; line-height: 1.5; }
.jobs { margin-top: 72px; max-width: 760px; margin-left: auto; }
.jobs__h { color: var(--red-hi); margin: 0 0 12px; }
.jobs ul { list-style: none; margin: 0; padding: 0; }
.jobs li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.jobs li span:first-child { font-weight: 700; font-variation-settings: "wdth" 115; color: var(--strip); text-transform: uppercase; letter-spacing: .03em; }
.jobs li span:last-child { color: var(--muted); text-align: right; }

/* REVIEWS */
.quote { margin: 0; padding: 32px; }
.quote blockquote { margin: 0; color: var(--strip); font-size: 20px; line-height: 1.45; }
.quote figcaption { margin-top: 18px; color: var(--muted); }
.quote--big { padding: 48px; max-width: 980px; }
.quote--big blockquote { font-weight: 700; font-variation-settings: "wdth" 110; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.reviews .quote { background: rgba(11,12,14,.72); }

/* SHOP */
.shop__grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "a copy" "b b"; gap: 48px 56px; align-items: center; }
.shop__img { margin: 0; padding: 0; overflow: hidden; }
.shop__img img { width: 100%; }
.shop__img figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--strip); background: rgba(11,12,14,.7); padding: 4px 8px; }
.shop__img--a { grid-area: a; }
.shop__img--b { grid-area: b; }
.shop__copy { grid-area: copy; }
.shop__copy p:not(.tag) { color: var(--text); max-width: 30rem; margin-top: 24px; }
.shop__copy strong { color: var(--strip); }

/* VISIT */
.visit__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.visit__phone {
  display: block; margin-top: 30px; text-decoration: none; color: var(--red-hi);
  font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(34px, 5vw, 64px); line-height: 1;
}
.visit__card { padding: 36px; background: rgba(11,12,14,.78); }
.visit__label { color: var(--muted); margin: 0 0 8px; }
.visit__addr { margin: 0 0 28px; color: var(--strip); font-size: 20px; line-height: 1.4; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--text); }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--strip); font-weight: 700; }
.hours tr.is-today th::before { content: "▸ "; color: var(--red-hi); }

/* FOOTER */
.foot { position: relative; z-index: 2; padding: 64px 24px 40px; background: rgba(11,12,14,.94); border-top: 1px solid var(--line); overflow: hidden; }
.foot__word {
  margin: 0 auto; width: var(--wrap); font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(64px, 17vw, 260px); line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(232,238,242,.22);
}
.foot__row { width: var(--wrap); margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--muted); }
.foot__row a { text-decoration: none; color: var(--strip); }
.demo-note { width: var(--wrap); margin: 28px auto 0; color: var(--muted); font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hud__nav { display: none; }
  .hud__call { margin-left: auto; }
  .quotes { grid-template-columns: 1fr; }
  .shop__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "a" "b"; }
  .visit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --wrap: calc(100% - 32px); }
  body { font-size: 16px; }
  .hud { padding: 12px 16px; gap: 12px; }
  .hud__sub { display: none; }
  .hud__call { font-size: 11px; padding: 9px 12px; }
  .hud__call #hud-status { display: none; }
  .hero { padding: 48px 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding-bottom: 24px; }
  .why, .reviews, .shop, .visit { padding: 84px 0; }
  .quote, .quote--big { padding: 26px; }
  .jobs li { flex-direction: column; gap: 4px; }
  .jobs li span:last-child { text-align: left; }
  .makes__list li { gap: 12px; }
}
