/* /vehicles — scoped under body.vehicles; prefixes veh-* to avoid global collisions */
body.vehicles {
  --veh-sky: #dbeafe;
  --veh-ink: #0f172a;
}
body.vehicles .veh-hero {
  background:
    radial-gradient(ellipse 85% 55% at 8% 0%, rgba(37, 99, 235, .16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 92% 18%, rgba(13, 148, 136, .12), transparent 50%),
    linear-gradient(180deg, #eff6ff 0%, var(--bg) 72%);
  padding-bottom: 48px;
}
body.vehicles .veh-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 860px) {
  body.vehicles .veh-hero-grid { grid-template-columns: 1fr; }
}

/* 3D stage */
.veh-stage {
  perspective: 1100px;
  perspective-origin: 50% 40%;
  min-height: 280px;
  display: grid;
  place-items: center;
  position: relative;
}
.veh-stage::before {
  content: "";
  position: absolute;
  inset: 18% 10% auto;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .18), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.veh-stage-plane {
  position: relative;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #e2e8f0);
  box-shadow: 0 28px 60px -28px rgba(15, 23, 42, .45), 0 8px 20px -12px rgba(37, 99, 235, .35);
  max-width: 100%;
  margin: 0;
}
.veh-stage-plane img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}
.veh-stage-plane figcaption {
  font-size: .72rem;
  color: var(--muted);
  padding: 8px 12px;
}
.veh-stage-emoji {
  font-size: 5.5rem;
  line-height: 1;
  padding: 48px 64px;
  display: grid;
  place-items: center;
  animation: veh-float 4.5s ease-in-out infinite;
}
@keyframes veh-float {
  0%, 100% { transform: translateY(0) rotateX(6deg) rotateY(-8deg); }
  50% { transform: translateY(-10px) rotateX(2deg) rotateY(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .veh-stage-emoji { animation: none; }
  .veh-stage-plane { transform: none !important; }
}

.veh-card { position: relative; }
.veh-card .veh-fam-tag {
  position: absolute; top: 14px; right: 16px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  color: var(--muted);
}
.veh-fam-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  border-left: 4px solid var(--card-accent, var(--accent));
  padding-left: 14px; margin: 2.2rem 0 1rem;
}
.veh-fam-head h2 { margin: 0; font-size: 1.35rem; }
.veh-fam-head .badge {
  font-size: .78rem; font-weight: 800; color: var(--muted);
  background: var(--track); padding: 3px 10px; border-radius: 999px;
}

.veh-diagram {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 12px 0 20px;
  overflow: hidden;
}
.veh-diagram-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .84rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
  max-width: 42%;
}
.veh-diagram-node small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .72rem;
}

.veh-lab { margin-top: 8px; }

.veh-meters { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.veh-hotspots { display: grid; gap: 12px; }
.veh-hotspot {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line);
}
.veh-hotspot .n {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; color: #fff; background: var(--accent);
}

/* Locale typography knobs */
body.vehicles:lang(ko),
body.vehicles:lang(ja),
body.vehicles:lang(zh) {
  line-height: 1.75;
  letter-spacing: 0.01em;
}
body.vehicles:lang(ko) .lede,
body.vehicles:lang(ja) .lede,
body.vehicles:lang(zh) .lede {
  line-height: 1.85;
  max-width: 42em;
}
body.vehicles:lang(en) .lede,
body.vehicles:lang(es) .lede,
body.vehicles:lang(fr) .lede,
body.vehicles:lang(de) .lede,
body.vehicles:lang(pt) .lede,
body.vehicles:lang(ru) .lede {
  max-width: 38em;
}

.veh-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.veh-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; padding: 12px 18px; border-radius: 12px;
  background: var(--accent); color: #fff; text-decoration: none;
}
.veh-cta.ghost {
  background: transparent; color: var(--accent2);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
}
