/* === ROOT VARIABLES === */

:root {
    --black: #0a0a0a;
    --black-soft: #101010;
    --purple-deep: #23001d;
    --purple-mid: #6e4158;
    --gold: #dcb44f;
    --gold-soft: #f9eec9;
    --text-light: #f3edec;
    --panel: rgba(10,10,10,.75);
    --panel-strong: rgba(10,10,10,.9);
    --overlay: rgba(35,0,29,.72);
    --radius: 14px;
    --shadow: 0 12px 30px rgba(0,0,0,.45);
    --transition: .25s ease;
    --footer-height: 74px;
    --btn-height: 42px;
    --accent-dark: #7a1535;
    --accent-light: #d4924e;
    --accent-hover: #00a0b0;
    --fonts-title-face: 'Bungee', cursive;
    --fonts-headings-face: 'Josefin Sans', sans-serif;
    --fonts-accent-face: 'Cinzel', serif;
    --fonts-regular-face: 'Inter', sans-serif;
    --header-height: 150px;
    /* Menu bar along the bottom of the header; 0 on phones, where the menu is a hamburger panel instead. */
    --nav-height: 44px;
    /* One width for every text panel (home intro, About, FAQs...), so they all line up. */
    --panel-max-width: 860px;
}

/* === RESET === */

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

html, body {
    min-height: 100%;
}

body {
    font-family: var(--fonts-regular-face);
    color: var(--text-light);
    background-color: var(--black);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    /* --background-image is set on the body tag from the content file */
    background: var(--background-image) center 100% / cover no-repeat;
    z-index: -3;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, rgba(35,0,29,.82) 0%, rgba(35,0,29,.62) 28%, rgba(10,10,10,.82) 100%);
    z-index: -2;
}

/* Home page background video: sits over the still frame (body::before) and under the dark overlay (body::after). Desktop only, see lfp-scripts.js. */
.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Same anchor as the background image in body::before ("center 100%"), so the video lines up with the still it covers. */
    object-position: center bottom;
    z-index: -3;
    pointer-events: none;
}

@media (max-width: 640px) {
    .bg-video {
        display: none;
    }
}

.hidden {
    display: none !important;
}

/* === OVERLAYS & MODALS === */

.overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(35,0,29,.82);
    z-index: 9999;
}

.modal {
    width: 100%;
    max-width: 440px;
    background: var(--panel-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 26px;
    text-align: center;
}

.age-logo {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    margin: 0 auto 18px;
}

.modal h2 {
    font-family: var(--fonts-headings-face);
    font-size: 1.7rem;
    margin-bottom: 12px;
    color: var(--gold-soft);
}

.modal p {
    color: rgba(243,237,236,.85);
    line-height: 1.45;
    margin-bottom: 16px;
}

.age-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 14px;
}

.btn {
    appearance: none;
    border: 1px solid rgba(220,180,79,.3);
    background: var(--purple-deep);
    color: var(--gold);
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--fonts-regular-face);
    font-weight: 700;
    transition: all var(--transition);
}

.btn:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-soft);
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: .95rem;
    color: rgba(243,237,236,.85);
}

/* === HEADER === */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--header-height) + var(--nav-height));
    display: flex;
    align-items: center;
    z-index: 500;
    padding: 10px 40px var(--nav-height);
    background: linear-gradient(to bottom, rgba(35,0,29,.95) 0%, rgba(35,0,29,.82) 60%, transparent 100%);
}

/* === LOGO === */

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 20px;
    filter:
        drop-shadow(0 0 2px rgba(0,0,0,.9))
        drop-shadow(3px 3px 0px rgba(0,0,0,.7))
        drop-shadow(0 0 12px rgba(216,180,79,.7));
}

.logo-large {
    display: block;
    height: 90px;
    width: auto;
}

.logo-small {
    display: none;
    height: 90px;
    width: auto;
}

/* === CURVED TITLE === */

.curved-title {
    flex: 1;
    overflow: visible;
    padding-top: 8px;
}

