@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Bebas+Neue&family=Figtree:ital,wght@0,300..900;1,300..900&family=JetBrains+Mono:wght@400;500;600&family=Momo+Signature&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* Brand */
    --main: #007FFF;
    --accent: #7DF9FF;

    /* Light Sections */
    --bg-light: #F4FAFF;
    --bg-light-alt: #EAF6FF;
    --surface: #FFFFFF;
    --surface-cyan: #E9FEFF;

    /* Dark Sections */
    --bg-dark: #061525;
    --bg-dark-alt: #0A2138;
    --surface-dark: #102D46;

    /* Text */
    --text-dark: #071A2B;
    --text-muted: #526B80;
    --text-light: #F5FCFF;

    /* UI */
    --border-light: #D7EAF7;
    --border-dark: #1B405D;

    /* Footer + Enquiry Form (mapped to brand) */
    --void: #000000;
    --white: #FFFFFF;
    --teal-dim: #4CC9E0;
    --text-dim: rgba(245, 252, 255, .72);
    --text-faint: rgba(245, 252, 255, .5);

    /* Type */
    --font-display: "Archivo", sans-serif;
    --font-body: "Figtree", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0;
    transition: background .4s var(--ease), border-color .4s var(--ease);
    animation: fadeDown .7s var(--ease) forwards;
}

.navbar.scrolled {
    background: rgba(6, 21, 37, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-dark);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 2.5rem;
    transition: padding .4s var(--ease);
}

.navbar.scrolled .nav-inner {
    padding: 1.1rem 2.5rem;
}

.nav-logo {
    display: flex;
}

.nav-logo img {
    height: 1.5rem;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.6rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    font-family: var(--font-mono);
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-light);
    text-decoration: none;
    opacity: .72;
    transition: opacity .3s var(--ease);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -.5rem;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-dark);
    background: linear-gradient(90deg, var(--main), var(--accent));
    padding: .8rem 1.7rem;
    border-radius: 100px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 127, 255, .35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.4rem;
    height: 2.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: transform .35s var(--ease), opacity .35s var(--ease);
}

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

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

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

.nav-mobile {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-100%);
    opacity: 0;
    top: 0;
    visibility: hidden;
    transition: transform .55s var(--ease), opacity .4s var(--ease);
    z-index: 999;
}

.nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-mobile a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: none;
}

.nav-mobile .nav-cta {
    margin-top: 1rem;
}

@media (max-width: 900px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ===== HERO ===== */

.cover {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("../images/hero-bg.webp");
    background-size: cover;
    background-position-y: 40%;
    overflow: hidden;
}

/* Mobile: the photo is landscape, so center the crop on the stage (right of image) */
@media (max-width: 768px) {
    .cover {
        background-position: 72% 30%;
    }

    .cover-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .8));
    }
}

.cover-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(125, 249, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 249, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 1;
}

.cover-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, black, rgba(0, 0, 0, 0.486), rgba(0, 0, 0, 0));
}

.cover-content {
    width: 80%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== HERO AWARDS TROPHY (AI27 AWARDS + GALA NIGHT CELEBRATION) ===== */

.tr-badge {
    --gold: #FFC46B;
    position: absolute;
    right: 3%;
    top: 10rem;
    display: flex;
    align-items: center;
    font-size: 16px;
    /* everything inside scales from this */
    z-index: 4;
    pointer-events: none;
}

.tr-link {
    position: relative;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    pointer-events: auto;
    opacity: 0;
    animation: fadeUp .8s var(--ease) 1.1s forwards;
}

/* --- Trophy --- */

.tr-visual {
    position: relative;
    display: block;
    flex-shrink: 0;
    animation: trFloat 6s ease-in-out infinite;
    transition: transform .5s var(--ease);
}

.tr-link:hover .tr-visual {
    transform: translateY(-3px) scale(1.06);
}

@keyframes trFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.tr-img {
    position: relative;
    z-index: 2;
    display: block;
    height: 7.5em;
    width: auto;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)) drop-shadow(0 0 10px rgba(255, 196, 107, .3));
    pointer-events: none;
}

