/* ==========================================================================
   Nova & Neon — Bio / Link-in-Bio Stylesheet (NeonCritic After Hours)
   Aesthetic Benchmark: YukiGF & EmberGF High Editorial Elegance
   ========================================================================== */

:root {
    --bio-bg: #070a14;
    --bio-surface-frame: #0d1322;
    --bio-surface-card: rgba(16, 24, 42, 0.72);
    --bio-surface-card-hover: rgba(24, 35, 60, 0.92);
    --bio-surface-pill: rgba(255, 255, 255, 0.04);
    --bio-surface-pill-hover: rgba(56, 189, 248, 0.12);
    --bio-border-subtle: rgba(255, 255, 255, 0.08);
    --bio-border-hover: rgba(56, 189, 248, 0.38);
    --bio-border-primary: rgba(192, 132, 252, 0.3);
    --bio-text-primary: #f8fafc;
    --bio-text-secondary: #94a3b8;
    --bio-text-muted: #64748b;
    --bio-cyan: #38bdf8;
    --bio-cyan-glow: rgba(56, 189, 248, 0.22);
    --bio-purple: #c084fc;
    --bio-purple-glow: rgba(192, 132, 252, 0.2);
    --bio-neon-amber: #f59e0b;
    --bio-neon-amber-glow: rgba(245, 158, 11, 0.22);
    --bio-font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    --bio-font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --bio-radius-xl: 24px;
    --bio-radius-lg: 16px;
    --bio-radius-md: 12px;
    --bio-radius-pill: 9999px;
    --bio-shadow-scene: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(56, 189, 248, 0.04);
    --bio-shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 20px rgba(0, 0, 0, 0.25);
    --bio-shadow-card-hover: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--bio-cyan-glow);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body.nova-bio {
    margin: 0;
    padding: 0;
    background-color: var(--bio-bg);
    background-image: 
        radial-gradient(ellipse at 15% 10%, rgba(192, 132, 252, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(13, 19, 34, 0.8) 0%, transparent 100%);
    background-attachment: fixed;
    color: var(--bio-text-primary);
    font-family: var(--bio-font-body);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 2px solid var(--bio-cyan);
    outline-offset: 4px;
    border-radius: var(--bio-radius-md);
}

h1, h2, h3, p {
    margin: 0;
}

h1, h2, h3 {
    font-family: var(--bio-font-display);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--bio-text-primary);
}

/* Accessibility skip link */
.bio-skip {
    position: absolute;
    left: 20px;
    top: -100px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--bio-cyan);
    color: #040810;
    font-weight: 700;
    border-radius: var(--bio-radius-md);
    transition: top 0.2s ease;
}
.bio-skip:focus {
    top: 20px;
}

/* Top Branding Bar */
.bio-top {
    max-width: 1160px;
    margin: 0 auto;
    padding: 28px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bio-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bio-wordmark {
    font-family: var(--bio-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--bio-text-primary);
    line-height: 1.1;
}

.bio-wordmark span {
    color: var(--bio-cyan);
}

.bio-brand small {
    font-family: var(--bio-font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--bio-text-muted);
    text-transform: uppercase;
}

.bio-edition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--bio-font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--bio-purple);
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid var(--bio-border-primary);
    padding: 6px 14px;
    border-radius: var(--bio-radius-pill);
    text-transform: uppercase;
}

.bio-edition i {
    font-style: normal;
    color: var(--bio-cyan);
}

/* Main Split Scene Layout */
.bio-scene {
    width: min(1160px, calc(100% - 40px));
    margin: 10px auto 40px;
    display: grid;
    grid-template-columns: 46% 54%;
    background: var(--bio-surface-frame);
    border: 1px solid var(--bio-border-subtle);
    border-radius: var(--bio-radius-xl);
    box-shadow: var(--bio-shadow-scene);
    overflow: hidden;
    position: relative;
}

/* Left Hero Portrait Column */
.bio-portrait {
    position: relative;
    min-height: 640px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 44px 38px;
    isolation: isolate;
    overflow: hidden;
    background: #0b0f1c;
}

.bio-portrait > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: -3;
    filter: brightness(0.92) contrast(1.04);
}

