/* HOME MANIFESTO as a group chat (Boom 4 Nov 2026 "deploy to staging"; concept + review history: concepts/manifesto-chat/).
   Phones only (the section is mob-only). Scoped to .hc. ONE bold idea: liquid bubble backs drawn by WebGPU (assets/home-chat.js),
   CSS bubbles + pulse when there is no GPU; everything at once under reduced motion. Chelsea Market on the punchlines, Roboto for the rest. */
.hc{--cyan:#00E5FF;--magenta:#FF00CC;--mf:#cc00a3;--white:#F0F0F0;--muted:#8a8a8a;--card:#0D0D0D;--recv:#16161b;
  --e:cubic-bezier(.22,1,.36,1);--mv:cubic-bezier(.65,0,.35,1)}
.hc .chat{width:min(398px,calc(100% - 24px));margin:0 auto 48px;border-radius:22px;overflow:hidden;border:1px solid #1c1c22;background:#08080a}
.hc .head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--card);border-bottom:1px solid #1c1c22}
.hc .head .back{display:grid;place-items:center;width:24px;height:24px;color:var(--cyan)}.hc .head .back svg{width:22px;height:22px}
.hc .head img{width:40px;height:40px;border-radius:50%;box-shadow:0 0 0 2px var(--cyan)}
.hc .head .who{min-width:0}
.hc .head b{display:block;font:400 clamp(14px,4.1vw,17px)/1.15 'Chelsea Market',cursive}
.hc .head b em{font-style:normal;color:var(--cyan)}
.hc .head span{font-size:12.5px;color:var(--muted)}
.hc .head .live{margin-left:auto;flex:none;font:700 10.5px Roboto,sans-serif;letter-spacing:.14em;color:#000;background:var(--magenta);padding:4px 8px;border-radius:999px}
/* the wallpaper: a dark tone with a very faint brand dot pattern (no stock art) */
.hc .feed{background-color:#08080a;background-image:radial-gradient(rgba(0,229,255,.05) 1px,transparent 1.5px),radial-gradient(rgba(255,0,204,.04) 1px,transparent 1.5px);background-size:22px 22px,22px 22px;background-position:0 0,11px 11px}
/* composer: the Message field and the send action, which is the offer */
.hc .composer{display:flex;align-items:center;gap:8px;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:var(--card);border-top:1px solid #1c1c22}
.hc .composer .field{flex:1;min-width:0;height:42px;display:flex;align-items:center;padding:0 16px;border-radius:999px;background:#16161b;color:var(--muted);font:400 15px Roboto,sans-serif}
.hc .composer .send{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--mf);color:#fff;box-shadow:inset 0 0 0 1.5px var(--magenta)}
.hc .composer .send svg{width:19px;height:19px;margin-left:2px}
/* the chat window: anchored at the bottom, new rows push the older ones up (rows grow from 0 via grid rows) */
.hc .feed{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:clamp(340px,calc(100svh - 200px),620px);   /* chat + CTAs fit the screen; the hook stays in view at 390 and 430 */overflow:hidden;padding:12px 10px 6px;
  -webkit-mask:linear-gradient(transparent 0,#000 32px);mask:linear-gradient(transparent 0,#000 32px)}
.hc .goo{position:absolute;left:0;top:0;pointer-events:none;z-index:0}
.hc .row{position:relative;z-index:1;display:grid;grid-template-rows:0fr;transition:grid-template-rows .34s var(--e)}
.hc .row.in{grid-template-rows:1fr}
.hc .row>.w{min-height:0;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:7px 10px 2px}
.hc .row.cont>.w{padding-top:1px}   /* consecutive messages from one sender sit tighter */
.hc .row.side-r>.w{align-items:flex-end}

/* bubbles: fit-content, 18 px radius; the first of a run gets a 4 px tail corner + notch (messenger anatomy) */
.hc .m{position:relative;margin:0;width:fit-content;max-width:80%;padding:7px 10px 6px 12px;border-radius:18px;background:var(--recv);font:400 16px/1.35 Roboto,sans-serif;
  transform-origin:left top;opacity:0;transform:translateY(10px) scale(.6)}
.hc .m.r{background:var(--mf);color:#fff;transform-origin:right top}
/* the tail notch: first bubble of a run, top corner on the sender's side */
.hc .m.tail{border-top-left-radius:4px}
.hc .m.r.tail{border-top-left-radius:18px;border-top-right-radius:4px}
.hc .m.tail::before{content:"";position:absolute;top:0;left:-7px;width:8px;height:12px;background:inherit;clip-path:polygon(100% 0,0 0,100% 100%);border-radius:2px 0 0 0}
.hc .m.r.tail::before{left:auto;right:-7px;clip-path:polygon(0 0,100% 0,0 100%);border-radius:0 2px 0 0}
.hc.hc-gpu .m.tail::before{background:var(--recv)} .hc.hc-gpu .m.r.tail::before{background:var(--mf)}
.hc .m .meta{float:right;display:inline-flex;align-items:center;gap:3px;margin:8px 0 -3px 10px;font:400 11px/1 Roboto,sans-serif;color:#9a9aa3}
.hc .m.r .meta{color:#fff}
.hc .m .meta svg{width:16px;height:11px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hc .m.r.read .meta svg{color:var(--cyan)}
.hc .m small{display:block;font:700 11.5px Roboto,sans-serif;letter-spacing:.04em;margin-bottom:3px}
.hc .c1 small{color:var(--cyan)} .hc .c2 small{color:var(--magenta)} .hc .c3 small{color:var(--muted)}   /* Host cyan · Comic 1 magenta · Comic 2 muted (rim cyan): no third hue */
.hc .big{font:400 22px/1.2 'Chelsea Market',cursive}
.hc .big em{font-style:normal;color:var(--cyan)}
.hc .row.in .m{opacity:1;transform:none;transition:opacity .2s linear .08s,transform .36s var(--e) .06s}
.hc .m.r .meta svg{transition:color .3s var(--mv)}
.hc .typing{position:relative;display:flex;gap:4px;padding:12px 14px;border-radius:4px 18px 18px 18px;background:var(--recv)}
.hc .typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:hc-dot 1s infinite}
.hc .typing i:nth-child(2){animation-delay:.15s}.hc .typing i:nth-child(3){animation-delay:.3s}
@keyframes hc-dot{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.hc .row.gone{grid-template-rows:0fr;transition-duration:.18s}
.hc .row.gone .typing{opacity:0;transition:opacity .16s linear}
.hc .seen{font-size:11.5px;color:var(--muted);margin:3px 2px 0;text-align:right}
/* CSS arm: one soft pulse of the sender's colour as a bubble lands */
.hc.hc-nogpu .row.in .m{animation:hc-pulse .7s var(--mv) .1s 1 both}
.hc.hc-nogpu .row.in .m.r{--p:255,0,204} .hc.hc-nogpu .row.in .m.c1{--p:0,229,255} .hc.hc-nogpu .row.in .m.c2{--p:255,0,204} .hc.hc-nogpu .row.in .m.c3{--p:0,229,255}
@keyframes hc-pulse{0%{box-shadow:0 0 0 0 rgba(var(--p),0)}35%{box-shadow:0 0 0 1.5px rgba(var(--p),.7),0 0 18px rgba(var(--p),.35)}100%{box-shadow:0 0 0 0 rgba(var(--p),0)}}
/* GPU arm: the DOM keeps the words, the GPU draws the backs */
.hc.hc-gpu .row .m,.hc.hc-gpu .row .typing{background:transparent}

.hc .reply{height:0;margin:0}
/* the offer: a centred pair under the chat (Boom 4 Nov: "the final CTA buttons should be centered") */
.hc .cta{max-width:430px;margin:-28px auto 0;padding:0 16px;display:flex;justify-content:center;gap:10px;opacity:0;transform:translateY(10px)}
.hc .cta.in{opacity:1;transform:none;transition:opacity .42s var(--e),transform .42s var(--e)}
/* the climax: the pair rises out of the host's last line and catches the same light, once */
.hc .cta.in a{animation:hc-ctaLit .9s var(--mv) .2s 1 both}
.hc .cta.in a.ghost{--p:0,229,255} .hc .cta a,.hc .cta button{--p:255,0,204}
@keyframes hc-ctaLit{0%{filter:none}40%{filter:drop-shadow(0 0 10px rgba(var(--p),.55))}100%{filter:none}}
.hc .cta a,.hc .cta button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;background:var(--mf);color:#fff;
  font:800 16px Roboto,sans-serif;text-decoration:none;white-space:nowrap;box-shadow:inset 0 0 0 1.5px var(--magenta)}
.hc .cta a.ghost{background:transparent;color:var(--cyan);box-shadow:inset 0 0 0 1.5px var(--cyan)}
.hc .cta a:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.hc .cta a,.hc .row,.hc .row .m,.hc .cta{transition:none!important;animation:none!important}.hc .typing i{animation:none}}
.hc.hc-rm .cta a,.hc.hc-rm .row,.hc.hc-rm .row .m,.hc.hc-rm .cta{transition:none!important;animation:none!important}
@media (max-width:600px){}
/* short phones: the composer (decorative) goes, the type steps down, so the CTAs stay on screen */
@media (max-height:700px){.hc .composer{display:none}.hc .m{font-size:15px}.hc .big{font-size:18px}.hc .head{padding:8px 10px}.hc .head img{width:34px;height:34px}}
.hc .m.r.emoji{background:transparent!important;box-shadow:none!important;padding:2px 4px}.hc .m.r.emoji .big{font-size:40px;line-height:1}
/* Boom 4 Nov: keep the punchlines in Chelsea Market, the rest Roboto (mixed on purpose) */

/* staging port: the feed is sized by script to the whole conversation, so the opening hook stays in view at the end */
.hc .feed{height:auto;min-height:0;justify-content:flex-start;-webkit-mask:none;mask:none}   /* Boom 4 Nov: the chat grows DOWN as texts arrive; the page follows it to the CTAs */
.hc .cta{margin-top:12px}
/* the laughing emoji: no bubble, 44 px, its time under the glyph; "Delivered/Read" sits inside the meta (no extra line) */
.hc .m.r.emoji .big{font-size:44px;line-height:1}
.hc .m.emoji .meta{float:none;display:flex;justify-content:flex-end;margin:2px 0 0}
.hc .meta .st{margin-left:4px;color:inherit;opacity:.9}
.hc .seen{display:none}
.hc{display:block;padding:8px 0 8px;color:var(--white);font-family:Roboto,sans-serif}
.hc .cta button{border:0;cursor:pointer}
.hc .cta button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.hc.hc-nogpu .cta.in button,.hc.hc-gpu .cta.in button{--p:255,0,204}
.hc .cta.in button{animation:hc-ctaLit .9s var(--mv) .2s 1 both}
.hc.hc-rm .cta.in button{animation:none}
@media (prefers-reduced-motion:reduce){.hc .cta.in button{animation:none}}
.hc .chat{margin-bottom:48px}

/* Book Now is a <button>: same pill as the links; extra room under the CTAs so the floating Tickets pill never covers them */
.hc .cta button{-webkit-appearance:none;appearance:none;margin:0;line-height:1}
.hc .cta{padding-bottom:12px}
