@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,900&display=swap");

:root {
    --paper: #f1eadc;
    --paper-deep: #d9d0bf;
    --ink: #0e1110;
    --muted: #858275;
    --line: rgba(241, 234, 220, 0.16);
    --charcoal: #171b19;
    --smoke: #fbf4e7;
    --clay: #b7654b;
    --moss: #1f3530;
    --ochre: #b99a5d;
    --rose: #8f303b;
    --cacao: #141816;
    --wine: #5a202b;
    --ash: #cac2b2;
    --night: #07110f;
    --veil: rgba(14, 17, 16, 0.78);
    --radius: 8px;
    --shadow: 0 28px 90px rgba(12, 9, 7, 0.36);
    --sans: "Archivo", Arial, sans-serif;
    --serif: "Fraunces", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    color: var(--smoke);
    background:
        linear-gradient(145deg, rgba(31, 53, 48, 0.48), transparent 34%),
        linear-gradient(315deg, rgba(143, 48, 59, 0.28), transparent 38%),
        var(--ink);
    font-family: var(--sans);
    line-height: 1.5;
    overflow-x: hidden;
}

body.nav-open,
body.game-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

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

p {
    margin: 0;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    transform: translateY(-150%);
    background: var(--ink);
    color: var(--paper);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: none;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 120;
    height: 3px;
    background: rgba(238, 230, 213, 0.08);
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--ochre), var(--rose), var(--moss));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.08s linear;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    color: var(--smoke);
    transform: none;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s ease, color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    color: var(--smoke);
    background: rgba(7, 17, 15, 0.74);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.site-header.is-hidden {
    transform: translateY(-110%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    position: relative;
    z-index: 140;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px currentColor;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    background: var(--smoke);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    background: transparent;
    position: relative;
    z-index: 150;
    overflow: hidden;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.nav-toggle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--smoke);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    position: relative;
    z-index: 1;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}

.nav-toggle.is-open {
    color: var(--ink);
    border-color: var(--smoke);
    transform: rotate(90deg);
}

.nav-toggle.is-open::before {
    transform: translateY(0);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    padding: clamp(7rem, 14vh, 11rem) clamp(1.1rem, 5vw, 5rem) 7rem;
    color: var(--smoke);
    overflow: hidden;
    isolation: isolate;
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: -4;
    transform: translate3d(0, calc(var(--scroll-ratio, 0) * 80px), 0) scale(1.08);
    will-change: transform;
}

.hero__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.04) brightness(1.12);
}

.hero__backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 17, 15, 0.7), rgba(7, 17, 15, 0.12) 58%, rgba(7, 17, 15, 0.46)),
        linear-gradient(135deg, rgba(143, 48, 59, 0.28), transparent 44%, rgba(31, 53, 48, 0.28));
}

.hero__content {
    width: min(1060px, 100%);
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker,
.edition__count {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--clay);
}

.hero .eyebrow {
    color: var(--paper);
    opacity: 0.86;
}

.hero h1 {
    margin: 0.35rem 0 0;
    max-width: 970px;
    font-family: var(--serif);
    font-size: clamp(4.2rem, 11vw, 11.2rem);
    line-height: 0.82;
    font-weight: 900;
    text-wrap: balance;
    transform: translate3d(0, calc(var(--scroll-ratio, 0) * -26px), 0);
    will-change: transform;
}

.hero__date {
    margin-top: 1.4rem;
    font-size: clamp(1.2rem, 2.4vw, 2.2rem);
    font-weight: 700;
}

.hero__actions,
.sixth__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(23, 23, 22, 0.2);
}

.button--light {
    background: var(--paper);
    color: var(--ink);
}

.button--ghost {
    color: var(--paper);
    background: rgba(248, 246, 239, 0.08);
    backdrop-filter: blur(10px);
}

.button--dark {
    background: var(--ink);
    color: var(--paper);
}

.button--outline {
    background: transparent;
    color: var(--ink);
}

.hero__poster {
    position: absolute;
    right: clamp(1rem, 5vw, 5rem);
    bottom: clamp(5.8rem, 10vh, 8rem);
    width: clamp(150px, 18vw, 270px);
    transform: rotate(3deg);
    box-shadow: var(--shadow);
}

