/* Home: the garden, the sideways scroll, the split screen. */
/* ---- garden (hero) */
.garden { position: relative; height: calc(100vh - 64px); min-height: 640px; max-height: 980px; overflow: hidden; background: #120a1c; touch-action: pan-y; cursor: none; }
.garden canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.g-copy { position: absolute; z-index: 3; left: max(16px, calc((100% - 1180px) / 2)); top: 44px; max-width: 560px; pointer-events: none; text-shadow: 0 2px 18px rgba(18,10,28,.9); }
.g-copy .cta, .g-copy a { pointer-events: auto; }
.g-copy h1 { font-size: clamp(38px, 5vw, 66px); margin-bottom: 22px; }
.hud { position: absolute; z-index: 3; right: max(16px, calc((100% - 1180px) / 2)); top: 44px; width: 340px; padding: 16px 18px; background: rgba(39,24,56,.86); backdrop-filter: blur(6px); cursor: default; }
.hud-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; } .hud-tx { font-size: 12px; color: var(--mut); font-family: var(--mono); }
.hud-big b { display: block; font-family: var(--pix); font-size: 64px; line-height: 1; color: var(--teal); } .hud-big span { color: var(--mut); font-size: 13px; }
.hud-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; } .hud-row div { background: var(--card2); padding: 8px 10px; } .hud-row b { display: block; font-family: var(--pix); font-size: 22px; color: var(--gold); } .hud-row span { font-size: 11px; color: var(--mut); }
.hud-sig { font-size: 11.5px; color: var(--dim); word-break: break-all; min-height: 18px; margin-bottom: 10px; }
.res-g { font-size: 14px; color: var(--ink); background: #123223; border: 1px solid var(--good); padding: 10px 12px; margin-bottom: 10px; } .res-g b { color: var(--good); }
.hud .cta { gap: 10px; }
.g-hint { position: absolute; z-index: 3; left: 50%; bottom: 52px; transform: translateX(-50%); background: rgba(39,24,56,.82); border: 1px solid var(--line); color: var(--ink); padding: 8px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; transition: opacity .6s; pointer-events: none; text-align: center; }
.g-hint.gone { opacity: 0; } .g-hint .dotl { background: var(--pink); animation: blink 1.2s infinite; }
.g-note { position: absolute; z-index: 3; left: 0; right: 0; bottom: 8px; text-align: center; color: var(--dim); font-size: 12px; padding: 0 16px; pointer-events: none; }
.grass { height: 46px; margin-top: -1px; background: #0e0618 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='46' shape-rendering='crispEdges'><rect width='96' height='46' fill='%230e0618'/><g fill='%23143f3a'><rect x='4' y='30' width='4' height='16'/><rect x='12' y='24' width='4' height='22'/><rect x='20' y='32' width='4' height='14'/><rect x='34' y='26' width='4' height='20'/><rect x='46' y='34' width='4' height='12'/><rect x='58' y='22' width='4' height='24'/><rect x='70' y='30' width='4' height='16'/><rect x='84' y='28' width='4' height='18'/></g><g fill='%231f5a52'><rect x='12' y='20' width='4' height='4'/><rect x='58' y='18' width='4' height='4'/></g><g fill='%23ff2e93'><rect x='34' y='20' width='6' height='6'/><rect x='84' y='22' width='6' height='6'/></g><g fill='%23ffd24a'><rect x='36' y='22' width='2' height='2'/><rect x='86' y='24' width='2' height='2'/></g></svg>") repeat-x bottom; image-rendering: pixelated; }
.grass.flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -1px; }

/* ---- horizontal story */
.hs { height: 560vh; position: relative; background: #160c20; }
.hs-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-top: 64px; }
.rail { position: absolute; z-index: 5; top: 64px; left: 0; right: 0; padding: 14px max(16px, calc((100% - 1180px) / 2)) 0; }
.rail-top { display: flex; gap: 12px; align-items: center; font-family: var(--pix); font-size: 14px; color: var(--mut); }
.rail .lane { flex: 1; height: 24px; position: relative; background: #120a1a; border: 2px solid var(--line); }
.rail .evt { position: absolute; top: -2px; height: 24px; transform: translateX(-50%); padding: 0 8px; font-size: 11px; display: grid; place-items: center; letter-spacing: .06em; background: var(--card2); border: 2px solid var(--line); color: var(--mut); opacity: .35; transition: .3s; }
.rail .evt.on { opacity: 1; border-color: var(--gold); color: var(--gold); background: #3a2c0c; }
.dots { display: flex; gap: 8px; margin-top: 10px; } .dots i { width: 28px; height: 6px; background: var(--line); transition: .3s; } .dots i.on { background: var(--pink); }
.skipc { position: absolute; top: auto; right: 16px; bottom: 16px; z-index: 5; font-size: 13px; color: var(--dim); }
.hs-track { display: flex; width: 400%; height: 100%; will-change: transform; }
.pan { flex: 0 0 25%; width: 25%; position: relative; display: flex; align-items: center; padding-top: 60px; }
.pan .num { position: absolute; right: 4%; bottom: -3%; font-family: var(--pix); font-weight: 700; font-size: clamp(220px, 40vw, 520px); line-height: .8; color: transparent; -webkit-text-stroke: 3px #2a1745; pointer-events: none; user-select: none; }
.pan-in { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.pan-text h2 { font-size: clamp(30px, 4.2vw, 56px); margin: 6px 0 16px; } .pan-text p { color: var(--mut); font-size: 18px; max-width: 520px; }
.scrollhint { color: var(--pink) !important; font-family: var(--pix); letter-spacing: .12em; font-size: 14px !important; text-transform: uppercase; }
.acct { padding: 20px 22px; background: var(--card); } .acct-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: var(--mut); font-size: 13px; }
.acct dl { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; } .acct dt { color: var(--dim); font-family: var(--pix); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; } .acct dd { margin: 0; color: var(--teal); word-break: break-all; }
.flow { display: grid; grid-template-columns: 130px 1fr 130px; gap: 12px; align-items: center; }
.node { padding: 12px 8px; text-align: center; } .node img { width: 72px; margin: 0 auto 4px; } .node b { font-family: var(--pix); font-size: 18px; display: block; } .node .bal { font-family: var(--mono); font-size: 12px; margin-top: 6px; color: var(--teal); } .node.payee .bal { color: var(--gold); }
.pipe { height: 120px; position: relative; border-block: 2px dashed var(--line); background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(67,42,97,.35) 28px 30px); overflow: hidden; }
.pipe .coin { position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--gold); border: 2px solid #fff3b0; box-shadow: 2px 2px 0 #7a5a00; border-radius: 50%; will-change: left; }
.pipe .lbl { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); color: var(--mut); font-size: 11px; font-family: var(--pix); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticket { margin-top: 12px; padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; color: var(--mut); word-break: break-all; min-height: 110px; } .ticket b { color: var(--teal); font-weight: 500; } .ticket .k { color: var(--pink); }
.payout { padding: 22px; } .po-bar { display: flex; height: 40px; border: 2px solid var(--line); background: #120a1a; } .po-a { background: var(--gold); width: 0; display: block; } .po-b { background: var(--teal2); flex: 1; display: block; }
.po-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; } .po-row b { display: block; font-family: var(--pix); font-size: 40px; line-height: 1; color: var(--gold); } .po-row div:last-child b { color: var(--teal); } .po-row span { color: var(--mut); font-size: 13px; }
.po-sig { margin-top: 14px; font-size: 12px; color: var(--dim); word-break: break-all; }
.tl { padding: 22px; } .tl-bar { position: relative; height: 34px; background: #120a1a; border: 2px solid var(--line); } .tl-w { position: absolute; left: 12%; width: 62%; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, #5a3a1a 0 8px, #3a2410 8px 16px); } .tl-p { position: absolute; top: -8px; width: 8px; height: 46px; background: var(--pink); left: 0; box-shadow: 0 0 0 2px #7a0f46; }
.tl-l { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: var(--mut); font-size: 12px; font-family: var(--pix); letter-spacing: .04em; text-transform: uppercase; } .tl-s { margin-top: 14px; color: var(--ink); font-size: 14px; min-height: 40px; }

/* ---- split compare */
.split { padding: 0; background: #1a0f24; }
.split-top { padding: 70px 0 26px; } .split-v { display: block; font-family: var(--pix); font-size: 22px; margin-top: 12px; } .split-v b { color: var(--pink); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.side .tag { align-self: flex-start; }
.side { padding: 44px max(16px, 6vw); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.side.bad { background: linear-gradient(135deg, #2a1020, #1f0f1c); border-right: 3px solid #0f0817; } .side.good { background: linear-gradient(135deg, #0f2e30, #14243a); }
.bigfee { font-family: var(--pix); font-weight: 700; font-size: clamp(34px, 6vw, 84px); line-height: 1; word-break: break-word; } .side.bad .bigfee { color: var(--bad); } .side.good .bigfee { color: var(--teal); }
.cap { color: var(--mut); font-size: 15px; } .cap b { color: var(--ink); }
.sq { display: flex; flex-wrap: wrap; gap: 3px; margin: 10px 0; max-width: 460px; min-height: 12px; } .sq i { width: 9px; height: 9px; background: var(--bad); display: block; } .side.good .sq i { width: 22px; height: 22px; background: var(--teal); }
.fine { color: var(--dim); font-size: 14px; padding: 16px 0 60px; margin: 0 auto; }

/* ---- who */
.who { background: #1a0f24; }
.rows { margin-top: 30px; display: grid; gap: 0; border-top: 2px solid var(--line); }
.row { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 2px solid var(--line); }
.big-n { font-family: var(--pix); font-weight: 700; font-size: 110px; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--pink); }
.row h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; } .row p { color: var(--mut); max-width: 640px; margin: 0; font-size: 18px; }

/* ---- finale: the banner as the sky */
.finale { position: relative; padding: 0; overflow: hidden; border-top: 2px solid var(--line); }
.finale picture, .finale img { display: block; width: 100%; } .finale img { min-height: 520px; object-fit: cover; object-position: 78% 50%; }
.fin-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: 620px; margin-right: auto; background: linear-gradient(90deg, rgba(26,15,36,.95) 0%, rgba(26,15,36,.82) 60%, transparent 100%); padding: 0 max(16px, 5vw); width: 100%; }
.finale .fin-in { left: 0; right: auto; width: min(760px, 100%); max-width: none; }
.finale .title { font-size: clamp(34px, 5vw, 64px); } .finale .lead { margin: 14px 0 22px; }

@media (max-width: 980px) {
  .garden { cursor: auto; height: 92vh; }
  .hud { position: absolute; top: auto; bottom: 62px; left: 16px; right: 16px; width: auto; padding: 10px 12px; }
  .hud-big b { font-size: 38px; } .hud-row, .hud-sig { display: none; } .hud-big { display: flex; align-items: baseline; gap: 10px; } .hud-top { margin-bottom: 4px; }
  .g-copy { top: 24px; } .g-copy .lead { display: none; } .g-hint { bottom: 12px; font-size: 12px; width: calc(100% - 32px); }
  .g-note { display: none; }
  .pan-in { grid-template-columns: minmax(0, 1fr); gap: 16px; } .pan-text p { font-size: 15px; } .pan-text h2 { margin-bottom: 8px; } .pan { padding-top: 90px; align-items: flex-start; }
  .flow { grid-template-columns: 78px 1fr 78px; gap: 6px; } .node img { width: 44px; } .node b { font-size: 14px; } .node .bal { font-size: 10px; } .pipe { height: 80px; } .ticket { min-height: 0; font-size: 11px; padding: 10px; }
  .split-grid { grid-template-columns: 1fr; } .side .tag { align-self: flex-start; }
.side { padding: 28px 16px; } .side.bad { border-right: 0; border-bottom: 3px solid #0f0817; }
  .row { grid-template-columns: 70px 1fr; gap: 12px; } .big-n { font-size: 64px; } .finale img { min-height: 640px; } .finale .fin-in { background: linear-gradient(0deg, rgba(26,15,36,.95), rgba(26,15,36,.7)); justify-content: flex-end; padding-bottom: 36px; }
}
@media (max-width: 560px) { .hs { height: 520vh; } .acct dl { grid-template-columns: 70px 1fr; } .po-row b { font-size: 28px; } .tl-l { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .hs { height: auto; } .hs-stage { position: static; height: auto; padding: 20px 0; } .hs-track { width: 100%; flex-direction: column; transform: none !important; } .pan { flex: none; width: 100%; padding: 30px 0; } .rail, .skipc { display: none; } }
