:root {
    --black: #0a0a0a;
    --white: #f5f4ef;

    /* Paleta XIX Semana do Direito */
    --pink: #ff2d6d;
    --pink-light: #ff8fb0;
    --green: #00c389;
    --green-light: #6affc4;
    --blue: #1e9fe0;
    --blue-light: #8fe0ff;
    --coral: #ff6f59;
    --coral-light: #ffb7a8;

    /* Texto */
    --ink: #14141a;
    --muted: #c5c5c5;
    --muted-heading: #9a9a9a;
    --muted-strong: #5a5a5f;

    --font-body: 'tussilago', sans-serif;
    --font-display: 'tussilago', sans-serif;

    --gutter: clamp(1.5rem, 4vw, 4rem);
    --content-width: 80rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pink);
    z-index: 9999;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
}

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

.container {
    margin-inline: auto;
    max-width: var(--content-width);
    width: min(calc(100% - (var(--gutter) * 2)), var(--content-width));
}

.hero {
    background: var(--black);
    isolation: isolate;
    min-height: 100svh;
    height: 100svh;
    min-width: 320px;
    overflow: hidden;
    position: relative;
}

.hero-video {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.hero::before {
    background: linear-gradient(to left, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.6) 35%, transparent 75%);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.hero-container {
    height: 100%;
    position: relative;
}

.site-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    position: absolute;
    right: 0;
    left: 0;
    top: clamp(1.5rem, 5vw, 3rem);
    z-index: 4;
}

.brand {
    align-items: center;
    display: flex;
    gap: 0.8rem;
}

.brand img {
    width: 220px;
}

.glitch-logo {
    display: inline-block;
    position: relative;
}

.glitch-logo img {
    display: block;
    position: relative;
    z-index: 1;
}

.glitch-logo::before,
.glitch-logo::after {
    -webkit-mask-image: url(../assets/logo-v1.svg);
    -webkit-mask-position: left center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url(../assets/logo-v1.svg);
    mask-position: left center;
    mask-repeat: no-repeat;
    mask-size: contain;
    content: '';
    inset: 0;
    opacity: 0;
    position: absolute;
    z-index: 2;
}

.glitch-logo.is-glitching {
    animation: glitch-tune 700ms steps(1, end) both;
}

