/* Site mode: long-scroll pages built from sections (public/site.js). Every colour comes from the
   page's own tokens (--bg, --ink, --acc) set on .st; the rest is mixed from them, so one theme
   change restyles the whole page. Hairlines, one accent, no gradients or glows. */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

html, body.st-body { margin: 0; background: #0b0b0c; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.st-nocursor, html.st-nocursor * { cursor: none !important; }

.st {
  --ink-2: color-mix(in srgb, var(--ink) 66%, var(--bg));
  --ink-3: color-mix(in srgb, var(--ink) 44%, var(--bg));
  --bg-2: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --bg-3: color-mix(in srgb, var(--ink) 8%, var(--bg));
  --rule: color-mix(in srgb, var(--ink) 10%, transparent);
  --rule-2: color-mix(in srgb, var(--ink) 20%, transparent);
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --sec: clamp(80px, 12vh, 140px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative; min-height: 100svh; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.st[data-density="compact"] { --sec: clamp(56px, 8vh, 96px); }
.st[data-density="airy"] { --sec: clamp(110px, 18vh, 200px); }
.st *, .st *::before, .st *::after { box-sizing: border-box; }
.st img { display: block; max-width: 100%; }
.st a { color: inherit; text-decoration: none; }
.st ::selection { background: var(--ink); color: var(--bg); }
.st :focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.st button { font: inherit; color: inherit; cursor: pointer; }
.st [hidden] { display: none !important; }

.st-sec { position: relative; padding: var(--sec) 0; }
.st-in { width: min(1240px, 100% - 2 * var(--pad)); margin: 0 auto; position: relative; }
.st-eyebrow { margin: 0 0 18px; font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.st-h { margin: 0; font: 600 clamp(36px, 4.6vw, 68px)/1 var(--head); letter-spacing: -0.04em; text-wrap: balance; }
.st-h .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.st-h .hc { display: inline-block; }
.st-head { margin-bottom: clamp(32px, 5vw, 56px); }
.st-head.big .st-h { font-size: clamp(44px, 7vw, 104px); }
.st-sub { margin: 18px 0 0; color: var(--ink-2); max-width: 56ch; font-size: 17px; }
.st-note { margin: 28px 0 0; font: 12px var(--mono); color: var(--ink-3); }
.st-empty { color: var(--ink-3); font: 13px var(--mono); padding: 20px 0; display: block; }
.st-tag { display: inline-block; font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.st-prose p { margin: 0 0 1em; color: var(--ink-2); font-size: 18px; max-width: 60ch; }

/* buttons */
.st-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--body); border: 1px solid var(--rule-2); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); white-space: nowrap; }
.st-btn.p { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.st-btn.p:hover { transform: translateY(-1px); }
.st-btn.g:hover { border-color: var(--ink); }

/* nav */
.st-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); border-bottom: 1px solid transparent; transition: transform 0.45s var(--ease), background-color 0.3s, border-color 0.3s; }
.st-nav.solid { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--rule); }
.st-nav.away { transform: translateY(-100%); }
.st-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.st-brand img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.st-brand > span:not(.ds-badges) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-brand .ds-badges { margin: 0; flex-wrap: nowrap; }
.st-brand .ds-badge { width: 20px; height: 20px; }
.st-brand .ds-badge::before { width: 12px; height: 12px; }
.st-nav-links { display: flex; align-items: center; gap: 4px; }
.st-nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; transition: color 0.2s; }
.st-nav-links a:hover { color: var(--ink); }
.st-k { font: 12px var(--mono); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--rule-2); background: none; color: var(--ink-2); margin: 0 6px; }
.st-nav-cta { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--bg) !important; border: 0; font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .st-nav-links a { display: none; } .st-k { display: none; } }

/* hero */
.sec-hero { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.st-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-hero-media { object-fit: cover; }
.st-hero-shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 58%, transparent); }
.st-hero-in { z-index: 1; display: grid; gap: 26px; justify-items: start; }
.sec-hero[data-align="center"] .st-hero-in { justify-items: center; text-align: center; }
.st-title { margin: 0; font: 700 clamp(44px, calc(118vw / (var(--len) + 1)), 230px)/0.86 var(--head); letter-spacing: -0.055em; display: grid; max-width: 100%; }
.st-title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.st-title .tw { display: inline-block; white-space: nowrap; }
.st-title .ch { display: inline-block; }
.st-title .sub { font-family: var(--mono); font-weight: 400; font-size: 0.42em; letter-spacing: -0.02em; color: var(--ink-3); margin-top: 0.12em; }
.st-lede { margin: 0; max-width: 54ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.st-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.sec-hero[data-align="center"] .st-ctas { justify-content: center; }
.st-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--rule-2); border-radius: 999px; font: 13px var(--mono); color: var(--ink-2); max-width: 100%; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.st-status span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-status i, .st-dc .dot { width: 9px; height: 9px; border-radius: 50%; background: #80848e; flex: none; }
.st-status i.online, .st-dc .dot.online { background: #23a55a; } .st-status i.idle, .st-dc .dot.idle { background: #f0b232; } .st-status i.dnd, .st-dc .dot.dnd { background: #f23f43; }
.st-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font: 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); z-index: 1; }

