/* Wandering Systems website. Night-map look: deep forest ink, lantern gold, trail teal. */
:root {
  --night: #0b1714;
  --night-2: #12241f;
  --night-3: #1a322b;
  --ink: #17302a;
  --ink-2: #46605a;
  --paper: #f6f2e8;
  --paper-2: #ece6d6;
  --gold: #ffc94a;
  --gold-2: #f2a93b;
  --teal: #4fe3c1;
  --line: rgba(255, 255, 255, .1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, sans-serif;
  --radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 23, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); color: #fff; }
.header-row, .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 16px; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.nav .nav-cta { white-space: nowrap; opacity: 1; background: var(--gold); color: var(--night); padding: 9px 18px; border-radius: 999px; font-weight: 700; }
@media (max-width: 860px) { .nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 17px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--night); box-shadow: 0 10px 30px rgba(255, 201, 74, .25); }
.button.primary:hover { box-shadow: 0 14px 40px rgba(255, 201, 74, .4); }
.button.ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .3); }
.button.ghost:hover { border-color: #fff; }
.button.light { background: #fff; color: var(--night); }
.button.big { font-size: clamp(18px, 2.4vw, 24px); padding: 20px 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.eyebrow.dark { color: #0f7a64; }
.eyebrow .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.eyebrow .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; animation: ping 2s ease-out infinite; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 75% 20%, #1f3d34 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #fff; padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 8vw, 120px); margin-top: -68px; padding-top: calc(68px + clamp(48px, 8vw, 110px)); }
.hero-glow { position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(255, 201, 74, .12), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(54px, 8.6vw, 116px); line-height: .95; margin-bottom: 26px; }
.glow-text { background: linear-gradient(100deg, var(--teal) 0%, var(--gold) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: rgba(255, 255, 255, .82); max-width: 33em; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.hero-proof strong { display: block; font-family: var(--display); font-size: 26px; color: #fff; }

.hero-visual { position: relative; min-height: 520px; }
.city { width: 100%; height: auto; display: block; border-radius: 28px; background: #0e1e1a; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); }
.blocks rect { fill: #16302a; }
.blocks .park { fill: #173b2c; }
.blocks .water { fill: #12303a; }
.route-shadow { fill: none; stroke: rgba(79, 227, 193, .18); stroke-width: 14; stroke-linecap: round; }
.route { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 4.2s cubic-bezier(.6, .1, .2, 1) .3s forwards; }
.stop circle:nth-child(2) { fill: var(--night); stroke: var(--gold); stroke-width: 3; }
.stop text { fill: var(--gold); font: 800 14px var(--display); text-anchor: middle; }
.stop.final circle:nth-child(2) { fill: var(--gold); }
.stop.final text { fill: var(--night); font-size: 16px; }
.stop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.s1 { transform: translate(60px, 520px); animation-delay: .4s; }
.s2 { transform: translate(210px, 430px); animation-delay: 1.3s; }
.s3 { transform: translate(340px, 330px); animation-delay: 2.1s; }
.s4 { transform: translate(400px, 210px); animation-delay: 2.9s; }
.s5 { transform: translate(545px, 70px); animation-delay: 3.9s; }
.stop circle:first-child { animation: breathe 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.walker circle { fill: var(--teal); stroke: #fff; stroke-width: 3; }
.walker { offset-path: path("M60 520 C 110 470, 150 430, 210 430 S 300 380, 340 330 S 360 250, 400 210 S 470 170, 520 110 L 545 70"); offset-rotate: 0deg; animation: walk 14s linear 4.4s infinite; opacity: 0; }
.walker.w2 { animation-delay: 9s; }
.walker.w2 circle { fill: var(--gold); }

.phone { position: absolute; right: -44px; bottom: -64px; width: 205px; aspect-ratio: 9 / 19; background: #05100d; border-radius: 38px; padding: 10px; box-shadow: 0 40px 70px rgba(0, 0, 0, .55), 0 0 0 2px #2a3c37; transform: rotate(4deg); animation: float 6s ease-in-out infinite; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 999px; background: #05100d; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--paper); color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; }
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 34px 12px 8px; font-size: 10px; font-weight: 700; }
.ph-pill { background: #fff; padding: 4px 9px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.ph-step { color: var(--ink-2); }
.ph-art { position: relative; margin: 0 12px; border-radius: 16px; background: linear-gradient(160deg, #f3c56b, #e07a5f 60%, #6d4c8f); overflow: hidden; }
.ph-art-shape { position: absolute; inset: 22% 26% 0; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .55), transparent 40%), linear-gradient(180deg, #2b3a4a, #1a222c); clip-path: polygon(50% 0, 72% 35%, 100% 40%, 78% 62%, 70% 100%, 30% 100%, 22% 62%, 0 40%, 28% 35%); }
.ph-card { background: #fff; margin: 10px 8px 8px; border-radius: 18px; padding: 12px; box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); }
.ph-title { font: 800 17px var(--display); margin: 0; }
.ph-meta { font-size: 10px; color: var(--ink-2); margin: 2px 0 8px; }
.ph-audio { display: flex; align-items: center; gap: 6px; background: var(--paper); border-radius: 999px; padding: 5px 8px; font-size: 10px; }
.ph-play { width: 20px; height: 20px; border-radius: 50%; background: #2e64a8; color: #fff; display: grid; place-items: center; font-size: 8px; }
.ph-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 16px; }
.ph-wave i { flex: 1; background: #2e64a8; border-radius: 2px; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.ph-wave i:nth-child(3n) { animation-delay: .2s; } .ph-wave i:nth-child(3n+1) { animation-delay: .45s; } .ph-wave i:nth-child(4n) { animation-delay: .7s; }
.ph-vote { margin-top: 8px; width: 100%; border: 0; border-radius: 999px; padding: 8px; font: 700 11px var(--body); background: #e64980; color: #fff; }
.ph-toast { position: absolute; left: 8px; right: 8px; top: 58px; background: #fff; border-radius: 12px; padding: 7px 9px; font-size: 10px; display: flex; align-items: center; gap: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); opacity: 0; animation: toast 7s ease 5s infinite; }
.ph-face { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 50% 62%, #f1c09b 52%, transparent 53%), radial-gradient(circle at 50% 30%, #6b4428 55%, transparent 56%); background-color: #ffe7a0; }

/* Ticker */
.ticker { background: var(--gold); color: var(--night); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .08); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: scroll 40s linear infinite; font: 800 clamp(18px, 2.2vw, 26px) var(--display); padding: 18px 0; }
.ticker-track span { padding: 0 28px; white-space: nowrap; }
.ticker-track span::after { content: "✦"; margin-left: 56px; font-size: .7em; vertical-align: middle; opacity: .6; }

/* Sections */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.paper { background: var(--paper); }
.paper h2 em { font-style: normal; color: #0f7a64; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: #0f7a64; color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.paper-visual { display: flex; align-items: center; justify-content: center; gap: 22px; }
.brochure { width: 240px; background: #fffdf6; border-radius: 6px; padding: 18px; box-shadow: 0 20px 40px rgba(23, 48, 42, .14); transform: rotate(-4deg); font-family: Georgia, serif; }
.b-title { font: 700 13px var(--body); letter-spacing: .3em; margin: 0 0 10px; color: #8a6a2f; }
.b-map { position: relative; height: 150px; background: repeating-linear-gradient(0deg, #f1ead7 0 18px, #fffdf6 18px 20px), repeating-linear-gradient(90deg, transparent 0 28px, #f1ead7 28px 30px); border-radius: 4px; margin-bottom: 12px; }
.b-map span { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #8a6a2f; color: #fff; font: 700 11px var(--body); display: grid; place-items: center; }
.b-map span:nth-child(1) { left: 10%; top: 75%; } .b-map span:nth-child(2) { left: 25%; top: 55%; } .b-map span:nth-child(3) { left: 40%; top: 70%; }
.b-map span:nth-child(4) { left: 52%; top: 42%; } .b-map span:nth-child(5) { left: 66%; top: 58%; } .b-map span:nth-child(6) { left: 74%; top: 30%; }
.b-map span.hot { left: 84%; top: 10%; background: #e07a5f; box-shadow: 0 0 0 5px rgba(224, 122, 95, .25); }
.b-line { font-size: 13px; margin: 0 0 4px; }
.b-line.muted { color: #a59d8a; }
.arrow { font: 800 40px var(--display); color: #0f7a64; }
.mini-phone { width: 160px; background: var(--night); border-radius: 28px; padding: 14px; color: #fff; box-shadow: 0 24px 50px rgba(11, 23, 20, .35); transform: rotate(3deg); }
.mp-head { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--night); font: 800 22px var(--display); display: grid; place-items: center; margin: 8px auto 10px; box-shadow: 0 0 0 8px rgba(255, 201, 74, .18); }
.mp-title { font: 800 17px var(--display); text-align: center; margin: 0 0 10px; }
.mp-row { display: grid; gap: 6px; }
.mp-btn { background: var(--night-3); border-radius: 999px; padding: 6px 10px; font-size: 12px; }
.mp-vote { margin-top: 8px; text-align: center; background: #e64980; border-radius: 999px; padding: 6px; font-size: 12px; font-weight: 700; }

.how { background: var(--night); color: #fff; }
.how h2 { max-width: 14em; }
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: linear-gradient(180deg, var(--night-2), var(--night-3)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 227, 193, .15), transparent 70%); }
.step-num { font: 800 46px var(--display); background: linear-gradient(100deg, var(--teal), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.steps p { color: rgba(255, 255, 255, .75); margin: 0; }

.features { background: var(--paper-2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 rgba(23, 48, 42, .06); transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 48, 42, .12); }
.feature.big { grid-row: span 2; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; background-image: radial-gradient(400px 300px at 80% 10%, rgba(255, 201, 74, .25), transparent 70%); }
.feature.big h3 { font-size: 30px; }
.feature.big p { color: rgba(255, 255, 255, .8); }
.f-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--paper); color: #0f7a64; margin-bottom: 18px; }
.feature.big .f-icon { background: var(--gold); color: var(--night); }
.feature p { margin: 0; color: var(--ink-2); }
.feature:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 0 22px; }
.feature:last-child .f-icon, .feature:last-child h3 { margin: 0; }
@media (max-width: 960px) { .feature:last-child { display: block; } .feature:last-child .f-icon { margin-bottom: 18px; } .feature:last-child h3 { margin-bottom: .4em; } }

.results { background: var(--paper); }
.report { margin: 0; background: #fff; border-radius: 26px; padding: 28px; box-shadow: 0 30px 60px rgba(23, 48, 42, .14); }
.report figcaption { font-weight: 700; margin-bottom: 18px; }
.report figcaption span { color: var(--ink-2); font-weight: 400; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.kpis div { background: var(--paper); border-radius: 16px; padding: 14px; }
.kpis strong { display: block; font: 800 clamp(22px, 2.6vw, 30px) var(--display); }
.kpis span { font-size: 14px; color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; border-bottom: 2px solid var(--paper-2); }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--teal), #0f7a64); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.3, 1.3, .5, 1) both; }
.bars span:nth-child(2) { animation-delay: .08s; } .bars span:nth-child(3) { animation-delay: .16s; } .bars span:nth-child(4) { animation-delay: .24s; }
.bars span:nth-child(5) { animation-delay: .32s; } .bars span:nth-child(6) { animation-delay: .4s; } .bars span:nth-child(7) { animation-delay: .48s; } .bars span:nth-child(8) { animation-delay: .56s; }
.bars-label { font-size: 13px; color: var(--ink-2); margin: 8px 0 18px; }
.fav { display: flex; align-items: center; gap: 12px; background: #fff7df; border-radius: 14px; padding: 12px 14px; }
.fav-medal { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font: 800 16px var(--display); }

.zs { background: var(--paper); padding-top: 0; }
.zs-card { background: linear-gradient(120deg, #1c1410, #3a1d14 60%, #5b2016); color: #fff; border-radius: 30px; padding: clamp(30px, 5vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.zs-card > div { max-width: 640px; }
.zs-card p { color: rgba(255, 255, 255, .8); margin: 0; }
.zs-card .eyebrow { color: #ff9a6b; }

.cta { background: radial-gradient(900px 500px at 50% 0%, #21463b, var(--night) 70%); color: #fff; text-align: center; }
.cta-inner { max-width: 820px; }
.cta h2 { font-size: clamp(36px, 5.6vw, 68px); }
.cta p { color: rgba(255, 255, 255, .8); font-size: 20px; margin-bottom: 34px; }
.cta .cta-small { font-size: 15px; margin: 26px 0 0; color: rgba(255, 255, 255, .6); }

/* Footer */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .65); font-size: 15px; border-top: 1px solid var(--line); }
.footer-row, .site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 26px 0; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Legal pages */
.legal { padding: 120px 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 26px; margin-top: 1.6em; }
.updated { color: var(--ink-2); }

/* Motion */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; scale: .2; } to { opacity: 1; scale: 1; } }
@keyframes breathe { 50% { scale: 1.35; opacity: .55; } }
@keyframes walk { 0% { offset-distance: 0%; opacity: 0; } 5% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes float { 50% { transform: rotate(4deg) translateY(-12px); } }
@keyframes wave { 50% { height: 100%; } }
@keyframes toast { 0%, 100% { opacity: 0; transform: translateY(-8px); } 8%, 40% { opacity: 1; transform: none; } 50% { opacity: 0; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes ping { 0% { opacity: .9; scale: .3; } 100% { opacity: 0; scale: 1.4; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition: none !important; scroll-behavior: auto !important; }
  .walker, .ph-toast { display: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Smaller screens */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .phone { right: -10px; bottom: -40px; }
  .hero-visual { min-height: 0; max-width: 560px; margin: 10px auto 40px; width: 100%; }
  .phone { width: 170px; right: -6px; bottom: -36px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .feature.big { grid-row: auto; min-height: 240px; }
  .paper-visual { margin-top: 10px; }
}
html, body { overflow-x: clip; }
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand { font-size: 17px; }
  .nav .nav-cta { padding: 8px 14px; font-size: 14px; }
  .phone { width: 136px; border-radius: 28px; padding: 7px; }
  .phone-screen { border-radius: 22px; }
  .ph-top { padding-top: 26px; }
  .ph-meta, .ph-audio, .ph-toast { display: none; }
  .ph-title { font-size: 13px; }
  .brochure { width: 170px; padding: 12px; }
  .b-map { height: 100px; }
  .mini-phone { width: 124px; }
  .arrow { font-size: 28px; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .kpis div { padding: 10px; }
  .hero-proof strong { font-size: 22px; }
}
