/* ============================================================
   Youth Music in the Park — stylesheet (v1.1)
   Shared between the English (ymitp-index.html) and Welsh
   (ymitp-index-cym.html) versions of the site.
   ============================================================ */

/* ── BRAND TOKENS ───────────────────────────── */
:root {
    --blue: #21b5de;
    --red: #de2550;
    --yellow: #f5d22e;
    --white: #ffffff;
    --dark: #0c1a22;
    --mid: #0f2330;
    --font-title: 'LatinoGothic-CmpBold', 'Oswald', 'Barlow Condensed', sans-serif;
    --font-fun: 'Barriecito-Regular', 'Barriecito', cursive;
    --font-body: 'Poppins', sans-serif;
    --font-compact: 'Barlow Condensed', sans-serif;
}

/* ── CUSTOM FONTS FROM ROOT ─────────────────── */
@font-face {
    font-family: 'Barriecito-Regular';
    src: url('/Barriecito-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LatinoGothic-CmpBold';
    src: url('/LatinoGothic-CmpBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Do not set width/max-width on body — let it be naturally full width */
    position: relative;
}

/* ── SKIP LINK (accessibility) ──────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    background: var(--yellow);
    color: var(--dark);
    padding: 10px 18px;
    font-family: var(--font-compact);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    z-index: 99999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ── FLOATING NOTES ─────────────────────────── */
/* ── FLOATING NOTES ─────────────────────────── */
@keyframes floatNote {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10vh) translateX(var(--note-sway, 20px)) rotate(270deg);
    }
    88% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-120vh) translateX(0) rotate(540deg);
        opacity: 0;
    }
}

