:root {
    --color-dark: #0a0a0a;
    --color-light: #e0e0e0;
    --color-accent: #ff2a2a;
    --color-accent-2: #4b0082;
    --color-gray: #888;

    --font-display: "Syne", sans-serif;
    --font-body: "Manrope", sans-serif;

    --easing: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
}

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

img {
    display: block;
    width: 100%;
    height: auto;
}

li {
    list-style: none;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.3s ease,
        height 0.3s ease;
}

body.hovered .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.loader-wrap {
    text-align: center;
}

.loader-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.loader-text span {
    display: block;
    transform: translateY(110%);
}

.loader-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--color-accent);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    background: transparent;
    transition: padding 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2001;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

body:not(.loading) .brand-logo {
    filter: brightness(0) invert(1);
}

.brand-logo.light {
    filter: brightness(0) invert(1);
}

.brand-logo.dark {
    filter: brightness(0);
}

.nav-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.menu-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.hamburger {
    width: 40px;
    height: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: transform 0.3s var(--easing);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-accent);
    z-index: 1900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.8s var(--easing);
}

.menu-overlay.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.menu-link {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: white;
    -webkit-text-stroke: 1px white;
}

.menu-footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: 0.875rem;
    opacity: 0.6;
}

.container {
    padding: 0 5vw;
    margin: 0 auto;
    width: 100%;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

.hero-bg-wrapper {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    z-index: 0;
    opacity: 0.4;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--color-light);
    z-index: 10;
    width: 100%;
    text-align: center;
    padding: 0 1rem;
}

.hero-title .line {
    overflow: visible;
    padding-bottom: 0.05em;
    margin-bottom: -0.05em;
}

.hero-title span {
    display: inline-block;
}

.collage-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-gradient-1 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}

.card-gradient-2 {
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}