/* rays turning behind the star */
.tr-rays {
    position: absolute;
    left: 50%;
    top: 24%;
    width: 10em;
    height: 10em;
    margin: -5em 0 0 -5em;
    border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 196, 107, .26) 0deg 4deg, transparent 4deg 18deg);
    -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 66%);
    mask-image: radial-gradient(circle, #000 12%, transparent 66%);
    animation: trSpin 45s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.tr-glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 8em;
    height: 8em;
    margin: -4em 0 0 -4em;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 107, .34), rgba(0, 127, 255, .14) 50%, transparent 72%);
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
}

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

/* light pool under the base */
.tr-floor {
    position: absolute;
    left: 50%;
    bottom: -.35em;
    width: 5.4em;
    height: 1em;
    margin-left: -2.7em;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 196, 107, .5), rgba(255, 196, 107, .12) 50%, transparent 72%);
    filter: blur(3px);
    z-index: 1;
    pointer-events: none;
}

/* sparkles */
.tr-spark {
    position: absolute;
    z-index: 3;
    width: .62em;
    height: .62em;
    background: var(--gold);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    filter: drop-shadow(0 0 4px var(--gold));
    animation: trTwinkle 2.6s ease-in-out infinite;
    pointer-events: none;
}

.tr-spark.s1 {
    top: 1%;
    left: 6%;
    animation-delay: 0s;
}

.tr-spark.s2 {
    top: 6%;
    right: -8%;
    width: .46em;
    height: .46em;
    animation-delay: .7s;
}

.tr-spark.s3 {
    top: 36%;
    left: -12%;
    width: .5em;
    height: .5em;
    animation-delay: 1.3s;
}

.tr-spark.s4 {
    top: 48%;
    right: -14%;
    animation-delay: 1.9s;
}

.tr-spark.s5 {
    top: -6%;
    right: 22%;
    width: .4em;
    height: .4em;
    animation-delay: .4s;
}

@keyframes trTwinkle {

    0%,
    100% {
        transform: scale(.4) rotate(0deg);
        opacity: .2;
    }

    50% {
        transform: scale(1.15) rotate(45deg);
        opacity: 1;
    }
}

/* --- Text, tucked against the trophy --- */

.tr-text {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    margin-left: -1.9em;
    padding-bottom: 1.1em;
    text-align: left;
}

.tr-big {
    font-family: "Montserrat";
    font-weight: 900;
    font-size: 2.1em;
    line-height: .9;
    letter-spacing: -.04em;
    text-transform: uppercase;
    background: linear-gradient(100deg, #ffffff 0%, #fff3d6 30%, var(--gold) 55%, #fff3d6 80%, #ffffff 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 196, 107, .3));
    animation: trShimmer 5s linear infinite;
}

@keyframes trShimmer {
    from {
        background-position: 0% 0;
    }

    to {
        background-position: 220% 0;
    }
}

.tr-mid {
    margin-top: .55em;
    font-family: "momo signature";
    font-weight: 300;
    font-size: .72em;
    line-height: 1.1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
    text-shadow: 1px 1px 1px rgba(7, 7, 7, 0.944);
}

.tr-thin {
    margin-top: .3em;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .72em;
    line-height: 1.1;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    text-shadow: 1px 1px 1px rgba(7, 7, 7, 0.944);
}

/* --- Responsive --- */

@media (max-width: 1500px) {
    .tr-badge {
        right: 3%;
    }
}

/* tablet + mobile: drops into the content flow, under the buttons */
@media (max-width: 1250px) {
    .tr-badge {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        display: block;
        margin: 2.6rem 0 1.2rem;
        align-self: flex-start;
        font-size: 15px;
        pointer-events: auto;
    }

    .cover-content {
        padding-bottom: 5rem;
    }
}

@media (max-width: 640px) {
    .tr-badge {
        font-size: 13px;
        margin: 2.2rem 0 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tr-link {
        animation: none;
        opacity: 1;
    }

    .tr-visual,
    .tr-rays,
    .tr-spark,
    .tr-big {
        animation: none;
    }

    .tr-spark {
        opacity: .8;
        transform: none;
    }
}

.cover-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem;
    opacity: 0;
    animation: fadeUp .7s var(--ease) .25s forwards;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.meta-item svg {
    width: 14px;
    height: 14px;
}

.meta-divider {
    width: 1px;
    height: 12px;
    background: var(--border-dark);
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeUp .7s var(--ease) .4s forwards;
}

.cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    min-width: 4.6rem;
    padding: .65rem .4rem .55rem;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    background: rgba(16, 45, 70, .35);
    backdrop-filter: blur(4px);
}

.cd-num {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--text-light);
    letter-spacing: .02em;
    text-shadow: 0 0 14px rgba(125, 249, 255, .25);
}

