﻿/* =========================================================
           RESET
        ========================================================= */

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            background: #fff9f4;
            color: #252525;
            -webkit-font-smoothing: antialiased;
        }

        img {
            display: block;
            width: 100%;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button {
            font: inherit;
        }

        .container {
            width: min(100% - 40px, 1280px);
            margin: 0 auto;
        }

        .eyebrow {
            font-family: "Roboto", Helvetica, Arial, sans-serif;
            margin: 0;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: rgba(0, 0, 0, 0.45);
        }


        /* =========================================================
           BUTTONS
        ========================================================= */

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;

            gap: 10px;

            padding: 13px 22px;

            border: 0;

            font-size: 14px;
            font-weight: 700;

            transition:
                transform 0.2s ease,
                background 0.2s ease;
        }

        .button:hover {
            transform: translateY(-2px);
        }

        .button--yellow {
            background: #ffd83d;
            color: #000;
        }

        .button--dark {
            background: #252525;
            color: #fff;
        }

        .button--white {
            background: #fff;
            color: #000;
        }


        /* =========================================================
           INTRO BAND
        ========================================================= */

        .intro-band {
            padding: 72px 0;

            background: #252525;
            color: #fff;
        }

        .intro-band__grid {
            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 80px;

            align-items: end;
        }

        .intro-band__title {
            margin: 0;

            font-size: clamp(42px, 5vw, 62px);
            line-height: 1;

            font-weight: 600;
        }

        .intro-band__title span {
            display: block;

            margin-top: 6px;

            color: #ffd83d;

            font-style: italic;
            font-weight: 300;
        }

        .intro-band__copy {
            margin: 0;

            max-width: 540px;

            font-size: 18px;
            line-height: 1.7;

            color: rgba(255,255,255,.65);
        }


        /* =========================================================
           FESTIVE MOOD GRID
        ========================================================= */

        .mood {
            padding: 70px 0 90px;
        }

        .mood-grid {
            display: grid;

            grid-template-columns: 1.3fr .7fr .7fr;

            grid-template-rows: 260px 260px;

            gap: 16px;
        }

        .mood-card {
            position: relative;

            overflow: hidden;
        }

        .mood-card--large {
            grid-row: span 2;
        }

        .mood-card img {
            width: 100%;
            height: 100%;

            object-fit: cover;
        }

        .mood-card__overlay {
            position: absolute;
            inset: 0;

            background:
                linear-gradient(
                    to top,
                    rgba(0,0,0,.6),
                    transparent 65%
                );
        }

        .mood-card__content {
            position: absolute;

            left: 24px;
            right: 24px;
            bottom: 24px;

            color: #fff;
        }

        .mood-card__content span {
            display: block;

            margin-bottom: 6px;

            font-size: 10px;
            font-weight: 700;

            letter-spacing: .18em;
            text-transform: uppercase;
        }

        .mood-card__content h3 {
            margin: 0;

            font-size: 30px;
            line-height: 1.05;
        }

        .mood-card--yellow {
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            padding: 28px;

            background: #ffd83d;
        }

        .mood-card--blue {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;

            padding: 28px;

            background: #87d7d2;
        }

        .mood-card--yellow h3,
        .mood-card--blue h3 {
            margin: 0;

            font-size: 34px;
            line-height: 1;
        }


        /* =========================================================
           PROGRAMME
        ========================================================= */

        .programme {
            padding: 90px 0 100px;
            background: #fff;
        }

        .programme-heading {
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 40px;
            align-items: end;
            margin-bottom: 38px;
        }

        .programme-heading h2 {
            margin: 10px 0 0;
        }

        .programme-heading__description {
            max-width: 420px;
            margin: 0;
        }

        .programme-heading__description p {
            margin: 0;
        }


        /* =========================================================
           FESTIVAL DATE PASS
        ========================================================= */

        .date-strip {
            margin-bottom: 60px;

            overflow-x: auto;

            border-top: 2px solid #252525;
            border-bottom: 2px solid #252525;

            scrollbar-width: none;
        }

        .date-strip::-webkit-scrollbar {
            display: none;
        }

        .date-strip__inner {
            display: flex;

            min-width: max-content;
        }

        .date-button {
            display: flex;

            flex: 0 0 auto;
            flex-direction: column;

            min-width: 92px;

            padding: 18px 20px;

            border: 0;
            border-right: 1px solid #ddd;

            background: #fff;

            cursor: pointer;

            text-align: left;
        }

        .date-button:hover {
            background: #ffd83d;
        }

        .date-button.active {
            background: #252525;
            color: #fff;
        }

        .date-button__month {
            font-size: 10px;
            font-family: "Roboto", Helvetica, Arial, sans-serif;
            letter-spacing: .17em;
            text-transform: uppercase;
            opacity: .5;
        }

        .date-button__day {
            margin-top: 6px;

            font-size: 30px;
            font-weight: 700;
        }

        .date-button--all {
            min-width: 125px;
        }

        .date-button--all .date-button__day {
            font-size: 15px;
        }


        /* =========================================================
           DAY HEADER
        ========================================================= */

        .event-day {
            margin-bottom: 78px;
        }

        .event-day.is-hidden {
            display: none;
        }

        .day-header {
            display: grid;

            grid-template-columns: 1fr auto;

            gap: 30px;

            align-items: end;

            margin-bottom: 25px;
        }

        .day-header__number {
            font-size: 82px;
            line-height: .8;
            font-weight: 700;
            color: #ff7677;
        }

        .day-header h3 {
            margin: 0;
        }

        .day-header__date h3 {
            display: flex;
            align-items: baseline;
            flex-wrap: nowrap;
            gap: 8px;
        }

        .day-header__calendar-date {
            font-size: 1.2em;
            white-space: nowrap;
        }

        .day-header__date-number {
            color: #ff7677;
            font-size: 1.3em;
        }

        .day-header__weekday {
            font-size: .72em;
            font-weight: 400;
            white-space: nowrap;
        }

        .day-header__separator {
            color: rgba(0,0,0,.35);
            font-weight: 400;
        }

        .day-header p {
            margin: 5px 0 0;
        }

        .day-header__occasion {
            font-size: 14px;
        }


        /* =========================================================
           EVENT MOSAIC
        ========================================================= */

        .event-grid {
            display: grid;

            grid-template-columns: repeat(12, 1fr);

            gap: 16px;
        }


        /* =========================================================
           EVENT TILE
        ========================================================= */

        .event-tile {
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 280px;
            padding: 28px;
            background: #fbf8ee;
            border-top: 5px solid #FCD131;
            transition:
                transform .25s ease,
                box-shadow .25s ease;
        }

        .event-tile:hover {
            transform: translateY(-3px);

            box-shadow:
                0 15px 35px rgba(0,0,0,.08);
        }

        .event-tile--half {
            grid-column: span 6;
        }

        .event-tile--small {
            grid-column: span 4;
        }

        .event-tile--large {
            grid-column: span 8;
        }

        .event-tile__top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 20px;
        }

        .event-tile__tag {
            display: inline-block;
            padding: 5px 9px;
            background: #fff;
            border: 1px solid rgba(0,0,0,.1);
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .12em;
        }

        .event-tile__time {
            text-align: right;
        }

        .event-tile__time strong {
            display: block;
            font-size: 23px;
        }

        .event-tile__time span {
            display: block;
            margin-top: 2px;
            font-size: 14px;
            color: rgba(0,0,0,.45);
        }

        .event-tile h4 {
            margin: 34px 0 0;
            line-height: 1.05;
        }

        .event-tile__description {
            max-width: 600px;
            margin: 12px 0 0;
            line-height: 1.4;
            font-size: 1rem;
        }

        .event-description {
            white-space: pre-line;
        }

        .event-tile__bottom {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 20px;
            margin-top: auto;
            padding-top: 25px;
        }

        .event-tile__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            font-size: 11px;
        }

        .event-location {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: "Roboto", Helvetica, Arial, sans-serif;
        }

        .event-location::before {
            content: "";
            width: 11px;
            height: 15px;
            flex: 0 0 11px;
            background-color: currentColor;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 33'%3E%3Cpath d='M11 1C5.1 1 .3 5.8.3 11.7.3 17.5 11 33 11 33s10.7-15.5 10.7-21.3C21.7 5.8 16.9 1 11 1zm0 16.3a5.6 5.6 0 1 1 0-11.2 5.6 5.6 0 0 1 0 11.2z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 33'%3E%3Cpath d='M11 1C5.1 1 .3 5.8.3 11.7.3 17.5 11 33 11 33s10.7-15.5 10.7-21.3C21.7 5.8 16.9 1 11 1zm0 16.3a5.6 5.6 0 1 1 0-11.2 5.6 5.6 0 0 1 0 11.2z'/%3E%3C/svg%3E") center / contain no-repeat;
        }

        .event-tile__price {
            font-weight: 700;
            color: #000;
        }

        .event-tile__link {
            flex-shrink: 0;
            font-size: 14px;
            font-weight: 700;
        }


        /* =========================================================
           IMAGE TILE
        ========================================================= */

        .image-event {
            position: relative;
            grid-column: span 6;
            min-height: 380px;
            overflow: hidden;
            background: #252525;
        }

        .image-event img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .image-event::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(
                    to top,
                    rgba(0,0,0,.48),
                    transparent 68%
                );
        }

        .image-event__content {
            position: absolute;
            z-index: 2;
            left: 28px;
            right: 28px;
            bottom: 28px;
            color: #fff;
        }

        .image-event__tag {
            display: inline-block;
            padding: 5px 9px;
            background: #FCD131;
            color: #000;
            font-size: 10px;
            font-family: "Roboto", Helvetica, Arial, sans-serif;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .image-event h4 {
            margin: 14px 0 0;

            font-size: 38px;
            line-height: 1;
        }

        .image-event__meta {
            display: flex;

            flex-wrap: wrap;

            gap: 18px;

            margin-top: 15px;

            font-size: 13px;

            color: rgba(255,255,255,.75);
        }

        .image-event__times {
            position: absolute;
            z-index: 2;
            top: 32px;
            left: 28px;
            text-align: right;
            color: #fff;
        }

        .image-event__times strong {
            display: block;
            font-size: 23px;
        }

        .image-event__times span {
            display: block;
            margin-top: 2px;
            font-size: 14px;
            color: rgba(255, 255, 255, .75);
        }


        /* =========================================================
           FEATURED EVENT
        ========================================================= */

        .featured-event {
            grid-column: span 12;
            display: grid;
            grid-template-columns: 280px 1fr 38%;
            min-height: 430px;
            background: #ff7677;
            color: #000;
        }

        .featured-event__time {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 34px;
            background: #ffcdc7;
            color: #000;
        }

        .featured-event__time span {
            font-size: 10px;
            letter-spacing: .1em;
            text-transform: uppercase;
            display: block;
            font-size: 14px;
            font-weight: 700;
        }

        .featured-event__time strong {
            display: block;
            margin-top: 10px;
            font-size: 26px;
        }

        .featured-event__time small {
            font-size: 14px;
            opacity: .65;
        }

        .featured-event__content {
            display: flex;
            align-items: stretch;
            padding: 44px;
        }

        .featured-event__content > div {
            display: flex;
            flex: 1;
            flex-direction: column;
            min-width: 0;
        }

        .featured-event__main {
            display: flex;
            flex: 1;
            flex-direction: column;
            justify-content: center;
        }

        .featured-event__content h4 {
            margin: 12px 0 0;
            line-height: 1;
        }

        .featured-event__content h4 span {
            display: block;
        }

        .featured-event__content p {
            max-width: 620px;
            margin: 18px 0 0;
            color: rgba(0,0,0,.7);
            line-height: 1.4;
            font-size: 1rem;
        }

        .featured-event__content .eyebrow {
            color: #000;
        }

        .featured-event .button--yellow {
            background: #ffcdc7;
        }

        .featured-event__meta {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;

            margin-top: 20px;

            color: rgba(0,0,0,.7);

            font-size: 14px;
        }

        .featured-event__meta strong {
            color: #000;
        }

        .featured-event__bottom .featured-event__meta {
            margin-top: 0;
        }

        .featured-event__actions {
            margin-top: 0;
        }

        .featured-event__image {
            min-height: 430px;
        }

        .featured-event__image img {
            height: 100%;
            object-fit: cover;
        }


        /* =========================================================
           RECURRING
        ========================================================= */

        .recurring {
            margin-bottom: 75px;
            background: #FFECC7;
        }

        .recurring__label {
            padding: 20px 30px;
            border-bottom: 1px solid rgba(0,0,0,.15);
        }

        .recurring__label span {
            font-size: 11px;
            letter-spacing: .18em;
            text-transform: uppercase;
        }

        .recurring__items {
            display: flex;
            min-width: 0;
            overflow-x: auto;
        }

        .recurring__item {
            display: flex;
            flex: 1 0 300px;
            flex-direction: column;
            min-width: 0;
            border-right: 1px solid rgba(0,0,0,.15);
        }

        .recurring__item:last-child {
            border-right: 0;
        }

        .recurring__image {
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }

        .recurring__image img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .recurring__content {
            flex: 1;
            padding: 28px 34px;
        }

        .recurring__time {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 12px;
            margin-top: 10px;
        }

        .recurring__time strong {
            font-size: 28px;
        }

        .recurring__time small {
            font-size: 14px;
        }

        .recurring__content h3 {
            margin: 8px 0 0;
        }

        .recurring__content p {
            max-width: 720px;
            margin: 12px 0 0;
            line-height: 1.4;
            font-size: 1rem;
        }

        .recurring__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
            font-size: 14px;
        }

        .recurring__actions {
            margin-top: 24px;
        }


        /* =========================================================
           PLAN
        ========================================================= */

        .plan {
            padding: 90px 0;
            background: rgba(255, 201, 168, 0.8)
        }

        .plan-heading {
            max-width: 720px;
            margin-bottom: 45px;
        }

        .plan-heading h2 {
            margin: 12px 0 0;
        }

        .plan-heading h2 span {
            display: block;
            font-weight: 300;
        }

        .plan-heading__description {
            max-width: 540px;
            margin: 18px 0 0;
        }

        .plan-heading__description p {
            margin: 0;
        }

        .plan-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-top: 2px solid #000;
            border-bottom: 2px solid #000;
        }

        .plan-card {
            display: flex;
            flex-direction: column;
            padding: 30px;
            border-right: 1px solid rgba(0,0,0,.22);
        }

        .plan-card:last-child {
            border-right: 0;
        }

        .plan-card__number {
            display: block;
            margin-bottom: 36px;
            font-size: 13px;
            font-weight: 700;
            font-family: "Roboto", Helvetica, Arial, sans-serif;
        }

        .plan-card p {
            margin: 14px 0 0;
            line-height: 1.4;
            font-size: 1rem;
        }

        .plan-card__contacts {
            display: grid;
            gap: 14px;
            margin-top: auto;
            padding-top: 28px;
        }

        .plan-card__contacts a {
            display: block;
            padding-top: 12px;
            color: #252525;
            font-size: 14px;
            line-height: 1.35;
            overflow-wrap: anywhere;
            text-decoration: none;
            transition: color .2s ease;
        }

        .plan-card__contacts span {
            font-family: "Roboto", Helvetica, Arial, sans-serif;
            display: block;
            margin-bottom: 4px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .14em;
            text-transform: uppercase;
        }


        /* =========================================================
           TABLET
        ========================================================= */

        @media (max-width: 1024px) {

            .hero {
                grid-template-columns: 1fr;
            }

            .hero__visual {
                min-height: 520px;
            }

            .hero__content {
                padding: 70px 40px;
            }


            .intro-band__grid {
                grid-template-columns: 1fr;

                gap: 30px;
            }


            .mood-grid {
                grid-template-columns: 1fr 1fr;

                grid-template-rows: auto;
            }

            .mood-card--large {
                grid-column: span 2;
                grid-row: auto;

                min-height: 450px;
            }


            .event-tile--small,
            .event-tile--half,
            .event-tile--large,
            .image-event {
                grid-column: span 6;
            }


            .featured-event {
                grid-template-columns: 210px 1fr;
            }

            .featured-event__image {
                display: none;
            }


            .plan-grid {
                grid-template-columns: 1fr;
            }

            .plan-card {
                border-right: 0;
                border-bottom: 1px solid rgba(0,0,0,.2);
            }

            .plan-card:last-child {
                border-bottom: 0;
            }

        }


        /* =========================================================
           MOBILE
        ========================================================= */

        @media (max-width: 767px) {

            .container {
                width: min(100% - 30px, 1280px);
            }


            .hero__visual {
                min-height: 420px;
            }

            .hero__content {
                padding: 55px 25px;
            }

            .hero__title {
                font-size: 52px;
            }


            .intro-band {
                padding: 55px 0;
            }

            .mood {
                padding: 50px 0 60px;
            }

            .mood-grid {
                grid-template-columns: 1fr;
            }

            .mood-card,
            .mood-card--large {
                grid-column: auto;
                min-height: 300px;
            }

            .programme {
                padding: 60px 0 70px;
            }

            .programme-heading {
                grid-template-columns: 1fr;
            }

            .date-strip {
                margin-left: -15px;
                margin-right: -15px;
            }

            .day-header {
                grid-template-columns: 1fr;
            }

            .day-header__number {
                font-size: 52px;
            }

            .day-header__occasion {
                display: none;
            }


            .event-grid {
                grid-template-columns: 1fr;
            }

            .event-tile--small,
            .event-tile--half,
            .event-tile--large,
            .image-event {
                grid-column: auto;
            }


            .image-event {
                min-height: 340px;
            }


            .featured-event {
                grid-column: auto;

                grid-template-columns: 1fr;
            }

            .featured-event__time {
                min-height: 150px;
            }

            .featured-event__content {
                padding: 30px 24px;
            }


            .recurring__label {
                border-bottom: 1px solid rgba(0,0,0,.15);
            }

            .recurring__item {
                flex: none;
                width: 100%;
                border-right: 0;
                border-bottom: 1px solid rgba(0,0,0,.15);
            }

            .recurring__item:last-child {
                border-bottom: 0;
            }

            .recurring__image {
                aspect-ratio: 16 / 10;
            }

            .recurring__items {
                flex-direction: column;
                overflow-x: visible;
            }

            .recurring__content {
                padding: 26px 24px 30px;
            }


            .plan {
                padding: 60px 0;
            }
          }