.hero__poster img,
.sixth__poster img,
.sixth__program img {
    width: 100%;
    border-radius: var(--radius);
}

.hero__ticker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(248, 246, 239, 0.28);
    background: rgba(23, 23, 22, 0.58);
    color: var(--paper);
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero__ticker-track {
    display: flex;
    flex: 0 0 auto;
    gap: 2rem;
    justify-content: space-around;
    width: max-content;
    min-width: 100%;
    padding-right: 2rem;
    animation: ticker 32s linear infinite;
    will-change: transform;
}

.hero__ticker span {
    flex: 0 0 auto;
}

.manifesto,
.edition-stage,
.media-section,
.sixth,
.footer {
    padding: clamp(4rem, 10vw, 9rem) clamp(1.1rem, 5vw, 5rem);
    position: relative;
    overflow: hidden;
}

.section-kicker {
    margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.manifesto__grid,
.media-section__grid,
.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.manifesto h2,
.edition-stage h2,
.media-section h2,
.sixth h2,
.footer h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 6.8rem);
    line-height: 0.9;
    text-wrap: balance;
}

.manifesto__copy {
    display: grid;
    gap: 1.15rem;
    font-size: clamp(1rem, 1.5vw, 1.32rem);
    color: var(--ash);
}

.manifesto::before,
.media-section::before,
.sixth::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 48%, rgba(185, 154, 93, 0.12) 48.2% 48.8%, transparent 49%);
    opacity: 0.5;
}

.manifesto__strip {
    display: grid;
    grid-template-columns: 1.1fr 0.8fr 1fr 0.9fr;
    gap: clamp(0.7rem, 1.5vw, 1.2rem);
    margin-top: clamp(3rem, 7vw, 6rem);
    align-items: end;
}

.manifesto__strip img {
    width: 100%;
    height: clamp(190px, 28vw, 460px);
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 18px 70px rgba(23, 23, 22, 0.12);
    transform: translateY(calc(var(--local-scroll, 0) * -20px));
    will-change: transform;
}

.manifesto__strip img:nth-child(2) {
    height: clamp(250px, 36vw, 600px);
}

.manifesto__strip img:nth-child(3) {
    height: clamp(170px, 24vw, 380px);
}

.edition-stage {
    background:
        linear-gradient(180deg, rgba(7, 17, 15, 0.98), rgba(20, 24, 22, 0.99)),
        linear-gradient(135deg, rgba(143, 48, 59, 0.22), transparent 34%, rgba(185, 154, 93, 0.08)),
        var(--night);
    color: var(--paper);
}

.edition-stage .section-kicker,
.edition-stage .edition__count {
    color: #d8a651;
}

.edition-stage__intro {
    max-width: 1020px;
    margin-bottom: clamp(3rem, 8vw, 7rem);
}

.edition-stage__intro p {
    max-width: 760px;
    margin-top: 1.2rem;
    color: rgba(239, 237, 230, 0.74);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.edition {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    min-height: 92vh;
    padding: clamp(2rem, 7vw, 6rem) 0;
    border-top: 1px solid rgba(239, 237, 230, 0.16);
    --edition-shift: 0px;
}

.edition__sticky {
    position: sticky;
    top: 7rem;
    align-self: start;
}

.edition h3 {
    margin: 0.25rem 0 1.2rem;
    font-family: var(--serif);
    font-size: clamp(5rem, 16vw, 15rem);
    line-height: 0.78;
    color: color-mix(in srgb, var(--paper) 86%, var(--ochre));
    transform: translate3d(calc((1 - var(--edition-year-progress, 0)) * 58px), 0, 0);
    will-change: transform;
}

.edition p {
    color: rgba(239, 237, 230, 0.78);
    font-size: clamp(0.98rem, 1.2vw, 1.14rem);
}

.edition__gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    grid-auto-rows: clamp(110px, 15vw, 220px);
    gap: clamp(0.65rem, 1.3vw, 1rem);
    align-content: start;
}

.edition__gallery img,
.sixth__gallery img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: var(--radius);
    filter: saturate(0.92) contrast(1.02);
    opacity: 1;
    transform: translateY(calc(var(--image-drift, 0px))) scale(1);
    box-shadow: 0 18px 60px rgba(8, 6, 5, 0.22);
}