.curved-title svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.curved-title text {
    font-family: var(--fonts-title-face);
    font-size: 56px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    fill: var(--gold);
    filter:
        drop-shadow(0 0 1px rgba(255,255,255,.9))
        drop-shadow(0 0 2px rgba(255,255,255,.6))
        drop-shadow(0 0 2px rgba(0,0,0,.9))
        drop-shadow(3px 3px 0px rgba(0,0,0,.7))
        drop-shadow(-1px -1px 0px rgba(255,255,255,.3))
        drop-shadow(0 0 14px rgba(216,180,79,.95))
        drop-shadow(0 0 28px rgba(216,180,79,.5));
    stroke: rgba(0,0,0,.3);
    stroke-width: 0.5px;
    paint-order: stroke;
}

/* === FLAT TITLE (mobile only) === */

.flat-title {
    display: none;
    font-family: var(--fonts-title-face);
    font-size: 2rem;
    font-style: normal;
    color: var(--gold);
    text-align: center;
    letter-spacing: 2px;
    padding: 10px 0 4px;
    width: 100%;
    filter:
        drop-shadow(0 0 1px rgba(255,255,255,.9))
        drop-shadow(0 0 2px rgba(255,255,255,.6))
        drop-shadow(0 0 2px rgba(0,0,0,.9))
        drop-shadow(3px 3px 0px rgba(0,0,0,.7))
        drop-shadow(0 0 14px rgba(216,180,79,.95))
        drop-shadow(0 0 28px rgba(216,180,79,.5));
}

/* === MAIN LAYOUT === */

#main {
    min-height: 100vh;
    padding: calc(var(--header-height) + var(--nav-height) + 30px) 40px calc(var(--footer-height) + 34px);
}

/* === EVENTS GRID === */

/* Flex rather than grid, so a part-filled last row is centred instead of starting at the left. */
.events {
    --events-columns: 4;
    --events-gap: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--events-gap);
    align-items: stretch;
}

/* Fixed column width, the same as an equal grid column; min-width 0 lets a card shrink below its content, as minmax(0, 1fr) did. */
.events > .card-wrap {
    flex: 0 0 calc((100% - (var(--events-columns) - 1) * var(--events-gap)) / var(--events-columns));
    min-width: 0;
}

/* === CARD WRAP === */

.card-wrap {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card-wrap-link {
    position: absolute;
    inset: 0;
    bottom: calc(var(--btn-height) / -2);
    z-index: 1;
    text-decoration: none;
}

/* === CARD === */

.card {
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 8px 16px rgba(0,0,0,.55),
        0 16px 40px rgba(80,20,60,.35),
        0 2px 6px rgba(220,180,79,.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(220,180,79,0);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-wrap:hover .card {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0,0,0,.65),
        0 0 0 2px rgba(220,180,79,.7),
        0 0 40px 12px rgba(220,180,79,.4),
        0 0 80px 24px rgba(220,180,79,.18);
    border-color: rgba(220,180,79,.8);
}

/* === IMAGE === */

.card-image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center top;
    background: rgba(255,255,255,.06);
    flex-shrink: 0;
    position: relative;
    z-index: 0;
}

/* === CARD META === */

.card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    position: relative;
    z-index: 1;
    margin-top: -58px;
    backdrop-filter: blur(18px) brightness(0.52) saturate(1.8);
    -webkit-backdrop-filter: blur(18px) brightness(0.52) saturate(1.8);
    background: rgba(0,0,0,.22);
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}

.card-cal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    font-family: var(--fonts-headings-face);
    background: var(--accent-dark);
    border-radius: 8px;
    padding: 6px 10px;
    flex-shrink: 0;
}

.cal-month {
    font-family: var(--fonts-headings-face);
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.cal-day {
    font-family: 'Germania One', system-ui;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.card-meta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.card-date {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.card-time {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
}

.card-location {
    font-size: .9rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
}

/* === CARD BODY === */

.card-body {
    padding: 14px 16px calc(var(--btn-height) + 14px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--fonts-headings-face);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--gold-soft);
    margin-bottom: 8px;
}

.card-desc {
    font-size: .9rem;
    color: rgba(243,237,236,1);
    line-height: 1.5;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* === CARD ACTIONS === */

.card-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: calc(var(--btn-height) / -2);
    padding: 0 14px;
    position: relative;
    z-index: 2;
}

.card-btn {
    height: var(--btn-height);
    flex: 1;
    max-width: 140px;
    padding: 0 16px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    box-shadow: 0 4px 14px rgba(0,0,0,.5);
    position: relative;
    z-index: 2;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card-btn.tickets {
    background: var(--accent-light);
    color: #1a0a00;
}

.card-btn.details {
    background: var(--accent-dark);
    color: #fff;
}

.card-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,160,176,.45);
}

/* === EMPTY STATE === */

.empty-state {
    flex-basis: 100%;
    background: var(--panel);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

/* === FOOTER === */

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.74));
    z-index: 100;
    padding: 0 20px;
}

