/* Range & Road (vikasauto.com): one stylesheet for every page. Design: concept A (cinematic, minimal, compact)
   with concept B's live instrument modules folded in (conditions gauge, recall pulse, route line, reading progress).
   Type: Archivo (variable width; expanded cut for the wordmark and labels) + Newsreader (editorial serif for reading).
   Scale (px): 12 13 14 16 18 22 28 36 48 64 72. Spacing rhythm: 4 8 12 16 24 32 48 64 96.
   Palette: bone paper, graphite ink, one warm "sodium lamp" accent; dark bands carry the photography. */

:root {
  --bg: #f4f3ef;
  --bg-2: #eae8e2;
  --bg-3: #dfdcd4;
  --card: #ffffff;
  --ink: #121315;
  --ink-2: #4f5258;
  --ink-3: #5c5f65;
  --line: rgba(18, 19, 21, .11);
  --line-strong: rgba(18, 19, 21, .24);
  --accent: #855508;
  --accent-ink: #ffffff;
  --accent-soft: rgba(148, 96, 15, .09);
  --ok: #2b6a4c;
  --warn: #a13a1f;
  --star: #b7791f;

  --night: #0b0c0e;
  --night-2: #15171a;
  --night-3: #1f2226;
  --on-night: #f2f1ec;
  --on-night-2: rgba(242, 241, 236, .84);
  --on-night-3: rgba(242, 241, 236, .7);
  --night-line: rgba(242, 241, 236, .14);
  --night-accent: #e3b35d;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  /* Martian Mono is loaded as a digits-only subset, so letters in a readout fall back to Archivo */
  --num: "Martian Mono", "Archivo", ui-monospace, "SF Mono", Menlo, monospace;
  --cool: #3c6f93;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --shell: 1280px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --radius: 8px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr: 64px;
  --shadow: 0 1px 2px rgba(18, 19, 21, .05), 0 8px 24px -12px rgba(18, 19, 21, .18);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1012;
    --bg-2: #16181b;
    --bg-3: #1f2226;
    --card: #17191c;
    --ink: #f1f0ec;
    --ink-2: #c3c5ca;
    --ink-3: #a3a6ac;
    --line: rgba(236, 235, 230, .11);
    --line-strong: rgba(236, 235, 230, .26);
    --accent: #e3b35d;
    --accent-ink: #15120c;
    --accent-soft: rgba(227, 179, 93, .11);
    --ok: #8cc4a3;
    --warn: #f08a6c;
    --star: #e3b35d;
    --cool: #86b4d6;
    --night: #060708;
    --night-2: #111316;
    --night-3: #1a1d21;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 24px); }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.night :focus-visible, .hero :focus-visible, .hdr:not(.is-solid) :focus-visible { outline-color: var(--night-accent); }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 400; letter-spacing: -.015em; line-height: 1.15; }
.h1 { font-size: clamp(36px, 5vw, 72px); font-weight: 300; font-stretch: 108%; letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 300; font-stretch: 106%; letter-spacing: -.025em; line-height: 1.1; }
.h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.kicker { font: 600 13px/1.1 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.night .kicker, .hero .kicker { color: var(--night-accent); }
.lede { font: 400 clamp(17px, 1.4vw, 19px)/1.5 var(--display); color: var(--ink-2); max-width: 36em; }
.night .lede, .hero .lede { color: var(--on-night-2); }
.meta { font-size: 14px; color: var(--ink-3); }
.night .meta { color: var(--on-night-3); }

/* ---------- icons ---------- */
.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-arrow { transition: transform .3s var(--ease); }
a:hover .i-arrow, a:focus-visible .i-arrow { transform: translateX(3px); }

/* ---------- actions: pill buttons + small text arrows ---------- */
.btns { display: flex; flex-wrap: wrap; gap: var(--s2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px;
  font: 500 14px/1 var(--display); text-decoration: none; white-space: nowrap; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { border-color: var(--ink); }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; gap: 5px; }
.btn.sm .i { width: 14px; height: 14px; }
.night .btn, .hero .btn { color: var(--on-night); border-color: rgba(242, 241, 236, .38); }
.night .btn:hover, .hero .btn:hover { border-color: var(--on-night); background: rgba(242, 241, 236, .08); }
.night .btn.solid, .hero .btn.solid { background: var(--on-night); border-color: var(--on-night); color: #0b0c0e; }
.night .btn.solid:hover, .hero .btn.solid:hover { background: var(--night-accent); border-color: var(--night-accent); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--accent); }
.night .more:hover { color: var(--night-accent); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); color: var(--on-night); border-bottom: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s; }
.hdr .shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.hdr.is-solid { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--ink); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.mark { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; white-space: nowrap; }
.mark span { font: 600 14px/1 var(--display); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; }
.mark em { font: italic 400 20px/1 var(--serif); color: var(--night-accent); }
.hdr.is-solid .mark em { color: var(--accent); }
/* logo block: wordmark over the tagline, location badge beside them */
.hdr-id { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: var(--s4); row-gap: 5px; min-width: 0; }
.hdr-id .mark { grid-area: 1 / 1; }
.mark-tag { grid-area: 2 / 1; font: 500 10.5px/1 var(--display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; opacity: .72; white-space: nowrap; }
.geo { grid-area: 1 / 2 / 3 / 3; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 11px 0 8px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent); border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.geo:hover { border-color: currentColor; background: rgba(127, 127, 127, .12); }
.geo:focus-visible { outline: 2px solid var(--night-accent); outline-offset: 2px; }
.geo .i { width: 14px; height: 14px; flex: none; }
.geo-st { opacity: .72; }
.geo-m:not([hidden])::before { content: "/"; margin: 0 6px 0 2px; opacity: .45; }
.geo-m { font-weight: 600; }
@media (max-width: 1180px) { .mark-tag { display: none; } .hdr-id { row-gap: 0; } }
@media (max-width: 420px) { .geo { padding: 0 9px 0 7px; font-size: 12px; } .geo-st { display: none; } .geo-m:not([hidden])::before { content: none; } .geo:has(.geo-m[hidden]) .geo-st { display: inline; } }
.nav { display: flex; align-items: center; gap: var(--s1); }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 12px 14px; border-radius: 999px; opacity: .86; transition: background-color .2s, opacity .2s; }
.nav a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav a[aria-current] { opacity: 1; background: rgba(127, 127, 127, .16); }
.nav a.nav-cta { margin-left: var(--s2); background: var(--on-night); color: #0b0c0e; opacity: 1; }
.hdr.is-solid .nav a.nav-cta { background: var(--ink); color: var(--bg); }
.nav a.nav-cta:hover { background: var(--night-accent); color: #0b0c0e; }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; min-width: 44px; min-height: 44px; margin-right: -12px; cursor: pointer; }
.nav-toggle .bars { display: block; width: 20px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8.5px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .js .nav { position: fixed; inset: var(--hdr) 0 auto 0; height: calc(100svh - var(--hdr)); flex-direction: column; align-items: stretch; gap: 0; padding: var(--s4) var(--gutter); background: var(--night); color: var(--on-night); visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s linear .25s; }
  .js .nav.open { visibility: visible; opacity: 1; transition: opacity .25s; }
  .js .nav a { font-size: 20px; font-weight: 400; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--night-line); background: none; }
  .js .nav a.nav-cta { margin: var(--s5) 0 0; border: 0; border-radius: 999px; text-align: center; padding: 14px; font-size: 16px; background: var(--on-night); color: #0b0c0e; }
  .js.nav-open .hdr { background: var(--night); color: var(--on-night); }
  .js.nav-open .hdr .mark em { color: var(--night-accent); }
  .js.nav-open body { overflow: hidden; }
  html:not(.js) .hdr { position: absolute; height: auto; padding: 10px 0; }
  html:not(.js) .hdr .shell { flex-wrap: wrap; }
  html:not(.js) .nav { flex-wrap: wrap; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-night); background: var(--night); min-height: clamp(560px, 88svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero.short { min-height: clamp(380px, 52svh, 520px); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; }
.hero.kb .hero-media img { animation: settle 14s var(--ease) both; }
@keyframes settle { from { scale: 1.1; } to { scale: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(6, 7, 8, .55) 0%, rgba(6, 7, 8, 0) 20%),
  linear-gradient(90deg, rgba(6, 7, 8, .7) 0%, rgba(6, 7, 8, .3) 45%, rgba(6, 7, 8, 0) 70%),
  linear-gradient(0deg, rgba(6, 7, 8, .88) 0%, rgba(6, 7, 8, .35) 35%, rgba(6, 7, 8, 0) 65%); }
.hero-inner { padding-top: calc(var(--hdr) + var(--s7)); padding-bottom: var(--s7); display: grid; gap: var(--s4); justify-items: start; }
.hero h1 { max-width: 11em; }
.hero .btns { margin-top: var(--s2); }
.hero-bar { position: relative; border-top: 1px solid var(--night-line); background: rgba(6, 7, 8, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-bar .shell { display: flex; align-items: center; justify-content: space-between; gap: var(--s3) var(--s6); flex-wrap: wrap; min-height: 52px; padding-block: var(--s3); font-size: 13px; }
.topics { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.topics a { display: inline-flex; height: 28px; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--night-line); text-decoration: none; color: var(--on-night-2); }
.topics a:hover { color: var(--on-night); border-color: var(--on-night-3); }
.now { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; color: var(--on-night-2); }
.now[hidden] { display: none; }
.now .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--night-accent); box-shadow: 0 0 0 3px rgba(227, 179, 93, .2); }
.now strong { color: var(--on-night); font-weight: 500; }
.now .sep { width: 1px; height: 12px; background: var(--night-line); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.night { background: var(--night); color: var(--on-night); }
.alt { background: var(--bg-2); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4) var(--s6); flex-wrap: wrap; margin-bottom: var(--s6); }
.sec-head > div { display: grid; gap: var(--s2); max-width: 44em; }
.sec-head .lede { font-size: 17px; }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.card .frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); aspect-ratio: 16 / 10; }
.card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .frame img { transform: scale(1.04); }
.card .body { display: grid; gap: 6px; padding-top: var(--s3); }
.card .body p { font: 400 15px/1.5 var(--display); color: var(--ink-2); }
.night .card .body p { color: var(--on-night-2); }
.card:hover .h3 { color: var(--accent); }
.night .card:hover .h3 { color: var(--night-accent); }
.card .foot { margin-top: var(--s3); }

/* lead story (headline over image) */
.card.lead .frame { aspect-ratio: auto; height: 100%; min-height: 420px; }
.card.lead .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 7, 8, .85) 0%, rgba(6, 7, 8, .2) 50%, rgba(6, 7, 8, 0) 70%); }
.card.lead .body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--s5); color: var(--on-night); gap: var(--s2); }
.card.lead .kicker { color: var(--night-accent); }
.card.lead h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; max-width: 18em; }
.card.lead .body p { color: var(--on-night-2); font-size: 16px; max-width: 32em; }
.card.lead:hover h3 { color: var(--on-night); }