/* intro */
.st-intro { margin: 0; font: 500 clamp(28px, 4.2vw, 60px)/1.12 var(--head); letter-spacing: -0.03em; text-wrap: balance; max-width: 22ch; }
.st-intro.l { font-size: clamp(22px, 3vw, 40px); max-width: 30ch; }
.st-intro .w { opacity: 0.16; }
.st-intro.lit .w { opacity: 1; }

/* stats */
.st-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--rule); }
.st-num { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.st-num b { font: 600 clamp(44px, 6vw, 88px)/1 var(--head); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.st-num .sx { color: var(--acc); }
.st-num .lb { color: var(--ink-2); max-width: 28ch; font-size: 15px; }

/* project cards */
.st-cards { position: relative; }
.st-cards.rail .st-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.st-cards.rail.pinned .st-rail { overflow: visible; }
.st-cards.rail.pinned { overflow: visible; }
.st-cards.rail .st-card { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; }
.st-cards.grid .st-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.st-card { --a: var(--acc); display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rule); border-radius: var(--rad); overflow: hidden; background: var(--bg-2); transition: border-color 0.3s, transform 0.4s var(--ease); }
a.st-card:hover { border-color: var(--a); transform: translateY(-4px); }
.st-card-img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--bg-3); }
.st-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
a.st-card:hover .st-card-img img { transform: scale(1.04); }
.st-card-body { padding: 20px 22px 22px; display: grid; gap: 10px; align-content: start; border-top: 3px solid var(--a); margin-top: -1px; }
.st-card.noimg .st-card-body { min-height: 220px; }
.st-card h3 { margin: 0; font: 600 22px/1.15 var(--head); letter-spacing: -0.02em; }
.st-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.st-go { font: 12px var(--mono); color: var(--ink-3); margin-top: 4px; }
a.st-card:hover .st-go { color: var(--a); }

/* table */
.st-table { border-top: 1px solid var(--rule); }
.st-tr { display: grid; grid-template-columns: 1.1fr 2fr 0.8fr 0.5fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; transition: padding 0.4s var(--ease), color 0.2s; }
.st-tr.th { font: 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 12px 0; }
.st-tr .nm { font: 600 20px/1.2 var(--head); letter-spacing: -0.02em; }
.st-tr .tx { color: var(--ink-2); }
.st-tr .ty, .st-tr .yr { font: 13px var(--mono); color: var(--ink-3); }
a.st-tr:hover { padding-left: 12px; }
a.st-tr:hover .nm { color: var(--acc); }
@media (max-width: 760px) { .st-tr { grid-template-columns: 1fr auto; gap: 6px 16px; } .st-tr.th { display: none; } .st-tr .tx { grid-column: 1 / -1; order: 3; } .st-tr .ty { display: none; } }

/* timeline */
.st-tl { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 0; }
.st-tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--rule-2); }
.st-tl-line { position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--ink); transform-origin: top; }
.st-tl li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.st-tl li::before { content: ""; position: absolute; left: -28px; top: 26px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--bg); transition: background 0.3s, border-color 0.3s; }
.st-tl li.lit::before { background: var(--acc); border-color: var(--acc); }
.st-tl time { font: 13px var(--mono); color: var(--ink-3); padding-top: 4px; }
.st-tl b { display: block; font: 600 20px/1.25 var(--head); letter-spacing: -0.02em; }
.st-tl p { margin: 6px 0 0; color: var(--ink-2); }
@media (max-width: 640px) { .st-tl li { grid-template-columns: 1fr; gap: 4px; } }

/* about */
.st-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.st-about.nopic { grid-template-columns: 1fr; }
.st-about-pic { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--rad); background: var(--bg-3); }
.st-about-pic.stick { position: sticky; top: 96px; }
.st-about-pic img { width: 100%; height: 100%; object-fit: cover; }
.st-about-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.st-about-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.st-about-list .k { font: 12px var(--mono); color: var(--ink-3); padding-top: 3px; text-transform: lowercase; }
.st-about-list b { font-weight: 600; margin-right: 6px; }
.st-about-list div span { color: var(--ink-2); }
@media (max-width: 860px) { .st-about { grid-template-columns: 1fr; } .st-about-pic { max-width: 420px; } .st-about-pic.stick { position: static; } }

