:root {
    --profile-ink: #f8fafc;
    --profile-muted: #aeb8cc;
    --profile-panel: rgba(15, 23, 42, 0.78);
    --profile-border: rgba(148, 163, 184, 0.2);
    --profile-indigo: #818cf8;
    --profile-pink: #f472b6;
}

.profile-page {
    min-height: 100vh;
    color: var(--profile-ink);
    background: #070b1b;
}

.profile-breadcrumb {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.profile-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--profile-muted);
    font-size: 0.88rem;
    list-style: none;
}

.profile-breadcrumb a { color: #c7d2fe; text-decoration: none; }
.profile-breadcrumb a:hover { color: #fff; }

.profile-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 3.5rem 0 clamp(5rem, 9vw, 8rem);
    background: linear-gradient(145deg, #070b1b, #181540 62%, #311532);
}

.profile-hero-glow {
    position: absolute;
    z-index: -1;
    top: -12rem;
    right: -8rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    opacity: 0.24;
    background: var(--profile-pink);
    filter: blur(100px);
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: center;
}

.profile-hero h1 {
    max-width: 820px;
    margin: 0.8rem 0 0;
    color: var(--profile-ink);
    font: 700 clamp(3rem, 7vw, 6.2rem)/0.96 "Playfair Display", serif;
    letter-spacing: -0.045em;
}

.profile-lead {
    max-width: 680px;
    margin-top: 1.5rem;
    color: var(--profile-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.75;
}

.profile-meta,
.profile-actions,
.profile-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-meta { margin-top: 1.6rem; }
.profile-actions { margin-top: 2rem; }

.profile-chip {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.52rem 0.78rem;
    color: #e0e7ff;
    border: 1px solid rgba(129, 140, 248, 0.3);
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
}

.profile-visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(145deg, rgba(129, 140, 248, 0.25), rgba(244, 114, 182, 0.16));
    box-shadow: 0 35px 90px rgba(2, 6, 23, 0.52);
}

.profile-visual img { width: 100%; height: 100%; object-fit: cover; }
.profile-visual > span { font: 700 clamp(7rem, 18vw, 13rem)/1 "Playfair Display", serif; color: rgba(255, 255, 255, 0.82); }

.profile-section { padding: clamp(4.5rem, 8vw, 7rem) 0; background: #070b1b; }
.profile-section.is-alt { background: #0b1024; }

.profile-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.profile-prose {
    color: #d5dbea;
    font-size: 1.04rem;
    line-height: 1.9;
}

.profile-prose p { margin: 0 0 1.2rem; }

.profile-side-card,
.profile-collaboration-card,
.profile-track-card,
.profile-gallery-card {
    border: 1px solid var(--profile-border);
    border-radius: 1.25rem;
    background: var(--profile-panel);
    box-shadow: 0 22px 55px rgba(2, 6, 23, 0.2);
}

.profile-side-card { padding: 1.5rem; }
.profile-side-card h2 { margin: 0 0 1rem; font-size: 1.1rem; }
.profile-side-card img { display: block; width: 100%; max-height: 280px; object-fit: contain; }
.profile-link-grid { display: grid; }

.profile-official-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 3rem;
    padding: 0.72rem 0.85rem;
    color: #e0e7ff;
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-radius: 0.8rem;
    background: rgba(99, 102, 241, 0.1);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.profile-official-link:hover { color: #fff; border-color: rgba(244, 114, 182, 0.55); transform: translateY(-2px); }

.profile-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.2rem;
}

.profile-track-card,
.profile-collaboration-card { padding: 1.35rem; }
.profile-track-card span,
.profile-collaboration-card span { color: #a5b4fc; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.profile-track-card h3,
.profile-collaboration-card h3 { margin: 0.55rem 0 0; color: var(--profile-ink); font-size: 1.05rem; }
.profile-track-card p,
.profile-collaboration-card p { margin: 0.55rem 0 0; color: var(--profile-muted); font-size: 0.9rem; line-height: 1.6; }

.profile-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.35fr);
    gap: 1.25rem;
    margin-top: 2.2rem;
}

.profile-gallery-card { overflow: hidden; margin: 0; }
.profile-gallery-card img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

[data-profile-reveal] { opacity: 0; transform: translateY(18px); animation: profile-reveal 0.65s ease forwards; }
[data-profile-reveal]:nth-child(2) { animation-delay: 0.1s; }

@keyframes profile-reveal { to { opacity: 1; transform: none; } }

.profile-page :where(a, button):focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .profile-hero-grid,
    .profile-section-grid { grid-template-columns: 1fr; }
    .profile-visual { max-width: 560px; }
    .profile-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .profile-breadcrumb { padding-top: 1.25rem; }
    .profile-hero { padding-top: 2.5rem; }
    .profile-card-grid,
    .profile-gallery { grid-template-columns: 1fr; }
    .profile-actions .home-button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    [data-profile-reveal] { opacity: 1; transform: none; animation: none; }
    .profile-official-link { transition: none; }
}