/* horizontal compact card (Verge-style river) */
.card.row { flex-direction: row; gap: var(--s4); align-items: flex-start; }
.card.row .frame { flex: none; width: 112px; aspect-ratio: 1; border-radius: var(--radius-sm); }
.card.row .body { padding-top: 0; gap: 4px; }
.card.row .h3 { font-size: 16px; }
.card.row .body p { font-size: 14px; }
.card.row.wide .frame { width: 42%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.card.row.wide .h3 { font-size: 18px; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); }
.lead-grid .side { display: grid; gap: var(--s5); align-content: start; }
.lead-grid .side .card + .card { padding-top: var(--s5); border-top: 1px solid var(--line); }
.river { list-style: none; margin: var(--s6) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s6); }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }

.tool-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tool-tile { display: grid; gap: var(--s3); align-content: start; padding: var(--s6) var(--s6) var(--s6) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.tool-tile:nth-child(even) { padding: var(--s6) 0 var(--s6) var(--s6); border-left: 1px solid var(--line); }
.tool-tile h2 { font-size: 22px; font-weight: 400; letter-spacing: -.015em; }
.tool-tile p { font: 400 16px/1.5 var(--display); color: var(--ink-2); max-width: 30em; }
.tool-tile .frame { margin-top: var(--s3); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.tool-tile .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tool-tile:hover .frame img { transform: scale(1.03); }
.tool-tile:hover h2 { color: var(--accent); }

/* directory band */
.band { position: relative; isolation: isolate; overflow: hidden; color: var(--on-night); background: var(--night); }
.band-media { position: absolute; inset: -15% 0; z-index: -2; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 7, 8, .9) 0%, rgba(6, 7, 8, .7) 55%, rgba(6, 7, 8, .45) 100%); }
.band .shell { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s7); align-items: center; }
.band .copy { display: grid; gap: var(--s4); justify-items: start; }
.cat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.cat-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: var(--s4); align-items: center; padding: 12px 0; border-bottom: 1px solid var(--night-line); text-decoration: none; font-size: 15px; }
.cat-list a:hover { color: var(--night-accent); }
.cat-list .c { font-size: 14px; color: var(--on-night-3); font-variant-numeric: tabular-nums; }
.band .meta { margin-top: var(--s3); }

/* DFW live module */
.dfw-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s6); align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.wx-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; font-size: 14px; color: var(--ink-3); margin-bottom: var(--s4); }
.wx-head strong { color: var(--ink); font-weight: 500; font-size: 15px; }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.wx-days li { padding: var(--s4) var(--s3) 0 0; display: grid; gap: 4px; align-content: start; }
.wx-days li + li { padding-left: var(--s3); border-left: 1px solid var(--line); }
.wx-days .d { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.wx-days .t { font-size: 28px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wx-days .t small { font-size: 14px; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.wx-days .s { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.wx-days .p { font-size: 14px; color: var(--ink-2); }
.wx-days li.hot .t { color: var(--warn); }
.wx-tips { list-style: none; margin: var(--s5) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s2); }
.wx-tips li { font: 400 15px/1.5 var(--display); padding-left: var(--s4); position: relative; }
.wx-tips li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--accent); }
.wx-tips a { color: var(--accent); white-space: nowrap; }
.wx-src { font-size: 14px; color: var(--ink-3); margin-top: var(--s4); }
.quiet { font: 400 15px/1.5 var(--display); color: var(--ink-2); }
.skeleton { height: 128px; background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.alerts h3 { font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.alerts .state { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.alerts.has-alerts .state { background: var(--warn); }
.alerts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.alerts li { padding-top: var(--s3); border-top: 1px solid var(--line); }
.alerts li strong { display: block; font-weight: 500; font-size: 14px; }
.alerts li.severe strong { color: var(--warn); }
.alerts li span { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.alerts p { font: 400 15px/1.5 var(--display); color: var(--ink-2); }
.alerts .src { font: 400 14px/1.4 var(--display); color: var(--ink-3); margin-top: var(--s4); }
.links-list { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.links-list a { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.links-list a:hover { color: var(--accent); }

/* CTA strip */
.cta { display: flex; justify-content: space-between; align-items: center; gap: var(--s5) var(--s6); flex-wrap: wrap; }
.cta > div { display: grid; gap: var(--s2); max-width: 40em; }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: var(--on-night-2); padding: var(--s8) 0 var(--s6); font-size: 14px; }
.ftr .top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--night-line); }
.ftr .mark { color: var(--on-night); }
.ftr .tagline { font: 400 16px/1.5 var(--display); margin-top: var(--s3); max-width: 24em; }
.ftr nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px var(--s5); align-content: start; }
.ftr-nav > div { display: grid; gap: 2px; align-content: start; }
.ftr-h { font: 600 12px/1.2 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-3); margin-bottom: 6px; }
.ftr nav a { text-decoration: none; padding: 6px 0; }
.ftr nav a:hover { color: var(--on-night); }
.ftr .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s5); font-size: 14px; color: var(--on-night-3); }
.ftr .base a { color: var(--on-night-2); overflow-wrap: anywhere; }

/* ---------- article (Verge / Car and Driver pattern: headline above a wide image) ---------- */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.art-head { padding-top: calc(var(--hdr) + var(--s7)); display: grid; gap: var(--s4); max-width: 880px; }
.crumbs { display: flex; gap: var(--s2); flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.art-head h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 400; letter-spacing: -.03em; line-height: 1.06; }
.art-head .lede { font-size: clamp(18px, 1.6vw, 21px); }
.byline { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.byline b { color: var(--ink); font-weight: 500; }
.by-who { text-decoration: none; } .by-who:hover b { text-decoration: underline; }
.art-media { margin: var(--s6) 0 0; }
.art-media .frame { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.art-media img { width: 100%; height: 100%; object-fit: cover; }
.art-media figcaption { font-size: 14px; color: var(--ink-3); margin-top: var(--s2); }
.read-grid { display: grid; grid-template-columns: 200px minmax(0, 680px) 280px; gap: var(--s7); justify-content: space-between; padding-block: var(--s7) var(--s8); }
.toc { position: sticky; top: calc(var(--hdr) + var(--s5)); align-self: start; font-size: 14px; }
.toc summary { list-style: none; padding: 0 0 var(--s3); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px var(--s3); margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--accent); font-weight: 500; }
.prose { font: 400 18px/1.68 var(--serif); min-width: 0; max-width: 70ch; }
.prose > * + * { margin-top: var(--s5); }
.prose h2 { font: 500 24px/1.25 var(--display); letter-spacing: -.015em; margin-top: var(--s7); }
.prose a { color: var(--accent); }
.prose strong { font-weight: 600; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: var(--s2) 0; }
.prose li::marker { color: var(--ink-3); }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 30px; margin: var(--s3) 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ok); background: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%232b6a4c' stroke-width='2'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E"); }
.note-box { font: 400 14px/1.55 var(--display); background: var(--accent-soft); border-radius: var(--radius-sm); padding: var(--s4); }
.pull { margin: var(--s6) 0 !important; padding: var(--s1) 0 var(--s1) var(--s5); border-left: 2px solid var(--accent); font: italic 400 clamp(22px, 2vw, 26px)/1.35 var(--serif); color: var(--ink); }
.pull cite { display: block; margin-top: var(--s2); font: normal 500 12px/1 var(--display); color: var(--ink-3); }
.figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { font: 400 12px/1.5 var(--display); color: var(--ink-3); margin-top: var(--s2); }
.figure { margin-inline: 0; }
.disclose { font: 400 14px/1.55 var(--display); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: var(--s4); }
.disclose a { color: inherit; }
.aside { position: sticky; top: calc(var(--hdr) + var(--s5)); align-self: start; display: grid; gap: var(--s4); }
.aside .panel p.lead-p { font: 400 15px/1.5 var(--display); color: var(--ink-2); margin: var(--s2) 0 var(--s4); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }

