.masterclass-page {
    background: var(--paper);
    color: var(--ink);
}

.masterclass-page [hidden] {
    display: none !important;
}

.mc-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2.3rem;
    border-bottom: 2px solid var(--ink);
    background: rgba(244, 239, 228, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.mc-header > p {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    font-family: var(--mono);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mc-live-dot {
    width: 9px;
    height: 9px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px var(--acid);
    animation: blink 1.2s steps(2) infinite;
}

.is-past .mc-live-dot {
    background: var(--aqua);
    animation: none;
}

.mc-header__back {
    justify-self: end;
    padding-bottom: .25rem;
    border-bottom: 2px solid var(--ink);
    font-family: var(--mono);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mc-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    padding: 8.5rem 5vw 5rem;
    background: var(--orange);
}

.mc-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px);
    background-size: 52px 52px;
}

.mc-hero__copy {
    position: relative;
    z-index: 4;
    min-width: 0;
}

.mc-kicker {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1.2rem;
    font-family: var(--mono);
    font-size: clamp(.64rem, .85vw, .75rem);
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.mc-kicker span {
    padding: .45rem .65rem;
    border: 2px solid var(--ink);
    border-radius: 99px;
    background: var(--acid);
    box-shadow: 3px 3px 0 var(--ink);
}

.mc-hero h1 {
    max-width: 940px;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(4.4rem, 8vw, 9.2rem);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

.mc-hero h1 em {
    display: block;
    color: var(--acid);
    font-style: normal;
    -webkit-text-stroke: 3px var(--ink);
    paint-order: stroke fill;
    text-shadow: 6px 6px 0 var(--ink);
    transform: rotate(-1deg);
}

.mc-hero__lead {
    max-width: 720px;
    margin: 2rem 0 1.5rem;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.6;
}

.mc-hero__facts {
    max-width: 760px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 2px solid var(--ink);
}

.mc-hero__facts span {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .85rem 1rem;
    border-right: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mc-hero__facts span:first-child {
    padding-left: 0;
}

.mc-hero__facts span:last-child {
    border-right: 0;
}

.mc-hero__facts b {
    color: rgba(8, 8, 8, .6);
    font-size: .55rem;
}

.mc-upcoming,
.mc-past {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.6rem;
}

.mc-upcoming > p,
.mc-past > p {
    max-width: 180px;
    margin: 0;
    font-family: var(--mono);
    font-size: .6rem;
    font-weight: 700;
    line-height: 1.45;
    text-transform: uppercase;
}

.mc-button {
    min-width: 275px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: .8rem .8rem .8rem 1.2rem;
    border: 3px solid var(--ink);
    border-radius: 99px;
    background: var(--acid);
    box-shadow: 6px 6px 0 var(--ink);
    font-family: var(--display);
    font-size: .86rem;
    text-transform: uppercase;
    transition: translate .2s ease, box-shadow .2s ease;
}

.mc-button:hover {
    translate: 5px 5px;
    box-shadow: none;
}

.mc-button b {
    width: 43px;
    height: 43px;
    display: grid;
    flex: none;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 1.25rem;
}

.mc-button--dark {
    background: var(--ink);
    color: var(--white);
    box-shadow: 6px 6px 0 var(--orange);
}

.mc-button--dark b {
    background: var(--acid);
    color: var(--ink);
}

.mc-recording-pending {
    display: inline-flex;
    padding: .85rem 1rem;
    border: 3px solid var(--ink);
    border-radius: 99px;
    background: var(--paper);
    box-shadow: 5px 5px 0 var(--ink);
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mc-hero__visual {
    position: relative;
    z-index: 3;
    width: min(100%, 600px);
    justify-self: end;
}

.mc-burst {
    position: absolute;
    z-index: -1;
    top: -6%;
    left: -10%;
    width: 120%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-conic-gradient(var(--acid) 0 7deg, transparent 7deg 14deg);
    -webkit-mask-image: radial-gradient(circle, #000 0 48%, transparent 70%);
    mask-image: radial-gradient(circle, #000 0 48%, transparent 70%);
    animation: slow-spin 34s linear infinite;
}

.mc-portrait {
    position: relative;
    width: 82%;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    overflow: hidden;
    border: 7px solid var(--ink);
    border-radius: 48% 48% 25px 25px;
    background: var(--paper);
    box-shadow: 12px 12px 0 var(--ink);
    transform: rotate(2deg);
}

.mc-portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 34%;
    filter: saturate(.9) contrast(1.04);
}

.mc-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background: repeating-linear-gradient(to bottom, transparent 0 5px, var(--ink) 5px 6px);
    mix-blend-mode: multiply;
}

.mc-portrait > span {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: .55rem .7rem;
    border: 2px solid var(--ink);
    border-radius: 99px;
    background: var(--acid);
    box-shadow: 3px 3px 0 var(--ink);
    font-family: var(--mono);
    font-size: .58rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.mc-date-ticket {
    position: absolute;
    z-index: 5;
    top: 7%;
    left: -2%;
    width: 122px;
    height: 122px;
    display: grid;
    place-content: center;
    border: 4px solid var(--ink);
    border-radius: 43% 48% 45% 40%;
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--ink);
    font-family: var(--mono);
    text-align: center;
    transform: rotate(-10deg);
}

.mc-date-ticket strong {
    font-family: var(--display);
    font-size: 3.6rem;
    font-weight: 400;
    line-height: .8;
}

.mc-date-ticket small,
.mc-date-ticket span {
    font-size: .58rem;
    font-weight: 700;
}

.mc-mini-portrait {
    position: absolute;
    z-index: 5;
    right: -1%;
    bottom: 4%;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 4px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--ink);
    transform: rotate(9deg);
}

.mc-mini-portrait img {
    position: absolute;
    top: -12%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
}

.mc-code {
    position: absolute;
    z-index: 2;
    padding: .65rem .75rem;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 4px 4px 0 var(--ink);
    font-family: var(--mono);
    font-size: .58rem;
    line-height: 1.5;
}

.mc-code span,
.mc-code strong {
    color: var(--blue);
}

.mc-code--one {
    top: 14%;
    left: 43%;
    transform: rotate(5deg);
}

.mc-code--two {
    right: 34%;
    bottom: 6%;
    transform: rotate(-4deg);
}

.mc-code--two strong {
    color: #087c6e;
}

.mc-ticker {
    overflow: hidden;
    border-block: var(--line);
    background: var(--ink);
    color: var(--white);
}

.mc-ticker > div {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: .95rem 0;
    animation: ticker 25s linear infinite;
    font-family: var(--display);
    font-size: clamp(1rem, 1.8vw, 1.5rem);
}

.mc-ticker i {
    color: var(--acid);
    font-style: normal;
}

.mc-outcomes {
    padding: clamp(6rem, 10vw, 10rem) 4vw;
    background: var(--paper);
}

.mc-section-heading {
    display: grid;
    grid-template-columns: 1fr 2fr;
    max-width: 1480px;
    margin: 0 auto 4rem;
}

.mc-section-heading > p,
.mc-agenda__intro > p:first-child,
.mc-speaker__copy > p:first-child,
.mc-closing > p {
    margin: 0;
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mc-section-heading h2,
.mc-agenda h2,
.mc-speaker h2,
.mc-closing h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3.6rem, 7vw, 7.5rem);
    font-weight: 400;
    line-height: .84;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.mc-section-heading h2 em,
.mc-agenda h2 em,
.mc-closing h2 em {
    color: var(--orange);
    font-style: normal;
    -webkit-text-stroke: 2px var(--ink);
    paint-order: stroke fill;
}

.mc-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
    max-width: 1480px;
    margin: 0 auto;
}

.mc-outcome {
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    padding: 1.7rem;
    border: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mc-outcome--detect { background: var(--acid); }
.mc-outcome--prioritize { background: var(--aqua); }
.mc-outcome--design { background: var(--pink); }

.mc-outcome > span {
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--ink);
    font-family: var(--mono);
    font-size: .65rem;
    font-weight: 700;
}

.mc-outcome > div {
    width: 105px;
    height: 105px;
    display: grid;
    place-items: center;
    margin: 2rem 0 1rem auto;
    border: 4px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 6px 6px 0 var(--ink);
    font-family: var(--display);
    font-size: 3rem;
    transform: rotate(6deg);
}

.mc-outcome h3 {
    margin: auto 0 .8rem;
    font-family: var(--display);
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    font-weight: 400;
    line-height: .9;
    text-transform: uppercase;
}

.mc-outcome p {
    margin: 0;
    line-height: 1.55;
}

.mc-agenda {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(3rem, 8vw, 9rem);
    padding: clamp(6rem, 10vw, 10rem) 6vw;
    background: var(--ink);
    color: var(--white);
}

.mc-agenda__intro {
    align-self: center;
}

.mc-agenda__intro > p:first-child {
    margin-bottom: 1.2rem;
    color: var(--acid);
}

.mc-agenda h2 em {
    color: var(--acid);
    -webkit-text-stroke-color: var(--white);
}

.mc-agenda__intro > p:last-child {
    max-width: 650px;
    margin: 2rem 0 0;
    color: #c8c5be;
    font-size: 1rem;
    line-height: 1.65;
}

.mc-agenda__list {
    align-self: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mc-agenda__list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.mc-agenda__list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, .35);
}

.mc-agenda__list span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--white);
    border-radius: 50%;
    color: var(--acid);
    font-family: var(--mono);
    font-size: .62rem;
}

