@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --page: #f2f2f2;
    --ink: #050505;
    --muted: #111;
    --red: #ff0000;
    --footer: #020202;
    --gutter: 20px;
    --container: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--page);
    color: var(--ink);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

.site-header {
    position: relative;
    z-index: 10;
    width: min(var(--container), calc(100vw - 80px));
    height: 160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
    padding-top: 40px;
}

.site-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: #fff;
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
}

.brand {
    grid-column: 1 / span 3;
    display: block;
    width: 200px;
}

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

.nav-toggle,
.hamburger { display: none; }

.main-nav {
    grid-column: 8 / -1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 9px;
    margin-top: 48px;
    padding-bottom: 2px;
    font-weight: 800;
    font-size: 13px;
    line-height: 13px;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    border-bottom: 2px solid transparent;
    transition: border-color .18s ease, color .18s ease;
    padding-bottom: 2px;
}

.main-nav a:not(:last-child) { margin-right: 9px; }

.main-nav a:not(:last-child)::after {
    position: absolute;
    left: calc(100% + 8px);
    bottom: 5px;
    content: ".";
    border: 0;
    color: var(--ink);
}

.main-nav .active,
.main-nav a:focus-visible {
    border-color: var(--red);
}
.main-nav a:hover {
    color: var(--red);
}

.production {
    width: min(var(--container), calc(100vw - 80px));
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
}

.production-poster {
    width: 100%;
    margin: 0;
}

.production-poster img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.production-copy {
    max-width: none;
}

.production-copy h1 {
    margin: 0 0 31px;
    font-size: 32px;
    line-height: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.production-copy p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 24px;
    font-weight: 400;
}

.production-details { margin: 47px 0 40px; }
.production-details div { margin-bottom: 30px; }
.production-details dt,
.production-details dd { margin: 0; font-size: 13px; line-height: 24px; }
.production-details dt { font-weight: 800; }
.production-details dd { font-weight: 400; }

