:root {
    --ink: #17202a;
    --muted: #626f7f;
    --paper: #fbfaf6;
    --panel: #ffffff;

    /* WGCMVC brand colours */
    --claret: #A32220;
    --navy: #0A3C2B;

    /* Supporting colours */
    --gold: #A32220;
    --sage: #e7f0eb;
    --line: #ded8d2;
    --soft: #f5efeb;

    --radius: 24px;
    --shadow: 0 24px 70px rgba(60, 20, 20, 0.14);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
}

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

a {
    color: inherit;
}

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    background: white;
    padding: 0.75rem 1rem;
    z-index: 99;
    border-radius: 999px;
}

.wrap {
    width: min(var(--max), calc(100% - 2rem));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.top-strip {
    background: var(--claret);
    color: #ffffff;
    font-size: 0.9rem;
}

.top-strip .wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
}

.top-strip a {
    text-decoration: none;
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem 0;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 360px;
    height: auto;
    object-fit: contain;
}

.brand span {
    display: block;
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.12rem;
}

.nav-links a {
    padding: 0.62rem 0.78rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    background: var(--soft);
    color: var(--claret);
}

.nav-links .login {
    background: var(--claret);
    color: #ffffff;
    margin-left: 0.3rem;
}

.nav-links .login:hover {
    background: #861b1a;
    color: #ffffff;
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    background: white;
    color: var(--claret);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-weight: 700;
}


/* =========================================================
   PUBLIC NAVIGATION DROPDOWN
   ========================================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    padding: 0.62rem 0.78rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    color: inherit;
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
    background: var(--soft);
    color: var(--claret);
}

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

.nav-dropdown summary::after {
    content: " ▾";
    font-size: 0.75em;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 190px;
    padding: 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    z-index: 1000;
}

.nav-submenu a {
    display: block;
    padding: 10px 12px;
    white-space: nowrap;
    border-radius: 8px;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
    background: rgba(163, 34, 32, 0.08);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.86rem 1.12rem;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--claret);
    color: white;
    box-shadow: 0 10px 30px rgba(163, 34, 32, 0.24);
}

.btn.primary:hover {
    background: #861b1a;
}

.btn.secondary {
    background: white;
    color: var(--claret);
    border-color: var(--line);
}

.btn.secondary:hover {
    background: var(--soft);
}

.btn.dark {
    background: var(--navy);
    color: white;
}

.btn.dark:hover {
    background: #072e21;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 78vh;
    display: grid;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(20, 20, 20, 0.68) 0%,
            rgba(20, 20, 20, 0.42) 38%,
            rgba(10, 10, 10, 0.18) 70%,
            rgba(0, 0, 0, 0.04) 100%
        ),
        url("../images/image1.jpg") center / cover no-repeat;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(transparent, var(--paper));
    z-index: -1;
}

.hero-card {
    max-width: 780px;
}

.eyebrow {
    color: var(--claret);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-size: 0.78rem;
    text-shadow: none;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero h1,
.page-hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.94;
    margin: 0.35rem 0;
    color: #ffffff;
    max-width: 960px;
}

.hero h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.36rem);
    color: #ffffff;
    max-width: 720px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-actions,
.actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 4.8rem 0;
}

.section.compact {
    padding: 3rem 0;
}

.section.alt {
    background: var(--soft);
}

.section.navy {
    background: var(--navy);
    color: white;
}

.section.navy .lead,
.section.navy .small {
    color: #d8e5df;
}

.section.navy .eyebrow {
    color: #ffffff;
}

.grid {
    display: grid;
    gap: 1.25rem;
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.45rem;
    box-shadow: 0 9px 30px rgba(70, 20, 20, 0.055);
}

.card h3 {
    margin: 0.15rem 0 0.5rem;
    color: var(--navy);
    font-size: 1.28rem;
}

.lead {
    font-size: 1.18rem;
    color: var(--muted);
    max-width: 850px;
}

.section h2 {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.05;
    margin: 0.2rem 0 1rem;
}

.feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.feature.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.feature img,
.gallery img,
.image-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--claret);
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        #741817 0%,
        var(--claret) 50%,
        var(--navy) 145%
    );
    color: white;
}

.page-hero p {
    max-width: 790px;
    color: #f8e6e4;
    font-size: 1.16rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #f1d7d4;
    margin-bottom: 0.8rem;
}

.breadcrumb a {
    text-decoration: none;
}


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

.event {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.event-content {
    min-width: 0;
}

.event-content h2 {
    margin-top: 0.25rem;
}

.event-actions {
    padding-top: 0.25rem;
}

.event time {
    font-weight: 700;
    color: var(--claret);
}

.event .datebox {
    background: var(--soft);
    border-radius: 18px;
    text-align: center;
    padding: 1rem;
}

.datebox strong {
    display: block;
    font-size: 2rem;
    color: var(--claret);
    line-height: 1;
}

.pill {
    display: inline-block;
    border-radius: 999px;
    background: var(--sage);
    padding: 0.3rem 0.68rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
}


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
    border-left: 3px solid var(--claret);
    padding-left: 1.4rem;
}

.timeline article {
    margin: 0 0 1.4rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
}


/* =========================================================
   FORMS
   ========================================================= */

