:root {
  --c-bg1: #1a2a9c; --c-bg2: #00095b; --c-bg3: #00031f;
  --c-text: #ffffff; --c-muted: #aab9f0; --c-accent: #4a7dff; --c-panel: rgba(255, 255, 255, 0.1);
  --font-head: "Helvetica Neue", Arial, sans-serif; --font-body: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--c-bg3); overflow: hidden; }
#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  transform: translate(-50%, -50%); transform-origin: center; overflow: hidden;
  color: var(--c-text); font: 400 34px/1.3 var(--font-body);
  background: radial-gradient(ellipse at 25% 0%, var(--c-bg1) 0%, var(--c-bg2) 50%, var(--c-bg3) 100%);
}
.layer { position: absolute; inset: 0; }
#bg { z-index: 0; pointer-events: none; overflow: hidden; }
#scenes { z-index: 1; }
#wipe { z-index: 2; pointer-events: none; overflow: hidden; }
#chrome { z-index: 3; pointer-events: none; }

/* background */
.blob { position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 125, 255, 0.28) 0%, rgba(74, 125, 255, 0) 70%); }
.blob-a { left: -200px; top: -250px; }
.blob-b { right: -250px; bottom: -300px; }
.sweep { position: absolute; top: -10%; bottom: -10%; left: 0; width: 240px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); }
.particle { position: absolute; left: 0; top: 0; border-radius: 50%; background: #fff; opacity: 0; }

/* wipe */
.wipe-panel { position: absolute; top: -5%; bottom: -5%; left: -15%; width: 130%;
  background: linear-gradient(160deg, var(--c-bg1), var(--c-bg2));
  border-right: 14px solid var(--c-accent); }

/* chrome */
.chrome-inner { position: absolute; inset: 0; }
.chrome-top { position: absolute; left: 60px; right: 60px; top: 36px; display: flex;
  justify-content: space-between; align-items: center; }
.logo-img { height: 72px; display: block; padding: 8px 14px; border-radius: 6px; background: #ffffff; }
.logo-ph { border: 2px dashed rgba(255, 255, 255, 0.6); padding: 10px 18px;
  font: 600 22px var(--font-head); letter-spacing: 0.1em; color: var(--c-muted); }
.clock { font: 600 34px var(--font-head); color: var(--c-muted); }
.clock-date::before { content: "\00a0\00a0\00b7\00a0\00a0"; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; overflow: hidden;
  display: flex; align-items: center; background: rgba(0, 0, 0, 0.28); border-top: 2px solid var(--c-accent); }
.ticker-track { display: flex; white-space: nowrap; font: 600 32px var(--font-head); }
.run { display: flex; align-items: center; min-width: 1920px; flex: none; }
.ticker-item { padding: 0 36px; }
.ticker-sep { color: var(--c-accent); }

/* scene frame */
.scene { position: absolute; inset: 0; }
.headline { position: absolute; left: 120px; right: 120px; top: 140px; overflow: hidden; padding-bottom: 12px; }
.kicker { font: 700 30px var(--font-head); letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-accent); }
.title { margin: 14px 0 0; font: 800 104px/1.02 var(--font-head); }
.title-sm { font-size: 80px; }
.title-xs { font-size: 60px; }
.title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line-in { display: block; }
.streak { position: absolute; top: 0; bottom: 0; left: 0; width: 18%; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); }
.body { position: absolute; left: 120px; right: 120px; top: 470px; bottom: 130px; display: flex; gap: 32px; align-items: stretch; }
.has-disclaimer .body { bottom: 210px; }
.disclaimer { position: absolute; left: 120px; right: 120px; bottom: 104px; margin: 0;
  font: 400 28px/1.25 var(--font-body); color: var(--c-muted); }
.card { flex: 1; min-width: 0; padding: 26px 30px; overflow: hidden; border-radius: 4px;
  background: var(--c-panel); border-left: 6px solid var(--c-accent); }
