/* Hallmark · macrostructure: pinned stage story (studied DNA: CFS Chaos is expensive) · genre: atmospheric · theme: STREET Vice dusk (brand/STYLE.md) · nav: blurred night strip with CA, X, Pump.fun, Buy · footer: one-line source credit · enrichment: live 3D boulevard + GTA HUD · critique: P4 H4 E5 S4 R4 V5 */
@font-face { font-family: "Big Shoulders Display"; src: url(/assets/fonts/BigShouldersDisplay.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(/assets/fonts/AlbertSans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --pink: #ff2e93; --violet: #2a1747; --night: #170c26; --cream: #ede6d6; --peach: #ffb27a; --teal: #5fd3c4; --rose: #e0457b; --mute: #6b5a78;
  --mist: #b9a9c4; --line: rgba(237, 230, 214, .28); --ink: #1a0716; --glass: rgba(23, 12, 38, .78); --glass-hi: rgba(23, 12, 38, .92); --veil: rgba(23, 12, 38, .35);
  --plum: rgba(42, 23, 71, .8); --plum-lo: rgba(42, 23, 71, .6); --hair: rgba(42, 23, 71, .16); --hair-hi: rgba(42, 23, 71, .4); --pink-hair: rgba(255, 46, 147, .35); --pink-wash: rgba(255, 46, 147, .18); --teal-wash: rgba(95, 211, 196, .14);
  --deep: #1c1030; --deeper: #140a22; --bezel: #0d0716; --cash: #a7f0c6; --cash-edge: #0d2a1a; --up: #0a6458; --dn: #a8402a; --teal-ink: #10231f; --peach-ink: #2b130a;
  --d: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif; --b: "Albert Sans", system-ui, sans-serif;
  --pad: clamp(16px, 2.2vw, 44px); --bar: 64px;
  --shade-1: rgba(13, 7, 22, .4); --shade-2: rgba(13, 7, 22, .45); --shade-3: rgba(13, 7, 22, .6); --shade-4: rgba(13, 7, 22, .7); --night-60: rgba(23, 12, 38, .6); --night-80: rgba(23, 12, 38, .8); --night-82: rgba(23, 12, 38, .82); --night-0: rgba(23, 12, 38, 0); --cream-85: rgba(237, 230, 214, .85); --pink-45: rgba(255, 46, 147, .45); --pink-50: rgba(255, 46, 147, .5);
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--cream); font: 400 16px/1.5 var(--b); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { overflow-x: clip; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--d); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 99; background: var(--cream); color: var(--violet); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ---------- header strip ---------- */
.bar { position: fixed; inset: 0 0 auto 0; height: var(--bar); z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 var(--pad);
  background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--pink-hair); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand span { font: 900 30px/1 var(--d); letter-spacing: .02em; color: var(--cream); -webkit-text-stroke: 1px var(--pink); }
.nav { display: flex; gap: 22px; margin-left: 14px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--mist); }
.nav a:hover { color: var(--cream); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ca { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); background: var(--plum); border-radius: 4px; cursor: pointer; font-size: 13px; max-width: 240px; min-width: 0; }
.ca span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mist); }
.ca-k { font-weight: 700; color: var(--pink); }
.ico { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; flex: none; }
.ico svg { width: 18px; height: 18px; fill: var(--cream); }
.ico:hover { border-color: var(--pink); }