.glitch-logo.is-glitching::before {
    animation: glitch-slice-1 700ms steps(10, end) both;
    background: var(--pink);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.glitch-logo.is-glitching::after {
    animation: glitch-slice-2 700ms steps(10, end) both;
    background: var(--blue);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.brand-mark {
    color: var(--pink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.12em;
    line-height: 0.8;
}

.brand-mark span {
    color: var(--white);
}

.brand-name {
    border-left: 1px solid #555;
    color: #aaa;
    font-size: 0.66rem;
    line-height: 1.1;
    padding-left: 0.8rem;
    text-transform: uppercase;
}

.menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: grid;
    gap: 0.35rem;
    padding: 0.5rem 0;
    width: 3rem;
}

.menu-toggle span {
    background: var(--pink);
    display: block;
    height: 0.16rem;
    margin-left: auto;
    transition: transform 180ms ease, width 180ms ease;
    width: 2.4rem;
}

.menu-toggle span:nth-child(2) {
    width: 1.7rem;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.5rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.5rem) rotate(-45deg);
}

.hero-art {
    height: 94%;
    left: 26%;
    position: absolute;
    top: 5%;
    width: 55%;
    z-index: 1;
}

.slash {
    background: var(--white);
    height: 88%;
    left: 45%;
    position: absolute;
    top: 5%;
    transform: skewX(-32deg);
    z-index: 1;
}

.ribbon {
    background: linear-gradient(100deg, var(--pink-light) 0%, var(--pink) 47%, #ff5d86 100%);
    box-shadow: 0.3rem 0 1.4rem #ff2d6d66;
    height: 95%;
    left: 45%;
    position: absolute;
    top: 2%;
    transform: rotate(-35deg) skewX(5deg);
    width: 13%;
}

.ribbon::before,
.ribbon::after {
    background: var(--pink-light);
    content: '';
    height: 0.3rem;
    left: 12%;
    opacity: 0.55;
    position: absolute;
    transform: rotate(-5deg);
    width: 75%;
}

.ribbon::before {
    top: 21%;
}

.ribbon::after {
    top: 56%;
}

.event-details {
    bottom: clamp(2rem, 7vw, 5rem);
    left: 0;
    position: absolute;
    z-index: 2;
}

.date {
    display: grid;
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.1em;
    line-height: 0.8;
    margin: 0 0 1.4rem;
}

.venue {
    color: #c7c7c7;
    font-family: var(--font-body);
    font-size: clamp(0.55rem, 1vw, 0.75rem);
    line-height: 1.45;
    margin: 0;
    text-transform: uppercase;
}

.hero-copy {
    left: 45%;
    right: 0;
    max-width: 44rem;
    position: absolute;
    bottom: clamp(7rem, 16vw, 11rem);
    z-index: 3;
}

.hero-copy>*,
.event-details>* {
    position: relative;
    z-index: 4;
}

.eyebrow {
    color: var(--pink);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 3.6rem);
    font-weight: 700;
    hyphens: auto;
    line-height: 1.1;
    margin: 0;
    overflow-wrap: break-word;
    text-transform: uppercase;
}

h1 em {
    color: var(--white);
    font-style: normal;
}

.intro {
    color: #fff;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    line-height: 1.35;
    margin: 1.7rem 0 0;
}

.hero-logos {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin: clamp(1.8rem, 4vw, 2.5rem) 0 0;
}

.hero-logo {
    height: clamp(1.72rem, 2.76vw, 2.42rem);
    object-fit: contain;
    width: auto;
}

.ticket-link {
    align-items: center;
    background: var(--pink);
    border-radius: 2rem;
    bottom: clamp(2rem, 7vw, 5rem);
    color: #fff;
    display: flex;
    font-size: 0.8rem;
    gap: 0.8rem;
    padding: 0.9rem 1.6rem;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    transition: background 200ms ease;
    z-index: 2;
}

.ticket-link:hover {
    background: var(--pink-light);
}

.ticket-link .arrow {
    color: #fff;
}

.arrow {
    color: var(--pink);
    font-size: 1.5rem;
    line-height: 0.5;
}

.arrow-white {
    color: var(--white);
}

.scroll-hint {
    bottom: 0.8rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    left: 50%;
    margin: 0;
    position: absolute;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.scroll-hint span {
    color: var(--pink);
    font-size: 1rem;
    margin-left: 0.5rem;
}

.about-section {
    background: #070707;
    color: #f4f3ef;
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
    position: relative;
}

.about-container {
    display: grid;
    gap: clamp(3rem, 7vw, 7rem) clamp(3rem, 8vw, 8rem);
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 1fr);
    grid-template-rows: auto auto;
    min-height: calc(100svh - clamp(11rem, 15vw, 15rem));
    position: relative;
}

.about-intro {
    align-self: start;
    max-width: 31rem;
}

.section-label,
.context-kicker {
    color: var(--pink);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
}

h2,
h3 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.4vw, 6.8rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.84;
    margin: 0;
    text-transform: uppercase;
}

h2 span {
    color: var(--white);
}

.about-text,
.context-text {
    color: var(--muted);
    font-size: clamp(0.88rem, 1.25vw, 1.08rem);
    line-height: 1.25;
    margin: 0 0 1.7rem;
    max-width: 30rem;
}

.about-intro .about-text:first-of-type {
    margin-top: 3.5rem;
}

