@font-face {
    font-family: "Anton";
    src: url("fonts/Anton-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("fonts/Fraunces-BlackItalic.woff2") format("woff2");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/SpaceGrotesk-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/SpaceGrotesk-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --ink: #0d0c10;
    --pink: #ff2f92;
    --bubble: #ff8cc6;
    --blush: #ffd8ea;
    --paper: #f6f1ea;
    --lime: #d4ff3f;
    --white: #ffffff;
    --grey: #5d5a63;

    --display-font: "Anton", Impact, "Arial Narrow", sans-serif;
    --script-font: "Fraunces", Georgia, "Times New Roman", serif;
    --body-font: "Space Grotesk", Arial, Helvetica, sans-serif;

    --gutter: clamp(20px, 4vw, 40px);
    --space: clamp(84px, 10vw, 150px);
    --torn: clamp(26px, 4vw, 58px);

    --page: #f6f1ea;
    --page-pink: #ffd8ea;
    --surface: #ffffff;
    --clip: #f6f1ea;
    --text: #0d0c10;
    --edge: #0d0c10;
    --muted: #5d5a63;
}

.dark-mode {
    --page: #161615;
    --page-pink: #2a2427;
    --surface: #25232c;
    --clip: #2d2b35;
    --text: #f6f1ea;
    --edge: #f6f1ea;
    --muted: #bdb8c4;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: clamp(16px, 1.2vw, 17px);
    line-height: 1.6;
    background: var(--page);
    color: var(--text);

    --line: var(--edge);
    --script-color: var(--pink);
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--display-font);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}

.script {
    font-family: var(--script-font);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--script-color);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 4px solid var(--line);
    outline-offset: 4px;
}

.bg-ink a:focus-visible,
.bg-ink button:focus-visible,
.navbar a:focus-visible,
.navbar button:focus-visible {
    outline-color: var(--lime);
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 120;
    background-image: url("img/grain.png");
    pointer-events: none;
}


.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 max(var(--gutter), 52px) 0 var(--gutter);
}

.section {
    position: relative;
    padding: var(--space) 0;
    overflow-x: clip;
}

.bg-ink {
    background: var(--ink);
    color: var(--white);
    --line: var(--white);
}

.bg-pink {
    background: var(--pink);
    color: var(--ink);
    --line: var(--ink);
    --script-color: var(--white);
}

.bg-paper {
    background: var(--page);
    color: var(--text);
}

.bg-blush {
    background: var(--page-pink);
    color: var(--text);
    --script-color: var(--text);
}

.bg-lime {
    background: var(--lime);
    color: var(--ink);
    --line: var(--ink);
    --script-color: var(--ink);
}

.torn {
    position: absolute;
    left: 0;
    top: calc(-1 * var(--torn) + 1px);
    z-index: 2;
    width: 100%;
    height: var(--torn);
    max-width: none;
    pointer-events: none;
}

.dark-mode .bg-paper > .torn {
    filter: brightness(0.09);
}

.dark-mode .bg-blush > .torn {
    filter: brightness(0.165);
}

.title {
    font-size: clamp(3rem, 8.6vw, 8.2rem);
}

.title .script {
    display: block;
    margin: -0.08em 0 0.02em 0;
    font-size: 0.62em;
    line-height: 1;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px 48px;
    margin-bottom: 56px;
}

.section-intro {
    max-width: 400px;
    font-size: 1.05rem;
}

.sample-note {
    display: inline-block;
    max-width: 720px;
    margin-bottom: 44px;
    padding: 12px 18px;
    background: var(--lime);
    border: 3px solid var(--ink);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    transform: rotate(-0.6deg);
}

.star {
    position: absolute;
    height: auto;
    pointer-events: none;
}

.tape {
    position: absolute;
    z-index: 3;
    width: 110px;
    height: 30px;
    background: rgba(212, 255, 63, 0.88);
    clip-path: polygon(0 0, 5% 20%, 0 40%, 5% 60%, 0 80%, 3% 100%, 100% 100%, 95% 80%, 100% 60%, 95% 40%, 100% 20%, 97% 0);
}


.button {
    display: inline-block;
    max-width: 100%;
    min-height: 52px;
    padding: 12px 26px;
    border: 3px solid var(--line);
    box-shadow: 5px 5px 0 var(--line);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}

