
@layer home-defaults, home-components.priority1, home-components.priority2, home-components.priority3, home-components.priority4;
@layer home-components.priority1{
.x10a8y8t{inset:0}
.x1ghz6dp{margin:0}
.x1717udv{padding:0}
}
@layer home-components.priority2{
.x1ucodaa{border-color:light-dark(#e9e7e0,#364152)}
.x9r1u3d{border-color:transparent}
.xdh8su4{border-color:var(--paper-edge)}
.x4pepcl{border-radius:12px}
.x18zih8k{border-radius:3px}
.xng3xce{border-style:none}
.x1y0btm7{border-style:solid}
.xc342km{border-width:0}
.xmkeg23{border-width:1px}
.x1rea2x4{overflow:visible}
.x1x5tn4d{transition:background-color .12s ease,color .12s ease,transform .11s var(--ease-out)}
.x3qamn8{transition:background-color .12s ease,transform .11s var(--ease-out)}
.xolhjps{transition:transform .18s cubic-bezier(.23,1,.32,1)}
@media (forced-colors: active){.x1w1tqly.x1w1tqly{border-color:CanvasText}}
@media (forced-colors: active){.xr4vnyc.xr4vnyc{border-color:LinkText}}
@media (forced-colors: active){.xx61lck.xx61lck{border-style:solid}}
@media (forced-colors: active){.x13rsnn2.x13rsnn2{border-width:1px}}
}
@layer home-components.priority3{
.x1i10hfl{-webkit-tap-highlight-color:transparent}
.x6s0dn4{align-items:center}
.xuy94d2{background-color:color-mix(in srgb,var(--tile) 55%,transparent)}
.x1lg6006{background-color:light-dark(#fffefb,#232c3a)}
.xjbqb8w{background-color:transparent}
.x1n49kme{background-color:var(--paper-color)}
.xtwafwr{box-shadow:0 2px 3px -2px light-dark(#26314338,#00000088),0 12px 30px -18px light-dark(#26314338,#00000088)}
.x4i7yyt{box-shadow:0 2px 3px -2px var(--paper-shadow),0 12px 30px -18px var(--paper-shadow)}
.x520z74{color:var(--glyph)}
.x1lk8qxj{color:var(--ink)}
.x17j02y5{color:var(--muted)}
.x1f6pogk{column-gap:11px}
.x1ypdohk{cursor:pointer}
.x1lliihq{display:block}
.x78zum5{display:flex}
.xrvj5dj{display:grid}
.xbh8q5q{fill:none}
.xdt5ytf{flex-direction:column}
.x2lah0s{flex-shrink:0}
.x197cyvz{font-family:Georgia,'Times New Roman',serif}
.x1j6dyjg{font-size:11px}
.xif65rj{font-size:14px}
.x1nyyd3{font-size:25px}
.x1cd4r5q{font-size:clamp(30px,6vw,40px)}
.xo1l8bm{font-weight:400}
.x1b4dsll{letter-spacing:-0.03em}
.x1uo3zyz{line-height:1.15}
.x37zpob{line-height:1.4}
.x3ct3a4{list-style-type:none}
.x1ewu8gn{outline-offset:3px}
.x2wh2y9{outline-offset:4px}
.xj0a0fe{overflow-wrap:anywhere}
.x47corl{pointer-events:none}
.x10l6tqk{position:absolute}
.x1n2onr6{position:relative}
.x1b8z93w{row-gap:10px}
.x1kb72lq{row-gap:20px}
.x1r0jzty{row-gap:4px}
.xw09woa{row-gap:6px}
.x1owpc8m{stroke-linecap:round}
.x1f6yumg{stroke-linejoin:round}
.x1i8vdtw{stroke-width:1.3}
.xnpr05h{stroke-width:1}
.x1be8r2w{stroke:light-dark(#667b9930,#b2bbcd30)}
.x1k5j3q4{stroke:var(--muted)}
.xkrqix3{text-decoration-line:none}
.x1fzhlzt{text-wrap:pretty}
.xggy1nq{touch-action:manipulation}
.x1hj3fc7{transform-origin:0 0}
.x1gujdrs{transform-origin:50% 70%}
.x1c071of{transform:none}
.x15m98yq{transform:rotate(-1.2deg)}
.xuxw1ft{white-space:nowrap}
.x1vjfegm{z-index:1}
.xxfhtwt:focus-visible{outline-color:var(--accent)}
.x9v5kkp:focus-visible{outline-style:solid}
.x784prv:focus-visible{outline-width:2px}
.xv3zcqh:active{transform:scale(.985)}
@media (forced-colors: active){.x9yvj25.x9yvj25{background-color:Canvas}}
@media (forced-colors: active){.xwaqzdf.xwaqzdf{box-shadow:none}}
@media (forced-colors: active){.xs5hli.xs5hli{color:CanvasText}}
@media (forced-colors: active){.x1x84bn5.x1x84bn5{outline-color:Highlight}}
@media (forced-colors: active){.x8jos32.x8jos32{stroke:CanvasText}}
@media (prefers-reduced-motion: reduce){.x1ouu0xu.x1ouu0xu{transform:rotate(-1.2deg)}}
@media (hover: hover) and (pointer: fine) and (not (forced-colors: active)){.xx0s5il.xx0s5il:hover{background-color:var(--tile)}}
@media (hover: hover) and (pointer: fine){.xrzvw2n.xrzvw2n:hover{background-color:var(--tile)}}
@media (hover: hover) and (pointer: fine){.x19wu9zu.x19wu9zu:hover{color:var(--ink)}}
@media (hover: hover) and (pointer: fine) and (not (prefers-reduced-motion: reduce)){.xv30pwx.xv30pwx:hover{transform:translateY(-3px) rotate(0deg)}}
@media (hover: hover) and (pointer: fine) and (not (prefers-reduced-motion: reduce)){.x1iclnzr.x1iclnzr:active{transform:translateY(-1px) rotate(0deg)}}
}
@layer home-components.priority4{
.x5yr21d{height:100%}
.xx3o462{height:15px}
.xxk0z11{height:24px}
.xlrawln{height:25px}
.xt7dq6l{height:auto}
.xat24cr{margin-bottom:0}
.xod5an3{margin-bottom:12px}
.xj3b58b{margin-left:0}
.x1swdo50{margin-left:2px}
.xd8780z{margin-left:5px}
.x8x9d4c{margin-left:auto}
.x1yf7rl7{margin-right:0}
.xl010v5{margin-right:4px}
.xdj266r{margin-top:0}
.xjv05ge{margin-top:28px}
.xr9ek0c{margin-top:2px}
.x1xaied3{min-height:260px}
.x1wxaq2x{min-height:48px}
.xeuugli{min-width:0}
.x18d9i69{padding-bottom:0}
.x1a8lsjc{padding-bottom:10px}
.x1hhzuzn{padding-bottom:18px}
.xbaz6xv{padding-bottom:30px}
.xwib8y2{padding-bottom:8px}
.x1uhho1l{padding-left:0}
.x6pqhf1{padding-left:11px}
.x1k8dnhd{padding-left:18px}
.x1x7g8rv{padding-left:26px}
.xayvskk{padding-left:30px}
.x1xpa7k{padding-right:0}
.x1nnee3q{padding-right:11px}
.x18a8kpn{padding-right:18px}
.x1tuxcxe{padding-right:26px}
.x1nz53y6{padding-right:30px}
.xexx8yu{padding-top:0}
.x889kno{padding-top:10px}
.x109j2v6{padding-top:18px}
.x9orja2{padding-top:30px}
.x1y1aw1k{padding-top:8px}
.xh8yej3{width:100%}
.x1a00udw{width:15px}
.x1kl0l3y{width:21px}
.xvy4d1p{width:24px}
.x1rnx0d2{width:min(100%,460px)}
}

:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light dark;
  --ground: #fafbfe;
  --ink: #262d3b;
  --surface: #eff2f8;
  --edge: #dce2ed;
  --secondary: #535e71;
  --selection: #dce4ff;
  --selection-ink: #202839;
  color: var(--ink);
  background: var(--ground);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  --muted: #626b7b;
  --accent: #445ca1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #151a23; --ink: #edf0f7; --muted: #b2bbcd;
    --accent: #bcc9f3; --surface: #242e40; --edge: #39445b;
    --secondary: #b2bbcd; --selection: #445ca1; --selection-ink: #edf0f7;
  }
}
* { box-sizing: border-box; }
body { margin: 0; }
html::-webkit-scrollbar, .prose-scroll::-webkit-scrollbar { display: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: var(--selection); color: var(--selection-ink); }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px 16px; z-index: 2; background: var(--ground); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header, main { width: min(100% - 48px, 680px); margin-inline: auto; }
.site-header { padding-block: 24px; }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; line-height: 1.4; text-decoration: none; }
.home-link { font-weight: 550; letter-spacing: -.02em; }
.site-header a:last-child { color: var(--muted); }
main { padding-block: 56px 96px; }
main:focus { outline: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: pretty; overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(2.1rem, 5.5vw, 3.25rem); font-weight: 550; line-height: 1.12; letter-spacing: -.04em; }
.article-header { margin-bottom: 48px; }
.article-header time, .writing-list time { display: block; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.article-header time { margin-top: 20px; }
.draft-notice { color: var(--muted); font-size: .875rem; }
.prose { font-size: 1.125rem; line-height: 1.75; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-block: 0 1.45em; }
.prose h2 { margin-block: 2em .65em; font-size: 1.5rem; line-height: 1.35; font-weight: 570; letter-spacing: -.025em; }
.prose h3, .prose h4, .prose h5, .prose h6 { margin-block: 1.8em .65em; font-size: 1.2rem; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { padding-left: .15em; }
.prose li + li { margin-top: .45em; }
.prose li > p { margin-bottom: .6em; }
.prose blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--edge); color: var(--secondary); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose-scroll { max-width: 100%; overflow: auto; scrollbar-width: none; }
.prose-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.code-scroll { margin: 1.7em 0; border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .85em; line-height: 1.65; }
.prose pre { width: max-content; min-width: 100%; padding: 20px; margin: 0; font-size: inherit; line-height: inherit; overflow-wrap: normal; }
.prose code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .88em; background: var(--surface); border-radius: 3px; padding: .15em .25em; }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose img { display: block; max-width: 100%; height: auto; margin: 1.7em auto; border-radius: 8px; }
.prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--edge); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--edge); }
.article-return { margin-top: 56px; }
.article-return a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.writing-list { padding: 0; margin: 40px 0 0; list-style: none; }
.writing-list li + li { margin-top: 36px; }
.writing-list h2 { font-size: 1.25rem; font-weight: 550; line-height: 1.45; letter-spacing: -.02em; margin: 0 0 6px; }
.writing-list h2 a { display: inline-block; padding-block: 4px; text-decoration: none; }
.writing-list p { color: var(--secondary); margin: 8px 0 0; line-height: 1.65; overflow-wrap: anywhere; }
.empty-state { color: var(--muted); margin: 28px 0 0; line-height: 1.65; }
.not-found p { line-height: 1.65; margin-top: 24px; }
@media (hover: hover) and (pointer: fine) {
  .site-header a:hover, .writing-list a:hover { text-decoration: underline; }
}
@media (max-width: 480px) {
  .site-header, main { width: min(100% - 40px, 680px); }
  .site-header { padding-block: 16px; }
  main { padding-top: 36px; padding-bottom: 64px; }
  .article-header { margin-bottom: 36px; }
  .prose { font-size: 1.0625rem; }
}
@media (forced-colors: active) {
  :root { color: CanvasText; background: Canvas; scrollbar-width: auto; }
  .prose-scroll { scrollbar-width: auto; }
  html::-webkit-scrollbar, .prose-scroll::-webkit-scrollbar { display: initial; }
  .prose-scroll:focus-visible { outline-color: Highlight; }
  a { color: LinkText; }
  .prose pre, .prose code { border: 1px solid CanvasText; }
}

/* An honest empty index, not a fabricated article or large placeholder panel. */
.writing-unwritten { width: 40px; height: 48px; margin-top: 32px; color: var(--muted); }
.writing-unwritten svg { display: block; width: 100%; height: 100%; }
.writing-unwritten path { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (forced-colors: active) { .writing-unwritten { color: CanvasText; } }

.writing-draft { color: var(--muted); font-family: var(--font-ui, sans-serif); font-size: 12px; font-weight: 400; white-space: nowrap; margin-left: 8px; }
.writing-list li[id] { scroll-margin-top: 32px; }

/* Paper geometry stays in native CSS alongside document layout and typography. */
[hidden] { display: none !important; }
.paper-scene { --paper-color: #fffefb; --paper-edge: #e9e7e0; --paper-shadow: #26314338; --paper-rule: #667b9930; position: relative; margin-top: 12px; }
.writing-index:has(.paper-scene, .coming-soon) .writing-index-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body:has(.paper-scene) main { width: min(100% - 64px, 900px); padding-top: 40px; }
.paper-spread { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 20px; align-items: start; }
.paper-slot { min-width: 0; position: relative; --turn: -2deg; padding-block: 20px; }
.paper-slot:nth-child(3n + 2) { --turn: 2deg; padding-top: 68px; }
.paper-slot:nth-child(3n) { --turn: -1deg; padding-top: 30px; }
.paper { transform: rotate(var(--turn)); transition: transform 180ms cubic-bezier(.23,1,.32,1), opacity 180ms ease; }
.paper-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(23px,2.6vw,30px); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: pretty; }
.paper-status, .paper time { color: var(--muted); font-size: 12px; font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }
.paper-slot[data-material="card"] { --paper-color: #f6f3e9; }
.paper-slot[data-material="card"] .paper { min-height: 210px; }
.paper-slot[data-material="ruled"] .paper { min-height: 325px; }
.paper-slot[data-material="ruled"] .paper-surface::after { content: ''; position: absolute; inset: 180px 20px 24px; background: repeating-linear-gradient(transparent 0 23px,var(--paper-rule) 23px 24px); }
.paper-fallback { padding-top: 20px; font-size: 13px; }
.paper-scene[data-enhanced] .paper-fallback { display: none; }
.paper-scene[data-reading] .paper-spread { opacity: .16; }
.paper-spread { transition: opacity 180ms ease; }
.paper-reader { position: absolute; top: 0; left: 50%; width: min(100%,660px); transform: translateX(-50%); z-index: 10; padding-bottom: 32px; }
.reader-content { position: relative; padding: 24px 40px 44px; min-height: 480px; }
.paper-reader h2 { margin: 16px 0 22px; font: 400 clamp(28px,4.5vw,40px)/1.15 Georgia,'Times New Roman',serif; letter-spacing: -.035em; }
.paper-reader h2:focus { outline: none; }
.reader-body > time { display: block; margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.paper-return { display: flex; align-items: center; gap: 9px; padding: 8px 0; min-height: 44px; border: 0; background: transparent; color: var(--muted); font: 13px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; cursor: pointer; }
.paper-return span { font-size: 22px; }
.paper-return:active { transform: scale(.97); }
.paper-return:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.paper-blank { height: 190px; margin-top: 32px; background: repeating-linear-gradient(transparent 0 30px,var(--paper-rule) 30px 31px); opacity: .5; }
.paper-scene[data-reading] { min-height: var(--reader-height); }
.paper-scene[data-returning] .paper, .paper-scene[data-returning] .paper-spread { transition: none; }
html[data-paper-input="keyboard"] .paper, html[data-paper-input="keyboard"] .paper-spread { transition: none; }
@media (hover: hover) and (pointer: fine) {
  .paper:hover { transform: translateY(-7px) rotate(0deg); }
  .paper:active { transform: translateY(-3px) rotate(0deg); }
  .paper-return:hover { color: var(--ink); }
}
@media (max-width: 600px) {
  body:has(.paper-scene) main { width: calc(100% - 40px); padding-top: 16px; }
  .paper-spread { grid-template-columns: 1fr; gap: 8px; padding-inline: 8px; }
  .paper-slot, .paper-slot:nth-child(3n + 2), .paper-slot:nth-child(3n) { padding-block: 10px; }
  .paper-slot:nth-child(2n) { margin-left: 12px; }
  .paper, .paper-slot[data-material="card"] .paper, .paper-slot[data-material="ruled"] .paper { min-height: 180px; }
  .paper-title { font-size: 25px; }
  .paper-slot[data-material="ruled"] .paper-surface::after { inset: 158px 20px 12px; }
  .reader-content { padding: 20px 24px 32px; }
  .paper-reader { width: 100%; }
}
@media (prefers-color-scheme: dark) {
  .paper-scene { --paper-color: #232c3a; --paper-edge: #364152; --paper-shadow: #0008; --paper-rule: #b2bbcd30; }
  .paper-slot[data-material="card"] { --paper-color: #2c302f; }
}
@media (prefers-reduced-motion: reduce) {
  .paper, .paper-spread { transition: none; }
  .paper:hover { transform: rotate(var(--turn)); }
}
@media (forced-colors: active) {
  .paper-scene { --paper-color: Canvas; --paper-edge: CanvasText; --paper-shadow: transparent; }
  .paper-slot[data-material="card"] { --paper-color: Canvas; }
}