.cd-label {
    font-family: var(--font-mono);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.cd-sep {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent);
    opacity: .45;
}

.event_logo {
    width: 40rem;
    max-width: 80%;
    margin-bottom: .8rem;
    opacity: 0;
    animation: fadeUp .7s var(--ease) .55s forwards;
}

.tagline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1rem, 2.4vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.2;
    letter-spacing: -.005em;
    max-width: 46rem;
    padding: 0.6rem 0;
    opacity: 0;
    animation: fadeUp .7s var(--ease) .7s forwards;
}

.tagline .accent {
    color: var(--accent);
    text-shadow: 0 0 22px rgba(125, 249, 255, .5);
}

.cover p {
    color: white;
    font-family: "archivo";
}


.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.2rem;
    opacity: 0;
    animation: fadeUp .7s var(--ease) 1s forwards;
}

.action {
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .9rem 2.1rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all .3s var(--ease);
}

.action-ghost {
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-light);
}

.action-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.action-solid {
    background: linear-gradient(90deg, var(--main), var(--main));
    border: 1px solid transparent;
    font-weight: 600;
    color: var(--text-light);
}

.action-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 127, 255, .4);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cover-ticker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    border-top: 1px solid var(--border-dark);
    background: rgba(6, 21, 37, .6);
    backdrop-filter: blur(6px);
    overflow: hidden;
    padding: .9rem 0;
    opacity: 0;
    animation: slideUp .7s var(--ease) 1.15s forwards;
}

.ticker-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: tickerScroll 26s linear infinite;
}

.ticker-track span {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

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

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

@media (max-width : 1400px) {
    .event_logo {
        width: 35rem;
    }

    .tagline {
        font-size: 1rem;
        font-weight: 300;
    }
}

@media (max-width: 640px) {
    .cover-meta {
        gap: .6rem;
    }

    .meta-divider {
        display: none;
    }

    .cover-content {
        width: 90%;
        padding-bottom: 3rem;
    }

    .cd-block {
        min-width: 3rem;
        padding: .5rem .3rem;
    }

    .cd-num {
        font-size: 1.15rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }

    .navbar,
    .cover-meta,
    .countdown,
    .event_logo,
    .tagline,
    .cover-sub,
    .action-buttons,
    .cover-ticker {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== 5 CHALLENGES (EXPANDING PANELS) ===== */

.cx {
    position: relative;
    background: #000;
    padding: 8rem 0 9rem;
    overflow: hidden;
}

.cx-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(125, 249, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 249, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 85%);
    mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 85%);
    pointer-events: none;
}

.cx-glow {
    position: absolute;
    left: 50%;
    top: 4rem;
    width: 60rem;
    height: 26rem;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(0, 127, 255, .4), rgba(125, 249, 255, .1) 45%, transparent 72%);
    filter: blur(50px);
    pointer-events: none;
    animation: cxPulse 7s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes cxPulse {
    0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.cx-cont {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* --- Heading --- */

.cx-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(.5rem, 1.5vw, 1.7rem);
    margin: 0 0 5rem;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: .85;
    letter-spacing: -.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cx-big,
.cx-five {
    display: inline-flex;
    font-size: clamp(1.5rem, 5vw, 4.75rem);
}

.cx-big {
    color: transparent;
    -webkit-text-stroke: 2px rgba(245, 252, 255, .9);
}

.cx-five {
    background: linear-gradient(160deg, var(--accent), var(--main));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(125, 249, 255, .4));
}

.cx-big .cx-letter:hover {
    color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
    text-shadow: 0 0 30px rgba(125, 249, 255, .5);
    transform: translateY(-.06em);
}

/* --- Panels --- */

.cx-panels {
    display: flex;
    gap: 1rem;
    height: 34rem;
}

.cx-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    border-radius: 22px;
    border: 1px solid var(--border-dark);
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 127, 255, .22), transparent 55%),
        linear-gradient(170deg, rgba(16, 45, 70, .65), rgba(6, 21, 37, .95));
    overflow: hidden;
    cursor: pointer;
    outline: none;
    contain: layout paint;
    transform: translateZ(0);
    transition: flex .7s var(--ease), border-color .4s var(--ease);
}

