:root { --paper: #f1ece2; --ink: #e9e4d8; --dim: rgba(233, 228, 216, .56); --night: #0b0f17; --serif: "Instrument Serif", "Times New Roman", serif; --text: "Newsreader Variable", Georgia, serif; --mono: "JetBrains Mono", ui-monospace, monospace; } * { box-sizing: border-box; } html { background: var(--night); } body { margin: 0; color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; } ::selection { background: #f4dcb4; color: #111; } #gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; } #grain { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,"); } a { color: inherit; } .chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: baseline; padding: 22px 28px; pointer-events: none; mix-blend-mode: difference; color: #f3efe6; } .chrome > * { pointer-events: auto; } .mark { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -.01em; } .mark i { font-style: italic; opacity: .7; } .clock { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; } #app { position: relative; } #app.enter { animation: enter .9s cubic-bezier(.2, .7, .1, 1) backwards; } @keyframes enter { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } } /* ---------------- index ---------------- */ .index { min-height: 100vh; padding: 14vh 28px 28px; display: grid; grid-template-columns: 1fr minmax(0, 3.2fr); gap: 32px; align-content: end; } .intro { align-self: end; padding-bottom: 10px; mix-blend-mode: difference; color: #f3efe6; } .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 14px; } .blurb { font-family: var(--serif); font-size: 20px; line-height: 1.2; max-width: 22ch; margin: 0; opacity: .85; } .entries { list-style: none; margin: 0; padding: 0; } .entries li { animation: rise 1.1s cubic-bezier(.2, .7, .1, 1) backwards; animation-delay: calc(var(--i) * 70ms + 200ms); } @keyframes rise { from { opacity: 0; transform: translateY(40px); filter: blur(10px); } } .entries a { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: baseline; gap: 18px; text-decoration: none; padding: .04em 0; color: #f3efe6; mix-blend-mode: difference; transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .1, 1); } .entries .n { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; opacity: .6; transform: translateY(-1.8em); } .entries .t { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 70px); line-height: .98; letter-spacing: -.025em; transition: letter-spacing .7s cubic-bezier(.2, .7, .1, 1); } .entries .m { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-align: right; opacity: .6; display: grid; gap: 4px; } .entries .m em { font-style: normal; text-transform: uppercase; letter-spacing: .25em; } .entries.focus a { opacity: .18; } .entries.focus a.hov, .entries.focus a:hover { opacity: 1; transform: translateX(.35em); } .entries a.hov .t, .entries a:hover .t { font-style: italic; letter-spacing: -.01em; } .hint { grid-column: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .45; margin: 24px 0 0; mix-blend-mode: difference; color: #fff; } /* ---------------- post ---------------- */ .post { --col: 640px; padding: 0 28px 18vh; } .ph { min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 9vh; max-width: 1100px; mix-blend-mode: difference; color: #f3efe6; } .ph h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 10vw, 168px); line-height: .86; letter-spacing: -.035em; margin: 0; text-wrap: balance; } .ph .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; display: flex; gap: 28px; margin: 0 0 28px; opacity: .8; } .ph .lede { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); margin: 22px 0 0 .1em; opacity: .75; } /* the sheer: a frosted drape you read through */ .body { position: relative; max-width: calc(var(--col) + 120px); margin-left: auto; margin-right: max(4vw, calc(50vw - 520px)); padding: 72px 60px 80px; background: linear-gradient(180deg, rgba(10, 13, 20, .78), rgba(10, 13, 20, .7)); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); border-top: 1px solid rgba(255, 245, 225, .14); box-shadow: 0 40px 120px rgba(0, 0, 0, .4); font-size: 19px; line-height: 1.62; font-variation-settings: "opsz" 16; } .body > * { max-width: var(--col); } .body p { margin: 0 0 1.05em; } .body h2, .body h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; } .body h2 { font-size: 40px; line-height: 1; margin: 1.6em 0 .5em; } .body h3 { font-size: 27px; font-style: italic; margin: 1.4em 0 .4em; } .body h1 { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; margin: .6em 0 .4em; } .body a { text-decoration-color: rgba(244, 220, 180, .5); text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color .3s, text-decoration-color .3s; } .body a:hover { color: #f6d9a8; text-decoration-color: currentColor; } .body strong { font-weight: 600; color: #fff; } .body code { font-family: var(--mono); font-size: .8em; background: rgba(255, 240, 210, .08); padding: .1em .35em; border-radius: 3px; } .body pre code { background: none; padding: 0; font-size: 13.5px; } .body ul { padding-left: 1.1em; } .body li { margin: .3em 0; } .body li::marker { color: rgba(244, 220, 180, .6); } .body hr { border: 0; height: 1px; margin: 3em 0; background: linear-gradient(90deg, transparent, rgba(244, 220, 180, .5), transparent); } .body img { max-width: 100%; display: block; } .rv { opacity: 0; transform: translateY(18px); transition: opacity 1s cubic-bezier(.2, .7, .1, 1) var(--rd, 0ms), transform 1s cubic-bezier(.2, .7, .1, 1) var(--rd, 0ms); } .rv.in { opacity: 1; transform: none; } .pf { max-width: calc(var(--col) + 120px); margin: 0 max(4vw, calc(50vw - 520px)) 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 48px 0 0; mix-blend-mode: difference; color: #f3efe6; } .pf a { text-decoration: none; } .pf .back { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; } .pf .next { font-family: var(--serif); font-size: clamp(32px, 4vw, 56px); line-height: .95; text-align: right; max-width: 12ch; } .pf .next small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-bottom: 10px; } .pf .next:hover { font-style: italic; } /* ---- code: glass panes, cooler light ---- */ .k-code .body { background: linear-gradient(180deg, rgba(8, 12, 20, .8), rgba(8, 12, 20, .74)); } .pane { position: relative; margin: 2em -30px 2.2em; max-width: none !important; } .pane-k { position: absolute; top: -1.9em; right: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(205, 225, 255, .5); } .pane pre { margin: 0; padding: 22px 26px; overflow-x: auto; border-radius: 2px; background: linear-gradient(115deg, rgba(150, 190, 255, .07), rgba(150, 190, 255, .02) 40%, rgba(255, 255, 255, .06) 41%, rgba(150, 190, 255, .02) 55%) , rgba(7, 10, 17, .66) !important; border: 1px solid rgba(190, 215, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 50px rgba(0, 0, 0, .35); line-height: 1.6; font-size: 13.5px; } .pane pre::-webkit-scrollbar { height: 6px; } .pane pre::-webkit-scrollbar-thumb { background: rgba(200, 220, 255, .25); } .k-code .body h2 { font-family: var(--mono); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: rgba(205, 225, 255, .75); margin: 3.2em 0 1.4em; display: flex; align-items: center; gap: 14px; } .k-code .body h2::after { content: ""; flex: 1; height: 1px; background: rgba(205, 225, 255, .2); } .k-code .body h3 { font-size: 30px; } /* ---- plates: images hung in raking light ---- */ .plate { margin: 2.4em -60px; max-width: none !important; position: relative; overflow: hidden; } .plate img { width: 100%; } .plate::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: repeating-linear-gradient(118deg, rgba(255, 238, 205, .55) 0 9%, transparent 14% 26%, rgba(255, 238, 205, .45) 31% 38%, transparent 44% 60%); background-size: 260% 100%; animation: rake 18s linear infinite; } @keyframes rake { from { background-position: 0 0; } to { background-position: -260% 0; } } .plate figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 12px 0 0 60px; } .k-image .body { margin-right: auto; margin-left: max(4vw, calc(50vw - 560px)); } /* fig-gen: the gens are light. no sheer — they sit on the curtain directly */ .body.screened { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 0; padding-top: 20px; } .body.screened > p, .body.screened > h2, .body.screened > h3 { background: rgba(8, 11, 18, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: .7em 1em; margin-left: -1em; } .body.screened > h2, .body.screened > h3 { display: inline-block; margin-bottom: .3em; } .body.screened .plate { margin: 2.6em -10vw 2.6em -60px; } .body.screened .plate { mix-blend-mode: screen; } .body.screened .plate img { filter: contrast(1.3) brightness(1.15); } .body.screened .plate::after { display: none; } .body.screened .plate { overflow: visible; } .body.screened .plate figcaption { padding-left: 0; } .gens { max-width: none !important; width: 92vw; margin: 4em 0 4em calc(4vw - 60px - max(4vw, calc(50vw - 560px))); display: grid; grid-template-columns: repeat(6, 1fr); gap: 2vw; padding: 0 2vw; } .gens figure { margin: 0; position: relative; mix-blend-mode: screen; animation: breathe 6s ease-in-out infinite; animation-delay: calc(var(--d) * -1s); } .gens img { width: 100%; height: 52vh; object-fit: cover; object-position: center; filter: contrast(1.4) brightness(1.3); } .gens span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-top: 10px; } @keyframes breathe { 50% { transform: translateY(-10px); filter: drop-shadow(0 0 18px rgba(255, 236, 200, .35)); } } /* ---- prose: hours on the wall ---- */ .k-prose .body { font-size: 20.5px; line-height: 1.68; font-variation-settings: "opsz" 20; } .k-prose .body h2 { font-size: 54px; font-style: italic; margin-top: 2.2em; position: relative; } .k-prose .body h2::before { content: attr(data-hour); position: absolute; left: -140px; top: .5em; width: 110px; text-align: right; font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .2em; color: rgba(246, 217, 168, .7); } .k-prose .body p.first::first-letter { font-family: var(--serif); float: left; font-size: 5.4em; line-height: .78; padding: .06em .1em 0 0; color: #f6d9a8; } .k-prose .body ul { list-style: none; padding: 0; counter-reset: pt; } .k-prose .body ul li { counter-increment: pt; padding-left: 2.6em; position: relative; margin: .8em 0; } .k-prose .body ul li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 0; top: .25em; font-family: var(--mono); font-size: 12px; color: rgba(246, 217, 168, .8); letter-spacing: .1em; } .k-prose .body hr { height: 40px; background: none; position: relative; } .k-prose .body hr::after { content: "☼"; position: absolute; inset: 0; text-align: center; font-size: 18px; color: rgba(246, 217, 168, .7); line-height: 40px; } /* ---- note: no drape, just a few lines standing in a shaft ---- */ .k-note .ph { min-height: 70vh; } .k-note .ph h1 { font-size: clamp(48px, 7.5vw, 120px); } .k-note .body { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; border: 0; margin: 0 auto; padding: 0; max-width: 980px; font-size: 21px; mix-blend-mode: difference; color: #f3efe6; } .k-note .body > * { max-width: none; } .k-note .body > p:first-child { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; max-width: 24ch; margin-bottom: 1.6em; } .k-note .body h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin: 5em 0 1.5em; border-top: 1px solid currentColor; padding-top: 14px; } .k-note .body h3 { font-size: 22px; font-family: var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; } .k-note .body p.src { font-size: 15px; font-family: var(--mono); letter-spacing: .02em; margin: 0; padding: 18px 0 6px; border-top: 1px solid rgba(255, 255, 255, .25); } .k-note .body p.src a:first-child { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.02em; text-decoration: none; line-height: 1; } .k-note .body p.src a:first-child strong { font-weight: 400; color: inherit; } .k-note .body p.src a:first-child:hover { font-style: italic; } .k-note .body p.src + p:not(.src) { font-size: 17px; opacity: .7; max-width: 46ch; margin-top: 4px; } .k-note .body ul { columns: 2; font-size: 18px; } .k-note .pf { margin-right: auto; margin-left: auto; max-width: 980px; } @media (max-width: 860px) { .index { grid-template-columns: 1fr; padding-top: 22vh; } .hint { grid-column: 1; } .entries .m { display: none; } .entries a { grid-template-columns: 2.2em 1fr; } .body { padding: 44px 22px; margin: 0 -8px; } .pane, .plate { margin-left: 0; margin-right: 0; } .k-prose .body h2::before { position: static; display: block; text-align: left; margin-bottom: 8px; } .gens { grid-template-columns: repeat(3, 1fr); width: auto; margin-left: 0; } }