@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&family=IBM+Plex+Serif:ital,wght@0,200;0,300;0,400;1,200;1,300&display=swap');

:root {
    --mono: 'JetBrains Mono', monospace;
    --serif: 'IBM Plex Serif', Georgia, serif;
    --bg: #fafafa;
    --text: #1c1c1e;
    --text-mid: #6b6b70;
    --text-light: #9d9da3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--mono);
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Smoke blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

body::before {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #d4d4d8 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: drift1 25s ease-in-out infinite;
}

body::after {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #e4e4e7 0%, transparent 70%);
    bottom: -150px; left: -150px;
    animation: drift2 30s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-40px, 60px); }
    66% { transform: translate(30px, -30px); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(50px, -40px); }
    66% { transform: translate(-30px, 50px); }
}

.smoke {
    position: fixed;
    width: 450px; height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, #d1d5db 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.2;
    top: 40%; left: 30%;
    z-index: 0;
    pointer-events: none;
    animation: drift3 35s ease-in-out infinite;
}

@keyframes drift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, 30px) scale(1.05); }
    50% { transform: translate(-20px, 70px) scale(0.95); }
    75% { transform: translate(-50px, -20px) scale(1.02); }
}

/* Floating polygon canvas */
.polygons {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

::selection { background: var(--text); color: var(--bg); }

.container {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    padding: 80px 0 60px;
}

.logo-img {
    font-family: var(--mono);
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -2px;
    color: var(--text);
}

/* Content */
.content p {
    font-family: var(--serif);
    font-size: 0.92rem;
    line-height: 1.85;
    margin-bottom: 24px;
    color: var(--text);
    font-weight: 300;
}

.content .lead {
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 540px;
}

.sep {
    display: block;
    margin: 40px 0;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5em;
    opacity: 0.35;
    text-align: center;
}

/* Interests */
.interests {
    margin: 32px 0 36px;
}

.interest {
    margin-bottom: 18px;
    padding-left: 20px;
    position: relative;
}

.interest::before {
    content: '›';
    position: absolute;
    left: 0; top: 0;
    font-family: var(--mono);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.85;
}

.interest-label {
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

.interest-desc {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--text-mid);
    font-weight: 200;
}

.signoff {
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--text-mid);
    font-weight: 300;
    margin-top: 40px;
}

.postscript {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 32px;
    font-style: italic;
}

/* Footer */
footer {
    padding: 56px 0 40px;
    margin-top: 32px;
}

.footer-line {
    width: 32px; height: 1px;
    background: var(--text-light);
    opacity: 0.3;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

/* Fade in */
.fade {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeIn 0.8s ease forwards;
}

.fade:nth-child(2) { animation-delay: 0.08s; }
.fade:nth-child(3) { animation-delay: 0.16s; }
.fade:nth-child(4) { animation-delay: 0.24s; }
.fade:nth-child(5) { animation-delay: 0.32s; }
.fade:nth-child(6) { animation-delay: 0.40s; }
.fade:nth-child(7) { animation-delay: 0.48s; }
.fade:nth-child(8) { animation-delay: 0.56s; }
.fade:nth-child(9) { animation-delay: 0.64s; }
.fade:nth-child(10) { animation-delay: 0.72s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    header { padding: 48px 0 40px; }
}
