:root {
    --bg-dark: #0a0a0e;
    --bg-dark-2: #0e0e14;
    --bg-glass: rgba(20, 20, 30, 0.6);
    --bg-glass-strong: rgba(20, 20, 30, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-muted: rgba(255, 255, 255, 0.12);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --text-dim: #6b6b7a;
    --accent: #8b5cf6;
    --accent-2: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --secondary-accent: #d6a657;
    --eclipse-gold: #d6a657;
    --eclipse-copper: #b56a3c;

    --brand-spotify: #1db954;
    --brand-apple: #fa57c1;
    --brand-youtube: #ff0033;
    --brand-instagram: #e1306c;
    --brand-deezer: #a238ff;
    --brand-soundcloud: #ff7700;

    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container-max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .logo { font-family: 'Outfit', sans-serif; }

img { max-width: 100%; display: block; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    z-index: 2000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Glass utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 5%;
    border-bottom-color: var(--border-subtle);
}

.logo-link { display: flex; align-items: center; }

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 52px;
}
.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 15px var(--accent-glow));
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
    padding: 0.55rem 1.4rem;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--accent), var(--secondary-accent));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    margin: 5px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: -5% 0 0 0;
    background-image: url('assets/photos/edit04-hero.jpg');
    background-size: cover;
    background-position: center top;
    z-index: -3;
    will-change: transform;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(214, 166, 87, 0.2) 0%, transparent 55%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(10,10,14,0.35) 70%, var(--bg-dark) 100%),
        linear-gradient(to bottom, rgba(10,10,14,0.15) 0%, rgba(10,10,14,0.55) 70%, var(--bg-dark) 100%);
    z-index: -2;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 1.25rem;
}
.hero-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 48%;
    width: clamp(220px, 42vw, 430px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at center, rgba(10, 10, 14, 0.9) 0 46%, transparent 47%),
        conic-gradient(from 210deg, transparent 0 22%, rgba(214, 166, 87, 0.9) 30%, rgba(139, 92, 246, 0.55) 46%, transparent 62% 100%);
    filter: blur(0.2px) drop-shadow(0 0 45px rgba(214, 166, 87, 0.2));
    opacity: 0.55;
    z-index: -1;
}

.hero-eyebrow {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-2);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.1s forwards;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: clamp(2px, 1.2vw, 12px);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
    opacity: 0;
    animation: fadeInDown 1s ease-out 0.2s forwards;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 100%;
    width: clamp(200px, 40vw, 280px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}
.hero-kicker {
    max-width: 620px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.95rem, 1.7vw, 1.15rem);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    font-family: inherit;
}

.cta-primary {
    background: linear-gradient(45deg, var(--accent), var(--secondary-accent));
}
.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.cta-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-muted);
    backdrop-filter: blur(8px);
}
.cta-ghost:hover {
    transform: translateY(-3px);
    border-color: var(--brand-spotify);
    background: rgba(29, 185, 84, 0.08);
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.4rem;
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.scroll-hint:hover { opacity: 1; color: var(--accent); }

/* Sections */
.section {
    padding: clamp(4rem, 10vw, 7rem) 5%;
    max-width: var(--container-max);
    margin: 0 auto;
    scroll-margin-top: 96px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary-accent));
    margin: 1rem auto 0;
    border-radius: 2px;
}


/* Phase */
.phase-section { padding-top: clamp(3rem, 7vw, 5rem); }
.phase-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
    isolation: isolate;
}
.phase-panel::after {
    content: '';
    position: absolute;
    inset: auto -10% -40% 35%;
    height: 220px;
    background: radial-gradient(ellipse, rgba(214, 166, 87, 0.17), transparent 68%);
    z-index: -2;
}
.eclipse-ring {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    top: 50%;
    width: clamp(150px, 20vw, 260px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transform: translateY(-50%);
    background:
        radial-gradient(circle at center, rgba(10, 10, 14, 0.97) 0 48%, transparent 49%),
        conic-gradient(from 120deg, rgba(214, 166, 87, 0.85), rgba(139, 92, 246, 0.35), transparent 58%, rgba(214, 166, 87, 0.85));
    opacity: 0.45;
    filter: drop-shadow(0 0 35px rgba(214, 166, 87, 0.18));
    z-index: -1;
}
.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--eclipse-gold);
    margin-bottom: 0.7rem;
}
.phase-copy h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.8rem;
}
.phase-copy p {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.phase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    min-width: min(100%, 270px);
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Music player */
.player-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.player-main {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
}

.player-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.track-cover {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.player-card.is-playing .track-cover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.25), 0 0 40px rgba(139, 92, 246, 0.15);
}

