/* ── Font ─────────────────────────────────────────────── */
@font-face {
    font-family: 'Arketa';
    src: url('/static/OOArketa-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f5f5f3;
    --border: #e8e8e6;
    --text: #000000;
    --text-dim: #3a3a3a;
    --text-muted: #999994;
    --accent: #000000;
    --radius: 0px;
    --font: 'Arketa', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

html { font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
}

/* ── Public Page ──────────────────────────────────────── */
.page {
    max-width: 480px;
    margin: 0 auto;
    padding: clamp(3rem, 10vw, 5rem) clamp(1.25rem, 5vw, 2rem) 3rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* ── Profile ──────────────────────────────────────────── */
.profile {
    text-align: center;
    margin-bottom: 2.5rem;
}

.avatar {
    width: 88px;
    height: 88px;
    border-radius: 0;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--text);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.profile-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Video Embed ──────────────────────────────────────── */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── Links ────────────────────────────────────────────── */
.links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.15s;
}

.link-card:first-child {
    border-top: 1px solid var(--border);
}

.link-card:hover {
    opacity: 0.6;
}

.link-title {
    font-size: 0.9rem;
    font-weight: 400;
}

.link-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
    margin-top: auto;
    padding-top: 3rem;
    text-align: center;
}

.footer-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 600px) {
    .page {
        padding: 2.5rem 1.25rem 2rem;
    }

    .avatar {
        width: 72px;
        height: 72px;
    }

    .profile-name {
        font-size: 1.1rem;
    }
}
