/* ============================================================
   DVB Mobile Car Service — charcoal + phosphor green terminal
   ============================================================ */

:root {
  --bg:        #1c1c1c;
  --bg-2:      #232323;
  --bg-3:      #141414;
  --ink:       #39ff14;
  --ink-dim:   #2fbf12;
  --secondary: #ffb000;
  --paper:     #e8e6e0;
  --muted:     #8f8f8f;
  --line:      #3a3a3a;
  --line-soft: #2c2c2c;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint scanline texture over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.022) 0px,
    rgba(255,255,255,0.022) 1px,
    transparent 1px,
    transparent 3px
  );
}

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

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--secondary); }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.02em; }

h2 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); color: var(--ink); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.2rem;
}

.section-lede { max-width: 62ch; color: #c9c7c1; }

/* ---------- scroll progress strip (design element) ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--ink), var(--secondary));
  z-index: 70;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: fill linear both;
    animation-timeline: scroll(root block);
  }
}
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.85rem var(--pad);
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: baseline; gap: 0.6rem; text-decoration: none; }
.brand-mark { color: var(--ink); font-weight: 700; letter-spacing: 0.12em; font-size: 1.05rem; }
.brand-sub { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }

.topnav { display: flex; gap: 1.25rem; margin-left: auto; flex-wrap: wrap; }
.topnav a {
  color: #bdbdbd;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
}
.topnav a:hover { color: var(--ink); }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  background: rgba(57,255,20,0.06);
}
.call-btn:hover { background: var(--ink); color: #101010; }
.call-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 8px var(--ink);
  animation: pulse 2.2s ease-in-out infinite;
}
.call-btn:hover .call-dot { background: #101010; box-shadow: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 0;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.prompt-line {
  color: var(--secondary);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}
.typed { color: var(--muted); }

h1 {
  font-size: clamp(2rem, 6.4vw, 4rem);
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 0.7em;
}
.caret {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--ink);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-lede { max-width: 56ch; color: #cfcdc7; font-size: 0.95rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 2rem; }

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--ink);
}
.btn-primary { background: var(--ink); color: #101010; font-weight: 700; }
.btn-primary:hover { background: var(--secondary); border-color: var(--secondary); color: #101010; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(57,255,20,0.1); }

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-facts strong { color: var(--secondary); }

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.75) contrast(1.05);
}
.hero-figure figcaption {
  font-size: 0.7rem;
  color: var(--muted);
  padding-top: 0.7rem;
  letter-spacing: 0.04em;
}

/* ---------- audio-visualizer bars (visual pulse only) ---------- */
.viz {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 54px;
  padding: 0 var(--pad) 0;
  max-width: var(--maxw);
  margin-inline: auto;
  overflow: hidden;
}
.viz span {
  flex: 1 1 0;
  height: 100%;
  background: var(--ink);
  opacity: 0.55;
  transform-origin: bottom;
  animation: bar 1.6s ease-in-out infinite alternate;
}
.viz span:nth-child(3n)   { background: var(--secondary); opacity: 0.45; }
.viz span:nth-child(4n+1) { animation-duration: 1.15s; }
.viz span:nth-child(5n+2) { animation-duration: 2.05s; }
.viz span:nth-child(7n)   { animation-duration: 0.95s; }
.viz span:nth-child(1)  { animation-delay: -0.1s; }
.viz span:nth-child(2)  { animation-delay: -0.5s; }
.viz span:nth-child(3)  { animation-delay: -0.9s; }
.viz span:nth-child(4)  { animation-delay: -0.3s; }
.viz span:nth-child(5)  { animation-delay: -1.2s; }
.viz span:nth-child(6)  { animation-delay: -0.7s; }
.viz span:nth-child(7)  { animation-delay: -1.5s; }
.viz span:nth-child(8)  { animation-delay: -0.2s; }
.viz span:nth-child(9)  { animation-delay: -1.1s; }
.viz span:nth-child(10) { animation-delay: -0.6s; }
.viz span:nth-child(11) { animation-delay: -1.4s; }
.viz span:nth-child(12) { animation-delay: -0.4s; }
.viz span:nth-child(13) { animation-delay: -1.0s; }
.viz span:nth-child(14) { animation-delay: -0.8s; }
.viz span:nth-child(15) { animation-delay: -1.3s; }
.viz span:nth-child(16) { animation-delay: -0.15s; }
.viz span:nth-child(17) { animation-delay: -0.95s; }
.viz span:nth-child(18) { animation-delay: -0.55s; }
.viz span:nth-child(19) { animation-delay: -1.25s; }
.viz span:nth-child(20) { animation-delay: -0.35s; }
.viz span:nth-child(21) { animation-delay: -1.05s; }
.viz span:nth-child(22) { animation-delay: -0.75s; }
.viz span:nth-child(23) { animation-delay: -1.45s; }
.viz span:nth-child(24) { animation-delay: -0.25s; }

@keyframes bar {
  from { transform: scaleY(0.12); }
  to   { transform: scaleY(1); }
}

/* ---------- section: services ---------- */
.services {
  background: var(--bg);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3.5rem;
  margin-top: 2.5rem;
}

.menu-group h3 {
  color: var(--secondary);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
}

.menu .item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.5rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px dotted var(--line-soft);
}
.menu .item:last-child { border-bottom: none; }

