/* Hero, after Keyrate: one scene in Flamingo's own object. The map of Leonida lies tilted under the title and its pins
   drop in like a wave from the Keys to the park; a name card under the buttons cycles through real places. */
.lp-hero { isolation: isolate; overflow: hidden; justify-content: flex-start; min-height: min(100svh, 980px);
           padding-top: clamp(104px, 17vh, 176px); padding-bottom: 0; }
.lp-hero .hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
            -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.backdrop::after { content: ""; position: absolute; inset: 0;
            background: radial-gradient(ellipse 46% 30% at 50% 30%, color-mix(in srgb, var(--bg) 94%, transparent),
                        color-mix(in srgb, var(--bg) 55%, transparent) 70%, color-mix(in srgb, var(--bg) 10%, transparent)); }
.ground { position: absolute; left: 0; right: 0; top: 34%; display: flex; justify-content: center; will-change: transform; }
.hmap { width: min(760px, 130vw); height: auto; transform: perspective(1600px) rotateX(42deg) rotateZ(-10deg); transform-origin: 50% 20%; overflow: visible; }
.h-land { fill: var(--bg2); stroke: var(--border2, #d1d1d6); stroke-width: 1.5; }
.h-cover.forest { fill: #dcefd5; } .h-cover.wetland { fill: #d8efea; } .h-cover.farm { fill: #e8f2da; } .h-cover.city { fill: #fde4ea; }
@media (prefers-color-scheme: dark) { .h-cover.forest { fill: #1c3021; } .h-cover.wetland { fill: #18302d; } .h-cover.farm { fill: #232b1f; } .h-cover.city { fill: #3a1a24; } }
.h-lake { fill: color-mix(in srgb, #5ac8fa 22%, var(--bg)); stroke: var(--border2, #d1d1d6); stroke-width: 1; }
.h-road { fill: none; stroke: color-mix(in srgb, var(--text) 10%, transparent); stroke-width: 3; stroke-linecap: round; }
.h-pin { animation: pin-drop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.h-pin-dot { fill: var(--c); stroke: var(--bg); stroke-width: 3; transition: r .3s cubic-bezier(.3, 1.6, .5, 1); }
.h-pin.on .h-pin-dot { r: 17; stroke-width: 4; }
.h-pin.on { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
@keyframes pin-drop { from { opacity: 0; translate: 0 -40px; } }
@media (prefers-reduced-motion: reduce) { .h-pin { animation: none; } }
#lp-bg { display: none; } /* the shared bars field; the map scene replaces it */

/* type rhythm, as on Keyrate */
.lp-hero h1 { font-size: clamp(2.75rem, 7.2vw, 5.25rem); letter-spacing: -.028em; line-height: 1.04; margin-top: 0; }
.lp-hero .lp-lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); margin-top: 16px; letter-spacing: -.005em; max-width: 38ch; }
.lp-hero .lp-cta { margin-top: 32px; }
.lp-hero .lp-btn { padding: 12px 22px; font-size: 1rem; }

/* top bar: the logo left, the map button right; it sits over the hero and scrolls away with it */
.topbar { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
          padding: 16px clamp(16px, 3vw, 32px); }
.topbar a:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.tb-brand { display: flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; }
.tb-brand img { border-radius: 8px; display: block; }
.tb-acct { display: flex; align-items: center; gap: 6px; }
.tb-link, .tb-btn { display: inline-flex; align-items: center; min-height: 40px; font-size: .9375rem; font-weight: 600; padding: 0 16px; border-radius: 999px; line-height: 1; }
.tb-link { color: var(--text2); } .tb-link:hover { color: var(--text); }
.tb-btn { background: var(--text); color: var(--bg); } .tb-btn:hover { opacity: .88; }
@media (max-width: 380px) { .tb-brand span { display: none; } }

/* the place card: a glass capsule naming the lifted pin */
.lp-hero .demo { margin-top: 36px; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 10px; border-radius: 999px; text-align: left;
                 background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
                 box-shadow: 0 8px 30px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 .5px var(--border); }
.demo-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--c, var(--pink)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--pink)) 25%, transparent); flex: none; transition: background-color .3s; }
.demo b { display: block; font-size: .9375rem; line-height: 1.25; font-weight: 650; }
.demo small { display: block; font-size: .8125rem; color: var(--text2); line-height: 1.3; }
.demo.swap { animation: swap .45s ease both; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 560px) { .ground { top: 46%; } }
