/* First session: Swing Dance Night Party. Image layout remains the default. */

:root {
    --paper: #fff5e3;
    --ink: #24140f;
    --wine: #701f29;
    --gold: #ffc16d;
    --night: #21140f;
    --line: #d9bf9f;
}

.hero {
    background: var(--night);
    color: var(--paper);
    overflow: hidden;
}

.hero .wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 560px;
}

.intro {
    position: relative;
    z-index: 1;
    padding: 52px 0;
}

.hero-photo {
    position: relative;
    height: 100%;
    margin-right: calc((min(1120px,100vw - 48px) - 100vw)/2);
    background: url(../images/swing-hero.webp) center center/cover no-repeat;
    min-height: 400px;
}

.hero-photo:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,var(--night),transparent 28%);
}

.tag {
    color: var(--gold);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero h1 {
    font: 700 clamp(4rem,8vw,8.5rem)/.79 Georgia,serif;
    letter-spacing: -.075em;
    margin: 24px 0 24px;
}

.hero h1 em {
    font-weight: 400;
    color: var(--gold);
}

.hero h2 {
    font-size: clamp(1.3rem,2.5vw,2rem);
    margin: 0 0 12px;
}

.hero p {
    margin: 0 0 20px;
}

.salon {
    background: #fff;
    color: var(--ink);
    padding: 26px 0;
    text-align: center;
}

.salon p {
    margin: 0;
    font-size: .9375rem;
    font-weight: 400;
}

.program {
    background: #f6e5ca;
}

time {
    font-variant-numeric: tabular-nums;
    color: var(--wine);
    font-weight: 800;
}

@media(max-width:700px) {
    .hero .wrap, .split {
        grid-template-columns: 1fr;
    }

    .hero .wrap {
        min-height: 0;
    }

    .intro {
        padding: 34px 0 24px;
    }

    .hero h1 {
        font-size: clamp(3.45rem,13vw,5.6rem);
        margin: 16px 0 18px;
    }

    .hero-photo {
        order: -1;
        min-height: 0;
        height: auto;
        aspect-ratio: 1.45;
        margin: 0 -16px;
        background-position: center 38%;
    }

    .hero-photo:before {
        background: linear-gradient(0deg,var(--night),transparent 22%);
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

.hero+.salon {
    position: relative;
    padding-top: 132px;
}

.salon-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-35%);
    z-index: 3;
    width: 192px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
}

.salon-badge img {
    display: block;
    width: 80%;
    height: auto;
}

.experience-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 28px;
}

.experience-photos figure {
    margin: 0;
}

.experience-photos img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 41%;
    border-radius: 6px;
}

.experience-photos figcaption {
    font-weight: 750;
    padding-top: 8px;
}

.experience .note {
    margin: 9px 0 0;
}

@media(max-width:700px) {
    .intro {
        padding-bottom: 73px;
    }

    .hero+.salon {
        padding-top: 98px;
    }

    .salon-badge {
        width: 144px;
    }

    .experience-photos {
        gap: 12px;
    }

    .experience-photos img {
        aspect-ratio: 4/5;
    }

    .experience-photos figcaption {
        font-size: .95rem;
    }
}

.partner-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-line .with {
    letter-spacing: 0;
    text-transform: none;
    font-weight: 550;
}

.partner-line .partner-badge {
    display: grid;
    place-items: center;
    flex: none;
    width: 100px;
    height: 46px;
    border-radius: 4px;
    background: #006dce;
}

.partner-badge img {
    display: block;
    width: 76px;
    height: auto;
}

.hero h1 {
    font-size: clamp(3.35rem,6.8vw,7rem);
    line-height: .91;
}

.date-action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 20px;
}

.date-action time {
    color: inherit;
    font-size: clamp(1.15rem,2vw,1.5rem);
    white-space: nowrap;
}

@media(max-width:700px) {
    .hero h1 {
        font-size: clamp(3rem,11.4vw,5.6rem);
    }

    .date-action {
        gap: 8px 12px;
    }
}

.hero-title {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: center;
    margin: 24px 0;
}

.hero-title h1 {
    display: contents;
}

.hero-title h1 span {
    grid-column: 1/-1;
    grid-row: 1;
}

.hero-title h1 em {
    grid-column: 1;
    grid-row: 2;
}

.hero-title .cta {
    grid-column: 2;
    grid-row: 2;
    transform: translateY(clamp(3px,.55vw,7px));
    white-space: nowrap;
    font-weight: 650;
    padding: 10px 18px;
}

.hero .intro {
    min-width: 0;
}

@media(max-width:700px) {
    .hero-title {
        margin: 16px 0 18px;
        column-gap: 10px;
    }

    .hero-title .cta {
        padding: 9px 10px;
        font-size: .8125rem;
    }
}

@media(max-width:370px) {
    .hero-title {
        font-size: 2.65rem;
    }

    .hero-title h1>* {
        font-size: 2.65rem;
    }

    .hero-title .cta {
        padding-inline: 7px;
        font-size: .75rem;
    }
}

.experience-photos {
    max-width: 740px;
    margin-inline: auto;
}

.experience-photos img {
    height: clamp(128px,25vw,235px);
    aspect-ratio: auto;
    object-position: center 33%;
}

.experience .note {
    max-width: 740px;
    margin-inline: auto;
}

.event-facts {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 18px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
    margin: 18px 0 0;
}

.event-facts dt {
    color: var(--wine);
    font-weight: 750;
}

