/* georgiaeconomics.com — home page only (December 2026 redesign)
 * ============================================================================
 * Linked ONLY by index.html, outside the GEN:HEAD markers so
 * scripts/build_site.py will not strip it. Every rule is scoped to `body.home`
 * so nothing here can reach the inner pages — in particular
 * `main { max-width: none }`, which the full-width bands need.
 *
 * Tokens (--ge-*), .lbl / .num / .up / .dn and the page chrome come from
 * assets/eig.css. Behaviour is in assets/home.js; the words in the lead are
 * written by scripts/build_home.py. See REDESIGN.md.
 * ============================================================================ */

body.home main { max-width: none; margin: 0; padding: 0; }
body.home .hm-wrap { max-width: var(--ge-wrap, 1320px); margin: 0 auto; padding: 0 var(--ge-gutter, 32px); }
body.home .site-footer { margin-top: 0; }
body.home h2 { margin: 8px 0 0; font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--ge-ink); }
body.home a:hover { text-decoration: none; }

/* A ruled row: used by "what moved", the sector table, the metro table and the index. */
body.home .hm-more { font-weight: 600; font-size: 15px; padding: 10px 0; color: var(--ge-ink); white-space: nowrap; }
body.home .hm-more:hover { color: var(--ge-amber-text); }
body.home .hm-btn {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  background: var(--ge-ink); color: #fff; font-weight: 600; font-size: 15px;
}
body.home .hm-btn:hover { background: #000; color: #fff; }

/* ── KPI strip ─────────────────────────────────────────────────────────── */
body.home .hm-kpis { background: var(--ge-band); border-bottom: 1px solid var(--ge-ink); min-height: 86px; }
body.home #hm-kpis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
body.home .hm-kpi {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 14px 15px 0; margin-right: 14px;
  border-right: 1px solid var(--ge-hair-2); color: var(--ge-ink); min-width: 0;
}
body.home .hm-kpi:last-child { border-right: 0; margin-right: 0; }
body.home .hm-kpi__v { font-size: 25px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
body.home .hm-kpi__d { font: 400 11.5px/1.3 var(--ge-mono); color: var(--ge-faint); }
body.home .hm-kpi__d.good { color: var(--ge-up); }
body.home .hm-kpi__d.bad { color: var(--ge-dn); }
body.home .hm-kpi:hover .hm-kpi__v { color: var(--ge-amber-text); }
@media (max-width: 1180px) {
  body.home #hm-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.home .hm-kpi:nth-child(4n) { border-right: 0; margin-right: 0; }
  body.home .hm-kpi:nth-child(-n+4) { border-bottom: 1px solid var(--ge-hair-2); }
}
@media (max-width: 620px) {
  body.home #hm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .hm-kpi { border-bottom: 1px solid var(--ge-hair-2); }
  body.home .hm-kpi:nth-child(2n) { border-right: 0; margin-right: 0; }
  body.home .hm-kpi:nth-child(4n) { border-right: 0; }
  body.home .hm-kpi:nth-child(2n+1) { border-right: 1px solid var(--ge-hair-2); margin-right: 14px; }
  body.home .hm-kpi:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
body.home .hm-hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 56px; padding-top: 52px; padding-bottom: 64px; }
body.home .hm-lead { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
body.home .hm-kicker { color: var(--ge-amber-text); }
body.home .hm-lead h1 {
  margin: 0; font-family: var(--ge-sans); font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02;
  letter-spacing: -.04em; font-weight: 600; color: var(--ge-ink);
}
body.home .hm-fig { box-shadow: inset 0 -.16em 0 var(--ge-amber); }
body.home .hm-lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ge-muted); max-width: 46ch; }
body.home .hm-moved__h { padding-bottom: 8px; border-bottom: 1px solid var(--ge-ink); }
body.home .hm-moved__row {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center;
  min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--ge-hair); font-size: 14.5px; color: var(--ge-ink);
}
body.home .hm-moved__row:hover > span:last-child { color: var(--ge-amber-text); }