.card-gradient-3 {
    background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.collage-item {
    position: absolute;
    width: 300px !important;
    height: 400px;
    transition: opacity 0.5s ease;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.scroll-icon {
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.manifesto {
    padding: 15vh 0;
    background: var(--color-light);
    color: var(--color-dark);
}

.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.marquee-section {
    padding: 4rem 0;
    background: var(--color-accent);
    color: white;
    overflow: hidden;
    transform: rotate(-2deg) scale(1.05);
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    padding-right: 2rem;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

.history-section {
    padding: 10vh 0;
    overflow: hidden;
    height: 100vh;
}

.history-header {
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-label {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: var(--color-gray);
    display: block;
    margin-bottom: 1rem;
}

.history-header h2 {
    font-family: var(--font-display);
    font-size: 8vw;
    line-height: 1;
}

.horizontal-scroll-wrapper {
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    overflow: visible;
}

.horizontal-container {
    display: flex;
    gap: 4vw;
    padding-left: 5vw;
}

.history-card {
    min-width: 30vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 2rem;
}

.title-card {
    min-width: 20vw;
    border: none;
    padding-left: 0;
    justify-content: center;
}

.title-card h3 {
    font-family: var(--font-display);
    font-size: 4vw;
    line-height: 1;
}

.year {
    font-family: var(--font-display);
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin: 1rem 0;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.history-card:hover .card-image {
    filter: grayscale(0%);
}

.card-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.history-card:hover img {
    transform: scale(1.1);
}

.programs-section {
    background: var(--color-light);
    color: var(--color-dark);
    padding: 15vh 0;
}

.programs-list {
    margin-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.program-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
}

.program-header {
    padding: 3rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.program-id {
    font-size: 1rem;
    color: var(--color-gray);
    width: 100px;
}

.program-header h3 {
    font-family: var(--font-display);
    font-size: 4vw;
    font-weight: 700;
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.program-item:hover h3 {
    transform: translateX(20px);
}

.program-btn {
    background: none;
    border: 1px solid var(--color-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-item:hover .program-btn {
    background: var(--color-dark);
    color: var(--color-light);
    transform: rotate(90deg);
}

.program-hover-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 400px;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.5s var(--easing);
}

.program-hover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-item:hover .program-hover-img {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(5deg);
}

.fit-height {
    min-height: 100vh;
}

.collage-grid {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collage-text {
    z-index: 10;
    text-align: center;
}

.collage-text h2 {
    font-family: var(--font-display);
    font-size: 8vw;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.activities-list li {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-gray);
}

.collage-item {
    position: absolute;
    filter: grayscale(100%) contrast(120%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.collage-item:hover {
    opacity: 1;
    z-index: 5;
    filter: grayscale(0%);
}

.p1 {
    top: 10%;
    left: 5%;
    width: 25vw;
}

.p2 {
    top: 20%;
    right: 5%;
    width: 30vw;
}

.p3 {
    bottom: 10%;
    left: 20%;
    width: 20vw;
}

.footer {
    padding-top: 10vh;
    background: var(--color-dark);
    position: relative;
    padding-bottom: 2rem;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-cta {
    font-family: var(--font-display);
    font-size: 6vw;
    line-height: 1;
}

.email-link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    display: flex;
    gap: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 8rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-col p,
.footer-col li {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-bottom h1 {
    font-family: var(--font-display);
    font-size: 15vw;
    line-height: 0.8;
    color: var(--color-accent);
}

.credits {
    text-align: right;
    font-size: 0.875rem;
    opacity: 0.5;
}

.visual-break {
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.visual-caption {
    text-align: center;
    mix-blend-mode: overlay;
}

.visual-caption h2 {
    font-family: var(--font-display);
    font-size: 12vw;
    color: white;
    line-height: 0.9;
}

.container {
    padding: 0 1.5rem;
}

.footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.horizontal-scroll-wrapper {
    height: auto;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.horizontal-container {
    flex-direction: column;
    padding-left: 0;
    gap: 2rem;
}

.history-card {
    width: 100%;
    min-width: 0;
    height: auto;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    padding-left: 0;
    padding-right: 0;
}

.program-header h3 {
    font-size: 8vw;
}

.footer-cta {
    font-size: 10vw;
}

.brand-logo {
    height: 36px;
}

.menu-text {
    display: none;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    padding-right: 1rem;
    text-transform: uppercase;
}

.visual-break {
    height: 60vh;
}

.manifesto-text {
    font-size: 1.5rem;
}

.history-section {
    padding: 5vh 0;
    height: auto;
    min-height: auto;
}

.history-header h2 {
    font-family: var(--font-display);
    font-size: 15vw;
    line-height: 1;
}

.section-label {
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .nav {
        padding: 2rem 3rem;
    }

    .nav.scrolled {
        padding: 1.5rem 3rem;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 8rem);
    }

    .container {
        padding: 0 5vw;
    }

    .footer-top {
        flex-direction: row;
        align-items: flex-end;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }

    .horizontal-scroll-wrapper {
        overflow: visible;
    }

    .horizontal-container {
        flex-direction: row;
        padding-left: 5vw;
    }

    .history-card {
        width: 30vw;
        height: 50vh;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: none;
        padding-left: 2rem;
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .program-header h3 {
        font-size: 4vw;
    }

    .marquee-content span {
        font-size: 4rem;
        padding-right: 2rem;
    }

    .visual-break {
        height: 80vh;
    }

    .manifesto-text {
        font-size: clamp(2rem, 5vw, 4rem);
    }

    .history-section {
        padding: 10vh 0;
        height: 100vh;
    }

    .history-header h2 {
        font-size: 8vw;
    }

    .section-label {
        font-size: 0.875rem;
    }

    .menu-text {
        display: block;
    }

    .brand-logo {
        height: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: clamp(3.5rem, 12vw, 10rem);
    }

    .container {
        padding: 0 5vw;
    }

    .footer-cta {
        font-size: 6vw;
    }

    .footer-grid {
        gap: 4rem;
    }
}
