/* County pages: state -> county zoom on the hero map. Builds on state.css. */
.ct-map svg:not(.ct-locator) { overflow: hidden; border-radius: 14px; }
.ct-zoom { transform-origin: 0 0; transform: none; animation: ctZoom 2.6s cubic-bezier(.7,0,.2,1) both; }
@keyframes ctZoom {
  0%, 38% { transform: translate(var(--zx), var(--zy)) scale(var(--zs)); }
  100% { transform: none; }
}
.ct-state { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.35); stroke-width: 1.2; stroke-dasharray: 4 4; }
.ct-sib path { fill: rgba(61,224,255,.05); stroke: rgba(61,224,255,.45); stroke-width: 1; transition: fill .25s; }
.ct-sib:hover path, .ct-sib:focus path { fill: rgba(61,224,255,.16); }
.ct-county { animation: ctGlow 2.6s ease both; }
@keyframes ctGlow { 0%, 20% { opacity: 0; } 38% { opacity: 1; } }
.ct-edge { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(212,255,58,.6)); }
.ct-after { opacity: 0; animation: stPin .6s 2.5s ease forwards; }
.ct-after .st-pin, .ct-after .st-tour { animation: none; opacity: 1; }
.ct-pin text { font-size: 13px; }
.ct-sib-label { font: 600 10px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .16em; fill: rgba(61,224,255,.55); pointer-events: none; }
.st-map[data-active="tours"] .ct-after .st-pin { opacity: .18; }
.ct-zoomtxt::after { content: attr(data-a); animation: ctTxt 2.6s steps(1) forwards; }
@keyframes ctTxt { 0% { content: attr(data-a); } 60%, 100% { content: attr(data-b); } }
.st-map .ct-locator { position: absolute; right: 22px; bottom: 74px; width: 92px; height: auto; padding: 8px; border-radius: 12px; background: rgba(8,9,12,.72); border: 1px solid var(--line-2); opacity: 0; animation: stPin .5s 2.7s ease forwards; pointer-events: none; }
.ct-loc-state { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.45); stroke-width: 1; }
.ct-loc-county { fill: var(--lime); stroke: var(--lime); stroke-width: .6; }
.ct-lg-sib { width: 10px; height: 8px; border: 1px solid rgba(61,224,255,.6); background: rgba(61,224,255,.1); }
.st-map.ct-map:not(:has(.st-chips)) .ct-locator { bottom: 46px; }

/* Cities grid */
.ct-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ct-cities li { display: flex; flex-direction: column; gap: .45rem; padding: 20px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.ct-cities strong { font: 600 1.15rem/1.2 var(--display); letter-spacing: -.01em; }
.ct-city-sub { color: var(--dim); font-size: .82rem; }

/* State page: county outlines on the state map */
.st-county path { fill: rgba(61,224,255,.07); stroke: rgba(61,224,255,.55); stroke-width: 1; transition: fill .2s; }
.st-county:hover path, .st-county:focus path { fill: rgba(61,224,255,.22); }
.st-counties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.st-counties a { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .25s, transform .25s; }
.st-counties a:hover { border-color: var(--lime); transform: translateY(-4px); }
.st-counties strong { font: 600 1.2rem/1.2 var(--display); }
.st-counties span { color: var(--muted); font-size: .86rem; }
.st-counties em { font-style: normal; margin-top: auto; padding-top: .6rem; color: var(--lime); font-size: .85rem; font-weight: 600; }

@media (max-width: 640px) { .st-map .ct-locator { width: 70px; right: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .ct-zoom, .ct-county, .ct-after, .ct-locator { animation: none; opacity: 1; }
  .ct-zoomtxt::after { content: attr(data-b); animation: none; }
}

/* City pages: county -> city zoom */
.cy-zoom { transform-origin: 0 0; animation: cyZoom 2.6s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes cyZoom {
  0%, 38% { transform: none; }
  100% { transform: translate(var(--zx), var(--zy)) scale(var(--zs)); }
}
.cy-radar circle, .cy-radar line { fill: none; stroke: rgba(212,255,58,.32); stroke-width: 1; }
.cy-sweep { fill: rgba(212,255,58,.1); stroke: none; }
.cy-radar line { stroke-dasharray: 3 5; }
.cy-other .st-dot { fill: rgba(255,255,255,.5); }
.cy-other text { fill: rgba(255,255,255,.6); }
.cy-target text { font: 700 15px/1 var(--display); fill: #fff; }
.cy-here-tour rect { transform: rotate(45deg) scale(1.25); }
.ct-cities a { display: contents; color: inherit; text-decoration: none; }
.ct-cities li:has(a) { border-color: rgba(212,255,58,.45); transition: transform .25s, border-color .25s; }
.ct-cities li:has(a):hover { transform: translateY(-4px); border-color: var(--lime); }
.ct-cities li:has(a) .ct-city-sub { color: var(--lime); }
@media (prefers-reduced-motion: reduce) {
  .cy-zoom { animation: none; transform: translate(var(--zx), var(--zy)) scale(var(--zs)); }
  .cy-sweep { display: none; }
}