.musical-note {
    position: fixed;
    top: 0;      /* ← add this — anchors the element to the viewport, not document flow */
    left: 0;     /* ← add this too, since JS only ever overrides it per-note via inline style */
    font-size: 2.5rem;
    color: var(--white);
    pointer-events: none;
    z-index: 3;
    animation: floatNote linear infinite;
    opacity: 0.7;
    filter: drop-shadow(0 0 6px currentColor);
    aria-hidden: true;
}
/* ── HEADER ─────────────────────────────────── */
header {
    background: rgba(12, 26, 34, 0.97);
    padding: 0 3%;
    position: fixed;
    /* Do NOT use width:100% on fixed elements — it resolves to the
       layout viewport which inflates on iOS/Samsung when any element
       overflows. left+right:0 is the correct cross-browser approach. */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid var(--red);
    height: 72px;
    gap: 1rem;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-youth {
    font-family: var(--font-fun);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-main {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 1px;
    line-height: 1;
}

nav {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-compact);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
    white-space: nowrap;
    padding: 4px 0;
}

nav a:hover,
nav a:focus {
    color: var(--blue);
    outline: none;
}

nav a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ── HEADER ACTION BUTTONS ───────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.btn-cym {
    font-family: var(--font-compact);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 7px 16px;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cym:hover,
.btn-cym:focus-visible {
    background: var(--blue);
    color: var(--dark);
    outline: none;
}

.btn-tickets-nav {
    font-family: var(--font-compact);
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 9px 22px;
    border-radius: 4px 18px 4px 18px;
    text-decoration: none;
    background: var(--yellow);
    color: var(--dark);
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(245, 210, 46, 0.4);
    cursor: pointer;
    display: inline-block;
}

.btn-tickets-nav:hover,
.btn-tickets-nav:focus-visible {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 210, 46, 0.5);
    outline: none;
}

/* ── HAMBURGER ──────────────────────────────── */
.hamburger {
    display: none;
}

@media (max-width: 860px) {
    header nav {
        display: none;
    }

    .btn-cym {
        display: none;
    }

    /* On mobile: logo shrinks, button shrinks, hamburger always visible */
    .logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .logo-youth {
        font-size: 1.1rem;
    }

    .logo-main {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .btn-tickets-nav {
        font-size: 0.85rem;
        padding: 8px 14px;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 4px 12px 4px 12px;
        letter-spacing: 0.06em;
    }

    .header-actions {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        background: var(--red);
        border: none;
        border-radius: 6px;
        cursor: pointer;
        z-index: 9999;
        flex-shrink: 0;
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--mid);
    border-top: 3px solid var(--blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
    z-index: 9998;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 6%;
    font-family: var(--font-compact);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--blue);
}

.mobile-nav .mobile-cym {
    color: var(--blue);
    font-weight: 800;
}

.mobile-nav .mobile-tickets {
    background: var(--yellow);
    color: var(--dark);
    font-weight: 900;
    border-bottom: none;
    text-align: center;
    margin: 0.8rem 6% 1rem;
    border-radius: 4px 18px 4px 18px;
}

/* ── HERO ───────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    /* clip-path creates a new stacking context that hard-clips children
       including the rotated poster panel — preventing layout viewport inflation
       on iOS Safari and Samsung Internet */
    clip-path: inset(0);
}

.hero-bg {
    position: absolute;
    inset: 0;
      background:
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
        linear-gradient(160deg,
            rgba(33, 181, 222, 0.35) 0%,
            rgba(12, 26, 34, 0.75) 55%,
            rgba(222, 37, 80, 0.30) 100%),
        url("ymitp_bg_final.webp");

    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(160deg, rgba(33,181,222,0.72) 0%, rgba(12,26,34,0.78) 55%, rgba(222,37,80,0.45) 100%);*/

  
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    margin: 0 auto;
    padding: 2rem 24px 4rem;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── POSTER PANEL ───────────────────────────── */
.poster-panel {
    background: var(--red);
    border: 8px solid var(--white);
    border-radius: 4px 40px 4px 40px;
    padding: 2.5rem 2rem;
    text-align: center;
    transform: rotate(-2deg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 70px rgba(222, 37, 80, 0.5), 0 0 0 3px rgba(33, 181, 222, 0.3);
    position: relative;
    overflow: visible;
    width: 100%;
}

.poster-panel:hover {
    transform: rotate(0deg) scale(1.02);
}

.new-badge {
    position: absolute;
    top: -20px;
    right: -14px;
    background: var(--white);
    color: var(--red);
    font-family: var(--font-fun);
    font-size: 1.6rem;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--red);
    box-shadow: 0 0 0 4px var(--white), 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(12deg);
    z-index: 10;
    animation: badgePop 3s ease-in-out infinite;
    aria-hidden: true;
}

/* Welsh badge text ("newydd!") is longer than English ("new!"),
   so it needs a smaller font size to fit inside the circle. */
html[lang="cy"] .new-badge {
    font-size: 1rem;
}

@keyframes badgePop {

    0%,
    100% {
        transform: rotate(12deg) scale(1);
    }

    50% {
        transform: rotate(12deg) scale(1.08);
    }
}

.poster-youth {
    font-family: var(--font-fun);
    font-size: 3.6rem;
    color: var(--white);
    display: block;
    margin-bottom: -0.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.poster-main-title {
    font-family: var(--font-title);
    font-size: 3.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.poster-subtitle {
    font-family: var(--font-compact);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.14em;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 14px;
    border-radius: 3px;
    display: inline-block;
    margin: 0.7rem 0 1.4rem;
}

.poster-date-block {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 1.2rem 1.6rem;
    margin-bottom: 0.4rem;
    text-align: center;
}

.poster-day {
    font-family: var(--font-compact);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
}

.poster-date-num {
    font-family: var(--font-title);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin: 0.1rem 0;
}

.poster-venue {
    font-family: var(--font-compact);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.06em;
}

.poster-gates {
    font-family: var(--font-compact);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.poster-tickets {
    background: var(--white);
    color: var(--red);
    font-family: var(--font-compact);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    margin-top: 0.5rem;
    display: inline-block;
}

.poster-cta-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.poster-btn {
    font-family: var(--font-compact);
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    border-radius: 4px 20px 4px 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.poster-btn--blue {
    background: var(--blue);
    color: var(--white);
}

.poster-btn--blue:hover,
.poster-btn--blue:focus-visible {
    background: var(--white);
    color: var(--blue);
    outline: none;
}

.poster-btn--yellow {
    background: var(--yellow);
    color: var(--dark);
}

.poster-btn--yellow:hover,
.poster-btn--yellow:focus-visible {
    background: var(--white);
    color: var(--dark);
    outline: none;
}

/* ── SECTION SHARED ─────────────────────────── */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: var(--blue);
    margin: 8px auto 0;
}

.section-title.red::after {
    background: var(--red);
}

/* ── ABOUT ──────────────────────────────────── */
#about {
    background: var(--mid);
}

.about-hero-info {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.hero-tag {
    font-family: var(--font-compact);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
    padding-bottom: 4px;
    display: inline-block;
}

.hero-headline {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 0.3rem;
}

.hero-headline span {
    color: var(--blue);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-compact);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 46px 14px 36px;
    text-decoration: none;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.hero-cta:hover,
.hero-cta:focus-visible {
    background: var(--red);
    transform: translateX(4px);
    outline: none;
}

.bro-radio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(33, 181, 222, 0.15);
    border: 1px solid rgba(33, 181, 222, 0.3);
    border-radius: 30px;
    padding: 6px 16px 6px 10px;
    font-family: var(--font-compact);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.bro-radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(33, 181, 222, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(33, 181, 222, 0);
    }
}

.about-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.about-box {
    border: 4px solid var(--blue);
    border-radius: 2px 30px 2px 30px;
    padding: 3rem 2.5rem;
    background: rgba(33, 181, 222, 0.05);
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-box p+p {
    margin-top: 1rem;
}

.about-box strong {
    color: var(--blue);
}

.about-organised {
    margin-top: 2.5rem;
    font-family: var(--font-compact);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
}

.logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.logos-row img {
    max-height: clamp(65px, 15vw, 100px);
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.logos-row a:hover img {
    transform: scale(1.08);
}

.logo-white-wrap {
    background: white;
    border-radius: 12px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
}

.supported-label {
    font-family: var(--font-compact);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

/* ── LINEUP ─────────────────────────────────── */
#lineup {
    background: var(--dark);
}

/* "More acts" announcement banner */
.more-acts-banner {
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    background: linear-gradient(135deg, rgba(222, 37, 80, 0.15), rgba(33, 181, 222, 0.15));
    border: 2px dashed rgba(245, 210, 46, 0.5);
    border-radius: 2px 20px 2px 20px;
    padding: 1.4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.more-acts-banner::before {
    content: '♪ ♫ ♬';
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.25;
    pointer-events: none;
}

.more-acts-banner::after {
    content: '♬ ♫ ♪';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.25;
    pointer-events: none;
}

.more-acts-banner p {
    font-family: var(--font-compact);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow);
    margin: 0;
}

.more-acts-banner span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.3rem;
}

.lineup-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.lineup-note {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
}

.artist-card {
    border-radius: 2px 20px 2px 20px;
    overflow: hidden;
    border: 2px solid rgba(33, 181, 222, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: clamp(200px, calc(25% - 1.5rem), 260px);
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
}

.artist-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue);
    box-shadow: 0 20px 50px rgba(33, 181, 222, 0.35);
}

.artist-card:hover .artist-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}

.artist-card:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.artist-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.artist-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.artist-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.2rem 1.2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
    transition: background 0.3s ease;
}

.artist-info h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.artist-info p {
    font-family: var(--font-compact);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.artist-card-hint {
    font-family: var(--font-compact);
    font-size: 0.78rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* ── ARTIST MODAL ───────────────────────────── */
.artist-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.artist-modal-overlay.open {
    display: flex;
}

.artist-modal-box {
    background: var(--mid);
    max-width: 680px;
    width: 100%;
    border-radius: 2px 30px 2px 30px;
    border-top: 8px solid var(--blue);
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.artist-modal-img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    object-position: center;
    background: #000;
    flex-shrink: 0;
    display: block;
}

.artist-modal-img-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--blue), var(--red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    flex-shrink: 0;
}

.artist-modal-body {
    padding: 2rem 2.5rem 2.5rem;
    overflow-y: auto;
}

.artist-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.artist-modal-close:focus-visible {
    outline: 2px solid var(--yellow);
}

.artist-modal-name {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.3rem;
}

.artist-modal-role {
    font-family: var(--font-compact);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.artist-modal-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.artist-modal-bio p+p {
    margin-top: 1rem;
}

/* ── TIMELINE ───────────────────────────────── */
#ontheday {
    background: var(--mid);
}

.timeline {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 130px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue), var(--red));
    opacity: 0.4;
}

.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-time {
    width: 140px;
    font-family: var(--font-compact);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--blue);
    text-align: right;
    padding-right: 40px;
    flex-shrink: 0;
    padding-top: 4px;
    text-transform: uppercase;
}

