/* $BROKE — single page site */
:root{
  --bg:#050608;
  --panel: rgba(0,0,0,.52);
  --text:#f2f3f5;
  --muted: rgba(242,243,245,.72);
  --stroke: rgba(255,255,255,.16);
  --stroke2: rgba(255,255,255,.26);
  --glass: rgba(10,12,16,.45);
  --glass2: rgba(255,255,255,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

/* canvas sits behind everything */
#smoke{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  z-index:2;
  pointer-events:none;
  opacity:.85;
}

/* topbar */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  gap:14px;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.05));
  backdrop-filter: blur(8px);
}

.brand{ display:flex; align-items:baseline; gap:10px; }
.logo{
  font-weight:900;
  letter-spacing:.6px;
  font-size:18px;
  padding:6px 10px;
  border:1px solid var(--stroke);
  border-radius:12px;
  background:rgba(255,255,255,.06);
}
.tag{
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:1.2px;
  color:rgba(255,255,255,.65);
}
.nav{ display:flex; gap:16px; }
.nav a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}
.nav a:hover{ color:rgba(255,255,255,.95); }

.nav-cta{ display:flex; gap:10px; }

/* hero */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding-top:74px;
  z-index:5;
}

.hero-bg{
  position:absolute; inset:0;
  background:url("assets/hero.jpg") center/cover no-repeat;
  filter: brightness(.88) contrast(1.05);
  transform: scale(1.03);
  animation: drift 10s ease-in-out infinite;
  z-index:2;
}
.hero-light{
  position:absolute; inset:0;
  background:
    radial-gradient(800px 900px at 47% 12%, rgba(255,220,150,.22), rgba(255,220,150,0) 60%),
    radial-gradient(520px 720px at 86% 38%, rgba(255,220,150,.14), rgba(255,220,150,0) 60%),
    radial-gradient(420px 560px at 62% 28%, rgba(255,220,150,.10), rgba(255,220,150,0) 60%);
  mix-blend-mode: screen;
  opacity:.85;
  z-index:3;
}
.hero-vignette{
  position:absolute; inset:-10%;
  background: radial-gradient(closest-side at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%);
  z-index:4;
}

@keyframes drift{
  0%,100%{ transform: scale(1.03) translate(0,0); }
  50%{ transform: scale(1.03) translate(-8px, 6px); }
}

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
  position:relative;
  z-index:10;
}

.hero-content{ display:flex; justify-content:flex-start; }

.hero-card{
  width:min(680px, 92vw);
  background: var(--panel);
  border:1px solid var(--stroke);
  border-radius:22px;
  padding:22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.hero-card h1{
  margin:0 0 12px;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing:.2px;
}
.hero-card h1 span{ opacity:.85; }

.lead{
  margin:0 0 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}
.lead strong{ color: rgba(255,255,255,.92); }

.tagline{
  margin: -6px 0 16px;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255,255,255,.92);
  letter-spacing: .2px;
  text-transform: none;
}
.tagline::before{ content:""; }
.tagline::after{ content:""; }

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 14px 0 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--text);
  text-decoration:none;
  font-weight: 900;
  letter-spacing:.2px;
  backdrop-filter: blur(10px);
}
.btn:hover{ border-color: var(--stroke2); }
.btn.primary{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
}
.btn.ghost{
  background: rgba(10,12,16,.35);
}
.btn.tiny{ height:36px; padding:0 12px; border-radius:11px; font-size:12px; }
.btn.tiny.ghost{ background: rgba(10,12,16,.35); }

