@font-face {
    font-family: "Futura PT";
    src: url("../fonts/Futura-PT-Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Futura PT";
    src: url("../fonts/FuturaLTPaneuropeanMedium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Futura PT";
    src: url("../fonts/Futura-PT-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Base
   ========================================================================== */
.gala-page,
.gala-page *,
.gala-page *::before,
.gala-page *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}
span.btn-stripe {
    position: relative;
}
.btn-stripe::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg,

                  rgba(255, 255, 255, 0.10) 0 8px,

                  rgba(0, 0, 0, 0.05) 8px 16px);
    opacity: 0.85;
    background-size: 200% 100%;
    animation: slideLayer 5s linear infinite;
    pointer-events: none;
}

span.btn-stripe {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.btn-stripe::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.10) 0 8px,
        rgba(0, 0, 0, 0.05) 8px 16px
    );
    background-size: 200% 100%;
    opacity: 0.85;
    animation: slideLayer 5s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes slideLayer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: -100% 0%;
    }
}
.gala-page {
    background: #ffffff;
    color: #000000;
    font-family: "Futura PT", "Century Gothic", Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* :where() keeps these resets at zero specificity so component classes win */
:where(.gala-page) h1,
:where(.gala-page) h2,
:where(.gala-page) p,
:where(.gala-page) figure {
    margin: 0;
}

:where(.gala-page) img {
    display: block;
    max-width: 100%;
    height: auto;
}

:where(.gala-page) a {
    color: inherit;
    text-decoration: none;
}

.gala-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 67px;
}

/* Outlined pill button (Get Tickets) */
.gala-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #ffffff;
    border-radius: 45px;
    color: #ffffff;
    font-family: "Futura PT", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.gala-btn:hover,
.gala-btn:focus-visible {
    background: #ffffff;
    color: #3791b1;
    text-decoration: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 744px;
    overflow: hidden;
    background: #606766;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
}

/* Wide screens: the photo grows taller than the 744px hero, so a bottom crop
   cuts off the speakers' faces. Keep the head ~60px below the top, but
   never show less than the bottom of the photo (exact Figma crop at 1440). */
@media (min-width: 1280px) {
    .hero__bg {
        object-position: center max(60px - 18.02vw, 744px - 66.73vw);
    }
}

.hero__inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 76px;
}

.hero__title {
    color: #ffffff;
    font-weight: 500;
    font-size: 114px;
    line-height: 146px;
}

/* ==========================================================================
   Intro + event bar
   ========================================================================== */
.intro {
    padding: 97px 0 135px;
    text-align: center;
}

.intro__title {
    font-weight: 500;
    font-size: 44px;
    color: #000;
    line-height: 56px;
}

.intro__text {
    max-width: 743px;
    margin: 33px auto 0;
    font-size: 20px;
    line-height: 26px;
}

.intro .event-bar {
    margin-top: 50px;
}

.event-bar {
    display: grid;
    grid-template-columns: 451fr 599fr 255fr;
    grid-template-columns: 1fr 1fr;
    min-height: 142px;
    background: #3791b1;
    color: #ffffff;
    text-align: left;
}

.event-bar__col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-bar__col--date {
    gap: 13px;
    padding-left: 42px;
}

.event-bar__col--venue {
    gap: 12px;
    padding-left: 73px;
    border-left: 3px solid #ffffff;
}

.event-bar__col--cta {
    justify-content: center;
    border-left: 3px solid #ffffff;
    display: none;
}

.event-bar__icon {
    position: relative;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
}

.event-bar__icon img {
    width: 66px;
    height: 66px;
}

.event-bar__icon--calendar img {
    position: absolute;
    top: 4.09px;
    left: 7.53px;
    width: 50.945px;
    height: 55.62px;
}

.event-bar__heading {
    font-weight: 500;
    font-size: 27px;
    line-height: 35px;
}

.event-bar__sub {
    margin-top: 3px;
    font-size: 18px;
    line-height: 23px;
}

/* ==========================================================================
   Past gala highlights
   ========================================================================== */
.highlights {
    padding: 91px 0 133px;
    background: #5a5a5a;
}