.form {
    display: grid;
    gap: 0.9rem;
}

.form label {
    font-weight: 700;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.92rem 1rem;
    font: inherit;
    background: white;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: 3px solid rgba(163, 34, 32, 0.12);
    border-color: var(--claret);
}

.form textarea {
    min-height: 150px;
}

.notice {
    background: #fbf3f2;
    border: 1px solid #e4c9c6;
    border-radius: 18px;
    padding: 1rem;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery img {
    aspect-ratio: 4 / 3;
}

.quote {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    color: var(--navy);
    line-height: 1.25;
}



/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #721817;
    color: #f4e9e8;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.site-footer a {
    color: white;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.social {
    display: flex;
    gap: 0.7rem;
}

.social img {
    width: 28px;
    height: 28px;
    filter: invert(1);
}

.small {
    font-size: 0.92rem;
    color: var(--muted);
}

.site-footer .small {
    color: #f0d9d7;
}


/* =========================================================
   MISCELLANEOUS
   ========================================================= */

.friends-form {
    max-width: 860px;
    margin: 0 auto;
}

.friends-form .form-group {
    margin-bottom: 1.25rem;
}

.friends-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.friends-form input[type="text"],
.friends-form input[type="email"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.friends-form input[type="text"]:focus,
.friends-form input[type="email"]:focus {
    outline: 2px solid var(--claret);
    outline-offset: 2px;
}

.friends-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.friends-consent input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.friends-consent label {
    margin: 0;
    font-weight: 400;
    line-height: 1.55;
}

.form-error {
    margin-top: 0.4rem;
    color: var(--claret);
    font-weight: 600;
}

.form-status {
    margin-bottom: 1.5rem;
}

.friends-privacy {
    margin: -0.25rem 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4b5563;
}

.friends-privacy a {
    font-weight: 700;
    color: var(--claret);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.badge {
    display: inline-block;
    border-radius: 999px;
    background: var(--soft);
    color: var(--claret);
    font-weight: 700;
    padding: 0.35rem 0.72rem;
    font-size: 0.84rem;
}

.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.2rem;
}

.side {
    background: var(--navy);
    color: white;
    border-radius: var(--radius);
    padding: 1rem;
}

.side a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
}

.side a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    text-align: left;
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
}

.feature .patron-photo {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 440px;
    object-fit: cover;
    object-position: center top;
    border-radius: 18px;
}

.patron-message blockquote {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--claret);
}

.patron-message blockquote:last-child {
    margin-bottom: 0;
}

.patron-message h3 {
    margin-top: 1.5rem;
}

.patron-message h3:first-child {
    margin-top: 0;
}

.project90-playlist {
    width: 100%;
    max-width: 960px;
    margin: 2rem auto 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #000;
}

.project90-playlist iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
    .menu-btn {
        display: inline-flex;
    }

    .top-strip {
        display: none;
    }

    .brand img {
        width: 290px;
        height: auto;
    }

    .nav-links {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: white;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 0.6rem;
        box-shadow: var(--shadow);
    }

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

    .nav-links .login {
        margin-left: 0;
        text-align: center;
    }

    .grid.three,
    .grid.two,
    .grid.four,
    .feature,
    .feature.reverse,
    .footer-grid,
    .stats,
    .event,
    .dashboard {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 68vh;
    }

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

    .event .btn {
        justify-self: start;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .feature .patron-photo {
        min-height: 0;
        height: auto;
        max-height: none;
    }
}

@media (max-width: 560px) {

    .nav {
        gap: 0.75rem;
        padding: 0.8rem 0;
    }

    .brand img {
        width: 200px;
        height: auto;
    }

    .menu-btn {
        flex-shrink: 0;
    }

.nav-dropdown {
    width: 100%;
}

.nav-dropdown summary {
    width: 100%;
}

.nav-submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 6px 0 6px 16px;
    background: transparent;
    box-shadow: none;
}

.nav-submenu a {
    padding: 8px 12px;
}
    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(20, 20, 20, 0.68) 0%,
                rgba(20, 20, 20, 0.42) 45%,
                rgba(10, 10, 10, 0.16) 100%
            ),
            url("../images/image1.jpg") 58% center / cover no-repeat;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

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

    .section {
        padding: 3rem 0;
    }

    .card {
        padding: 1.1rem;
    }
}

