* { box-sizing: border-box; }
:root { color-scheme: dark; background: #000; color: #d4d4d4; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
body { margin: 0; min-height: 100vh; }
#dot-grid { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page { position: relative; max-width: 820px; margin: 0 auto; padding: 64px 32px 80px; }
header { text-align: center; margin-bottom: 64px; }
h1 { margin: 0 0 20px; font-size: clamp(28px, 5vw, 42px); font-weight: 600; letter-spacing: -.045em; color: #f5f5f5; }
header p { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 13px; }
a { color: #d4d4d4; text-decoration: none; }
a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible { outline: 1px solid #ffffff; outline-offset: 5px; }
.separator { color: #666666; }
header span[title] { color: #808080; }
main { max-width: 650px; margin: auto; }
section { margin: 0 0 40px; }
h2 { color: #e5e5e5; font-size: 17px; font-weight: 500; margin: 0 0 14px; }
h2::before { content: '// '; color: #888888; }
section p, li { font-size: 14px; line-height: 1.9; }
section p { margin: 0; padding-left: 28px; }
ul { margin: 0; padding-left: 44px; }
li { padding-left: 6px; margin: 6px 0; }
li::marker { color: #888888; }
strong { color: #cccccc; font-weight: 400; }
@media (max-width: 600px) { .page { padding: 44px 23px; } header { margin-bottom: 48px; } header p { gap: 10px; font-size: 12px; } section p, li { font-size: 13px; } }

header .email { color: #d4d4d4; margin: -6px 0 22px; font-size: 13px; }

::selection { background: #39ff14; color: #000000; }

header a { display: inline-flex; align-items: center; gap: 7px; }
.social-icon { width: 15px; height: 15px; flex-shrink: 0; }

.page { min-height: 100svh; display: flex; flex-direction: column; }
main { width: 100%; }
footer { margin-top: auto; padding-top: 48px; text-align: center; color: #888888; font-size: 10px; line-height: 1.6; }
.page { padding-bottom: 16px; }

.name-line { display: inline-block; position: relative; min-height: 1.2em; }
.typing-cursor { display: inline-block; width: 8px; height: .95em; margin-left: 5px; background: currentColor; vertical-align: -.08em; animation: cursor-blink 1s step-end infinite; }
@keyframes cursor-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typing-cursor { animation: none; } }

#ascii-cat { position: fixed; left: 0; top: 0; z-index: 5; padding: 12px; color: #ddd; cursor: grab; touch-action: none; user-select: none; will-change: transform; }
#ascii-cat pre { margin: 0; font: 15px/1.15 "SFMono-Regular", Consolas, monospace; white-space: pre; }
#ascii-cat.dragging { cursor: grabbing; color: #fff; }
#ascii-cat:focus-visible { outline: 1px dashed #aaa; outline-offset: 2px; }

/* Visible bubble around the draggable ASCII cat. */
#ascii-cat { width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(24,24,24,.94); box-shadow: 0 0 24px rgba(255,255,255,.12), inset 0 0 18px rgba(255,255,255,.04); color: #fff; z-index: 20; }
#ascii-cat pre { font-size: 17px; text-align: left; pointer-events: none; }
#ascii-cat:hover { border-color: #fff; box-shadow: 0 0 30px rgba(255,255,255,.2); }

/* Glassy highlights give the companion bubble depth. */
#ascii-cat { overflow: hidden; border-color: rgba(255,255,255,.55); background: radial-gradient(circle at 28% 20%, rgba(255,255,255,.25), transparent 40%), radial-gradient(circle at 75% 85%, rgba(255,255,255,.1), transparent 50%), rgba(22,22,22,.78); backdrop-filter: blur(8px); box-shadow: inset 2px 3px 8px rgba(255,255,255,.17), inset -3px -5px 12px rgba(0,0,0,.65), 0 12px 32px rgba(0,0,0,.4), 0 0 18px rgba(255,255,255,.07); }
#ascii-cat::before { content: ''; position: absolute; top: 12px; left: 20px; width: 38px; height: 17px; border-radius: 50%; background: linear-gradient(180deg,rgba(255,255,255,.65),rgba(255,255,255,0)); transform: rotate(-30deg); filter: blur(1px); pointer-events: none; }
#ascii-cat::after { content: ''; position: absolute; bottom: 12px; right: 17px; width: 22px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); transform: rotate(-35deg); filter: blur(3px); pointer-events: none; }
#ascii-cat pre { position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(255,255,255,.25); }