.mc-agenda__list p {
    margin: 0;
    font-weight: 600;
}

.mc-agenda__list i {
    color: #aaa8a2;
    font-family: var(--mono);
    font-size: .6rem;
    font-style: normal;
    text-transform: uppercase;
}

.mc-speaker {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    align-items: center;
    gap: clamp(3rem, 8vw, 9rem);
    padding: clamp(6rem, 10vw, 10rem) 8vw;
    background: var(--aqua);
}

.mc-speaker__portrait {
    position: relative;
    overflow: hidden;
    border: 6px solid var(--ink);
    border-radius: 50% 50% 25px 25px;
    background: var(--paper);
    box-shadow: 12px 12px 0 var(--ink);
    transform: rotate(-3deg);
}

.mc-speaker__portrait img {
    width: 112%;
    height: 112%;
    display: block;
    margin: -6%;
    object-fit: cover;
}

.mc-speaker__copy > p:first-child {
    margin-bottom: 1rem;
}

.mc-speaker h2 {
    color: var(--white);
    -webkit-text-stroke: 3px var(--ink);
    paint-order: stroke fill;
    text-shadow: 6px 6px 0 var(--ink);
}

.mc-speaker h3 {
    margin: 1.8rem 0 1rem;
    font-family: var(--mono);
    font-size: clamp(.78rem, 1.2vw, 1rem);
    text-transform: uppercase;
}

