@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: 'Overused Grotesk';
    src: url('assets/fonts/OverusedGrotesk-SemiBold-BF64eeac17e1195.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-text: #DCDCDC;
    --color-text-muted: #8E8E93;
    --color-heading: #FFFFFF;
    --color-accent: #FC2819;
    --color-accent-hover: #FE3B2C;
    --font-heading: 'Instrument Serif', serif;
    --font-body: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    letter-spacing: -0.04em !important;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 600;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 1. Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.preloader-logo {
    width: 100px;
    height: auto;
}

.progress-bar-container {
    width: 100px;
    height: 1.5px;
    background-color: rgba(220, 220, 220, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--color-accent);
    transition: width 0.06s linear;
}

/* 2. Hero Wrapper & Top Ticker */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('assets/img/bg_image.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.1);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.top-ticker-bar {
    width: 100%;
    background: rgba(20, 20, 20, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 90;
}

.top-ticker-link {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
}

.ticker-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: tickerMove 20s linear infinite;
    will-change: transform;
}

.ticker-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 30px;
}

.ticker-brand-logo {
    height: 12px;
    width: auto;
    display: inline-block;
}

.ticker-arrow-svg {
    width: 9px;
    height: 9px;
}

@keyframes tickerMove {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* 3. Mobile Navbar */
.main-navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.main-navbar.scrolled-glass {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-right-menu-wrapper {
    position: relative;
    width: 110px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-box-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 38px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 999;
}

.menu-box-container.is-expanded {
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.menu-toggle-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    padding: 0.45rem 0.85rem;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    height: 38px;
    font-family: var(--font-body);
}

.menu-icon-plus {
    width: 10px;
    height: 10px;
    display: inline-block;
}

.menu-expanded-content {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 1.8rem 1.4rem 1.4rem 1.4rem;
    position: absolute;
    top: 0;
    left: 0;
    color: #000000;
    background: #FFFFFF;
}

.menu-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000000;
    z-index: 10;
}

.quick-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.quick-menu-link {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-accent) !important;
    text-decoration: none;
}

.quick-menu-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-top: 1px solid #E5E5E5;
    padding-top: 1rem;
}

.menu-meta-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.menu-meta-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #8E8E93;
}

.menu-meta-val {
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
}

.page-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-blur-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.nav-logo-img {
    height: 18px;
    width: auto;
}

