/* /soon. A dark room full of machines that aren't switched on. The pointer is the light.
   Everything that has to be readable is .lit and sits above the dark; the mocks sit under it. */
.soon { --x: 50vw; --y: 50vh; --r: 600px; --deep: .5; }
.soon .lit { position: relative; z-index: 3; }
.dark { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0, rgba(0,0,0,.04) 42%, rgba(0,0,0,.32) 74%, rgba(0,0,0,var(--deep)) 100%); }
/* the edge of the light, in her dots */
.lens { position: fixed; left: 0; top: 0; width: 1080px; height: 1080px; margin: -540px 0 0 -540px; z-index: 2; pointer-events: none; transform: translate3d(var(--x), var(--y), 0); background-image: radial-gradient(rgba(255,255,255,.34) .8px, transparent 1.25px); background-size: 10px 10px; -webkit-mask-image: radial-gradient(closest-side, transparent 62%, #000 84%, transparent 100%); mask-image: radial-gradient(closest-side, transparent 62%, #000 84%, transparent 100%); }
.soon .nav { z-index: 50; }
.soon .footer { background: #000; }
/* a switch that's off */
.off { position: absolute; top: 5px; right: 0; width: 38px; height: 22px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-3); }
.on { position: absolute; top: 2px; right: 0; padding: 5px 14px; border-radius: 99px; background: #f4f4f2; color: #050505; font-size: 14px; font-weight: 500; line-height: 18px; text-decoration: none; pointer-events: auto; }
.on:hover { background: #fff; }
.off::before { content: "Soon"; position: absolute; right: calc(100% + 10px); top: 0; line-height: 22px; font-style: normal; font-size: 14px; color: #8d8d8a; }
.off::after { content: ""; position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: #5b5b5e; }

/* front */
.front { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 clamp(64px, 9vw, 120px); }
.her { position: absolute; right: max(-60px, calc(50vw - 720px)); bottom: 0; width: min(860px, 96vw); aspect-ratio: 1; }
.her canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(#000 74%, transparent 98%); mask-image: linear-gradient(#000 74%, transparent 98%); }
.her-visor { z-index: 3; animation: standby 4.8s var(--ease-in-out) infinite; }
@keyframes standby { 0%, 100% { opacity: .07; } 46%, 54% { opacity: .5; } }
.front-copy h1 { font-size: clamp(68px, 13.6vw, 212px); line-height: .84; letter-spacing: -0.035em; margin-left: -.04em; }
.front-copy p { max-width: 34em; margin: 34px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #c9c9c6; }
.front-copy .point { margin-top: 14px; color: var(--dim); }
.by-touch { display: none; }

/* wall */
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); margin-bottom: clamp(90px, 12vw, 160px); }
.cell { position: relative; min-width: 0; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 34px); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); overflow: hidden; }
.tell h2 { padding-right: 104px; }
.tell h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.9vw, 42px); line-height: 1; letter-spacing: -0.015em; margin: 0; color: #dededb; }
.tell p { margin: 12px 0 0; max-width: 36em; font-size: 16px; line-height: 1.45; color: #8d8d8a; }
.mock { margin-top: auto; padding-top: 34px; color: #eeeeec; cursor: default; user-select: none; }
.c-cast { grid-column: span 8; }
.c-board { grid-column: span 4; }
.c-build, .c-after { grid-column: span 12; }
.c-news { grid-column: span 5; }
.c-you { grid-column: span 7; }
.c-clips { grid-column: span 7; }
.c-crew { grid-column: span 5; }
.c-replies, .c-launch, .c-chats { grid-column: span 4; }
.c-voice { grid-column: span 8; }
.c-memes { grid-column: span 4; }

/* influencers */
.cast { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 0; align-items: end; margin: 0 -10px; }
.cast figure { margin: 0; min-width: 0; }
.cast canvas { width: 100%; aspect-ratio: 1; -webkit-mask-image: linear-gradient(#000 70%, transparent 98%); mask-image: linear-gradient(#000 70%, transparent 98%); }
.cast figcaption { padding: 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: -14px; }
.cast small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.queue { list-style: none; margin: 30px 0 0; padding: 0; }
.queue li { display: grid; grid-template-columns: 64px 84px 1fr; gap: 0 10px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; }
.queue time { color: var(--muted); font-variant-numeric: tabular-nums; }
.queue b { font-weight: 500; }
.queue span { color: #c9c9c6; }
.is-lit .queue li { animation: land .7s var(--ease) both; }
.is-lit .queue li:nth-child(2) { animation-delay: .12s; } .is-lit .queue li:nth-child(3) { animation-delay: .24s; } .is-lit .queue li:nth-child(4) { animation-delay: .36s; }
@keyframes land { from { opacity: 0; transform: translateX(-14px); } }

/* switchboard */
.board { width: 100%; height: auto; overflow: visible; }
.board .cord { fill: none; stroke: #6f6f73; stroke-width: 2.4; }
.board .spark { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 26 900; stroke-dashoffset: 26; opacity: 0; }
.is-lit .spark { opacity: 1; animation: spark 2.6s var(--ease-in-out) infinite; animation-delay: var(--d); }
@keyframes spark { to { stroke-dashoffset: -640; } }
.board .jack { fill: #000; stroke: #9a9a9e; stroke-width: 2; }
.board text { fill: #eeeeec; font: 500 17px var(--sans); letter-spacing: -0.01em; }

/* one sentence */
.sentence { font-family: var(--serif); font-size: clamp(34px, 5.1vw, 74px); line-height: 1.08; letter-spacing: -0.02em; margin: 20px 0 0; max-width: 19em; }
.sentence u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .13em; text-decoration-color: rgba(255,255,255,.4); transition: text-decoration-color .3s; }
.is-lit .sentence u { animation: say 7.5s infinite; }
.sentence u:nth-of-type(2) { animation-delay: 1.5s !important; } .sentence u:nth-of-type(3) { animation-delay: 3s !important; } .sentence u:nth-of-type(4) { animation-delay: 4.5s !important; } .sentence u:nth-of-type(5) { animation-delay: 6s !important; }
@keyframes say { 0%, 19% { text-decoration-color: #fff; text-decoration-thickness: 3px; } 21%, 100% { text-decoration-color: rgba(255,255,255,.4); text-decoration-thickness: 1px; } }
.sentence s { display: inline-block; width: .06em; height: .8em; margin-left: .08em; background: #fff; vertical-align: -.06em; animation: blink 1s steps(1) infinite; }
.chain { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.chain::before { content: ""; position: absolute; left: 6px; right: 18%; top: 6px; height: 1px; background: rgba(255,255,255,.4); }
.chain li { position: relative; padding: 28px 22px 0 0; }
.chain li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 1.5px #d6d6d3; }
.is-lit .chain li::before { animation: node 7.5s infinite; animation-delay: calc((var(--i, 0)) * 1.5s); }
.chain li:nth-child(2) { --i: 1; } .chain li:nth-child(3) { --i: 2; } .chain li:nth-child(4) { --i: 3; } .chain li:nth-child(5) { --i: 4; }
@keyframes node { 0%, 19% { background: #fff; } 21%, 100% { background: #000; } }
.chain b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.chain span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* news */
.wire { list-style: none; margin: 0; padding: 0; }
.wire li { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.35; }
.wire em { font-style: normal; font-size: 14px; color: #7d7d80; text-align: right; flex: none; max-width: 42%; }
.wire .go { color: #fff; }

/* posts as you */
.habits { display: flex; flex-wrap: wrap; gap: 2px 22px; font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.22; letter-spacing: -0.01em; }
.habits span:nth-child(even) { color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0 8px; margin-top: 34px; height: 230px; border-top: 1px solid var(--line-2); }
.week > div { position: relative; }
.week small { display: block; padding-top: 10px; font-size: 14px; color: var(--muted); }
.week i { position: absolute; left: 0; right: 0; height: 24px; border-radius: 4px; background: #d6d6d3; transform-origin: left; }
.week i.pic { height: 46px; background: radial-gradient(#000 1.1px, transparent 1.5px) 0 0 / 6px 6px, #d6d6d3; }
.week i.rep { background: none; box-shadow: inset 0 0 0 1px #8d8d8a; }
.is-lit .week i { animation: fill .6s var(--ease) both; animation-delay: var(--d); }
@keyframes fill { from { transform: scaleX(0); } }

/* clips */
.reel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.reel i { position: relative; aspect-ratio: 9 / 15; background-color: #17171a; border-radius: 8px; overflow: hidden; font-style: normal; background-image: radial-gradient(#fff 1.7px, transparent 2.2px); background-size: 8px 8px; }
.reel i::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--cx, 50%) var(--cy, 44%), transparent 0, #0c0c0e var(--cr, 46%)); }
.reel .r2 { --cx: 24%; --cy: 30%; --cr: 62%; } .reel .r3 { --cr: 26%; background-size: 5px 5px; } .reel .r4 { --cx: 70%; --cy: 66%; --cr: 70%; background-size: 11px 11px; } .reel .r5 { --cx: 50%; --cy: 100%; --cr: 66%; }
.reel b { position: absolute; left: 8px; right: 8px; bottom: 16%; text-align: center; font-size: clamp(13px, 1.5vw, 20px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
.track { position: relative; display: grid; grid-template-columns: 1fr 1.4fr .5fr .7fr 1.1fr; gap: 3px; margin-top: 18px; }
.track u { height: 30px; border-radius: 3px; background: #2b2b2e; }
.track u:nth-child(even) { background: #424246; }
.track s { position: absolute; top: -8px; bottom: -8px; left: 0; width: 2px; background: #fff; }
.is-lit .track s { animation: play 6s linear infinite; }
@keyframes play { to { left: 100%; } }

/* crew */
.crew { margin: 0; display: grid; grid-template-columns: 92px 1fr; font-size: 16px; line-height: 1.4; }
.crew dt, .crew dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line-2); }
.crew dt { color: var(--muted); }

/* thread and group chat */
.thread p, .chat p { width: fit-content; max-width: 88%; margin: 0 0 8px; padding: 10px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.35; background: #222225; }
.thread .me, .chat p:not(.bot) { margin-left: auto; background: #eeeeec; color: #0a0a0b; }
.thread .left { opacity: .5; margin-bottom: 4px; }
.thread small { font-size: 14px; color: var(--muted); padding-left: 15px; }
.is-lit .chat p { animation: land .5s var(--ease) both; }
.is-lit .chat p:nth-child(2) { animation-delay: .35s; } .is-lit .chat p:nth-child(3) { animation-delay: .7s; } .is-lit .chat p:nth-child(4) { animation-delay: 1.05s; } .is-lit .chat p:nth-child(5) { animation-delay: 1.4s; }

/* launch day */
.rail2 { list-style: none; margin: 0; padding: 0; }
.rail2 li { position: relative; padding: 0 0 22px 28px; font-size: 15.5px; line-height: 1.35; }
.rail2 li:last-child { padding-bottom: 0; }
.rail2 li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d6d6d3; background: #000; z-index: 1; }
.rail2 li:nth-child(2)::before { background: #fff; }
.rail2 li:not(:last-child)::after { content: ""; position: absolute; left: 5.5px; top: 14px; bottom: -6px; width: 1px; background: rgba(255,255,255,.35); }
.rail2 b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; }
.rail2 span { color: var(--muted); }

/* voice */
.wave { display: flex; align-items: center; gap: 4px; height: 190px; }
.wave i { flex: 1; min-width: 1px; height: calc(var(--h) * 100%); border-radius: 9px; background: #eeeeec; }
.is-lit .wave i { animation: talk 1.1s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--h) * -1.6s); }
@keyframes talk { to { transform: scaleY(.38); } }
.said { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; margin: 24px 0 0; }

/* memes */
.meme { display: grid; gap: 14px; justify-items: center; }
.meme i { width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; background: radial-gradient(circle at 50% 110%, transparent 0 22%, #0d0d0f 60%), radial-gradient(#eeeeec 2px, transparent 2.6px) 0 0 / 9px 9px, #0d0d0f; }
.meme b { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; text-align: center; }

/* and after that */
.after { font-family: var(--serif); font-size: clamp(40px, 7.1vw, 108px); line-height: .98; letter-spacing: -0.03em; margin: 34px 0 0; color: #f4f4f2; cursor: default; user-select: none; }
.after span { white-space: nowrap; }
.after span:not(:last-child)::after { content: ""; display: inline-block; width: .16em; height: .16em; margin: 0 .06em .24em .14em; border-radius: 50%; background: #55555a; }

/* the light that's on */
.lights { padding: 0 0 clamp(96px, 13vw, 170px); }
.lights .display { font-size: clamp(50px, 7.6vw, 112px); }
.lights p { max-width: 34em; margin: 26px 0 34px; font-size: 18px; color: var(--muted); }
.lights-do { display: flex; flex-wrap: wrap; gap: 12px; }

@media (hover: none), (pointer: coarse) {
  .by-mouse { display: none; } .by-touch { display: inline; }
}
@media (max-width: 960px) {
  .cell { grid-column: span 6; }
  .c-cast, .c-board, .c-build, .c-news, .c-you, .c-clips, .c-crew, .c-voice, .c-after { grid-column: span 12; }
  .c-memes, .c-chats { grid-column: span 12; }
  .board { max-width: 460px; margin: 0 auto; }
  .chain { grid-template-columns: 1fr; margin-top: 36px; }
  .chain::before { left: 6px; right: auto; top: 10px; bottom: 60px; width: 1px; height: auto; }
  .chain li { padding: 0 0 24px 32px; }
  .chain li::before { top: 4px; }
}
@media (max-width: 640px) {
  .soon { --r: 400px; --deep: .46; }
  .lens { display: none; }
  .lights .display { font-size: 46px; }
  .wall { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-left: 0; }
  .cell, .c-replies, .c-launch { grid-column: span 12; border-right: 0; padding: 30px var(--gutter) 34px; }
  .front { min-height: 100svh; padding-bottom: 56px; }
  .her { right: -22vw; bottom: 34%; width: 128vw; }
  .cast { grid-template-columns: 1fr 1fr; }
  .cast figure:first-child { grid-column: span 2; }
  .cast figure:nth-child(n+2) { margin-top: 18px; }
  .cast figcaption { font-size: 17px; }
  .queue li { grid-template-columns: 54px 1fr; }
  .queue span { grid-column: 2; }
  .wire li { display: block; }
  .wire em { display: block; text-align: left; max-width: none; margin-top: 2px; }
  .week { gap: 0 4px; height: 210px; }
  .reel { gap: 6px; }
  .reel i:nth-child(n+4) { display: none; }
  .reel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wave { height: 130px; gap: 2px; }
  .wave i:nth-child(even) { display: none; }
  .lights-do .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  /* No moving light: everything is dim, and all of it can be read. */
  .dark { background: rgba(0,0,0,.5); }
  .lens { display: none; }
  .her-visor { animation: none; opacity: .4; }
  .point { display: none; }
}