.cover-placeholder {
    width: 100%; height: 100%;
    background-image: url('assets/Album covers/intelligence-artificielle.jpg');
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.player-card.is-playing .cover-placeholder { transform: scale(1.03); }

.track-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-2);
    margin-bottom: 0.15rem;
}

.track-name {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.15rem;
}

.artist-name {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spotify-embed-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}
.spotify-embed-wrap iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--radius-md);
}

.player-card[data-mode="spotify"] .player-controls,
.player-card[data-mode="spotify"] .progress-wrap {
    display: none;
}
.player-card[data-mode="mp3"] .spotify-embed-wrap {
    display: none;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.control-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.3s ease;
    font-size: 1rem;
}
.control-btn--primary {
    width: 50px; height: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.control-btn--secondary {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}
.control-btn:hover { transform: scale(1.08); }
.control-btn--primary:hover { background: var(--accent-2); }
.control-btn--secondary:hover { background: rgba(255, 255, 255, 0.15); }

.progress-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.progress-bar-container {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    cursor: pointer;
    transition: height 0.2s ease;
}
.progress-bar-container:hover { height: 8px; }

.progress-bar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--secondary-accent));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.progress-bar-container:hover .progress-thumb { transform: translate(-50%, -50%) scale(1); }

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Track groups */
.track-groups {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

.track-group-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-2);
}

.track-group-count {
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Track list */
.track-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.track-feat {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85em;
    margin-left: 0.4rem;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background 0.25s ease, transform 0.25s ease;
}
.track-item:hover { background: rgba(255, 255, 255, 0.05); transform: translateX(4px); }
.track-item.active { background: rgba(139, 92, 246, 0.12); }

.track-indicator {
    width: 36px;
    margin-right: 1rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.track-item.active .track-indicator .track-number { display: none; }
.track-item:not(.active) .track-indicator .eq { display: none; }
.track-item.active .track-indicator .eq { display: inline-flex; }

.eq {
    gap: 2px;
    align-items: flex-end;
    height: 14px;
}
.eq span {
    display: block;
    width: 3px;
    background: var(--accent);
    border-radius: 1px;
}
.player-card.is-playing .track-item.active .eq span {
    animation: eq 0.9s ease-in-out infinite;
}
.player-card:not(.is-playing) .track-item.active .eq span {
    height: 30%;
}
.eq span:nth-child(1) { animation-delay: 0s; }
.eq span:nth-child(2) { animation-delay: 0.3s; }
.eq span:nth-child(3) { animation-delay: 0.15s; }

.track-title-list {
    flex-grow: 1;
    font-weight: 500;
}
.track-item.active .track-title-list { color: var(--accent-2); }

.track-duration {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

/* Streaming pills */
.streaming-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.streaming-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.streaming-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.stream-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--border-muted);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.stream-pill:hover { transform: translateY(-2px); }
.stream-pill[data-platform="spotify"]:hover { border-color: var(--brand-spotify); color: var(--brand-spotify); background: rgba(29, 185, 84, 0.08); }
.stream-pill[data-platform="apple"]:hover { border-color: var(--brand-apple); color: #fff; background: rgba(250, 87, 193, 0.1); }
.stream-pill[data-platform="youtube"]:hover { border-color: var(--brand-youtube); color: var(--brand-youtube); background: rgba(255, 0, 51, 0.08); }
.stream-pill[data-platform="deezer"]:hover { border-color: var(--brand-deezer); color: var(--brand-deezer); background: rgba(162, 56, 255, 0.08); }
.stream-pill[data-platform="soundcloud"]:hover { border-color: var(--brand-soundcloud); color: var(--brand-soundcloud); background: rgba(255, 119, 0, 0.08); }
.is-unavailable { opacity: 0.48; cursor: not-allowed; filter: grayscale(0.3); }
a.is-unavailable:hover { transform: none; color: var(--text-muted); border-color: var(--border-muted); background: transparent; }

/* Discography */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.album-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.3s ease;
}
.album-card:hover { transform: translateY(-4px); }

.album-cover {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b55 50%, #16213e 100%);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.4s ease, border-color 0.3s ease;
}
.album-card:hover .album-cover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.25);
}
.album-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.album-card:hover .album-cover img { transform: scale(1.04); }

