/* Clint — Clinton, TN resident guide. White, quiet, precise.
   Accent system: orange #F9690E on near-black #171717. */
:root {
  --ink: #171717;
  --ink-soft: #444;
  --dim: #8a8a8a;
  --line: #ececec;
  --orange: #f9690e;
  --orange-soft: #fff3ea;
  --bg: #ffffff;
  --radius: 18px;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* overscroll-behavior: kill the rubber-band bounce so fixed chrome (tab bar,
   sticky nav) can't get dragged along when a scroll runs past the page ends */
html { scroll-behavior: smooth; overscroll-behavior-y: none; }
body {
  overscroll-behavior-y: none;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .01em; text-decoration: none; font-size: 19px; }
.brand svg { width: 30px; height: 41px; }
.brand small { color: var(--dim); font-weight: 500; font-size: 14px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 7px 16px; border-radius: 999px;
  font-weight: 600;
}

/* ---- hero ---- */
.hero { padding: 84px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .18em; font-weight: 700; color: var(--orange); }
.hero h1 {
  font-size: clamp(36px, 5.2vw, 58px); line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 700; margin: 16px 0 18px;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.hero-sub b { color: var(--ink); }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.hero-free { margin-top: 16px; font-size: 13px; color: var(--dim); }
.hero-free b { color: var(--orange); }

.hero-orb { display: grid; place-items: center; position: relative; }
.hero-orb canvas { display: block; }
.orb-caption { position: absolute; bottom: -6px; font-size: 12px; color: var(--dim); letter-spacing: .08em; }
.orb-caption b { color: var(--ink); }

/* ---- minimal landing ---- */
.hero-solo { min-height: calc(100vh - 70px - 120px); display: flex; align-items: center; }
.foot-mini { border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 12.5px; color: var(--dim); }
.foot-mini a { color: var(--ink-soft); }
.foot-mini .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px 28px; flex-wrap: wrap; }

/* official Facebook mark → City of Clinton page; lives in every footer */
.fb-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 12.5px;
  flex: 0 0 auto; white-space: nowrap;
}
.fb-link svg { width: 18px; height: 18px; fill: #1877f2; flex: 0 0 auto; }
.fb-link:hover { color: #1877f2; }

/* ---- Ask Clint page — Quill-parity layout (QuickStage support):
       orb centered in the left column, chat filling the right.
       Same dimensions as Quill: grid minmax(300px,430px) 1fr,
       min-height 580px, 240px orb. ---- */
.ask-page { padding: 26px 0 60px; }
.ask-panel { padding: 0; overflow: hidden; }
.ask-grid { display: grid; grid-template-columns: minmax(300px, 430px) 1fr; min-height: 580px; }
.ask-orbcol {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 30px 26px; border-right: 1px solid var(--line);
  background: radial-gradient(62% 52% at 50% 44%, rgba(249, 105, 14, 0.07), transparent 72%);
}
.bigorb { width: 240px; height: 240px; cursor: pointer; }
.ask-orbcol .voice-hint { text-align: center; line-height: 1.5; max-width: 30ch; }
.ask-chatcol { display: flex; flex-direction: column; gap: 13px; padding: 24px; min-width: 0; }
.ask-chatcol .chips { justify-content: flex-end; margin-bottom: 0; }
.ask-chatcol .chips-label { text-align: right; margin-bottom: 0; }
.ask-chatcol .access {
  border: 1px solid var(--line); border-radius: 14px; background: #fafafa; padding: 15px; margin-bottom: 0;
}
.ask-chatcol .tx { flex: 1; min-height: 96px; max-height: none; }
.ask-foot { font-size: 12.5px; color: var(--dim); margin-top: 14px; line-height: 1.55; }
.ask-foot a { color: var(--ink-soft); }
@media (max-width: 860px) {
  .ask-grid { grid-template-columns: 1fr; }
  .ask-orbcol { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---- ask section ---- */
.ask { padding: 40px 0 70px; }
.panel {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 28px; box-shadow: 0 24px 60px -46px rgba(23,23,23,.35);
  background: #fff;
}
.panel-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font-size: 24px; letter-spacing: -0.01em; }
.panel-head span { color: var(--dim); font-size: 14px; }
.voice-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.voice-btn {
  background: var(--orange); color: #fff; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  padding: 12px 24px; border-radius: 999px; font-size: 15px;
}
.voice-btn:hover { filter: brightness(1.05); }
.voice-hint { font-size: 13px; color: var(--dim); }

.chips-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px;
  font: inherit; font-size: 13px; color: var(--ink-soft); cursor: pointer;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }

.access { margin-bottom: 12px; }
.acc-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.acc-step { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.access input {
  flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font: inherit; font-size: 14px; background: #fafafa;
}
.access input:focus { outline: 2px solid var(--orange); outline-offset: 0; background: #fff; }
.gbtn {
  background: var(--ink); color: #fff; border: 0; border-radius: 12px; padding: 11px 18px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.gbtn:disabled { opacity: .55; cursor: default; }
.gbtn.sent { background: #1a9d55; opacity: 1; animation: sentPop .35s ease; }
@keyframes sentPop { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .gbtn.sent { animation: none; } }
.gate-sent { color: #1a9d55; }
.gate-note { font-size: 13px; color: var(--dim); line-height: 1.55; }
.gate-note a { color: var(--orange); }
.gate-err { color: #c62b12; font-size: 13px; margin-top: 6px; }
.acc-ok { font-size: 14px; color: var(--ink-soft); }
.acc-ok a { color: var(--dim); font-size: 13px; }
.acc-dot { color: #1a9d55; font-weight: 700; margin-right: 4px; }

.meter { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); margin-bottom: 10px; }
.meter-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); display: inline-block; }

.tx { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.msg.user { align-self: flex-end; background: var(--orange-soft); color: #7a3208; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: #f5f5f4; color: var(--ink); border-bottom-left-radius: 5px; }
.msg.typing { color: var(--dim); }
.in-row { display: flex; gap: 10px; align-items: flex-end; }
.cin {
  flex: 1; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font: inherit;
  font-size: 14.5px; resize: none; background: #fafafa;
}
.cin:focus { outline: 2px solid var(--ink); background: #fff; }
.cin:disabled { opacity: .55; }
.send-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  cursor: pointer; display: grid; place-items: center; flex: 0 0 auto;
}
.send-arrow svg { width: 20px; height: 20px; }
.send-arrow:disabled { opacity: .4; cursor: default; }

/* ---- guide ---- */
.guide { padding: 30px 0 60px; }
.section-head { margin-bottom: 28px; max-width: 60ch; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; margin: 10px 0 10px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }
/* ---- guide finder — search + category rail, sticks under the nav ---- */
.finder {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; margin-bottom: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.finder-row { display: flex; gap: 10px; align-items: center; }
.finder-search { position: relative; flex: 1; }
.finder-search svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--dim); pointer-events: none;
}
.finder-search input {
  width: 100%; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 38px 10px 38px; font: inherit; font-size: 14px; background: #fafafa;
}
.finder-search input:focus { outline: 2px solid var(--orange); background: #fff; }
.finder-search input::-webkit-search-cancel-button { display: none; } /* one clear button, ours */
.finder-clear {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--line);
  color: var(--ink-soft); font-size: 13px; line-height: 1; cursor: pointer; display: none;
}
.finder-search.has-q .finder-clear { display: block; }
.finder-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.fcat {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px;
  font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: all .15s ease;
}
.fcat i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--dim); }
.fcat:hover { border-color: var(--orange); color: var(--orange); }
.fcat.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fcat.on i { color: rgba(255,255,255,0.65); }
.finder-count { font-size: 12px; color: var(--dim); }
.finder-count b { color: var(--ink); }
.finder-empty {
  grid-column: 1 / -1; text-align: center; padding: 36px 20px;
  border: 1px dashed var(--line); border-radius: var(--radius); color: var(--dim); font-size: 14px;
}
.finder-empty .topic-ask { margin: 14px auto 0; align-self: center; display: inline-block; }
mark.fhit { background: var(--orange-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
@media (max-width: 900px) {
  .finder { top: 70px; padding: 10px 12px; border-radius: 14px; }
  .finder-cats { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  .fcat { flex: 0 0 auto; }
}
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.topic {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.topic:hover { box-shadow: 0 18px 44px -34px rgba(23,23,23,.4); transform: translateY(-2px); }
.topic-head { display: flex; align-items: center; gap: 10px; }
.topic-head h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.topic-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: 0 0 auto; }
.topic-ic svg { width: 18px; height: 18px; }
.topic-sum { font-size: 13.5px; color: var(--ink-soft); }
.topic-points { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.topic-points li { font-size: 12.5px; color: var(--dim); padding-left: 14px; position: relative; line-height: 1.5; }
.topic-points li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.topic-links { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; }
.topic-links a { font-size: 12.5px; color: var(--ink); text-decoration: none; font-weight: 600; }
.topic-links a:hover { color: var(--orange); }
.topic-ask {
  margin-top: auto; align-self: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.topic-ask:hover { border-color: var(--orange); color: var(--orange); }

/* ---- documents library ---- */
.docs { padding: 10px 0 60px; }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.doc:hover { box-shadow: 0 16px 40px -32px rgba(23, 23, 23, 0.4); transform: translateY(-2px); }
.doc b { font-size: 14px; color: var(--ink); }
.doc span { font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.doc small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .docs-grid { grid-template-columns: 1fr; } }

/* ---- tower band ---- */
.tower { padding: 40px 0 70px; }
.tower-band {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; overflow: hidden;
  border-radius: calc(var(--radius) + 8px); background: var(--ink); color: #fff;
}
.tower-band img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.tower-copy { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.tower-copy .eyebrow { color: var(--orange); }
.tower-copy h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.tower-copy p { color: #cfcfcf; font-size: 15px; max-width: 52ch; }
.tower-copy b { color: #fff; }

/* ---- contacts ---- */
.contacts { padding: 0 0 70px; }
.contacts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 5px; }
.contact b { font-size: 14px; }
.contact span { font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.contact a { font-size: 12.5px; color: var(--orange); text-decoration: none; font-weight: 600; }

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 34px 0 46px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); line-height: 1.6; }
.foot a { color: var(--ink-soft); }
.foot .disc { max-width: 62ch; }

/* ---- history timeline (Pinch-style scroll-linked rail + sticky card) ---- */
.hist-head { padding: 56px 0 8px; }
.hist-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; margin: 12px 0 10px; }
.hist-head p { color: var(--ink-soft); font-size: 16px; max-width: 58ch; }
.hist { padding: 34px 0 90px; }
.hist-grid { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: 44px; align-items: start; }
.hist-rail { position: relative; padding-left: 4px; }
.hist-line {
  position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px;
  background: var(--line); border-radius: 2px;
}
.hist-line-fill { width: 100%; background: var(--orange); border-radius: 2px; height: 0; transition: height .18s ease-out; }
.ev { position: relative; padding: 26px 0 26px 40px; cursor: pointer; }
.ev-dot {
  position: absolute; left: 7px; top: 32px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid #cfc7c0; transition: all .25s ease; z-index: 1;
}
.ev.on .ev-dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px var(--orange-soft); transform: scale(1.25); }
.ev-year { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: #b9aea6; transition: color .25s ease; }
.ev.on .ev-year { color: var(--ink); }
.ev-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-left: 8px; }
.ev.on .ev-tag { color: var(--orange); }
.ev-title { font-size: 14px; color: var(--dim); margin-top: 3px; line-height: 1.4; transition: color .25s ease; }
.ev.on .ev-title { color: var(--ink-soft); }
.ev-inline { display: none; }
.hist-stick { position: sticky; top: 92px; }
.hist-card {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: #fff;
  padding: 30px 32px; box-shadow: 0 24px 60px -46px rgba(23, 23, 23, 0.35); min-height: 380px;
}
.hc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.hc-tag { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.hc-date { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.hist-card h2 { font-size: 24px; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 12px; }
.hc-story { font-size: 15px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.hc-facts { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.hc-facts li { font-size: 13.5px; color: var(--ink-soft); padding-left: 16px; position: relative; line-height: 1.5; }
.hc-facts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hc-src { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hc-src a { font-size: 12.5px; color: var(--ink); font-weight: 600; text-decoration: none; }
.hc-src a:hover { color: var(--orange); }
.hc-in { animation: hcIn .28s ease; }
@keyframes hcIn { from { opacity: 0.35; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hc-in { animation: none; } }
@media (max-width: 860px) {
  /* mobile: card content renders inline under each rail entry */
  .hist-grid { grid-template-columns: 1fr; }
  .hist-stick { display: none; }
  .ev { cursor: default; padding: 22px 0 22px 36px; }
  .ev.on .ev-inline, .ev-inline { display: block; }
  .ev-inline { margin-top: 10px; }
  .ev-inline .hc-story { font-size: 14px; }
}

/* ---- civic map ---- */
.map-head { padding: 50px 0 6px; }
.map-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.02em; margin: 12px 0 10px; }
.map-head p { color: var(--ink-soft); font-size: 16px; max-width: 58ch; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.map-legend i.ml-line { width: 16px; height: 3px; border-radius: 2px; vertical-align: 2px; }
.mc-rel { margin: 2px 0 0; font-size: 13px; line-height: 1.65; color: var(--ink-soft); }
.mc-rel .rel-verb { font-style: italic; color: #9c4a0f; }
.mc-rel button { background: none; border: none; padding: 0; font: inherit; color: var(--ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(23,23,23,.25); text-underline-offset: 2px; }
.mc-rel button:hover { color: var(--orange); }
.map-body { padding: 24px 0 70px; }
.map-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.map-panel { position: relative; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); overflow: hidden; height: 620px; background: #fff; }
.map-panel canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.map-zoom {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.map-zoom button {
  width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); color: var(--ink);
  font: inherit; font-size: 18px; font-weight: 600; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 6px 18px -12px rgba(23,23,23,.4);
}
.map-zoom button:hover { border-color: var(--orange); color: var(--orange); }
.map-zoom .mz-reset { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.map-card {
  position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; background: #fff; min-height: 200px;
  display: flex; flex-direction: column; gap: 10px;
}
.map-card h2 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
.map-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.mc-type { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mc-src { font-size: 12px; color: var(--dim); }
.mc-links { display: flex; flex-direction: column; gap: 5px; }
.mc-links a { font-size: 13px; color: var(--ink); font-weight: 600; text-decoration: none; }
.mc-links a:hover { color: var(--orange); }
.mc-hint { font-size: 13px; color: var(--dim); line-height: 1.6; }
@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-panel { height: 62vh; min-height: 420px; }
  .map-card { position: static; }
}

/* ---- mobile tab bar — fixed lower menu (house pattern, QuickStage-style) ---- */
.tabbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 0; border-radius: 12px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.on { color: var(--orange); }
.tabbar a:active { background: var(--orange-soft); }
/* center voice button — raised orange orb, Clint front and center */
.tabbar .tab-clint { overflow: visible; }
.tab-clint .tc-btn {
  width: 54px; height: 54px; border-radius: 50%; margin-top: -30px;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 8px 22px rgba(249, 105, 14, 0.38);
}
.tab-clint .tc-btn svg { width: 26px; height: 26px; }
.tab-clint.on .tc-btn { background: var(--ink); box-shadow: 0 8px 22px rgba(23, 23, 23, 0.3); }
.tab-clint span { color: var(--orange); font-weight: 700; }
.tab-clint:active { background: transparent; }

@media (max-width: 900px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { display: flex; }
  /* mobile keeps one plain, obvious Contacts link in the top bar; the rest live in the tab bar */
  .nav-links a:not(.nav-contacts) { display: none; }
  .nav-contacts { font-weight: 600; color: var(--ink); padding: 8px 2px; }
  .hero { padding: 54px 0 24px; }
  .hero-solo { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-orb { order: -1; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .tower-band { grid-template-columns: 1fr; }
  .contacts-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  /* ask page stacks: orb centered on top, chat below (QuickStage mobile layout) */
  .ask-page { padding: 14px 0 40px; }
  .ask-grid { min-height: 0; }
  .ask-orbcol { padding: 26px 20px 22px; gap: 14px; }
  .ask-chatcol { padding: 18px 16px; }
  .ask-chatcol .chips { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .ask-chatcol .chips .chip { flex: 0 0 auto; }
  .ask-chatcol .tx { min-height: 120px; max-height: 44vh; }
}
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: 1fr; }
  .contacts-row { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .ask-panel { padding: 0; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 44px); }
}