/* active glow on its own layer: fades opacity only (no repaint) */
.cx-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: inset 0 0 60px rgba(125, 249, 255, .08);
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s var(--ease);
}

.cx-panel.is-active {
    flex: 3.4 1 0;
    border-color: var(--accent);
}

.cx-panel.is-active::after {
    opacity: 1;
}

/* --- Panel background images --- */

.cx-bg {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    /* fixed at the expanded panel width so the image never resizes mid-animation */
    width: min(calc((100vw - 9rem) * .46), 540px);
    height: 100%;
    max-width: none;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05) brightness(.45);
    transform: translate3d(-50%, 0, 0) scale(1.02);
    will-change: transform, filter;
    transition: filter .7s var(--ease), transform 1.1s var(--ease);
    pointer-events: none;
}

.cx-panel.is-active .cx-bg {
    filter: grayscale(0) contrast(1.05) brightness(.8);
    transform: translate3d(-50%, 0, 0) scale(1.06);
}

.cx-panel:hover:not(.is-active) .cx-bg {
    filter: grayscale(.4) contrast(1.05) brightness(.6);
}

/* dark gradient + brand tint so text always reads */
.cx-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(2, 8, 15, .92) 8%, rgba(2, 8, 15, .35) 55%, rgba(2, 8, 15, .25)),
        linear-gradient(150deg, rgba(0, 127, 255, .22), transparent 60%);
    pointer-events: none;
}

/* keep the existing bottom light above the shade */
.cx-panel::before {
    z-index: 1;
}

/* bottom light */
.cx-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: radial-gradient(ellipse at 50% 120%, rgba(125, 249, 255, .35), transparent 70%);
    opacity: 0;
    transition: opacity .7s var(--ease);
    pointer-events: none;
}

.cx-panel.is-active::before {
    opacity: 1;
}

.cx-num {
    position: absolute;
    top: 1.4rem;
    left: 1.6rem;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 5.4vw, 5.6rem);
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 252, 255, .7);
    transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease), text-shadow .5s var(--ease);
}

.cx-panel.is-active .cx-num {
    color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
    text-shadow: 0 0 34px rgba(125, 249, 255, .5);
}

.cx-panel:hover:not(.is-active) .cx-num {
    -webkit-text-stroke-color: var(--accent);
}

/* vertical label (closed state) */
.cx-vlabel {
    position: absolute;
    left: 50%;
    bottom: 1.8rem;
    z-index: 2;
    transform: translateX(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    transition: opacity .35s var(--ease);
}

.cx-panel.is-active .cx-vlabel {
    opacity: 0;
}

/* title (open state) */
.cx-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 2rem 2rem 2.4rem;
}

.cx-name {
    margin: 0;
    max-width: 28rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.cx-panel.is-active .cx-name {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .7s var(--ease) .35s, transform .7s var(--ease) .35s;
}

/* autoplay progress line */
.cx-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--main), var(--accent));
    box-shadow: 0 0 14px var(--accent);
    will-change: transform;
}

.cx-panels.is-playing .cx-panel.is-active .cx-progress {
    animation: cxProgress 4.5s linear forwards;
}

@keyframes cxProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* --- Reveal --- */

.cx-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.cx-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive: stacked, tap to open --- */

@media (max-width: 860px) {
    .cx { padding: 6rem 0; }

    .cx-cont { padding: 0 1.4rem; }

    .cx-title { margin-bottom: 3rem; }

    .cx-panels {
        flex-direction: column;
        height: auto;
        gap: .8rem;
    }

    .cx-panel {
        flex: none;
        height: 5.4rem;
        transition: height .6s var(--ease), border-color .4s var(--ease);
    }

    .cx-bg {
        left: 0;
        width: 100%;
        transform: scale(1.02);
    }

    .cx-panel.is-active .cx-bg { transform: scale(1.06); }

    .cx-panel.is-active {
        flex: none;
        height: 15rem;
    }

    .cx-num {
        top: 1rem;
        font-size: 2.6rem;
    }

    .cx-vlabel {
        left: auto;
        right: 1.4rem;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        writing-mode: horizontal-tb;
    }

    .cx-body { padding: 1.4rem 1.6rem 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cx-reveal { opacity: 1; transform: none; }
    .cx-letter { opacity: 1; transform: none; }
    .cx-glow { animation: none; }
    .cx-panels.is-playing .cx-panel.is-active .cx-progress { animation: none; transform: none; }
}

/* --- Tagline under panels --- */

.cx-tagline {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: clamp(.8rem, 2vw, 1.8rem);
    margin: 5rem 0 0;
    padding-bottom: 2rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 5.4vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    text-transform: uppercase;
    text-align: center;
}

.cx-tag-hash {
    color: var(--accent);
    text-shadow: 0 0 34px rgba(125, 249, 255, .5);
}

.cx-tag-rest {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(245, 252, 255, .9);
    transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease), text-shadow .5s var(--ease);
}