.js .edition__gallery img,
.js .sixth__gallery img {
    transform: translateY(calc(24px + var(--image-drift, 0px))) scale(0.97) rotate(0.001deg);
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.js .edition.is-visible .edition__gallery img,
.js .sixth.is-visible .sixth__gallery img {
    opacity: 1;
    transform: translateY(var(--image-drift, 0px)) scale(1);
}

.edition__gallery img:hover,
.sixth__gallery img:hover {
    filter: saturate(1.08) contrast(1.06);
}

.edition__gallery img:nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
}

.edition__gallery img:nth-child(2) {
    grid-column: span 3;
}

.edition__gallery img:nth-child(3) {
    grid-column: span 2;
}

.edition__gallery img:nth-child(4) {
    grid-column: span 2;
}

.edition__gallery img:nth-child(5) {
    grid-column: span 2;
    grid-row: span 2;
}

.edition__gallery img:nth-child(6),
.edition__gallery img:nth-child(7),
.edition__gallery img:nth-child(8),
.edition__gallery img:nth-child(9),
.edition__gallery img:nth-child(10) {
    grid-column: span 2;
}

.elephant-crossing {
    --elephant-x: -20vw;
    min-height: clamp(190px, 34vw, 330px);
    display: grid;
    align-items: center;
    margin: clamp(1rem, 4vw, 3rem) calc(clamp(1.1rem, 5vw, 5rem) * -1) clamp(-2rem, -2vw, -0.5rem);
    overflow: clip;
    background: transparent;
}

.elephant-crossing__track {
    position: relative;
    height: clamp(130px, 18vw, 220px);
}

.elephant-crossing__track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(1.4rem, 3vw, 2.4rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 234, 220, 0.36), transparent);
}

.elephant-crossing img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(110px, 15vw, 180px);
    height: auto;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.38));
    transform: translate3d(var(--elephant-x), 0, 0);
    transition: transform 0.08s linear;
}

.media-section {
    background:
        linear-gradient(180deg, rgba(14, 17, 16, 0.92), rgba(31, 53, 48, 0.58)),
        var(--night);
}

.video-shell {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow);
}

.video-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sixth {
    background:
        linear-gradient(135deg, rgba(176, 138, 73, 0.17), transparent 38%),
        linear-gradient(225deg, rgba(111, 123, 100, 0.15), transparent 42%),
        linear-gradient(180deg, var(--paper), var(--paper-deep));
    color: var(--ink);
}

.sixth__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.45fr) minmax(0, 0.85fr);
    gap: clamp(1rem, 4vw, 4rem);
    align-items: center;
}

.sixth h3 {
    margin: 1.2rem 0;
    font-size: clamp(1.25rem, 2vw, 2rem);
}

.sixth p {
    max-width: 680px;
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    color: var(--charcoal);
}

.sixth__poster,
.sixth__program {
    margin: 0;
}

.sixth__poster {
    transform: rotate(-2deg);
    box-shadow: var(--shadow);
}

.sixth__program {
    box-shadow: 0 24px 80px rgba(23, 23, 22, 0.16);
}

.sixth__gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(0.55rem, 1.1vw, 1rem);
    margin-top: clamp(3rem, 6vw, 6rem);
}

.sixth__gallery img {
    height: clamp(150px, 18vw, 310px);
}

.sixth__gallery img:nth-child(2),
.sixth__gallery img:nth-child(5) {
    margin-top: clamp(2rem, 5vw, 5rem);
}

.footer {
    background:
        linear-gradient(145deg, rgba(143, 48, 59, 0.28), transparent 45%),
        var(--ink);
    color: var(--paper);
}

.footer .section-kicker {
    color: #d8a651;
}

