/* ==========================================
   A.Y.A (Above Your Average) - Official Site
   ========================================== */

:root {
    --bg: #0e0e10;
    --bg-raised: #17171a;
    --ink: #f3f1ee;
    --ink-muted: #a6a3a0;
    --red: #e23a32;
    --red-deep: #b3241e;
    --line: rgba(255, 255, 255, 0.1);
    --radius: 10px;
    --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: 'Syne', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
}

p { margin: 0 0 1rem; }

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.nav-logo {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.brand-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 2.5vw, 2rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links .btn-nav {
    color: var(--ink);
    background: var(--red);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.nav-links .btn-nav:hover { background: var(--red-deep); }

/* ---------- Buttons ---------- */
.btn-primary,
.btn-secondary,
.platform-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}
.btn-primary:hover { background: var(--red-deep); }

.btn-secondary,
.platform-btn {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--ink);
}
.btn-secondary:hover,
.platform-btn:hover {
    border-color: var(--ink);
    background: rgba(255, 255, 255, 0.06);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    max-width: var(--max);
    min-height: calc(100svh - 64px);
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}

.eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(4.5rem, 16vw, 9rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: var(--ink-muted);
    max-width: 30ch;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.portrait-frame {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-raised);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.portrait-frame img {
    width: 100%;
    object-fit: cover;
}

/* ---------- Shared section layout ---------- */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}

.section-header {
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.section-header p {
    color: var(--ink-muted);
    max-width: 52ch;
    margin: 0;
}

/* ---------- Releases ---------- */
.release-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.release-card {
    background: var(--bg-raised);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.release-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.cover-wrapper { position: relative; }

.cover-wrapper a { display: block; position: relative; }

.cover-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.cover-wrapper a:hover .cover-overlay,
.cover-wrapper a:focus-visible .cover-overlay { opacity: 1; }

.release-info { padding: 1.25rem 1.25rem 1.5rem; }

.release-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.release-info p {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Bio ---------- */
.band-about { border-top: 1px solid var(--line); }

.bio-container {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.bio-label span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
}

.accent-line {
    width: 48px;
    height: 3px;
    background: var(--red);
    margin-top: 0.9rem;
}

.bio-text h2 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    max-width: 18ch;
}

.bio-text p {
    color: #d3d0cc;
    font-size: 1.05rem;
    max-width: 62ch;
}

.bio-text strong { color: var(--ink); }

.bio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.meta-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--ink-muted);
    margin-bottom: 0.25rem;
}

.meta-value { font-weight: 600; }

/* ---------- Press ---------- */
.band-press { border-top: 1px solid var(--line); }

.instagram-embed-wrapper { padding: 0 0.25rem; }

/* ---------- Connect ---------- */
.connect-section { padding-top: 0; }