/* ---------- buttons (inspiration: filled rect + square bullet + arrow box) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 0; border-radius: 3px; font: 600 15px/1 var(--b); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; flex: none; }
.btn i { width: 8px; height: 8px; background: var(--pink); flex: none; }
.btn b { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -16px; margin-left: 6px; font-weight: 700; border-left: 1px solid currentColor; transition: transform .2s; }
.btn:hover b { transform: translateX(4px); }
.btn-solid { background: var(--violet); color: var(--cream); }
.btn-solid:hover { background: var(--cream); color: var(--violet); }
.btn-line { background: var(--veil); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn-line i { background: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--violet); }
.btn-line:hover i { background: var(--pink); }
.btn-buy { background: var(--pink); color: var(--ink); height: 38px; }
.btn-buy i { background: var(--night); }
.btn-buy:hover { background: var(--cream); }
.btn-ghost { height: 38px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--pink); color: var(--cream); }
.btn-ghost:hover { background: var(--pink); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.wide { width: 100%; justify-content: center; height: 48px; }

/* ---------- the walk: stage stays put while the camera travels ---------- */
.walk { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#city { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story-track { height: 420vh; margin-top: -100vh; }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; background: linear-gradient(to top, var(--glass), var(--night-0)); }

.hero { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(20px, 4.5vh, 52px); z-index: 3; }
.title { font-size: clamp(76px, 12.6vw, 300px); color: var(--cream); -webkit-text-stroke: clamp(2px, .22vw, 5px) var(--pink); paint-order: stroke fill; text-shadow: 0 0 40px var(--pink-45); white-space: nowrap; }
.title .w { display: inline-block; }
.title .ch { display: inline-block; will-change: transform; }
.rule { border: 0; height: 1px; background: var(--cream); opacity: .6; margin: clamp(14px, 2vh, 24px) 0; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.lede { max-width: 520px; font-size: clamp(15px, 1.05vw, 19px); color: var(--cream); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.hud-cash { position: absolute; top: calc(var(--bar) + 18px); right: var(--pad); z-index: 3; display: grid; justify-items: end; gap: 2px; text-align: right; }
.cash { font: 900 clamp(34px, 3.4vw, 62px)/1 var(--d); color: var(--cash); -webkit-text-stroke: 1.5px var(--cash-edge); paint-order: stroke fill; text-shadow: 0 2px 0 var(--shade-1); font-variant-numeric: tabular-nums; }
.cash-k { font-size: 13px; color: var(--cream); text-shadow: 0 1px 2px var(--shade-4); }
.stars { display: flex; gap: 3px; margin-top: 8px; }
.stars svg { width: 22px; height: 22px; }
.near { font-size: 13px; font-weight: 600; color: var(--cream); text-shadow: 0 1px 2px var(--shade-4); }

.story { position: absolute; right: var(--pad); bottom: clamp(150px, 22vh, 230px); width: min(560px, 46vw); z-index: 3; text-align: right; pointer-events: none; height: 4.2em; font-size: clamp(22px, 2.1vw, 38px); }
.line { position: absolute; right: 0; bottom: 0; font: 800 1em/1.08 var(--b); color: var(--cream); text-shadow: 0 2px 18px var(--night-80); opacity: 0; transform: translateY(40%); }
.line em { font-style: normal; color: var(--pink); }
.line strong { color: var(--teal); }

.minimap { position: absolute; right: var(--pad); bottom: clamp(20px, 4.5vh, 52px); z-index: 4; width: 132px; height: 132px; border-radius: 50%; background: var(--night-82); box-shadow: 0 0 0 3px var(--cream-85), 0 0 0 6px var(--night-60); overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .4s; }
.walk.is-walking .minimap { opacity: 1; pointer-events: auto; }
.minimap svg { width: 100%; height: 100%; }
.minimap circle.dot { cursor: pointer; }
.map-k { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 800 13px/1 var(--b); color: var(--cream); }

.tip { position: fixed; z-index: 30; pointer-events: none; background: var(--glass-hi); border: 1px solid var(--pink); padding: 10px 12px; border-radius: 4px; min-width: 180px; font-size: 13px; }
.tip b { display: block; font: 900 24px/1 var(--d); color: var(--cream); }
.tip span { color: var(--mist); }

/* ---------- how ownership works: pinned horizontal run ---------- */
.how { background: var(--night); position: relative; }
.how-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 4vh; overflow: hidden; padding: calc(var(--bar) + 2vh) 0 4vh; }
.how-head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.how-head h2 { font-size: clamp(52px, 7vw, 150px); color: var(--cream); }
.how-head p { max-width: 340px; color: var(--mist); text-align: right; }
.how-run { display: flex; gap: clamp(16px, 1.6vw, 28px); padding: 0 var(--pad); will-change: transform; }
.card { flex: none; width: clamp(290px, 31vw, 560px); min-height: clamp(380px, 52vh, 560px); padding: clamp(22px, 2vw, 34px); border-radius: 6px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: clamp(40px, 3.6vw, 72px); }
.card p { font-size: 16px; max-width: 34ch; }
.c-pink { background: var(--pink); color: var(--ink); }
.c-teal { background: var(--teal); color: var(--teal-ink); }
.c-peach { background: var(--peach); color: var(--peach-ink); }
.c-violet { background: var(--violet); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.frag { margin-top: auto; background: var(--glass-hi); color: var(--cream); border-radius: 4px; padding: 14px; font-size: 14px; display: grid; gap: 8px; min-height: 120px; }
.frag .fr { display: flex; justify-content: space-between; gap: 10px; }
.frag .fr b { font: 900 22px/1 var(--d); }
.frag .k { color: var(--mist); }
.frag .up { color: var(--teal); } .frag .dn { color: var(--peach); }

/* ---------- paper sections ---------- */
.paper { background: var(--cream); color: var(--violet); padding: clamp(60px, 9vh, 120px) var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-bottom: 1.5px solid var(--violet); padding-bottom: 16px; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(46px, 6vw, 120px); }
.sec-head p { max-width: 420px; color: var(--mute); text-align: right; }
.lrow { display: grid; grid-template-columns: 70px minmax(180px, 2.4fr) 1fr .7fr 1fr 1fr 110px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
.lhead { font-size: 13px; font-weight: 700; color: var(--mute); border-bottom-color: var(--hair-hi); }
.lrow .n { font: 900 30px/1 var(--d); }
.lrow .p { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lrow .p img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--violet); flex: none; }
.lrow .p b { font: 900 26px/1 var(--d); display: block; }
.lrow .p small { color: var(--mute); font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .p span { min-width: 0; }
.up { color: var(--up); } .dn { color: var(--dn); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 3px; background: var(--violet); color: var(--cream); margin-left: 6px; vertical-align: 3px; }
.tag.t-tower { background: var(--pink); color: var(--ink); }
.lrow .open { justify-self: end; height: 36px; background: var(--violet); color: var(--cream); }
.lrow .open:hover { background: var(--pink); color: var(--ink); }
.empty { padding: 26px 0; color: var(--mute); font-size: 17px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 80px); padding-top: 0; }
.split .sec-head { flex-direction: column; align-items: flex-start; }
.split .sec-head p { text-align: left; }
.rlist, .flist { list-style: none; margin: 0; padding: 0; }
.rlist li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.rlist .rk { font: 900 34px/1 var(--d); color: var(--violet); }
.rlist .v { font: 900 28px/1 var(--d); }
.rlist small { color: var(--mute); display: block; }
.rlist a { text-decoration: none; }
.flist li { padding: 11px 0; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 14px; }
.flist li b { font-weight: 800; }
.flist time { color: var(--mute); font-size: 13px; white-space: nowrap; }

/* ---------- my street ---------- */
.mine { background: var(--violet); padding: clamp(60px, 10vh, 130px) var(--pad); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 80px); align-items: center; }
.mine h2 { font-size: clamp(60px, 8vw, 170px); color: var(--cream); -webkit-text-stroke: 2px var(--pink); paint-order: stroke fill; }
.mine-l p { color: var(--mist); max-width: 520px; margin-top: 20px; font-size: 17px; }
.mine-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.mine .btn-solid { background: var(--cream); color: var(--violet); }
.mine .btn-solid:hover { background: var(--pink); color: var(--ink); }
.mine-msg { min-height: 1.5em; color: var(--peach) !important; }
.mine-r img { border-radius: 6px; box-shadow: 0 30px 80px var(--shade-2), 0 0 0 1px var(--line); width: 100%; height: auto; aspect-ratio: 1200 / 630; background: var(--night); }
.mlots { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.mlots li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 8px 0; }

/* ---------- the phone (property panel) ---------- */
.phone { position: fixed; z-index: 60; right: clamp(12px, 2vw, 34px); top: calc(var(--bar) + 14px); bottom: 14px; width: min(420px, calc(100vw - 24px)); transform: translateX(calc(100% + 40px)); transition: transform .45s cubic-bezier(.2, .9, .2, 1); }
.phone.is-open { transform: none; }
.phone-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--deep); border-radius: 26px; box-shadow: 0 0 0 8px var(--bezel), 0 0 0 9px var(--pink-50), 0 40px 90px var(--shade-3); padding: 18px 18px 22px; display: grid; gap: 14px; align-content: start; }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--mist); }
.ph-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 22px; cursor: pointer; }
.ph-id { display: flex; gap: 14px; align-items: center; }
.ph-id img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--violet); }
.ph-id h3 { font-size: 44px; color: var(--cream); overflow-wrap: anywhere; }
.ph-id p { color: var(--mist); font-size: 14px; }
.ph-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-stats div { background: var(--plum); border-radius: 10px; padding: 10px 12px; }
.ph-stats small { display: block; color: var(--mist); font-size: 12px; }
.ph-stats b { font: 900 24px/1.1 var(--d); }
.ph-chart { width: 100%; height: auto; background: var(--deeper); border-radius: 10px; }
.ph-src { font-size: 12px; color: var(--mist); margin-top: -8px; }
.ph-own { font-size: 14px; color: var(--cream); background: var(--teal-wash); padding: 10px 12px; border-radius: 10px; }
.ph-own:empty { display: none; }
.tabs { display: flex; gap: 6px; }
.tab { flex: 1; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 700; }
.tab.is-on { background: var(--cream); color: var(--violet); }
.ph-trade { display: grid; gap: 10px; background: var(--plum-lo); border-radius: 16px; padding: 12px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chip { height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--deep); cursor: pointer; font-weight: 700; }
.chip.is-on { border-color: var(--pink); background: var(--pink-wash); }
.quote { font-size: 14px; color: var(--cream); min-height: 2.8em; }
.quote small { color: var(--mist); display: block; }
.ph-fine { font-size: 12px; color: var(--mist); }
.ph-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.ph-links a { color: var(--teal); }