.card h3 { margin: 0 0 8px; font: 700 40px/1.1 var(--font-head); }
.card p { margin: 0; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.big { font: 800 64px/1 var(--font-head); }

/* hero */
.scene-hero .title { font-size: 150px; }
.scene-hero .title-sm { font-size: 110px; }
.scene-hero .title-xs { font-size: 72px; }
.hero-body { flex-direction: column; justify-content: flex-start; top: 520px; }
.hero-rule { height: 8px; width: 640px; background: var(--c-accent); }
.tagline { margin: 32px 0 0; font: 600 52px/1.2 var(--font-head); color: var(--c-text); }

/* hours */
.rows { flex: 1.2; display: flex; flex-direction: column; gap: 10px; }
.rows .card { flex: none; display: flex; justify-content: space-between; padding: 12px 28px; }
.rows .label { font-weight: 700; }
.note { margin: 8px 0 0; }
.phones { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.phones .card { flex: 1; padding: 16px 28px; display: flex; flex-direction: column; justify-content: center; }

/* amenities */
.body.grid { flex-wrap: wrap; align-content: flex-start; }
.grid .card { flex: 1 1 360px; max-height: 230px; }
.icon svg { width: 64px; height: 64px; stroke: var(--c-accent); display: block; }
.icon path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.amenity h3 { margin-top: 10px; }

/* trade-in and sales */
.steps { flex: 2.2; display: flex; gap: 24px; min-width: 0; }
.step .num { font: 800 72px/1 var(--font-head); color: var(--c-accent); margin-bottom: 10px; }
.offer .big { margin: 8px 0 12px; }
.photo { position: relative; overflow: hidden; border-radius: 4px; flex: 1; min-height: 0; min-width: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* events */
.event { display: flex; flex-direction: column; }
.event .photo { flex: none; height: 170px; margin-bottom: 14px; }
.date { font: 800 56px/1 var(--font-head); margin-bottom: 8px; transform-origin: left center; }
.date small { display: block; font: 700 28px var(--font-head); letter-spacing: 0.2em; color: var(--c-accent); }

/* specials, team, tips, reviews */
.special .big { margin: 8px 0 12px; }
.ends { margin-top: 10px; font-weight: 700; color: var(--c-accent); }
.person { text-align: left; }
.avatar { width: 140px; height: 140px; margin-bottom: 14px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: var(--c-accent);
  font: 800 52px var(--font-head); color: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.role { color: var(--c-accent) !important; font-weight: 700; }
.tip .icon { display: block; margin-bottom: 8px; }
.review .stars { font-size: 44px; color: var(--c-accent); margin-bottom: 10px; transform-origin: left center; }
.review .quote { font: italic 400 36px/1.3 var(--font-body); color: var(--c-text); }
.review .author { margin-top: 16px; font-weight: 700; }

/* weather and time */
.wx-body { align-items: stretch; }
.wx-clock { flex: 1.4; display: flex; flex-direction: column; justify-content: center; }
.wx-time { font: 800 150px/1 var(--font-head); }
.wx-date { font: 600 52px var(--font-head); color: var(--c-muted); margin-top: 12px; }
.wx { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.wx-icon svg { width: 120px; height: 120px; stroke: var(--c-accent); display: block; }
.wx-temp { font: 800 120px/1 var(--font-head); margin: 8px 0; }

/* car-themed accents */
.has-accent .headline { right: 660px; }
.accent { position: absolute; right: 120px; top: 150px; width: 480px; height: 290px; display: flex;
  align-items: center; justify-content: center; color: var(--c-accent); pointer-events: none; }
.accent svg { width: 100%; height: 100%; display: block; overflow: visible; }
.accent path[pathLength="1"] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.accent-gauge svg, .accent-tools svg { width: 78%; }
.accent-car .headlight { color: #ffffff; }

/* headlight transition */
.wipe-headlight { border-right-width: 6px; }
.wipe-car { position: absolute; z-index: 1; right: 24px; bottom: 34%; width: 340px; color: #ffffff; transform: skewX(12deg); }
.wipe-car svg { width: 100%; display: block; }
.wipe-beam { position: absolute; left: 94%; top: -75px; width: 760px; height: 300px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%); }

/* road background: two faint dashed lanes, 240px dash period */
.lane { position: absolute; left: 0; width: 2400px; height: 6px; opacity: 0.09;
  background: repeating-linear-gradient(90deg, #ffffff 0 120px, rgba(255, 255, 255, 0) 120px 240px); }
.lane-0 { top: 760px; }
.lane-1 { top: 900px; height: 4px; opacity: 0.06; }
.accent .teeth { stroke-width: 6; stroke-linecap: butt; }
.phones.compact .card { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; }
.phones.compact .card p { margin: 0; }
.phones.compact .big { font-size: 54px; white-space: nowrap; }

/* service feature (e.g. Mobile Service) */
.feature-body { flex-direction: column; gap: 22px; }
.feature-call { flex: none; display: flex; align-items: baseline; gap: 28px; padding: 16px 30px; }
.feature-call .big { font-size: 56px; }
.feature-hours { margin-left: auto; color: var(--c-muted); }
.feature-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px 28px; }
.feature-item { display: flex; align-items: center; gap: 14px; min-width: 0; font-weight: 600; line-height: 1.15; }
.feature-item .icon svg { width: 40px; height: 40px; }
.feature-item .icon { flex: none; }
/* hours as a two-column table */
.rows.table .row, .rows-head { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: center; }
.rows.table .row { padding: 22px 28px; }
.rows.table .value { text-align: left; }
.rows-head { padding: 0 34px 4px; font: 700 28px var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