/* gallery */
.st-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-tile { position: relative; display: grid; align-content: end; min-height: 240px; padding: 22px; border: 1px solid var(--rule); border-radius: var(--rad); background: var(--bg-2); overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform 0.5s var(--ease), border-color 0.3s; }
.st-tile:hover { border-color: var(--rule-2); }
.st-tile.wide { grid-column: span 2; }
.st-tile.img { min-height: 340px; padding: 0; }
.st-tile-img { position: absolute; inset: 0; overflow: hidden; }
.st-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.st-tile.img .st-tile-cap { position: relative; margin: 12px; padding: 14px 16px; border-radius: calc(var(--rad) * 0.7); background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.st-tile-cap { display: grid; gap: 8px; }
.st-tile h3 { margin: 0; font: 600 20px/1.2 var(--head); letter-spacing: -0.02em; }
.st-tile p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 900px) { .st-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .st-gallery { grid-template-columns: 1fr; } .st-tile.wide { grid-column: auto; } }

/* marquee */
.sec-marquee { padding: calc(var(--sec) * 0.5) 0; }
.st-marquee { overflow: hidden; border-block: 1px solid var(--rule); }
.st-mq-track { display: flex; width: max-content; animation: st-mq 40s linear infinite; }
.st-marquee.slow .st-mq-track { animation-duration: 70s; }
.st-marquee.fast .st-mq-track { animation-duration: 22s; }
.st-mq-track.rev { animation-direction: reverse; }
.st-mq-half { display: flex; align-items: center; flex: none; }
.st-mq-half span { font: 600 clamp(40px, 7vw, 110px)/1.1 var(--head); letter-spacing: -0.04em; white-space: nowrap; padding: 0 0.3em; }
.st-mq-half i { font: 400 clamp(24px, 3vw, 44px) var(--mono); color: var(--ink-3); font-style: normal; }
.st-marquee.outline span { color: transparent; -webkit-text-stroke: 1px var(--ink); }
@keyframes st-mq { to { transform: translateX(-50%); } }

/* morph */
.sec-morph { padding: 0; }
.st-morph-pin { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.st-morph-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-morph-ui { position: absolute; left: max(var(--pad), calc((100vw - 1240px) / 2)); top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; max-width: 40%; }
.st-morph-ui .st-head { margin-bottom: 20px; }
.st-morph-ui .st-h { font-size: clamp(28px, 3vw, 44px); }
.st-morph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 15px var(--mono); pointer-events: auto; }
.st-morph-list li { color: var(--ink-3); transition: color 0.3s, transform 0.4s var(--ease); cursor: pointer; display: flex; gap: 12px; }
.st-morph-list li span { color: var(--ink-3); }
.st-morph-list li.on { color: var(--ink); transform: translateX(8px); }
.st-morph-list li.on span { color: var(--acc); }
@media (max-width: 760px) { .st-morph-ui { top: auto; bottom: 28px; transform: none; max-width: none; right: var(--pad); } }

/* media */
.st-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rad); overflow: hidden; background: var(--bg-3); display: grid; place-items: center; }
.st-media img, .st-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* music */
.st-music { display: grid; border-top: 1px solid var(--rule); }
.st-track { display: grid; grid-template-columns: 34px 52px 1fr 40px; gap: 16px; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; }
.st-track .n { font: 12px var(--mono); color: var(--ink-3); }
.st-track .art { width: 52px; height: 52px; border-radius: calc(var(--rad) * 0.5); background: var(--bg-3) center/cover; }
.st-track .meta { display: grid; min-width: 0; }
.st-track .meta b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-track .meta span { color: var(--ink-3); font-size: 14px; }
.st-play { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule-2); position: relative; }
.st-play::before { content: ""; position: absolute; left: 14px; top: 11px; border-left: 12px solid var(--ink); border-block: 8px solid transparent; }
.st-track.on .st-play { background: var(--acc); border-color: var(--acc); }
.st-track.on .st-play::before { left: 12px; top: 12px; width: 4px; height: 14px; border: 0; background: var(--on-acc); box-shadow: 8px 0 0 var(--on-acc); }
.st-track:hover .meta b { color: var(--acc); }
.st-vybe { font: 12px var(--mono); color: var(--ink-3); padding-top: 14px; }

/* discord */
.st-dc-wrap { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 32px; align-items: center; }
.st-dc-wrap .st-head { margin: 0; }
.st-dc { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--rule); border-radius: var(--rad); background: var(--bg-2); min-width: 0; }
.st-dc:hover { border-color: var(--rule-2); }
.st-dc .av { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--bg-3) center/cover; }
.st-dc .dot { position: absolute; right: 0; bottom: 2px; width: 18px; height: 18px; border: 3px solid var(--bg-2); }
.st-dc .meta { display: grid; gap: 4px; min-width: 0; }
.st-dc .meta b { font: 600 20px var(--head); }
.st-dc .meta span { color: var(--ink-2); font-size: 14.5px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .st-dc-wrap { grid-template-columns: 1fr; } }