.about-container figure {
    align-self: start;
    aspect-ratio: 1.35 / 1;
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.about-container figure:first-of-type {
    grid-column: 2;
    grid-row: 1;
}

.about-container figure:last-of-type {
    align-self: end;
    grid-column: 1;
    grid-row: 2;
}

.about-container figure img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.about-context {
    align-self: center;
    grid-column: 2;
    grid-row: 2;
    max-width: 32rem;
    padding: 0 0 2rem;
}

.about-context h2 {
    font-size: clamp(2.5rem, 2.5vw, 3.5rem);
    line-height: 2.8rem;
    margin-bottom: 20px;
}

.context-text {
    max-width: 25rem;
}

.glitch-text {
    display: inline-block;
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: inherit;
    opacity: 0;
    overflow: hidden;
}

.glitch-text.is-glitching {
    animation: glitch-tune 900ms steps(1, end) both;
    text-shadow: 0 0 12px rgba(255, 45, 109, 0.35);
}

.glitch-text.is-glitching::before {
    animation: glitch-slice-1 900ms steps(12, end) both;
    color: var(--pink);
    mix-blend-mode: screen;
    opacity: 0.85;
}

.glitch-text.is-glitching::after {
    animation: glitch-slice-2 900ms steps(12, end) both;
    color: var(--blue);
    mix-blend-mode: screen;
    opacity: 0.85;
}

@keyframes glitch-tune {
    0% {
        filter: brightness(1) blur(0);
        opacity: 1;
        transform: translate(0);
    }

    4% {
        filter: brightness(2.4) blur(0.6px);
        opacity: 0.4;
        transform: translate(-3px, 1px);
    }

    8% {
        filter: brightness(0.6) blur(0);
        opacity: 1;
        transform: translate(3px, -1px);
    }

    16% {
        opacity: 0.7;
        transform: translate(-2px, 0);
    }

    24% {
        filter: brightness(1.8) blur(0.4px);
        opacity: 0.5;
        transform: translate(2px, 1px);
    }

    32% {
        filter: brightness(1);
        opacity: 1;
        transform: translate(0);
    }

    46% {
        opacity: 0.85;
        transform: translate(-1px, 1px);
    }

    58% {
        filter: brightness(1.6);
        opacity: 0.6;
        transform: translate(2px, 0);
    }

    70% {
        opacity: 1;
        transform: translate(0);
    }

    82% {
        filter: brightness(1.4);
        opacity: 0.75;
        transform: translate(-1px, -1px);
    }

    100% {
        filter: brightness(1) blur(0);
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes glitch-slice-1 {
    0% {
        clip-path: polygon(0 12%, 100% 12%, 100% 22%, 0 22%);
        transform: translate(6px, 0);
    }

    8% {
        clip-path: polygon(0 68%, 100% 68%, 100% 80%, 0 80%);
        transform: translate(-8px, 0);
    }

    16% {
        clip-path: polygon(0 30%, 100% 30%, 100% 40%, 0 40%);
        transform: translate(5px, 0);
    }

    25% {
        clip-path: polygon(0 4%, 100% 4%, 100% 14%, 0 14%);
        transform: translate(-6px, 0);
    }

    33% {
        clip-path: polygon(0 50%, 100% 50%, 100% 62%, 0 62%);
        transform: translate(7px, 0);
    }

    41% {
        clip-path: polygon(0 78%, 100% 78%, 100% 90%, 0 90%);
        transform: translate(-4px, 0);
    }

    50% {
        clip-path: polygon(0 18%, 100% 18%, 100% 28%, 0 28%);
        transform: translate(6px, 0);
    }

    58% {
        clip-path: polygon(0 42%, 100% 42%, 100% 54%, 0 54%);
        transform: translate(-7px, 0);
    }

    66% {
        clip-path: polygon(0 8%, 100% 8%, 100% 18%, 0 18%);
        transform: translate(4px, 0);
    }

    75% {
        clip-path: polygon(0 60%, 100% 60%, 100% 72%, 0 72%);
        transform: translate(-5px, 0);
    }

    83% {
        clip-path: polygon(0 34%, 100% 34%, 100% 44%, 0 44%);
        transform: translate(3px, 0);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transform: translate(0);
    }
}

@keyframes glitch-slice-2 {
    0% {
        clip-path: polygon(0 55%, 100% 55%, 100% 66%, 0 66%);
        transform: translate(-6px, 0);
    }

    8% {
        clip-path: polygon(0 5%, 100% 5%, 100% 16%, 0 16%);
        transform: translate(8px, 0);
    }

    16% {
        clip-path: polygon(0 72%, 100% 72%, 100% 84%, 0 84%);
        transform: translate(-5px, 0);
    }

    25% {
        clip-path: polygon(0 38%, 100% 38%, 100% 48%, 0 48%);
        transform: translate(6px, 0);
    }

    33% {
        clip-path: polygon(0 14%, 100% 14%, 100% 24%, 0 24%);
        transform: translate(-7px, 0);
    }

    41% {
        clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
        transform: translate(4px, 0);
    }

    50% {
        clip-path: polygon(0 82%, 100% 82%, 100% 94%, 0 94%);
        transform: translate(-6px, 0);
    }

    58% {
        clip-path: polygon(0 22%, 100% 22%, 100% 32%, 0 32%);
        transform: translate(7px, 0);
    }

    66% {
        clip-path: polygon(0 46%, 100% 46%, 100% 58%, 0 58%);
        transform: translate(-4px, 0);
    }

    75% {
        clip-path: polygon(0 2%, 100% 2%, 100% 10%, 0 10%);
        transform: translate(5px, 0);
    }

    83% {
        clip-path: polygon(0 64%, 100% 64%, 100% 76%, 0 76%);
        transform: translate(-3px, 0);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transform: translate(0);
    }
}

.about-signature {
    bottom: clamp(2rem, 5vw, 4rem);
    font-family: var(--font-body);
    font-size: 0.65rem;
    left: 0;
    margin: 0;
    position: absolute;
    text-transform: uppercase;
}

.about-signature span {
    color: var(--green);
    margin: 0 0.4rem;
}

.speakers-section {
    background: #070707;
    color: var(--white);
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
}

.speakers-container {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.speakers-heading {
    align-items: center;
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
}

.speakers-heading h2 {
    color: var(--white);
    font-size: clamp(2rem, 3vw, 3.2rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.heading-line {
    align-items: center;
    background: var(--pink);
    display: flex;
    flex: 1;
    height: 1px;
    max-width: 50rem;
}

.heading-line span {
    background: var(--pink);
    border-radius: 50%;
    height: 0.8rem;
    margin-left: -0.15rem;
    width: 0.8rem;
}

.speakers-intro {
    color: var(--muted);
    font-size: 1rem;
    margin: 2rem 0 1.8rem;
}

.speakers-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    overflow: hidden;
    width: 100%;
}

.speakers-track {
    animation: speakers-scroll 40s linear infinite;
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0 var(--gutter);
    width: max-content;
    will-change: transform;
}

@keyframes speakers-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.speaker-card {
    aspect-ratio: 0.72 / 1;
    background: #151515;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    width: clamp(15rem, 26vw, 21rem);
}

.speaker-card:nth-child(6n+1) {
    --accent: var(--pink);
}

.speaker-card:nth-child(6n+2) {
    --accent: var(--green);
}

.speaker-card:nth-child(6n+3) {
    --accent: var(--blue);
}

.speaker-card:nth-child(6n+4) {
    --accent: var(--coral);
}

.speaker-card:nth-child(6n+5) {
    --accent: var(--pink);
}

.speaker-card:nth-child(6n) {
    --accent: var(--green);
}

.speaker-image {
    inset: 0;
    position: absolute;
}

.speaker-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
    width: 100%;
}

.speaker-card:hover .speaker-image img,
.speaker-card:focus-within .speaker-image img {
    transform: scale(1.04);
}

.speaker-image::after {
    background: linear-gradient(to bottom, transparent 30%, rgba(7, 7, 7, 0.35) 55%, #070707 100%);
    content: '';
    inset: 0;
    position: absolute;
}

.speaker-info {
    bottom: 0;
    left: 0;
    padding: 1.1rem 0.9rem 1rem;
    position: absolute;
    right: 0;
    z-index: 1;
}

.speaker-info h3 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.05;
    text-transform: none;
}

.speaker-role {
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.25;
    margin: 0.4rem 0 0;
}

.speaker-talk {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0.6rem 0 0;
}

.speaker-time {
    color: var(--accent, var(--pink));
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    margin: 0.4rem 0 0;
    text-transform: uppercase;
}

.numbers-section {
    background: #070707;
    color: var(--white);
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
    position: relative;
}

.numbers-section::before {
    background: repeating-linear-gradient(115deg, transparent 0, transparent 4rem, #141414 4.1rem, transparent 4.2rem);
    content: '';
    inset: 0;
    opacity: 0.5;
    position: absolute;
}

.numbers-top {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem clamp(2rem, 5vw, 5rem);
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.numbers-heading {
    max-width: 42rem;
}

.numbers-heading h2 {
    font-size: clamp(2.4rem, 4.6vw, 4.5rem);
    line-height: 0.92;
}

.numbers-heading h2 .muted {
    color: var(--muted-heading);
}

.numbers-intro {
    color: var(--muted);
    font-size: clamp(0.88rem, 1.25vw, 1.08rem);
    line-height: 1.4;
    margin: 0;
    max-width: 40%;
    width: 100%;
}

.numbers-stats {
    display: grid;
    gap: 2.5rem clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: clamp(3rem, 6vw, 5rem) 0 0;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    position: relative;
    z-index: 1;
}

.stat {
    border-left: 1px solid #2a2a2a;
    padding-left: clamp(1.5rem, 3vw, 2rem);
}

.stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.stat-number {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.stat-number span {
    color: var(--pink);
}

.stat-number span.stat-value {
    color: inherit;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: var(--muted);
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    line-height: 1.3;
    margin: 0.7rem 0 0;
}

.gallery-section {
    background: #070707;
    color: var(--white);
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
    position: relative;
}

.gallery-heading {
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.gallery-heading h2 {
    font-size: clamp(2.4rem, 4.6vw, 4.5rem);
    line-height: 0.92;
}

.gallery-heading h2 .muted {
    color: var(--muted-heading);
}

.gallery-masonry {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    display: grid;
    gap: clamp(0.8rem, 2vw, 1.25rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: clamp(26rem, 46vw, 34rem);
    margin-inline: 10px;
    width: auto;
}

.gallery-column {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-column--down {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.gallery-track {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vw, 1.25rem);
    will-change: transform;
}

.gallery-column--up .gallery-track {
    animation: gallery-scroll-up 34s linear infinite;
}

.gallery-column--down .gallery-track {
    animation: gallery-scroll-down 34s linear infinite;
}

.gallery-column:nth-child(2) .gallery-track {
    animation-duration: 40s;
}

.gallery-column:nth-child(3) .gallery-track {
    animation-duration: 28s;
}

@keyframes gallery-scroll-up {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@keyframes gallery-scroll-down {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}

.gallery-track img {
    display: block;
    object-fit: cover;
    width: 100%;
}

.gallery-track img:nth-child(3n+1) {
    aspect-ratio: 3 / 4;
}

.gallery-track img:nth-child(3n+2) {
    aspect-ratio: 1 / 1;
}

.gallery-track img:nth-child(3n) {
    aspect-ratio: 4 / 5;
}

.workshops-section {
    background: #f4f4f1;
    color: var(--ink);
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
}

.workshops-heading {
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.workshops-heading .section-label {
    color: var(--ink);
}

.workshops-heading h2 {
    color: var(--ink);
    font-size: clamp(2.4rem, 4.6vw, 4.5rem);
    line-height: 0.92;
}

.workshops-heading h2 .muted {
    color: var(--muted-strong);
}

.day-tabs {
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 1rem;
    display: flex;
    gap: 0.3rem;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    padding: 0.35rem;
    width: fit-content;
}

.day-tab {
    background: transparent;
    border: 0;
    border-radius: 0.7rem;
    color: var(--ink);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.9rem 1.8rem;
    transition: background 200ms ease, color 200ms ease;
}

.day-tab.is-active {
    background: var(--pink);
    color: #fff;
}

.workshops-panel[hidden] {
    display: none;
}

.workshops-day-meta {
    color: var(--muted-strong);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
}

.workshops-grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.workshop-card {
    background: #fff;
    border: 1px solid #e7e7e2;
    border-radius: 1.1rem;
    padding: clamp(1.6rem, 3vw, 2rem);
}

.workshop-card h3 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0 0 0.9rem;
    text-transform: uppercase;
}

.workshop-desc {
    color: var(--muted-strong);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 1.6rem;
}

.workshop-meta {
    background: #f4f4f1;
    border-radius: 0.85rem;
    padding: 1.3rem 1.4rem 1.5rem;
}

.meta-label {
    color: var(--muted-strong);
    font-size: 0.78rem;
    margin: 0;
}

.meta-label:not(:first-child) {
    margin-top: 1.1rem;
}

.meta-value {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.25rem 0 0;
}

.workshop-speakers {
    display: flex;
    margin-top: 0.6rem;
}

.workshop-speakers img {
    border: 2px solid var(--pink);
    border-radius: 50%;
    height: 4.6rem;
    margin-left: -0.6rem;
    object-fit: cover;
    width: 4.6rem;
}

.workshop-speakers img:first-child {
    margin-left: 0;
}

.workshop-teacher-names {
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0.6rem 0 0;
}

.tickets-section {
    background: #070707;
    color: var(--white);
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
    position: relative;
}

.tickets-heading {
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
    max-width: 42rem;
}

.tickets-heading h2 {
    font-size: clamp(2.4rem, 4.6vw, 4.5rem);
    line-height: 0.92;
}

.tickets-heading h2 .muted {
    color: var(--muted-heading);
}

.tickets-intro {
    color: var(--muted);
    font-size: clamp(0.88rem, 1.25vw, 1.08rem);
    line-height: 1.4;
    margin: 1rem 0 0;
}

.tickets-grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.ticket-card {
    --ticket-pad: clamp(1.8rem, 3vw, 2.2rem);
    background: #fff;
    border-radius: 1.1rem;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    padding: var(--ticket-pad);
    position: relative;
    transition: opacity 200ms ease;
}

.ticket-card.is-disabled {
    filter: grayscale(0.5);
    opacity: 0.45;
}

.ticket-card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 0 1.4rem;
}

.ticket-batch {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    text-transform: uppercase;
}

.ticket-status {
    background: #f4f4f1;
    border-radius: 2rem;
    color: var(--muted-strong);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    margin: 0;
    padding: 0.35rem 0.8rem;
    text-transform: uppercase;
}

.ticket-card.is-active .ticket-status {
    background: var(--pink);
    color: #fff;
}

.ticket-prices {
    border-top: 1px solid #e7e7e2;
    list-style: none;
    margin: 0;
    padding: 1.3rem 0 0;
}

.ticket-prices li {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.ticket-prices li:not(:first-child) {
    margin-top: 0.8rem;
}

.ticket-prices span {
    color: var(--muted-strong);
}

.ticket-prices strong {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.ticket-deadline {
    color: var(--muted-strong);
    font-size: 0.8rem;
    margin: 1.4rem 0 0;
    text-transform: uppercase;
}

.ticket-card.is-active .ticket-deadline {
    color: var(--pink);
}

.ticket-tear {
    border-top: 2px dashed #d8d8d2;
    margin: 1.6rem calc(-1 * var(--ticket-pad)) 0;
    padding: 0 var(--ticket-pad);
    position: relative;
}

.ticket-tear::before,
.ticket-tear::after {
    background: #070707;
    border-radius: 50%;
    content: '';
    height: 1.5rem;
    position: absolute;
    top: -0.75rem;
    width: 1.5rem;
}

.ticket-tear::before {
    left: -0.75rem;
}

.ticket-tear::after {
    right: -0.75rem;
}

.ticket-cta {
    align-items: center;
    background: #f4f4f1;
    border-radius: 0.75rem;
    color: var(--ink);
    display: flex;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 0.6rem;
    justify-content: center;
    margin: 1.3rem 0 0;
    padding: 0.95rem 1.4rem;
    text-transform: uppercase;
    transition: background 200ms ease, transform 200ms ease;
}

.ticket-cta .arrow {
    font-size: 1.2rem;
    line-height: 0.5;
}

.ticket-card.is-active .ticket-cta {
    background: var(--pink);
    color: #fff;
}

a.ticket-cta {
    cursor: pointer;
}

a.ticket-cta:hover {
    transform: translateY(-2px);
}

span.ticket-cta {
    cursor: not-allowed;
    pointer-events: none;
}

.organizers-section {
    background: #070707;
    color: var(--white);
    overflow: hidden;
    padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
}

.organizers-heading {
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.organizers-heading h2 {
    color: var(--white);
    font-size: clamp(2.4rem, 4.6vw, 4.5rem);
    hyphens: auto;
    letter-spacing: -0.02em;
    line-height: 0.92;
    overflow-wrap: break-word;
}

.org-grid {
    border-left: 1px solid rgba(245, 244, 239, 0.14);
    border-top: 1px solid rgba(245, 244, 239, 0.14);
    display: grid;
    grid-template-areas:
        "feature c2 c3 c4"
        "feature c5 c6 acc"
        "c8 c9 e1 e2";
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(7rem, auto));
    list-style: none;
    margin: 0;
    padding: 0;
}

.org-tile {
    align-items: center;
    border-bottom: 1px solid rgba(245, 244, 239, 0.14);
    border-right: 1px solid rgba(245, 244, 239, 0.14);
    display: flex;
    gap: 0.9rem;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    position: relative;
}

.org-area-feature {
    grid-area: feature;
}

.org-area-c2 {
    grid-area: c2;
}

.org-area-c3 {
    grid-area: c3;
}

.org-area-c4 {
    grid-area: c4;
}

.org-area-c5 {
    grid-area: c5;
}

.org-area-c6 {
    grid-area: c6;
}

.org-area-acc {
    grid-area: acc;
}

.org-area-c8 {
    grid-area: c8;
}

.org-area-c9 {
    grid-area: c9;
}

.org-area-e1 {
    grid-area: e1;
}

.org-area-e2 {
    grid-area: e2;
}

.org-mark {
    align-items: center;
    border: 1.5px solid rgba(245, 244, 239, 0.4);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.org-tile--feature .org-mark {
    font-size: 1.3rem;
    height: 2.8rem;
    width: 2.8rem;
}

.org-name {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    hyphens: auto;
    letter-spacing: -0.01em;
    min-width: 0;
    overflow-wrap: break-word;
}

.org-tile--feature .org-name {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 700;
}

.org-tile--accent {
    background: var(--pink);
    justify-content: center;
}

.org-tile--accent .org-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.org-tile--empty {
    background: repeating-linear-gradient(115deg, transparent 0, transparent 4rem, #141414 4.1rem, transparent 4.2rem);
    opacity: 0.6;
}

.sticky-bar {
    background: #0d0d0d;
    border-top: 1px solid rgba(245, 244, 239, 0.12);
    bottom: 0;
    box-shadow: 0 -0.6rem 2rem rgba(0, 0, 0, 0.4);
    left: 0;
    position: fixed;
    right: 0;
    transform: translateY(100%);
    transition: transform 300ms ease;
    z-index: 40;
}

.sticky-bar.is-visible {
    transform: translateY(0);
}

.sticky-bar-container {
    align-items: center;
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    justify-content: space-between;
    padding-block: 0.9rem;
}

.sticky-bar-brand {
    flex-shrink: 0;
}

.sticky-bar-brand img {
    display: block;
    height: 2.2rem;
    width: auto;
}

.sticky-bar-countdown {
    align-items: center;
    color: var(--white);
    display: flex;
    gap: 0.9rem;
}

.countdown-label {
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.countdown-timer {
    display: flex;
    gap: 0.6rem;
}

.countdown-unit {
    align-items: baseline;
    background: rgba(245, 244, 239, 0.06);
    border-radius: 0.5rem;
    display: flex;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
}

.countdown-value {
    color: var(--pink);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.countdown-unit-label {
    color: var(--muted);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.sticky-bar-cta {
    align-items: center;
    background: var(--pink);
    border-radius: 2rem;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: 0.8rem;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    text-transform: uppercase;
}

.sticky-bar-cta .arrow {
    font-size: 1.1rem;
    line-height: 0.5;
}

.mobile-menu {
    background:
        repeating-linear-gradient(115deg, transparent 0, transparent 3rem, rgba(10, 10, 10, 0.06) 3.05rem, transparent 3.15rem),
        var(--pink);
    box-shadow: -1.5rem 0 4rem rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    overflow-y: auto;
    padding: clamp(5.5rem, 12vw, 7rem) clamp(2rem, 6vw, 3rem) clamp(2rem, 5vw, 3rem);
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
    width: min(26rem, 100%);
    z-index: 50;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
}

.mobile-menu-links {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex: 1;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-links a {
    align-items: baseline;
    color: var(--white);
    display: flex;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 700;
    gap: 1rem;
    padding: 0.85rem 0;
    text-transform: uppercase;
    transition: gap 200ms ease, opacity 200ms ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible {
    gap: 1.4rem;
    opacity: 0.8;
}

.mobile-menu-index {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
}

.mobile-menu-cta {
    align-items: center;
    background: var(--black);
    border-radius: 2rem;
    color: #fff;
    display: flex;
    font-size: 0.85rem;
    gap: 0.6rem;
    justify-content: center;
    margin-top: clamp(1.5rem, 4vw, 2rem);
    padding: 1rem 1.6rem;
    text-transform: uppercase;
    transition: background 200ms ease, color 200ms ease;
}

.mobile-menu-cta:hover {
    background: #fff;
    color: var(--pink);
}

.mobile-menu-cta .arrow {
    color: inherit;
    font-size: 1.1rem;
    line-height: 0.5;
}

.mobile-menu-footer {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.7rem;
    line-height: 1.6;
    margin-top: clamp(1.5rem, 4vw, 2rem);
    text-transform: uppercase;
}

.mobile-menu-footer p {
    margin: 0;
}

.mobile-menu-close {
    background: transparent;
    border: 0;
    color: var(--white);
    cursor: pointer;
    padding: 0.4rem;
    position: absolute;
    right: clamp(1.2rem, 4vw, 2rem);
    top: clamp(1.4rem, 4vw, 2.2rem);
}

@media (max-width: 1024px) {
    .tickets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .org-grid {
        grid-template-areas:
            "feature feature"
            "c2 c3"
            "c4 c5"
            "c6 acc"
            "c8 c9";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .org-tile--empty {
        display: none;
    }
}

@media (max-width: 700px) {
    .hero-art {
        height: 75%;
        left: 10%;
        top: 11%;
        width: 100%;
    }

    .slash {
        height: 92%;
        left: 43%;
        top: 4%;
        width: 22%;
    }

    .ribbon {
        height: 98%;
        left: 42%;
        top: 0;
        transform: rotate(-35deg) skewX(5deg);
        width: 15%;
    }

    .hero-copy {
        bottom: auto;
        left: 0;
        max-width: none;
        right: 0;
        top: 32%;
    }

    .hero-copy .intro {
        display: none;
    }

    .event-details {
        bottom: 2.4rem;
    }

    .date {
        font-size: clamp(3.5rem, 16vw, 5rem);
    }

    .venue {
        font-size: 0.52rem;
        line-height: 2;
    }

    .ticket-link {
        bottom: 2.7rem;
        font-size: 0.65rem;
        gap: 1rem;
    }

    .scroll-hint {
        display: none;
    }

    .about-section {
        padding: 5rem 0 8rem;
    }

    .about-container {
        display: block;
        min-height: auto;
    }

    h2 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .about-text {
        margin-top: 1.5rem;
        max-width: 20rem;
    }

    .about-context {
        padding: 7rem 0 0;
    }

    .about-context h2 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .context-text {
        max-width: 20rem;
    }

    .about-signature {
        bottom: auto;
        left: auto;
        margin: 2rem 0 0;
        position: static;
    }

    .speakers-section {
        padding: 4rem 0 5rem;
    }

    .speakers-heading {
        gap: 1rem;
    }

    .speakers-heading h2 {
        font-size: 2rem;
    }

    .speakers-track {
        animation-duration: 26s;
        gap: 0.9rem;
    }

    .speaker-card {
        width: clamp(12.5rem, 62vw, 15rem);
    }

    .numbers-section {
        padding: 3.5rem 0 4.5rem;
    }

    .numbers-top {
        align-items: start;
        flex-direction: column;
    }

    .numbers-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }

    .stat:nth-child(2) {
        border-left: 1px solid #2a2a2a;
        padding-left: clamp(1.5rem, 3vw, 2rem);
    }

    .stat:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .gallery-section {
        padding: 3.5rem 0 4.5rem;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: clamp(22rem, 90vw, 30rem);
    }

    .gallery-column:nth-child(3),
    .gallery-column:nth-child(4) {
        display: none;
    }

    .workshops-section {
        padding: 3.5rem 0 4.5rem;
    }

    .day-tabs {
        display: flex;
        width: 100%;
    }

    .day-tab {
        flex: 1;
        font-size: 0.78rem;
        min-width: 0;
        padding: 0.75rem 0.4rem;
        text-align: center;
    }

    .workshops-grid {
        gap: 1.25rem;
        grid-template-columns: 1fr;
    }

    .tickets-section {
        padding: 3.5rem 0 4.5rem;
    }

    .tickets-grid {
        gap: 1.25rem;
        grid-template-columns: 1fr;
    }

    .organizers-section {
        padding: 3.5rem 0 4.5rem;
    }

    .org-grid {
        grid-template-areas:
            "feature feature"
            "c2 c3"
            "c4 c5"
            "c6 acc"
            "c8 c9";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .org-tile {
        gap: 0.6rem;
        padding: 1.1rem;
    }

    .org-mark {
        font-size: 0.78rem;
        height: 1.7rem;
        width: 1.7rem;
    }

    .org-name {
        font-size: 0.88rem;
    }

    .org-tile--feature .org-mark {
        height: 2.3rem;
        width: 2.3rem;
    }

    .org-tile--empty {
        display: none;
    }
}

@media (max-width: 1040px) {
    .sticky-bar-container {
        gap: 0.8rem;
        padding-block: 0.7rem;
    }

    .sticky-bar-brand img {
        height: 1.7rem;
    }

    .countdown-label {
        display: none;
    }

    .countdown-timer {
        gap: 0.35rem;
    }

    .countdown-unit {
        padding: 0.25rem 0.4rem;
    }

    .sticky-bar-cta span:first-child {
        display: none;
    }

    .sticky-bar-cta {
        border-radius: 50%;
        height: 2.6rem;
        justify-content: center;
        padding: 0;
        width: 2.6rem;
    }

    .sticky-bar-cta .arrow {
        font-size: 1.3rem;
    }
}

@media (max-width: 599px) {
    .sticky-bar-countdown {
        display: none;
    }
}

@media (max-width: 460px) {
    .speaker-card {
        aspect-ratio: 0.9 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .speakers-track,
    .gallery-track {
        animation-play-state: paused;
    }
}