.item-name { color: var(--paper); font-weight: 700; font-size: 0.92rem; margin: 0 0 0.15rem; }
.item-desc { color: var(--muted); font-size: 0.78rem; margin: 0; line-height: 1.55; }
.item-price {
  color: var(--ink);
  font-size: 0.82rem;
  white-space: nowrap;
  margin: 0;
  text-align: right;
}

.menu-note {
  margin-top: 2.5rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--secondary);
  background: var(--bg-2);
  color: #c9c7c1;
  font-size: 0.85rem;
  max-width: 70ch;
}

/* ---------- section: how ---------- */
.how {
  background: var(--bg-2);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-block: 1px solid var(--line-soft);
}
.how h2 { color: var(--ink); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 1.2rem;
}
.step-num {
  color: var(--secondary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
}
.step h3 { color: var(--paper); font-size: 1rem; }
.step p { color: #b9b7b1; font-size: 0.85rem; margin: 0; }

/* ---------- photo strip ---------- */
.strip {
  background: var(--bg-3);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line-soft);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.strip figure { margin: 0; }
.strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7) contrast(1.05);
}
.strip figcaption {
  font-size: 0.68rem;
  color: var(--muted);
  padding-top: 0.6rem;
  line-height: 1.5;
}

/* ---------- cards section ---------- */
.cards-section {
  background: var(--bg);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.footer-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
}
.card h3 {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
}

.hours { margin: 0 0 1rem; font-size: 0.82rem; }
.hours > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px dotted var(--line-soft);
}
.hours dt { color: #bdbdbd; }
.hours dd { margin: 0; color: var(--paper); text-align: right; }
.hours .closed dt, .hours .closed dd { color: var(--secondary); }

.card address {
  font-style: normal;
  font-size: 0.85rem;
  color: #cfcdc7;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.area-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.82rem;
}
.area-list li {
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  color: #cfcdc7;
  border-bottom: 1px dotted var(--line-soft);
}
.area-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--ink);
}

.card-note { font-size: 0.76rem; color: var(--muted); margin: 0; line-height: 1.6; }
.card-links { margin: 1rem 0 0; font-size: 0.78rem; }

/* ---------- closing ---------- */
.closing {
  background: var(--bg-2);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line-soft);
}
.closing-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.closing h2 { color: var(--ink); }

blockquote {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--ink);
}
blockquote p { color: #cfcdc7; font-size: 0.92rem; margin: 0; }

.closing-meta { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; }

.closing-call {
  background: var(--bg-3);
  border: 1px solid var(--ink);
  padding: 1.6rem 1.5rem;
}
.closing-call-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}
.big-phone {
  display: block;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
  word-break: break-word;
}
.big-phone:hover { color: var(--secondary); }
.closing-call-note { font-size: 0.76rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 0 3.5rem;
}
.footer-inner { display: grid; gap: 1rem; justify-items: start; }
.footer-brand { font-size: 0.78rem; color: var(--muted); margin: 0; }

.claim-banner {
  display: inline-block;
  font-size: 0.72rem;
  color: #b9b7b1;
  background: rgba(255,176,0,0.08);
  border: 1px solid rgba(255,176,0,0.28);
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.claim-banner:hover { color: var(--secondary); border-color: var(--secondary); }

.attribution { font-size: 0.7rem; opacity: 0.55; margin: 0; }
.attribution a { color: inherit; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .menu { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cards { grid-template-columns: 1fr; }
  .closing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topnav { display: none; }
  .call-btn { margin-left: auto; }
  .hero-facts { gap: 0.4rem 1.2rem; }
  .viz { height: 40px; gap: 3px; }
  .menu .item { grid-template-columns: 1fr; }
  .item-price { text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .viz span { animation: none; transform: scaleY(0.55); }
  .call-dot { animation: none; }
  .progress { animation: none; transform: scaleX(1); }
}
