/* Website 3's home page (owner, 2026-10-21). WanderLeaf's Moonlit colors (mint #8EF0C9 on deep evergreen) with the
   calm, near-black feel of lucasammarco.com, the flow of risefluence.com and pieces of jobergroup.com. */
:root {
  --v3-page: #050F0E; --v3-card: #0B1A18; --v3-card-2: #10231F; --v3-line: rgba(142, 240, 201, .13);
  --v3-ink: #F1FBF7; --v3-muted: #A7C2B8; --v3-faint: #7F9A91; --mint: #8EF0C9; --mint-deep: #3FCB9A; --poppy: #F0876C;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
body.home { background: var(--v3-page); color: var(--v3-ink); }
.home .site-header { background: rgba(5, 15, 14, .78); }
.home .pill { background: var(--mint); color: #052019; }
.home .pill:hover { background: #fff; }
.home h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.hl { color: var(--mint); position: relative; white-space: nowrap; }
.hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.04em; height: 4px; border-radius: 4px; background: var(--mint); opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .hl::after { animation: underline 3.2s ease-in-out infinite; }
  @keyframes underline { 50% { opacity: .12; transform: scaleX(.92); } }
}
.eyebrow.dot::before, .badge i, .tag i { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); margin-right: 9px; vertical-align: 1px; box-shadow: 0 0 10px rgba(142, 240, 201, .7); }
.home .lead { color: var(--v3-muted); }

/* Fade up as each part scrolls into view */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    @keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  }
}
.will-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.will-reveal.shown { opacity: 1; transform: none; }

/* ---------- The top: an inset rounded panel with the night garden, a faded grid, a glow and drifting light ---------- */
.v3-hero { padding: 12px 12px 0; }
.panel-in { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; border: 1px solid var(--v3-line);
  max-width: 1360px; margin: 0 auto; padding: 46px 20px 30px; display: grid; gap: 26px; align-items: center;
  background: radial-gradient(ellipse 60% 55% at 70% 40%, rgba(142, 240, 201, .1), transparent 70%), linear-gradient(160deg, #0A221F, #061513 60%, #08201C); }
.panel-in::before, .panel-in::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(90px, 22%, 360px); z-index: -1; background-size: cover; background-repeat: no-repeat; opacity: .48; } /* 40% more see-through so the words read (owner, 2026-10-22); was .8 */
.panel-in::before { left: 0; background-image: url('art/hero-left.webp?v=ab1af78b'); background-position: right top; }
.panel-in::after { right: 0; background-image: url('art/hero-right.webp?v=d773219d'); background-position: left top; }
.panel-in .art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.panel-in .art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: url('art/hero-ground.webp?v=dccc8855') center bottom / auto 100% repeat-x; opacity: .21;
  -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(142, 240, 201, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 240, 201, .05) 1px, transparent 1px);
  background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; background: var(--mint); filter: blur(90px); opacity: .07; }
