
:root {
  /* Night-drive atlas: asphalt dark, sodium-streetlight amber, road-sign type. Single dark theme by choice. */
  --asphalt: #0e1217;
  --shoulder: #161c23;
  --lane: #222a33;
  --ink: #e9edf1;
  --muted: #95a1ad;
  --sodium: #f4a940;
  --sodium-dim: #f4a94026;
  --font-display: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --font-body: "Literata", "Georgia", serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--asphalt); color: var(--ink); }
body { font-family: var(--font-display); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, canvas { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--asphalt) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lane); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.mark { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; font-size: 15px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.mark i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 70%, var(--sodium) 0 30%, transparent 32%), linear-gradient(#2b3a52, #e9824a); display: inline-block; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 6px; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--shoulder); }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; font-size: 13px; padding: 12px 18px; border-radius: 8px; border: 1px solid var(--lane); background: var(--shoulder); color: var(--ink); cursor: pointer; font-family: var(--font-display); }
.btn:hover { border-color: var(--muted); }
.btn.go { background: var(--sodium); border-color: var(--sodium); color: #1a1205; }
.btn.go:hover { filter: brightness(1.08); }
.nav .btn { padding: 9px 14px; margin-left: 8px; }
@media (max-width: 900px) { .nav a.hide-md { display: none; } }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } .bar .wrap { gap: 10px; } .mark span { display: none; } }

/* Type */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; color: var(--sodium); }
.h-sec { text-transform: uppercase; letter-spacing: .14em; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.prose { font-family: var(--font-body); font-size: 18px; line-height: 1.65; max-width: 65ch; color: var(--ink); }
.small { font-size: 13px; color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--lane); }
.hero canvas { width: 100%; height: clamp(360px, 56vw, 560px); }
.hero .over { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(180deg, transparent 35%, rgba(8,10,14,.82)); }
.hero .over .wrap { width: 100%; padding-bottom: clamp(24px, 4vw, 48px); display: grid; gap: 14px; }
.hero h1 { font-size: clamp(44px, 9vw, 112px); line-height: .92; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.hero .thesis { font-family: var(--font-body); font-size: clamp(17px, 2vw, 21px); max-width: 46ch; color: #dfe5ea; margin: 0; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* Odometer strip */
.odo { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-bottom: 1px solid var(--lane); }
.odo div { padding: 22px var(--gutter); border-right: 1px solid var(--lane); }
.odo div:last-child { border-right: 0; }
.odo b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.odo span { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); }

section.block { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--lane); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head a { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--sodium); text-decoration: none; }