/* === FOOTER ICON BUTTONS — base state === */

.footer-btn,
.footer a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(220,180,79,.22);
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-btn svg,
.footer a svg {
    width: 22px;
    height: 22px;
    display: block;
    transition: fill var(--transition), stroke var(--transition);
}

/* stroke-based icons (Lucide: RSS, mail) */
.footer-btn svg {
    fill: none;
    stroke: rgba(243,237,236,.8);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Social icons - each link sets --brand-colour and its icon style from the content file */
.footer a.icon-fill svg {
    fill: var(--brand-colour);
    stroke: none;
}

.footer a.icon-stroke svg {
    fill: none;
    stroke: var(--brand-colour);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Subscribe gold at rest */
.footer-btn.subscribe svg {
    stroke: var(--gold);
}

/* === FOOTER ICON BUTTONS — hover colours === */

/* Subscribe (RSS) — RSS orange, white icon */
.footer-btn.subscribe:hover {
    background: #f26522;
    border-color: #f26522;
    transform: translateY(-3px);
}
.footer-btn.subscribe:hover svg {
    stroke: #fff;
}

/* Contact (mail) — gold background, dark text */
.footer-btn.contact:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}
.footer-btn.contact:hover svg {
    stroke: var(--black);
}

/* === FOOTER TOOLTIPS (desktop only) === */

.footer-btn::after,
.footer a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(10,10,10,.92);
    color: var(--gold-soft);
    font-family: var(--fonts-regular-face);
    font-size: .75rem;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid rgba(220,180,79,.25);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
}

.footer-btn:hover::after,
.footer a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === CONTACT MODAL === */

.contact-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(35,0,29,.68);
    z-index: 9998;
}

.contact-modal {
    width: 100%;
    max-width: 520px;
    background: var(--panel-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.contact-modal h2 {
    font-family: var(--fonts-headings-face);
    color: var(--gold-soft);
    margin-bottom: 16px;
    text-align: center;
}

.contact-modal form {
    display: grid;
    gap: 12px;
}

.contact-modal input,
.contact-modal textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: var(--text-light);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: var(--fonts-regular-face);
}

.contact-modal textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

/* === MAILCHIMP MODAL === */

.mailchimp-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(35,0,29,.68);
    z-index: 9998;
}

.mailchimp-modal {
    width: 100%;
    max-width: 480px;
    background: var(--panel-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    text-align: center;
}

.mailchimp-modal h2 {
    font-family: var(--fonts-headings-face);
    color: var(--gold-soft);
    margin-bottom: 10px;
}

.mailchimp-modal p {
    color: rgba(243,237,236,.75);
    font-size: .9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.mailchimp-modal .mailchimp-placeholder {
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(220,180,79,.3);
    border-radius: 10px;
    padding: 30px 20px;
    color: rgba(243,237,236,.4);
    font-size: .85rem;
    margin-bottom: 16px;
}

.mailchimp-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
    .events {
        --events-columns: 3;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 110px;
    }

    #main {
        padding: calc(var(--header-height) + var(--nav-height) + 24px) 28px calc(var(--footer-height) + 34px);
    }

    .site-header {
        padding: 8px 28px 0;
    }

    .logo-large {
        height: 72px;
    }

    .curved-title text {
        font-size: 44px;
    }

    .events {
        --events-columns: 2;
    }

    .footer {
        gap: 10px;
    }

    .footer-btn,
    .footer a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 80px;
        --nav-height: 0px;
    }

    #main {
        padding: calc(var(--header-height) + 16px) 16px calc(var(--footer-height) + 24px);
    }

    .site-header {
        height: var(--header-height);
        padding: 8px 16px 0;
        flex-direction: row;
        align-items: center;
        background: linear-gradient(to bottom, rgba(35,0,29,.95) 0%, rgba(35,0,29,.82) 60%, transparent 100%);
    }

    .header-logo {
        margin-right: 12px;
    }

    .logo-large {
        display: none;
    }

    .logo-small {
        display: block;
        height: 54px;
    }

    .curved-title {
        display: none;
    }

    .flat-title {
        display: block;
        font-size: 1.6rem;
        padding: 0;
    }

    .events {
        --events-columns: 1;
        --events-gap: 36px;
    }

    .footer {
        gap: 8px;
        padding: 0 12px;
    }

    .footer-btn,
    .footer a {
        width: 38px;
        height: 38px;
    }

    .footer-btn svg,
    .footer a svg {
        width: 18px;
        height: 18px;
    }

    .footer-btn::after,
    .footer a::after {
        display: none;
    }

    .modal,
    .contact-modal,
    .mailchimp-modal {
        padding: 22px 18px;
    }

    .age-actions,
    .contact-actions,
    .mailchimp-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* === SITE INTRO BLOCK === */