.timeline-dot {
    position: absolute;
    left: 124px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
    border: 3px solid var(--white);
    animation: tlPulse 2s infinite;
}

@keyframes tlPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(222, 37, 80, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(222, 37, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(222, 37, 80, 0);
    }
}

.timeline-content {
    flex: 1;
    background: rgba(33, 181, 222, 0.06);
    border: 1px solid rgba(33, 181, 222, 0.15);
    padding: 1.2rem 1.8rem;
    border-radius: 2px 16px 2px 16px;
    margin-left: 30px;
}

.timeline-content h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ── WHAT TO EXPECT ─────────────────────────── */
#whattoexpect {
    background: var(--dark);
}

.expect-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.expect-item {
    background: var(--mid);
    border-radius: 2px 16px 2px 16px;
    padding: 1.6rem 1.8rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    border: 1px solid rgba(33, 181, 222, 0.12);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.expect-item:hover {
    border-color: rgba(33, 181, 222, 0.4);
    transform: translateY(-4px);
}

.expect-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.expect-text h4 {
    font-family: var(--font-compact);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-bottom: 0.3rem;
}

.expect-text p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

/* ── STAY IN TOUCH ──────────────────────────── */
#stayintouch {
    background: var(--mid);
}

.touch-box {
    max-width: 680px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 2px 30px 2px 30px;
    border-top: 8px solid var(--red);
    border-left: 3px solid rgba(33, 181, 222, 0.2);
    padding: 3rem;
    text-align: center;
}