/* =========================================================
   DYNAMIC GALLERY
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
    gap: 1.5rem;
    justify-content: start;
}

.gallery-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 9px 30px rgba(70, 20, 20, 0.055);
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gallery-card-body {
    padding: 1rem;
}

.gallery-card-body h3 {
    margin: 0 0 0.4rem;
    color: var(--navy);
    font-size: 1.18rem;
}

.gallery-card-body p {
    margin: 0;
    color: var(--muted);
}


/* =========================================================
   GALLERY LIGHTBOX
   ========================================================= */

.gallery-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.gallery-lightbox-trigger img {
    transition: transform 0.2s ease, filter 0.2s ease;
}

.gallery-lightbox-trigger:hover img {
    transform: scale(1.02);
    filter: brightness(0.92);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(48, 12, 12, 0.86);
}

.gallery-lightbox.open {
    display: flex;
}

.gallery-lightbox-panel {
    position: relative;
    max-width: min(1000px, 94vw);
    max-height: 92vh;
    background: var(--paper);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #4f1211;
}

.gallery-lightbox-text {
    padding: 1rem 1.25rem 1.25rem;
}

.gallery-lightbox-text h3 {
    margin: 0 0 0.35rem;
    color: var(--navy);
}

.gallery-lightbox-text p {
    margin: 0;
    color: var(--muted);
}

.gallery-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}


/* Facebook icon keeps its supplied colours */

.social a[aria-label="Facebook"] img {
    filter: none;
}


/* =========================================================
   HOMEPAGE SPOTLIGHTS
   ========================================================= */

.homepage-spotlight__card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: 0 16px 42px rgba(70, 20, 20, 0.1);
}

.homepage-spotlight__content {
    align-self: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.homepage-spotlight__content h2 {
    margin: 0.75rem 0 0.85rem;
    color: var(--navy);
}

.homepage-spotlight .btn.secondary,
.homepage-spotlight__detail .btn.secondary {
    border-color: var(--claret);
    background: var(--claret);
    color: #fff;
}

.homepage-spotlight .btn.secondary:hover,
.homepage-spotlight__detail .btn.secondary:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.homepage-spotlight__image-wrap {
    min-height: 320px;
}

.homepage-spotlight__image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.homepage-spotlight--fundraiser .homepage-spotlight__card {
    border-top: 5px solid #5b8f62;
}

.homepage-spotlight--event .homepage-spotlight__card {
    border-top: 5px solid var(--claret);
}

.homepage-spotlight--announcement .homepage-spotlight__card {
    border-top: 5px solid var(--gold);
}

.homepage-spotlight__detail {
    max-width: 900px;
}

/* =========================================================
   JOIN US
   ========================================================= */

.join-intro {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(2rem, 5vw, 4.5rem);
}

.join-page-hero {
    padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.join-page-hero h1 {
    max-width: 880px;
    font-size: clamp(3rem, 5.2vw, 5.15rem);
    line-height: 0.98;
}

.join-page-hero .wrap > p:last-child {
    max-width: 700px;
    margin-top: 1rem;
    font-size: 1.08rem;
    line-height: 1.55;
}

.join-page .section {
    padding: clamp(3.25rem, 6vw, 4.5rem) 0;
}

.join-page .section h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.join-page .card {
    padding: 1.65rem;
    box-shadow: 0 12px 32px rgba(70, 20, 20, 0.08);
}

.join-page .card p:last-child {
    margin-bottom: 0;
}

.join-confirmation {
    padding: 1rem 0 0;
    background: var(--paper);
}

.join-confirmation__message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    border: 1px solid #9fc7ae;
    border-left: 5px solid var(--navy);
    border-radius: 16px;
    background: #eef8f1;
    color: #123d25;
    box-shadow: 0 8px 24px rgba(10, 60, 43, 0.08);
}

.join-confirmation__message strong {
    display: block;
    font-size: 1.08rem;
}

.join-confirmation__message p {
    margin: 0.15rem 0 0;
}

.join-confirmation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
}

.join-facts {
    display: grid;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.join-facts > div {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 0.75rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--line);
}

.join-facts strong {
    color: var(--navy);
}

.join-welcome {
    align-self: stretch;
    border-top: 5px solid var(--claret);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: linear-gradient(145deg, #ffffff 0%, #fbf5f2 100%);
    box-shadow: 0 18px 48px rgba(70, 20, 20, 0.1);
}

.join-welcome h2 {
    margin-top: 0.35rem;
}

.join-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background: var(--claret);
    color: #fff;
    font-weight: 700;
}

.join-steps .card {
    position: relative;
    border-top: 4px solid var(--claret);
}

.join-faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
}

.join-faq {
    display: grid;
    gap: 0.75rem;
}

.join-faq details {
    border: 1px solid #d6cbc5;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(70, 20, 20, 0.045);
}

.join-faq summary {
    position: relative;
    padding: 1rem 3rem 1rem 1.1rem;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    font-size: 1.02rem;
}

.join-faq summary:hover,
.join-faq summary:focus-visible {
    background: #fbf5f2;
}