.b1 { width: 300px; height: 300px; left: 30%; top: -60px; } .b2 { width: 240px; height: 240px; right: 18%; bottom: 10%; background: var(--poppy); opacity: .05; }
@media (prefers-reduced-motion: no-preference) {
  .blob { animation: drift 7s ease-in-out infinite; } .b2 { animation-delay: -3s; }
  @keyframes drift { 50% { transform: translateY(-14px) scale(1.04); } }
}
.badge { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint); background: rgba(142, 240, 201, .08); border: 1px solid rgba(142, 240, 201, .25); margin-bottom: 18px; }
.v3-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: .2em; }
.v3-hero .subtitle { color: var(--v3-ink); opacity: .9; }
.v3-hero .intro { color: var(--v3-ink); }
.v3-hero .lead { color: var(--v3-muted); max-width: 33em; }
.v3-hero .store { background: #000; border-color: rgba(255, 255, 255, .25); }
.fan { height: 400px; }
.proof { max-width: 1360px; margin: 18px auto 0; padding: 0 12px; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; }
.proof li { display: flex; align-items: center; gap: 10px; padding: 4px 22px; font-weight: 700; font-size: .95rem; color: var(--v3-muted); }
.proof li + li { border-left: 1px solid var(--v3-line); }
.proof i { width: 8px; height: 8px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 0 0 rgba(142, 240, 201, .6); }
.proof li:nth-child(2) i { background: var(--poppy); } .proof li:nth-child(4) i { background: #F6D58A; }
@media (prefers-reduced-motion: no-preference) {
  .proof i { animation: ping 2.4s ease-out infinite; } .proof li:nth-child(2) i { animation-delay: .6s; } .proof li:nth-child(3) i { animation-delay: 1.2s; } .proof li:nth-child(4) i { animation-delay: 1.8s; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(142, 240, 201, .5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(142, 240, 201, 0); } }
}

/* ---------- A slow ribbon of finds, faded at both ends ---------- */
.marquee { padding: 46px 0 10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0; list-style: none; }
.track li { position: relative; flex: none; width: 150px; height: 150px; border-radius: 30%; overflow: hidden; border: 1px solid var(--v3-line); }
.track li.named { width: 230px; border-radius: 26px; }
.track img { width: 100%; height: 100%; object-fit: cover; }
.track span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(5, 15, 14, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .76rem; color: var(--v3-muted); line-height: 1.3; }
.track span b { display: block; color: var(--v3-ink); font-size: .86rem; }
@media (prefers-reduced-motion: no-preference) {
  .track { animation: slide 55s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}

/* ---------- The map: words beside a rounded satellite frame with the map video ---------- */
.v3-map, .v3-features, .v3-orbit, .v3-cta { padding: 90px 0; }
.v3-map .wrap { display: grid; gap: 40px; align-items: center; }
.frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--v3-line); min-height: 560px; display: grid; place-items: center; padding: 40px 0;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8), 0 24px 48px -16px rgba(142, 240, 201, .12); }
.frame .sat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.55); }
.frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(5, 15, 14, .7)); }
.frame .phone { position: relative; z-index: 2; width: 230px; }
.frame .apin { z-index: 3; }

/* ---------- Three features: one card open wide, the others folded into strips; moves on by itself ---------- */
.v3-features h2 { margin-bottom: 30px; }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc-card { position: relative; border-radius: 24px; border: 1px solid var(--v3-line); background: var(--v3-card); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.acc-card.is-open { border-color: rgba(142, 240, 201, .45); background: linear-gradient(135deg, var(--v3-card), var(--v3-card-2));
  box-shadow: 0 24px 48px -16px rgba(142, 240, 201, .18), inset 0 0 0 1px rgba(142, 240, 201, .08); }
.acc-tab { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 22px; color: var(--v3-ink); font-weight: 800; font-size: 1.05rem; }
.acc-tab:focus-visible { outline: 2px solid var(--mint); outline-offset: -4px; border-radius: 22px; }
.acc-tab .num { font-size: .8rem; letter-spacing: .1em; color: var(--mint); }
.acc-card.is-open .acc-tab { display: none; }
.acc-body { display: none; gap: 30px; padding: 30px 24px; align-items: center; }
.acc-card.is-open .acc-body { display: grid; }
.acc-body .phone { width: 220px; margin: 0 auto; }
.acc-text h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.acc-text p:last-child { color: var(--v3-muted); font-size: 1.08rem; }
.dashes { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.dashes i { position: relative; width: 44px; height: 4px; border-radius: 4px; background: var(--v3-line); overflow: hidden; }
.dashes i::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--mint); }
.dashes i.on::after { animation: fill var(--t, 7s) linear forwards; }
.paused .dashes i.on::after, .v3-features.paused .dashes i.on::after { animation: none; width: 100%; }
@keyframes fill { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dashes i.on::after { animation: none; width: 100%; } }