body.home .hm-find { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; }
body.home .hm-find > label { color: var(--ge-ink); }
body.home .hm-find__box { position: relative; display: flex; border: 2px solid var(--ge-ink); }
body.home .hm-find__box input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 52px; padding: 0 16px;
  font-family: var(--ge-sans); font-size: 16px; color: var(--ge-ink);
}
body.home .hm-find__box input::placeholder { color: var(--ge-faint); }
body.home .hm-find__box button {
  border: 0; cursor: pointer; padding: 0 22px; background: var(--ge-ink); color: #fff;
  font-family: var(--ge-sans); font-weight: 600; font-size: 15px; white-space: nowrap;
}
body.home .hm-find__box button:hover { background: #000; }
body.home .hm-find__results {
  position: absolute; z-index: 20; top: 100%; left: -2px; right: -2px;
  background: #fff; border: 2px solid var(--ge-ink); border-top: 1px solid var(--ge-ink); padding: 4px;
}
body.home .hm-find__results a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 12px; color: var(--ge-ink); font-weight: 500;
}
body.home .hm-find__results a.active, body.home .hm-find__results a:hover { background: var(--ge-band); }
body.home .hm-find__results small { font: 500 10.5px/1 var(--ge-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ge-faint); }
body.home .hm-find__pop { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--ge-faint); }
body.home .hm-find__pop a { color: var(--ge-ink); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
body.home .hm-find__pop a:hover { color: var(--ge-amber-text); text-decoration: underline; }

/* ── County map panel ──────────────────────────────────────────────────── */
body.home .hm-map { flex: 1.35 1 560px; min-width: 0; border: 1px solid var(--ge-ink); }
body.home .hm-map__tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ge-ink); min-height: 48px; }
body.home .hm-map__tabs button {
  flex: 1 1 auto; min-height: 48px; padding: 0 18px; border: 0; border-right: 1px solid var(--ge-ink);
  background: #fff; color: var(--ge-ink); cursor: pointer; font: 600 14.5px var(--ge-sans);
}
body.home .hm-map__tabs button:last-child { border-right: 0; }
body.home .hm-map__tabs button[aria-pressed="true"] { background: var(--ge-ink); color: #fff; }
body.home .hm-map__body { display: flex; flex-wrap: wrap; gap: 28px 32px; padding: 24px; }
body.home .hm-map__left { flex: 2.2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
body.home .hm-map__side { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
body.home .hm-map__canvas { position: relative; width: 100%; max-width: 500px; margin: 0 auto; aspect-ratio: 520 / 602; }
body.home .hm-map__canvas svg { display: block; width: 100%; height: auto; }
body.home .hm-map__canvas path { stroke: #fff; stroke-width: .7; stroke-linejoin: round; cursor: pointer; transition: fill .15s ease; }
body.home .hm-map__canvas a:hover path, body.home .hm-map__canvas a:focus path { stroke: var(--ge-ink); stroke-width: 1.6; }
body.home .hm-map__fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 600; color: var(--ge-ink); text-decoration: underline; }
body.home .hm-city {
  position: absolute; transform: translate(-4px, -50%); display: flex; align-items: center; gap: 5px;
  font: 600 11.5px var(--ge-sans); color: var(--ge-ink); white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}
body.home .hm-city i { width: 6px; height: 6px; background: var(--ge-ink); border: 1.5px solid #fff; border-radius: 50% !important; flex: none; }
body.home .hm-city--left { flex-direction: row-reverse; transform: translate(calc(-100% + 4px), -50%); }
body.home .hm-tip {
  position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 10px));
  background: var(--ge-ink); color: #fff; padding: 6px 10px; font-size: 13px; white-space: nowrap;
}
body.home .hm-tip b { font-weight: 600; }
body.home .hm-tip span { font-family: var(--ge-mono); margin-left: 8px; color: #ffc46e; }
body.home .hm-map__legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
body.home .hm-leg { display: flex; flex-direction: column; gap: 5px; font-size: 12px; line-height: 1.25; }
body.home .hm-leg i { display: block; height: 12px; }
body.home .hm-leg small { font: 400 11.5px/1.2 var(--ge-mono); color: var(--ge-faint); }
body.home .hm-map__title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
body.home #hm-map-lists { display: flex; flex-direction: column; gap: 22px; }
body.home .hm-list__h { padding-bottom: 6px; border-bottom: 1px solid var(--ge-ink); }
body.home .hm-list a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ge-hair); font-size: 14px; color: var(--ge-ink); }
body.home .hm-list a:hover { color: var(--ge-amber-text); }

/* ── Labor band ────────────────────────────────────────────────────────── */
body.home .hm-band { background: var(--ge-band); border-top: 1px solid var(--ge-ink); border-bottom: 1px solid var(--ge-ink); padding: 44px 0 56px; }
body.home .hm-sechead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
body.home .hm-labor { display: flex; flex-wrap: wrap; gap: 40px 56px; }
body.home .hm-chart { flex: 1.4 1 480px; min-width: 0; background: #fff; border: 1px solid var(--ge-ink); padding: 22px 24px 16px; }
body.home .hm-sectors { flex: 1 1 380px; min-width: 0; }
body.home .hm-chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; font-weight: 600; font-size: 16px; }
body.home .hm-chart__head--rule { padding-bottom: 10px; border-bottom: 1px solid var(--ge-ink); }
body.home .hm-chart__svg { margin-top: 10px; aspect-ratio: 2 / 1; }
body.home .hm-chart__svg svg { display: block; width: 100%; height: auto; overflow: visible; }
body.home .hm-chart__svg text { font-family: var(--ge-mono); font-size: 12px; fill: var(--ge-faint); }
body.home .hm-chart__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; margin: 10px 0 16px; padding-top: 14px; border-top: 1px solid var(--ge-ink); }
body.home .hm-stat__v { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; }
body.home .hm-stat__v .num { font-size: 12.5px; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
body.home .hm-sec {
  display: grid; grid-template-columns: minmax(0, 1fr) 116px 52px 64px; column-gap: 14px; align-items: center;
  min-height: 41px; border-bottom: 1px solid var(--ge-hair-2); font-size: 14px;
}
body.home .hm-sec .num { text-align: right; }
body.home .hm-sec .num:last-child { color: var(--ge-faint); }
body.home .hm-bar { position: relative; height: 12px; }
body.home .hm-bar::before { content: ""; position: absolute; left: var(--zero); top: -6px; bottom: -6px; width: 1px; background: var(--ge-ink); }
body.home .hm-bar i { position: absolute; top: 0; height: 100%; background: var(--ge-ink); }
body.home .hm-bar i.neg { background: var(--ge-dn); }
@media (max-width: 480px) {
  body.home .hm-sec { grid-template-columns: minmax(0, 1fr) 52px 64px; }
  body.home .hm-sec .hm-bar { display: none; }
  body.home .hm-chart { padding: 18px 16px 14px; }
  body.home .hm-map__body { padding: 16px; }
}

/* ── Metros ────────────────────────────────────────────────────────────── */
body.home .hm-metros { display: flex; flex-wrap: wrap; gap: 36px 56px; padding-top: 56px; padding-bottom: 64px; }
body.home .hm-metros__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
body.home .hm-metros__side h2 { margin: 0; }
body.home .hm-metros__side p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ge-muted); }
body.home .hm-call { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; border-bottom: 1px solid var(--ge-hair); font-size: 14.5px; }
body.home .hm-call:first-child { border-top: 1px solid var(--ge-ink); }
body.home .hm-call b { font-weight: 600; }
body.home .hm-metros__table { flex: 2.2 1 620px; min-width: 0; }
body.home .hm-scroll { overflow-x: auto; }
body.home .hm-mtable { min-width: 620px; }
body.home .hm-mrow {
  display: grid; grid-template-columns: 1.3fr .9fr 1.5fr .8fr 1.3fr; column-gap: 16px; align-items: center;
  min-height: 44px; border-bottom: 1px solid var(--ge-hair); font-size: 14.5px; color: var(--ge-ink);
}
body.home a.hm-mrow:hover { background: var(--ge-band); color: var(--ge-ink); }
body.home .hm-mrow > :first-child { padding-left: 10px; font-weight: 500; }
body.home .hm-mrow--head { min-height: 34px; border-bottom: 1px solid var(--ge-ink); font-size: 11px; }
body.home .hm-mrow--head > :first-child { font-weight: 500; }
body.home .hm-mrow--state { background: var(--ge-band); font-weight: 600; }
body.home .hm-mrow--state > :first-child { font-weight: 600; }
body.home .hm-mrow .r { text-align: right; color: var(--ge-muted); }
body.home .hm-mrow--state .r { color: var(--ge-ink); }
body.home .hm-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.home .hm-cell .num:first-child { flex: none; width: 46px; }
body.home .hm-urbar { height: 10px; background: #cfc8c0; }
body.home .hm-urbar.hi { background: var(--ge-amber); }
body.home .hm-mrow--state .hm-urbar { background: var(--ge-ink); }
body.home .hm-cell .hm-bar { flex: 1; height: 10px; }
body.home .hm-mnote { margin-top: 12px; }

/* ── Index ─────────────────────────────────────────────────────────────── */
body.home .hm-index { border-top: 1px solid var(--ge-ink); padding: 44px 0 72px; }
body.home .hm-index h2 { margin-bottom: 30px; }
body.home .hm-idx { display: flex; flex-wrap: wrap; gap: 40px 56px; }
body.home .hm-idx__col { flex: 1 1 360px; min-width: 0; }
body.home .hm-idx__col--wide { flex: 1.25 1 420px; }
body.home .hm-idx__h { padding-bottom: 8px; border-bottom: 2px solid var(--ge-ink); color: var(--ge-ink); }
body.home .hm-idx__h--gap { margin-top: 40px; }
body.home .hm-idx__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; column-gap: 16px; align-items: center;
  min-height: 57px; padding: 6px 0; border-bottom: 1px solid var(--ge-hair); color: var(--ge-ink);
}
body.home .hm-idx__row b { display: block; font-weight: 600; font-size: 16px; }
body.home .hm-idx__row small { display: block; font-size: 13px; color: var(--ge-faint); }
body.home .hm-idx__row .num { font-size: 15px; }
body.home .hm-idx__row:hover b { color: var(--ge-amber-text); }
