:root { --bg: #ffc4e4; --ink: #3b3f86; --ink2: #6a6fb4; --acc-t: #e9e6fd; --acc-s: #c6c8f4; --acc-e: #a9afe9; --sans: "Outfit Variable", "Avenir Next", system-ui, sans-serif; --pix: "Silkscreen", monospace; --mono: "DM Mono", ui-monospace, monospace; } * { box-sizing: border-box; } html { background: var(--bg); } body { margin: 0; font-family: var(--sans); color: var(--ink); min-height: 100vh; overflow-x: hidden; background: radial-gradient(70% 60% at 50% 45%, #ffd7ee 0%, transparent 70%), radial-gradient(40% 40% at 90% 90%, #e7d2ff 0%, transparent 70%), var(--bg); background-attachment: fixed; } body::after { /* paper grain, like the poster */ content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .35; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml;utf8,"); } a { color: inherit; } ::selection { background: #fff; color: var(--ink); } #bgshapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; } #bgshapes svg { position: absolute; animation: drift 30s linear infinite; } @keyframes drift { from { transform: translate(-30px, 30px) rotate(0); } to { transform: translate(60px, -90px) rotate(60deg); } } #app { position: relative; z-index: 1; } /* ------------------------- the iso kit ------------------------- */ .world { position: relative; transform-style: preserve-3d; transform: rotateX(60deg) rotateZ(45deg); } .bx, .grp, .board { position: absolute; transform-style: preserve-3d; } .grp { left: 0; top: 0; } .f { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); } .ft { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85); } .board { width: 0; height: 0; } /* face finishes */ .leds { background-image: radial-gradient(circle, #8ff7ea 0 2px, transparent 2.6px), linear-gradient(0deg, transparent 38%, rgba(255, 255, 255, .35) 38% 62%, transparent 62%); background-size: 11px 100%, 100% 100%; background-position: 6px 50%, 0 0; background-repeat: repeat-x, no-repeat; } .leds::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, #fff 0 2.2px, transparent 2.8px) 6px 50% / 33px 100% repeat-x; animation: blink 1.6s steps(2) infinite; animation-delay: var(--blink, 0s); } @keyframes blink { 50% { opacity: 0; } } .vents { background-image: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255, 255, 255, .45) 5px 6px); } .pic { background-size: cover; background-position: center; background-blend-mode: normal; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .9); } .lines { background-image: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, .55) 7px 9px), linear-gradient(90deg, transparent 12%, rgba(0, 0, 0, 0) 12%); background-size: 100% 100%; background-clip: content-box; padding: 6px 14%; } .thread { background-image: repeating-linear-gradient(172deg, transparent 0 3px, rgba(255, 255, 255, .5) 3px 4px); } .door { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 26% 58%; background-position: 50% 100%; background-repeat: no-repeat; } .gridtop { background-image: linear-gradient(rgba(255, 255, 255, .75) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .75) 1px, transparent 1px); background-size: var(--u, 30px) var(--u, 30px); } .water { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .0) 0 8px, rgba(255, 255, 255, .55) 8px 10px, rgba(255, 255, 255, 0) 10px 22px); background-size: 200% 200%; animation: water 6s linear infinite; } @keyframes water { to { background-position: 62px 62px; } } .gen { background-size: auto 104%; background-position: 50% 50%; background-color: #000 !important; } .bob { animation: bob 4s ease-in-out infinite; } @keyframes bob { 50% { translate: 0 0 18px; } } .float { animation: bob 3s ease-in-out infinite; } .spinner > .bx { animation: twirl 6s linear infinite; transform-origin: 50% 50%; } @keyframes twirl { to { rotate: z 360deg; } } /* ------------------------- index ------------------------- */ .town { position: relative; min-height: 100vh; overflow: hidden; } .t-head { position: absolute; left: 4vw; top: 5vh; z-index: 3; } .wordmark { margin: 0; font-weight: 250; font-size: clamp(64px, 8.5vw, 140px); line-height: .9; letter-spacing: -.04em; color: #fff; text-shadow: 1px 1px 0 #d7c8f5, 2px 2px 0 #d1c0f3, 3px 3px 0 #c9b8f0, 4px 4px 0 #c2b0ee, 5px 5px 0 #b9a8eb, 6px 6px 0 #b0a0e8, 7px 7px 0 #a698e3, 8px 8px 0 #9d90df, 14px 18px 30px rgba(120, 70, 160, .25); } .wordmark span { color: #8ff0e2; } .t-sub { font-family: var(--mono); font-size: 12px; line-height: 1.7; letter-spacing: .04em; margin: 18px 0 0 6px; color: var(--ink2); } .legend { position: absolute; right: 4vw; top: 6vh; list-style: none; margin: 0; padding: 14px 18px; z-index: 3; display: grid; gap: 6px; font-family: var(--pix); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255, 255, 255, .5); box-shadow: 6px 6px 0 #c9b8f0; } .legend b { display: inline-block; width: 18px; font-weight: 400; color: #6ad7c9; } .stage { position: absolute; left: 52%; top: 61%; width: 0; height: 0; z-index: 2; transition: transform .75s cubic-bezier(.7, 0, .3, 1); } .stage > .world { translate: -50% -50%; } .flying .town > :not(.stage) { opacity: 0; transition: opacity .4s; } .site { cursor: pointer; transition: translate .45s cubic-bezier(.3, 1.6, .5, 1); animation: rise 1s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i) * 90ms + 200ms); } @keyframes rise { from { translate: 0 0 -260px; } } .site.hot { translate: 0 0 22px; } .world.focus .site:not(.hot) .f { filter: saturate(.55) brightness(1.06); } .world .site .f { transition: filter .35s; } .tag { position: absolute; left: 0; bottom: 0; transform: translate(-50%, 0); white-space: nowrap; text-decoration: none; display: grid; justify-items: center; gap: 2px; padding: 0 0 6px; pointer-events: auto; font-size: 12.5px; font-weight: 500; color: var(--ink); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); } .tag b { font-family: var(--pix); font-weight: 400; font-size: 10px; color: #fff; background: var(--ink); padding: 2px 6px 1px; letter-spacing: .04em; } .tag span { background: rgba(255, 255, 255, .78); padding: 3px 8px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; } .tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: calc(var(--l) + var(--hl, 0px)); background: repeating-linear-gradient(180deg, var(--ink) 0 3px, transparent 3px 6px); } .tag::before { content: ""; position: absolute; left: calc(50% - 3px); top: calc(100% + var(--l) + var(--hl, 0px) - 3px); width: 7px; height: 7px; border-radius: 50%; background: #ff5fa8; box-shadow: 0 0 0 2px #fff; } .site.hot .tag { transform: translate(-50%, -10px) scale(1.12); } .site.hot .tag { --hl: 10px; } .site.hot .tag span { background: #fff; box-shadow: 4px 4px 0 #8ff0e2; } .world.focus .site:not(.hot) .tag { opacity: .35; } .t-list { position: absolute; left: 4vw; bottom: 5vh; list-style: none; margin: 0; padding: 0; z-index: 3; width: min(360px, 30vw); counter-reset: n; } .t-list a { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: baseline; padding: 4px 0; text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(59, 63, 134, .15); transition: padding .3s, color .3s; } .t-list .g { color: #ff5fa8; font-size: 11px; } .t-list .tt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .t-list .dt { font-family: var(--pix); font-size: 10px; color: var(--ink2); } .t-list a.hot { padding-left: 10px; color: #fff; background: var(--ink); } .t-list a.hot .dt { color: #8ff0e2; } .scale { position: absolute; right: 4vw; bottom: 5vh; z-index: 3; display: flex; align-items: center; gap: 10px; font-family: var(--pix); font-size: 10px; text-transform: uppercase; } .scale i { width: 60px; height: 8px; border: 1px solid var(--ink); border-top: 0; } .deco { position: absolute; z-index: 1; pointer-events: none; } .zig { right: 6vw; top: 30vh; width: 180px; height: 20px; fill: none; stroke: #6fd8ff; stroke-width: 2; stroke-dasharray: 300; animation: zig 6s linear infinite; } @keyframes zig { to { stroke-dashoffset: -600; } } .dots { left: 6vw; top: 42vh; display: grid; grid-template-columns: repeat(6, 10px); gap: 8px; } .dots i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #8ff0e2; animation: blink 2.4s steps(2) infinite; } .dots i:nth-child(3n) { animation-delay: .6s; } .dots i:nth-child(4n) { animation-delay: 1.2s; border-color: #fff; } .pix { right: 8vw; bottom: 18vh; display: flex; align-items: flex-end; gap: 0; } .pix i { width: 14px; height: calc((var(--i) + 1) * 14px); background: linear-gradient(#fff 0 14px, #c6c8f4 14px); } /* ------------------------- post ------------------------- */ body[data-view="post"] { background: radial-gradient(60% 70% at 20% 55%, color-mix(in srgb, var(--acc-s) 70%, #fff) 0%, transparent 70%), radial-gradient(50% 50% at 95% 10%, var(--acc-t), transparent 70%), var(--bg); background-attachment: fixed; } .post { display: grid; grid-template-columns: minmax(340px, 40vw) 1fr; min-height: 100vh; } .dio { position: sticky; top: 0; height: 100vh; overflow: hidden; } .dio .home { position: absolute; left: 32px; top: 28px; z-index: 3; font-family: var(--pix); font-size: 12px; text-decoration: none; background: #fff; padding: 6px 10px; box-shadow: 4px 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; } .dio .home:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); } .dio-stage { position: absolute; left: 50%; top: 56%; width: 0; height: 0; } .dio-stage .world { translate: -50% -50%; } .world.spin { animation: spin 48s linear infinite; } @keyframes spin { from { transform: rotateX(60deg) rotateZ(45deg); } to { transform: rotateX(60deg) rotateZ(405deg); } } .dio-meta { position: absolute; left: 32px; bottom: 28px; right: 32px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--pix); font-size: 10.5px; text-transform: uppercase; } .dio-meta span { background: rgba(255, 255, 255, .65); padding: 4px 8px; } .dio-meta .built { background: var(--ink); color: #8ff0e2; } .bx.pending { visibility: hidden; translate: 0 0 340px; } .bx.floor, .grp.floor { transition: translate .7s cubic-bezier(.3, 1.35, .5, 1), visibility 0s; } .bx.pending, .grp.pending { visibility: hidden; translate: 0 0 340px; transition: translate .3s ease-in, visibility 0s .3s; } .read { padding: 9vh 6vw 16vh 2vw; max-width: 900px; } .ph-k { font-family: var(--mono); font-size: 12.5px; color: var(--ink2); display: flex; align-items: center; gap: 10px; margin: 0 0 22px; } .ph h1 { margin: 0 0 6vh; font-weight: 250; font-size: clamp(44px, 5.6vw, 92px); line-height: .98; letter-spacing: -.035em; color: #fff; text-wrap: balance; text-shadow: 1px 1px 0 var(--acc-s), 2px 2px 0 var(--acc-s), 3px 3px 0 var(--acc-e), 4px 4px 0 var(--acc-e), 5px 5px 0 var(--acc-e), 6px 6px 0 var(--acc-e), 12px 16px 26px rgba(120, 70, 160, .22); } .slab { position: relative; background: #fffafd; box-shadow: 1px 1px 0 var(--acc-e), 2px 2px 0 var(--acc-e), 3px 3px 0 var(--acc-e), 4px 4px 0 var(--acc-e), 5px 5px 0 var(--acc-e), 6px 6px 0 var(--acc-e), 7px 7px 0 var(--acc-e), 8px 8px 0 var(--acc-e), 9px 9px 0 var(--acc-e), 10px 10px 0 var(--acc-e), 20px 24px 40px rgba(110, 60, 150, .2); } .body { padding: 56px 60px 64px; font-size: 18px; line-height: 1.68; font-weight: 380; } .body > * { max-width: 680px; } .body p { margin: 0 0 1.05em; } .body a { color: var(--ink); text-decoration: none; background: linear-gradient(0deg, var(--acc-s) 0 34%, transparent 34%); transition: background-size .3s; } .body a:hover { background: var(--acc-s); } .body strong { font-weight: 600; } .body h2 { display: flex; align-items: center; gap: 12px; font-weight: 400; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; margin: 1.8em 0 .5em; } .body h2 .cube { flex: none; animation: bob 3s ease-in-out infinite; } .body h3 { font-family: var(--pix); font-weight: 400; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; margin: 2em 0 .6em; color: var(--ink2); } .body h1 { font-weight: 300; font-size: 40px; letter-spacing: -.03em; } .body code { font-family: var(--mono); font-size: .82em; background: var(--acc-t); padding: .1em .35em; box-shadow: 2px 2px 0 var(--acc-s); } .body pre code { background: none; box-shadow: none; padding: 0; font-size: 13px; } .body ul { padding-left: 0; list-style: none; } .body li { position: relative; padding-left: 26px; margin: .4em 0; } .body li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; background: var(--acc-s); box-shadow: 2px 2px 0 var(--acc-e); transform: rotate(45deg) scaleY(.7); } .body hr { border: 0; height: 14px; margin: 2.6em 0; background: linear-gradient(135deg, var(--acc-s) 25%, transparent 25%) -7px 0 / 14px 14px, linear-gradient(225deg, var(--acc-s) 25%, transparent 25%) -7px 0 / 14px 14px; } .body img { max-width: 100%; display: block; } .frame { margin: 2.2em 0 2.6em; padding: 10px; background: #fff; max-width: none !important; box-shadow: 1px 1px 0 var(--acc-s), 2px 2px 0 var(--acc-s), 3px 3px 0 var(--acc-s), 4px 4px 0 var(--acc-s), 5px 5px 0 var(--acc-s), 6px 6px 0 var(--acc-s), 7px 7px 0 var(--acc-s), 8px 8px 0 var(--acc-s); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .35s; } .frame:hover { transform: translate(-4px, -4px); box-shadow: 1px 1px 0 var(--acc-s), 2px 2px 0 var(--acc-s), 3px 3px 0 var(--acc-s), 4px 4px 0 var(--acc-s), 5px 5px 0 var(--acc-s), 6px 6px 0 var(--acc-s), 7px 7px 0 var(--acc-s), 8px 8px 0 var(--acc-s), 9px 9px 0 var(--acc-s), 10px 10px 0 var(--acc-s), 11px 11px 0 var(--acc-s), 12px 12px 0 var(--acc-s); } .frame figcaption { font-family: var(--mono); font-size: 12px; color: var(--ink2); padding: 10px 2px 0; } .chip { position: relative; margin: 2.2em -20px 2.4em; max-width: none !important; } .chip-k { position: absolute; top: -12px; left: 16px; z-index: 2; display: flex; align-items: center; gap: 6px; background: #fff; padding: 3px 9px 2px; font-family: var(--pix); font-size: 10px; text-transform: uppercase; box-shadow: 3px 3px 0 var(--ink); } .chip pre { margin: 0; padding: 26px 24px 20px; overflow-x: auto; background: #2a2d58 !important; line-height: 1.6; box-shadow: 1px 1px 0 #1d1f45, 2px 2px 0 #1d1f45, 3px 3px 0 #1d1f45, 4px 4px 0 #1d1f45, 5px 5px 0 #1d1f45, 6px 6px 0 #1d1f45, 7px 7px 0 #1d1f45, 8px 8px 0 #1d1f45, 9px 9px 0 #1d1f45, 10px 10px 0 #1d1f45; } .next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; margin-top: 70px; padding: 28px 32px; text-decoration: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); } .next small { grid-column: 1; font-family: var(--pix); font-size: 11px; text-transform: uppercase; color: var(--ink2); } .next b { grid-column: 1; font-weight: 300; font-size: 30px; letter-spacing: -.02em; line-height: 1.05; } .next .cube { grid-column: 2; grid-row: 1 / 3; transition: transform .6s; } .next:hover { transform: translate(-5px, -5px); } .next:hover .cube { transform: rotate(360deg); } .rv { opacity: 0; translate: 0 26px; transition: opacity .8s var(--rd, 0s), translate .9s cubic-bezier(.3, 1.3, .5, 1) var(--rd, 0s); } .rv.in { opacity: 1; translate: 0 0; } /* image: monoliths */ .mono-wrap { position: relative; height: 560px; margin: 0 -60px 1em; max-width: none !important; } .mono-wrap .world { position: absolute; left: 50%; top: 58%; translate: -50% -50%; } .monolith { transition: translate .5s cubic-bezier(.3, 1.6, .5, 1); animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); cursor: zoom-in; } .monolith:hover { translate: 0 0 40px; animation-play-state: paused; } .k-image .body { padding-top: 48px; } /* prose: a staircase of floors */ .body.stairs { background: none; box-shadow: none; padding: 0; } .stairs .flr { position: relative; background: #fffafd; padding: 40px 48px 36px; margin: 0 0 34px calc(min(var(--step), 6) * 1.6vw); max-width: 700px; box-shadow: 1px 1px 0 var(--acc-e), 2px 2px 0 var(--acc-e), 3px 3px 0 var(--acc-e), 4px 4px 0 var(--acc-e), 5px 5px 0 var(--acc-e), 6px 6px 0 var(--acc-e), 7px 7px 0 var(--acc-e), 8px 8px 0 var(--acc-e), 9px 9px 0 var(--acc-e), 10px 10px 0 var(--acc-e), 20px 24px 40px rgba(110, 60, 150, .18); } .stairs .flr::before { content: attr(data-floor); position: absolute; top: -11px; right: 24px; font-family: var(--pix); font-size: 10px; text-transform: uppercase; background: var(--ink); color: #8ff0e2; padding: 3px 8px 2px; } .stairs .flr > h2:first-child { margin-top: 0; } .stairs .flr:first-child > p:first-child { font-size: 22px; font-weight: 300; line-height: 1.5; } .blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.6em 0; } .blocks li { padding: 16px 16px 16px 58px; margin: 0; font-size: 15.5px; line-height: 1.45; background: var(--acc-t); box-shadow: 4px 4px 0 var(--acc-s), 8px 8px 0 var(--acc-e); } .blocks li::before { display: none; } .blocks .num { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; font-family: var(--pix); font-size: 13px; color: #fff; background: var(--ink); box-shadow: 3px 3px 0 #ff5fa8; } /* note: link tiles */ .k-note .body > p:first-child { font-size: 22px; font-weight: 300; line-height: 1.5; } .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 2em 0 1em; max-width: none !important; } .tile-h { grid-column: 1 / -1; margin: 1em 0 0 !important; } .tile { background: var(--acc-t); padding: 18px 20px 16px; font-size: 14px; line-height: 1.45; color: var(--ink2); box-shadow: 2px 2px 0 var(--acc-s), 4px 4px 0 var(--acc-s), 6px 6px 0 var(--acc-e), 8px 8px 0 var(--acc-e); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), box-shadow .35s; } .tile:hover { transform: translate(-4px, -4px); box-shadow: 2px 2px 0 var(--acc-s), 4px 4px 0 var(--acc-s), 6px 6px 0 var(--acc-e), 8px 8px 0 var(--acc-e), 10px 10px 0 var(--acc-e), 12px 12px 0 var(--acc-e); } .tile > a:first-child { display: block; background: none; font-size: 21px; font-weight: 400; color: var(--ink); line-height: 1.15; margin-bottom: 8px; letter-spacing: -.01em; } .tile > a:first-child strong { font-weight: 450; } .tile p { margin: 8px 0 0; font-size: 14.5px; } .tile.list { grid-column: 1 / -1; background: #fff; } @media (max-width: 900px) { .post { grid-template-columns: 1fr; } .dio { position: relative; height: 60vh; } .read { padding: 4vh 5vw 12vh; } .body { padding: 36px 24px; } .t-list, .legend, .deco { display: none; } .wordmark { font-size: 64px; } .tiles, .blocks { grid-template-columns: 1fr; } }