.footer p {
    max-width: 720px;
    color: rgba(239, 237, 230, 0.74);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.footer__links h3 {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    color: rgba(239, 237, 230, 0.52);
}

.footer__links a {
    display: block;
    width: fit-content;
    margin-bottom: 0.55rem;
    color: var(--paper);
    font-weight: 700;
}

.footer__links a:hover,
.footer__links a:focus-visible,
.footer__bottom a:hover,
.footer__bottom a:focus-visible {
    color: #d8a651;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(3rem, 7vw, 6rem);
    padding-top: 1.3rem;
    border-top: 1px solid rgba(239, 237, 230, 0.16);
}

.footer__bottom p {
    font-size: 0.9rem;
}

.back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(239, 237, 230, 0.48);
    border-radius: 50%;
    font-size: 1.5rem;
}

.game-launcher {
    position: fixed;
    right: clamp(1rem, 3vw, 2.2rem);
    bottom: clamp(1rem, 3vw, 2.2rem);
    z-index: 92;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(2, 3, 3, 0.94);
    color: #fff;
    font: inherit;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 18px, 0) scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s ease;
    animation: launcher-hop 7s cubic-bezier(0.2, 0.9, 0.22, 1) infinite;
}

.game-launcher.is-visible:not(.is-footer-hidden) {
    opacity: 1 !important;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.game-launcher.is-footer-hidden,
body.game-open .game-launcher {
    opacity: 0 !important;
    pointer-events: none;
    transform: translate3d(0, 18px, 0) scale(0.96);
}

.game-launcher:hover,
.game-launcher:focus-visible {
    background: rgba(0, 0, 0, 0.98);
}

.game-launcher svg {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.game-launcher .cannon-wheel-cut {
    fill: rgba(2, 3, 3, 0.96);
    stroke: rgba(2, 3, 3, 0.96);
}

.game-launcher .cannon-ground {
    fill: none;
    stroke-width: 2.4;
}

.game-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: clamp(0.75rem, 3vw, 2rem);
    background: rgba(3, 6, 5, 0.93);
    backdrop-filter: blur(22px) saturate(0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.game-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.game-modal__panel {
    position: relative;
    width: min(980px, 100%);
    max-height: min(820px, 90vh);
    overflow: auto;
    border: 1px solid rgba(241, 234, 220, 0.22);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(143, 48, 59, 0.18), transparent 34%),
        linear-gradient(315deg, rgba(185, 154, 93, 0.12), transparent 42%),
        #0b0f0d;
    color: var(--smoke);
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.48);
}

.game-modal__close {
    position: absolute;
    right: clamp(0.8rem, 1.8vw, 1.15rem);
    top: clamp(0.8rem, 1.8vw, 1.15rem);
    z-index: 30;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}

.game-welcome {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1fr);
    gap: clamp(1.7rem, 4vw, 3.5rem);
    align-items: center;
    min-height: 0;
    padding: clamp(1.4rem, 3.2vw, 2.6rem);
    padding-right: clamp(4.2rem, 6vw, 5.4rem);
}

.game-welcome__copy {
    display: grid;
    align-content: center;
    max-width: 560px;
    min-height: min(58vh, 500px);
}

.game-welcome img {
    width: 100%;
    height: min(58vh, 500px);
    min-height: 0;
    object-fit: cover;
    object-position: 50% 36%;
    border: 1px solid rgba(241, 234, 220, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.game-welcome h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.9rem);
    line-height: 0.96;
    text-wrap: balance;
}

.game-result h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 4.8rem);
    line-height: 0.9;
    text-wrap: balance;
}

