@font-face{font-family:'HanPunct';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/han.91e061b4fb.woff2') format('woff2');unicode-range:U+00B7,U+2014,U+2018-201D,U+2026,U+2E80-2EFF,U+3000-303F,U+FF01-FF60,U+FFE0-FFE6;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/inter.aa30383d42.woff2') format('woff2-variations'),url('/assets/inter.aa30383d42.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:italic;font-weight:100 900;font-display:swap;src:url('/assets/inter-italic.7e7be79c5f.woff2') format('woff2-variations'),url('/assets/inter-italic.7e7be79c5f.woff2') format('woff2');}
@font-face{font-family:'Han';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/han.91e061b4fb.woff2') format('woff2-variations'),url('/assets/han.91e061b4fb.woff2') format('woff2');}
@font-face{font-family:'Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url('/assets/mono.0ae7bdf66c.woff2') format('woff2-variations'),url('/assets/mono.0ae7bdf66c.woff2') format('woff2');}
@font-face{font-family:'Glow';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/glow-light.46f29a9753.woff2') format('woff2-variations'),url('/assets/glow-light.46f29a9753.woff2') format('woff2');}
@font-face{font-family:'Glow';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/glow.43f3f8e6df.woff2') format('woff2-variations'),url('/assets/glow.43f3f8e6df.woff2') format('woff2');}
:root {
color-scheme: light;
--canvas: #fbf9fa;
--canvas-2: #f4f0f2;
--surface: #ffffff;
--surface-sunk: #f1edef;
--ink: #262029;
--ink-2: #6c6472;
--ink-3: #968e9c;
--hairline: rgba(0, 0, 0, .10);
--hairline-strong: rgba(0, 0, 0, .17);
--accent: #5b52c4;
--accent-ink: #ffffff;
--accent-wash: rgba(91, 82, 196, .09);
--glass: rgba(251, 249, 250, .72);
--glass-edge: rgba(0, 0, 0, .08);
--specular: rgba(255, 255, 255, 0);
--sh-1: 0 1px 2px rgba(70, 50, 85, .05),
0 1px 1px rgba(70, 50, 85, .04);
--sh-2: 0 2px 6px -2px rgba(70, 50, 85, .06),
0 10px 24px -8px rgba(70, 50, 85, .10);
--sh-3: 0 4px 12px -4px rgba(70, 50, 85, .07),
0 24px 56px -20px rgba(70, 50, 85, .18);
--amb-1: rgba(150, 90, 200, .026);
--amb-1-0: rgba(150, 90, 200, 0);
--amb-2: rgba(220, 130, 170, .020);
--amb-2-0: rgba(220, 130, 170, 0);
--grain-opacity: .032;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--canvas: #16121c;
--canvas-2: #1e1926;
--surface: #211b2a;
--surface-sunk: #1a1522;
--ink: #f2eef6;
--ink-2: #a79fb2;
--ink-3: #7f7689;
--hairline: rgba(255, 255, 255, .11);
--hairline-strong: rgba(255, 255, 255, .20);
--accent: #a99cf0;
--accent-ink: #140f1e;
--accent-wash: rgba(169, 156, 240, .14);
--glass: rgba(22, 18, 28, .68);
--glass-edge: rgba(255, 255, 255, .10);
--specular: rgba(255, 255, 255, .07);
--sh-1: 0 1px 2px rgba(0, 0, 0, .40);
--sh-2: 0 2px 8px -2px rgba(0, 0, 0, .50),
0 12px 28px -10px rgba(0, 0, 0, .55);
--sh-3: 0 6px 16px -6px rgba(0, 0, 0, .55),
0 28px 64px -22px rgba(0, 0, 0, .70);
--amb-1: rgba(150, 110, 240, .13);
--amb-1-0: rgba(150, 110, 240, 0);
--amb-2: rgba(240, 140, 190, .09);
--amb-2-0: rgba(240, 140, 190, 0);
--grain-opacity: .05;
}
}
:root[data-theme="dark"] {
color-scheme: dark;
--canvas: #16121c;
--canvas-2: #1e1926;
--surface: #211b2a;
--surface-sunk: #1a1522;
--ink: #f2eef6;
--ink-2: #a79fb2;
--ink-3: #7f7689;
--hairline: rgba(255, 255, 255, .11);
--hairline-strong: rgba(255, 255, 255, .20);
--accent: #a99cf0;
--accent-ink: #140f1e;
--accent-wash: rgba(169, 156, 240, .14);
--glass: rgba(22, 18, 28, .68);
--glass-edge: rgba(255, 255, 255, .10);
--specular: rgba(255, 255, 255, .07);
--sh-1: 0 1px 2px rgba(0, 0, 0, .40);
--sh-2: 0 2px 8px -2px rgba(0, 0, 0, .50),
0 12px 28px -10px rgba(0, 0, 0, .55);
--sh-3: 0 6px 16px -6px rgba(0, 0, 0, .55),
0 28px 64px -22px rgba(0, 0, 0, .70);
--amb-1: rgba(150, 110, 240, .13);
--amb-1-0: rgba(150, 110, 240, 0);
--amb-2: rgba(240, 140, 190, .09);
--amb-2-0: rgba(240, 140, 190, 0);
--grain-opacity: .05;
}
:root {
--font-sans: "HanPunct", "Inter", "Han", -apple-system, BlinkMacSystemFont,
"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
"Segoe UI", Roboto, sans-serif;
--font-mono: "Mono", ui-monospace, SFMono-Regular, "SF Mono",
"JetBrains Mono", Menlo, Consolas, monospace;
--font-display: "Glow", "Inter", "Han", -apple-system, "PingFang SC", sans-serif;
--fs-display: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
--fs-h1: clamp(1.85rem, 1.35rem + 2.1vw, 2.9rem);
--fs-h2: clamp(1.42rem, 1.24rem + .8vw, 1.85rem);
--fs-h3: clamp(1.22rem, 1.13rem + .42vw, 1.5rem);
--fs-h4: clamp(1.06rem, 1.02rem + .2vw, 1.2rem);
--fs-lead: clamp(1.12rem, 1.04rem + .38vw, 1.4rem);
--fs-body: 1.0625rem;
--fs-sm: .9375rem;
--fs-xs: .8125rem;
--fs-2xs: .75rem;
--tr-display: -.014em;
--tr-h1: -.012em;
--tr-h2: -.010em;
--tr-h3: -.008em;
--tr-body: -.003em;
--tr-caps: .06em;
--lh-display: 1.04;
--lh-title: 1.16;
--lh-body: 1.75;
--lh-cjk: 1.85;
--col: 40rem;
--margin-col: 14.5rem;
--gap-col: 2.75rem;
--pad: clamp(1.15rem, 4vw, 2.5rem);
--wide: 76rem;
--r-xs: 6px; --r-sm: 10px; --r-md: 14px;
--r-lg: 20px; --r-xl: 32px; --r-pill: 999px;
--ease-spring: linear(0, 0.0441, 0.1474, 0.2772, 0.4119, 0.5387, 0.6505, 0.7444, 0.8203, 0.8794, 0.9239, 0.9562, 0.9787, 0.9937, 1.0029, 1.0082, 1.0106, 1.0111, 1.0105, 1.0093, 1.0079, 1.0064, 1.005, 1.0038, 1.0028, 1.0019, 1.0013, 1.0008, 1.0005, 1.0002, 1.0001, 1, 1);
--ease-soft: linear(0, 0.0217, 0.075, 0.1464, 0.2265, 0.3088, 0.3893, 0.4653, 0.5355, 0.599, 0.6557, 0.7059, 0.7498, 0.7879, 0.8208, 0.849, 0.8732, 0.8937, 0.9111, 0.9258, 0.9382, 0.9486, 0.9573, 0.9646, 0.9707, 0.9757, 0.98, 0.9835, 0.9864, 0.9888, 0.9908, 0.9924, 1);
--ease-snap: linear(0, 0.0483, 0.1613, 0.3021, 0.4468, 0.5809, 0.6969, 0.7919, 0.8662, 0.9217, 0.9613, 0.9879, 1.0047, 1.0141, 1.0184, 1.0192, 1.018, 1.0157, 1.013, 1.0102, 1.0077, 1.0055, 1.0038, 1.0024, 1.0014, 1.0006, 1.0002, 0.9999, 0.9997, 0.9996, 0.9996, 0.9997, 1);
--ease-out: cubic-bezier(.22, .61, .36, 1);
--ease-in-out: cubic-bezier(.65, .05, .36, 1);
--t-fast: 160ms;
--t-base: 260ms;
--t-slow: 480ms;
--t-spring: 770ms;
}
*, *::before, *::after { box-sizing: border-box; }
html {
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
scroll-padding-top: 6rem;
}
body {
margin: 0;
background: var(--canvas);
color: var(--ink);
font-family: var(--font-sans);
font-size: var(--fs-body);
line-height: var(--lh-cjk);
letter-spacing: var(--tr-body);
font-optical-sizing: auto;
font-synthesis-weight: none;
font-kerning: normal;
font-variant-ligatures: common-ligatures contextual;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
overflow-x: hidden;
min-height: 100vh;
}
body { line-break: strict; word-break: normal; overflow-wrap: break-word; }
@supports (text-spacing-trim: trim-start) {
body { text-spacing-trim: trim-start; }
}
.cover-title, .post-title, .feature-title {
font-feature-settings: "palt" 1;
}
@supports (hanging-punctuation: first) {
p, li, dd, blockquote { hanging-punctuation: first allow-end last; }
}
.ws {
display: inline;
font-style: normal;
margin-inline: .0575em;
}
em { font-style: italic; }
em.cjk {
font-style: normal;
font-weight: inherit;
text-emphasis: filled dot;
text-emphasis-position: under right;
-webkit-text-emphasis: filled dot;
-webkit-text-emphasis-position: under right;
}
@supports not (text-emphasis: filled dot) {
em.cjk { font-weight: 640; }
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-weight: 620;
line-height: var(--lh-title);
text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a {
color: inherit;
text-decoration: none;
text-underline-offset: .22em;
text-decoration-thickness: from-font;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
font: inherit;
color: inherit;
letter-spacing: inherit;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }
hr {
border: 0;
height: 1px;
background: var(--hairline);
margin: 3rem 0;
}
::selection { background: var(--accent-wash); color: var(--ink); }
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], summary, label { -webkit-tap-highlight-color: transparent; }
body::before {
content: "";
position: fixed;
inset: 0;
z-index: 9999;
pointer-events: none;
opacity: var(--grain-opacity);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-size: 200px 200px;
}
.visually-hidden {
position: absolute; width: 1px; height: 1px;
margin: -1px; padding: 0; overflow: hidden;
clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
position: absolute; top: .75rem; left: .75rem;
z-index: 10000;
padding: .6rem 1rem;
background: var(--surface);
border: 1px solid var(--hairline-strong);
border-radius: var(--r-sm);
box-shadow: var(--sh-2);
transform: translateY(-160%);
transition: transform var(--t-base) var(--ease-snap);
}
.skip-link:focus { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after {
animation-duration: .01ms !important;
animation-iteration-count: 1 !important;
transition-duration: .01ms !important;
scroll-behavior: auto !important;
}
.ambient { display: none; }
}
.wrap {
width: min(100% - var(--pad) * 2, var(--wide));
margin-inline: auto;
}
.ambient {
position: fixed;
inset: -20vh -10vw;
z-index: -1;
pointer-events: none;
background:
radial-gradient(46vw 40vh at 18% 8%, var(--amb-1) 0%, var(--amb-1-0) 62%),
radial-gradient(52vw 44vh at 86% 22%, var(--amb-2) 0%, var(--amb-2-0) 66%);
animation: drift 78s var(--ease-in-out) infinite alternate;
will-change: transform;
}
@keyframes drift {
from { transform: translate3d(-2.5%, -1.5%, 0) scale(1); }
to { transform: translate3d(3%, 2.5%, 0) scale(1.09); }
}
body::after {
content: "";
position: fixed; inset: 0 0 auto 0; height: 46vh; z-index: -1;
pointer-events: none;
background: linear-gradient(180deg,
color-mix(in srgb, var(--accent) 5%, transparent) 0%,
color-mix(in srgb, var(--accent) 0%, transparent) 100%);
}
.topbar {
position: sticky;
top: 0;
z-index: 100;
isolation: isolate;
}
.topbar::before {
content: "";
position: absolute;
inset: 0;
background: var(--glass);
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
border-bottom: 1px solid var(--glass-edge);
box-shadow: inset 0 1px 0 var(--specular);
opacity: 0;
z-index: -1;
}
@supports (animation-timeline: scroll()) {
.topbar::before {
animation: solidify linear both;
animation-timeline: scroll(root block);
animation-range: 0 96px;
}
}
@supports not (animation-timeline: scroll()) {
.topbar::before { opacity: 1; }
}
@keyframes solidify { to { opacity: 1; } }
.topbar-inner {
width: min(100% - var(--pad) * 2, var(--wide));
margin-inline: auto;
height: 3.5rem;
display: flex;
align-items: center;
gap: clamp(.75rem, 2.5vw, 2rem);
}
.brand { display: block; width: 62px; padding: .35rem 0;
transition: opacity var(--t-fast) var(--ease-out); }
.brand svg { display: block; width: 100%; height: auto; overflow: visible; }
.brand:hover { opacity: .62; }
.nav {
display: flex;
align-items: center;
gap: clamp(.4rem, 1.6vw, 1.35rem);
margin-inline-start: auto;
}
.nav a {
position: relative;
font-size: var(--fs-sm);
color: var(--ink-2);
padding: .4rem .15rem;
transition: color var(--t-fast) var(--ease-out);
}
.nav a::after {
content: "";
position: absolute;
left: 0; right: 0; bottom: .1rem;
height: 1px;
background: currentColor;
transform: scaleX(0);
transform-origin: left;
transition: transform var(--t-base) var(--ease-snap);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); opacity: .38; }
.tools { display: flex; align-items: center; gap: .3rem; }
main { display: block; }
.reading {
width: min(100% - var(--pad) * 2, var(--col));
margin-inline: auto;
}
.article-shell {
display: grid;
grid-template-columns: minmax(0, 1fr);
justify-content: center;
padding-inline: var(--pad);
}
.article-shell > * { min-width: 0; }
@media (min-width: 62rem) {
.article-shell > * { grid-column: main; }
.article-shell {
grid-template-columns:
[rail-start] minmax(0, 1fr)
[rail-end main-start] var(--col)
[main-end note-start] minmax(0, 1fr) [note-end];
column-gap: var(--gap-col);
max-width: calc(var(--col) + (var(--margin-col) + var(--gap-col)) * 2);
margin-inline: auto;
}
.article-shell > .rail { grid-column: rail; }
}
.siteft {
margin-top: clamp(5rem, 12vw, 9rem);
border-top: 1px solid var(--hairline);
padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
font-size: var(--fs-sm);
color: var(--ink-2);
}
.siteft-grid {
display: grid;
gap: 2rem clamp(1.5rem, 5vw, 4rem);
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.siteft h2 {
font-size: var(--fs-2xs);
font-weight: 580;
letter-spacing: var(--tr-caps);
text-transform: uppercase;
color: var(--ink-3);
margin-bottom: .85rem;
}
.siteft ul { list-style: none; margin: 0; padding: 0; }
.siteft li { margin-bottom: .5rem; }
.siteft a { transition: color var(--t-fast) var(--ease-out); }
.siteft a:hover { color: var(--accent); }
.siteft-base {
margin-top: clamp(2.5rem, 6vw, 4rem);
padding-top: 1.5rem;
border-top: 1px solid var(--hairline);
display: flex;
flex-wrap: wrap;
gap: .6rem 1.5rem;
align-items: baseline;
font-size: var(--fs-xs);
color: var(--ink-3);
}
.siteft-base .spacer { margin-inline-start: auto; }
.prose {
--flow: 1.5em;
font-size: var(--fs-body);
line-height: var(--lh-cjk);
color: var(--ink);
}
.prose > * + * { margin-top: var(--flow); }
.prose > h2 { margin-top: 2.6em; margin-bottom: .05em; font-size: var(--fs-h2);
font-family: var(--font-display); letter-spacing: -.004em; font-weight: 400; }
.prose > h3 { margin-top: 2.1em; margin-bottom: .05em; font-size: var(--fs-h3);
font-family: var(--font-display); letter-spacing: -.002em; font-weight: 400; }
.prose > h4 { margin-top: 1.8em; margin-bottom: .05em; font-size: var(--fs-h4); font-weight: 620; color: var(--ink-2); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.hlink {
margin-inline-start: .4em;
color: var(--ink-3);
font-weight: 400;
opacity: 0;
transition: opacity var(--t-fast) var(--ease-out);
}
h2:hover > .hlink, h3:hover > .hlink, h4:hover > .hlink,
.hlink:focus-visible { opacity: 1; }
.lead {
font-size: var(--fs-lead);
line-height: 1.62;
letter-spacing: -.012em;
color: var(--ink-2);
text-wrap: pretty;
}
.prose a:not(.hlink):not(.sn-toggle):not(.endnote-back) {
text-decoration: underline;
text-decoration-color: color-mix(in srgb, var(--accent) 42%, transparent);
text-decoration-thickness: 1px;
text-underline-offset: .28em;
transition: text-decoration-color var(--t-fast) var(--ease-out),
color var(--t-fast) var(--ease-out);
}
.prose a:not(.hlink):not(.sn-toggle):not(.endnote-back):hover {
color: var(--accent);
text-decoration-color: var(--accent);
text-decoration-thickness: 2px;
}
.prose a.ext::after {
content: "↗";
font-size: .72em;
margin-inline-start: .18em;
color: var(--ink-3);
vertical-align: .12em;
}
.prose ul, .prose ol { padding-inline-start: 1.35em; margin-block: 0; }
.prose li { margin-block: .38em; }
.prose li::marker { color: var(--ink-3); }
.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul { margin-top: .38em; }
.prose ul.contains-task-list { list-style: none; padding-inline-start: .2em; }
.prose .task-list-item { display: flex; align-items: baseline; gap: .55em; }
.prose .task-list-item-checkbox { accent-color: var(--accent); translate: 0 .12em; }
.prose dl { margin: 0; }
.prose dt { font-weight: 620; margin-top: 1.1em; }
.prose dd {
margin: .3em 0 0;
padding-inline-start: 1em;
border-inline-start: 1px solid var(--hairline);
color: var(--ink-2);
}
.prose blockquote {
margin: 2em 0;
padding-inline-start: 1.35em;
border-inline-start: 2px solid var(--hairline-strong);
color: var(--ink-2);
}
.prose blockquote > * + * { margin-top: .9em; }
.callout {
margin: 1.9em 0;
padding: 1.1em 1.25em;
border-radius: var(--r-md);
border: 1px solid var(--hairline);
background: var(--surface);
box-shadow: inset 0 1px 0 var(--specular);
font-size: var(--fs-sm);
}
.callout > * + * { margin-top: .7em; }
.callout-title {
font-weight: 620;
font-size: var(--fs-xs);
letter-spacing: var(--tr-caps);
text-transform: uppercase;
color: var(--ink-3);
}
.callout-note { border-inline-start: 2px solid var(--accent); }
.callout-warn { border-inline-start: 2px solid #d97706; }
.callout-tip { border-inline-start: 2px solid #059669; }
.callout-aside { background: var(--surface-sunk); border-style: dashed; }
.callout-pull {
border: 0; background: none; padding: 0;
font-size: var(--fs-lead);
line-height: 1.5;
letter-spacing: -.015em;
color: var(--ink);
text-align: center;
margin-block: 2.6em;
}
.prose code {
font-family: var(--font-mono);
font-size: .875em;
font-variant-ligatures: none;
}
.prose :not(pre) > code {
margin-inline: .18em;
padding: .14em .38em;
border-radius: var(--r-xs);
background: var(--surface-sunk);
border: 1px solid var(--hairline);
white-space: nowrap;
}
figure.code {
margin: 2em 0;
border: 1px solid var(--hairline);
border-radius: var(--r-md);
background: var(--surface-sunk);
box-shadow: var(--sh-1), inset 0 1px 0 var(--specular);
overflow: hidden;
}
@supports (corner-shape: squircle) {
figure.code, .callout { corner-shape: squircle; }
}
.code-head {
display: flex;
align-items: center;
gap: 1rem;
padding: .55rem .95rem;
border-bottom: 1px solid var(--hairline);
background: color-mix(in srgb, var(--surface) 60%, transparent);
font-size: var(--fs-2xs);
letter-spacing: var(--tr-caps);
color: var(--ink-3);
}
.code-title { font-weight: 580; color: var(--ink-2); letter-spacing: 0; }
.code-lang { margin-inline-start: auto; text-transform: uppercase; }
figure.code pre {
margin: 0;
padding: 1rem 1.1rem;
overflow-x: auto;
font-size: .875rem;
line-height: 1.72;
tab-size: 2;
}
figure.code pre code {
background: none; border: 0; padding: 0; margin: 0;
white-space: pre;
font-size: inherit;
}
figure.fig { margin: 2.4em 0; }
figure.fig img {
width: 100%;
border-radius: var(--r-md);
background: var(--surface-sunk);
box-shadow: var(--sh-1);
}
figure.fig figcaption,
.prose figcaption:not(.code-head) {
margin-top: .8em;
font-size: var(--fs-xs);
line-height: 1.65;
color: var(--ink-3);
text-align: center;
text-wrap: pretty;
}
@media (min-width: 62rem) {
.prose figure.fig.wide {
width: calc(var(--col) + var(--margin-col) + var(--gap-col));
}
}
.prose .table-wrap { overflow-x: auto; margin: 2em 0; }
.prose table {
width: 100%;
border-collapse: collapse;
font-size: var(--fs-sm);
font-variant-numeric: tabular-nums lining-nums;
}
.prose th, .prose td {
padding: .62em .9em;
text-align: left;
border-bottom: 1px solid var(--hairline);
vertical-align: top;
}
.prose thead th {
font-weight: 600;
font-size: var(--fs-xs);
letter-spacing: var(--tr-caps);
text-transform: uppercase;
color: var(--ink-3);
border-bottom: 1px solid var(--hairline-strong);
white-space: nowrap;
}
.prose tbody tr:last-child td { border-bottom: 0; }
.sn-check { position: absolute; opacity: 0; width: 0; height: 0; }
.sn-toggle {
font-size: .72em;
font-weight: 620;
vertical-align: super;
line-height: 0;
color: var(--accent);
margin-inline: .12em;
cursor: pointer;
font-variant-numeric: lining-nums;
}
.sn-toggle:hover { text-decoration: underline; }
.sidenote {
display: block;
font-size: var(--fs-xs);
line-height: 1.7;
color: var(--ink-2);
text-align: start;
letter-spacing: 0;
}
.sidenote .sn-p { display: block; }
.sidenote .sn-p + .sn-p { margin-top: .6em; }
.sn-num {
font-weight: 620;
color: var(--accent);
margin-inline-end: .35em;
font-variant-numeric: lining-nums;
}
@media (max-width: 61.999rem) {
.sidenote {
max-height: 0;
overflow: hidden;
opacity: 0;
margin: 0;
padding-inline-start: .9em;
border-inline-start: 2px solid var(--accent);
transition: max-height var(--t-slow) var(--ease-out),
opacity var(--t-base) var(--ease-out),
margin var(--t-slow) var(--ease-out);
}
.sn-check:checked + .sidenote {
max-height: 40em;
opacity: 1;
margin: 1em 0;
}
}
@media (min-width: 62rem) {
.sidenote {
float: right;
clear: right;
width: var(--margin-col);
margin-inline-end: calc(-1 * (var(--margin-col) + var(--gap-col)));
margin-block: .3em 1.4em;
}
.sn-toggle { pointer-events: none; }
.sn-toggle.endnote-ref { pointer-events: auto; }
}
.endnotes {
margin-top: 4rem;
padding-top: 1.5rem;
border-top: 1px solid var(--hairline);
font-size: var(--fs-sm);
color: var(--ink-2);
}
.endnotes ol { padding-inline-start: 1.2em; }
.endnote { margin-bottom: 1em; }
.endnote-back { margin-inline-start: .4em; color: var(--accent); }
.rail { position: relative; }
.toc {
position: sticky;
top: 5.5rem;
font-size: var(--fs-xs);
line-height: 1.5;
max-height: calc(100vh - 8rem);
overflow-y: auto;
overscroll-behavior: contain;
padding-inline-end: .5rem;
scrollbar-width: thin;
}
.toc h2 {
font-size: var(--fs-2xs);
letter-spacing: var(--tr-caps);
text-transform: uppercase;
color: var(--ink-3);
font-weight: 580;
margin-bottom: .85rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc ol ol { padding-inline-start: .85rem; }
.toc li { margin-bottom: .1rem; }
.toc a {
display: block;
padding: .3rem .5rem .3rem .7rem;
color: var(--ink-3);
border-inline-start: 2px solid var(--hairline);
border-radius: 0 var(--r-xs) var(--r-xs) 0;
transition: color var(--t-fast) var(--ease-out),
border-color var(--t-fast) var(--ease-out),
background var(--t-fast) var(--ease-out);
text-wrap: pretty;
}
.toc a:hover { color: var(--ink); background: var(--accent-wash); }
.toc a.active {
color: var(--ink);
border-inline-start-color: var(--accent);
font-weight: 560;
}
@media (max-width: 61.999rem) {
.rail { display: none; }
}
.toc-inline {
margin: 2rem 0;
border: 1px solid var(--hairline);
border-radius: var(--r-md);
background: var(--surface);
overflow: hidden;
}
.toc-inline summary {
padding: .8rem 1.05rem;
font-size: var(--fs-sm);
font-weight: 560;
cursor: pointer;
list-style: none;
display: flex;
align-items: center;
gap: .5rem;
}
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after {
content: "";
margin-inline-start: auto;
width: .5rem; height: .5rem;
border-right: 1.5px solid var(--ink-3);
border-bottom: 1.5px solid var(--ink-3);
rotate: 45deg;
transition: rotate var(--t-base) var(--ease-snap);
}
.toc-inline[open] summary::after { rotate: -135deg; }
.toc-inline .toc { position: static; max-height: none; padding: 0 1.05rem 1rem; }
.toc-inline .toc h2 { display: none; }
@media (min-width: 62rem) { .toc-inline { display: none; } }
.math-block { overflow-x: auto; margin: 1.8em 0; text-align: center; }
.readbar {
position: fixed; top: 0; left: 0; height: 2px; z-index: 200;
width: 100%; transform-origin: 0 50%; transform: scaleX(0);
background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #d1739b));
}
@supports (animation-timeline: scroll()) {
.readbar { animation: readGrow linear both;
animation-timeline: scroll(root block); }
}
@supports not (animation-timeline: scroll()) { .readbar { display: none; } }
@keyframes readGrow { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .readbar { display: none; } }
.entries { border-top: 1px solid var(--hairline); }
.entry {
display: grid;
grid-template-columns: 4.5rem 1fr auto;
gap: 0 clamp(.75rem, 2.5vw, 1.75rem);
align-items: baseline;
padding: clamp(1.05rem, 2.4vw, 1.5rem) .35rem;
border-bottom: 1px solid var(--hairline);
position: relative;
transition: background var(--t-base) var(--ease-out);
}
.entry::before {
content: "";
position: absolute;
inset: 0 -.9rem;
border-radius: var(--r-sm);
background: var(--accent-wash);
opacity: 0;
z-index: 0;
transition: opacity var(--t-base) var(--ease-out);
}
.entry > * { position: relative; z-index: 1; }
.entry:hover::before { opacity: 1; }
.entry-date {
font-size: var(--fs-xs);
color: var(--ink-3);
font-variant-numeric: tabular-nums lining-nums;
letter-spacing: .01em;
white-space: nowrap;
}
.entry-body { min-width: 0; }
.entry-title {
font-size: 1.15rem;
font-family: var(--font-display);
font-weight: 400;
letter-spacing: -.004em;
line-height: 1.4;
text-wrap: pretty;
transition: color var(--t-fast) var(--ease-out);
}
.entry:hover .entry-title { color: var(--accent); }
.entry-dek {
margin-top: .38rem;
font-size: var(--fs-sm);
line-height: 1.62;
color: var(--ink-2);
text-wrap: pretty;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.entry-min {
font-size: var(--fs-xs);
color: var(--ink-3);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
@media (max-width: 34rem) {
.entry { grid-template-columns: 1fr; gap: .35rem; }
.entry-min { display: none; }
}
.band-more {
margin-top: 2rem;
display: inline-flex;
align-items: center;
gap: .45rem;
font-size: var(--fs-sm);
color: var(--ink-2);
transition: color var(--t-fast) var(--ease-out);
}
.band-more::after { content: "→"; transition: translate var(--t-base) var(--ease-snap); }
.band-more:hover { color: var(--ink); }
.band-more:hover::after { translate: .3rem 0; }
@keyframes rise-in {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
.iconbtn {
display: inline-grid;
place-items: center;
width: 2.1rem; height: 2.1rem;
border-radius: var(--r-pill);
color: var(--ink-2);
transition: background var(--t-fast) var(--ease-out),
color var(--t-fast) var(--ease-out),
scale var(--t-base) var(--ease-snap);
}
.iconbtn:hover { background: var(--accent-wash); color: var(--ink); }
.iconbtn:active { scale: .92; }
.iconbtn svg { width: 1.05rem; height: 1.05rem; fill: none;
stroke: currentColor; stroke-width: 1.6;
stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ico { grid-area: 1 / 1; transition:
opacity var(--t-base) var(--ease-out), rotate var(--t-slow) var(--ease-spring); }
.theme-toggle .ico-auto,
.theme-toggle .ico-sun,
.theme-toggle .ico-moon { opacity: 0; rotate: -35deg; }
:root[data-theme="light"] .theme-toggle .ico-sun,
:root[data-theme="dark"] .theme-toggle .ico-moon,
:root:not([data-theme]) .theme-toggle .ico-auto { opacity: 1; rotate: 0deg; }
.chip {
display: inline-block;
font-family: var(--font-display);
font-weight: 400;
font-size: var(--fs-2xs);
letter-spacing: .01em;
padding: .22em .62em;
border-radius: var(--r-pill);
border: 1px solid var(--hairline);
color: var(--ink-2);
background: var(--surface);
transition: border-color var(--t-fast) var(--ease-out),
color var(--t-fast) var(--ease-out);
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.post-head {
padding-block: clamp(3rem, 8vw, 5.5rem) clamp(1.75rem, 4vw, 2.75rem);
border-bottom: 1px solid var(--hairline);
margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.post-eyebrow {
display: flex; flex-wrap: wrap; align-items: center;
gap: .5rem .9rem;
font-size: var(--fs-xs);
color: var(--ink-3);
margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
font-variant-numeric: tabular-nums lining-nums;
}
.post-title {
font-size: var(--fs-h1);
font-family: var(--font-display);
line-height: var(--lh-title);
letter-spacing: -.006em;
font-weight: 400;
text-wrap: balance;
font-variation-settings: "opsz" 30;
}
.post-dek {
margin-top: 1rem;
font-family: var(--font-display);
font-weight: 300;
font-size: var(--fs-lead);
line-height: 1.6;
color: var(--ink-2);
text-wrap: pretty;
}
.post-meta {
margin-top: clamp(1.25rem, 3vw, 1.75rem);
display: flex; flex-wrap: wrap; align-items: center;
gap: .45rem 1.1rem;
font-size: var(--fs-xs);
color: var(--ink-3);
font-variant-numeric: tabular-nums;
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%;
background: var(--ink-3); opacity: .55; }
.pager {
margin-top: clamp(3.5rem, 8vw, 5.5rem);
border-top: 1px solid var(--hairline);
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1px;
background: var(--hairline);
}
.pager-item {
background: var(--canvas);
padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1rem, 3vw, 1.75rem);
transition: background var(--t-base) var(--ease-out);
}
.pager-item:hover { background: var(--surface); }
.pager-item.next { text-align: right; }
.pager-label {
font-size: var(--fs-2xs);
letter-spacing: var(--tr-caps);
text-transform: uppercase;
color: var(--ink-3);
display: block;
margin-bottom: .55rem;
}
.pager-title {
font-size: 1.02rem;
font-family: var(--font-display);
font-weight: 400;
line-height: 1.45;
letter-spacing: -.012em;
text-wrap: pretty;
transition: color var(--t-fast) var(--ease-out);
}
.pager-item:hover .pager-title { color: var(--accent); }
.pager-item.empty { pointer-events: none; opacity: .4; }
@media (max-width: 34rem) {
.pager { grid-template-columns: 1fr; }
.pager-item.next { text-align: left; }
}
.year-group + .year-group { margin-top: clamp(2.5rem, 6vw, 4rem); }
.year-head {
position: sticky;
top: 3.5rem;
z-index: 5;
padding: .75rem 0 .6rem;
background: linear-gradient(var(--canvas) 72%, transparent);
font-size: var(--fs-2xs);
letter-spacing: var(--tr-caps);
color: var(--ink-3);
font-weight: 580;
font-variant-numeric: lining-nums;
border-bottom: 1px solid var(--hairline);
}
dialog.search {
width: min(100% - 2rem, 42rem);
max-height: min(70vh, 34rem);
margin: 12vh auto auto;
padding: 0;
border: 1px solid var(--hairline-strong);
border-radius: var(--r-lg);
background: var(--glass);
-webkit-backdrop-filter: saturate(180%) blur(30px);
backdrop-filter: saturate(180%) blur(30px);
box-shadow: var(--sh-3), inset 0 1px 0 var(--specular);
color: var(--ink);
overflow: hidden;
display: flex;
flex-direction: column;
}
@supports (corner-shape: squircle) { dialog.search { corner-shape: squircle; } }
dialog.search::backdrop {
background: rgba(0, 0, 0, .28);
-webkit-backdrop-filter: blur(3px);
backdrop-filter: blur(3px);
}
@media (prefers-reduced-motion: no-preference) {
dialog.search[open] { animation: dlg-in var(--t-base) var(--ease-snap); }
dialog.search[open]::backdrop { animation: fade-in var(--t-base) var(--ease-out); }
}
@keyframes dlg-in {
from { opacity: 0; transform: translateY(-10px) scale(.985); }
to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }
.search-field {
display: flex; align-items: center; gap: .7rem;
padding: .9rem 1.1rem;
border-bottom: 1px solid var(--hairline);
}
.search-field svg { width: 1.05rem; height: 1.05rem; flex: none;
fill: none; stroke: var(--ink-3); stroke-width: 1.7; stroke-linecap: round; }
.search-field input {
flex: 1; min-width: 0;
border: 0; background: none; outline: none;
font-size: 1.05rem; letter-spacing: -.01em;
}
.search-field input::placeholder { color: var(--ink-3); }
.search-hint {
font-size: var(--fs-2xs); color: var(--ink-3);
border: 1px solid var(--hairline); border-radius: var(--r-xs);
padding: .1rem .35rem;
}
.search-results { overflow-y: auto; overscroll-behavior: contain; padding: .4rem; }
.search-results:empty { display: none; }
.sr-item {
display: block; padding: .7rem .8rem; border-radius: var(--r-sm);
transition: background var(--t-fast) var(--ease-out);
}
.sr-item:hover, .sr-item.sel { background: var(--accent-wash); }
.sr-title { font-size: var(--fs-sm); font-weight: 560; letter-spacing: -.01em; }
.sr-snip {
margin-top: .2rem; font-size: var(--fs-xs); color: var(--ink-2);
line-height: 1.55;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden;
}
.sr-snip mark { background: var(--accent-wash); color: var(--accent); border-radius: 2px; }
.search-empty { padding: 2rem 1rem; text-align: center; color: var(--ink-3);
font-size: var(--fs-sm); }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
::view-transition-old(root) { animation: vt-out 240ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 440ms var(--ease-out) 40ms both; }
::view-transition-group(post-title) {
animation-duration: 560ms;
animation-timing-function: var(--ease-soft);
}
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes fade-out { to { opacity: 0 } }
.post-title { view-transition-name: post-title; }
.vt-source { view-transition-name: post-title; }
.code-copy {
margin-inline-start: auto;
font-size: var(--fs-2xs);
letter-spacing: .01em;
color: var(--ink-3);
padding: .16rem .5rem;
border-radius: var(--r-xs);
border: 1px solid transparent;
transition: color var(--t-fast) var(--ease-out),
border-color var(--t-fast) var(--ease-out),
background var(--t-fast) var(--ease-out);
}
.code-head .code-lang + .code-copy { margin-inline-start: .6rem; }
.code-copy:hover { color: var(--ink); border-color: var(--hairline); background: var(--surface); }
.code-copy.ok { color: var(--syn-add); border-color: transparent; }
.list-head {
padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 2.5vw, 1.5rem);
}
.list-head .post-meta { margin-top: 0; }
:root {
--syn-comment: #8a8a95;
--syn-keyword: #a4308f;
--syn-string: #b8332b;
--syn-number: #2f34c4;
--syn-func: #2c6f78;
--syn-type: #4b2fa8;
--syn-builtin: #146b96;
--syn-punct: var(--ink-2);
--syn-err: #c0392b;
--syn-add: #0a7c46;
--syn-del: #b3261e;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--syn-comment: #7f8c98;
--syn-keyword: #ff7ab2;
--syn-string: #ff8170;
--syn-number: #d9c97c;
--syn-func: #78c2b3;
--syn-type: #dabaff;
--syn-builtin: #6bb8d6;
--syn-err: #ff6b5e;
--syn-add: #56d364;
--syn-del: #f85149;
}
}
:root[data-theme="dark"] {
--syn-comment: #7f8c98;
--syn-keyword: #ff7ab2;
--syn-string: #ff8170;
--syn-number: #d9c97c;
--syn-func: #78c2b3;
--syn-type: #dabaff;
--syn-builtin: #6bb8d6;
--syn-err: #ff6b5e;
--syn-add: #56d364;
--syn-del: #f85149;
}
.t-c, .t-c1, .t-cm, .t-cs, .t-cd { color: var(--syn-comment); font-style: italic; }
.t-cp, .t-cpf { color: var(--syn-comment); }
.t-k, .t-kd, .t-kn, .t-kp, .t-kr, .t-kc, .t-ow { color: var(--syn-keyword); }
.t-kt { color: var(--syn-type); }
.t-s, .t-s1, .t-s2, .t-sb, .t-sc, .t-sd, .t-sh, .t-sx, .t-sr, .t-ss, .t-dl,
.t-sa { color: var(--syn-string); }
.t-se, .t-si { color: var(--syn-builtin); }
.t-m, .t-mb, .t-mf, .t-mh, .t-mi, .t-mo, .t-il { color: var(--syn-number); }
.t-nf, .t-fm { color: var(--syn-func); }
.t-nc, .t-nn, .t-ne { color: var(--syn-type); }
.t-nb, .t-bp, .t-no, .t-nv, .t-vc, .t-vg, .t-vi, .t-vm { color: var(--syn-builtin); }
.t-na, .t-nl, .t-nt { color: var(--syn-func); }
.t-nd { color: var(--syn-keyword); }
.t-nx, .t-n, .t-py { color: inherit; }
.t-o, .t-p { color: var(--syn-punct); }
.t-err { color: var(--syn-err); }
.t-w { color: inherit; }
.t-ge { font-style: italic; }
.t-gs { font-weight: 620; }
.t-gh, .t-gu { color: var(--syn-func); font-weight: 620; }
.t-gi { color: var(--syn-add); }
.t-gd { color: var(--syn-del); }
.t-gp { color: var(--syn-comment); user-select: none; }
@media print {
:root {
--canvas: #fff; --surface: #fff; --surface-sunk: #fafafa;
--ink: #111; --ink-2: #444; --ink-3: #666;
--hairline: #ddd; --hairline-strong: #bbb; --accent: #000;
--grain-opacity: 0;
}
@page {
margin: 20mm 18mm 22mm;
size: A4;
}
body { background: #fff; font-size: 10.5pt; line-height: 1.62; }
body::before, .ambient { display: none !important; }
.topbar, .siteft, .pager, .toc, .toc-inline, .cover-cue,
.tools, .band-more, .search, .skip-link { display: none !important; }
.article-shell { display: block; max-width: none; padding: 0; }
.reading { width: auto; }
.post-head { border-bottom: .5pt solid #bbb; padding-top: 0; }
.post-title { font-size: 22pt; letter-spacing: -.02em; }
.post-dek { font-size: 12pt; }
h1, h2, h3, h4 { break-after: avoid-page; break-inside: avoid; }
figure, table, .callout, blockquote { break-inside: avoid; }
p { orphans: 3; widows: 3; }
.sidenote {
float: none; width: auto; margin: .6em 0 .6em 1.2em;
font-size: 9pt; color: #444;
border-left: .5pt solid #bbb; padding-left: .8em;
max-height: none; opacity: 1;
}
.prose a[href^="http"]::after {
content: " (" attr(href) ")";
font-size: 8.5pt; color: #666; word-break: break-all;
}
.prose a { text-decoration: none; border-bottom: .5pt solid #999; }
.prose a.ext::after { content: " (" attr(href) ")"; }
figure.code { box-shadow: none; background: #fafafa; border: .5pt solid #ddd; }
figure.code pre { font-size: 8.5pt; white-space: pre-wrap; word-break: break-all; }
}
body.portal {
--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
--s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
--r1: 10px; --r2: 14px; --r3: 20px; --r4: 32px; --rp: 999px;
--box-pad: 18px;
--box-r: var(--r3);
--box-r-in: calc(var(--box-r) - var(--box-pad));
--t-micro: .75rem; --t-small: .875rem; --t-body: 1rem;
--t-lead: 1.125rem; --t-h3: 1.25rem;
--t-h2: clamp(1.375rem, 1.15rem + .9vw, 1.75rem);
--t-name: clamp(2.75rem, 1.9rem + 3.4vw, 4.25rem);
--p-ink: #2e2736;
--p-ink2: #6c6472;
--p-ink3: #968e9c;
--p-acc: #5b52c4;
--p-rose: #d1739b;
--p-sky: #5aa9c4;
--e1: 0 1px 2px rgba(70, 50, 85, .05),
0 2px 8px -3px rgba(70, 50, 85, .07);
--e2: 0 2px 4px rgba(70, 50, 85, .05),
0 12px 28px -12px rgba(70, 50, 85, .18);
--e3: 0 4px 8px rgba(70, 50, 85, .06),
0 28px 56px -20px rgba(70, 50, 85, .26);
--spring: linear(0, .0483, .1613, .3021, .4468, .5809, .6969, .7919, .8662, .9217, .9613, .9879, 1.0047, 1.0141, 1.0184, 1.0192, 1.018, 1.0157, 1.013, 1.0102, 1.0077, 1.0055, 1.0038, 1.0024, 1.0014, 1.0006, 1.0002, .9999, .9997, .9996, .9996, .9997, 1);
--glide: cubic-bezier(.22, .61, .36, 1);
--font-round: "Glow", "Inter", "Han", -apple-system, "PingFang SC", sans-serif;
color: var(--p-ink);
background: #fdfbfc;
overflow-x: hidden;
}
body.portal::before { opacity: .036; }
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden;
background: linear-gradient(158deg, #fff2f5 0%, #fdf3ff 32%, #f2f7ff 66%, #fff7f0 100%); }
.goo { position: absolute; inset: -12%; filter: url(#goo); opacity: .66; }
.blob { position: absolute; border-radius: 50%; will-change: transform;
mix-blend-mode: multiply; }
.b1 { width: 46vw; height: 46vw; left: -6vw; top: -8vw; background: #ffc8dc; animation: fa 32s var(--glide) infinite alternate; }
.b2 { width: 40vw; height: 40vw; right: -4vw; top: 2vw; background: #d2caff; animation: fb 38s var(--glide) infinite alternate; }
.b3 { width: 48vw; height: 48vw; left: 22vw; bottom: -18vw;background: #bfe6f4; animation: fc 35s var(--glide) infinite alternate; }
.b4 { width: 34vw; height: 34vw; right: 12vw; bottom: -6vw; background: #ffe3c4; animation: fa 42s var(--glide) infinite alternate-reverse; }
.b5 { width: 26vw; height: 26vw; left: 40vw; top: 6vw; background: #ffd0e4; animation: fb 29s var(--glide) infinite alternate-reverse; }
@keyframes fa { to { transform: translate3d(7vw, 6vh, 0) scale(1.16) } }
@keyframes fb { to { transform: translate3d(-6vw, 7vh, 0) scale(1.11) } }
@keyframes fc { to { transform: translate3d(6vw, -7vh, 0) scale(1.18) } }
.veil { position: absolute; inset: 0;
-webkit-backdrop-filter: blur(10px) saturate(110%);
backdrop-filter: blur(10px) saturate(110%); }
.photo { position: absolute; inset: 0; background-size: cover;
background-position: center; opacity: 0; }
#petals { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.glass { position: relative; isolation: isolate;
background: linear-gradient(158deg, rgba(255,255,255,.66), rgba(255,255,255,.40));
-webkit-backdrop-filter: blur(18px) saturate(165%);
backdrop-filter: blur(18px) saturate(165%);
box-shadow: var(--e1), inset 0 1px 0 rgba(255,255,255,.85); }
.glass::before {
content: ""; position: absolute; inset: 0; border-radius: inherit;
padding: 1px; pointer-events: none;
background: linear-gradient(158deg, rgba(255,255,255,.98), rgba(255,255,255,.32) 42%, rgba(150,120,165,.24));
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor; mask-composite: exclude; }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40;
display: flex; align-items: center;
padding: var(--s5) clamp(var(--s5), 4vw, var(--s7)); }
.top .mark { display: block; width: clamp(56px, 5.6vw, 74px);
opacity: 0; pointer-events: none; }
.top .mark svg { display: block; width: 100%; height: auto; overflow: visible; }
@supports (animation-timeline: scroll()) {
@media (prefers-reduced-motion: no-preference) {
.top .mark { animation: markIn linear both;
animation-timeline: scroll(root block);
animation-range: 26svh 66svh; }
}
}
@supports not (animation-timeline: scroll()) {
.top .mark { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
.top .mark { opacity: 1; pointer-events: auto; }
}
@keyframes markIn { to { opacity: 1; pointer-events: auto; } }
.top .acts { margin-left: auto; display: flex; gap: var(--s1); }
.ib { position: relative; width: 40px; height: 40px; border-radius: var(--rp);
display: grid; place-items: center; color: var(--p-ink2); text-decoration: none;
transition: color .22s var(--glide); }
.ib::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
background: rgba(255,255,255,.7); box-shadow: var(--e1);
opacity: 0; transform: scale(.7);
transition: opacity .28s var(--glide), transform .5s var(--spring); }
.ib:hover { color: var(--p-acc); }
.ib:hover::before { opacity: 1; transform: scale(1); }
.ib svg { position: relative; width: 20px; height: 20px; fill: none;
stroke: currentColor; stroke-width: 1.5;
stroke-linecap: round; stroke-linejoin: round; }
.hero { position: relative; z-index: 1; min-height: 100svh;
display: grid; place-items: center; text-align: center;
padding: var(--s10) var(--s5) var(--s9); }
.hero-in { max-width: 34rem; }
@supports (animation-timeline: view()) {
@media (prefers-reduced-motion: no-preference) {
.hero-in { animation: heroOut linear both;
animation-timeline: view(); animation-range: exit 0% exit 78%; }
}
}
@keyframes heroOut { to { opacity: 0; transform: translateY(-40px) scale(.97) } }
.ava { position: relative; width: 128px; height: 128px; margin: 0 auto var(--s6);
border-radius: 50%; display: grid; place-items: center; }
.ava::before { content: ""; position: absolute; inset: -4px; border-radius: 50%;
background: conic-gradient(from 0deg, var(--p-rose), var(--p-acc), var(--p-sky), var(--p-rose));
animation: spin 14s linear infinite; }
.ava::after { content: ""; position: absolute; inset: -20px; border-radius: 50%;
background: conic-gradient(from 0deg, var(--p-rose), var(--p-acc), var(--p-sky), var(--p-rose));
filter: blur(22px); opacity: .34; animation: spin 14s linear infinite; }
.ava .halo { position: absolute; inset: -24px; border-radius: 50%;
border: 1px dashed rgba(91,82,196,.24); animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg) } }
.ava img { position: relative; width: 120px; height: 120px; border-radius: 50%;
object-fit: cover; border: 4px solid #fff; box-shadow: var(--e2);
transition: transform .7s var(--spring); }
.ava:hover img { transform: scale(1.05); }
.logo { width: min(68vw, 20rem); margin-inline: auto; }
.logo svg { display: block; width: 100%; height: auto; overflow: visible; }
#logoPath { stroke-dasharray: none; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
#logoPath { animation: draw 2.1s cubic-bezier(.32, .66, .24, 1) .25s backwards; }
}
@keyframes draw {
from { stroke-dasharray: 1; stroke-dashoffset: 1; }
98% { stroke-dasharray: 1; stroke-dashoffset: 0; }
to { stroke-dasharray: none; stroke-dashoffset: 0; }
}
.typed { margin: var(--s4) 0 0; font-size: var(--t-lead);
color: color-mix(in srgb, var(--p-ink) 78%, transparent);
min-height: 1.9em; font-family: var(--font-round); font-weight: 400;
letter-spacing: .025em; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px;
vertical-align: -.14em; background: var(--p-acc); border-radius: 1px;
animation: blink 1.06s steps(1) infinite; }
.caret.done { animation: none; opacity: 0; transition: opacity .7s var(--glide); }
@keyframes blink { 50% { opacity: 0 } }
.links { margin-top: var(--s6); display: flex; gap: var(--s2); justify-content: center; }
.lk { width: 44px; height: 44px; border-radius: var(--rp); display: grid;
place-items: center; color: var(--p-ink2); text-decoration: none;
will-change: transform;
transition: color .22s var(--glide), box-shadow .35s var(--glide); }
.lk:hover { color: var(--p-acc); box-shadow: var(--e2), inset 0 1px 0 rgba(255,255,255,.9); }
.lk svg { width: 19px; height: 19px; fill: none; stroke: currentColor;
stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cue { position: absolute; left: 50%; bottom: var(--s6); translate: -50% 0;
color: var(--p-ink3); font-size: var(--t-micro); letter-spacing: .22em;
text-transform: uppercase; text-decoration: none;
display: grid; justify-items: center; gap: var(--s3); }
.cue i { display: block; width: 1px; height: 40px;
background: linear-gradient(var(--p-ink3), transparent);
animation: fall 2s var(--glide) infinite; }
@keyframes fall {
0% { transform: scaleY(.15); transform-origin: top; opacity: 0 }
45% { transform: scaleY(1); opacity: 1 }
100% { transform: scaleY(1); transform-origin: bottom; opacity: 0 } }
.below { position: relative; z-index: 1; padding: var(--s9) var(--s5) var(--s8); }
.hold { width: min(100%, 40rem); margin-inline: auto; }
.group + .group { margin-top: var(--s8); }
.ghead {
display: flex; align-items: baseline; gap: var(--s4);
margin-bottom: var(--s3); padding-bottom: var(--s3);
border-bottom: 1px solid color-mix(in srgb, var(--p-ink) 13%, transparent);
}
.glabel {
font-family: var(--font-round); font-size: var(--t-small);
letter-spacing: .1em; color: var(--p-ink2);
}
.gmore {
margin-inline-start: auto; font-size: var(--t-small);
color: var(--p-ink3); text-decoration: none;
display: inline-flex; align-items: center; gap: var(--s1);
transition: color .2s var(--glide), gap .4s var(--spring);
}
.gmore::after { content: "→"; }
.gmore:hover { color: var(--p-acc); gap: var(--s2); }
.cards { display: grid; gap: var(--s2);
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
position: relative; display: flex; flex-direction: column;
padding: var(--s4); border-radius: var(--r2);
text-decoration: none; color: inherit;
background: rgba(255, 255, 255, .62);
-webkit-backdrop-filter: blur(12px) saturate(150%);
backdrop-filter: blur(12px) saturate(150%);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8),
0 1px 2px rgba(70, 50, 85, .05),
0 8px 20px -14px rgba(70, 50, 85, .3);
transition: background .3s var(--glide), transform .5s var(--spring),
box-shadow .35s var(--glide);
}
.card:hover {
background: rgba(255, 255, 255, .86); transform: translateY(-3px);
box-shadow: inset 0 0 0 1px #fff,
0 2px 4px rgba(70, 50, 85, .05),
0 16px 32px -16px rgba(70, 50, 85, .4);
}
.ct { font-family: var(--font-round); font-weight: 400; font-size: var(--t-body);
letter-spacing: -.006em; line-height: 1.45; }
.cs { margin-top: var(--s2); font-size: var(--t-small); line-height: 1.6;
color: var(--p-ink2);
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden; }
.cm { margin-top: var(--s3); font-size: var(--t-micro); color: var(--p-ink3);
font-variant-numeric: tabular-nums; }
.ct[data-vt-title] { view-transition-name: post-title; }
.tiles { display: grid; gap: var(--s2);
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.tile {
position: relative; display: block; padding: var(--s4);
border-radius: var(--r2); text-decoration: none; color: inherit;
background: rgba(255, 255, 255, .62);
-webkit-backdrop-filter: blur(12px) saturate(150%);
backdrop-filter: blur(12px) saturate(150%);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8),
0 1px 2px rgba(70, 50, 85, .05),
0 8px 20px -14px rgba(70, 50, 85, .3);
transition: background .3s var(--glide), transform .5s var(--spring),
box-shadow .3s var(--glide);
}
.tile:hover {
background: rgba(255, 255, 255, .74); transform: translateY(-3px);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-ink) 6%, transparent),
0 10px 24px -14px rgba(70, 50, 85, .45);
}
.tt { display: block; font-family: var(--font-round); font-weight: 400;
font-size: var(--t-body); letter-spacing: -.006em; }
.td { display: block; margin-top: 2px; font-size: var(--t-micro); color: var(--p-ink3); }
.tile[data-ext]::after {
content: "↗"; position: absolute; top: var(--s3); right: var(--s3);
font-size: var(--t-micro); color: var(--p-ink3);
transition: color .2s var(--glide), translate .4s var(--spring);
}
.tile[data-ext]:hover::after { color: var(--p-acc); translate: 1px -1px; }
.foot { position: relative; z-index: 1; padding: 0 var(--s5) var(--s8);
text-align: center; color: var(--p-ink3); font-size: var(--t-micro); line-height: 2.1; }
.foot a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent;
transition: color .2s, border-color .2s; }
.foot a:hover { color: var(--p-acc); border-color: currentColor; }
.foot .row { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }
.prog { position: fixed; top: 0; left: 0; height: 2px; z-index: 60; width: 0;
background: linear-gradient(90deg, var(--p-rose), var(--p-acc), var(--p-sky)); }
@media (hover: hover) and (pointer: fine) {
body.portal, body.portal a, body.portal button { cursor: none; }
.cur, .cdot { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
border-radius: 50%; mix-blend-mode: multiply; }
.cur { width: 34px; height: 34px; margin: -17px 0 0 -17px;
border: 1.5px solid rgba(91,82,196,.42);
transition: width .4s var(--spring), height .4s var(--spring),
margin .4s var(--spring), background .3s var(--glide), border-color .3s; }
.cur.on { width: 58px; height: 58px; margin: -29px 0 0 -29px;
background: rgba(91,82,196,.10); border-color: rgba(91,82,196,.7); }
.cdot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--p-acc); }
}
@media not all and (hover: hover) { .cur, .cdot { display: none } }
.js .rise { opacity: 0; transform: translateY(18px); }
.js .rise.in { opacity: 1; transform: none;
transition: opacity .7s var(--glide), transform .85s var(--spring); }
@media (prefers-reduced-motion: reduce) {
.rise { opacity: 1; transform: none }
.blob, .ava::before, .ava::after, .ava .halo, .name, .cue i { animation: none !important }
#petals { display: none }
}
@media (max-width: 34rem) {
.hero { padding-top: var(--s9) }
.ava { width: 104px; height: 104px }
.ava img { width: 96px; height: 96px }
}