.site-intro-wrap {
    max-width: var(--panel-max-width);
    margin: 0 auto 32px;
    text-align: center;
    padding: 2.4rem 2.8rem;
    border: 1px solid rgba(220,180,79,.35);
    border-radius: 14px;
    background: rgba(35,0,29,.75);
    position: relative;
}

.site-intro-wrap::before,
.site-intro-wrap::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(220,180,79,.6), transparent);
}

.site-intro-wrap::before { top: 0; }
.site-intro-wrap::after  { bottom: 0; }

.site-intro-eyebrow {
    font-family: var(--fonts-accent-face);
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .8;
    margin-bottom: 1rem;
}

.site-intro-text {
    font-family: var(--fonts-regular-face);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

.site-intro-desktop { display: block; }
.site-intro-mobile  { display: none; }

.site-intro-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 1.3rem;
}

.site-intro-divider span {
    color: rgba(220,180,79,.55);
    font-size: 1rem;
}

.site-intro-divider::before,
.site-intro-divider::after {
    content: '';
    display: block;
    width: 56px;
    height: 1px;
    background: rgba(220,180,79,.35);
}

.site-intro-age {
    margin-top: 1rem;
    font-family: var(--fonts-accent-face);
    font-size: .68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(220,180,79,.45);
}

@media (max-width: 900px) {
    .site-intro-wrap {
        padding: 2rem 2rem;
        margin-bottom: 28px;
    }
    .site-intro-text {
        font-size: 1.1rem;
        font-weight: 600;
    }
}

@media (max-width: 640px) {
    .site-intro-wrap {
        padding: 1.4rem 1.2rem;
        margin-bottom: 22px;
    }
    .site-intro-desktop { display: none; }
    .site-intro-mobile  { display: block; }
    .site-intro-text {
        font-size: .92rem;
        font-weight: 400;
        font-style: normal;
    }
    .site-intro-eyebrow {
        font-size: .65rem;
        letter-spacing: 2.5px;
    }
}

/* Subscribe envelope — gold at rest */
.footer-btn.subscribe svg {
    fill: none;
    stroke: var(--gold);
}

/* Social icon hover: glow + scale, in the colour each link sets from the content file */
.footer a.brand:hover {
    transform: translateY(-3px) scale(1.15);
    background: transparent;
    border-color: color-mix(in srgb, var(--brand-colour) 40%, transparent);
}
.footer a.brand:hover svg {
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--brand-colour) 90%, transparent)) drop-shadow(0 0 14px color-mix(in srgb, var(--brand-colour) 50%, transparent));
}

.footer-btn.subscribe:hover {
    transform: translateY(-3px) scale(1.15);
    background: transparent;
    border-color: rgba(220,180,79,.4);
}
.footer-btn.subscribe:hover svg {
    stroke: var(--gold);
    filter: drop-shadow(0 0 6px rgba(220,180,79,.9)) drop-shadow(0 0 14px rgba(220,180,79,.5));
}

.footer-btn.contact:hover {
    transform: translateY(-3px) scale(1.15);
    background: transparent;
    border-color: rgba(220,180,79,.4);
}
.footer-btn.contact:hover svg {
    stroke: var(--gold);
    filter: drop-shadow(0 0 6px rgba(220,180,79,.9)) drop-shadow(0 0 14px rgba(220,180,79,.5));
}