.connect-box {
    text-align: center;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.connect-emblem {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.connect-box h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.connect-box > p {
    color: var(--ink-muted);
    max-width: 52ch;
    margin: 0 auto 2rem;
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 2rem clamp(1rem, 4vw, 2.5rem);
}

.footer-content {
    max-width: var(--max);
    margin: 0 auto;
}

.label-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin: 0 0 0.25rem;
}

.copyright {
    color: var(--ink-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Atmospheric glow behind hero ---------- */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 960px) {
    .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-media { order: -1; max-width: 420px; }
    .bio-container { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { flex: 1 1 100%; text-align: center; }
    .release-grid { grid-template-columns: 1fr; }
    .platform-btn { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ==========================================
   v2 additions: motion, new release states,
   bookings, mobile menu
   ========================================== */

/* ---------- Scroll progress ---------- */
.progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 1100;
    pointer-events: none;
}

main { overflow-x: clip; }

/* ---------- Intro + reveal (individual transform props so JS can own `transform`) ---------- */
@keyframes introUp {
    from { opacity: 0; translate: 0 48px; }
    to   { opacity: 1; translate: 0 0; }
}
.intro { animation: introUp 1s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: var(--d, 0s); }

.js [data-reveal] {
    opacity: 0;
    translate: 0 44px;
    transition: opacity 0.9s ease, translate 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; translate: 0 0; }

.split .w { display: inline-block; }
.split .wi { display: inline-block; will-change: transform; }
.js .split .w {
    opacity: 0;
    translate: 0 55%;
    transition: opacity 0.8s ease, translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
}
.js .split.in .w { opacity: 1; translate: 0 0; }

/* ---------- Hero title / chip ---------- */
.hero-title { display: flex; will-change: transform; }
.hero-title .char { display: inline-block; will-change: transform, opacity; }
.hero-content, .hero-media { position: relative; z-index: 1; }
.hero-media { will-change: transform; }

.now-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(23, 23, 26, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.now-chip a { color: var(--ink); font-weight: 600; }
.pulse {
    width: 8px; height: 8px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 0 rgba(226, 58, 50, 0.7);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 10px rgba(226, 58, 50, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 58, 50, 0); }
}

/* ---------- Xavier Thxmas link ---------- */
.xt-link {
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--red);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.xt-link:hover { color: var(--red); border-color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
    user-select: none;
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 7vw, 5rem);
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(243, 241, 238, 0.55);
    padding: 0 1.5rem;
}
.marquee-group i {
    font-style: normal;
    color: var(--red);
    font-size: clamp(1.2rem, 3vw, 2rem);
}
.marquee-alt .marquee-group span { -webkit-text-stroke-color: rgba(226, 58, 50, 0.75); }

/* ---------- Bands (full-width wrappers with portrait backgrounds) ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; }
.band > .section { position: relative; z-index: 1; }

.bg-layer {
    position: absolute;
    top: -15%;
    height: 130%;
    width: min(46vw, 560px);
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}
.bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    opacity: 0.13;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.bg-right { right: 0; }
.bg-right img {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to left, #000 35%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to left, #000 35%, transparent);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
}
.bg-left { left: 0; }
.bg-left img {
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to right, #000 35%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent), linear-gradient(to right, #000 35%, transparent);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
}
.bg-tall img { object-position: 50% 15%; opacity: 0.2; }

/* ---------- Release cards ---------- */
.rc-wrap { will-change: transform; }
.release-card { height: 100%; }

.cover-static { position: relative; }
.cover-static img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.badge {
    position: absolute;
    top: 0.85rem; left: 0.85rem;
    z-index: 2;
    padding: 0.35rem 0.7rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-radius: 999px;
}
.badge-new  { background: var(--red); color: #fff; }
.badge-soon { background: rgba(14, 14, 16, 0.85); color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.25); }

.release-links { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.release-info p a.xt-link { font-weight: 600; }

/* ---------- Bookings ---------- */
.booking-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.booking-info .section-header { margin-bottom: 2rem; }

.contact-mail {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    word-break: break-all;
    border-bottom: 2px solid var(--red);
    transition: color 0.2s ease;
}
.contact-mail:hover { color: var(--red); }
.contact-note { color: var(--ink-muted); font-size: 0.95rem; max-width: 36ch; margin: 0; }

.booking-form {
    background: rgba(23, 23, 26, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3.5vw, 2.25rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; min-width: 0; }
.field label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.7; }
.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    color-scheme: dark;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, 0.07); }
.field select option { background: #17171a; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-submit { width: 100%; margin-top: 0.5rem; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }
.form-status { margin: 1rem 0 0; font-size: 0.95rem; min-height: 1.4em; color: var(--ink-muted); }
.form-status.ok { color: #7bd88f; }
.form-status.err { color: #ff8a84; }
.form-status a { text-decoration: underline; }

/* ---------- Mobile menu ---------- */
.nav-toggle { display: none; }

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px; height: 44px;
        margin-left: auto;
        padding: 0 10px;
        background: none;
        border: 0;
        cursor: pointer;
    }
    .nav-toggle span {
        display: block;
        height: 2px;
        background: var(--ink);
        transition: transform 0.25s ease;
    }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.25rem;
        background: rgba(10, 10, 12, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-links.open { display: flex; }
    .nav-links a { display: block; padding: 0.8rem 0; font-size: 1.05rem; }
    .nav-links .btn-nav { text-align: center; margin-top: 0.5rem; padding: 0.8rem 1rem; }

    .booking-grid { grid-template-columns: 1fr; }
    .bg-layer { width: 80vw; }
    .bg-layer img { opacity: 0.12; }
}

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 400px) {
    .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .intro { animation: none; }
    .pulse { animation: none; }
    .js [data-reveal], .js .split .w { opacity: 1; translate: 0 0; }
}