.foot { background: var(--night); padding: 40px var(--pad) 50px; display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); color: var(--mist); font-size: 14px; }
.foot img { border-radius: 10px; }
.foot-r { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .lrow { grid-template-columns: 54px minmax(150px, 2fr) 1fr .7fr 1fr 96px; }
  .lrow > :nth-child(6) { display: none; }
}
@media (max-width: 860px) {
  :root { --bar: 58px; }
  .bar { gap: 8px; }
  .brand span { display: none; }
  .ca { max-width: 140px; }
  .hero-row { flex-direction: column; align-items: stretch; }
  .hero-btns { justify-content: flex-start; }
  .story { left: var(--pad); width: auto; text-align: left; bottom: auto; top: calc(var(--bar) + 120px); }
  .line { left: 0; right: auto; bottom: auto; top: 0; }
  .minimap { width: 96px; height: 96px; bottom: auto; top: calc(var(--bar) + 120px); }
  .hud-cash { top: calc(var(--bar) + 12px); }
  .story { top: calc(var(--bar) + 240px); }
  .how-head { flex-direction: column; align-items: flex-start; }
  .how-head p { text-align: left; }
  .card { width: 82vw; min-height: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head p { text-align: left; }
  .lrow { grid-template-columns: 40px 1fr auto; }
  .lrow > :nth-child(4), .lrow > :nth-child(5), .lrow > :nth-child(6), .lrow > :nth-child(7) { display: none; }
  .lhead > :nth-child(3) { text-align: right; }
  .lrow > :nth-child(3) { text-align: right; }
  .split, .mine { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-r { margin-left: 0; }
}
@media (max-width: 420px) {
  .btn-buy { padding: 0 10px; font-size: 14px; }
  .ico { width: 34px; height: 34px; }
  .ca { display: none; }
  .hero-btns .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 420px) { .ca { display: flex; max-width: 96px; padding: 0 8px; font-size: 12px; } .btn-ghost { display: none; } .bar { gap: 6px; } .bar-end { gap: 6px; } }
.walk:not(.is-walking) .story { opacity: 0; }
[hidden] { display: none !important; }
.rlist li.empty, .flist li.empty { display: block; }
@media (max-width: 600px) { .title { white-space: normal; font-size: min(25vw, 170px); line-height: .84; } }

/* pressed and disabled states */
.btn:active, .chip:active, .tab:active, .ico:active, .ca:active, .ph-x:active { transform: translateY(1px); }
.chip:disabled, .tab:disabled, .ca:disabled { opacity: .4; cursor: not-allowed; }
.chip:hover, .tab:hover { border-color: var(--pink); }
.chip:focus-visible, .tab:focus-visible, .dot:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