/* === MENU === */

.header-logo {
    text-decoration: none;
}

/* Desktop and tablet: a floating pill along the bottom of the fixed header, centred under the title arch rather than the page. */
/* left = header side padding (40px) + logo width (90px) + logo margin (20px); right = header side padding. */
.site-nav {
    position: absolute;
    left: 150px;
    right: 40px;
    bottom: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 16px rgba(249,238,201,.28);
}

/* Josefin Sans capitals sit above the middle of their line box, so the top padding is 2px more than the bottom to centre the text in the highlight. */
.site-nav a {
    display: block;
    padding: 7px 16px 5px;
    border-radius: 999px;
    font-family: var(--fonts-headings-face);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    color: var(--gold);
    text-shadow: 0 0 8px rgba(220,180,79,.45);
    transition: color var(--transition), background var(--transition), text-shadow var(--transition);
}

.site-nav a:hover {
    color: var(--black);
    background: var(--gold);
    text-shadow: none;
}

.site-nav a[aria-current="page"] {
    color: var(--black);
    background: var(--gold-soft);
    text-shadow: none;
}

/* Tablets: the logo shrinks to 72px and the side padding to 28px, and the pill tightens to fit five or more items. */
@media (max-width: 900px) {
    .site-nav {
        left: 120px;
        right: 28px;
    }

    .site-nav a {
        padding: 6px 11px 4px;
        font-size: .8rem;
        letter-spacing: 1px;
    }
}

/* Phones only: the hamburger button. */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    margin-left: 12px;
    border: 1px solid rgba(220,180,79,.35);
    border-radius: 8px;
    background: rgba(10,10,10,.5);
    cursor: pointer;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 640px) {
    .nav-toggle {
        display: inline-flex;
    }

    /* The menu becomes a full-width panel under the header, shown when lfp-scripts.js adds "open". */
    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: auto;
        height: auto;
        display: none;
        padding: 12px 16px 18px;
        border-top: 1px solid rgba(220,180,79,.3);
        border-bottom: 1px solid rgba(220,180,79,.3);
        background: rgba(35,0,29,.97);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: block;
    }

    /* The panel is the container on phones, so the pill styling comes off the list. */
    .site-nav ul {
        flex-direction: column;
        gap: 4px;
        padding: 0;
        border: none;
        border-radius: 0;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    .site-nav a {
        padding: 13px 14px 11px;
        border-radius: 8px;
        font-size: 1rem;
    }
}

/* === CONTENT PAGES (About Us, FAQs and other text pages) === */

/* Same panel as the home intro (.site-intro-wrap): border, background, and the soft gold highlight lines along the top and bottom edges. */
.content-page {
    position: relative;
    max-width: var(--panel-max-width);
    margin: 0 auto 32px;
    padding: 2.4rem 2.8rem;
    border: 1px solid rgba(220,180,79,.35);
    border-radius: var(--radius);
    background: rgba(35,0,29,.75);
}

.content-page::before,
.content-page::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(220,180,79,.6), transparent);
}

.content-page::before { top: 0; }
.content-page::after { bottom: 0; }

/* Top of the panel, centred like the home intro: the small gold line (.site-intro-eyebrow), the h1 and the intro. */
.content-head {
    text-align: center;
    margin-bottom: 2rem;
}

.content-title {
    font-family: var(--fonts-headings-face);
    font-size: 2rem;
    line-height: 1.25;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}

.content-intro {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-light);
}

/* Tail of the panel: the same divider as the home intro. */
.content-page > .site-intro-divider {
    margin-top: 2.2rem;
}

.content-section + .content-section {
    margin-top: 1.8rem;
}

.content-section h2 {
    font-family: var(--fonts-headings-face);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: .7rem;
}

.content-section p {
    line-height: 1.75;
    color: rgba(243,237,236,.9);
}

.content-section p + p {
    margin-top: .8rem;
}

/* FAQ accordion: native details/summary, with a +/- marker in place of the browser's triangle. */
.faq {
    border-bottom: 1px solid rgba(220,180,79,.2);
}

.faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 1rem 0;
    cursor: pointer;
    font-family: var(--fonts-headings-face);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-soft);
    transition: color var(--transition);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.4rem;
    color: var(--gold);
}

.faq[open] summary::after {
    content: "\2212";
}