.cx-tagline:hover .cx-tag-rest {
    color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
    text-shadow: 0 0 34px rgba(125, 249, 255, .45);
}

/* sweeping underline */
.cx-tag-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--border-dark);
    overflow: hidden;
}

.cx-tag-line span {
    position: absolute;
    top: 0;
    left: -8rem;
    width: 8rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: cxTagScan 3.6s linear infinite;
}

@keyframes cxTagScan {
    from { left: -8rem; }
    to { left: 100%; }
}

@media (max-width: 640px) {
    .cx-tagline { margin-top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cx-tag-line span { animation: none; }
}


/* Match the original page's base text metrics (this page sets a global line-height / p reset) */
.navbar,.cover,.cx{line-height:normal}
.cover p{margin:1em 0}

/* ProSync adaptation overrides (from the original page's prosync-overrides.css) */
section{scroll-margin-top:80px}
.nav-logo{align-items:center;gap:.75rem}
.nav-logo img{width:54px;max-width:none;height:54px;object-fit:contain;border-radius:12px;border:1px solid rgba(255,255,255,.35);box-shadow:0 0 22px -4px rgba(0,127,255,.8)}
.nav-brand{display:flex;flex-direction:column;line-height:1.1}
.nav-brand b{font-family:var(--font-display);font-weight:800;font-size:1.2rem;color:#fff;letter-spacing:.01em}
.nav-brand small{font-family:var(--font-mono);font-size:.56rem;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin-top:.25rem}
@media (max-width:520px){.nav-brand small{display:none}.nav-logo img{width:46px;height:46px}}
.tr-big{font-size:clamp(1rem,2vw,1.9rem)!important}
.tr-visual{transform:scale(.92)}

/* Hero: logo image cropped to "AIR SUMMIT"; the subtitle below it is a real <h1> */
.event-logo-crop{width:40rem;max-width:80%;aspect-ratio:2075/133;overflow:hidden;margin-bottom:.8rem;opacity:0;animation:fadeUp .7s var(--ease) .55s forwards}
.cover .event-logo-crop img.event_logo{width:104.29%;height:auto;max-width:none;margin:-14.22% 0 0 -2.41%;opacity:1;animation:none;display:block}
.hero-subtitle{margin:0 0 .4rem;opacity:0;animation:fadeUp .7s var(--ease) .62s forwards}
.hero-subtitle svg{display:block;width:30rem;max-width:70%;height:auto;overflow:visible}
.hero-subtitle text{font-family:"Orbitron",sans-serif;font-weight:500;font-size:25px;fill:#fff}
@media (prefers-reduced-motion:reduce){.event-logo-crop,.hero-subtitle{animation:none;opacity:1}}

/* Sub-line under the "WHO ATTENDS" heading */
.cx-title{margin-bottom:1rem}
.cx-sub{text-align:center;margin:0 0 3.2rem;font-family:var(--font-mono);font-size:clamp(.72rem,1.2vw,.9rem);letter-spacing:.22em;text-transform:uppercase;color:rgba(245,252,255,.72)}
@media (max-width:860px){.cx-title{margin-bottom:.8rem}.cx-sub{margin-bottom:2rem}}

/* Dark glass backdrop so the trophy badge stays readable over the bright hero photo */
.tr-link{padding:1em 1.4em .5em .8em;border-radius:18px;background:linear-gradient(135deg,rgba(2,8,15,.78),rgba(2,8,15,.55));border:1px solid rgba(255,196,107,.22);box-shadow:0 10px 40px rgba(0,0,0,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