.album-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.album-year {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: -0.35rem;
}
.album-meta {
    color: var(--text-dim);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
    margin-top: -0.45rem;
}
.album-card--upcoming .album-cover {
    border-color: rgba(214, 166, 87, 0.35);
    box-shadow: 0 16px 54px rgba(0, 0, 0, 0.5), 0 0 35px rgba(214, 166, 87, 0.13);
}
.album-status {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(10, 10, 14, 0.76);
    border: 1px solid rgba(214, 166, 87, 0.42);
    color: var(--eclipse-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}


/* References */
.reperes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.repere-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background:
        radial-gradient(circle at 15% 15%, rgba(214, 166, 87, 0.14), transparent 34%),
        rgba(255, 255, 255, 0.025);
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.repere-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 166, 87, 0.35);
    background:
        radial-gradient(circle at 15% 15%, rgba(214, 166, 87, 0.18), transparent 38%),
        rgba(255, 255, 255, 0.045);
}
.repere-label {
    color: var(--eclipse-gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}
.repere-card h3 { font-size: 1.2rem; }
.repere-card p { color: var(--text-muted); font-size: 0.92rem; }

/* Video gallery */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.video-card:hover { transform: translateY(-4px); }

.video-thumb {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b55 50%, #16213e 100%);
    border: 1px solid var(--border-subtle);
}
.video-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}
.video-thumb img,
.video-thumb iframe {
    width: 100%; height: 100%;
    object-fit: cover;
    border: 0;
}

.video-badge {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.video-card:hover .video-badge {
    transform: scale(1.1);
    background: var(--accent);
    border-color: var(--accent);
}

.video-placeholder-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.video-title {
    font-size: 1.05rem;
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
}

.about-portrait {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
}
.portrait-frame {
    width: 100%; height: 100%;
    background-image: url('assets/photos/edit04-portrait.jpg');
    background-size: cover;
    background-position: center top;
    transform: scale(1.03);
    transition: transform 0.6s ease;
}
.about-portrait:hover .portrait-frame { transform: scale(1.08); }

.about-content {
    text-align: left;
    max-width: 760px;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.bio-lede {
    color: var(--text-main);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}
.bio-story {
    display: grid;
    gap: 1rem;
}
.bio-story p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}
.bio-story em {
    color: var(--text-main);
    font-style: normal;
    font-weight: 600;
}

.pull-quote {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--accent-2);
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    margin: 1.75rem 0;
    line-height: 1.5;
}
.bio-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.bio-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(214, 166, 87, 0.25);
    background: rgba(214, 166, 87, 0.07);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--border-muted);
    border-radius: 30px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.social-link:hover { transform: translateY(-2px); }
.social-link[data-platform="spotify"]:hover { border-color: var(--brand-spotify); color: var(--brand-spotify); background: rgba(29, 185, 84, 0.08); }
.social-link[data-platform="apple"]:hover { border-color: var(--brand-apple); background: rgba(250, 87, 193, 0.1); }
.social-link[data-platform="facebook"]:hover { border-color: #1877f2; color: #8ab4ff; background: rgba(24, 119, 242, 0.08); }
.social-link[data-platform="instagram"]:hover { border-color: var(--brand-instagram); color: var(--brand-instagram); background: rgba(225, 48, 108, 0.08); }
.social-link[data-platform="youtube"]:hover { border-color: var(--brand-youtube); color: var(--brand-youtube); background: rgba(255, 0, 51, 0.08); }

/* Newsletter */
.newsletter-panel {
    position: relative;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.newsletter-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        var(--accent) 25%,
        transparent 50%,
        var(--secondary-accent) 75%,
        transparent 100%
    );
    opacity: 0.3;
    animation: spin 8s linear infinite;
    z-index: -1;
    filter: blur(40px);
}

.newsletter-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}
.newsletter-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.6rem;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.newsletter-form input[type="email"] {
    flex: 1 1 240px;
    padding: 0.9rem 1.25rem;
    border-radius: 30px;
    border: 1px solid var(--border-muted);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.25s ease, background 0.25s ease;
    min-width: 0;
}
.newsletter-form input[type="email"]::placeholder { color: var(--text-dim); }
.newsletter-form input[type="email"]:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.55);
    outline: none;
}
.newsletter-form input[type="email"].error { border-color: #ef4444; }

.form-feedback {
    flex-basis: 100%;
    min-height: 1.2rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.form-feedback.success { color: var(--brand-spotify); }
.form-feedback.error { color: #ef4444; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-form-wrap {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 0.3rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    border: 1px solid var(--border-subtle);
    width: fit-content;
}

.contact-tab {
    background: none;
    border: 0;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    font-family: inherit;
}
.contact-tab:hover { color: var(--text-main); }
.contact-tab.active {
    background: linear-gradient(45deg, var(--accent), var(--secondary-accent));
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.form-row input,
.form-row textarea {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-muted);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s ease, background 0.25s ease;
    resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.55);
    outline: none;
}
.form-row input.error,
.form-row textarea.error { border-color: #ef4444; }

.contact-form .cta-button { align-self: flex-start; }

.contact-direct {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.contact-direct h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.contact-list a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}
.contact-list a:hover { color: var(--accent); }

.press-kit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--accent-2);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.25s ease;
    width: 100%;
}
.press-kit-link:hover { color: var(--accent); }