/* ---------- directory (Airbnb / Zillow split view) ---------- */
.page-head { padding-block: calc(var(--hdr) + var(--s6)) var(--s5); display: grid; gap: var(--s3); }
.page-head h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; letter-spacing: -.025em; }
.page-head .facts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); list-style: none; padding: 0; }
.page-head .panel.facts li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.dir-bar { position: sticky; top: var(--hdr); z-index: 20; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.dir-bar .shell { display: flex; align-items: center; gap: var(--s3); height: 60px; max-width: none; }
.search { position: relative; flex: 0 1 300px; min-width: 0; }
.search .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.dir-search { width: 100%; height: 38px; padding: 0 12px 0 36px; font: inherit; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px; }
.dir-search::placeholder { color: var(--ink-3); }
.dir-search:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.dir-filters { flex: 1 1 auto; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.dir-filters::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44%); }
.list-col { padding: var(--s5) var(--s5) var(--s7) var(--gutter); min-width: 0; }
.list-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s4); }
.count { font-size: 14px; font-weight: 500; }
h2.count { margin: 0; font: 500 14px/1.4 var(--display); letter-spacing: 0; }
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s3); }
.listing { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, box-shadow .2s; }
.listing:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.listing[hidden] { display: none; }
.l-head { display: flex; justify-content: space-between; gap: var(--s2); font-size: 12px; color: var(--ink-3); }
.l-cat { color: var(--accent); font-weight: 500; }
.l-city { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.l-city .i { width: 13px; height: 13px; }
.listing h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.l-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 13px; color: var(--ink-2); min-height: 18px; }
.l-rating[hidden] { display: none; }
.l-rating b { font: 500 13px/1 var(--num); font-variant-numeric: tabular-nums; color: var(--ink); }
.l-rating .stars { display: inline-flex; gap: 1px; color: var(--star); }
.l-rating .stars svg { width: 13px; height: 13px; display: block; }
.l-rating .n { font-family: var(--num); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.l-rating .src { color: var(--ink-3); font-size: 12px; }
.l-svc { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.l-note { font-size: 12.5px; line-height: 1.4; color: var(--ok); display: flex; gap: 6px; }
.l-note .i { width: 14px; height: 14px; margin-top: 1px; }
.l-addr { font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.l-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: var(--s3); }
.l-actions .btn .i { width: 13px; height: 13px; }
.listing.on { border-color: var(--accent); box-shadow: var(--shadow); }
.map-col { position: sticky; top: calc(var(--hdr) + 61px); height: calc(100svh - var(--hdr) - 61px); border-left: 1px solid var(--line); }
.dir-map { position: relative; height: 100%; background-color: var(--bg-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; z-index: 0; }
.dir-map .placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: var(--s5); color: var(--ink-3); font-size: 13px; }
.dir-map .placeholder b { font-size: 15px; font-weight: 500; color: var(--ink); }
.dir-map.flash { box-shadow: inset 0 0 0 2px var(--accent); }
.map-note { position: absolute; left: var(--s3); bottom: var(--s3); font-size: 14px; color: var(--ink-2); background: color-mix(in srgb, var(--bg) 90%, transparent); padding: 6px 10px; border-radius: var(--radius-sm); max-width: calc(100% - 24px); }
.dir-empty { grid-column: 1 / -1; padding: var(--s6) 0; font: 400 16px/1.5 var(--display); color: var(--ink-2); }
.fineprint { font: 400 15px/1.55 var(--display); color: var(--ink-2); }
.fineprint a { color: var(--accent); }
.dir-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); margin-top: var(--s6); }
.dir-foot .panel h2 { font-size: 16px; font-weight: 600; margin-bottom: var(--s2); }

/* ---------- tools ---------- */
.recall { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: start; }
.recall .intro { display: grid; gap: var(--s3); }
.recall form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s3); }
.recall form .btn { grid-column: 1 / -1; justify-self: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--on-night-2); }
.field select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 34px 0 12px; font: inherit; font-size: 15px; color: var(--on-night); background: var(--night-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2f1ec' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; border: 1px solid var(--night-line); border-radius: var(--radius-sm); }
.field select:focus { border-color: var(--on-night); outline: none; box-shadow: 0 0 0 3px rgba(227, 179, 93, .25); }
.recall-out { min-height: 160px; }
.recall-out .summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--night-line); font-size: 13px; color: var(--on-night-2); }
.recall-out .summary strong { color: var(--on-night); font-weight: 600; }
.recall-list { list-style: none; margin: 0; padding: 0; }
.recall-list li { border-bottom: 1px solid var(--night-line); }
.recall-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px var(--s4); align-items: center; padding: 12px 0; }
.recall-list summary::-webkit-details-marker { display: none; }
.recall-list summary:hover .comp { color: var(--night-accent); }
.recall-list .cn { font-size: 14px; color: var(--on-night-3); font-variant-numeric: tabular-nums; }
.recall-list .comp { font-size: 15px; color: var(--on-night); line-height: 1.3; }
.recall-list .comp small { display: block; font-size: 14px; color: var(--on-night-3); margin-top: 2px; }
.recall-list .ota { font-size: 13px; font-weight: 500; color: var(--night-accent); border: 1px solid rgba(227, 179, 93, .4); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.recall-list .ota.no { color: var(--on-night-2); border-color: var(--night-line); }
.recall-list .detail { padding: 0 0 var(--s4); font: 400 15px/1.55 var(--display); color: var(--on-night-2); display: grid; gap: var(--s2); }
.recall-list .detail b { font: 600 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-3); display: block; margin-bottom: 3px; }
.night .quiet { color: var(--on-night-2); padding: var(--s4) 0; }
.night .skeleton { background: linear-gradient(90deg, var(--night-2), var(--night-3), var(--night-2)); background-size: 200% 100%; }
.src-line { font-size: 14px; color: var(--on-night-3); margin-top: var(--s3); }
.src-line a { color: var(--on-night-2); }