@media (min-width: 900px) {
  .acc { flex-direction: row; height: 640px; }
  .acc-card { flex: 0 0 84px; transition: flex-grow .7s cubic-bezier(.65, 0, .35, 1), flex-basis .7s cubic-bezier(.65, 0, .35, 1), border-color .4s, box-shadow .4s; }
  .acc-card.is-open { flex: 1 1 auto; }
  .acc-tab { flex-direction: column; justify-content: flex-start; height: 100%; padding: 26px 0; gap: 18px; }
  .acc-tab .tab-title { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; color: var(--v3-muted); font-size: 1rem; }
  .acc-tab:hover .tab-title { color: var(--v3-ink); }
  .acc-card.is-open .acc-body { display: grid; grid-template-columns: auto 1fr; height: 100%; padding: 0 56px; gap: 60px; min-width: 760px; }
  .acc-body .phone { width: 260px; }
}

/* ---------- Finds on breathing rings, with camera-viewfinder corners ---------- */
.v3-orbit .wrap { display: grid; gap: 40px; align-items: center; }
.finds { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.finds li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--v3-card); border: 1px solid var(--v3-line); }
.finds b { font-weight: 700; } .finds span { color: var(--v3-faint); font-size: .92rem; text-align: right; }
.v3-orbit .credit { color: var(--v3-faint); font-size: .82rem; margin-top: 16px; }
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(142, 240, 201, .16); inset: 0; }
.r1 { inset: 30%; } .r2 { inset: 13%; } .r3 { inset: 0; border-style: dashed; border-color: rgba(142, 240, 201, .1); }
.core { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); border-radius: 26%; box-shadow: 0 0 60px rgba(142, 240, 201, .35); }
.orb { --r: 35%; position: absolute; width: 19%; aspect-ratio: 1; translate: -50% -50%;
  left: calc(50% + cos(var(--a)) * var(--r)); top: calc(50% + sin(var(--a)) * var(--r)); }
.orb.out { --r: 50%; width: 15%; }
.orb img { width: 100%; height: 100%; object-fit: cover; border-radius: 30%; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.orb::before, .orb::after { content: ''; position: absolute; width: 26%; height: 26%; border: 3px solid var(--mint); z-index: 2; }
.orb::before { left: -8%; top: -8%; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.orb::after { right: -8%; bottom: -8%; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; border-color: var(--poppy); }
@media (prefers-reduced-motion: no-preference) {
  .ring { animation: breathe 7s ease-in-out infinite; } .r2 { animation-delay: -2s; } .r3 { animation-delay: -4s; }
  @keyframes breathe { 50% { transform: scale(1.035); } }
  .orb img { animation: bob 5s ease-in-out infinite; animation-delay: var(--d); }
  @keyframes bob { 50% { transform: translateY(-5px) scale(1.05); } }
}

/* ---------- Closing card ---------- */
.cta-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; border: 1px solid var(--v3-line); padding: 64px 24px; text-align: center;
  background: linear-gradient(135deg, rgba(11, 26, 24, .55), rgba(16, 35, 31, .35)); }
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('art/closing-blossoms.webp?v=b2c10fa0') center / cover no-repeat; opacity: .9; }
.cta-card .lead { margin: 0 auto 26px; }
.tag { display: inline-flex; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; align-items: center; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(142, 240, 201, .35); color: var(--mint); margin-bottom: 16px; }
.button.glow { background: var(--mint); color: #052019; padding: 15px 34px; font-size: 1.02rem; box-shadow: 0 0 50px rgba(142, 240, 201, .3); transition: box-shadow .3s, transform .3s; }
.button.glow:hover { box-shadow: 0 0 70px rgba(142, 240, 201, .5); transform: translateY(-1px); }

/* A soft light that runs around a card's border on hover (from risefluence.com) */
.finds li, .acc-card { position: relative; }
@media (hover: hover) {
  .finds li:hover { border-color: rgba(142, 240, 201, .4); }
}

@media (min-width: 700px) {
  .v3-hero { padding: 16px 40px 0; }
  .panel-in { padding: 70px 50px 40px; }
  .fan { height: 520px; }
  .finds { grid-template-columns: 1fr 1fr; }
  .finds li { flex-direction: column; } .finds span { text-align: left; }
  .cta-card { padding: 90px 40px; }
}
@media (min-width: 1000px) {
  .panel-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: 90px 72px 60px; min-height: 700px; }
  .fan { height: 600px; }
  .v3-map .wrap { grid-template-columns: .8fr 1.2fr; gap: 60px; }
  .v3-orbit .wrap { grid-template-columns: 1fr 1fr; gap: 60px; }
}
@media (max-width: 699px) {
  .proof li { padding: 4px 12px; font-size: .85rem; }
  .proof li:nth-child(3) { border-left: 0; }
  .frame { min-height: 0; padding: 30px 0; }
  .frame .phone { width: 190px; }
  .track li { width: 110px; height: 110px; } .track li.named { width: 180px; }
}