/* Light picker */
.lights { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.light { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--lane); cursor: pointer; background: none; padding: 0; color: var(--ink); text-align: left; font-family: var(--font-display); }
.light canvas { width: 100%; height: 110px; }
.light span { position: absolute; left: 12px; right: 12px; bottom: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 13px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.light em { position: absolute; right: 10px; top: 8px; background: rgba(10,12,16,.6); padding: 1px 7px; border-radius: 4px; font-style: normal; font-size: 12px; color: #e8edf2; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.light:hover { border-color: var(--sodium); }

/* Postcards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--shoulder); border: 1px solid var(--lane); border-radius: 12px; overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--sodium); transform: translateY(-2px); }
.card .pic { position: relative; }
.card canvas { width: 100%; aspect-ratio: 16 / 9; }
.card .no { position: absolute; top: 10px; left: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; background: rgba(10,12,16,.7); padding: 4px 8px; border-radius: 4px; }
.card .len { position: absolute; bottom: 10px; right: 10px; font-size: 12px; font-weight: 600; background: rgba(10,12,16,.75); padding: 3px 7px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; border: 1px solid var(--lane); border-radius: 999px; padding: 3px 9px; color: var(--muted); white-space: nowrap; }
.chip.amber { color: var(--sodium); border-color: color-mix(in srgb, var(--sodium) 45%, transparent); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* Uses */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.use { background: var(--shoulder); border: 1px solid var(--lane); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.use h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.use p { margin: 0; font-family: var(--font-body); color: var(--muted); font-size: 15px; }
.use ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.use li a { text-decoration: none; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--lane); padding-top: 6px; }
.use li a:hover { color: var(--sodium); }
.use li a span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Subscribe band */
.sub { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.sub .qr { background: #fff; padding: 10px; border-radius: 10px; width: 150px; }
.sub h2 { font-size: clamp(24px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.sub p { margin: 10px 0 18px; }
@media (max-width: 560px) { .sub { grid-template-columns: 1fr; } }

/* Catalog */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.frow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.frow .fl { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); width: 72px; }
.fbtn { font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--lane); background: transparent; color: var(--ink); cursor: pointer; }
.fbtn[aria-pressed="true"] { background: var(--sodium); color: #1a1205; border-color: var(--sodium); font-weight: 600; }
.fbtn:hover { border-color: var(--muted); }
.search { font-family: var(--font-display); font-size: 15px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--lane); background: var(--shoulder); color: var(--ink); width: min(100%, 360px); }
.count { font-size: 13px; color: var(--muted); }
.page-head { padding: clamp(36px, 5vw, 56px) 0 24px; display: grid; gap: 12px; }
.page-head h1 { font-size: clamp(34px, 6vw, 64px); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; line-height: 1; }
.empty { padding: 40px 0; color: var(--muted); font-family: var(--font-body); }

/* Drive page */
.dhero canvas { width: 100%; height: clamp(260px, 46vw, 480px); }
.dmain { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; }
@media (max-width: 860px) { .dmain { grid-template-columns: 1fr; } }
.dmain h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; letter-spacing: .02em; font-weight: 700; margin: 10px 0 18px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--lane); border: 1px solid var(--lane); border-radius: 12px; overflow: hidden; }
.facts div { background: var(--shoulder); padding: 14px 16px; }
.facts span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.facts b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.aside { display: flex; flex-direction: column; gap: 16px; }
.aside .btn { justify-content: center; }

/* Route strip: a road sign with exits */
.route { margin: 28px 0; padding: 22px 20px 18px; border-radius: 12px; background: #13402d; border: 2px solid #e9edf1; color: #fff; position: relative; overflow-x: auto; }
.route .rlabel { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; opacity: .85; margin-bottom: 14px; }
.route ol { list-style: none; margin: 0; padding: 0; display: inline-flex; position: relative; }
.route li:not(:last-child)::after { content: ""; position: absolute; left: 8px; right: 0; top: 7px; height: 3px; background: #fff; z-index: 0; }
.route li { position: relative; padding-top: 24px; padding-right: 34px; font-weight: 600; font-size: 14px; max-width: 170px; }
.route li:last-child { padding-right: 0; }
.route li::before { content: ""; position: absolute; top: 0; left: 0; z-index: 1; width: 17px; height: 17px; border-radius: 50%; background: #13402d; border: 3px solid #fff; }
.route li:first-child::before, .route li:last-child::before { background: var(--sodium); border-color: var(--sodium); }
.reloc { border-left: 3px solid var(--sodium); padding: 6px 0 6px 16px; font-family: var(--font-body); color: var(--muted); max-width: 60ch; }
.pn { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0 48px; border-top: 1px solid var(--lane); }
.pn a { text-decoration: none; display: grid; gap: 4px; max-width: 46%; }
.pn a span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.pn a b { font-weight: 600; }
.pn a:last-child { text-align: right; margin-left: auto; }

/* Places */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.place { border-top: 1px solid var(--lane); padding: 14px 0; break-inside: avoid; }
.place h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.place h3 span { color: var(--muted); font-weight: 500; }
.place ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.place a { font-size: 14px; color: var(--muted); text-decoration: none; }
.place a:hover { color: var(--sodium); }
.region-title { margin: 40px 0 12px; }

footer { padding: 40px 0 56px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--sodium); }
[hidden] { display: none !important; }

.card .pic img.thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-wrap { padding-top: clamp(16px, 3vw, 32px); }
.player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--lane); border-radius: 14px; overflow: hidden; padding: 0; background: #000; cursor: pointer; }
.player canvas, .player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--sodium); box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.player .play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 26px solid #1a1205; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.player:hover .play { filter: brightness(1.08); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl { padding: 32px 0 48px; }
.nl-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 20px 40px; align-items: center; }
.nl.tight .nl-in { background: var(--shoulder); border: 1px solid var(--lane); border-radius: 14px; padding: 24px; max-width: calc(var(--max) - 2 * var(--gutter)); }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form .search { flex: 1 1 200px; width: auto; }
.nl-msg { flex-basis: 100%; margin: 0; min-height: 1em; }
@media (max-width: 760px) { .nl-in { grid-template-columns: 1fr; } }
.hood-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--lane); border: 1px solid var(--lane); border-radius: 12px; overflow: hidden; }
.hood-facts div { background: var(--shoulder); padding: 14px 16px; }
.hood-facts span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.hood-facts b { font-weight: 600; }
.hood-facts a { text-decoration: none; color: var(--sodium); }
.hood-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hood-links .chip { text-decoration: none; font-size: 12px; padding: 6px 12px; }
.hood-links .chip:hover { color: var(--sodium); border-color: var(--sodium); }
.hood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.hood { display: grid; gap: 6px; text-decoration: none; background: var(--shoulder); border: 1px solid var(--lane); border-radius: 12px; padding: 16px 18px; }
.hood:hover { border-color: var(--sodium); }
.hood b { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.hood span { font-family: var(--font-body); font-size: 14px; color: var(--muted); }
.hood em { font-style: normal; font-size: 12px; color: var(--sodium); text-transform: uppercase; letter-spacing: .12em; }
.place h3 a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--sodium); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 8px 0 12px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; border-top: 2px solid var(--sodium); padding-top: 12px; }
.steps b { font-size: 28px; line-height: 1; color: var(--sodium); font-weight: 600; }
.steps p { margin: 0; font-family: var(--font-body); color: var(--muted); }
.callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 48px 0; padding: 20px 24px; border: 1px solid var(--sodium); border-radius: 12px; background: var(--sodium-dim); }
.callout h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.callout p { margin: 6px 0 0; }
.tv { border: 1px solid var(--lane); border-radius: 14px; overflow: hidden; background: #000; }
.tv:fullscreen { border: 0; border-radius: 0; display: flex; flex-direction: column; }
.tv:fullscreen .tv-screen { flex: 1; aspect-ratio: auto; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; }
.tv-screen canvas, .tv-screen iframe, .tv-screen #tv-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-idle { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; background: rgba(6,8,12,.45); padding: 20px; }
.tv-idle b { font-size: clamp(20px, 3vw, 32px); text-transform: uppercase; letter-spacing: .12em; }
.tv-idle span { font-family: var(--font-body); color: #d5dbe1; }
.tv-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--shoulder); }
.tv-ctl { display: flex; gap: 12px; align-items: center; }
.btn[disabled] { opacity: .45; cursor: default; }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.terms div { background: var(--shoulder); border: 1px solid var(--lane); border-radius: 12px; padding: 16px; }
.terms p { margin: 6px 0 0; }
.emb-hood { padding: 20px 0; border-top: 1px solid var(--lane); }
.emb-hood h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.emb { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.emb > div { display: grid; gap: 2px; }
.emb textarea { width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: var(--asphalt); color: var(--muted); border: 1px solid var(--lane); border-radius: 8px; padding: 8px; resize: vertical; }
@media (max-width: 760px) { .emb { grid-template-columns: 1fr; } }