.button {
    display: inline-grid;
    place-items: center;
    min-width: 101px;
    height: 40px;
    padding: 0 13px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    line-height: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.button:hover {
    background: #000;
}

.site-footer {
    width: 100%;
    min-height: 260px;
    margin: 160px 0 0;
    padding: 60px 0;
    background: var(--footer);
    color: #f4f4f4;
}

.footer-inner {
    width: min(var(--container), calc(100vw - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
}

.site-footer strong,
.site-footer a {
    display: block;
    font-size: 13px;
    line-height: 24px;
    font-weight: 400;
}

.site-footer strong { font-weight: 800; }

.footer-inner > div:first-child {
    grid-column: 1 / span 4;
}

.footer-inner > div:first-child a {
    color: #f4f4f4;
    transition: color .18s ease;
}

.site-footer nav {
    grid-column: 5 / span 3;
    text-transform: uppercase;
}

.site-footer nav a {
    color: #f4f4f4;
    line-height: 30px;
    font-weight: 800;
    transition: color .18s ease;
}

.footer-inner > div:first-child a:hover,
.footer-inner > div:first-child a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
    color: var(--red);
}

.socials {
    grid-column: 11 / -1;
    grid-row: 1;
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--red);
}

.footer-meta {
    grid-column: 9 / -1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
}

.footer-meta a,
.footer-meta span {
    display: inline;
    color: #f4f4f4;
    font-size: 10px;
    line-height: 30px;
    font-weight: 400;
}

.footer-meta a {
    transition: color .18s ease;
}

/*.socials img {
    display: block;
    width: 21px;
    height: 21px;
}*/

@media (max-width: 1180px) {
    :root { --container: 900px; }
}

@media (max-width: 760px) {
    body:has(.nav-toggle:checked) {
        overflow: hidden;
    }

    .site-header {
        width: min(560px, calc(100vw - 48px));
        height: 160px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding-top: 40px;
        padding-bottom: 0;
    }

    /*
    .brand,
    .brand img { width: 160px; }
    */

    .nav-toggle {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        opacity: 0;
        pointer-events: none;
    }

    .hamburger {
        position: absolute;
        top: 40px;
        right: -10px;
        z-index: 30;
        display: grid;
        place-items: center;
        width: 20px;
        height: 22px;
        cursor: pointer;
    }

    .hamburger span {
        position: absolute;
        width: 20px;
        height: 1px;
        background: var(--red);
        transform-origin: center;
        transition: transform .28s ease, opacity .18s ease, top .28s ease;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 8px; }
    .hamburger span:nth-child(3) { top: 16px; }

    .nav-toggle:checked + .hamburger span:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }

    .nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }

    .nav-toggle:checked + .hamburger span:nth-child(3) {
        top: 8px;
        transform: rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 20;
        display: grid;
        align-content: start;
        align-items: start;
        justify-content: start;
        gap: 0;
        margin-top: 0;
        width: auto;
        min-height: 100vh;
        padding: 40px 30px;
        background: #fff;
        box-shadow: none;
        font-size: 13px;
        line-height: 13px;
        text-align: left;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity .24s ease, transform .24s ease;
    }

    .nav-toggle:checked ~ .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a {
        display: block;
        width: max-content;
        margin: 0;
    }

    .main-nav a:not(:last-child) { margin-bottom: 25px; }

    .main-nav a:not(:last-child)::after { content: ""; margin: 0; }
    .main-nav .active,
    .main-nav a:focus-visible {
        color: var(--ink);
        border-color: var(--red);
    }

    .main-nav a:hover{
        color: var(--red);
    }

    .production {
        width: min(560px, calc(100vw - 48px));
        margin-top: 60px;
        display: block;
    }

    .production-poster {
        width: 100%;
        margin: 0 auto;
    }

    .production-copy {
        padding-top: 60px;
        max-width: 100%;
    }

    .production-details { margin-top: 48px; }

    .site-footer {
        min-height: 0;
        margin-top: 120px;
        padding: 60px 0;
    }

    .footer-inner {
        width: min(560px, calc(100vw - 48px));
        display: block;
    }

    .site-footer nav { margin-top: 30px; }
    .site-footer nav a { line-height: 30px; }
    .socials {
        justify-content: flex-start;
        margin-top: 40px;
    }

    .footer-meta {
        width: 100%;
        justify-self: start;
        justify-content: flex-start;
        margin-top: 40px;
    }

    .footer-meta a,
    .footer-meta span {
        line-height: 13px;
    }
}

/* Play detail */
.detail-section {
    width: min(var(--container), calc(100vw - 80px));
    margin: 80px auto 0;
}

.detail-heading {
    margin: 0 0 40px;
    padding-bottom: 40px;
    border-bottom: 2px dotted #777;
    color: var(--red);
    font-size: 24px;
    line-height: 24px;
    font-weight: 800;
}

#schedule-title.detail-heading {
    padding-bottom: 0;
    border-bottom: none;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gutter);
}

.cast-member img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.cast-member h3,
.cast-member p {
    margin: 0;
    font-size: 13px;
    line-height: 24px;
}

.cast-member h3 {
    margin-top: 20px;
    font-weight: 800;
}

.cast-member p { font-weight: 400; }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gutter);
}

.photo {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #000;
}

.sponsor-card,
.plays-grid .play-card {
    overflow: hidden;
}

.sponsor-card > img:first-child{
    display: block;
    transition: transform .25s ease;
}

.plays-grid .play-card > img:first-child,
.photo > img:first-child {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.plays-grid .play-card:hover > img:first-child,
.photo:hover > img:first-child,
.sponsor-card:hover > img:first-child,
.photo:focus-visible > img:first-child { transform: scale(1.025); }

.photo .zoom-icon {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 40px;
    height: 40px;
}

.video-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gutter);
}

.video-placeholder {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}

.video-placeholder iframe {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    pointer-events: none;
}

.video-placeholder.is-playing iframe {
    pointer-events: auto;
}

.video-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.video-placeholder.is-playing .video-play {
    display: none;
}

.video-play:hover,
.video-play:focus-visible {
    background: #000;
}