/* Footer */
.site-footer {
    padding: 3rem 5% 1.5rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    background: var(--bg-dark-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    max-width: var(--container-max);
    margin: 0 auto 2rem;
}

.footer-logo { height: 38px; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-socials {
    display: flex;
    gap: 0.75rem;
}
.footer-socials a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.footer-socials a:hover { transform: translateY(-2px); color: var(--accent); border-color: var(--accent); }

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}
.footer-legal {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.footer-legal a,
.footer-legal span {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-legal a:hover { color: var(--accent); }

/* Legal pages */
.legal-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 clamp(1.25rem, 5vw, 4rem);
    background: rgba(10, 10, 14, 0.86);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.legal-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}
.legal-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.25s ease;
}
.legal-nav-links a:hover { color: var(--accent); }

.legal-main {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 4rem) 1.5rem 5rem;
    background:
        radial-gradient(circle at 16% 18%, rgba(29, 185, 84, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(10, 10, 14, 0.98), var(--bg-main));
}
.legal-panel {
    width: min(900px, 100%);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
}
.legal-kicker {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}
.legal-panel h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.legal-updated {
    color: var(--text-dim);
    margin-bottom: 2.25rem;
}
.legal-panel h2 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin: 2rem 0 0.65rem;
}
.legal-panel p {
    color: var(--text-muted);
    line-height: 1.8;
}
.legal-panel a {
    color: var(--accent);
    text-decoration: none;
}
.legal-panel a:hover { text-decoration: underline; }
.legal-contact-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}
.legal-contact-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-subtle);
}
.legal-contact-list span {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-8px); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes eq {
    0%, 100% { height: 30%; }
    50%      { height: 100%; }
}
@keyframes eclipsePulse {
    0%, 100% { opacity: 0.45; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.62; transform: translateY(-50%) scale(1.025); }
}
.phase-panel .eclipse-ring { animation: eclipsePulse 6s ease-in-out infinite; }

/* Responsive */
@media (max-width: 1120px) {
    .navbar { padding-inline: 3%; }
    .nav-wrap { gap: 1.1rem; }
    .nav-links { gap: 1.05rem; }
    .nav-links a { font-size: 0.9rem; }
    .nav-cta { padding-inline: 1.15rem; }
}

@media (max-width: 900px) {
    .phase-panel { grid-template-columns: 1fr; }
    .phase-actions { flex-direction: row; flex-wrap: wrap; }
    .reperes-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 720px; }
    .about-portrait { aspect-ratio: 4 / 3; max-width: 420px; margin: 0 auto; }
    .about-content { max-width: none; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; z-index: 1001; }
    .nav-wrap {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(80vw, 320px);
        background: rgba(10, 10, 14, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid var(--border-subtle);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 2rem 2rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }
    .nav-wrap.open { transform: translateX(0); }
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    .nav-links a { font-size: 1.2rem; }
    .nav-cta { align-self: flex-start; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-tagline { margin: 0 auto; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-nav { position: static; height: auto; flex-direction: column; padding: 1rem 1.25rem 1.25rem; }
    .legal-nav-links { flex-wrap: wrap; justify-content: center; }
    .legal-main { padding-top: 3rem; }

    .player-main { grid-template-columns: 1fr; }
    .track-cover { max-width: min(100%, 360px); margin: 0 auto; }
    .player-right { align-items: stretch; text-align: center; }
    .player-controls { flex-wrap: wrap; justify-content: center; }
    .progress-wrap { order: 3; flex-basis: 100%; }

    .streaming-row { flex-direction: column; align-items: center; }
    .track-group-title { justify-content: center; text-align: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .hero-ctas, .phase-actions { flex-direction: column; align-items: stretch; }
    .cta-button { justify-content: center; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { flex-basis: auto; }
    .legal-contact-list li { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-eyebrow, .hero-title, .hero-subtitle, .hero-kicker, .hero-ctas { opacity: 1; }
    .phase-panel .eclipse-ring { animation: none; }
}