.faq summary:hover {
    color: var(--gold);
}

.faq p {
    padding: 0 0 1.1rem;
    line-height: 1.75;
    color: rgba(243,237,236,.9);
}

@media (max-width: 640px) {
    .content-page {
        padding: 1.4rem 1.2rem;
    }

    .content-title {
        font-size: 1.5rem;
    }

    .content-intro {
        font-size: 1rem;
    }
}

/* === COUNTDOWN (Events page) — old-style flip clock === */

.countdown {
    margin-top: 2rem;
    text-align: center;
}

.countdown-label {
    font-family: var(--fonts-accent-face);
    font-size: .78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .85;
    margin-bottom: 1.1rem;
}

.countdown-tiles {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Each tile: a dark card, lighter on its top half, split across the middle like a flip-clock leaf. */
.flip-tile {
    position: relative;
    min-width: 84px;
    padding: 14px 10px 12px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #1f1a1d 0%, #1f1a1d 50%, #141013 50%, #141013 100%);
    box-shadow: 0 8px 18px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.07);
    border: 1px solid rgba(220,180,79,.25);
    perspective: 300px;
    font-family: var(--fonts-title-face);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--gold-soft);
    text-shadow: 0 0 10px rgba(220,180,79,.35);
}

.flip-tile::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(0,0,0,.8);
    box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

/* One leaf per digit, so each digit can flip on its own. */
.flip-digit {
    display: inline-block;
    transform-origin: 50% 50%;
}

/* Added by lfp-scripts.js to a digit whenever its value changes. */
.flip-digit.flipping {
    animation: flip-in .45s ease-out;
}

@keyframes flip-in {
    0% { transform: rotateX(-90deg); opacity: .2; }
    100% { transform: rotateX(0); opacity: 1; }
}

.countdown-unit-label {
    font-family: var(--fonts-accent-face);
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(220,180,79,.75);
}

.countdown-started {
    font-family: var(--fonts-headings-face);
    font-size: 1.5rem;
    color: var(--gold);
}

/* === EVENT SLIDER (Events page) — one event at a time === */

.event-slider {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.event-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--panel);
    border-radius: var(--radius);
    overflow: clip;
    box-shadow: 0 8px 16px rgba(0,0,0,.55), 0 16px 40px rgba(80,20,60,.35);
    backdrop-filter: blur(4px);
}

.event-slide.active {
    display: grid;
    animation: slide-in .35s ease-out;
}

@keyframes slide-in {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* The whole picture, uncropped, centred in its half, over a blurred and darkened copy of itself that fades to black at the edges. */
/* --slide-image is set on the element from the event's picture. */
.event-slide-image {
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: clip;
    background: #000;
}

.event-slide-image::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: var(--slide-image) center / cover no-repeat;
    filter: blur(22px) brightness(.75) saturate(1.3);
}

.event-slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 45%, rgba(0,0,0,.4) 80%, rgba(0,0,0,.85) 100%);
}

/* The sharp picture stays in view (below the header and menu) while a long description scrolls past. */
.event-slide-image img {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 20px);
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
}

.event-slide-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 32px 32px;
}

.event-slide-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.event-slide-title {
    font-family: var(--fonts-headings-face);
    font-size: 1.8rem;
    line-height: 1.25;
    color: var(--gold-soft);
}

.event-slide-description {
    color: rgba(243,237,236,.9);
    line-height: 1.7;
}

.event-slide-description p,
.event-slide-description ul,
.event-slide-description ol {
    margin-bottom: .8rem;
}

.event-slide-description ul,
.event-slide-description ol {
    padding-left: 1.3rem;
}

.event-slide-description h3,
.event-slide-description h4 {
    font-family: var(--fonts-headings-face);
    color: var(--gold);
    margin: 1rem 0 .4rem;
}

.event-slide-description a {
    color: var(--gold);
}

/* The shared ticket button, sized to its text here instead of stretching like on the cards. */
/* In the red of home's Details button rather than gold, so it stands out from the gold text around it. */
.event-slide-body .card-btn {
    flex: none;
    align-self: flex-start;
    max-width: none;
    padding: 0 28px;
    margin-top: 4px;
}

.event-slide-body .card-btn.tickets {
    background: var(--accent-dark);
    color: #fff;
}