.bio-portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 10, 20, 0.05) 0%,
        rgba(7, 10, 20, 0.2) 35%,
        rgba(7, 10, 20, 0.85) 70%,
        rgba(7, 10, 20, 0.98) 100%
    );
    z-index: -2;
}

.bio-portrait-copy {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.bio-eyebrow {
    display: inline-block;
    font-family: var(--bio-font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bio-purple);
    margin-bottom: 12px;
}

.bio-portrait h1 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
    color: #ffffff;
}

.bio-portrait h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--bio-cyan), #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio-portrait-copy p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.85);
    max-width: 90%;
}

.bio-art-note {
    font-size: 0.68rem;
    color: var(--bio-text-muted);
    letter-spacing: 0.04em;
    position: relative;
    z-index: 1;
}

/* Right Bio Content Panel */
.bio-panel {
    padding: 44px 40px;
    background: linear-gradient(170deg, rgba(16, 23, 41, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Persona Switcher */
.bio-persona-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    background: rgba(13, 19, 34, 0.88);
    border: 1px solid var(--bio-border-subtle);
    border-radius: var(--bio-radius-pill);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: fit-content;
}

.bio-persona-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    min-height: 38px;
    border-radius: var(--bio-radius-pill);
    font-family: var(--bio-font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bio-text-secondary);
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-persona-pill small {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.75;
}

.bio-persona-pill:hover {
    color: var(--bio-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.bio-persona-pill.is-active {
    background: var(--bio-surface-card-hover);
    color: #ffffff;
    border-color: var(--bio-cyan);
    box-shadow: 0 0 14px var(--bio-cyan-glow);
}

.bio-persona-pill.is-active .bio-persona-dot {
    color: var(--bio-cyan);
}

body.is-neon .bio-persona-pill.is-active {
    border-color: var(--bio-neon-amber);
    box-shadow: 0 0 14px var(--bio-neon-amber-glow);
}

body.is-neon .bio-persona-pill.is-active .bio-persona-dot {
    color: var(--bio-neon-amber);
}

body.is-neon .bio-wordmark span {
    color: var(--bio-neon-amber);
}

body.is-neon .bio-edition {
    color: var(--bio-neon-amber);
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

body.is-neon .bio-edition i {
    color: var(--bio-cyan);
}

/* Common Section Headers */
.bio-section {
    display: flex;
    flex-direction: column;
}

.bio-section-head {
    margin-bottom: 16px;
}

.bio-section-head .bio-eyebrow {
    margin-bottom: 6px;
}

.bio-section-head h2 {
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--bio-text-primary);
}

.bio-intro {
    font-size: 0.86rem;
    color: var(--bio-text-secondary);
    line-height: 1.55;
    margin-top: 6px;
}

/* Section Dividers */
.bio-section:not(:first-child) {
    padding-top: 28px;
    border-top: 1px solid var(--bio-border-subtle);
}

/* Links Grid & Items */
.bio-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bio-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: var(--bio-surface-card);
    border: 1px solid var(--bio-border-subtle);
    border-radius: var(--bio-radius-lg);
    box-shadow: var(--bio-shadow-card);
    text-decoration: none;
    color: var(--bio-text-primary);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s ease,
                background-color 0.2s ease,
                box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.bio-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.bio-link:hover {
    transform: translateY(-2px);
    background: var(--bio-surface-card-hover);
    border-color: var(--bio-border-hover);
    box-shadow: var(--bio-shadow-card-hover);
}

.bio-link:hover::before {
    background: var(--bio-cyan);
}

.bio-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--bio-radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bio-border-subtle);
    color: var(--bio-purple);
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.bio-link:hover .bio-symbol {
    color: var(--bio-cyan);
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.08);
}

.bio-link-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bio-link strong {
    font-family: var(--bio-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bio-text-primary);
    transition: color 0.15s ease;
}

.bio-link:hover strong {
    color: #ffffff;
}

.bio-link small {
    font-family: var(--bio-font-body);
    font-size: 0.8rem;
    color: var(--bio-text-secondary);
    line-height: 1.45;
}

.bio-arrow {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--bio-text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.bio-link:hover .bio-arrow {
    transform: translateX(3px);
    color: var(--bio-cyan);
}

/* Featured / Primary Offer Highlight */
.bio-primary {
    background: linear-gradient(135deg, rgba(28, 48, 80, 0.85) 0%, rgba(35, 30, 68, 0.85) 100%);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 6px 24px rgba(56, 189, 248, 0.12);
}

.bio-primary::before {
    background: linear-gradient(180deg, var(--bio-cyan), var(--bio-purple));
}

.bio-primary .bio-symbol {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--bio-cyan);
}

.bio-primary:hover {
    background: linear-gradient(135deg, rgba(35, 58, 96, 0.95) 0%, rgba(45, 38, 84, 0.95) 100%);
    border-color: var(--bio-cyan);
    box-shadow: 0 10px 32px rgba(56, 189, 248, 0.22);
}

/* Partner Disclaimers & Secondary Links */
.bio-disclosure {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--bio-text-muted);
    margin-top: 14px;
    margin-bottom: 8px;
}

.bio-review-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bio-cyan);
    margin-top: 4px;
    transition: color 0.15s ease, gap 0.15s ease;
}

