/* Basic Setup & Reset */
:root {
    --primary-color: #ECECEC;
    --accent-color: #ff3e00;
    /* Placeholder accent */
    --bg-color: #111110;
    --text-color: #ECECEC;
    --font-primary: 'Suisse Intl', sans-serif;
    --font-mono: 'NB Akademie Mono Std', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1600px;
    /* Increased for modern screens */
    margin: 0 auto;
    padding: 0 40px;
    /* Fluid padding */
}

@media (max-width: 768px) {
    .container {
        padding: 0 22px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Utilities & Sections */
/* Solves the 100vh mobile issue using dvh (Dynamic Viewport Height) */
.full-height {
    width: 100%;
    /* max(650px, 100svh) ensures it's at least full screen, 
       but never squashed smaller than 650px on desktop resizing */
    min-height: 100svh;
    min-height: max(650px, 100svh);

    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 42px 0;
    z-index: 10000;
}

@media (min-width: 769px) {
    .site-header {
        position: absolute;
    }
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-mobile-logo {
    display: none;
}

@media (max-width: 768px) {
    .site-header {
        mix-blend-mode: difference;
    }

    .main-nav {
        justify-content: flex-end;
    }

    .nav-mobile-logo {
        display: block;
        position: fixed;
        z-index: 10001;
        /* Ensure above everything */
        top: 42px;
        left: 22px;
    }

    .nav-mobile-logo img {
        width: 140px;
        height: auto;
        display: block;
    }

    /* Only run the startup animation if the preloader flag isn't cleared yet */
    body:not(.page-loaded) .nav-mobile-logo {
        top: 24px;
        left: 20px;
        transform-origin: top left;
        animation: smoothLogoScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.5s both;
    }

    body:not(.page-loaded) .nav-mobile-logo img {
        width: calc(100vw - 40px);
    }

    @keyframes smoothLogoScale {
        0% {
            transform: translate(0, 0) scale(1);
        }

        100% {
            /* 
              Translate: Move from top 24px and left 20px -> to 42px / 22px 
              Scale: Shrink the full container width down to the 140px native width
            */
            transform: translate(2px, 18px) scale(calc(140px / (100vw - 40px)));
        }
    }

    .nav-spacer {
        display: none;
    }

    .hero-section {
        display: none !important;
    }
}

.nav-contact {
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
    text-transform: capitalize;
    transition: opacity 0.3s ease;
    animation: contactFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.5s both;
}

@keyframes contactFadeIn {
    0% {
        opacity: 0;
        pointer-events: none;
    }

    100% {
        opacity: 1;
        pointer-events: auto;
    }
}

.nav-contact:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .nav-contact {
        text-decoration: underline;
    }

}

/* Hero Section */
.hero-section {
    width: 100%;
    /* Align with full-height logic */
    min-height: 100svh;
    min-height: max(650px, 100svh);

    display: flex;
    flex-direction: column;
    /* Removed padding-top: 80px; as we want full height control */
    padding-top: 0;
    padding-bottom: env(safe-area-inset-bottom);
    position: relative;
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out header space, logo, and footer */
    flex-grow: 1;
    position: relative;
    padding-top: 78px;
    /* Space for fixed header manually if needed, or just let space-between handle it */
}

/* 
   Since .hero-container is inside .hero-section which is flex column, 
   we need .hero-container to take full height.
   Wait, .container has max-width and margin auto. 
   We might need a wrapper if we want full height flex.
   Actually, let's make .container inside .hero-section flex-grow 1
*/

.hero-section .container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.hero-main {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    /* Adjust these values based on actual SVG size preference */
    max-height: 60vh;
    position: sticky;
    top: 78px;
    padding-bottom: 40px;
}

.hero-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.hero-tagline {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    max-width: 400px;
}

.scroll-down img {
    width: auto;
    height: 19px;
    display: block;
    transition: transform 0.3s ease;
}

.scroll-down:hover img {
    transform: translateY(5px);
}

/* Slider Section */
.slider-section {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--bg-color);
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

/* Class to remove snap while dragging for smoothness */
.slider-track.active {
    cursor: grabbing;
}

/* Prevent image dragging while slider is being dragged */
.slider-track.active img {
    pointer-events: none;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    /* Ensure it acts as a container for the image */
    height: 100%;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-drag: none;
}

.slide img {
    /* Absolute pos might handle height better if flex stretch is failing */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Slide Content Overlay */
.slide-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 48px;
    padding-bottom: max(48px, env(safe-area-inset-bottom));
    pointer-events: none;
    z-index: 5;
}

.slide-title,
.slide-meta {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.slide-title.fading,
.slide-meta.fading {
    opacity: 0;
}


.slide-footer-wrapper {
    position: relative;
    width: 100%;
    /* Create a grid stack so they overlap */
    display: grid;
    grid-template-areas: "stack";
}

.slide-footer {
    grid-area: stack;
    /* Stack all footers on top of each other */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    color: var(--text-color);
    text-transform: uppercase;

    /* Fade transition */
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    /* Let clicks pass */
}

/* Only the active slide footer is improved for SEO & Visibility */
.slide-footer.active {
    opacity: 1;
    pointer-events: auto;
    /* Maybe selectable text? */
}

.slide-title {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.slide-meta {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.02em;
    text-align: right;
}

@media (max-width: 768px) {
    .slide img {
        object-position: var(--mobile-position) 50%;
    }

    .slide-title,
    .slide-meta {
        font-size: 12px;
    }

    .slide-meta {
        white-space: nowrap;
    }
}

/* About Section */
.about-section {
    padding-top: 70px;
    padding-bottom: 70px;
    justify-content: flex-start;
}

.about-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-header {
    margin-bottom: 70px;
    text-align: left;
}

.about-heading {
    font-family: var(--font-primary);
    font-weight: 300;
    /* Regular weight */
    font-size: 42px;
    line-height: 54px;
    letter-spacing: -0.01em;
    margin: 0 auto;
    text-align: left;
}

.about-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.about-column-left {
    grid-column: span 2;
}

.about-mission {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.02em;
    max-width: 310px;
}

.about-column-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.about-text-block p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 1.5em;
    max-width: 450px;
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

.about-link {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 21px;
    font-weight: 300;
    display: inline-block;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-link-text {
    display: inline-block;
    position: relative;
}

.about-link-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.about-link:hover {
    opacity: 1;
}

.about-link:hover .about-link-text::after {
    transform: scaleX(1);
}

.about-link-mobile {
    display: none;
}

@media (max-width: 768px) {

    .about-section {
        padding-top: 84px;
        padding-bottom: 62px;
    }

    .about-container {
        flex: 1 0 0;
        justify-content: space-between;
    }

    .about-section .about-divider,
    .about-content {
        display: none;
    }

    .about-heading {
        font-size: 28px;
        line-height: 36px;
        text-align: left;
    }

    .about-link-mobile {
        display: flex;
    }

    .about-link-mobile .about-link-text::after {
        transform: scaleX(1);
    }
}

/* Approach Section */
.approach-section {
    padding-top: 50px;
    padding-bottom: 90px;
}

.approach-header {
    margin-bottom: 24px;
    text-align: left;
}

.approach-heading {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.approach-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin-bottom: 40px;
}

.approach-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.approach-column-left {
    grid-column: span 2;
}

.approach-intro {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4;
    max-width: 416px;
}

.approach-column-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.approach-text-block p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 24px;
}

.approach-text-block p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .approach-section {
        padding-top: 60px;
        padding-bottom: 0;
    }

    .approach-header {
        margin-bottom: 15px;
    }

    .approach-heading {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .approach-divider {
        margin-bottom: 15px;
    }

    .approach-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .approach-intro {
        font-size: 17px;
        line-height: 22px;
        letter-spacing: -0.01em;
    }

    .approach-text-block p {
        max-width: unset;
        font-size: 17px;
        line-height: 22px;
        letter-spacing: -0.01em;
    }
}

/* Services Section */
.services-section {
    padding-bottom: 0;
}

.services-list {
    list-style: none;
    display: flex;
    width: max-content;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
}

.service-item {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -0.01em;
    padding: 4px 16px;
    border: 1px solid rgba(236, 236, 236, 0.5);
    /* Semi-transparent border */
    border-radius: 99px;
    /* Pill shape */
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
    text-align: center;
}

.service-item:hover {
    border-color: var(--text-color);
    background-color: rgba(236, 236, 236, 0.1);
}

@media (max-width: 768px) {
    .services-section .approach-content {
        gap: 70px;
    }

    .services-list {
        margin: 0 auto;
    }
}

/* Client Ticker Section */
.ticker-section {
    padding: 48px 0;
    overflow: hidden;
    background-color: var(--bg-color);
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.ticker-track {
    display: flex;
    width: max-content;
}

.ticker-track:not(.ready) .ticker-content {
    visibility: hidden;
}

.ticker-track.ready {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 160px;
    padding-right: 160px;
    flex-shrink: 0;
}

.ticker-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.ticker-item img {
    width: auto;
    object-fit: contain;
}

/* Footer Section */
.site-footer {
    background-color: var(--bg-color);
    padding: 70px 0 65px;
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    margin-bottom: 134px;
}

.footer-top h2 {
    font-weight: 300;
    font-size: 30px;
    line-height: 39px;
    letter-spacing: 0;
}

.footer-middle,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.footer-middle {
    margin-bottom: 98px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact p {
    margin-bottom: 0;
    font-weight: 400;
}

.footer-email {
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-social,
.footer-copyright {
    display: flex;
    flex-direction: column;
    width: 250px;
    gap: 6px;
}

.footer-social a {
    transition: opacity 0.3s ease;
    width: fit-content;
    font-weight: 400;
}

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

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-address p {
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0;
    }

    .footer-middle,
    .footer-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .footer-social,
    .footer-copyright {
        width: 100%;
    }
}

/* Featured Work Section */
.featured-section {
    padding-top: 50px;
    padding-bottom: 90px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    /* Space between images */
    margin-top: 40px;
}

.featured-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--bg-color);
    height: 500px;
    /* Fallback */
}

/* Beyond Retro takes 2 slots */
.featured-lg {
    grid-column: span 2;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.featured-video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* Hidden until loaded & playing */
    transition: opacity 0.5s ease;
    z-index: 0;
}

.featured-video.is-playing {
    opacity: 1;
}

/* Overlay & interactive states */
.featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 16, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.featured-card:hover::after {
    opacity: 1;
    /* Slight darkening on hover */
}

/* Dynamic Tags Top Left */
.featured-tags {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 8px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.featured-card:hover .featured-tags {
    opacity: 1;
}

.featured-tag {
    height: 28px;
    min-width: 80px;
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 21px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(236, 236, 236, 0.5);
    border-radius: 99px;
    color: var(--text-color);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.featured-unmute-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(17, 17, 16, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(236, 236, 236, 0.5);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.featured-unmute-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.featured-unmute-btn:hover {
    background: rgba(17, 17, 16, 0.8);
    transform: scale(1.05);
}

.featured-unmute-btn .mute-icon {
    display: none;
}

.featured-unmute-btn.unmuted .mute-icon {
    display: block;
}

.featured-unmute-btn.unmuted svg:not(.mute-icon) {
    display: none;
}

@media (max-width: 768px) {
    .featured-unmute-btn {
        opacity: 1;
        pointer-events: auto;
    }
}

/* The interactive Dot */
.featured-dot-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--base-color);
    height: 24px;
    /* Init circle size */
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    padding: 0 12px;
    width: 24px;
}

.featured-card:hover .featured-dot-wrapper {
    width: auto;
    height: 48px;
    padding: 0 24px;
}

.featured-dot-text {
    color: #111110;
    /* Dark text on colored background */
    font-size: 18px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    font-weight: 400;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.featured-card:hover .featured-dot-text {
    opacity: 1;
    transition-delay: 0.1s;
    /* Show text after expanding */
}

/* Right-side text block */
.featured-text-block {
    display: flex;
    flex-direction: column;
}

.featured-desc {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    font-weight: 300;
    margin-bottom: 33px;
}

.featured-link {
    font-size: 16px;
    line-height: 21px;
    text-decoration: underline;
    opacity: 0.5;
    margin-bottom: auto;
}

.featured-stats {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.02em;
    margin-top: 40px;
    opacity: 0.5;
}

/* Full Screen Modals */
.featured-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overscroll-behavior: contain;
}

@media (min-width: 769px) {
    .featured-modal {
        transition: opacity 0.5s ease, visibility 0.5s ease;
    }
}

.featured-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid #111110;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111110;
    transition: transform 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    transform: scale(1.05);
}

.modal-content-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-desc {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #111110;
    max-width: 650px;
    text-align: center;
}

.modal-desc p {
    margin-bottom: 40px;
}

.modal-desc p:last-child {
    margin-bottom: 0;
}

.modal-footer-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-bottom: 40px;
}

.modal-footer-tags span {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1;
    padding: 8px 24px;
    border: 1px solid #111110;
    border-radius: 99px;
    color: #111110;
    letter-spacing: -0.01em;
}

.featured-mobile-content {
    display: none;
}

@media (max-width: 768px) {
    .featured-section {
        padding-top: 0;
        padding-bottom: 0;
    }

    .featured-section .approach-header,
    .featured-section .approach-divider,
    .featured-text-block {
        display: none;
    }

    .featured-section .container {
        padding: 0;
    }

    .featured-card {
        height: 100svh;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .featured-lg {
        grid-column: span 1;
    }

    .featured-card:hover .featured-tags {
        opacity: 0;
    }

    .featured-dot-wrapper {
        display: none;
    }

    .featured-card::after {
        opacity: 1;
    }

    .featured-mobile-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 7px;
        position: absolute;
        left: 22px;
        right: 22px;
        bottom: 64px;
        z-index: 2;
    }

    .featured-mobile-title {
        font-size: 21px;
        line-height: 27px;
        font-weight: 400;
        letter-spacing: 0;
    }

    .featured-mobile-desc {
        font-size: 17px;
        line-height: 22px;
        letter-spacing: -0.01em;
        font-weight: 300;
    }

    .featured-mobile-link {
        border: none;
        background: transparent;
        outline: none;
        padding: 0;
        font-size: 15px;
        line-height: 19px;
        letter-spacing: -0.01em;
        opacity: 0.5;
        text-decoration: underline;
        cursor: pointer;
        width: max-content;
        color: var(--text-color);
        font-family: var(--font-primary);
    }

    .modal-desc {
        font-size: 24px;
    }

    .modal-inner {
        padding: 24px;
    }

    .modal-close {
        top: 24px;
        right: 24px;
    }
}

/* Fullscreen Preloader - Pure CSS Approach */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: preloaderFadeOut 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2.5s forwards;
}

.preloader-text {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 300;
    line-height: 54px;
    letter-spacing: 0;
    color: var(--text-color);
    opacity: 0;
    animation: preloaderTextSequence 2.5s ease-in-out forwards;
    padding: 0 40px;
    text-align: center;
}

@keyframes preloaderFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes preloaderTextSequence {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    30% {
        opacity: 1;
        transform: translateY(0);
    }

    70% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .preloader-text {
        font-size: 28px;
        line-height: 36px;
    }
}