.video-play:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.video-play::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #fff;
    transform: translate(-40%, -50%);
}

.schedule-list { border-top: 2px dotted #777; }

.schedule-row {
    min-height: 60px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
    border-bottom: 2px dotted #777;
    font-size: 13px;
    line-height: 24px;
}

.schedule-date {
    grid-column: 1 / span 3;
    font-weight: 800;
}

.schedule-location { grid-column: 4 / span 6; }

.schedule-button {
    grid-column: 11 / -1;
    width: 100%;
}

.schedule-button.sold-out {
    background: #8e8e8e;
    cursor: default;
}

.back-button { margin-top: 80px; }

@media (max-width: 1180px) {
    .cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .schedule-row {
        min-height: 80px;
        grid-template-columns: minmax(0, 1fr) 180px;
        column-gap: 20px;
        align-content: center;
    }

    .schedule-date,
    .schedule-location { grid-column: 1; }

    .schedule-date { grid-row: 1; }
    .schedule-location { grid-row: 2; }

    .schedule-button {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 760px) {
    .detail-section {
        width: min(560px, calc(100vw - 48px));
        margin-top: 80px;
    }

    .cast-grid,
    .photo-grid,
    .video-grid { display: block; }

    .cast-member:not(:last-child) { margin-bottom: 40px; }
    .photo:not(:last-child) { margin-bottom: 20px; }
    .video-placeholder:not(:last-child) { margin-bottom: 20px; }

    .video-grid { margin-top: 60px; }

    .schedule-row {
        min-height: 140px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 40px;
        gap: 0;
        align-content: center;
        padding: 16px 0;
    }

    .schedule-date,
    .schedule-location,
    .schedule-button {
        grid-column: 1;
        grid-row: auto;
    }

    .schedule-button {
        width: max-content;
        min-width: 192px;
        margin-top: 12px;
    }

    .back-button { margin-top: 80px; }
}
/* Who */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.who-page {
    width: min(var(--container), calc(100vw - 80px));
    margin: 80px auto 0;
}

.who-intro {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 24px;
}

.who-page .person {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 80px;
    margin-top: 80px;
}

.who-page .person-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.who-page .person-copy h2 {
    margin: 0 0 40px;
    padding-bottom: 40px;
    border-bottom: 2px dotted #777;
    color: var(--red);
    font-size: 24px;
    font-weight: 800;
    line-height: 24px;
}

.who-page .person-copy p {
    margin: 0 0 24px;
    font-size: 13px;
    line-height: 24px;
}

.who-page .person-copy p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1180px) {
    .who-page {
        width: min(900px, calc(100vw - 80px));
    }
}

@media (max-width: 760px) {
    .who-page {
        width: min(560px, calc(100vw - 48px));
        margin-top: 60px;
    }

    .who-page .person {
        display: block;
        margin-top: 60px;
    }

    .who-page .person + .person {
        margin-top: 80px;
    }

    .person-copy {
        margin-top: 40px;
    }
}


/* Plays overview */
.plays-overview {
    width: min(var(--container), calc(100vw - 80px));
    margin: 80px auto 0;
}

.plays-overview h1 {
    margin: 0;
    padding-bottom: 40px;
    border-bottom: 2px dotted #777;
    color: var(--red);
    font-size: 24px;
    line-height: 24px;
    font-weight: 800;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gutter);
    margin-top: 40px;
}

.play-card {
    display: block;
    margin: 0;
    background: #fff;
    box-shadow: 6px 8px 14px rgba(0, 0, 0, .24);
}

.play-card img {
    display: block;
    width: 100%;
    height: auto;
}

a.play-card {
    transition: box-shadow .18s ease;
}

a.play-card:hover,
a.play-card:focus-visible {
    box-shadow: 6px 8px 18px rgba(0, 0, 0, .34);
}

a.play-card:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .plays-overview {
        width: min(560px, calc(100vw - 48px));
        margin-top: 60px;
    }

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