.button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--line);
}

.button:active {
    transform: translate(4px, 4px);
    box-shadow: 1px 1px 0 var(--line);
}

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

.button-ink {
    background: var(--ink);
    border-color: var(--ink);
    box-shadow: 5px 5px 0 var(--white);
    color: var(--white);
}

.button-ink:hover {
    box-shadow: 7px 7px 0 var(--white);
}

.button-ink:active {
    box-shadow: 1px 1px 0 var(--white);
}

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

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

.sample-tag {
    display: inline-block;
    padding: 0 10px;
    border: 2px solid currentColor;
    font-size: 0.76rem;
    font-weight: 700;
    transform: rotate(-2deg);
}

.category-tag {
    font-family: var(--display-font);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pink);
}

.bg-pink .category-tag,
.bg-lime .category-tag {
    color: var(--ink);
}

.bg-blush .category-tag {
    color: var(--text);
}


.navbar {
    position: fixed;
    top: 14px;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 0 var(--gutter);
    pointer-events: none;
}

.navbar > * {
    pointer-events: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    background: var(--surface);
    border: 3px solid var(--edge);
    box-shadow: 4px 4px 0 var(--pink);
    color: var(--text);
    text-decoration: none;
}

.logo-mark {
    padding: 2px 10px 0 10px;
    background: var(--text);
    color: var(--surface);
    font-family: var(--display-font);
    font-size: 1.5rem;
    line-height: 1.25;
}

.logo-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.navbar .logo {
    gap: 0;
    padding: 5px;
}

.navbar .logo-text {
    max-width: clamp(0px, calc((100vw - 440px) * 100), 200px);
    overflow: hidden;
}

.logo-name {
    display: block;
    padding: 0 9px 0 10px;
    white-space: nowrap;
}

.navbar-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-button {
    width: 48px;
    height: 48px;
    background: linear-gradient(90deg, var(--ink) 50%, var(--white) 50%);
    border: 3px solid var(--ink);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--white);
    cursor: pointer;
    transition: transform 0.15s;
}

.mode-button:hover {
    transform: translate(-2px, -2px) rotate(180deg);
}

.mode-button:active {
    transform: translate(3px, 3px);
}

.menu-button {
    min-height: 48px;
    padding: 6px 26px 4px 26px;
    background: var(--pink);
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--white);
    color: var(--ink);
    font-family: var(--display-font);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s;
}

.menu-button:hover {
    background: var(--lime);
    transform: translate(-2px, -2px);
}

.menu-button:active {
    transform: translate(3px, 3px);
}

.close-word {
    display: none;
}

body:has(.nav-links.open) .menu-word {
    display: none;
}

body:has(.nav-links.open) .close-word {
    display: inline;
}

.nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 95;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 110px 0 60px 0;
    background: var(--pink);
}

.nav-links.open {
    display: block;
}

.nav-links a {
    display: block;
    padding: 4px 0;
    border-bottom: 3px solid var(--ink);
    font-family: var(--display-font);
    font-size: clamp(2.8rem, 10vw, 7.5rem);
    line-height: 1.02;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--ink);
    transition: padding-left 0.2s, background 0.2s, color 0.2s;
}

.nav-links a:hover {
    padding-left: 18px;
    background: var(--ink);
    color: var(--pink);
}

.nav-links a.active {
    background: var(--lime);
}

.nav-links a.nav-cta {
    display: inline-block;
    margin-top: 36px;
    padding: 14px 28px;
    background: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--white);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: none;
    color: var(--white);
}

.nav-links a.nav-cta:hover {
    padding-left: 28px;
    background: var(--lime);
    color: var(--ink);
}


.tabs {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 92vh;
    transform: translateY(-50%);
}

.tab {
    padding: 12px 6px 12px 8px;
    background: var(--surface);
    border: 2px solid var(--edge);
    border-right: none;
    box-shadow: -3px 3px 0 var(--edge);
    color: var(--text);
    font-family: var(--display-font);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: translateX(7px);
    transition: transform 0.2s, background 0.2s;
}

.tab:hover {
    background: var(--lime);
    color: var(--ink);
    transform: translateX(0);
}