.join-faq summary:focus-visible {
    outline: 3px solid rgba(163, 34, 32, 0.25);
    outline-offset: -3px;
}

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

.join-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-50%);
    color: var(--claret);
    font-size: 1.4rem;
}

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

.join-faq details p {
    margin: 0;
    padding: 0 1.1rem 1.1rem;
}

.join-enquiry {
    align-items: start;
    scroll-margin-top: 2rem;
    grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
    gap: clamp(2.5rem, 6vw, 5rem);
}

.join-enquiry > div:first-child {
    padding-top: 1rem;
}

.join-enquiry .panel {
    box-shadow: 0 18px 48px rgba(70, 20, 20, 0.1);
}

@media (max-width: 980px) {
    .join-intro,
    .join-enquiry {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .join-faq-wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 760px) {
    .join-page-hero {
        padding: 2.75rem 0 3.25rem;
    }

    .join-page-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.4rem);
        line-height: 1;
    }

    .join-facts > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .join-page .card,
    .join-welcome {
        padding: 1.25rem;
    }
}

/* Spotlight detail hero: editorial split layout with the story and featured image side by side. */
.spotlight-page-hero {
    padding: 3.25rem 0;
    background: linear-gradient(135deg, #741817 0%, var(--claret) 56%, #7b201d 100%);
    color: #ffffff;
}

.spotlight-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.spotlight-page-hero__copy {
    min-width: 0;
}

.spotlight-page-hero__eyebrow {
    margin: 0 0 0.8rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.spotlight-page-hero__title {
    max-width: 650px;
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(2.75rem, 4.4vw, 4.6rem);
    line-height: 0.98;
    color: #ffffff;
    text-wrap: balance;
}

.spotlight-page-hero__summary {
    max-width: 620px;
    margin: 1.25rem 0 0;
    color: #f8e6e4;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.55;
}

.spotlight-page-hero__media {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(55, 12, 12, 0.28);
}

.spotlight-page-hero__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.spotlight-page-hero--text-only .spotlight-page-hero__grid {
    grid-template-columns: 1fr;
}

.spotlight-page-hero--text-only .spotlight-page-hero__copy {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}

.spotlight-page-hero--text-only .spotlight-page-hero__title,
.spotlight-page-hero--text-only .spotlight-page-hero__summary {
    margin-inline: auto;
}

@media (max-width: 900px) {
    .spotlight-page-hero {
        padding: 2.75rem 0 3rem;
    }

    .spotlight-page-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spotlight-page-hero__copy {
        max-width: 760px;
    }

    .spotlight-page-hero__title {
        font-size: clamp(2.6rem, 7vw, 3.8rem);
    }

    .spotlight-page-hero__media {
        width: min(100%, 760px);
    }
}

@media (max-width: 560px) {
    .spotlight-page-hero {
        padding: 2rem 0 2.25rem;
    }

    .spotlight-page-hero__grid {
        gap: 1.5rem;
    }

    .spotlight-page-hero__eyebrow {
        margin-bottom: 0.65rem;
        font-size: 0.74rem;
        letter-spacing: 0.11em;
    }

    .spotlight-page-hero__title {
        font-size: clamp(2.1rem, 11vw, 2.8rem);
        line-height: 1;
    }

    .spotlight-page-hero__summary {
        margin-top: 0.9rem;
        font-size: 1rem;
        line-height: 1.48;
    }

    .spotlight-page-hero__media {
        border-radius: 18px;
    }
}

/* Recording collection detail hero: compact editorial layout with optional concert image. */
.recording-collection-hero {
    padding: 2.75rem 0 3.25rem;
    background: linear-gradient(135deg, #741817 0%, var(--claret) 58%, #7b201d 100%);
    color: #ffffff;
}

.recording-collection-hero__breadcrumb {
    max-width: none;
    margin: 0 0 1.5rem;
    color: #f1d7d4;
}

.recording-collection-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.recording-collection-hero__copy {
    min-width: 0;
}

.recording-collection-hero__eyebrow {
    margin: 0 0 0.8rem;
    font-size: 0.82rem;
    line-height: 1.3;
}

.recording-collection-hero__title {
    max-width: 680px;
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(2.65rem, 4.2vw, 4.45rem);
    line-height: 0.98;
    color: #ffffff;
    text-wrap: balance;
}

.recording-collection-hero__venue {
    margin: 1.1rem 0 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.recording-collection-hero__summary {
    max-width: 650px;
    margin: 1rem 0 0;
    color: #f8e6e4;
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.55;
}

.recording-collection-hero__media {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(55, 12, 12, 0.3);
}

.recording-collection-hero__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.recording-collection-hero--text-only .recording-collection-hero__grid {
    grid-template-columns: 1fr;
}

.recording-collection-hero--text-only .recording-collection-hero__copy {
    max-width: 820px;
}

@media (max-width: 900px) {
    .recording-collection-hero {
        padding: 2.5rem 0 2.75rem;
    }

    .recording-collection-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recording-collection-hero__title {
        font-size: clamp(2.5rem, 7vw, 3.7rem);
    }

    .recording-collection-hero__media {
        width: min(100%, 760px);
    }
}

@media (max-width: 560px) {
    .recording-collection-hero {
        padding: 1.75rem 0 2.25rem;
    }

    .recording-collection-hero__breadcrumb {
        margin-bottom: 1.15rem;
        font-size: 0.8rem;
    }

    .recording-collection-hero__grid {
        gap: 1.5rem;
    }

    .recording-collection-hero__eyebrow {
        font-size: 0.74rem;
        letter-spacing: 0.11em;
    }

    .recording-collection-hero__title {
        font-size: clamp(2.1rem, 11vw, 2.85rem);
        line-height: 1;
    }

    .recording-collection-hero__summary {
        font-size: 1rem;
        line-height: 1.48;
    }

    .recording-collection-hero__media {
        border-radius: 18px;
    }
}

/* Recording collection playlist: compact rows for easy browsing and listening. */
.recording-playlist-section {
    padding-top: clamp(2.75rem, 5vw, 4.5rem);
}

.recording-playlist-wrap {
    max-width: 980px;
}

.recording-playlist-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.recording-playlist-heading h2 {
    margin: 0;
}

.recording-playlist {
    overflow: hidden;
    border: 1px solid rgba(10, 60, 43, 0.17);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(49, 35, 29, 0.07);
}

.recording-playlist__item {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(10, 60, 43, 0.12);
}

.recording-playlist__item:last-child {
    border-bottom: 0;
}

.recording-playlist__item:nth-child(even) {
    background: rgba(10, 60, 43, 0.022);
}

.recording-playlist__title-row {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
}

.recording-playlist__number {
    display: inline-grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: 50%;
    background: #edf4ef;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
}

.recording-playlist__title {
    min-width: 0;
    margin: 0;
    color: var(--navy);
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1.3;
}

.recording-playlist__description {
    margin: 0.55rem 0 0 2.5rem;
    color: var(--muted);
    line-height: 1.5;
}

.recording-playlist__download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(163, 34, 32, 0.24);
    border-radius: 999px;
    color: var(--claret);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.recording-playlist__download:hover,
.recording-playlist__download:focus-visible {
    border-color: var(--claret);
    background: var(--claret);
    color: #ffffff;
}

.recording-playlist audio.collection-player {
    display: block;
    width: calc(100% - 2.5rem);
    height: 42px;
    margin: 0.65rem 0 0 2.5rem;
}

.recording-playlist video.collection-player {
    display: block;
    width: calc(100% - 2.5rem);
    max-height: 580px;
    margin: 0.9rem 0 0 2.5rem;
    border-radius: 14px;
    background: #000000;
}

.recording-playlist__embed {
    width: calc(100% - 2.5rem);
    margin: 0.9rem 0 0 2.5rem;
    aspect-ratio: 16 / 9;
}

.recording-playlist__embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

.recording-playlist__empty {
    margin: 0;
    padding: 1.5rem;
}

@media (max-width: 560px) {
    .recording-playlist-heading {
        align-items: flex-start;
    }

    .recording-playlist-heading .btn {
        padding: 0.7rem 0.85rem;
        font-size: 0.82rem;
    }

    .recording-playlist__item {
        padding: 0.9rem;
    }

    .recording-playlist__title-row {
        grid-template-columns: 1.8rem minmax(0, 1fr) auto;
        gap: 0.55rem;
    }

    .recording-playlist__download {
        width: 2.35rem;
        height: 2.35rem;
        justify-content: center;
        padding: 0;
    }

    .recording-playlist__download span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .recording-playlist__description,
    .recording-playlist audio.collection-player,
    .recording-playlist video.collection-player,
    .recording-playlist__embed {
        width: 100%;
        margin-left: 0;
    }
}

/* Public Music and Gallery libraries. */
.media-page-hero {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.media-page-hero h1 {
    max-width: 760px;
    margin-bottom: 0.65rem;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.98;
}

.media-page-hero p:last-child {
    margin-bottom: 0;
}

.media-library-section {
    padding-top: clamp(3rem, 5vw, 4.5rem);
}

.media-library-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
}

.media-library-heading .eyebrow,
.media-library-heading h2,
.media-library-heading > p {
    margin: 0;
}

.media-library-heading .eyebrow {
    margin-bottom: 0.25rem;
}

.media-library-heading > p {
    color: var(--muted);
    font-weight: 700;
}

.media-library-subheading {
    margin: 3.25rem 0 1rem;
}

.media-library-subheading h2 {
    margin: 0;
}

.recording-collection-grid,
.gallery-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.recording-collection-card,
.gallery-album-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(70, 20, 20, 0.07);
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.recording-collection-card:hover,
.recording-collection-card:focus-visible,
.gallery-album-card:hover,
.gallery-album-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(163, 34, 32, 0.35);
    box-shadow: 0 18px 42px rgba(70, 20, 20, 0.12);
}

.recording-collection-card__media,
.gallery-album-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--sage);
}

.media-image-placeholder {
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #f1ede7;
    color: #655f58;
    font-weight: 700;
    text-align: center;
}

.gallery-album-card__media .media-image-placeholder {
    height: 100%;
    min-height: 100%;
}

.recording-collection-card__media img,
.gallery-album-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.recording-collection-card:hover img,
.gallery-album-card:hover img {
    transform: scale(1.025);
}

.recording-collection-card__media--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--claret), #721817);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.recording-collection-card__body,
.gallery-album-card__body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.recording-collection-card__body .eyebrow {
    margin: 0 0 0.3rem;
    color: var(--claret);
    font-size: 0.72rem;
}