/* Sizes that follow the text column, so nothing runs under the phones at in-between window widths */
.hero-copy { container-type: inline-size; min-width: 0; }
.v3-hero h1 { font-size: min(5rem, 14.5cqw); }
.v3-hero .snapline { font-size: min(1.6rem, calc((100cqw - 34px) / 22.4)); padding: 10px 14px; }
@media (min-width: 1000px) and (max-width: 1250px) {
  .fan .phone { width: 168px; padding: 7px; border-radius: 32px; } .fan .phone img { border-radius: 26px; }
  .fan { height: 520px; }
}
@media (max-width: 699px) { .badge { font-size: .64rem; letter-spacing: .05em; padding: 6px 12px; } }

/* Phones: no progress dashes (the cards switch only when tapped) */
@media (max-width: 899px) { .dashes { display: none; } }

/* ---- The ribbon of finds and the map, one flowing piece (owner, 2026-10-22) ----
   Flowers grow up behind the ribbon and blossoms hang below it (ribbon-bloom.webp, make_ribbon_bloom.py); under them
   the satellite map fades in out of the night, with no box around it, and the title sits on one line of its own. */
.mapzone { position: relative; isolation: isolate; overflow: hidden; }
.mapzone { --band: clamp(240px, 24vw, 340px); --pad: calc(var(--band) * .5 - 30px); --tile: 150px; }
.bloomband { position: absolute; left: 0; right: 0; top: calc(var(--pad) + var(--tile) / 2 - var(--band) * .478); height: var(--band);
  z-index: -1; background: url('art/ribbon-bloom.webp') center top / auto 100% repeat-x; opacity: .95; }
.marquee { position: relative; padding-top: var(--pad); }
.mapzone::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: 340px; z-index: -2; pointer-events: none;
  background: url('app/map-sat.webp?v=9414e007') center 40% / cover no-repeat; opacity: .32; filter: saturate(.8);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 62%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 70% 55% at 50% 62%, #000 20%, transparent 72%); }
.v3-map { padding-top: 70px; }
.v3-map .wrap { display: block; }
.v3-map .copy { container-type: inline-size; text-align: center; margin: 0 auto 26px; }
.v3-map .copy h2 { white-space: nowrap; font-size: min(2.9rem, 5.5cqw); }
.v3-map .copy .lead { margin: 0 auto; max-width: 36em; }
.v3-map .frame { max-width: 920px; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.v3-map .frame .sat { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%); filter: saturate(.85) brightness(.6); }
.v3-map .frame::after { display: none; }
@media (max-width: 699px) {
  .mapzone { --tile: 110px; }
  .v3-map { padding-top: 46px; }
  .mapzone::after { top: 260px; }
}
/* The words sit lower in the top panel (owner, 2026-10-22: "make the text more on the bottom") */
@media (min-width: 1000px) {
  .panel-in { align-items: end; padding-top: 150px; padding-bottom: 70px; }
  .panel-in .fan { align-self: center; }
}
@media (max-width: 999px) { .panel-in { padding-top: 90px; } }

/* "Snap a wildflower…" in bold (owner, 2026-10-22; the app icon beside the store buttons was removed again) */
.v3-hero .lead.strong { font-weight: 700; color: var(--v3-ink); opacity: .92; }