/* Sponsors and contact */
.sponsors-page,
.contact-page {
    width: min(var(--container), calc(100vw - 80px));
    margin: 80px auto 0;
}

.sponsors-page h1,
.contact-copy h1 {
    margin: 0;
    padding-bottom: 40px;
    border-bottom: 2px dotted #777;
    color: var(--red);
    font-size: 24px;
    line-height: 24px;
    font-weight: 800;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gutter);
    margin-top: 40px;
}

.sponsor-card {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin: 0;
    background: #fff;
    box-shadow: 6px 8px 14px rgba(0, 0, 0, .24);
}

.sponsor-card img {
    display: block;
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.contact-page {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
    align-items: start;
}

.contact-copy {
    grid-column: 2;
    grid-row: 1;
}

.contact-visual {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
}

.contact-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-details {
    margin: 32px 0 0;
    font-size: 13px;
    line-height: 24px;
    font-style: normal;
}

.contact-details strong,
.contact-details a {
    display: block;
}

.contact-socials {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.contact-social-link {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 24px;
}

.contact-social-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--red);
}

/*
.contact-social-icon img {
    display: block;
    width: 21px;
    height: 21px;
}
*/

.contact-social-link strong {
    text-decoration: underline;
    transition: color .18s ease;
}

.contact-details a,
.contact-social-link {
    transition: color .18s ease;
}

.contact-details a:hover,
.contact-details a:focus-visible,
.contact-social-link:hover,
.contact-social-link:focus-visible {
    color: var(--red);
}

@media (max-width: 760px) {
    .sponsors-page,
    .contact-page {
        width: min(560px, calc(100vw - 48px));
        margin-top: 60px;
    }

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

    .contact-page {
        grid-template-columns: 1fr;
        row-gap: 80px;
    }

    .contact-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .contact-visual {
        grid-column: 1;
        grid-row: 2;
    }
}

/* Offline homepage */
.offline-page {
    width: min(var(--container), calc(100vw - 80px));
    min-height: 420px;
    margin: 80px auto 0;
    display: grid;
    align-content: center;
}

.offline-kicker {
    margin: 0 0 24px;
    color: var(--red);
    font-size: 13px;
    line-height: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.offline-page h1 {
    margin: 0 0 40px;
    padding-bottom: 40px;
    border-bottom: 2px dotted #777;
    font-size: 32px;
    line-height: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.offline-page p:not(.offline-kicker),
.offline-contact,
.offline-contact a {
    margin: 0;
    max-width: 560px;
    font-size: 13px;
    line-height: 24px;
    font-style: normal;
}

.offline-contact {
    display: grid;
    gap: 0;
    margin-top: 32px;
}

.offline-contact span {
    font-weight: 800;
}

.offline-contact a {
    transition: color .18s ease;
}

.offline-contact a:hover,
.offline-contact a:focus-visible {
    color: var(--red);
}

@media (max-width: 760px) {
    .offline-page {
        width: min(560px, calc(100vw - 48px));
        min-height: 360px;
        margin-top: 60px;
    }
}

/* Preview mode */
.preview-banner {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    min-height: 36px;
    padding: 8px 20px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.preview-banner a {
    border-bottom: 2px solid #fff;
}

.preview-page {
    width: min(var(--container), calc(100vw - 80px));
    min-height: 420px;
    margin: 80px auto 0;
    display: grid;
    align-content: center;
}

.preview-kicker {
    margin: 0 0 24px;
    color: var(--red);
    font-size: 13px;
    line-height: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.preview-page h1 {
    margin: 0 0 40px;
    padding-bottom: 40px;
    border-bottom: 2px dotted #777;
    font-size: 32px;
    line-height: 32px;
    font-weight: 800;
    text-transform: uppercase;
}

.preview-page p:not(.preview-kicker) {
    max-width: 620px;
    margin: 0;
    font-size: 13px;
    line-height: 24px;
}

.preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button-secondary {
    background: #111;
}

@media (max-width: 760px) {
    .preview-page {
        width: min(560px, calc(100vw - 48px));
        min-height: 360px;
        margin-top: 60px;
    }
}
