/* ============================================
   BASE & RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:           #0a0a0a;
    --bg-alt:       #0e0e0e;
    --border:       #1a1a1a;
    --border-mid:   #2c2c2c;
    --text:         #f5f5f5;
    --text-muted:   #666666;
    --text-faint:   #333333;
    --accent:       #ff5c9b;
    --accent-hover: #ff3d8a;
    --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   INSTRUMENT ANIMATIONS
   ============================================ */
@keyframes flyAcross {
    0%   { transform: translateX(-25vw) translateY(0)           rotate(var(--rot-a)); opacity: 0; }
    10%  { opacity: 1; }
    50%  { transform: translateX(50vw)  translateY(var(--arc))  rotate(var(--rot-b)); }
    90%  { opacity: 1; }
    100% { transform: translateX(125vw) translateY(0)           rotate(var(--rot-c)); opacity: 0; }
}

.fly {
    position: fixed;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    line-height: 1;
    top: var(--top);
    font-size: var(--size);
    filter: brightness(0) invert(1);
    animation: flyAcross var(--dur) cubic-bezier(0.3, 0.5, 0.4, 0.95) var(--delay) forwards;
    --arc: 0px; --rot-a: 0deg; --rot-b: 5deg; --rot-c: 10deg;
}

.fly--guitar  { --size: 11vw; --top: 32vh; --dur: 9.7s; --delay: 0.2s; --arc: -50px; --rot-a: -12deg; --rot-b:  4deg; --rot-c:  18deg; }
.fly--drums   { --size: 13vw; --top: 52vh; --dur: 9.9s; --delay: 0.8s; --arc:  25px; --rot-a:  10deg; --rot-b: -4deg; --rot-c: -16deg; }
.fly--trumpet { --size: 10vw; --top: 16vh; --dur: 9.5s; --delay: 1.4s; --arc: -70px; --rot-a:  -6deg; --rot-b:  2deg; --rot-c:  14deg; }
.fly--mic     { --size: 10vw; --top: 65vh; --dur: 9.7s; --delay: 1.9s; --arc:  35px; --rot-a:  18deg; --rot-b:  4deg; --rot-c: -12deg; }
.fly--bass    { --size: 12vw; --top: 42vh; --dur: 9.6s; --delay: 2.5s; --arc: -30px; --rot-a: -10deg; --rot-b:  6deg; --rot-c:  20deg; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   SHARED
   ============================================ */
.section-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

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

.btn--secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}
.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 18px 40px;
    background: rgba(8, 8, 8, 0.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav__logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--text);
}

.nav__links {
    list-style: none;
    display: flex;
    gap: 32px;
    justify-content: center;
}

.nav__links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.15s;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.nav__links a:hover { color: #fff; }

.nav__end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn--nav-book {
    display: inline-block;
    padding: 9px 18px;
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s;
}
.btn--nav-book:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 82px;
    background-image: url('photos/PHOTO-2025-12-19-18-55-24 4.jpg');
    background-size: cover;
    background-position: center 15%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.82);
    pointer-events: none;
    z-index: 0;
}

.hero__top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 2px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.hero__top-logo {
    height: 48px;
    width: auto;
}

.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px 20px;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.hero__title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.title-word {
    display: block;
    line-height: 0.88;
}

.title-word--home { font-size: clamp(4rem,   20vh, 16rem); }
.title-word--run  { font-size: clamp(5rem,   26vh, 20rem); }
.title-word--jack { font-size: clamp(4.4rem, 22vh, 17.6rem); }

.hero__tagline {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    font-variant-caps: small-caps;
    letter-spacing: 0.06em;
}

.hero__actions {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    position: relative;
    background-image: url('photos/PHOTO-2025-12-19-18-55-24 3.jpg');
    background-size: cover;
    background-position: center top;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.91);
    z-index: 0;
}

.about .container { position: relative; z-index: 1; }

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 72px;
}

.about__body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-top: 48px;
    border-top: 1px solid var(--border);
    gap: 40px;
    max-width: 400px;
}

.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    line-height: 1;
    color: var(--text);
}

.stat__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   GIGS
   ============================================ */
.gigs {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    position: relative;
    background-image: url('photos/PHOTO-2025-12-19-18-55-27.jpg');
    background-size: cover;
    background-position: center;
}

.gigs::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    z-index: 0;
}

.gigs .container { position: relative; z-index: 1; }

.gigs__list {
    border-top: 1px solid var(--border);
}

.gig-row {
    display: grid;
    grid-template-columns: 80px 1fr 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s;
}

.gig-row:hover {
    background: rgba(255, 255, 255, 0.015);
}

.gig-row__date {
    text-align: center;
}

.gig-row__day {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--accent);
}

.gig-row__month {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 5px;
}

.gig-row__venue {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.gig-row__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gig-row__location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.gig-row__charity {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
}

.gig-row__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.15s;
    white-space: nowrap;
}
.gig-row__link:hover { color: var(--accent); }

.charity-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 3px;
    transition: color 0.15s;
}
.charity-link:hover { color: var(--accent); }