.recording-collection-card__body h3,
.gallery-album-card__body h3 {
    margin: 0.35rem 0;
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 1.4rem;
    line-height: 1.15;
}

.recording-collection-card__body p {
    margin: 0.35rem 0 0.75rem;
    color: var(--muted);
}

.recording-collection-card__body > span,
.gallery-album-card__action {
    color: var(--claret);
    font-size: 0.88rem;
    font-weight: 700;
}

.music-browser {
    margin-top: clamp(3.5rem, 7vw, 6rem);
}

.music-browser__heading {
    margin-bottom: 1rem;
}

.music-search-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(145px, 0.7fr)) auto;
    gap: 0.85rem;
    align-items: end;
    margin-bottom: 1.4rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.music-search-panel label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
}

.music-search-panel input,
.music-search-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cfc8c2;
    border-radius: 10px;
    background: #ffffff;
    padding: 0.65rem 0.75rem;
    color: var(--ink);
    font: inherit;
}

.music-search-panel .btn {
    min-height: 44px;
}

.music-search-panel__clear {
    grid-column: 1 / -1;
    justify-self: start;
    color: var(--claret);
    font-size: 0.85rem;
    font-weight: 700;
}

.music-results-list .recording-playlist__item--visual {
    padding-block: 1.2rem;
}

