/* For creators: the noise, the quiet, the time bar. One sticky pin; every state is a pure function of scroll (creators.js).
   Flat: cream ground, soft lift only, no borders, no cards in cards. */
#creators { position: relative; background: var(--cream); }
.cpin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.cst { position: absolute; inset: 0; --k: 1; --cf: 13px; }
#creators > .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cblk { position: relative; }
.cst .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.clab { position: absolute; left: 0; right: 0; text-align: center; font-size: clamp(17px, 1.8vw, 24px); letter-spacing: -.01em; color: #5a564e; opacity: 0; pointer-events: none; will-change: opacity; }
.cdot { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: 0; border-radius: 999px; background: #111; opacity: 0; will-change: transform, opacity; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cdot span { color: var(--cream); font-size: 16px; letter-spacing: -.005em; white-space: nowrap; opacity: 0; display: flex; align-items: center; gap: 10px; }
.cdot span i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #ff4d3d; flex: none; }

/* chores: each one is an app icon that unfolds into the thing it is */
#creators .ch { position: absolute; left: 50%; top: 50%; opacity: 0; visibility: hidden; will-change: transform, width, height, opacity; }
#creators .ch .sh { position: absolute; inset: 0; border-radius: inherit; background: #fff; box-shadow: 0 12px 30px rgba(60,50,35,.1); opacity: 0; }
#creators .ch.dk .sh { background: #111; box-shadow: none; }
#creators .ch.nb .sh { box-shadow: none; }
#creators .ch .cl { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
#creators .ch .ic { position: absolute; left: 50%; top: 50%; display: block; width: var(--is); height: var(--is); margin: calc(var(--is) / -2) 0 0 calc(var(--is) / -2); border-radius: 22.37%; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 3px 8px rgba(0,0,0,.08); will-change: opacity; user-select: none; -webkit-user-drag: none; }
#creators .ch .bd { position: absolute; left: 50%; top: 50%; transform-origin: 50% 50%; font-size: var(--cf); line-height: 1.35; color: #111; letter-spacing: -.005em; opacity: 0; will-change: opacity, transform; }
#creators .ch .bd * { margin: 0; }
#creators .ch .mu { color: #8d877b; }
#creators .ch .hd { display: flex; align-items: center; gap: 8px; color: #8d877b; font-size: 12px; }
#creators .ch .hd img { width: 22px; height: 22px; border-radius: 6px; display: block; }
#creators .ch .big { font-size: 17px; line-height: 1.2; letter-spacing: -.012em; }

.bd.drive { width: 176px; height: 312px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.bd.drive .big { margin-top: 14px; }
.pb { display: block; height: 4px; border-radius: 2px; background: #ece6da; overflow: hidden; margin: 8px 0 12px; }
.pb i { display: block; height: 100%; width: 100%; border-radius: 2px; background: #111; transform-origin: 0 0; transform: scaleX(.34); animation: stall 2.6s steps(1) infinite; }
@keyframes stall { 0% { transform: scaleX(.34); } 18% { transform: scaleX(.346); } 31% { transform: scaleX(.341); } 52% { transform: scaleX(.349); } 70% { transform: scaleX(.34); } 86% { transform: scaleX(.344); } }
.fl { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; color: #8d877b; font-size: 12px; }
.fl li { display: flex; justify-content: space-between; align-items: center; white-space: nowrap; }
.fl li b { font-weight: 400; display: block; width: 10px; height: 10px; border-radius: 50%; background: #e2dccf; animation: pulse 1.6s ease-in-out infinite; }
.fl li:nth-child(2n) b { animation-delay: .5s; } .fl li:nth-child(3n) b { animation-delay: 1s; }
@keyframes pulse { 50% { opacity: .35; } }

.bd.pill { width: 288px; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 10px; color: var(--cream); }
.bd.pill .ai { width: 30px; height: 30px; border-radius: 9px; flex: none; display: block; }
.bd.pill span { font-size: 15px; white-space: nowrap; }
.bd.pill .pc { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: #cfc9bd; }
.bd.pill svg { width: 22px; height: 22px; display: block; }
.bd.pill .rg { animation: ring 2.2s steps(1) infinite; transform-origin: 50% 50%; }
@keyframes ring { 0% { stroke-dashoffset: 24.6; } 25% { stroke-dashoffset: 24.1; } 50% { stroke-dashoffset: 24.5; } 75% { stroke-dashoffset: 24.2; } }

.bd.chat { width: 252px; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.bd.chat .u { align-self: flex-end; color: #5a564e; }
.bd.chat .a { color: #111; display: flex; flex-direction: column; gap: 2px; }
.bd.chat .a em { font-style: normal; color: #8d877b; }
.bd.chat .rg2 { color: #8d877b; display: flex; align-items: center; gap: 6px; }
.bd.chat .rg2 i { width: 10px; height: 10px; border-radius: 50%; background: #e2dccf; display: block; animation: pulse 1.2s ease-in-out infinite; }

.bd.notion { width: 236px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; }
.bd.notion .big { margin: 10px 0 4px; }
.bd.notion .pr { display: flex; justify-content: space-between; font-size: 12.5px; color: #8d877b; }
.bd.notion .pr b { font-weight: 400; color: #111; }
.bd.notion .pr b.no { color: #d4503f; }
.bd.notion .vr { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; position: relative; }
.bd.notion .vr svg { width: 12px; height: 12px; color: #6f695f; }
.bd.notion .tabs { position: relative; height: 66px; margin-top: 2px; }
.bd.notion .tabs i { position: absolute; left: 0; height: 22px; padding: 0 9px; border-radius: 8px 8px 0 0; background: #ece6da; color: #5a564e; font-style: normal; font-size: 11px; line-height: 22px; white-space: nowrap; opacity: 0; transform: translateY(8px); animation: tab 5.4s ease-out infinite; }
.bd.notion .tabs i:nth-child(1) { top: 0; animation-delay: 0s; left: 0; } .bd.notion .tabs i:nth-child(2) { top: 18px; left: 34px; animation-delay: .5s; } .bd.notion .tabs i:nth-child(3) { top: 36px; left: 68px; animation-delay: 1s; } .bd.notion .tabs i:nth-child(4) { top: 54px; left: 102px; animation-delay: 1.5s; }
@keyframes tab { 0% { opacity: 0; transform: translateY(8px); } 8%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

.bd.doc { width: 232px; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 5px; font-size: 10.5px; line-height: 1.4; color: #3b3732; }
.bd.doc .big { font-size: 14px; margin-bottom: 4px; }
.bd.doc .dl { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.bd.doc .sc { white-space: normal; }
.bd.doc .nt { background: rgba(255,214,0,.34); border-radius: 3px; padding: 0 3px; }
.bd.doc .nt.x { text-decoration: line-through; text-decoration-color: #d4503f; text-decoration-thickness: 1.5px; }
.bd.doc .nt.live { animation: strike 6s ease-in-out infinite; text-decoration-line: line-through; text-decoration-color: transparent; }
@keyframes strike { 0%, 30% { text-decoration-color: transparent; } 45%, 100% { text-decoration-color: #d4503f; } }
.bd.doc .lk { color: #4a7be0; }
.bd.doc .rd { color: #d4503f; }

.bd.site { width: 252px; height: 188px; }
.bd.site .ub { position: absolute; left: 14px; right: 14px; top: 14px; height: 26px; border-radius: 13px; background: #f1ece2; padding: 0 12px; font-size: 11px; line-height: 26px; color: #6f695f; white-space: nowrap; overflow: hidden; }
.bd.site .sp { position: absolute; left: 50%; top: 82px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; border: 3px solid #e2dccf; border-top-color: #8d877b; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bd.site p { position: absolute; left: 0; right: 0; top: 124px; text-align: center; font-size: 12px; color: #6f695f; }
.bd.site .ld { position: absolute; left: 36px; right: 36px; top: 150px; height: 4px; border-radius: 2px; background: #ece6da; overflow: hidden; }
.bd.site .ld i { display: block; width: 36%; height: 100%; border-radius: 2px; background: #8d877b; animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
.bd.site .ad { position: absolute; width: 38px; height: 30px; border-radius: 6px; background: #ece6da; }
.bd.site .ad.g { background: #cfe8c9; } .bd.site .ad.r { background: #f1cfc8; }

.bd.msg { width: 244px; padding: 6px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; font-size: 12.5px; line-height: 1.32; }
.bd.msg .m { max-width: 92%; padding: 8px 12px; border-radius: 17px; background: #2f7cf6; color: #fff; }
.bd.msg .m.in { align-self: flex-start; background: #e6e1d6; color: #111; padding: 11px 14px; display: flex; gap: 4px; }
.bd.msg .m.in i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #8d877b; animation: bob 1.2s ease-in-out infinite; }
.bd.msg .m.in i:nth-child(2) { animation-delay: .15s; } .bd.msg .m.in i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.bd.file { width: 150px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bd.file .fv { width: 78px; height: 104px; border-radius: 10px; background: linear-gradient(160deg, #d0bde3, #8f74b8); display: grid; place-items: center; box-shadow: 0 10px 22px rgba(60,50,35,.16); }
.bd.file .fv svg { width: 34px; height: 34px; }
.bd.file span { font-size: 12.5px; white-space: nowrap; }

/* the quiet: the KOSMA script page, flat */
#cpg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; pointer-events: none; padding: 0 24px; }
.pi { width: min(540px, 100%); will-change: transform, opacity; opacity: 0; visibility: hidden; }
.pi.t { font-size: clamp(24px, 3.1vw, 36px); line-height: 1.12; letter-spacing: -.02em; }
.pi.hkl { font-size: 11px; line-height: 14px; letter-spacing: .09em; text-transform: uppercase; color: #3366ff; margin-bottom: -8px; }
.pi.hk { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.22; letter-spacing: -.015em; color: #111; }
.pi.sl { font-size: clamp(14.5px, 1.35vw, 16.5px); line-height: 1.45; color: #111; }
.pi.sl.f1 { opacity: 0; color: #5a564e; } .pi.sl.f2 { color: #9a9488; }
.pi.stx { display: flex; align-items: center; gap: 14px; font-size: 14.5px; color: #111; margin-top: 4px; }
.pi.stx .sth { width: 34px; height: 60px; border-radius: 7px; background: linear-gradient(160deg, #d0bde3, #8f74b8); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(60,50,35,.16); }
.pi.stx .sth svg { width: 14px; height: 14px; }
.pi.stx em { display: block; font-style: normal; color: #8d877b; font-size: 12.5px; }
.pi.rs { height: 44px; }
#cnote { position: absolute; left: 50%; top: 96px; width: min(380px, calc(100% - 32px)); margin-left: calc(min(380px, 100% - 32px) / -2); padding: 14px 18px; border-radius: 22px; background: #fffdf9; box-shadow: 0 14px 34px rgba(60,50,35,.16); display: flex; align-items: center; gap: 14px; opacity: 0; visibility: hidden; will-change: transform, opacity; }
#cnote i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #111; display: block; position: relative; }
#cnote i::after { content: ""; position: absolute; left: 11px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }
#cnote small { display: block; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #8d877b; line-height: 14px; margin-bottom: 2px; }
#cnote span { font-size: 14.5px; line-height: 1.3; color: #111; }

/* the time bar */
#cbw { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; }
#cbar { position: absolute; left: 50%; top: 50%; height: 32px; margin-top: -16px; border-radius: 999px; background: #111; overflow: hidden; will-change: width, transform; }
#cbar b { position: absolute; top: 0; bottom: 0; display: block; will-change: left, width; }
.cchip { position: absolute; left: 50%; top: 50%; height: 20px; margin-top: -68px; font-size: 14.5px; color: #8d877b; white-space: nowrap; }
.cchip span { position: absolute; left: 50%; transform: translateX(-50%); }
.cleg { position: absolute; left: 50%; top: 50%; margin-top: 36px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 48px); list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; will-change: opacity; }
.cleg li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.3; color: #111; }
.cleg li i { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; display: block; }
.cleg li em { display: block; font-style: normal; color: #8d877b; font-size: 13px; }

@media (max-width: 700px) {
  .cst { --cf: 13px; }
  .cleg { grid-template-columns: 1fr; gap: 12px; }
  #cbar { height: 28px; margin-top: -14px; }
  #cnote { top: 72px; }
  #cpg { padding: 150px 24px 30px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pb i, .fl li b, .bd.pill .rg, .bd.chat .rg2 i, .bd.notion .tabs i, .bd.doc .nt.live, .bd.site .sp, .bd.site .ld i, .bd.msg .m.in i { animation: none; }
  .bd.notion .tabs i { opacity: 1; transform: none; }
  .bd.doc .nt.live { text-decoration-color: #d4503f; }
}