.bio-review-link:hover {
    color: #ffffff;
    gap: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Social Badges Section */
.bio-social-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.bio-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bio-surface-pill);
    border: 1px solid var(--bio-border-subtle);
    border-radius: var(--bio-radius-pill);
    font-family: var(--bio-font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bio-text-primary);
    transition: all 0.2s ease;
}

.bio-social-icon {
    color: var(--bio-purple);
    font-size: 1rem;
    transition: color 0.15s ease;
}

.bio-social-arrow {
    color: var(--bio-text-muted);
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.bio-social-pill:hover {
    background: var(--bio-surface-pill-hover);
    border-color: var(--bio-cyan);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--bio-cyan-glow);
}

.bio-social-pill:hover .bio-social-icon {
    color: var(--bio-cyan);
}

.bio-social-pill:hover .bio-social-arrow {
    color: var(--bio-cyan);
    transform: translate(2px, -2px);
}

/* Footer Section */
.bio-footer {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.78rem;
    color: var(--bio-text-muted);
}

.bio-footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bio-footer-nav a {
    color: var(--bio-text-secondary);
    transition: color 0.15s ease;
}

.bio-footer-nav a:hover {
    color: var(--bio-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
    .bio-scene {
        grid-template-columns: 1fr;
        border-radius: 20px;
        width: calc(100% - 32px);
        margin-top: 0;
    }

    .bio-portrait {
        min-height: 380px;
        height: 380px;
        padding: 32px 28px;
    }

    .bio-portrait > img {
        object-position: center 28%;
    }

    .bio-portrait-overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 10, 20, 0.05) 0%,
            rgba(7, 10, 20, 0.4) 40%,
            rgba(7, 10, 20, 0.95) 85%,
            #0d1322 100%
        );
    }

    .bio-portrait h1 {
        font-size: 2rem;
    }

    .bio-panel {
        padding: 32px 24px;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .bio-top {
        padding: 20px 16px 14px;
    }

    .bio-wordmark {
        font-size: 1.1rem;
    }

    .bio-edition {
        font-size: 0.62rem;
        padding: 4px 10px;
    }

    .bio-scene {
        width: calc(100% - 20px);
        border-radius: 16px;
    }

    .bio-portrait {
        height: 320px;
        padding: 24px 20px;
    }

    .bio-portrait h1 {
        font-size: 1.75rem;
    }

    .bio-portrait-copy p {
        font-size: 0.88rem;
    }

    .bio-panel {
        padding: 24px 18px;
        gap: 24px;
    }

    .bio-section-head h2 {
        font-size: 1.2rem;
    }

    .bio-link {
        padding: 14px 16px;
        gap: 12px;
    }

    .bio-link strong {
        font-size: 0.9rem;
    }

    .bio-link small {
        font-size: 0.76rem;
    }

    .bio-social-pill {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    .bio-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding: 0 16px 32px;
    }

    .bio-footer-nav {
        justify-content: center;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .bio-link, .bio-social-pill, .bio-arrow, .bio-symbol {
        transition: none !important;
        transform: none !important;
    }
}