.gig-row__confirmed {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

.gig-row__access {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 2px;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
}

.gig-row__access--private {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
}

.gig-row__access--public {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
}

.gig-row__access--free {
    color: #7ecf7e;
    border-color: rgba(126, 207, 126, 0.28);
}

.gig-row__access--ticketed {
    color: var(--accent);
    border-color: rgba(255, 92, 155, 0.35);
    transition: background-color 0.15s, color 0.15s;
}

.gig-row__access--ticketed:hover {
    background: rgba(255, 92, 155, 0.1);
    color: var(--accent-hover);
}

.gig-row--tbc .gig-row__day {
    color: var(--text-faint);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* ============================================
   SUPPORT
   ============================================ */
.support {
    padding: 100px 0 120px;
    border-top: 1px solid var(--border);
    position: relative;
    background-image: url('photos/PHOTO-2025-12-19-18-55-28 2.jpg');
    background-size: cover;
    background-position: center;
}

.support::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.89);
    z-index: 0;
}

.support .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.support__title { margin-left: auto; margin-right: auto; }
.support__body  { margin-left: auto; margin-right: auto; }

.support__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.93;
    color: var(--text);
    margin-bottom: 36px;
    max-width: 720px;
}

.support__body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 48px;
}

.support__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}

.support__disclaimer {
    font-size: 0.68rem;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.footer__copy {
    font-size: 0.68rem;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    text-decoration: none;
    transition: color 0.15s;
}
.footer__links a:hover { color: var(--text-muted); }

.footer__instagram {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: none !important;
    transition: color 0.15s;
}
.footer__instagram:hover { color: var(--accent) !important; }


/* ============================================
   BOOKING POPUP
   ============================================ */
.booking-popup {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9000;
    width: 260px;
    background: rgba(10, 10, 10, 0.97);
    border-left: 3px solid var(--accent);
    padding: 20px 20px 20px 22px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.booking-popup--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.booking-popup__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.15s;
}
.booking-popup__close:hover { color: rgba(255, 255, 255, 0.8); }

.booking-popup__eyebrow {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.booking-popup__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 16px;
}

.booking-popup__btn {
    display: inline-block;
    padding: 9px 18px;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.15s;
}
.booking-popup__btn:hover { background: var(--accent-hover); }

/* ============================================
   RESPONSIVE — tablet
   ============================================ */
@media (max-width: 960px) {
    .nav {
        grid-template-columns: 1fr auto;
        padding: 16px 24px;
    }

    .nav__links { display: none; }

    .container { padding: 0 24px; }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gig-row {
        grid-template-columns: 72px 1fr auto;
        grid-template-rows: auto auto auto;
        gap: 6px 24px;
    }

    .gig-row__date { grid-row: 1 / 4; }
    .gig-row__meta { grid-column: 2; }
    .gig-row__access { grid-column: 2; }
    .gig-row__link { grid-row: 1 / 4; }
}

/* ============================================
   RESPONSIVE — mobile hero (up to 768px)
   ============================================ */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        height: 100dvh;
        background-position: 30% center;
        background-size: cover;
        margin-bottom: 0;
    }

    .hero::before {
        background: rgba(8, 8, 8, 0.40);
    }

    .hero__top {
        display: none;
    }
}

/* ============================================
   RESPONSIVE — mobile
   ============================================ */
@media (max-width: 600px) {
    /* ── Nav ── */
    .nav__logo-text { display: none; }
    .btn--nav-book  { font-size: 0.58rem; padding: 8px 14px; }

    /* ── Hero ── */
    .hero__content {
        padding: 0 0 36px;
        justify-content: flex-end;
    }

    /* Scale each word to fill the full viewport width */
    .title-word--home { font-size: clamp(3rem, 36vw, 10rem); }
    .title-word--run  { font-size: clamp(4rem, 47vw, 13rem); }
    .title-word--jack { font-size: clamp(3.5rem, 42vw, 11.5rem); }

    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero__actions .btn {
        padding: 10px 18px;
        font-size: 0.65rem;
    }

    /* ── Booking popup ── */
    .booking-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }

    /* ── Sections breathing room ── */
    .about  { padding: 88px 0; }
    .gigs   { padding: 88px 0; }
    .support { padding: 88px 0 100px; }

    .about__stats {
        grid-template-columns: 1fr 1fr;
    }

    /* ── Gig rows ── */
    .gig-row {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto auto;
        gap: 5px 14px;
        padding: 20px 0;
    }

    .gig-row__date   { grid-row: 1 / 4; }
    .gig-row__venue  { grid-column: 2; }
    .gig-row__meta   { grid-column: 2; }
    .gig-row__access { grid-column: 2; padding-top: 4px; }
    .gig-row__confirmed { display: none; }
    .gig-row__link   { grid-column: 2; padding-top: 4px; }

    /* ── Support ── */
    .support__actions {
        flex-direction: column;
        align-items: center;
    }

    .support__actions .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    /* ── Footer ── */
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