.highlights__title {
    margin-bottom: 71px;
    color: #ffffff;
    font-weight: 500;
    font-size: 64px;
    line-height: 82px;
    text-align: center;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery__row {
    display: grid;
    gap: 20px;
}

.gallery__row--a { grid-template-columns: 393fr 579fr 293fr; }
.gallery__row--b { grid-template-columns: 579fr 343fr 343fr; }
.gallery__row--c { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__row--d { grid-template-columns: repeat(2, 1fr); gap: 21px; }

.gallery__item {
    height: 358px;
    overflow: hidden;
    background: #4a4a4a;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Portrait shots with faces near the top: anchor the crop to keep heads in */
.gallery__item--top img {
    object-position: center 12%;
}

.gallery__item:hover img {
    transform: scale(1.04);
}

/* ==========================================================================
   Closing
   ========================================================================== */
.closing {
    padding-top: 80px;
}

.closing__title {
    margin-bottom: 51px;
    font-weight: 500;
    font-size: 114px;
    line-height: 146px;
    text-align: center;
    color: #000;
}

.event-bar-wrap {
    background: #3791b1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
    .gala-container { padding: 0 40px; }

    .hero { height: 640px; }
    .hero__title,
    .closing__title { font-size: 96px; line-height: 122px; }

    .highlights__title { font-size: 56px; line-height: 72px; }

    .gallery__item { height: 300px; }

    .event-bar__col--date { padding-left: 32px; }
    .event-bar__col--venue { padding-left: 40px; }
    .event-bar__heading { font-size: 24px; line-height: 31px; }
    .event-bar__sub { font-size: 16px; line-height: 21px; }
}

@media (max-width: 991px) {
    .hero { height: 520px; }
    .hero__inner { padding-bottom: 56px; }
    .hero__title,
    .closing__title { font-size: 76px; line-height: 98px; }

    .intro { padding: 72px 0 100px; }
    .intro__title { font-size: 38px; line-height: 48px; }
    .intro__text { margin-top: 24px; font-size: 18px; line-height: 25px; }
    .intro .event-bar { margin-top: 40px; }

    .highlights { padding: 72px 0 100px; }
    .highlights__title { margin-bottom: 48px; font-size: 48px; line-height: 62px; }

    .gallery,
    .gallery__row { gap: 14px; }
    .gallery__item { height: 300px; }

    .closing { padding-top: 64px; }
    .closing__title { margin-bottom: 40px; }

    /*.event-bar { grid-template-columns: 1.3fr 1.5fr 1fr; min-height: 120px; }*/
    .event-bar { grid-template-columns: 1fr 1fr; min-height: 120px; }
    .event-bar__col--date { gap: 10px; padding-left: 20px; }
    .event-bar__col--venue { gap: 10px; padding-left: 20px; }
    .event-bar__icon,
    .event-bar__icon img { flex-basis: 48px; width: 48px; height: 48px; }
    .event-bar__icon--calendar img { top: 2.98px; left: 5.48px; width: 37.05px; height: 40.45px; }
    .event-bar__heading { font-size: 20px; line-height: 26px; }
    .event-bar__sub { margin-top: 2px; font-size: 14px; line-height: 18px; }
}

@media (max-width: 767px) {
    .gala-container { padding: 0 20px; }

    .hero { height: 420px; }
    .hero__inner { padding-bottom: 40px; }
    .hero__title,
    .closing__title { font-size: 54px; line-height: 70px; }

    .intro { padding: 56px 0 72px; }
    .intro__title { font-size: 32px; line-height: 40px; }
    .intro__text { font-size: 17px; line-height: 24px; }

    .highlights { padding: 56px 0 72px; }
    .highlights__title { margin-bottom: 36px; font-size: 38px; line-height: 48px; }

    /* Gallery collapses to a uniform 2-column grid */
    .gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery__row { display: contents; }
    .gallery__item { height: 280px; }

    .closing { padding-top: 48px; }
    .closing__title { margin-bottom: 32px; text-align: center; }

    /* Event bar stacks vertically */
    .event-bar {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .event-bar__col { justify-content: center; padding: 22px 20px; }
    .event-bar__col--date,
    .event-bar__col--venue { padding-left: 20px; }
    .event-bar__col--venue,
    .event-bar__col--cta {
        border-left: 0;
        border-top: 3px solid #ffffff;
    }
    .event-bar-wrap .gala-container { padding: 0; }
}

@media (max-width: 479px) {
    .hero { height: 360px; }
    .hero__inner { padding-bottom: 28px; }
    .hero__title,
    .closing__title { font-size: 42px; line-height: 54px; }

    .intro__title { font-size: 28px; line-height: 36px; }
    .intro__text { font-size: 16px; line-height: 23px; }

    .highlights__title { font-size: 32px; line-height: 42px; }

    .gallery { gap: 8px; }
    .gallery__item { height: auto; }
    .gallery{
        grid-template-columns: 1fr;
    }
    .event-bar__heading { font-size: 19px; line-height: 25px; }
}
