/* USLA "alive" layer — scroll reveals + small polish. Progressive enhancement:
   nothing is hidden unless usla-alive.js is running (html.usla-alive). */

html.usla-alive .usla-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
html.usla-alive .usla-reveal.in { opacity: 1; transform: none; }

/* gentle stagger on grids */
html.usla-alive .acq-county-tile.usla-reveal:nth-child(3n+2),
html.usla-alive .seller-story-card.usla-reveal:nth-child(3n+2),
html.usla-alive .lane-card.usla-reveal:nth-child(3n+2) { transition-delay: .07s; }
html.usla-alive .acq-county-tile.usla-reveal:nth-child(3n),
html.usla-alive .seller-story-card.usla-reveal:nth-child(3n),
html.usla-alive .lane-card.usla-reveal:nth-child(3n) { transition-delay: .14s; }

/* live price on home market tiles */
.acq-tile-price {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--red, #c8102e);
  text-align: left;
  line-height: 1.15;
}
.acq-tile-price.muted { color: #9a9aa0; font-size: 15px; }
.acq-tile-price small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 8.5px;
  color: #8a8a8a;
  letter-spacing: .08em;
  margin-top: 4px;
  text-transform: uppercase;
}
.acq-tile-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid rgba(200, 16, 46, .55);
  border-radius: 7px;
  color: #fff;
  background: rgba(200, 16, 46, .1);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .18s ease;
}
.acq-county-tile:hover .acq-tile-btn {
  background: var(--red, #c8102e);
  border-color: var(--red, #c8102e);
  box-shadow: 0 0 18px rgba(200, 16, 46, .35);
}
.acq-tile-btn.go {
  border-color: rgba(34, 197, 94, .5);
  background: rgba(34, 197, 94, .1);
  color: #38d878;
}
.acq-county-tile:hover .acq-tile-btn.go {
  background: rgba(34, 197, 94, .22);
  border-color: rgba(34, 197, 94, .9);
  box-shadow: 0 0 16px rgba(34, 197, 94, .25);
}

/* ── hero Florida map: pulsing active-market dots ───────────────────────── */
.hero-florida {
  position: absolute;
  right: 8%;
  top: 44%;
  transform: translateY(-50%);
  width: min(44vw, 600px);
  pointer-events: none;
  display: none;
  z-index: 1;
  animation: hfFloat 9s ease-in-out infinite;
}
@keyframes hfFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}
@media (min-width: 1020px) { .hero-florida { display: block; } }
.hero-florida svg { width: 100%; height: auto; filter: drop-shadow(0 0 34px rgba(200, 16, 46, .16)); }
.hf-outline {
  fill: rgba(200, 16, 46, .03);
  stroke: rgba(200, 16, 46, .5);
  stroke-width: .3;
  stroke-linejoin: round;
  animation: hfGlow 6s ease-in-out infinite;
}
@keyframes hfGlow {
  0%, 100% { stroke: rgba(200, 16, 46, .32); }
  50% { stroke: rgba(200, 16, 46, .75); }
}
.hf-dot { fill: #c8102e; transition: r .16s, filter .16s; }
/* dots are live links into the Sell My Land checker */
.hero-florida a.hf-county { pointer-events: auto; cursor: pointer; outline: none; }
.hf-hit { fill: transparent; }
.hf-county:hover .hf-dot, .hf-county:focus .hf-dot { r: 1.8; filter: drop-shadow(0 0 3px rgba(200, 16, 46, .95)); }
.hf-ping {
  fill: none;
  stroke: #c8102e;
  stroke-width: .35;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hfPing 3.2s ease-out infinite;
}
@keyframes hfPing {
  0% { opacity: .9; transform: scale(.6); }
  70% { opacity: 0; transform: scale(3.4); }
  100% { opacity: 0; transform: scale(3.4); }
}

/* ── active market tiles: alive on hover ────────────────────────────────── */
.acq-county-tile {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.acq-county-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, .6) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 26px rgba(200, 16, 46, .12);
}
.acq-county-tile::after {
  content: '→';
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: var(--red, #c8102e);
  font-size: 13px;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .18s ease, transform .18s ease;
}
.acq-county-tile:hover::after { opacity: 1; transform: none; }

/* ── ambient aurora sweep across the hero — slow, subtle, alive ─────────── */
.hero { position: relative; }
.hero::after {
  content: '';
  position: absolute;
  inset: -40% -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(38% 45% at 22% 30%, rgba(200, 16, 46, .10), transparent 70%),
    radial-gradient(30% 40% at 78% 62%, rgba(200, 16, 46, .07), transparent 70%);
  animation: uslaAurora 16s ease-in-out infinite alternate;
}
@keyframes uslaAurora {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); opacity: .75; }
  50%  { transform: translate3d(3%, 3%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.02); opacity: .8; }
}
.hero > .container { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  html.usla-alive .usla-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hf-ping, .hf-outline, .hero-florida, .hero::after { animation: none !important; }
}