/* ---------- motion ---------- */
.motion .reveal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .hero .rise { opacity: 0; transform: translate3d(0, 16px, 0); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, .1s); }
@keyframes rise { to { opacity: 1; transform: none; } }
[data-parallax] { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion .reveal, .motion .hero .rise { opacity: 1; transform: none; }
  .hero.kb .hero-media img { animation: none; }
  [data-parallax] { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .read-grid { grid-template-columns: 180px minmax(0, 1fr); }
  .read-grid .aside { grid-column: 2; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .river { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .dfw-grid, .band .shell, .recall { grid-template-columns: minmax(0, 1fr); }
  .wx-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wx-days li:nth-child(n+5) { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .map-col { position: relative; top: auto; order: -1; height: 260px; border-left: 0; border-bottom: 1px solid var(--line); }
  .list-col { padding-inline: var(--gutter); }
}
@media (max-width: 860px) {
  .lead-grid, .tool-grid, .related, .ftr .top, .dir-foot { grid-template-columns: minmax(0, 1fr); }
  .tool-tiles { grid-template-columns: minmax(0, 1fr); }
  .tool-tile, .tool-tile:nth-child(even) { padding: var(--s5) 0; border-left: 0; }
  .card.lead .frame { min-height: 380px; }
  .tool-grid .card { flex-direction: row; gap: var(--s4); }
  .tool-grid .card .frame { width: 120px; flex: none; aspect-ratio: 1; }
  .tool-grid .card .body { padding-top: 0; }
  .read-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-top: var(--s5); }
  .read-grid .aside { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 var(--s4); }
  .toc summary { cursor: pointer; display: flex; justify-content: space-between; padding: var(--s3) 0; }
  .toc summary::after { content: "+"; font-size: 16px; }
  .toc details[open] summary::after { content: "\2212"; }
  .toc ol { margin-bottom: var(--s3); }
  .art-media .frame { aspect-ratio: 16 / 9; }
  .band::after { background: rgba(6, 7, 8, .78); }
  .dir-bar .shell { height: auto; flex-wrap: wrap; padding-block: var(--s2); }
  .search { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .river { grid-template-columns: minmax(0, 1fr); }
  .card.row .frame { width: 88px; }
  .card.row.wide .frame { width: 112px; aspect-ratio: 1; border-radius: var(--radius-sm); }
  .wx-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wx-days li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .wx-days li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: var(--s3); }
  .ftr nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose { font-size: 17px; }
  .recall form { grid-template-columns: minmax(0, 1fr); }
  .recall-list summary { grid-template-columns: minmax(0, 1fr) auto; }
  .recall-list .cn { grid-column: 1 / -1; }
  .listings { grid-template-columns: minmax(0, 1fr); }
  .hero-bar .topics { display: none; }
  .panel { padding: var(--s4); }
}
@media (max-width: 400px) {
  .mark span { font-size: 12px; letter-spacing: .14em; }
  .hero .btns .btn { flex: 1 1 auto; }
  .card.lead .body { padding: var(--s4); }
}
.card.lead .frame img { position: absolute; inset: 0; }
.page-head.shell { max-width: none; }

/* =====================================================================================================
   Real-site additions (built by build.py). Concept B modules restyled into A's palette and type.
   ===================================================================================================== */

/* live numerals: Martian Mono digits (subset), tabular */
.num, .wx-days .t, .recall-list .cn, .rstats .v, .c-tile .val, .now strong, .route text, .byline .n { font-family: var(--num); font-variant-numeric: tabular-nums; }
.wx-days .t { font-size: 24px; letter-spacing: -.04em; }
.wx-days .t small { font-family: var(--num); font-size: 12px; }

/* live state LED */
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; display: inline-block; }
[data-state="live"] .led { background: var(--ok); animation: pulse 2.4s infinite; }
[data-state="error"] .led { background: var(--warn); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.live-word { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--display); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.label { font: 600 13px/1.2 var(--display); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sk { color: transparent !important; background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; border-radius: 4px; }

/* hero "now" line links to the live section */
.now a { color: var(--on-night); text-decoration-color: var(--on-night-3); }
.now a:hover { color: var(--night-accent); }

/* ---------- DFW conditions (B) merged with the 7-day forecast (A) ---------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s5) var(--s6); align-items: start; }
.live-main { display: grid; gap: var(--s4); min-width: 0; }
.live-side { display: grid; gap: var(--s4); min-width: 0; }
.cond-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.cond-head h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.cond { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); padding-top: var(--s4); }
.c-gauge { display: grid; gap: var(--s2); align-content: start; justify-items: center; text-align: center; }
.c-gauge .gauge { max-width: 240px; }
.status-word { font: 600 12px/1 var(--display); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; }
.c-gauge .meta { max-width: 26em; }
.c-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); align-self: start; }
.c-tile { display: grid; gap: 6px; align-content: start; padding: var(--s3) var(--s4); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.c-tile .val { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; letter-spacing: -.04em; line-height: 1.05; }
.c-tile .val small { font-family: var(--display); font-size: 13px; letter-spacing: 0; color: var(--ink-3); margin-left: 3px; }
.c-tile .sub { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.c-range { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); display: grid; gap: var(--s2); }
.outlook { font: 400 16px/1.5 var(--display); color: var(--ink); max-width: 44em; }
.bar-scale { position: relative; height: 4px; border-radius: 2px; margin-top: var(--s3); background: linear-gradient(90deg, var(--cool) 0%, var(--ok) 38%, var(--ok) 70%, var(--star) 84%, var(--warn) 100%); }
.bar-scale i { position: absolute; top: -6px; width: 2px; height: 16px; margin-left: -1px; background: var(--ink); left: var(--x, 50%); border-radius: 1px; transition: left 1.2s var(--ease); }
.bar-scale i:not([style]) { opacity: 0; }
.bar-legend { display: flex; justify-content: space-between; }
.c-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); font-size: 14px; color: var(--ink-3); }
.c-note a { color: var(--accent); }
.offline { font: 400 15px/1.5 var(--display); color: var(--ink-2); }
.t-cold, .gauge.t-cold { color: var(--cool); } .t-mild, .gauge.t-mild { color: var(--ok); } .t-warm, .gauge.t-warm { color: var(--star); } .t-hot, .gauge.t-hot { color: var(--warn); }

/* gauge (SVG built by site.js) */
.gauge { width: 100%; height: auto; overflow: visible; display: block; color: var(--ink-3); }
.gauge .track { fill: none; stroke: var(--line-strong); stroke-width: 5; stroke-linecap: round; }
.gauge .sweep { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease), color .4s; }
.gauge .tick { stroke: var(--ink-3); stroke-width: 1; }
.gauge .needle { fill: currentColor; transition: transform 1.4s var(--ease); transform-origin: 60px 60px; transform-box: view-box; }
.gauge text { font: 400 11px var(--num); fill: var(--ink-3); }
.gauge .readout { font: 300 22px var(--num); fill: var(--ink); letter-spacing: -.04em; }

/* alerts (A panel + B detail: severity mark, HAIL tag) */
.alerts li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 2px 10px; }
.alerts li .sev { grid-row: span 2; width: 8px; height: 8px; margin-top: 5px; border-radius: 2px; background: var(--star); }
.alerts li .sev.high { background: var(--warn); }
.alerts li .sev.info { background: var(--cool); }
.alerts .hail { display: inline-block; font: 600 10px/1 var(--display); font-stretch: 118%; letter-spacing: .1em; color: var(--warn); border: 1px solid currentColor; padding: 3px 5px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; }
.alerts .more-al { display: inline-block; font: 400 14px/1.4 var(--display); color: var(--ink-3); margin-top: var(--s3); }
.alerts .fc-line { font: 400 14px/1.45 var(--display); color: var(--ink-2); margin-top: var(--s3); }
.alerts .fc-line b { font-weight: 500; color: var(--ink); }

/* ---------- reading progress (B semantics, A colour) ---------- */
.progress { background: transparent; transform: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- route line (road-trips guide header) ---------- */
.route-wrap { margin-top: var(--s2); padding: var(--s2) 0 0; }
.route { display: block; width: 100%; height: auto; max-height: 150px; overflow: visible; }
.route .ghost { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 6; }
.route .trace { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3s .3s var(--ease) forwards; }
.route .node { fill: var(--bg); stroke: var(--accent); stroke-width: 2; opacity: 0; animation: fade .4s forwards; }
.route .node.n1 { animation-delay: .3s; } .route .node.n2 { animation-delay: 1.8s; } .route .node.n3 { animation-delay: 3.2s; }
.route text { font-size: 13px; font-weight: 500; letter-spacing: .06em; fill: var(--ink-2); opacity: 0; animation: fade .5s forwards; }
.route text.t1 { animation-delay: .5s; } .route text.t2 { animation-delay: 2s; } .route text.t3 { animation-delay: 3.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- recall pulse (tools hub) ---------- */
.rstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); margin-bottom: var(--s4); }
.rstats > div { padding: var(--s3) var(--s4) var(--s3) 0; display: grid; gap: 8px; }
.rstats > div + div { padding-left: var(--s4); border-left: 1px solid var(--night-line); }
.rstats .label { color: var(--on-night-3); }
.rstats .v { font-size: clamp(28px, 3.4vw, 40px); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--on-night); }
.night .sk { background: linear-gradient(90deg, var(--night-2), var(--night-3), var(--night-2)); background-size: 200% 100%; }
.recall-status { font-size: 14px; color: var(--on-night-2); margin-top: var(--s3); }
.recall .h3q { font: 400 17px/1.4 var(--display); color: var(--on-night-2); }

/* ---------- article extras ---------- */
.hdr-solid main { padding-top: 0; }
.prose h3 { font: 500 19px/1.3 var(--display); letter-spacing: -.01em; margin-top: var(--s6); }
.prose ol { padding-left: 1.4em; }
.glance { margin: var(--s5) 0 var(--s6); padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.prose .glance h2 { margin: 0; font-size: 22px; }
.glance-when { display: block; margin: 4px 0 var(--s3); font-size: 13px; color: var(--ink-3); }
.prose .glance table { font-size: 14.5px; }
.prose .glance tbody th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); min-width: 140px; }
.prose .glance td:last-child { min-width: 0; white-space: nowrap; }
.faq { margin-top: var(--s6); }
.faq-q { border-top: 1px solid var(--line); padding: var(--s3) 0; }
.faq-q:last-child { border-bottom: 1px solid var(--line); }
.faq-q summary { cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.4; list-style-position: outside; }
.faq-q summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prose .faq-q p { margin: var(--s2) 0 0; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font: 400 15px/1.45 var(--display); display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); min-width: 120px; }
.prose th { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--line-strong); }
.prose .lede { font-size: 20px; color: var(--ink); }
.prose .btn { text-decoration: none; color: var(--ink); }
.prose .btn.solid, .prose .btn.primary { color: var(--bg); }
.prose .btn.solid:hover, .prose .btn.primary:hover { color: var(--accent-ink); }
.note, .callout { font: 400 15px/1.55 var(--display); background: var(--accent-soft); border-left: 2px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: var(--s4) var(--s4) var(--s4) var(--s5); }
.note strong:first-child { font-weight: 600; }
.prose .pull p { margin: 0; }
.prose ul.sources { font: 400 14px/1.55 var(--display); color: var(--ink-2); padding-left: 1.1em; }
.prose ul.sources a { color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2#sources { font-size: 16px; letter-spacing: .02em; }
.byline .n { color: var(--ink-2); }
.panel.facts dl { margin: var(--s3) 0 0; display: grid; gap: var(--s3); }
.panel.facts dt { font: 600 13px/1.2 var(--display); font-stretch: 118%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.panel.facts dd { margin: 3px 0 0; font: 400 15px/1.45 var(--display); color: var(--ink); }
.panel.facts ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s3); }
.panel.facts li { font: 400 15px/1.45 var(--display); padding-left: var(--s4); position: relative; }
.panel.facts li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--accent); }
.aside .panel h3 { font-size: 15px; font-weight: 500; }
.related { list-style: none; margin: 0; padding: 0; }

/* ---------- simple pages + tool pages ---------- */
.page-body { padding-block: var(--s6) var(--s8); }
.page-body .prose { max-width: 720px; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); padding-block: var(--s6) var(--s8); align-items: start; }
.tool-main { min-width: 0; display: grid; gap: var(--s5); }
.tool-aside { position: sticky; top: calc(var(--hdr) + var(--s5)); display: grid; gap: var(--s4); min-width: 0; }
.tool-aside .frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.tool-aside .frame img { width: 100%; height: 100%; object-fit: cover; }
.tool-aside .panel p { font: 400 15px/1.5 var(--display); color: var(--ink-2); }
.tool-aside .panel p + p { margin-top: var(--s2); }
.muted { color: var(--ink-3); }
.fine { font: 400 14px/1.55 var(--display); color: var(--ink-2); }
.fine a, .muted a { color: var(--accent); }

form.quote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s4); }
form.quote label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); min-width: 0; }
form.quote label:has(textarea), form.quote label:has(input[type=file]), form.quote .ts, form.quote button, form.quote p { grid-column: 1 / -1; }
form.quote input, form.quote select, form.quote textarea, .tool-main input[type=file] {
  font: 400 15px/1.4 var(--display); color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 42px; width: 100%; min-width: 0; }