body:not(:has(:target)) .tab-first,
body:has(#home:target) .tab-to-home,
body:has(#about:target) .tab-to-about,
body:has(#disciplines:target) .tab-to-disciplines,
body:has(#news:target) .tab-to-news,
body:has(#competitions:target) .tab-to-competitions,
body:has(#join:target) .tab-to-join,
body:has(#top:target) .tab-to-top,
body:has(#featured:target) .tab-to-featured,
body:has(#explore:target) .tab-to-explore,
body:has(#schedule:target) .tab-to-schedule,
body:has(#newsletter:target) .tab-to-newsletter {
    background: var(--pink);
    color: var(--ink);
    transform: translateX(0);
}


.marquee {
    position: relative;
    z-index: 3;
    margin: 0 -4vw;
    padding: 12px 0 8px 0;
    overflow: hidden;
    background: var(--pink);
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    color: var(--ink);
    transform: rotate(-2.2deg);
}

.marquee-lime {
    background: var(--lime);
    transform: rotate(1.6deg);
}

.marquee-ink {
    background: var(--ink);
    color: var(--lime);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: slide 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 26px;
    padding-right: 26px;
}

.marquee-group span {
    font-family: var(--display-font);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-group img {
    width: 28px;
    height: 28px;
}

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


/* ----------  hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    padding: clamp(110px, 15vh, 150px) 0 0 0;
    overflow: hidden;
}

.hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 2vw;
}

.hero-title {
    position: relative;
    z-index: 2;
    flex: 2 1 420px;
}

.hero-title .t-big {
    display: block;
    font-size: clamp(3.4rem, 9vw, 9.2rem);
}

.hero-title .t-script {
    position: relative;
    top: -0.085em;
    display: block;
    margin: -0.08em 0 0.02em 0.04em;
    font-size: clamp(2.5rem, 6.6vw, 5.4rem);
    line-height: 1.05;
}

.hero-title .t-mid {
    display: block;
    font-size: clamp(2.8rem, 7.6vw, 7.8rem);
}

.hero-collage {
    position: relative;
    z-index: 3;
    flex: 2 1 340px;
    max-width: 720px;
    margin-left: auto;
    aspect-ratio: 1 / 1;
    transform: translateX(-3vw);
}

.layer {
    position: absolute;
}

.layer img {
    width: 100%;
    height: auto;
}

.layer-blob {
    left: 4%;
    top: 6%;
    width: 90%;
}

.layer-cutout {
    left: -8%;
    top: 8%;
    width: 112%;
}

.layer-cutout img {
    transform: rotate(-10deg);
}

.layer-badge {
    right: -4%;
    bottom: -4%;
    width: 33%;
}

.hero-bottom {
    position: relative;
    z-index: 3;
    margin-top: 28px;
}

.hero-text {
    max-width: 500px;
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 20px;
    margin-top: 28px;
}

.hero .marquee {
    margin-top: 64px;
    margin-bottom: 26px;
}

.badge {
    width: 100%;
    height: auto;
    animation: spin 20s linear infinite;
}

.badge text {
    font-family: var(--display-font);
    font-size: 21px;
    letter-spacing: 3.2px;
    fill: var(--ink);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ----------  about the federation ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 70px clamp(40px, 7vw, 90px);
    align-items: center;
}

.about-visual {
    position: relative;
    width: min(100%, 500px);
    margin: 30px auto;
}

.polaroid {
    position: relative;
    padding: 16px 16px 76px 16px;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 10px 10px 0 var(--ink);
    transform: rotate(-3.5deg);
}

.polaroid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 68% 50%;
}

.polaroid-caption {
    position: absolute;
    left: 22px;
    bottom: 16px;
    width: 38%;
    font-family: var(--script-font);
    font-size: 1.7rem;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.about-note {
    position: absolute;
    right: -5%;
    bottom: 9%;
    z-index: 4;
    max-width: 62%;
    padding: 14px 18px 10px 18px;
    background: var(--lime);
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    font-family: var(--display-font);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.05;
    text-transform: uppercase;
    transform: rotate(4deg);
}

.about-text h2 {
    margin-bottom: 28px;
}

.about-text p {
    max-width: 52ch;
    font-size: 1.1rem;
}

.about-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 20px;
    margin: 40px 0;
}

.role {
    flex: 1 1 170px;
    padding: 16px 18px 14px 18px;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform 0.2s;
}

.role-1 {
    transform: rotate(-1.8deg);
}

.role-2 {
    transform: rotate(1.2deg);
}

.role-3 {
    transform: rotate(-0.8deg);
}

.role:hover {
    transform: rotate(0deg) translateY(-5px);
}

.role h3 {
    margin-bottom: 6px;
    font-size: 2rem;
}

.role p {
    font-size: 0.95rem;
}


/* ----------  disciplines ---------- */
.deck-head p {
    max-width: 400px;
    margin-bottom: 20px;
}

.deck-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

.deck-now {
    font-weight: 700;
}

.deck-now a {
    border-bottom: 3px solid var(--pink);
    text-decoration: none;
}

.deck {
    display: flex;
    flex-wrap: wrap;
    gap: 100px 30px;
    margin-top: 96px;
}

.tile {
    position: relative;
    scroll-margin-top: 170px;
    display: flex;
    flex: 1 1 320px;
    flex-direction: column;
    min-height: 500px;
    padding: 26px;
    border: 3px solid var(--edge);
    box-shadow: 8px 8px 0 var(--edge);
    color: var(--ink);
    transition: transform 0.25s, box-shadow 0.25s;
}

.tile:hover {
    transform: translate(-4px, -4px) rotate(-0.6deg);
    box-shadow: 12px 12px 0 var(--edge);
}

.tile-lime {
    background: var(--lime);
}

.tile-pink {
    background: var(--pink);
}

.tile-ink {
    background: var(--ink);
    border-color: var(--edge);
    box-shadow: 8px 8px 0 var(--pink);
    color: var(--white);
}

.tile-ink:hover {
    box-shadow: 12px 12px 0 var(--pink);
}

.tile-blush {
    background: var(--blush);
}

.tile-bubble {
    background: var(--bubble);
}

.tile-white {
    background: var(--surface);
    color: var(--text);
}

.tile-number {
    font-family: var(--display-font);
    font-size: clamp(5rem, 9vw, 8rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 3px currentColor;
}

.tile-art {
    position: absolute;
    top: -14%;
    right: 6%;
    height: 64%;
    width: auto;
    max-width: 70%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    transition: transform 0.3s;
}

.tile:hover .tile-art {
    transform: scale(1.05) rotate(2deg);
}

.tile-info {
    margin-top: auto;
    padding-top: 230px;
}

.tile-info h3 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.tile-info p {
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.tile-link {
    display: inline-block;
    padding: 0 0 2px 0;
    border-bottom: 3px solid currentColor;
    font-weight: 700;
    text-decoration: none;
}

.tile-link:hover {
    letter-spacing: 0.04em;
}

.tile:target {
    outline: 6px solid var(--pink);
    outline-offset: 8px;
    animation: wiggle 0.7s ease;
}

@keyframes wiggle {
    20% {
        transform: rotate(-3deg);
    }
    45% {
        transform: rotate(3deg);
    }
    70% {
        transform: rotate(-1.5deg);
    }
}


/* ----------  news clippings ---------- */
.clips {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 56px 40px;
}

.clip {
    position: relative;
    display: block;
    flex: 1 1 300px;
    max-width: 100%;
    margin-top: 20px;
    padding: 16px 16px 26px 16px;
    background: var(--clip);
    border: 3px solid var(--edge);
    box-shadow: 8px 8px 0 var(--pink);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.clip-1 {
    transform: rotate(-1.6deg);
}

.clip-2 {
    margin-top: 56px;
    transform: rotate(1.3deg);
}

.clip-3 {
    transform: rotate(-0.8deg);
}

.clip:hover,
.clip:focus-visible {
    z-index: 4;
    box-shadow: 12px 12px 0 var(--pink);
    transform: rotate(0deg) translateY(-8px);
}

.clip .tape {
    top: -16px;
    left: 50%;
    margin-left: -55px;
    transform: rotate(-4deg);
}

.clip-photo {
    margin-bottom: 16px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 3px solid var(--edge);
}

.clip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.clip:hover .clip-photo img {
    transform: scale(1.06);
}

.clip-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 10px;
    font-size: 0.86rem;
    font-weight: 700;
}

.stamp {
    padding: 1px 10px 0 10px;
    background: var(--pink);
    border: 2px solid var(--ink);
    color: var(--ink);
    font-family: var(--display-font);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: rotate(-3deg);
}

.clip h3 {
    margin-bottom: 10px;
    font-family: var(--script-font);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.02;
    text-transform: none;
}

.clip p {
    color: var(--muted);
}


/* ----------  calendar  ---------- */
.tickets {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.ticket {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: var(--surface);
    border: 3px solid var(--edge);
    box-shadow: 8px 8px 0 var(--edge);
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ticket:hover {
    transform: translate(-3px, -3px) rotate(-0.4deg);
    box-shadow: 11px 11px 0 var(--edge);
}

.ticket-1 {
    transform: rotate(-0.8deg);
}

.ticket-2 {
    transform: rotate(0.6deg);
}

.ticket-3 {
    transform: rotate(-0.4deg);
}

.ticket-stub {
    display: flex;
    flex: 1 0 170px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 170px;
    max-width: 100%;
    padding: 18px 22px 14px 22px;
    background: var(--pink);
    border-right: 3px dashed var(--ink);
    color: var(--ink);
    text-align: center;
}

.ticket-day {
    font-family: var(--display-font);
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 0.95;
    white-space: nowrap;
}

.ticket-month {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ticket-main {
    flex: 100 1 260px;
    align-self: center;
    padding: 18px 26px;
}

.ticket-main h3 {
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.ticket-side {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 22px;
    background: var(--clip);
}

.ticket-side .category-tag,
.ticket-main .category-tag {
    color: var(--text);
}


/* ----------  call to action ---------- */
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px 3vw;
}

.cta-text {
    position: relative;
    z-index: 2;
    flex: 3 1 420px;
}

.cta-title {
    margin-bottom: 26px;
    font-size: clamp(3.8rem, 12vw, 11.5rem);
    line-height: 0.86;
}

.cta-text p {
    max-width: 44ch;
    margin-bottom: 32px;
    font-size: 1.15rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 20px;
}

.cta-art {
    position: relative;
    flex: 1 1 300px;
    max-width: 480px;
    margin: 50px 0 0 auto;
    aspect-ratio: 1 / 1;
}

.cta-art .layer-blob {
    left: 2%;
    top: 4%;
    width: 96%;
}

.cta-cutout {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: 118%;
    max-width: none;
    transform: translateX(-50%);
}


/* ----------  footer ---------- */
.footer {
    position: relative;
    padding: clamp(60px, 7vw, 90px) 0 50px 0;
    overflow-x: clip;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
}

.footer-word {
    margin-bottom: 50px;
    font-family: var(--display-font);
    font-size: clamp(4rem, 17vw, 17rem);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 3px var(--pink);
    text-align: center;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px 48px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer h4 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 1.7rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--lime);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    font-size: 0.9rem;
}


/* =====================================================
   COMPETITIONS PAGE
   ===================================================== */

/* ----------  page hero ---------- */
.hero-pink .hero-title .t-script {
    color: var(--white);
}

.page-hero .hero-title .t-big {
    font-size: clamp(3.4rem, 9.6vw, 9.6rem);
}

.page-hero .hero-title .t-script {
    font-size: clamp(2.5rem, 6.6vw, 6rem);
}

.page-hero .layer-cutout {
    left: -6%;
    top: 14%;
    width: 112%;
}

.page-hero .layer-cutout img {
    transform: rotate(6deg);
}


/* ----------  featured competition ---------- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 60px clamp(40px, 7vw, 90px);
    align-items: center;
}

.poster {
    position: relative;
    width: min(100%, 500px);
    margin: 70px auto 0 auto;
    aspect-ratio: 1 / 1;
}

.poster .layer-blob {
    left: 0;
    top: 0;
    width: 100%;
}

.poster-cutout {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: auto;
    height: 120%;
    max-width: none;
    transform: translateX(-50%);
}

.poster-sticker {
    position: absolute;
    left: -4%;
    bottom: 6%;
    z-index: 4;
    padding: 12px 18px 8px 18px;
    background: var(--pink);
    border: 3px solid var(--white);
    box-shadow: 5px 5px 0 var(--white);
    color: var(--ink);
    font-family: var(--display-font);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.05;
    text-transform: uppercase;
    transform: rotate(-5deg);
}

.featured-info h2 {
    margin: 18px 0 26px 0;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.info-list {
    margin: 0 0 30px 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.5);
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 20px;
    padding: 13px 0;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
}

.info-label {
    color: rgba(255, 255, 255, 0.7);
}

.info-value {
    font-weight: 700;
    text-align: right;
}

.featured-info p {
    max-width: 52ch;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}


/* ----------  filter bar ---------- */
.explorer {
    position: relative;
    padding: clamp(60px, 7vw, 90px) 0;
    overflow-x: clip;
}

.explorer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px 40px;
    margin-bottom: 34px;
}

.explorer-top h2 {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}

.result-count {
    padding: 4px 14px;
    background: var(--ink);
    color: var(--lime);
    font-weight: 700;
}

.explorer-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 30px 40px;
}

.filter-group {
    flex: 1 1 420px;
}

.control-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 12px;
}

.filter-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.filter-button {
    display: flex;
    align-items: center;
    line-height: 1.2;
    min-height: 48px;
    padding: 8px 20px;
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}

.filter-button:hover {
    background: var(--pink);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.filter-radio:checked + .filter-button {
    background: var(--ink);
    box-shadow: 0 0 0 var(--ink);
    color: var(--lime);
    transform: translate(4px, 4px);
}

.filter-radio:focus-visible + .filter-button {
    outline: 4px solid var(--ink);
    outline-offset: 4px;
}


/* ---------- the filter itself ---------- */
body:has(#filterArtistic:checked) .ticket:not(.cat-artistic),
body:has(#filterArtistic:checked) .clip:not(.cat-artistic),
body:has(#filterRhythmic:checked) .ticket:not(.cat-rhythmic),
body:has(#filterRhythmic:checked) .clip:not(.cat-rhythmic),
body:has(#filterTrampoline:checked) .ticket:not(.cat-trampoline),
body:has(#filterTrampoline:checked) .clip:not(.cat-trampoline),
body:has(#filterAerobic:checked) .ticket:not(.cat-aerobic),
body:has(#filterAerobic:checked) .clip:not(.cat-aerobic),
body:has(#filterForAll:checked) .ticket:not(.cat-forall),
body:has(#filterForAll:checked) .clip:not(.cat-forall) {
    display: none;
}


/* ----------  news page  ---------- */
.clip-wide {
    flex: 2 1 560px;
}

.clip-wide .clip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 28px;
}

.clip-wide .clip-photo {
    flex: 1 1 280px;
}

.clip-wide .clip-body {
    flex: 1 1 280px;
}

.clip-wide h3 {
    font-size: clamp(2rem, 3.6vw, 3rem);
}

.clip-4 {
    margin-top: 44px;
    transform: rotate(0.9deg);
}

.clip-5 {
    transform: rotate(-1.1deg);
}

.clip-6 {
    margin-top: 40px;
    transform: rotate(1.4deg);
}


/* ----------  newsletter ---------- */
.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 56px clamp(40px, 7vw, 80px);
    align-items: center;
}

.newsletter-text {
    position: relative;
}

.newsletter-text h2 {
    margin-bottom: 26px;
    font-size: clamp(3.2rem, 8vw, 7.6rem);
}

.newsletter-text p {
    max-width: 46ch;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.newsletter-text a {
    font-weight: 700;
}

.newsletter-form {
    padding: clamp(24px, 3vw, 38px);
    background: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 10px 10px 0 var(--ink);
    transform: rotate(0.8deg);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-field {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--paper);
    border: 3px solid var(--ink);
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 1rem;
}

.newsletter-form .button {
    width: 100%;
}

.form-message {
    display: none;
    scroll-margin-top: 45vh;
    margin-top: 22px;
    padding: 14px 16px;
    background: var(--lime);
    border: 3px solid var(--ink);
    color: var(--ink);
    font-weight: 700;
}

.form-message:target {
    display: block;
}