.music-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.7rem;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.music-result__meta a {
    color: var(--claret);
    font-weight: 700;
    text-decoration: none;
}

.music-result__visibility {
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: var(--sage);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
}

.media-pagination {
    margin-top: 1.75rem;
}

.public-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.public-pagination__pages {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.public-pagination__step,
.public-pagination__page,
.public-pagination__ellipsis {
    display: inline-flex;
    min-width: 2.55rem;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--claret);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.public-pagination__step:hover,
.public-pagination__step:focus-visible,
.public-pagination__page:hover,
.public-pagination__page:focus-visible,
.public-pagination__page.is-current {
    border-color: var(--navy);
    background: var(--navy);
    color: #ffffff;
}

.public-pagination__step.is-disabled,
.public-pagination__ellipsis {
    color: var(--muted);
    cursor: default;
    opacity: 0.58;
}

.public-pagination__ellipsis {
    border-color: transparent;
    background: transparent;
    padding-inline: 0.25rem;
}

.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;
}

.media-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.5rem;
}

.media-filter-tabs a {
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--claret);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.media-filter-tabs a:hover,
.media-filter-tabs a:focus-visible,
.media-filter-tabs a.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: #ffffff;
}

.gallery-album-card__count {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(10, 60, 43, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.gallery-album-card__body .pill {
    margin-bottom: 0.35rem;
}

.gallery-grid--photos {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.1rem;
}

.gallery-photo-card {
    border-radius: 18px;
}

.gallery-photo-card .gallery-lightbox-trigger {
    position: relative;
    overflow: hidden;
}

.gallery-photo-card img {
    height: auto;
    aspect-ratio: 4 / 3;
}

.gallery-photo-card__open {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(10, 60, 43, 0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.gallery-lightbox-trigger:hover .gallery-photo-card__open,
.gallery-lightbox-trigger:focus-visible .gallery-photo-card__open {
    opacity: 1;
    transform: translateY(0);
}

.media-empty-state {
    padding: 2rem;
    border: 1px dashed #cfc8c2;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.media-empty-state h2,
.media-empty-state p {
    margin-top: 0;
}

@media (max-width: 1000px) {
    .recording-collection-grid,
    .gallery-album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .music-search-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .music-search-panel__search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .media-page-hero {
        padding: 2.25rem 0 2.5rem;
    }

    .media-page-hero h1 {
        font-size: clamp(2.65rem, 13vw, 3.5rem);
    }

    .media-library-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .recording-collection-grid,
    .gallery-album-grid,
    .music-search-panel {
        grid-template-columns: 1fr;
    }

    .music-search-panel__search {
        grid-column: auto;
    }

    .music-browser {
        margin-top: 3.5rem;
    }

    .public-pagination {
        justify-content: space-between;
    }

    .public-pagination__pages {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .gallery-photo-card__open {
        opacity: 1;
        transform: none;
    }
}

.homepage-spotlight__detail-image {
    display: block;
    width: 100%;
    max-height: 560px;
    margin-bottom: 2rem;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(70, 20, 20, 0.1);
}

.homepage-spotlight__body {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.8;
}

.spotlight-updates {
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--line);
}

.spotlight-updates > h2 {
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.spotlight-update {
    position: relative;
    margin-bottom: 2rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-left: 5px solid var(--claret);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: 0 10px 30px rgba(70, 20, 20, 0.06);
}

.spotlight-update__header time {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--claret);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.spotlight-update__header h3 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.spotlight-update__body {
    color: var(--ink);
    line-height: 1.75;
}

.spotlight-update__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.spotlight-update__gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
}

.spotlight-update__gallery img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.spotlight-update__gallery figcaption {
    padding: 0.75rem 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 760px) {
    .homepage-spotlight__card {
        grid-template-columns: 1fr;
    }

    .homepage-spotlight__image-wrap,
    .homepage-spotlight__image {
        min-height: 220px;
        max-height: 320px;
    }

    .spotlight-update__gallery {
        grid-template-columns: 1fr;
    }

    .spotlight-update__gallery img {
        height: auto;
        max-height: 420px;
    }
}

/* Homepage Spotlight main-story photo gallery */
.homepage-spotlight__photos {
    margin-top: 2.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.homepage-spotlight__photos > h2 {
    margin: 0 0 1.25rem;
    color: var(--navy);
}

.homepage-spotlight__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.homepage-spotlight__gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 10px 28px rgba(70, 20, 20, 0.07);
}

.homepage-spotlight__gallery figure:only-child {
    grid-column: 1 / -1;
    width: min(100%, 680px);
    justify-self: center;
}

.homepage-spotlight__gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.homepage-spotlight__gallery figcaption {
    padding: 0.85rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .homepage-spotlight__photos {
        margin-top: 2.25rem;
        padding-top: 1.5rem;
    }

    .homepage-spotlight__gallery {
        grid-template-columns: 1fr;
    }

    .homepage-spotlight__gallery figure:only-child {
        width: 100%;
    }

    .homepage-spotlight__gallery img {
        aspect-ratio: auto;
        max-height: 520px;
        object-fit: cover;
    }
}

/* =========================================================
   SPOTLIGHT ARCHIVE
   ========================================================= */

.spotlight-archive-hero {
    padding: 3.5rem 0;
}

.spotlight-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.spotlight-archive__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: 0 12px 34px rgba(70, 20, 20, 0.08);
}

.spotlight-archive__image-link {
    display: block;
    overflow: hidden;
    background: var(--soft);
}

.spotlight-archive__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.spotlight-archive__card:hover .spotlight-archive__image {
    transform: scale(1.015);
}

.spotlight-archive__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.4rem;
}

.spotlight-archive__content h2 {
    margin: 0.75rem 0 0.65rem;
    color: var(--navy);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.spotlight-archive__content h2 a {
    text-decoration: none;
}

.spotlight-archive__content h2 a:hover {
    color: var(--claret);
}

.spotlight-archive__content p {
    margin-top: 0;
}

.spotlight-archive__meta {
    margin-top: auto !important;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.spotlight-archive__content .actions {
    margin-top: 1rem;
}

.spotlight-archive__empty {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.spotlight-archive__pagination {
    margin-top: 2.5rem;
}

@media (max-width: 980px) {
    .spotlight-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .spotlight-archive-hero {
        padding: 2.75rem 0;
    }

    .spotlight-archive__grid {
        grid-template-columns: 1fr;
    }
}

.project90-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    margin-top: 2rem;
}

.project90-video-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: 0 10px 28px rgba(70, 20, 20, 0.08);
}

.project90-video-card__button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #111;
    cursor: pointer;
}

.project90-video-card__button img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.project90-video-card__button:hover img,
.project90-video-card__button:focus-visible img {
    opacity: 0.82;
    transform: scale(1.015);
}

.project90-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding-left: 4px;
    border-radius: 50%;
    background: var(--claret);
    color: #fff;
    font-size: 1.4rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project90-video-card__body {
    padding: 1rem 1.1rem 1.15rem;
}

.project90-video-card__body h3 {
    margin: 0 0 0.65rem;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.35;
}

.project90-video-card__link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--claret);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.project90-dialog {
    width: min(960px, calc(100% - 2rem));
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: var(--panel);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.project90-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.project90-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.project90-dialog__header h2 {
    margin: 0;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
}

.project90-dialog__close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.project90-dialog__player {
    background: #000;
    aspect-ratio: 16 / 9;
}

.project90-dialog__player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .project90-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .project90-video-grid {
        grid-template-columns: 1fr;
    }
}

/* Recording collections: compact click-to-play YouTube presentation. */
.recording-playlist-heading__hint {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.recording-playlist__item--youtube {
    padding: 0;
}

.recording-playlist__item--youtube .recording-playlist__title-row {
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    padding: 1rem 1.15rem;
}

.recording-playlist__track-copy {
    min-width: 0;
}

.recording-playlist__item--youtube .recording-playlist__description {
    margin: 0.28rem 0 0;
}

.recording-playlist__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 6.25rem;
    padding: 0.58rem 0.9rem;
    border: 1px solid rgba(163, 34, 32, 0.35);
    border-radius: 999px;
    background: #ffffff;
    color: var(--claret);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.recording-playlist__play:hover,
.recording-playlist__play:focus-visible,
.recording-playlist__play[aria-expanded="true"] {
    border-color: var(--claret);
    background: var(--claret);
    color: #ffffff;
}

.recording-playlist__play:active {
    transform: translateY(1px);
}

.recording-playlist__play-icon {
    font-size: 0.78rem;
    line-height: 1;
}

.recording-playlist__player {
    width: 100%;
    border-top: 1px solid rgba(10, 60, 43, 0.12);
    background: #0d0d0d;
    aspect-ratio: 16 / 9;
}

.recording-playlist__player[hidden] {
    display: none;
}

.recording-playlist__player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 560px) {
    .recording-playlist__item--youtube .recording-playlist__title-row {
        grid-template-columns: 1.8rem minmax(0, 1fr);
        padding: 0.9rem;
    }

    .recording-playlist__item--youtube .recording-playlist__play {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.35rem;
    }
}

/* WGCMVC four updates 2026-10-04 */
/* Higher specificity than the general .eyebrow colour, including on mobile. */
.recording-collection-hero .recording-collection-hero__eyebrow {
    color: #ffffff;
    opacity: 1;
}

/* Scope to FAQ controls marked by the installer. */
.wgcmvc-faq-control {
    -webkit-tap-highlight-color: transparent;
}

/* Older browsers keep their native focus indicator. */
@supports selector(:focus-visible) {
    .wgcmvc-faq-control:focus:not(:focus-visible) {
        outline: none !important;
        box-shadow: none !important;
    }

    .wgcmvc-faq-control:focus-visible {
        outline: 3px solid var(--claret, #a32220) !important;
        outline-offset: 3px;
    }
}

/* Editable homepage banner: the existing gradients stay above the photograph. */
.homepage-hero::before { background-image: linear-gradient(90deg, rgba(20,20,20,.68) 0%, rgba(20,20,20,.42) 38%, rgba(10,10,10,.18) 70%, rgba(0,0,0,.04) 100%); }
.homepage-hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:var(--hero-position,50%) center; z-index:-3; }
@media(max-width: 560px) {
    .homepage-hero-image { object-position:var(--hero-mobile-position,58%) center; }
    .homepage-hero::before { background-image:linear-gradient(90deg, rgba(20,20,20,.68), rgba(20,20,20,.42) 45%, rgba(10,10,10,.16)); }
}

/* =========================================================
   WGCMVC TABLET RESPONSIVE IMPROVEMENTS - 2026-10-12
   Keep existing desktop and mobile layouts unchanged.
   ========================================================= */
@media (min-width: 761px) and (max-width: 1200px) {
    /* Switch to the existing collapsible navigation on tablets. */
    .menu-btn {
        display: inline-flex;
        flex-shrink: 0;
    }

    .top-strip {
        display: none;
    }

    .brand img {
        width: min(290px, 42vw);
        height: auto;
    }

    .nav-links {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 0.6rem;
        box-shadow: var(--shadow);
    }

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

    .nav-links .login {
        margin-left: 0;
        text-align: center;
    }

    /* Make large headings readable in iPad landscape. */
    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.75rem, 5vw, 4.5rem);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    .hero {
        min-height: 0;
        padding: 4rem 0;
    }

    .hero-card {
        max-width: min(720px, 100%);
    }

    .hero p {
        font-size: clamp(1rem, 1.8vw, 1.25rem);
        line-height: 1.6;
    }
}

/* Alistair UAT stage 1: interior banners and public navigation. */
.page-hero { padding-block: 2.5rem; }
.page-hero h1 { margin-top: 0; }
.about-page-hero h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.12; }
.about-page-hero .wrap > p:last-child { max-width: 100%; }
.menu-btn { align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.menu-btn:focus-visible, .nav-links a:focus-visible, .nav-dropdown summary:focus-visible { outline: 3px solid var(--claret); outline-offset: 3px; }
.nav-dropdown.is-active > summary { background: var(--soft); color: var(--claret); }
.nav-links .login[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 2px currentColor; }
#gallery-library { scroll-margin-top: 150px; }
@media (max-width: 760px) {
    .page-hero { padding-block: 1.75rem; }
    #gallery-library { scroll-margin-top: 120px; }
}