@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --bg: #f5f0e8;
    --bg-footer: #e8e0d0;
    --text-primary: #2c2416;
    --text-secondary: #6b5c44;
    --accent: #c8a96e;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a2233;
        --bg-footer: #111827;
        --text-primary: #eef6ff;
        --text-secondary: #dae8ff;
        --accent: #7d97bd;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Zalando Sans Expanded", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg);
    min-height: 100vh;
}

/* ─── MOBILE ─── */

.desktop-wrapper {
    display: none;
}

.mobile-banner {
    position: relative;
    width: 100%;
    height: 50svh;
}

.mobile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    opacity: 0.65;
}

/* Fade to bg color */
.mobile-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 25%,
            var(--bg) 85%);
    z-index: 1;
}

/* Safari / iOS Safari */
@supports (-webkit-touch-callout: none) {
    .mobile-banner::after {
        background: linear-gradient(to bottom,
                var(--bg) 0%,
                transparent 50%,
                transparent 25%,
                var(--bg) 85%);
    }
}



/* Pull content up so h1 overlaps the bottom of the banner */
.mobile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 52px;
    gap: 6px;
    margin-top: -80px;
    position: relative;
    z-index: 3;
}

.mobile-content h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mobile-content .bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* ─── LINKS ─── */

.links-list {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.links-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 16px;
    background: var(--bg-footer);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.links-list a:hover,
.links-list a:focus {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
    outline: none;
}

.platform-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* ─── DESKTOP ─── */

@media (min-width: 768px) {

    .mobile-banner,
    .mobile-content {
        display: none;
    }

    body {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 24px;
    }

    .desktop-wrapper {
        display: flex;
        align-items: stretch;
        max-width: 780px;
        width: 100%;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 8px 48px rgba(0, 0, 0, 0.18);
        border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
    }

    .desktop-banner {
        width: 280px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .desktop-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }

    .desktop-info {
        flex: 1;
        background: var(--bg-footer);
        padding: 40px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .desktop-info h1 {
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.1;
    }

    .desktop-info .bio {
        font-size: 0.88rem;
        color: var(--text-secondary);
        margin-bottom: 20px;
    }

    .desktop-info .links-list {
        max-width: 100%;
        margin-top: 0;
    }
}