/* github */
.st-gh-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.st-gh-top .st-head { margin: 0; }
.st-repos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.st-repo { display: grid; gap: 8px; align-content: start; padding: 20px; border: 1px solid var(--rule); border-radius: var(--rad); background: var(--bg-2); min-height: 150px; transition: border-color 0.2s, transform 0.3s var(--ease); }
a.st-repo:hover { border-color: var(--rule-2); transform: translateY(-3px); }
.st-repo b { font: 600 17px var(--mono); overflow-wrap: anywhere; }
.st-repo p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.st-repo .meta { display: flex; flex-wrap: wrap; gap: 14px; font: 12px var(--mono); color: var(--ink-3); margin-top: auto; }
.st-repo.sk { animation: st-sk 1.4s ease-in-out infinite alternate; }
@keyframes st-sk { to { background: var(--bg-3); } }

/* links */
.st-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.st-links a { display: grid; grid-template-columns: 1fr auto 28px; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); transition: padding 0.4s var(--ease); }
.st-links .lb { font: 600 clamp(22px, 3vw, 40px)/1.1 var(--head); letter-spacing: -0.03em; }
.st-links .hs { font: 13px var(--mono); color: var(--ink-3); }
.st-links .ar { font-size: 20px; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.2s; }
.st-links a:hover { padding-left: 12px; }
.st-links a:hover .ar { transform: translate(3px, -3px); color: var(--acc); }
@media (max-width: 600px) { .st-links .hs { display: none; } .st-links a { grid-template-columns: 1fr 28px; } }

/* contact */
.st-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.st-contact .st-prose { margin-bottom: 24px; }
.st-clinks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); font: 14px var(--mono); }
.st-clinks li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.st-clinks li span { color: var(--ink-3); }
.st-clinks a { overflow-wrap: anywhere; }
.st-clinks a:hover { color: var(--acc); }
@media (max-width: 860px) { .st-contact { grid-template-columns: 1fr; } }

/* footer */
.st-foot { padding: var(--sec) 0 24px; overflow: hidden; }
.st-foot.plain { padding-top: 48px; border-top: 1px solid var(--rule); }
.st-giant { position: relative; width: min(1240px, 100% - 2 * var(--pad)); margin: 0 auto; font: 700 clamp(56px, calc(150vw / (var(--len) + 1)), 340px)/0.82 var(--head); letter-spacing: -0.06em; white-space: nowrap; text-align: center; }
.st-giant .o { color: transparent; -webkit-text-stroke: 1px var(--rule-2); display: block; }
.st-giant .f { position: absolute; inset: 0; color: var(--ink); clip-path: inset(55% 0 0 0); }
.st-foot-note { width: min(1240px, 100% - 2 * var(--pad)); margin: 28px auto 0; color: var(--ink-2); }
.st-foot-row { width: min(1240px, 100% - 2 * var(--pad)); margin: 40px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 12px var(--mono); color: var(--ink-3); }
.st-foot.plain .st-foot-row { margin-top: 0; }
.st-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.st-foot-links a:hover { color: var(--ink); }

/* blank page */
.st-blank { min-height: 80svh; display: grid; align-items: center; }

/* command menu */
.st-pal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding: 14vh 16px 16px; background: color-mix(in srgb, var(--bg) 60%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.st-pal-box { width: min(560px, 100%); border: 1px solid var(--rule-2); border-radius: 14px; background: var(--bg-2); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.st-pal input { width: 100%; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--ink); font: 15px var(--mono); outline: none; }
.st-pal ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow-y: auto; }
.st-pal li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 11px 14px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.st-pal li .g { font: 11px var(--mono); color: var(--ink-3); text-transform: uppercase; padding-top: 3px; }
.st-pal li[aria-selected="true"] { background: var(--bg-3); }
.st-pal li.none { color: var(--ink-3); cursor: default; }
.st-pal-foot { display: flex; gap: 18px; margin: 0; padding: 10px 20px; border-top: 1px solid var(--rule); font: 11px var(--mono); color: var(--ink-3); }

/* cursor and grain */
.st-cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid #fff; mix-blend-mode: difference; transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s; }
.st-cursor.dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #fff; border: 0; }
.st-cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.st-grain { position: fixed; inset: -10%; width: 120%; height: 120%; z-index: 95; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; image-rendering: pixelated; }

@media (prefers-reduced-motion: reduce) {
  .st-mq-track { animation: none; }
  .st *, .st *::before, .st *::after { transition-duration: 0.01ms !important; }
}