form.quote select { appearance: none; -webkit-appearance: none; padding-right: 34px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7d83' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
form.quote input:focus, form.quote select:focus, form.quote textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
form.quote input::placeholder, form.quote textarea::placeholder { color: var(--ink-3); }
form.quote button { justify-self: start; }
form.quote .or { font-size: 13px; color: var(--ink-3); margin: -4px 0; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
button.btn:disabled { opacity: .55; cursor: wait; }
.result:empty { display: none; }
.result { display: grid; gap: var(--s3); }
.result > h3 { font-size: 20px; font-weight: 400; }
.result ul { margin: var(--s2) 0; padding-left: 1.2em; }
.result li { margin: 4px 0; }
.tile { display: grid; gap: var(--s2); align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); color: inherit; text-decoration: none; }
.tile h3 { font-size: 18px; font-weight: 500; }
.tile p { font: 400 15px/1.5 var(--display); color: var(--ink-2); }
.tile a:not(.btn) { color: var(--accent); }
.tile .btn { justify-self: start; margin-top: var(--s2); }
.tile details { margin-top: var(--s2); }
.tile details p { margin-top: var(--s2); font-size: 14px; }
.tag { font: 600 13px/1.2 var(--display); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
details summary { cursor: pointer; color: var(--ink-2); font-size: 14px; }
.chat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: var(--s4); min-height: 220px; max-height: 460px; overflow-y: auto; display: grid; gap: var(--s3); align-content: start; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; background: var(--bg-2); font: 400 16px/1.5 var(--display); }
.msg b { display: block; font: 600 13px/1.2 var(--display); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.msg.me { justify-self: end; background: var(--accent-soft); }
form.chatform { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
form.chatform label { grid-column: 1; }
form.chatform button { grid-column: 2; grid-row: 1; }
form.chatform .ts { grid-row: 2; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
form.chatform label.sr { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 0; gap: 0; }
.tint-canvas { width: 100%; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: block; cursor: crosshair; }
.tint-controls { display: grid; gap: var(--s3); }
.tint-controls label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tint-controls input[type=range] { width: 100%; accent-color: var(--accent); }
.vlt { font-family: var(--num); font-weight: 500; color: var(--ink); }
.updates-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
[data-tool="updates"] > ul { list-style: none; padding: 0; margin: var(--s5) 0 0; border-top: 1px solid var(--line); }
[data-tool="updates"] > ul li { border-bottom: 1px solid var(--line); }
[data-tool="updates"] > ul a { display: block; padding: 12px 0; text-decoration: none; }
[data-tool="updates"] > ul a:hover { color: var(--accent); }
[data-tool="updates"] > div h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 400; letter-spacing: -.03em; margin: var(--s3) 0 var(--s4); }
[data-tool="updates"] > div p, [data-tool="updates"] > div li { font: 400 18px/1.6 var(--serif); margin-top: var(--s3); }
[data-tool="updates"] > div .eyebrow { font: 500 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
[data-tool="deals"] .grid, [data-tool="deals"] > p { margin-top: var(--s5); }

/* ---------- directory: Leaflet in A's palette ---------- */
.leaflet-container { font: 400 13px/1.45 var(--display); background: var(--bg-2); }
.leaflet-container a { color: var(--accent); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.leaflet-popup-content-wrapper { border-radius: var(--radius); }
.leaflet-container a.leaflet-popup-close-button { color: var(--ink-3); }
.leaflet-bar a { background: var(--card); color: var(--ink); border-bottom-color: var(--line); }
.leaflet-bar a:hover { background: var(--bg-2); }
.leaflet-control-attribution { background: color-mix(in srgb, var(--bg) 85%, transparent) !important; color: var(--ink-2); }
.dir-map .pop { font: 400 13px/1.45 var(--display); display: grid; gap: 2px; }
.dir-map .pop strong { font-size: 14px; font-weight: 600; }
.dir-map .pop a { display: inline-flex; align-items: center; gap: 4px; margin: 6px 12px 0 0; color: var(--accent); text-decoration: underline; border: 0; height: auto; padding: 0; background: none; font-size: 13px; }
.dir-map .pop a .i { width: 12px; height: 12px; }
.dir-map .pop a .sr-only { position: absolute; }
@media (prefers-color-scheme: dark) {
  .dir-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.7); }
}
.dir-map { background-image: none; }

/* ---------- responsive for the additions ---------- */
@media (max-width: 1180px) {
  .cond { grid-template-columns: minmax(0, 1fr); }
  .c-gauge { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); justify-items: start; text-align: left; align-items: center; }
  .c-gauge .gauge-slot { grid-row: span 3; width: 100%; }
}
@media (max-width: 1000px) {
  .live-grid, .tool-layout { grid-template-columns: minmax(0, 1fr); }
  .tool-aside { position: static; }
  .tool-aside .frame { display: none; }
  .map-col { height: auto; display: grid; }
  .map-col .dir-map { height: 280px; }
  .map-note { position: static; max-width: none; background: none; padding: 8px var(--gutter); border-radius: 0; }
}
@media (max-width: 640px) {
  .c-gauge { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .c-gauge .gauge-slot { max-width: 220px; }
  form.quote { grid-template-columns: minmax(0, 1fr); }
  .rstats > div { padding-right: var(--s2); }
  .rstats > div + div { padding-left: var(--s3); }
  .route text { font-size: 24px; letter-spacing: .02em; }
  .route text.t3 { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .route .trace { stroke-dashoffset: 0; animation: none; }
  .route .node, .route text { opacity: 1; animation: none; }
  [data-state="live"] .led { animation: none; }
}
@media (min-width: 1001px) { .live-side { position: sticky; top: calc(var(--hdr) + var(--s5)); } }
@media (max-width: 1000px) {
  .live-main { display: contents; }
  .live-main > [data-module="conditions"] { order: 1; }
  .live-side { order: 2; }
  .live-main > [data-module="nws-week"] { order: 3; }
  .live-main > .c-note { order: 4; }
}
@media (max-width: 640px) { .now .sep { display: none; } .now { gap: 4px var(--s3); } }

/* =====================================================================================================
   Design review pass (2026-10): compact home hero, starting points, grouped guide index, "Start here" box,
   compact article image, directory provenance and phone map toggle, charger planning and introduction forms,
   compact DFW driving conditions. Sans-serif for UI and card text; serif only for long-form prose.
   ===================================================================================================== */

/* links stay distinguishable without colour */
.fine a, .muted a, .fineprint a, .c-note a, .wx-tips a, .l-checked a, .share-note a, .how-checked a, .q-done a, .msg a, .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.sec-head .sub { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.night .sec-head .sub { color: var(--on-night-2); }
.art-head .lede { font-family: var(--serif); }
.chip { min-height: 36px; height: auto; font-size: 14px; }

/* ---------- home hero: sized to its content ---------- */
.home-hero { min-height: clamp(460px, 66svh, 640px); }
.home-hero .hero-inner { padding-top: calc(var(--hdr) + var(--s7)); padding-bottom: var(--s7); gap: var(--s3); }
.home-hero h1 { max-width: 12em; font-size: clamp(34px, 4.6vw, 64px); }
.home-hero .lede { max-width: 34em; }
.hero .text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--on-night); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.hero .text-link:hover { color: var(--night-accent); }
.cred { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 14px; color: var(--on-night-2); }
.home-hero .hero-media img { object-position: 60% 55%; }
@media (max-width: 640px) {
  .home-hero { min-height: 0; }
  .home-hero .hero-inner { padding-top: calc(var(--hdr) + var(--s6)); padding-bottom: var(--s5); }
  .home-hero .hero-media img { height: 100%; margin-top: 0; object-position: 72% 50%; }
  .home-hero::after { background: linear-gradient(180deg, rgba(6, 7, 8, .62) 0%, rgba(6, 7, 8, .74) 40%, rgba(6, 7, 8, .92) 100%); }
  .hero .btns { width: 100%; }
  .hero .btns .btn { flex: 1 1 auto; }
}

/* ---------- starting points ---------- */
.sm-h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: var(--s4); }
.starts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.start { position: relative; display: grid; gap: var(--s2); align-content: start; height: 100%; padding: var(--s5) calc(var(--s5) + 24px) var(--s5) var(--s5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.start:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.start-t { font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.start:hover .start-t { color: var(--accent); }
.start-d { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.start-go { position: absolute; right: var(--s4); top: var(--s5); color: var(--accent); }
.river.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- who's behind this ---------- */
.who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s7); align-items: start; }
.who > div:first-child { display: grid; gap: var(--s2); }
.who-copy { display: grid; gap: var(--s3); font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.who-links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.who-links .more { min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- guide index: grouped by need ---------- */
.g-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.g-filter { flex: 0 1 360px; min-width: 0; }
.g-jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.g-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.g-jump a:hover { color: var(--ink); border-color: var(--ink); }
.g-count { min-height: 1.5em; margin-top: var(--s3); }
.g-group { padding-top: var(--s5); scroll-margin-top: calc(var(--hdr) + 16px); }
.g-h { font-size: 22px; font-weight: 500; letter-spacing: -.015em; display: flex; align-items: baseline; gap: var(--s2); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.g-n { font-size: 14px; font-weight: 400; color: var(--ink-3); }
.river.g-list { margin-top: var(--s4); padding-top: 0; border-top: 0; }
.g-empty { padding: var(--s5) 0; font-size: 16px; color: var(--ink-2); }

/* ---------- article: Start here above a compact image ---------- */
.start-here { margin-top: var(--s2); padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.start-here h2 { margin-bottom: var(--s3); }
.start-here ul { margin: 0; padding-left: 1.1em; display: grid; gap: var(--s2); font-size: 16px; line-height: 1.55; }
.start-here dl { margin: 0; display: grid; gap: var(--s2); font-size: 16px; line-height: 1.5; }
.start-here dt { font-weight: 600; }
.start-here dd { margin: 0 0 var(--s1); color: var(--ink-2); }
.basis a { color: var(--ink); font-weight: 500; }
.art-media { margin-top: var(--s5); }
.art-media .frame { aspect-ratio: 3 / 1; max-height: 340px; }
.toc summary { font-size: 13px; }
@media (max-width: 860px) { .art-media .frame { aspect-ratio: 2 / 1; } }

/* ---------- directory ---------- */
.how-checked { max-width: 52em; margin-top: var(--s2); padding: var(--s3) var(--s4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.how-checked h2 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.how-checked p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.dir-bar .shell { gap: var(--s2) var(--s3); }
.dir-area { height: 38px; padding: 0 30px 0 12px; font: 400 14px/1 var(--display); color: var(--ink); appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; }
.dir-reset.btn { flex: none; }
.listing { gap: 8px; }
.l-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); font-size: 14px; color: var(--ink-2); }
.l-head h3 { font-size: 17px; }
.l-city { font-size: 14px; color: var(--ink-2); }
.l-cat { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.l-svc { font-size: 15px; color: var(--ink); }
.l-note { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.l-addr { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.l-k { font-weight: 600; color: var(--ink); }
.l-checked { font-size: 14px; color: var(--ink-3); }
.l-checked a { color: inherit; display: inline-flex; align-items: center; gap: 3px; }
.l-checked .i { width: 13px; height: 13px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.list-top { align-items: center; flex-wrap: wrap; }
.map-toggle { display: none; }
@media (max-width: 1000px) and (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
  .map-col { position: sticky; top: calc(var(--hdr) + 61px); order: 0; height: calc(100svh - var(--hdr) - 61px); display: block; border-left: 1px solid var(--line); border-bottom: 0; }
  .map-col .dir-map { height: 100%; }
  .map-note { position: absolute; left: var(--s3); bottom: var(--s3); max-width: calc(100% - 24px); padding: 6px 10px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg) 90%, transparent); }
}
@media (max-width: 899px) {
  .dir-bar { position: static; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .map-toggle { display: inline-flex; }
  .map-col { display: none; }
  .split.map-open .map-col { display: grid; order: -1; position: relative; top: auto; height: auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .split.map-open .map-col .dir-map { height: 320px; }
  .dir-area { flex: 1 1 auto; }
  .area { flex: 1 1 140px; display: flex; }
}

/* ---------- forms: charger planning ---------- */
.pc-how { grid-column: 1 / -1; display: grid; gap: var(--s3); }
.pc-how p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.callout.safety { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.upload { grid-column: 1 / -1; display: grid; gap: var(--s2); }
.upload > label { font-size: 14px; font-weight: 600; color: var(--ink); }
form.quote .upload input[type=file] { padding: 9px 12px; cursor: pointer; }
.hint { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.previews { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.pv { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.pv img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--bg-2); }
form.quote .pv .pv-rm { grid-column: auto; justify-self: end; }
.pv-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-error { grid-column: 1 / -1; font-size: 15px; font-weight: 500; color: var(--warn); }
.privacy-note, .share-note { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; color: var(--ink-2); padding: var(--s3) var(--s4); background: var(--bg-2); border-radius: var(--radius-sm); }
.note.err { border-left-color: var(--warn); }
.pc-result { display: grid; gap: var(--s3); }
.pc-sec h4 { margin: 0; font-size: 16px; font-weight: 600; }
.pc-sec ul { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pc-sec .btns { margin-top: var(--s2); }

/* ---------- shop introduction ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.steps li { counter-increment: step; position: relative; padding: calc(var(--s4) + 32px) var(--s4) var(--s4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: var(--s4); top: var(--s4); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--display); background: var(--ink); color: var(--bg); }
.steps b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.chips-set { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; min-width: 0; }
.chips-set legend { padding: 0; margin-bottom: var(--s2); font-size: 14px; font-weight: 600; color: var(--ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
form.quote label.chip-opt { position: relative; display: inline-flex; gap: 0; }
form.quote .chip-opt input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 500; color: var(--ink); }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.q-done { display: grid; gap: var(--s2); border-left: 3px solid var(--ok); }
.q-done p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.msg .fallback { margin-top: var(--s2); font-size: 14px; }
.msg .btn { margin-top: var(--s2); }
.tool-aside h2.h3 { margin-bottom: var(--s2); }

/* ---------- DFW driving conditions: compact ---------- */
.cond { grid-template-columns: 150px minmax(0, 1fr); gap: var(--s4); align-items: center; }
.c-gauge { display: grid; justify-items: center; text-align: center; gap: var(--s2); }
.c-gauge .gauge { max-width: 140px; }
.c-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c-tile .val { font-size: clamp(22px, 2.2vw, 28px); }
.obs { margin-top: var(--s3); }
.c-range { margin-top: var(--s3); padding-top: var(--s3); }
[data-state="stale"] .led { background: var(--star); }
[data-state="stale"] .live-word, [data-state="error"] .live-word { color: var(--warn); }
.wx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.wx-scroll:focus-visible { outline-offset: 4px; }
.wx-hint { display: none; margin-top: var(--s2); font-size: 14px; color: var(--ink-3); }
.alerts li .al-link { grid-column: 2; display: inline-block; margin-top: 2px; font-size: 14px; color: var(--accent); text-decoration: underline; }
@media (max-width: 1180px) {
  .cond { grid-template-columns: 130px minmax(0, 1fr); }
  .c-gauge { grid-template-columns: none; justify-items: center; text-align: center; }
  .c-gauge .gauge-slot { grid-row: auto; }
  .c-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .wx-days { display: flex; }
  .wx-days li { flex: 0 0 136px; scroll-snap-align: start; }
  .wx-days li:nth-child(n+5) { display: grid; }
  .wx-hint { display: block; }
}
@media (max-width: 640px) {
  .cond { grid-template-columns: minmax(0, 1fr); }
  .c-gauge { grid-template-columns: 96px auto; justify-content: start; justify-items: start; align-items: center; text-align: left; }
  .c-gauge .gauge-slot { max-width: 96px; }
  .wx-days li:nth-child(odd) { padding-left: var(--s3); border-left: 1px solid var(--line); }
  .wx-days li:first-child { padding-left: 0; border-left: 0; }
  .wx-days li:nth-child(n+3) { border-top: 0; margin-top: 0; }
}

/* ---------- touch targets on small or touch screens ---------- */
@media (max-width: 860px), (pointer: coarse) {
  .btn.sm, .chip, .dir-area, .dir-search, .g-jump a { min-height: 44px; }
  .toc a { padding-block: 10px; }
  .ftr nav a { padding: 11px 0; }
  .links-list a { min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 860px) {
  .starts, .who, .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .river.two { grid-template-columns: minmax(0, 1fr); }
  .start-here { padding: var(--s3) var(--s4); }
}
.page-root .art-head .lede { font-family: var(--display); }
@media (max-width: 860px) {
  .steps li { padding: var(--s3) var(--s4) var(--s3) 56px; }
  .steps li::before { left: var(--s4); top: var(--s3); }
}
/* the directory band sits on a dark photo in both themes: use the on-night colours there too */
.band .kicker { color: var(--night-accent); }
.band .lede, .band .meta { color: var(--on-night-2); }
.band .btn { color: var(--on-night); border-color: rgba(242, 241, 236, .38); }
.band .btn:hover { border-color: var(--on-night); background: rgba(242, 241, 236, .08); }
.band .btn.solid { background: var(--on-night); border-color: var(--on-night); color: #0b0c0e; }
.band .btn.solid:hover { background: var(--night-accent); border-color: var(--night-accent); }
.band :focus-visible { outline-color: var(--night-accent); }
/* form field boundaries at 3:1 or better against their background (WCAG 1.4.11) */
:root { --field-line: #7a7d83; }
@media (prefers-color-scheme: dark) { :root { --field-line: #757880; } }
form.quote input, form.quote select, form.quote textarea, .tool-main input[type=file], .dir-search, .dir-area, .chip-opt span, .chip { border-color: var(--field-line); }
.crumbs { align-items: center; }
@media (max-width: 640px) { .prose th, .prose td { min-width: 150px; } }

/* =====================================================================================================
   Four Texas metros (2026-10): city cards, city hubs, metro switcher in the directory, conditions city picker.
   ===================================================================================================== */
/* city photo cards (home "Pick your city", /cities/, hub "Other cities") */
.city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.city-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.city-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 200px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--on-night); background: var(--night-2); }
.city-card .frame { position: absolute; inset: 0; z-index: -2; }
.city-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.city-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 7, 8, .9) 0%, rgba(6, 7, 8, .55) 42%, rgba(6, 7, 8, .05) 75%); }
.city-card:hover .frame img { transform: scale(1.04); }
.city-body { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--s3); align-items: end; padding: var(--s4); }
.city-name { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; color: var(--on-night); }
.city-n { grid-column: 1; font-size: 14px; color: var(--on-night-2); }
.city-go { grid-column: 2; grid-row: 1 / span 2; color: var(--night-accent); }
.city-card:hover .city-name { color: var(--night-accent); }
.city-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cities-sec { padding-bottom: 0; }
.cities-sec .sec-head { margin-bottom: var(--s4); }
.cities-sec .sm-h2 { margin-bottom: 0; }
.cities-page { margin-top: var(--s6); }
.cities-note { margin: var(--s5) 0 var(--s8); max-width: 48em; }

/* city hub */
.hub-hero { min-height: clamp(420px, 60svh, 600px); }
.hub-hero h1 { max-width: 14em; font-size: clamp(34px, 4.4vw, 60px); }
.hub-hero .lede { max-width: 40em; }
.crumbs.on-photo, .crumbs.on-photo a { color: var(--on-night-2); }
.crumbs.on-photo a:hover { color: var(--night-accent); }
.hub-head { display: grid; gap: var(--s4); padding-block: var(--s5) var(--s6); }
.hub-head .byline { border-top: 0; padding-top: 0; }
.hub-start { margin-top: 0; }
.hub-start ul { display: block; columns: 2; column-gap: var(--s6); }
.hub-start li { break-inside: avoid; margin-bottom: var(--s2); }
.hub-dir { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.cat-list.light { border-top-color: var(--line); }
.cat-list.light a { border-bottom-color: var(--line); color: var(--ink); }
.cat-list.light a:hover { color: var(--accent); }
.cat-list.light .c { color: var(--ink-2); }
.pv-shops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.pv-shop { display: grid; gap: 6px; align-content: start; padding: var(--s4); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pv-shop h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.pv-shop .l-city { justify-self: start; }
.pv-shop .more { min-height: 32px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.links-list.tight { margin-top: var(--s2); }
.hub-river { margin-top: 0; }
.other-cities { font: 400 15px/1.55 var(--display); color: var(--ink-2); padding: var(--s3) var(--s4); background: var(--bg-2); border-radius: var(--radius-sm); }
.other-cities b { color: var(--ink); font-weight: 600; }

/* conditions: city picker */
.wx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.wx-pick { display: inline-flex; align-items: center; gap: var(--s2); font-size: 14px; font-weight: 600; color: var(--ink); }
.wx-select { height: 38px; min-height: 38px; padding: 0 32px 0 14px; font: 500 15px/1 var(--display); color: var(--ink); appearance: none; -webkit-appearance: none; border: 1px solid var(--field-line); border-radius: 999px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; cursor: pointer; }
.wx-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* directory: metro switcher first, then search / area / reset, then category chips on their own row */
:root { --dirbar: 110px; }
.dir-bar .shell { height: auto; flex-wrap: wrap; padding-block: var(--s2); row-gap: var(--s2); }
.dir-filters { flex: 1 1 100%; }
.dir-metros { flex: none; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--field-line); border-radius: 999px; background: var(--card); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dir-metros::-webkit-scrollbar { display: none; }
.mchip { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 500 14px/1 var(--display); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.mchip:hover { color: var(--ink); background: var(--bg-2); }
.mchip[aria-pressed="true"], .mchip[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
a.mchip { display: inline-flex; align-items: center; text-decoration: none; }
.mchip .n, .chip .n { font-family: var(--num); font-size: 12px; font-variant-numeric: tabular-nums; margin-left: 2px; }
.map-col { top: calc(var(--hdr) + var(--dirbar)); height: calc(100svh - var(--hdr) - var(--dirbar)); }
@media (max-width: 1000px) and (min-width: 900px) {
  .map-col { top: calc(var(--hdr) + var(--dirbar)); height: calc(100svh - var(--hdr) - var(--dirbar)); }
}
@media (max-width: 899px) {
  .dir-metros { flex: 1 1 100%; justify-content: space-between; }
  .mchip { flex: 1 0 auto; }
  .split.map-open .map-col { top: auto; height: auto; }
}
@media (max-width: 860px), (pointer: coarse) { .mchip { min-height: 44px; } .wx-select { min-height: 44px; } }

@media (max-width: 1000px) {
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-dir { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hub-start ul { columns: 1; }
}
@media (max-width: 640px) {
  .city-grid, .city-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .city-card { min-height: 150px; aspect-ratio: 1; }
  .city-body { padding: var(--s3); grid-template-columns: minmax(0, 1fr); }
  .city-go { display: none; }
  .city-name { font-size: 17px; }
  .pv-shops { grid-template-columns: minmax(0, 1fr); }
  .hub-hero { min-height: 0; }
  .hub-hero .hero-inner { padding-top: calc(var(--hdr) + var(--s6)); padding-bottom: var(--s5); }
  .wx-actions { width: 100%; }
}

/* nav: "Cities" disclosure (metros under their state heading) */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; padding: 12px 14px; border: 0; border-radius: 999px; background: none; color: inherit; opacity: .86; cursor: pointer; transition: background-color .2s, opacity .2s; }
.nav-dd-btn .i { width: 14px; height: 14px; transition: transform .2s; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav-dd-btn.is-current { opacity: 1; background: rgba(127, 127, 127, .16); }
.nav-dd.open .nav-dd-btn .i { transform: rotate(180deg); }
.nav-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: var(--s2); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 60; }
.nav-dd.open .nav-panel { display: grid; gap: 2px; }
.nav .nav-panel a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 15px; opacity: 1; color: var(--ink); }
.nav .nav-panel a:hover { background: var(--bg-2); color: var(--accent); }
.nav-state { display: grid; gap: 2px; }
.nav .nav-panel .nav-state-h { font: 600 12px/1.2 var(--display); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding-top: 8px; }
.nav .nav-panel .nav-all { border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); margin-top: 4px; padding-top: 10px; color: var(--ink-2); }
@media (max-width: 860px) {
  .js .nav { overflow-y: auto; }
  .nav-dd-btn { display: none; }
  .nav-panel, .nav-dd.open .nav-panel { display: grid; position: static; min-width: 0; padding: 0; background: none; color: var(--on-night); border: 0; box-shadow: none; gap: 0; }
  .js .nav .nav-panel a { color: var(--on-night); font-size: 18px; padding: 12px 0 12px var(--s4); border-bottom: 1px solid var(--night-line); border-radius: 0; background: none; }
  .js .nav .nav-panel .nav-state-h { font-size: 13px; padding: 16px 0 10px; color: var(--night-accent); }
  .js .nav .nav-panel .nav-all { margin: 0; color: var(--on-night-2); border-top: 0; }
}

/* guides: small state tag for state-specific guides */
.scope-tag { display: inline-block; margin-left: 6px; padding: 2px 6px; border: 1px solid currentColor; border-radius: 4px; font: 600 11px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); vertical-align: 1px; }
.byline .scope-tag { margin-left: 0; }
.card.lead .scope-tag { color: var(--on-night-2); }

/* directory: metros grouped by state (the state label shows only with 2+ states) */
.mgroup { display: flex; align-items: center; gap: 2px; }
.mstate { padding: 0 8px 0 10px; font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 899px) { .mgroup { flex: 1 1 100%; } }

/* /cities/ */
.city-state + .city-state { margin-top: var(--s7); }
.city-state .g-h { margin-bottom: var(--s4); }
.city-state .g-h a { text-decoration: none; }
.city-state .g-h a:hover { color: var(--accent); }
/* hub heroes: skyline photos are bright, so the scrim behind the headline and summary is stronger */
.hub-hero::after { background:
  linear-gradient(180deg, rgba(6, 7, 8, .6) 0%, rgba(6, 7, 8, 0) 22%),
  linear-gradient(90deg, rgba(6, 7, 8, .86) 0%, rgba(6, 7, 8, .62) 50%, rgba(6, 7, 8, .2) 85%),
  linear-gradient(0deg, rgba(6, 7, 8, .9) 0%, rgba(6, 7, 8, .4) 40%, rgba(6, 7, 8, 0) 70%); }
@media (max-width: 640px) { .hub-hero::after { background: linear-gradient(180deg, rgba(6, 7, 8, .7) 0%, rgba(6, 7, 8, .78) 40%, rgba(6, 7, 8, .92) 100%); } }
@media (max-width: 1000px) and (min-width: 641px) { .city-card { min-height: 0; } .city-grid.three .city-name { font-size: 17px; } }

/* ---------- review pass 3 (2026-10-08) ---------- */
/* directory: one trust line, details for the longer note, chip rows with scroll cues */
.dir-trust { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
details.how-checked { padding: 0; }
details.how-checked summary { cursor: pointer; padding: var(--s2) var(--s4); font-size: 15px; font-weight: 600; color: var(--ink); list-style-position: inside; }
details.how-checked summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
details.how-checked p { padding: 0 var(--s4) var(--s3); }
.scroller { position: relative; min-width: 0; max-width: 100%; }
.scroller-cats { flex: 1 1 100%; }
.scroller::before, .scroller::after { content: ""; position: absolute; top: 0; bottom: 0; width: 36px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 1; }
.scroller::before { left: 0; background: linear-gradient(90deg, var(--bg) 15%, transparent); border-radius: 999px 0 0 999px; }
.scroller::after { right: 0; background: linear-gradient(270deg, var(--bg) 15%, transparent); border-radius: 0 999px 999px 0; }
.scroller.more-left::before, .scroller.more-right::after { opacity: 1; }
.dir-metros .mchip:focus-visible, .dir-filters .chip:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mgroup-all { padding-right: 2px; margin-right: 2px; border-right: 1px solid var(--line-strong); }
@media (max-width: 899px) {
  .scroller:not(.scroller-cats) { flex: 1 1 100%; }
  .dir-metros { justify-content: flex-start; }
  .mgroup, .mchip { flex: none; }
}
@media (max-width: 640px) {
  .page-head { padding-block: calc(var(--hdr) + var(--s4)) var(--s3); gap: var(--s2); }
  .dir-lede { display: none; }   /* the trust line and the metro switcher carry the same information on phones */
  .dir-bar .shell { row-gap: 6px; padding-block: 6px; }
  .list-col { padding-top: var(--s3); }
  .list-top { margin-bottom: var(--s2); }
  .list-top .meta { display: none; }
}

/* guides and hubs: decision list in "Start here" */
.start-here .sh-steps { margin: 0; padding-left: 1.3em; display: grid; gap: var(--s2); font-size: 16px; line-height: 1.55; }
.start-here .sh-steps li::marker { font-weight: 600; color: var(--accent); }
.hub-start .sh-steps { display: grid; columns: auto; }
/* hubs: compact quick actions + contents line before the live weather module */
.hub-quick { margin-top: var(--s4); display: grid; gap: var(--s3); }
.hq-acts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.hq-acts a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; background: var(--ink); color: var(--bg); }
.hq-acts li + li a { background: var(--card); color: var(--ink); border: 1px solid var(--field-line); }
.hq-acts a:hover { opacity: .88; }
.hq-toc { font-size: 15px; line-height: 1.8; color: var(--ink-3); }
.hq-toc .kicker { margin-right: var(--s2); }
.hq-toc a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.hq-toc a:hover { color: var(--accent); }
@media (max-width: 860px), (pointer: coarse) { .hq-acts a { min-height: 44px; } }

/* shop introduction */
.lede-note { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.lede-note a { text-decoration: underline; text-underline-offset: 3px; }
.q-chat { display: grid; gap: var(--s3); }
.q-chat[hidden] { display: none; }
.q-status { font-size: 15px; line-height: 1.5; color: var(--ink-2); padding: var(--s3) var(--s4); border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: var(--radius-sm); }
.q-status strong { color: var(--ink); }

/* charger planning: photo handling details */
.pc-details { grid-column: 1 / -1; font-size: 14px; line-height: 1.55; color: var(--ink-2); background: var(--bg-2); border-radius: var(--radius-sm); padding: var(--s2) var(--s4); }
.pc-details summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: var(--s1) 0; }
.pc-details ul { margin: var(--s2) 0 var(--s1); padding-left: 1.2em; display: grid; gap: var(--s1); }
/* scope badge: on cards it sits on its own line under the kicker so long labels never split mid-badge */
.card .kicker .scope-tag { display: block; width: fit-content; max-width: 100%; margin: 4px 0 0; }
.scope-tag { text-transform: none; letter-spacing: .01em; font-size: 12px; font-weight: 600; }

/* =====================================================================================================
   Tesla news roundup (2026-10): /news/ (filters, story cards, video thumbnails, loading/empty/error states),
   "Latest on this topic" boxes on guides and city hubs, and the home page strip. Headlines link out to publishers.
   ===================================================================================================== */
.news-page { padding-bottom: var(--s8); }
.nw-bar { display: grid; gap: var(--s3); margin-top: var(--s6); padding: var(--s4) 0; border-block: 1px solid var(--line); }
.nw-group { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.nw-gl { flex: none; width: 72px; font: 600 12px/1.2 var(--display); font-stretch: 118%; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.nw-group .scroller { flex: 1 1 auto; }
.nw-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.nw-chips::-webkit-scrollbar { display: none; }
.nw-chips .chip:focus-visible, .nw-video:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nw-video { display: inline-flex; align-items: center; gap: 6px; }
.nw-video .i { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.nw-format { padding-left: 3px; }
.nw-status { min-height: 1.5em; margin: var(--s4) 0 var(--s3); font-size: 14px; color: var(--ink-3); }
.nw-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.nw-item { min-width: 0; display: flex; }
.nw-card { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.nw-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.nw-meta, .nb-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 13px; color: var(--ink-3); }
.nw-src, .nb-src { font-weight: 600; color: var(--ink-2); }
.nw-kind { font-weight: 600; color: var(--accent); }
.nw-meta .nw-kind { padding: 0; }
.nw-meta time, .nb-meta time { cursor: help; text-decoration: underline dotted; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.nw-h { font: 500 19px/1.3 var(--display); letter-spacing: -.012em; }
.nw-h a, .nb-link { text-decoration: none; color: var(--ink); }
.nw-h a:hover, .nb-link:hover { color: var(--accent); text-decoration: underline; }
.nw-h .i, .nb-link .i, .nw-also .i { width: 13px; height: 13px; margin-left: 5px; vertical-align: -1px; color: var(--ink-3); display: inline-block; }
.nw-ex { font: 400 15px/1.55 var(--display); color: var(--ink-2); overflow-wrap: anywhere; }
.nw-tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.nw-tags a { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nw-tags a:hover { color: var(--ink); border-color: var(--ink); }
.nw-also { margin-top: auto; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.nw-also a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.nw-also .i { margin-left: 3px; width: 12px; height: 12px; color: inherit; }
/* story media: publisher image (credited) or drawn topic artwork; videos add a play badge (no embedded player) */
.nw-card { padding: 0; overflow: hidden; gap: 0; }
.nw-body { display: flex; flex-direction: column; gap: var(--s2); flex: 1; padding: var(--s4) var(--s5) var(--s4); }
.nw-thumb, .nb-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.nw-thumb img, .nb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nw-card:hover .nw-thumb img, .nb-item:hover .nb-thumb img { transform: scale(1.03); }
.nw-credit { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: #fff; background: rgba(6, 7, 8, .62); }
.nw-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 7, 8, .72); color: #fff; }
.nw-play .i { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.nw-art { --t: #855508; position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: #f2f1ec;
  background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--t) 70%, transparent), transparent 60%),
    linear-gradient(135deg, var(--night-2), var(--night) 70%); }
.nw-art::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(242, 241, 236, .05) 22px 23px); }
.nw-art-i { position: relative; width: 34%; max-width: 120px; height: auto; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.nw-art-l { position: absolute; left: 12px; bottom: 10px; font: 600 11px/1 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--night-accent); }
.nw-art.t-charging { --t: #2f7d5b; } .nw-art.t-fsd, .nw-art.t-robotaxi { --t: #3c6f93; } .nw-art.t-software { --t: #5a5fa8; }
.nw-art.t-recall, .nw-art.t-safety { --t: #a13a1f; } .nw-art.t-battery, .nw-art.t-energy { --t: #b7791f; }
.nw-art.t-price { --t: #6b7d2a; } .nw-art.t-service { --t: #6a6f78; } .nw-art.t-texas { --t: #9b4a1c; }
.nw-flag { padding: 1px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); }
/* lead story: spans the grid, image beside the text on wide screens */
.nw-lead { grid-column: 1 / -1; }
@media (min-width: 861px) {
  .nw-lead .nw-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .nw-lead .nw-thumb { aspect-ratio: auto; min-height: 340px; }
  .nw-lead .nw-body { padding: var(--s6); justify-content: center; }
  .nw-lead .nw-h { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.18; letter-spacing: -.02em; }
  .nw-lead .nw-ex { font-size: 17px; }
}
/* topic chart */
.nw-chart { margin-top: var(--s5); padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.nw-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); }
.nw-chart-h { font: 600 13px/1.2 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.nw-chart-n { font-size: 13px; color: var(--ink-3); }
.nw-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px var(--s5); }
.nw-bar-b { width: 100%; display: grid; grid-template-columns: 110px minmax(0, 1fr) 28px; align-items: center; gap: var(--s2); min-height: 32px; padding: 2px 4px; border: 0; border-radius: 4px; background: none; color: var(--ink-2); font: 500 14px/1.2 var(--display); text-align: left; cursor: pointer; }
.nw-bar-b:hover { background: var(--accent-soft); color: var(--ink); }
.nw-bar-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nw-bar-f { height: 10px; border-radius: 999px; background: var(--bg-2); position: relative; overflow: hidden; }
.nw-bar-f::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--accent); transform-origin: left; animation: nw-grow .9s var(--ease) both; }
@keyframes nw-grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .nw-bar-f::after { animation: none; } .nw-thumb img, .nb-thumb img { transition: none; } }
.nw-bar-n { font: 500 13px/1 var(--num); color: var(--ink-3); text-align: right; }
/* home strip and topic boxes get images too */
.nb-grid .nb-item { padding: 0; overflow: hidden; flex-direction: column; justify-content: flex-start; gap: 0; }
.nb-grid .nb-text { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: var(--s3) var(--s4) var(--s4); }
.news-box .nb-item { grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: var(--s3); }
.news-box .nb-thumb { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.news-box .nw-credit { display: none; }
.news-box .nw-art-i { width: 46%; } .news-box .nw-art-l { display: none; }
.nb-text { display: grid; gap: 4px; min-width: 0; }
/* loading skeleton, empty and error states */
.nw-sk { flex-direction: column; gap: 10px; padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.nw-sk .sk { display: block; height: 12px; }
.nw-sk .nw-sk-meta { width: 34%; }
.nw-sk .nw-sk-h { height: 20px; width: 92%; }
.nw-sk .nw-sk-h.short { width: 60%; }
.nw-sk .nw-sk-p { width: 100%; }
.nw-sk .nw-sk-p:last-child { width: 72%; }
html:not(.js) .nw-sk { display: none; }
.nw-state { margin-top: var(--s2); }
.nw-msg { display: grid; gap: var(--s2); justify-items: start; padding: var(--s5); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.nw-msg.err { border-left-color: var(--warn); }
.nw-msg-h { font-size: 18px; font-weight: 500; }
.nw-msg p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.nw-msg .btn { margin-top: var(--s1); }
.nw-sources { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 60em; }

/* "Latest on this topic" (inside a guide or hub article) */
.prose > .news-slot:empty { margin: 0; }
.news-box { font: 400 15px/1.5 var(--display); padding: var(--s4) var(--s5); background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.nb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s1) var(--s4); padding-bottom: var(--s2); }
.prose .news-box .nb-h, .nb-h { margin: 0; font: 600 13px/1.2 var(--display); font-stretch: 118%; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prose .news-box a { color: inherit; }
.news-box .nb-more { color: var(--accent) !important; text-decoration: underline; text-underline-offset: 3px; }
.prose .news-box ul, .nb-list { list-style: none; margin: 0; padding: 0; }
.prose .news-box li, .nb-item { margin: 0; padding: var(--s3) 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.nb-link { font-size: 16px; font-weight: 500; line-height: 1.35; }
.prose .news-box .nb-link { color: var(--ink); }
.prose .news-box .nb-link:hover { color: var(--accent); }
.nb-note { font-size: 13px; line-height: 1.5; color: var(--ink-3); padding-top: var(--s2); border-top: 1px solid var(--line); }
.prose .news-box .nb-note { margin: 0; }
/* home page strip */
.nb-strip { padding-top: 0; }
.nb-strip .sec-head { margin-bottom: var(--s4); }
.nb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.nb-grid .nb-item { align-content: start; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.nb-grid .nb-item { display: flex; flex-direction: column; justify-content: flex-start; gap: 0; overflow: hidden; }
.nb-strip .nb-note { border-top: 0; padding-top: var(--s3); }
@media (max-width: 1000px) { .nb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nw-list { grid-template-columns: minmax(0, 1fr); }
  .nw-group { display: grid; gap: 4px; }
  .nw-gl { width: auto; }
  .nw-chips { padding-inline: 0; }
}
@media (max-width: 640px) {
  .nb-grid { grid-template-columns: minmax(0, 1fr); }
  .nb-grid .nb-item { padding: 0; }
  .nw-sk { padding: var(--s4); }
  .nw-body { padding: var(--s4); }
  .news-box .nb-item { grid-template-columns: 76px minmax(0, 1fr); }
  .nw-h { font-size: 18px; }
  .news-box { padding: var(--s3) var(--s4); }
}
@media (max-width: 860px), (pointer: coarse) { .nw-tags a { min-height: 32px; } .nb-more { min-height: 44px; display: inline-flex; align-items: center; } }
.nowrap { white-space: nowrap; }
.nw-format .chip { justify-self: start; }
@media (max-width: 860px) { .nw-format { padding-left: 0; } }
@media (max-width: 860px) { .js.nav-open .hdr .nav a.nav-cta { background: var(--on-night); color: #0b0c0e; } }
/* header: "News" joined the nav; keep every item and the CTA on one line down to the phone menu breakpoint */
.nav a.nav-cta { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1100px) {
  .hdr .shell { gap: var(--s3); }
  .nav a, .nav-dd-btn { padding: 10px 9px; font-size: 14px; }
  .nav a.nav-cta { margin-left: var(--s1); padding: 10px 14px; }
  .mark span { letter-spacing: .14em; }
}

/* ---------- usability pass (2026-10-08): tables, phones, touch ---------- */
.tbl { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--s4) 0; }
.tbl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prose .tbl table { display: table; margin: 0; }
.prose table { display: table; }
@media (max-width: 640px) {
  .tbl { background: linear-gradient(90deg, var(--bg) 30%, transparent) left / 24px 100% no-repeat local,
           linear-gradient(270deg, var(--bg) 30%, transparent) right / 24px 100% no-repeat local,
           radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .18), transparent) right / 10px 100% no-repeat scroll; }
  .glance .tbl table, .glance table { min-width: 0; }
  .prose .glance th, .prose .glance td { min-width: 0; }
  .prose .glance thead { display: none; }
  .prose .glance tr { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .prose .glance tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .prose .glance td { padding: 0; border: 0; }
  .dir-filters, .nw-chips { flex-wrap: wrap; overflow: visible; }
}
@media (pointer: coarse) {
  input, select, textarea, .dir-search { font-size: 16px; }
  .dir-search { height: 44px; }
  .geo, .pv-shop .more, .l-checked a, .al-link { min-height: 44px; display: inline-flex; align-items: center; }
}
.faq-q summary { padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.mark { padding-block: 12px; margin-block: -12px; }
.rc-fix { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--warn); margin-bottom: 6px; }
.rc-fix.ota { color: var(--ok); }