.game-welcome p:not(.section-kicker),
.game-result p {
    max-width: 560px;
    margin: 1rem 0 0;
    color: rgba(251, 244, 231, 0.78);
    font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.game-howto {
    margin: 1.15rem 0 1.35rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(241, 234, 220, 0.18);
    border-radius: var(--radius);
    background: rgba(251, 244, 231, 0.07);
}

.game-howto p {
    margin: 0 0 0.55rem;
    color: var(--ochre);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.game-howto ol {
    margin: 0;
    padding-left: 1.15rem;
    color: rgba(251, 244, 231, 0.78);
}

.game-howto li + li {
    margin-top: 0.25rem;
}

.game-stage {
    position: relative;
    padding: clamp(0.8rem, 2vw, 1.2rem);
}

.game-hud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 3rem 0.8rem 0;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.game-hud span {
    padding: 0.48rem 0.7rem;
    border: 1px solid rgba(241, 234, 220, 0.24);
    border-radius: 999px;
    background: rgba(251, 244, 231, 0.08);
}

.game-instruction {
    margin: 0 0 0.8rem;
    color: rgba(251, 244, 231, 0.74);
    font-size: 0.9rem;
}

.game-canvas {
    width: 100%;
    height: min(62vh, 560px);
    min-height: 360px;
    border-radius: var(--radius);
    background: #111715;
    touch-action: none;
}

.game-result {
    position: absolute;
    inset: auto clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
    max-width: 560px;
    padding: clamp(1rem, 3vw, 1.4rem);
    border: 1px solid rgba(241, 234, 220, 0.24);
    border-radius: var(--radius);
    background: rgba(7, 17, 15, 0.88);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
}

.game-result > p:first-child {
    margin: 0 0 0.75rem;
    color: var(--ochre);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.game-result h3 {
    font-size: clamp(2rem, 5vw, 4.8rem);
}

.game-result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.3rem;
}

.section-observe {
    opacity: 1;
    transform: translateY(0);
}

.js .section-observe {
    opacity: 0;
    transform: translateY(44px) scale(0.985);
    filter: blur(8px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
}

.js .section-observe.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

[data-float] {
    transition: transform 0.25s ease-out;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

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

@keyframes launcher-hop {
    0%,
    72%,
    100% {
        translate: 0 0;
        scale: 1;
        rotate: 0deg;
    }

    76% {
        translate: 0 -10px;
        scale: 1.04;
        rotate: -5deg;
    }

    80% {
        translate: 0 2px;
        scale: 0.98;
        rotate: 4deg;
    }

    84% {
        translate: 0 -5px;
        scale: 1.02;
        rotate: -2deg;
    }

    88% {
        translate: 0 0;
        scale: 1;
        rotate: 0deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}

@media (max-width: 1040px) {
    body.nav-open .site-header {
        transform: none !important;
    }

    .site-nav {
        position: fixed;
        z-index: 120;
        inset: 0;
        display: grid;
        align-content: start;
        gap: 0.25rem;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        padding: max(5.4rem, calc(env(safe-area-inset-top) + 5rem)) 1rem max(1.4rem, calc(env(safe-area-inset-bottom) + 1.2rem));
        background:
            linear-gradient(135deg, rgba(143, 48, 59, 0.22), transparent 42%),
            linear-gradient(315deg, rgba(31, 53, 48, 0.35), transparent 46%),
            rgba(7, 17, 15, 0.97);
        color: var(--smoke);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: translateY(-100%) scale(1.04);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        isolation: isolate;
    }

    .site-nav::before {
        content: "Festival Chiripa";
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: -1;
        font-family: var(--serif);
        font-size: clamp(4.4rem, 22vw, 8rem);
        line-height: 0.86;
        text-align: center;
        color: rgba(238, 230, 213, 0.12);
        transform: translate(-50%, -50%) rotate(-7deg);
        pointer-events: none;
    }

    .site-nav a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: clamp(50px, 10dvh, 64px);
        padding: 0.82rem 0;
        border-bottom: 1px solid rgba(238, 230, 213, 0.16);
        border-radius: 0;
        font-size: clamp(1.2rem, 5.2vw, 2.55rem);
        font-family: var(--serif);
        font-weight: 800;
        text-transform: none;
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    }

    .site-nav a::after {
        content: "↗";
        font-family: var(--sans);
        font-size: 1rem;
        color: var(--ochre);
        transform: translateX(-10px);
        opacity: 0;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible,
    .site-nav a.is-active {
        background: transparent;
        color: var(--ochre);
    }

    .site-nav a:hover::after,
    .site-nav a:focus-visible::after,
    .site-nav a.is-active::after {
        transform: translateX(0);
        opacity: 1;
    }

    .site-nav.is-open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav.is-open a {
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav.is-open a:nth-child(1) {
        transition-delay: 0.12s;
    }

    .site-nav.is-open a:nth-child(2) {
        transition-delay: 0.18s;
    }

    .site-nav.is-open a:nth-child(3) {
        transition-delay: 0.24s;
    }

    .site-nav.is-open a:nth-child(4) {
        transition-delay: 0.3s;
    }

    .site-nav.is-open a:nth-child(5) {
        transition-delay: 0.36s;
    }

    .nav-toggle {
        display: block;
    }

    .hero__poster {
        opacity: 0.86;
    }

    .manifesto__grid,
    .media-section__grid,
    .footer__grid,
    .edition,
    .sixth__grid {
        grid-template-columns: 1fr;
    }

    .edition {
        min-height: auto;
    }

    .edition__sticky {
        position: relative;
        top: auto;
    }

    .sixth__poster {
        max-width: 360px;
    }
}

@media (max-width: 720px) {
    .site-header {
        padding: 0.8rem 1rem;
    }

    .brand span {
        display: none;
    }

    .hero {
        align-items: center;
        min-height: 100svh;
        padding: 6.5rem 1rem 6rem;
    }

    .hero h1 {
        font-size: clamp(3rem, 12.4vw, 4.2rem);
        max-width: 100%;
    }

    .hero__poster {
        right: 1rem;
        bottom: 4.3rem;
        width: 112px;
    }

    .hero__actions,
    .sixth__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .manifesto,
    .edition-stage,
    .media-section,
    .sixth,
    .footer {
        padding: 4.4rem 1rem;
    }

    .manifesto,
    .edition-stage {
        overflow-x: clip;
        overflow-y: visible;
    }

    .manifesto__strip,
    .edition__gallery,
    .sixth__gallery {
        display: flex;
        overflow: visible;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        width: 100%;
        translate: var(--mobile-gallery-offset, 0px) 0;
        transition: translate 0.04s linear;
    }

    .manifesto__strip,
    .edition__gallery,
    .sixth__gallery {
        position: sticky;
        top: 5.3rem;
        z-index: 4;
        margin-top: clamp(1.25rem, 7vw, 2.5rem);
        will-change: translate;
    }

    .manifesto__strip.is-mobile-fixed,
    .edition__gallery.is-mobile-fixed,
    .sixth__gallery.is-mobile-fixed {
        z-index: 44;
    }

    .manifesto__strip img,
    .edition__gallery img,
    .sixth__gallery img {
        flex: 0 0 78vw;
        width: 78vw;
        max-width: 78vw;
        height: 58vh;
        min-height: 330px;
        scroll-snap-align: start;
    }

    .manifesto,
    .edition,
    .sixth {
        display: block;
        min-height: var(--mobile-gallery-section-height, auto);
        overflow-x: clip;
        overflow-y: visible;
    }

    .js .manifesto.section-observe.is-gallery-pinned,
    .js .edition.section-observe.is-gallery-pinned,
    .js .sixth.section-observe.is-gallery-pinned {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    @supports not (overflow: clip) {
        .manifesto,
        .edition-stage,
        .edition,
        .sixth {
            overflow-x: hidden;
        }
    }

    .edition h3 {
        font-size: clamp(5rem, 30vw, 8rem);
    }

    .elephant-crossing {
        min-height: 180px;
        margin-right: -1rem;
        margin-left: -1rem;
    }

    .elephant-crossing img {
        width: 104px;
    }

    .game-launcher {
        right: 0.8rem;
        bottom: 0.85rem;
        width: 52px;
        height: 52px;
    }

    .game-modal {
        padding: 0;
    }

    .game-modal__panel {
        width: 100%;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
        overflow-y: auto;
    }

    .game-modal__close {
        position: fixed;
        top: 0.85rem;
        right: 0.85rem;
    }

    .game-welcome {
        grid-template-columns: 1fr;
        min-height: 100dvh;
        align-content: center;
        padding: 4.6rem 1rem 1rem;
    }

    .game-welcome__copy {
        min-height: auto;
    }

    .game-welcome img {
        height: 42vh;
    }

    .game-welcome h2 {
        font-size: clamp(2.6rem, 14vw, 4.2rem);
    }

    .game-stage {
        padding: 4.3rem 0.75rem 0.75rem;
    }

    .game-hud {
        margin-right: 0;
    }

    .game-instruction {
        font-size: 0.84rem;
    }

    .game-canvas {
        height: calc(100dvh - 9.5rem);
        min-height: 430px;
    }

    .game-result {
        inset: auto 0.75rem 0.75rem;
    }

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

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