.touch-box h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.touch-box p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.touch-btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-compact);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 40px;
    border: none;
    border-radius: 2px 20px 2px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.touch-btn:hover,
.touch-btn:focus-visible {
    background: var(--blue);
    transform: scale(1.05);
    outline: none;
}

/* ── FOOTER ─────────────────────────────────── */
footer {
    background: #060e13;
    border-top: 5px solid var(--red);
    padding: 4rem 5% 2.5rem;
    text-align: center;
}

.footer-title {
    font-family: var(--font-fun);
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.footer-sub {
    font-family: var(--font-compact);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-org {
    margin-top: 2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    margin-top: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--blue);
}

.footer-copy {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.25);
}

/* ── FADE IN ─────────────────────────────────── */
/* Visible by default so content still shows if JS fails to load.
   script-ymitpv1.1.js adds .js-fade to <body> once it confirms it can
   observe and reveal sections — only then are they hidden until scrolled into view. */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.js-fade .fade-in {
    opacity: 0;
    transform: translateY(36px);
}

.js-fade .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .musical-note {
        display: none;
    }
}

/* ── MAILING MODAL ──────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--mid);
    max-width: 500px;
    width: 90%;
    border-radius: 2px 24px 2px 24px;
    padding: 2.5rem;
    border-top: 8px solid var(--red);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:focus-visible {
    outline: 2px solid var(--yellow);
    border-radius: 2px;
}

.modal-box h2 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.8rem;
}

.modal-box p {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.modal-box input[type=email] {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    border: 2px solid rgba(33, 181, 222, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.modal-box input[type=email]:focus {
    border-color: var(--blue);
}

.modal-submit {
    width: 100%;
    padding: 15px;
    background: var(--yellow);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-family: var(--font-compact);
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-submit:hover {
    background: var(--white);
}

/* ── COOKIE BANNER ──────────────────────────── */
#cookieBanner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mid);
    border-top: 3px solid var(--blue);
    padding: 14px 5%;
    z-index: 9999;
    font-size: 0.9rem;
}

#cookieBanner .cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

#cookieBanner button {
    background: var(--blue);
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 20px;
    font-family: var(--font-compact);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 860px) {
    .poster-main-title {
        font-size: 2.6rem;
    }

      .hero-content {
   
    padding: 1.5rem 15px 2rem;
  
}

    .poster-youth {
        font-size: 2.8rem;
    }

    .poster-date-num {
        font-size: 2.8rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .poster-panel {
        transform: none;
    }

    /* header and mobile-nav use left:0/right:0 — no width needed */

    /* Tighter header padding on mobile to maximise space for all three items */
    header {
        padding: 0 12px;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    section {
        padding: 4rem 5%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-box {
        padding: 2rem 1.5rem;
        font-size: 1.05rem;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-dot {
        left: 9px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 36px;
    }

    .timeline-time {
        width: auto;
        text-align: left;
        padding: 0 0 4px;
    }

    .timeline-content {
        margin-left: 0;
    }

    .touch-box {
        padding: 2rem 1.4rem;
    }

    .artist-card {
        width: clamp(150px, calc(50% - 1rem), 240px);
    }

    .artist-modal-body {
        padding: 1.5rem;
    }

    .artist-modal-name {
        font-size: 1.6rem;
    }

    .more-acts-banner {
        margin: -0.5rem auto 2rem;
        padding: 1.2rem 1.4rem;
    }

    .more-acts-banner::before,
    .more-acts-banner::after {
        display: none;
    }
}

/* ── SR-ONLY (screen-reader only) ───────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