.mc-speaker__copy > p:not(:first-child) {
    max-width: 720px;
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
}

.mc-speaker__copy > a {
    display: inline-block;
    padding-bottom: .35rem;
    border-bottom: 2px solid var(--ink);
    font-family: var(--mono);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mc-closing {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 4vw;
    overflow: hidden;
    background: var(--acid);
    text-align: center;
}

.mc-closing h2 {
    max-width: 1300px;
    margin: 1.2rem 0 2.5rem;
}

.mc-recording-pending--dark {
    background: var(--ink);
    color: var(--white);
    box-shadow: 5px 5px 0 var(--orange);
}

.mc-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.3rem 3vw;
    border-top: var(--line);
    background: var(--paper);
    font-family: var(--mono);
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mc-footer p {
    margin: 0;
}

.mc-footer > a:last-child {
    justify-self: end;
}

@media (max-width: 1050px) {
    .mc-hero {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr);
        padding-inline: 3vw;
    }

    .mc-hero h1 {
        font-size: clamp(4rem, 8vw, 7rem);
    }

    .mc-code--one,
    .mc-code--two {
        display: none;
    }

    .mc-outcomes__grid {
        grid-template-columns: 1fr;
    }

    .mc-outcome {
        min-height: 350px;
    }
}

@media (max-width: 800px) {
    .mc-header {
        grid-template-columns: 1fr auto;
        padding-inline: 1rem;
    }

    .mc-header > p {
        display: none;
    }

    .mc-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 7rem 1rem 5rem;
    }

    .mc-hero h1 {
        font-size: clamp(3.6rem, 14vw, 7rem);
    }

    .mc-hero__visual {
        width: min(100%, 560px);
        margin: 1rem auto 0;
        justify-self: center;
    }

    .mc-section-heading,
    .mc-agenda,
    .mc-speaker {
        grid-template-columns: 1fr;
    }

    .mc-section-heading {
        gap: 1rem;
    }

    .mc-agenda,
    .mc-speaker {
        padding-inline: 1.2rem;
    }

    .mc-speaker__portrait {
        width: min(78%, 430px);
        margin: 0 auto;
    }

    .mc-footer {
        grid-template-columns: 1fr 1fr;
    }

    .mc-footer p {
        display: none;
    }
}

@media (max-width: 540px) {
    .mc-header__back {
        font-size: .55rem;
    }

    .mc-hero h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 11.3vw, 3.1rem);
        line-height: .84;
    }

    .mc-hero h1 em {
        -webkit-text-stroke-width: 2px;
        text-shadow: 4px 4px 0 var(--ink);
    }

    .mc-hero__facts {
        grid-template-columns: 1fr 1fr;
    }

    .mc-hero__facts span:nth-child(2) {
        border-right: 0;
    }

    .mc-hero__facts span:last-child {
        grid-column: 1 / -1;
        padding-left: 0;
        border-top: 1px solid var(--ink);
    }

    .mc-upcoming,
    .mc-past {
        align-items: stretch;
        flex-direction: column;
    }

    .mc-upcoming > p,
    .mc-past > p {
        max-width: none;
    }

    .mc-button {
        width: 100%;
        min-width: 0;
    }

    .mc-portrait {
        width: 88%;
    }

    .mc-date-ticket {
        width: 90px;
        height: 90px;
    }

    .mc-date-ticket strong {
        font-size: 2.7rem;
    }

    .mc-mini-portrait {
        width: 88px;
        height: 88px;
    }

    .mc-section-heading h2,
    .mc-agenda h2,
    .mc-speaker h2,
    .mc-closing h2 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .mc-outcomes {
        padding-inline: 1rem;
    }

    .mc-outcome {
        min-height: 390px;
        padding: 1.2rem;
    }

    .mc-agenda__list li {
        grid-template-columns: auto 1fr;
    }

    .mc-agenda__list i {
        display: none;
    }

    .mc-speaker__portrait {
        width: 92%;
    }

    .mc-closing {
        min-height: 720px;
        padding-inline: 1rem;
    }

    .mc-footer {
        padding-inline: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-live-dot,
    .mc-burst,
    .mc-ticker > div {
        animation: none;
    }
}