.hero-join-btn {
    background-color: var(--color-accent);
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.95rem 1.45rem;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    align-self: flex-start;
    font-family: var(--font-body);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-join-btn:active {
    transform: scale(0.97);
}

.hero-btn-arrow {
    width: 12px;
    height: 12px;
}

/* 5. Mobile Hero */
.hero-section {
    position: relative;
    z-index: 3;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.25rem 3rem 1.25rem;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 56px;
    font-weight: 800;
    line-height: 0.95;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

/* Logo Marquee Section */
.logo-marquee-section {
    position: relative;
    width: 100%;
    height: 70px;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.logo-marquee-container {
    width: 100%;
    overflow: hidden;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.logo-marquee-group {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-logo-img {
    height: 24px !important;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.85;
    filter: brightness(0) invert(1);
}

.marquee-gradient-left,
.marquee-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 2;
    pointer-events: none;
}

.marquee-gradient-left {
    left: 0;
    background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.marquee-gradient-right {
    right: 0;
    background: linear-gradient(to left, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

/* 6. Manifesto */
.manifesto-section {
    height: auto;
    min-height: auto;
    padding: 4.5rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.manifesto-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: auto;
}

.manifesto-text-col {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.manifesto-paragraph-main {
    font-size: 20px;
    line-height: 1.45;
}

.reveal-word {
    color: rgba(255, 255, 255, calc(0.25 + 0.75 * var(--word-progress, 0)));
    transition: color 0.15s ease-out;
}

.reveal-word.inline-img-wrap {
    display: inline-block;
    vertical-align: middle;
}

.reveal-word strong {
    color: inherit;
    font-weight: inherit;
}

.manifesto-paragraph-sub {
    font-size: 17px;
    line-height: 1.45;
}

.manifesto-logo-img {
    height: 13px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin: -4px 4px 0 4px;
    opacity: calc(0.25 + 0.75 * var(--word-progress, 0));
    transition: opacity 0.15s ease-out;
}

.manifesto-img-col {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.manifesto-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}

/* 7. Events */
.events-section {
    padding: 4rem 1.25rem;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.events-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.events-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-style: italic;
    color: #FFFFFF;
}

.events-description {
    font-size: 15px;
    color: #FFFFFF;
    line-height: 1.45;
}

.events-filter-wrapper {
    position: relative;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px;
    border-radius: 100px;
    display: inline-flex;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.filter-active-pill {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    background-color: #FFFFFF;
    border-radius: 100px;
    z-index: 1;
    transition: all 0.3s ease;
}

.event-filter-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 0.55rem 1.2rem;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.event-filter-btn.active {
    color: #000000;
}

.events-scroll-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.events-scroll-track::-webkit-scrollbar {
    height: 3px;
}

.events-scroll-track::-webkit-scrollbar-track {
    background: transparent;
}

.events-scroll-track::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 10px;
}

.event-card {
    flex: 0 0 290px;
    height: 440px;
    background: #080808;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.4s ease;
}

.event-card:active,
.event-card:hover {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.event-card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: filter 0.4s ease;
}

.event-card:active .event-card-bg-img,
.event-card:hover .event-card-bg-img {
    filter: brightness(0.85);
}

.event-card-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 2;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.event-card:active .event-card-overlay,
.event-card:hover .event-card-overlay {
    opacity: 0;
}

.event-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.event-date-pill,
.event-card-title,
.event-location-text {
    display: none !important;
}

.event-enroll-btn {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 60px;
    height: 107px;
    background-color: transparent;
    border-radius: 4px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.4s ease;
}

.event-enroll-arrow-container {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-enroll-arrow {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* white arrow by default */
    display: block;
    opacity: 0.7; /* 0.7 opacity before hover */
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.event-enroll-logo {
    position: absolute;
    bottom: -30px;
    width: 44px;
    height: auto;
    opacity: 0;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.event-card:active .event-enroll-btn,
.event-card:hover .event-enroll-btn {
    background-color: #FFFFFF; /* white background on hover */
}

.event-card:active .event-enroll-arrow,
.event-card:hover .event-enroll-arrow {
    filter: brightness(0); /* black arrow on hover */
    opacity: 1; /* 1.0 opacity on hover */
}

.event-card:active .event-enroll-arrow-container,
.event-card:hover .event-enroll-arrow-container {
    top: 25px; /* goes above on hover */
    transform: translate(-50%, 0) rotate(0deg);
}

.event-card:active .event-enroll-logo,
.event-card:hover .event-enroll-logo {
    bottom: 12px;
    opacity: 1;
}

.no-events-placeholder {
    width: 100%;
    height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.069);
    border-radius: 8px;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
    flex: 1 0 100%;
    position: relative;
}

.no-events-text {
    font-family: 'Instrument Serif', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255);
    max-width: 250px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0;
}

.no-events-logo {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: auto;
}

/* 7. Gallery Section */
.gallery-section {
    background-color: #000000;
    padding: 4rem 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-header-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 1.25rem;
}

.gallery-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.gallery-description-text {
    font-size: 20px;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.gallery-description-text:has(.gallery-logo-img:hover) {
    color: rgba(255, 255, 255, 0.3);
}

.gallery-logo-img {
    height: 13px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 4px 0 4px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.gallery-logo-img:hover {
    transform: scale(1.12);
}

.gallery-btn-wrapper {
    display: inline-block;
}

.gallery-btn {
    display: block;
    width: 160px;
    height: 52px;
    background-color: #FFFFFF;
    border-radius: 50px;
    position: relative;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-btn-text {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-btn-arrow-circle {
    position: absolute;
    left: calc(100% - 47px);
    top: 5px;
    width: 42px;
    height: 42px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-btn-arrow {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    color: #FFFFFF;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: Arrow circle moves left swiftly, text moves right and colors swap */
.gallery-btn:hover {
    background-color: var(--color-accent);
}

.gallery-btn:hover .gallery-btn-text {
    left: 80px;
    color: #FFFFFF;
}

.gallery-btn:hover .gallery-btn-arrow-circle {
    left: 5px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.gallery-btn:hover .gallery-btn-arrow {
    color: #000000;
}

.gallery-badge-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-badge-container {
    position: relative;
    width: 180px;
    height: 180px;
    background-color: #000000;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-badge-text-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-origin: center center;
}

.badge-svg-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    fill: #FFFFFF;
    text-transform: uppercase;
}

.flower-glyph {
    fill: transparent;
}

.gallery-badge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gallery-badge-smiley {
    width: 48%;
    height: 48%;
    object-fit: contain;
}

.gallery-static-container {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}

.gallery-static-img {
    height: 100%;
    width: auto !important;
    max-width: none !important;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    will-change: transform;
}


/* 7.5. Contact Section */
.contact-section {
    width: 100%;
    padding: 4rem 0 0 0;
    display: flex;
    justify-content: center;
    background-color: var(--color-bg);
}

.contact-card {
    width: 100%;
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    margin: 0;
}

.contact-bg-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
    z-index: 1;
    line-height: 0;
    order: 2;
}

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

.contact-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0) 50%) !important;
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 1.75rem;
    background-color: #000000;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.contact-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.04em !important;
    margin-bottom: 1.5rem;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.contact-heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em !important;
    text-align: center;
}

.contact-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 100%;
    text-align: center;
}

.contact-text-block p {
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.01em !important;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    width: auto;
    max-width: max-content;
    justify-content: center;
}

.contact-cta-arrow {
    width: 12px;
    height: 12px;
    color: #ffffff;
}

/* 8. Footer */
.main-footer {
    width: 100%;
    padding: 2.5rem 1.5rem 0 1.5rem;
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.footer-left-nav {
    width: 100%;
}

.footer-left-socials {
    width: 100%;
}

.footer-right-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
}

/* Headers */
.footer-section-title {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3em !important;
    margin-bottom: 1.5rem;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Navigation Link Stack */
.footer-nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-nav-link {
    position: relative;
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 0.35rem 0;
    transition: opacity 0.3s ease, color 0.3s ease;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: -0.06em !important;
}

/* Dim line under each navigation item */
.footer-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* White filling line from left to right on hover */
.footer-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.footer-nav-link:hover::before {
    width: 100%;
}

/* Opacity effect for non-hovered navigation links */
.footer-nav-list:hover .footer-nav-link:not(:hover) {
    opacity: 0.3;
}

/* Social links row stack vertically */
.footer-socials-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-social-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-social-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.15em !important;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.footer-social-val {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: -0.06em !important;
}

.footer-social-val:hover {
    opacity: 0.7;
}

/* Right side details: Hierarchy */
.footer-hierarchy-section {
    width: 100%;
}

.footer-hierarchy-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hierarchy-logo {
    height: 26px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Blur transition on hover of any logo */
.footer-hierarchy-logos:has(.hierarchy-logo:hover) .hierarchy-logo:not(:hover) {
    filter: blur(3px);
    opacity: 0.3;
}

/* Sponsor container & link styling */
.footer-sponsor-section {
    width: 100%;
}

.footer-sponsor-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sponsor-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0em !important;
    color: #ffffff;
    font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.sponsor-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

/* Underline container */
.sponsor-underline-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Active underline that slides X */
.sponsor-underline {
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover behaviors for sponsor link */
.footer-sponsor-link:hover .sponsor-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.footer-sponsor-link:hover .sponsor-underline {
    transform: translateX(0);
}

/* Full-width bottom logo */
.footer-bottom-logo-container {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-top: 1.8rem;
    line-height: 0;
}

.footer-bottom-logo {
    width: 100%;
    height: auto;
    display: block;
}