.event-slide-body .card-btn.tickets:hover {
    background: var(--accent-hover);
}

@media (max-width: 900px) {
    .event-slide {
        grid-template-columns: 1fr;
    }

    .event-slide-body {
        padding: 22px 20px 26px;
    }

    .event-slide-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .countdown-tiles {
        gap: 8px;
    }

    .flip-tile {
        min-width: 58px;
        padding: 11px 6px 9px;
        font-size: 1.7rem;
    }

    .countdown-unit-label {
        font-size: .6rem;
        letter-spacing: 1px;
    }
}

/* === SLIDERS (Events and Reviews) — shared by lfp-scripts.js [data-slider] === */

.slider-frame {
    position: relative;
}

.slider-slide {
    display: none;
}

.slider-slide.active {
    display: block;
    animation: slide-in .35s ease-out;
}

.event-slide.active {
    display: grid;
}

/* The whole left and right edges of a slide are click zones; the arrow fades in on hover, and stays faintly visible on touch screens. */
.slider-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 64px;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition);
}

.slider-edge-prev {
    left: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background: linear-gradient(to right, rgba(220,180,79,.55), transparent);
}

.slider-edge-next {
    right: 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: linear-gradient(to left, rgba(220,180,79,.55), transparent);
}

.slider-frame:hover .slider-edge {
    opacity: .5;
}

.slider-edge:hover,
.slider-edge:focus-visible {
    opacity: 1;
    outline: none;
}

@media (hover: none) {
    .slider-edge {
        opacity: .45;
    }
}

/* Sticky, so the arrow stays mid-screen however far down a tall slide the visitor has scrolled. */
.slider-edge-arrow {
    position: sticky;
    top: calc(50vh - 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(10,10,10,.75);
}

.slider-edge-arrow svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(220,180,79,.6);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--gold);
}

/* Room on the right of the event text for the edge zone. */
.event-slide-body {
    padding-right: 76px;
}

@media (max-width: 900px) {
    .event-slide-image img {
        position: relative;
        top: auto;
    }

    .event-slide-body {
        padding-right: 64px;
        padding-left: 64px;
    }
}

/* === REVIEWS === */

.review-slider {
    max-width: var(--panel-max-width);
    margin: 0 auto 32px;
}

/* A fixed-height box; a long review scrolls inside it, and margin: auto centres a short one. */
.review-slide {
    height: 300px;
    overflow-y: auto;
    padding: 32px 84px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 8px 16px rgba(0,0,0,.55), 0 16px 40px rgba(80,20,60,.35);
    backdrop-filter: blur(4px);
}

.review-slide.active {
    display: flex;
}

.review-body {
    margin: auto;
    text-align: center;
}

.review-stars {
    font-size: 1.3rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 14px;
}

.review-stars .off {
    color: rgba(220,180,79,.25);
}

.review-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-light);
}

.review-text::before { content: '\201C'; }
.review-text::after { content: '\201D'; }

.review-name {
    margin-top: 16px;
    font-family: var(--fonts-headings-face);
    letter-spacing: 1px;
    color: var(--gold-soft);
}

/* Short slides: the arrow simply sits in the middle of the edge. */
.review-slider .slider-edge {
    display: flex;
    align-items: center;
}

.review-slider .slider-edge-arrow {
    position: static;
}

.review-form {
    display: grid;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
}

.review-form label {
    font-size: .9rem;
    color: rgba(243,237,236,.8);
    margin-top: 6px;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: var(--text-light);
    font-family: var(--fonts-regular-face);
    font-size: 1rem;
}

.review-form select option {
    background: var(--purple-deep);
}

.review-form textarea {
    min-height: 140px;
    resize: vertical;
}

.review-form .card-btn {
    justify-self: center;
    flex: none;
    max-width: none;
    padding: 0 32px;
    margin-top: 12px;
    background: var(--accent-dark);
    color: #fff;
}

.review-form .card-btn:hover {
    background: var(--accent-hover);
}

.review-thanks {
    text-align: center;
    font-family: var(--fonts-headings-face);
    font-size: 1.3rem;
    color: var(--gold);
}

@media (max-width: 640px) {
    .review-slide {
        height: 340px;
        padding: 26px 56px;
    }

    .slider-edge {
        width: 48px;
    }
}