.ca-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:16px;
  background: rgba(0,0,0,.20);
  overflow:hidden;
}
.ca-label{ font-weight:900; opacity:.85; }
.ca-row code{
  color: rgba(255,255,255,.92);
  font-weight:800;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.copy{
  height:36px;
  padding: 0 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-weight:900;
}
.copy:hover{ border-color: rgba(255,255,255,.30); cursor:pointer; }

.micro{
  margin-top:10px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  letter-spacing:.3px;
}

/* sections */
.section{
  position:relative;
  z-index:6;
  padding: 70px 0;
}
.section.alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.section h2{
  margin:0 0 14px;
  font-size: 34px;
  letter-spacing:.2px;
}
.section p{ color: var(--muted); font-size: 16px; line-height: 1.55; }
.muted{ color: var(--muted); }
.small{ font-size: 12px; }

.grid2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.card{
  background: rgba(0,0,0,.40);
  border:1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}
.card h3{ margin:0 0 10px; font-size:18px; letter-spacing:.2px; }

.bullets{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
}
.bullets li{ margin: 8px 0; }

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.step{
  background: rgba(0,0,0,.36);
  border:1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.step .n{
  width:34px; height:34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.step h3{ margin:0 0 4px; font-size: 16px; }
.step p{ margin:0; color: rgba(255,255,255,.70); font-size: 13px; }

.kv{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 12px;
  margin-top: 10px;
}
.kv .k{ color: rgba(255,255,255,.65); font-weight:900; font-size: 12px; text-transform:uppercase; letter-spacing:1px; }
.kv .v{ color: rgba(255,255,255,.86); font-weight:800; }

.footer{
  position:relative;
  z-index:6;
  padding: 40px 0 50px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items:center;
}
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  justify-content:center;
}
.footer-links a{
  color: rgba(255,255,255,.74);
  text-decoration:none;
  font-weight:900;
  font-size: 13px;
}
.footer-links a:hover{ color: rgba(255,255,255,.95); }

.logo.foot{ display:inline-block; margin-bottom: 6px; }

/* music button */
.music-btn{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:50;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background: var(--glass);
  color: var(--text);
  backdrop-filter: blur(10px);
  font-weight: 900;
  letter-spacing:.3px;
}
.music-btn.on{
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.10);
}

/* responsive */
@media (max-width: 900px){
  .grid2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .nav{ display:none; }
  .footer-grid{ grid-template-columns: 1fr; text-align:center; }
}
@media (max-width: 560px){
  .steps{ grid-template-columns: 1fr; }
  .hero-card{ padding: 18px; }
}


/* manifesto layout */
.manifesto-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.manifesto-card p{ margin: 10px 0; }
.finalword h2{ margin: 0 0 12px; }
.finalword p{ font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.84); }
@media (max-width: 900px){
  .manifesto-grid{ grid-template-columns: 1fr; }
}


/* chat */
.chat-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.embed-wrap{
  border:1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow:hidden;
  background: rgba(0,0,0,.25);
}
.embed{
  width:100%;
  height: 360px;
  border:0;
}
.link{ color: rgba(255,255,255,.92); font-weight:900; text-decoration:none; }
.link:hover{ text-decoration:underline; }
.gate{ display:flex; gap:12px; flex-wrap:wrap; margin: 12px 0 10px; }
.status{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  font-weight: 800;
}
.unlock{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
@media (max-width: 900px){
  .chat-grid{ grid-template-columns: 1fr; }
  .embed{ height: 300px; }
}


/* on-page chat room */
.chatroom{
  background: rgba(0,0,0,.40);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}
.chat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
}
.chat-title{
  font-weight: 900;
  letter-spacing: .8px;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.chat-actions{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.chat-status{
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 800;
  background: rgba(0,0,0,.18);
}
.chat-body{
  height: 360px;
  background: rgba(0,0,0,.18);
}
.chat-messages{
  height: 100%;
  overflow:auto;
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.msg{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.msg .meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,.70);
  margin-bottom: 6px;
}
.msg .text{
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.86);
  word-wrap: break-word;
  white-space: pre-wrap;
}
.chat-compose{
  display:flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.chat-input{
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,12,16,.45);
  color: rgba(255,255,255,.90);
  outline: none;
}
.chat-input:disabled{
  opacity:.85;
}
.chat-foot{
  padding: 10px 14px 14px;
}
@media (max-width: 560px){
  .chat-body{ height: 320px; }
}

.deleteMsgBtn{
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  cursor: pointer;
  font-size: 12px;
}
.deleteMsgBtn:hover{ background: rgba(0,0,0,.55); }