.event-facts dd {
    margin: 0;
}

.experience-subtitle {
    font-size: clamp(1rem,2vw,1.3rem);
    font-weight: 650;
}

.experience-photos {
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 900px;
}

.experience .note {
    max-width: 900px;
}

.experience-photos img {
    height: auto;
    aspect-ratio: 1.52;
    object-position: center 33%;
}

@media(max-width:540px) {
    .experience-photos {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

.member-price {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    color: var(--wine);
}

.member-price span {
    font-size: .875rem;
    font-weight: 650;
}

.ticket-period {
    display: block;
    font-size: .875rem;
    margin-top: 2px;
}

#tickets {
    background: #efbd38;
}

#tickets .purchase {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

#tickets .join-button {
    background: #075ebc;
    color: #fff;
}

#tickets .buy-button {
    background: #a83d08;
    color: #fff;
}

.tickets {
    row-gap: 0;
}

.ticket {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.program-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fffaf0;
}

.program-card img {
    display: block;
    width: 100%;
    height: clamp(128px,17vw,180px);
    object-fit: cover;
    object-position: center 36%;
}

.program-card.second-show img {
    object-position: right 64%;
}

.program-card.closing img {
    object-position: right 58%;
}

.program-card>div {
    padding: 16px 18px;
}

.program-card h3 {
    margin: 3px 0 7px;
    line-height: 1.3;
}

.program-card p {
    margin: 0;
}

.program .program-photo-note {
    margin: 12px 0 0;
}

@media(max-width:850px) {
    .program-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:540px) {
    .program-grid {
        grid-template-columns: 1fr;
    }

    .program-card img {
        height: 155px;
    }
}

#artists .artist-kicker {
    font-weight: 750;
    color: var(--wine);
    margin-bottom: 7px;
}

#artists .artist {
    overflow: hidden;
    padding: 0;
}

#artists figure {
    margin: 0;
    position: relative;
}

#artists figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 42%;
}

#artists figcaption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #21140f;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: .8rem;
}

#artists .artist-copy {
    padding: 16px 20px 20px;
}

.venue-map {
    display: block;
    width: 100%;
    height: clamp(240px,35vw,315px);
    border: 1px solid var(--line);
    border-radius: 6px;
    margin: 16px 0 10px;
}

.venue-map-link {
    font-weight: 650;
    color: var(--wine);
}

.swing-journey {
    background: #121d42;
    color: #fff;
}

.club-label {
    font-size: .9rem;
    font-weight: 750;
    letter-spacing: .06em;
}

.swing-journey .club-label, .journey-grid span {
    color: #a6ccff;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.journey-grid li {
    border-top: 1px solid #536183;
    padding-top: 17px;
}

.journey-grid span {
    font-size: .875rem;
}

.journey-grid h3, .routine-card h3, .swing-club-card h3 {
    margin: 5px 0 10px;
    line-height: 1.25;
}

.journey-grid p {
    color: #dbe7fc;
}

.swing-routine, .swing-club {
    background: #fff;
    color: #121d42;
}

.swing-routine .club-label {
    color: #325a89;
}

.routine-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e8eff7;
    overflow: hidden;
    border-radius: 8px;
}

.routine-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 245px;
    object-fit: cover;
    object-position: center 40%;
}

.routine-card>div, .club-copy {
    padding: clamp(18px,4vw,36px);
}

.swing-club-card {
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    overflow: hidden;
}

.club-photos {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: repeat(2,minmax(0,1fr));
    gap: 4px;
    height: clamp(200px,36vw,335px);
}

.club-photos img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 39%;
}

.club-photos img:first-child {
    grid-row: span 2;
}

.club-copy ul {
    margin: 8px 0 14px;
    padding-left: 1.25rem;
}

@media(max-width:760px) {
    .journey-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .routine-card {
        grid-template-columns: 1fr;
    }

    .routine-card img {
        height: 220px;
        min-height: 0;
    }
}

@media(max-width:400px) {
    .journey-grid {
        grid-template-columns: 1fr;
    }
}

/* Video mode only. data-background-mode="2" keeps the original image layout. */
.hero--video .wrap {
    display: flex;
    align-items: center;
    min-height: 620px;
}

.hero--video .hero-photo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    min-height: 0;
    margin: 0;
    transform: translateX(-50%);
    background-position: center;
}

.hero--video .hero-photo::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(22, 13, 10, 0.88), rgba(22, 13, 10, 0.5) 55%, rgba(22, 13, 10, 0.28)),
        linear-gradient(0deg, rgba(22, 13, 10, 0.55), transparent 50%);
    pointer-events: none;
}

.hero--video .intro {
    z-index: 2;
    width: 100%;
    padding: 85px 0 125px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero--video .cta,
.hero--video .partner-badge {
    text-shadow: none;
}

@media (max-width: 700px) {
    .hero--video .wrap {
        min-height: 560px;
    }

    .hero--video .hero-photo {
        order: initial;
        aspect-ratio: auto;
    }

    .hero--video .intro {
        padding: 70px 0 125px;
    }

    .hero--video .hero-photo::before {
        background: linear-gradient(90deg, rgba(22, 13, 10, 0.78), rgba(22, 13, 10, 0.4)),
            linear-gradient(0deg, rgba(22, 13, 10, 0.7), transparent 70%);
    }

    .salon-video-toggle {
        bottom: 88px;
    }
}
