:root {
  color-scheme: light;
  --bg: #fff8fb; --surface: #fffdfd; --tint: #fbedf4; --text: #392b35;
  --muted: #745c6c; --accent: #a42e67; --accent-bright: #d7639b; --line: #eddae4;
  --solid: #a42e67; --on-solid: #fff; --shadow: 0 8px 30px #72334f09; --dot: #e9c9da;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c151d; --surface: #251d27; --tint: #322334; --text: #f5e6ef;
  --muted: #c4a9bb; --accent: #ffa9d1; --accent-bright: #ef83bb; --line: #493446;
  --solid: #f2a2cc; --on-solid: #321d2c; --shadow: 0 8px 30px #0002; --dot: #3e2b3b;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #1c151d; --surface: #251d27; --tint: #322334; --text: #f5e6ef;
    --muted: #c4a9bb; --accent: #ffa9d1; --accent-bright: #ef83bb; --line: #493446;
    --solid: #f2a2cc; --on-solid: #321d2c; --shadow: 0 8px 30px #0002; --dot: #3e2b3b;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: ui-rounded, 'Segoe UI', system-ui, sans-serif; font-size: 15px; line-height: 1.65; color: var(--text); background-color: var(--bg); background-image: radial-gradient(var(--dot) .7px, transparent .7px); background-size: 24px 24px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 2; top: 8px; left: 8px; transform: translateY(-150%); background: var(--surface); padding: 8px 15px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.shell { max-width: 820px; margin: 0 auto; padding: 32px 28px 24px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 33px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1.4 ui-monospace, 'Cascadia Code', monospace; letter-spacing: -.04em; }
.brand-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); background: var(--surface); color: var(--accent); border-radius: 10px; font: 22px/1 system-ui; }
.brand-dot, .heart { color: var(--accent); }
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; color: var(--accent); }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: center; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.tiny-heart { margin-right: 4px; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(48px, 8vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -.075em; }
h1 > span { color: var(--accent); }
.period { color: var(--accent-bright); }
.handle { color: var(--muted); font-size: 14px; margin-top: 8px; }
.handle strong { color: var(--accent); font-weight: 650; }
.intro { margin: 18px 0 22px; color: var(--muted); max-width: 44ch; }
.links { display: flex; flex-wrap: wrap; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 13px; min-height: 43px; border-radius: 11px; border: 1px solid var(--line); font-size: 13px; font-weight: 650; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 16px; height: 16px; }
.primary { background: var(--solid); color: var(--on-solid); border-color: transparent; }
.secondary { background: var(--surface); color: var(--accent); }
.secondary:hover, .theme-toggle:hover { background: var(--tint); }
.hero-art { min-height: 255px; position: relative; display: grid; place-items: center; isolation: isolate; }
.orbit { position: absolute; border: 1px dashed var(--line); border-radius: 50%; width: 218px; height: 218px; z-index: -1; }
.orbit-inner { width: 184px; height: 184px; border-style: solid; }
.avatar { width: 146px; height: 146px; display: grid; place-content: center; text-align: center; background: var(--tint); color: var(--accent); border: 1px solid var(--line); border-radius: 43px; position: relative; box-shadow: var(--shadow); transform: rotate(-5deg); }
.avatar-vv { font-size: 76px; line-height: .88; font-weight: 800; letter-spacing: -.12em; padding-right: .12em; }
.avatar-sub { font: 10px/1.4 ui-monospace, monospace; letter-spacing: .34em; margin-top: 10px; }
.bow { position: absolute; width: 69px; height: 42px; top: -24px; right: -22px; color: var(--accent-bright); transform: rotate(20deg); }
.spark { position: absolute; color: var(--accent-bright); line-height: 1; }
.spark-one { top: 18px; left: 19%; font-size: 26px; }
.spark-two { bottom: 42px; right: 12%; font-size: 19px; }
.spark-three { top: 41px; right: 10%; font-size: 26px; }
.art-caption { position: absolute; bottom: -2px; font: 10px/1.4 ui-monospace, monospace; color: var(--muted); }
.section { margin-top: 32px; scroll-margin-top: 20px; }
.section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.section-title h2 { font-size: 19px; letter-spacing: -.035em; font-weight: 750; }
.section-title span { color: var(--accent); font-size: 16px; }
.section-title::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.project-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: var(--tint); border-radius: 11px; color: var(--accent); font-weight: 700; font-size: 19px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .15s, border-color .15s, box-shadow .15s; }
a.project:hover { border-color: var(--accent-bright); transform: translateY(-3px); box-shadow: var(--shadow); }
.project-top { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.project-arrow { color: var(--accent); font-size: 18px; }
.project h3 { font-size: 16px; line-height: 1.4; font-weight: 700; }
.project p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 6px 0 14px; }
.tag { margin-top: auto; font: 10px/1.4 ui-monospace, monospace; padding: 5px 8px; color: var(--accent); background: var(--tint); border-radius: 6px; }
.little-note { margin-top: 23px; display: flex; gap: 9px; align-items: baseline; color: var(--muted); font-size: 12px; padding: 0 3px; }
.little-note > span { color: var(--accent); font-size: 16px; }
code { font-family: ui-monospace, monospace; color: var(--accent); font-size: .95em; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 29px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
@media (max-width: 620px) {
  .shell { padding: 20px 16px; }
  .topbar { margin-bottom: 20px; }
  .hero { grid-template-columns: 1fr; padding: 26px; gap: 8px; }
  .hero-art { min-height: 230px; }
  .art-caption { bottom: 0; }
  .section { margin-top: 25px; }
}
@media (max-width: 390px) { .projects { grid-template-columns: 1fr; } .hero { padding: 21px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
.discord-avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.discord-avatar[hidden] { display: none; }
.avatar .bow { z-index: 1; }
.avatar.has-avatar .avatar-vv, .avatar.has-avatar .avatar-sub { visibility: hidden; }
