:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --gray-light: #f5f5f5;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    text-transform: uppercase;
    overflow-x: hidden;
    cursor: auto !important;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Hide Scrollbar */
::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Loading Screen */
#big-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1), transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

#big-loader.fade-out {
    opacity: 0;
    pointer-events: none;
    /* Removed the scale transform for fade out so the video just fades nicely */
}

.loader-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Cursor Removal */
#custom-cursor,
#big-cursor {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Interactions */
a:hover~#custom-cursor,
button:hover~#custom-cursor,
.hamburger:hover~#custom-cursor {
    width: 20px;
    height: 20px;
    background: #000;
}

/* Scroll Animations */
.reveal-init {
    opacity: 0;
}

.project-right,
.news-item img,
.column-image img,
.people-group img {
    /* Transitions removed so JS can control scale frame-by-frame without CSS lag */
    will-change: transform;
}

.reveal-init .project-right,
.reveal-init .news-item img,
.reveal-init .column-image img {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.reveal-init .project-left,
.reveal-init .news-item h2,
.reveal-init .column-data,
.reveal-init .column-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s,
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

/* New Modern Reveal Utilities */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger entrance for initial items */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.reveal-active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Add delays for stagger up to 5 items */
.reveal-stagger.reveal-active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.reveal-active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.reveal-active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.reveal-active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.reveal-active > *:nth-child(5) { transition-delay: 0.5s; }

.reveal-active {
    opacity: 1;
}

.reveal-active .project-right,
.reveal-active .news-item img,
.reveal-active .column-image img {
    opacity: 1;
}

.reveal-active .project-left,
.reveal-active .news-item h2,
.reveal-active .column-data,
.reveal-active .column-description {
    opacity: 1;
    transform: translateY(0);
}

/* Refined Typography for Home Page */
.project-info h2 {
    letter-spacing: -0.04em;
    font-weight: 800;
}

/* Lenis Basic Styles */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Global Contained View */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Nav */
@media (max-width: 600px) {
    header {
        padding: 15px 5vw !important;
    }

    .nav-center {
        display: none !important;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #fff;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.nav-center {
    display: flex;
    gap: 30px;
    font-size: 13px;
    letter-spacing: 0.05em;
    flex: 2;
    justify-content: center;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    font-size: 13px;
}

/* =============================================
   RESPONSIVE HEADER — TABLET & MOBILE
   ============================================= */

/* Tablet: 640px – 1024px
   Keep logo + nav + search but compact everything */
@media (max-width: 1024px) {
    /* Tablet behavior: keep core logic but don't apply the redesign yet */
    .nav-center {
        gap: 20px;
    }

    .project-row-trigger {
        gap: 20px !important;
    }
}

/* Mobile ONLY Redesign (Phone focus as per user request) */
@media (max-width: 600px) {
    .project-item-group {
        margin-bottom: 30px !important; /* Professional "suitable" gap */
    }

    .project-row-trigger {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }

    .project-left-info {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        gap: 8px !important;
        flex: 0 0 auto !important;
    }

    .project-graphic {
        margin-bottom: 0 !important;
        flex: 0 0 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .project-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Perfect center */
        align-items: flex-start !important;
        padding: 0 0 0 15px !important; /* Zero top/bottom, 15px left */
        min-height: 36px !important; /* Match logo height precisely */
    }

    .project-info h2 {
        font-size: 14px !important;
        margin: 0 0 1px 0 !important; /* Tighter internal gap */
        font-weight: 800 !important;
        line-height: 1.1 !important;
    }

    .project-location {
        font-size: 8.5px !important;
        font-weight: 600 !important;
        color: #999 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .project-right-dynamic {
        width: 100% !important;
    }

    .hero-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 16/9 !important;
        border-radius: 4px !important; /* Slightly rounded for premium feel */
        margin-top: 18px !important; /* Refined "suitable" internal gap */
    }
}

.main-feed {
    margin-top: 80px; /* Reduced top gap */
}

.project-item-group {
    margin-bottom: 40px;
}

#search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    flex-direction: column;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    border: none;
    border-bottom: 1px solid var(--text-color);
    background: transparent;
    padding: 5px 25px 5px 0;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-color);
    letter-spacing: 0.05em;
    width: 120px;
    transition: width 0.3s ease;
    outline: none;
    text-transform: uppercase;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.search-input:focus {
    width: 180px;
}

.search-icon {
    display: block;
    pointer-events: none;
    color: #111;
}

/* Mobile specific overrides */
@media (max-width: 768px) {
    .search-input {
        width: 80px !important;
        font-size: 11px !important;
    }
    
    .search-input:focus {
        width: 120px !important;
    }

    .search-icon {
        width: 20px;
        height: 20px;
        stroke-width: 2.2;
    }
}

.hamburger {
    cursor: pointer;
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2001;
    /* Ensure it stays above the overlay if we want to use it to close */
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
    transform-origin: center;
}

/* Rotation Animation into X */
.hamburger.active span:nth-child(1) {
    transform: translateY(8.25px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.25px) rotate(-45deg);
}

/* Hover rotation effect for active state */
.hamburger.active:hover {
    transform: rotate(90deg);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.hamburger:not(.active) {
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.logo {
    font-size: 20px;
    letter-spacing: -0.5px;
    font-weight: 900;
}

@media (max-width: 600px) {
    .project-page .global-logo {
        display: block !important;
    }
}

.nav-center {
    display: flex;
    gap: 30px;
    font-size: 14px;
}

.nav-center a:hover {
    text-decoration: underline;
}

/* Overlay Menu Redesign */
.menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: auto !important;
    right: -400px !important;
    width: 400px !important;
    height: 100vh !important;
    background: #000; /* Deep solid black for professional look */
    color: #ffffff;
    backdrop-filter: blur(20px);
    z-index: 2000;
    transition: right 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
}

.menu-overlay.active {
    right: 0 !important;
}

/* Mobile Menu Slide Direction: Right to Left */
@media (max-width: 768px) {
    .menu-overlay {
        right: -100% !important;
        width: 100% !important;
    }

    .menu-overlay.active {
        right: 0 !important;
    }

    .menu-overlay a {
        font-size: 32px; /* Slightly smaller for mobile */
    }
}

.menu-header {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8em;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    margin-bottom: 60px;
    text-transform: uppercase;
    transition: opacity 0.8s ease 0.1s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.menu-overlay.active .menu-header {
    opacity: 0.4;
    transform: translateY(0);
}

.menu-links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-overlay a {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #ffffff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s ease;
    width: fit-content;
    display: inline-block;
}

/* Stagger entrance when active */
.menu-overlay.active a {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active a:nth-child(1) { transition-delay: 0.2s; }
.menu-overlay.active a:nth-child(2) { transition-delay: 0.3s; }
.menu-overlay.active a:nth-child(3) { transition-delay: 0.4s; }
.menu-overlay.active a:nth-child(4) { transition-delay: 0.5s; }

.menu-overlay a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.menu-overlay a:hover {
    color: #fff;
    transform: none; /* Ensure no horizontal shift */
    opacity: 1;
}

.menu-overlay a:hover::after {
    width: 100%;
}

.close-menu {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 32px;
    font-weight: 200;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.close-menu:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Project Feed */
.main-feed {
    margin-top: 140px;
    padding: 0 5vw;
    overflow-x: hidden;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.project-left-info {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.project-graphic {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-info h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #111;
}

.project-location {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-right-dynamic {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-image-wrapper {
    width: 500px;
    max-width: 90vw;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 5px;
    display: block;
    position: relative;
}

.project-row {
    display: flex;
    width: 100%;
    padding: 60px 0;
    border-bottom: none;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1025px) {
    .project-row {
        flex-direction: row-reverse;
    }
    
    .project-left-info {
        align-items: flex-start;
        text-align: left;
        padding-left: 60px;
    }
    
    .filler-col {
        display: none;
    }
}

.project-left {
    flex: 0 0 20%;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

.project-right {
    flex: 0 0 55%;
    /* middle column */
    position: relative;
    overflow: hidden;
}

.project-right img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}

.project-info h2 {
    font-size: 18px;
    font-weight: 800;
    margin-top: 10px;
}

.project-location {
    font-size: 11px;
    color: #999;
}


/* Detail Page Refined */
.project-detail-wrapper {
    margin-top: 120px;
    padding: 0;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.project-detail-container {
    display: flex;
    width: 100%;
    background: #fff;
    padding: 60px 20px;
    /* Reduced outer padding for more space */
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.column-data {
    flex: 0 0 15%;
    /* Roughly 15% for the left context */
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    position: sticky;
    top: 120px;
    gap: 30px;
}

.column-image {
    flex: 1 1 auto;
    /* Take up the remaining space dynamically */
    min-width: 0;
    /* CRITICAL: Prevent large images from blowing out flex width */
    max-width: 1000px;
    /* Prevent it from getting absurdly giant on ultrawides */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.column-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Don't crop if layout is tight */
}

.column-description {
    flex: 0 0 20%;
    /* 20% for the description block */
    min-width: 0;
    position: sticky;
    top: 120px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    text-transform: none;
}

/* --- ABOUT PAGE STYLES --- */

.about-container {
    padding-top: 140px;
    padding-bottom: 100px;
}

.about-hero {
    margin-bottom: 120px;
    max-width: 1400px;
}

.about-hero h1 {
    font-size: 5.5vw;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.about-intro {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    max-width: 800px;
    text-transform: none;
}

.about-grid-section {
    border-top: 1px solid #000;
    padding-top: 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.grid-column h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.grid-column p,
.grid-column .text-list li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-transform: none;
}

.text-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-location {
    margin-bottom: 40px;
}

.office-location h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.link-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.link-underline:hover {
    opacity: 0.6;
}

/* --- CAREERS PAGE STYLES --- */

.job-listing {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.job-listing h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.job-listing p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-transform: none;
    opacity: 0.8;
}

/* --- LOGIN PAGE STYLES --- */

.login-container {
    padding-top: 180px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 280px);
}

.login-box {
    width: 100%;
    max-width: 480px;
}

.login-title {
    font-size: 4vw;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.login-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-bottom: 60px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.login-input {
    border: none;
    border-bottom: 2px solid var(--text-color);
    background: transparent;
    padding: 15px 0;
    font-family: var(--font-main);
    font-size: 18px;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease;
}

.login-input:focus {
    border-color: #555;
    /* Slightly lighter on focus */
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
    padding: 10px 0 10px 10px;
    transition: opacity 0.3s ease;
}

.toggle-password:hover {
    opacity: 1;
}

.form-actions {
    margin-top: 20px;
}

.login-btn {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 20px 40px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1em;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    background: #333;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .project-detail-container {
        flex-direction: column;
        gap: 40px;
        padding: 40px 24px;
    }

    .column-data,
    .column-image,
    .column-description {
        width: 100%;
        position: relative;
        top: 0;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .column-data {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }

    .about-hero h1 {
        font-size: 48px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .login-container {
        padding-top: 120px;
    }

    .login-title {
        font-size: 32px;
    }
}

/* --- GLOBAL FOOTER STYLES --- */

footer {
    background-color: #111827;
    color: #ffffff;
    padding: 100px 40px;
    margin-top: 120px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: none;
}

.footer-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 11px;
    font-weight: 800;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
}

.footer-address {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #d1d5db;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info a {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: #3b82f6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    font-size: 15px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 80px auto 0 auto;
    padding-top: 40px;
    border-top: 1px solid #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #4b5563;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 80px 24px;
        text-align: center !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: center !important;
    }

    .footer-links, .footer-contact-info {
        align-items: center !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================================================
   About Page Signature Experience
   ========================================================================== */
.signature-experience {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

.signature-experience .sig-container {
    padding: 0 10vw;
}

.signature-experience .section-padding {
    padding: 120px 0;
}

/* Cinematic Hero */
.cinema-hero {
    position: relative;
    min-height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    padding: 100px 0;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-cinema-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: scale(1.1);
    filter: brightness(0.6) contrast(1.1);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-glass-container {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 60px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6);
}

.card-glow {
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.hero-brand-tag {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    letter-spacing: -0.05em;
    line-height: 0.85;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.hero-divider {
    width: 50px;
    height: 2px;
    background: #fff;
    margin: 0 auto 40px;
}

.hero-preamble {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.7;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.5;
}

.mouse-icon {
    width: 22px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px; height: 8px; background: #fff;
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    border-radius: 2px; animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.narrative-header {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 40px;
}

.narrative-lead {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
}

.narrative-body {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 550px;
}

.floating-sketch-wrap {
    position: relative;
    padding: 40px;
}

.floating-art {
    position: relative;
    z-index: 2;
    width: 100%;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
    transition: transform 0.6s ease;
}

.floating-sketch-wrap:hover .floating-art {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.art-backdrop {
    position: absolute;
    top: 20%; left: 10%; width: 80%; height: 60%;
    background: #f5f5f7;
    z-index: 1;
    border-radius: 20px;
}

.culture-card {
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 60px 120px -20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
}

.culture-img-wrap {
    height: 600px;
    overflow: hidden;
}

.culture-parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.culture-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.big-section-header {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

.big-body-text {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.big-signature {
    font-size: 18px;
    font-weight: 800;
}

.big-signature span {
    font-weight: 500;
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.leader-glass-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.leader-glass-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px -10px rgba(0,0,0,0.1);
}

.leader-portrait {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.leader-portrait img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(1); transition: 0.8s ease;
}

.leader-glass-card:hover .leader-portrait img {
    filter: grayscale(0) scale(1.05);
}

.portrait-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4) 100%);
    opacity: 0; transition: 0.6s ease;
}

.leader-glass-card:hover .portrait-overlay {
    opacity: 1;
}

.leader-info h3 {
    font-size: 20px; font-weight: 800; margin-bottom: 5px;
}

.leader-info p {
    font-size: 11px; font-weight: 700; color: #999; letter-spacing: 0.2em;
}

.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #0a0a0a;
    padding: 60px 40px;
    color: #fff;
}

.stat-glass-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.stat-glass-item:not(:last-child)::after {
    content: ''; position: absolute; right: -20px; top: 25%; width: 1px; height: 50%; background: rgba(255,255,255,0.1);
}

.stat-val {
    display: block; font-size: 64px; font-weight: 300; letter-spacing: -0.04em; margin-bottom: 10px;
}

.stat-key {
    font-size: 10px; font-weight: 800; letter-spacing: 0.3em; color: rgba(255,255,255,0.5); text-transform: uppercase;
}

@media (max-width: 1024px) {
    .signature-experience .sig-container { padding: 0 5vw; }
    .signature-experience .section-padding { padding: 80px 0; }
    
    .glass-card { padding: 40px 30px; }
    .hero-title { font-size: 80px; }
    
    .narrative-grid, .culture-card, .leadership-grid { grid-template-columns: 1fr; }
    
    .culture-img-wrap { height: 400px; }
    .culture-content { padding: 40px 30px; }
    
    .big-section-header { font-size: 32px; }
    
    .stats-dashboard { grid-template-columns: repeat(2, 1fr); padding: 40px 20px; }
    .stat-glass-item::after { display: none; }
    .stat-val { font-size: 48px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 60px; }
    .glass-card { padding: 30px 20px; }
}

/* ==========================================================================
   Careers Page
   ========================================================================== */
.careers-page-wrapper .job-card {
    border-top: 1px solid #f3f4f6;
    padding: 40px 0;
    transition: all 0.3s ease;
}

.careers-page-wrapper .job-card:hover {
    border-color: #111827;
}

.careers-page-wrapper .job-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.job-posted-date-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .careers-page-wrapper .job-flex-container {
        flex-direction: column !important;
        gap: 20px !important;
        position: relative !important;
        padding-top: 10px !important;
    }

    .careers-page-wrapper .job-meta-top {
        margin-bottom: 8px !important;
    }

    .careers-page-wrapper .job-meta-top .job-posted-date {
        display: none !important; /* Hide original top date on mobile */
    }

    .careers-page-wrapper .job-posted-date-mobile {
        display: block !important;
        position: absolute !important;
        top: 38px !important;
        right: 0 !important;
        font-size: 11px !important;
        color: #9ca3af !important;
        font-weight: 500 !important;
        text-align: right !important;
    }

    .careers-page-wrapper .job-card h3 {
        font-size: 22px !important;
        margin-bottom: 12px !important;
        max-width: 80% !important;
    }

    .careers-page-wrapper .view-details-btn {
        position: absolute !important;
        top: 10px !important;
        right: 0 !important;
        font-size: 13px !important;
        gap: 6px !important;
    }

    .careers-page-wrapper .view-details-btn .btn-text {
        font-size: 13px !important;
    }

    .careers-page-wrapper .view-details-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* Move date to bottom left of the title area logic */
    .careers-page-wrapper .job-meta-top span:not(.job-posted-date) {
        margin-bottom: 0 !important;
    }
}

/* Modal Stacking */
@media (max-width: 768px) {
    #modalContent {
        padding: 0 !important;
        max-height: 95vh !important;
        border-radius: 24px !important;
    }

    #applyModal form {
        padding: 24px !important;
        gap: 24px !important;
    }
    
    #applyModal .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-page-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    padding: 180px 40px 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-hero {
    margin-bottom: 100px;
}

.contact-hero .hero-title {
    font-size: clamp(64px, 10vw, 120px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: #111827;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.contact-hero .hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.4;
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 120px;
    align-items: start;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modern-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.modern-form .form-group:focus-within {
    border-bottom-color: #111827;
}

.modern-form .form-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
}

.modern-form .form-group input,
.modern-form .form-group textarea {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 18px;
    padding: 8px 0 16px 0;
    color: #111827;
    outline: none;
    opacity: 1 !important;
    transform: none !important;
}

.submit-btn {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 24px 48px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    width: fit-content;
}

/* Contact Info Sidebar Refinements */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9ca3af;
    margin: 0;
}

.contact-text,
.address-text {
    font-size: 18px;
    line-height: 1.6;
    color: #111827;
    margin: 0;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.social-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #6b7280;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 100px;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 140px 24px 80px 24px;
    }

    .modern-form .form-row {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start !important;
    }
}

/* ==========================================================================
   Project Detail Page
   ========================================================================== */
.project-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    padding-top: 60px;
    box-sizing: border-box;
    background: #050505;
}

.project-content {
    flex: 1;
    padding: 40px 80px 120px 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.description-box {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 0 0;
    font-weight: 300;
}

.project-sidebar {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    overflow-y: auto;
}

.sidebar-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 40px 0;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #fff;
}

.meta-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 30px;
}

.meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
}

.meta-value {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.back-btn-wrapper {
    margin-top: auto;
    padding-top: 60px;
}

.back-btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-btn:hover {
    color: #ffffff;
}/* Project Detail Responsiveness - BIG.dk Horizontal Style */
@media (max-width: 1024px) {
    .project-layout {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        height: 100vh !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important; /* Hide scrollbar Firefox */
        padding-top: 0 !important;
        background: #000 !important;
    }

    .project-layout::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar Chrome/Safari */
    }    .project-content {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: 100% !important;
    }

    .project-sidebar {
        display: flex !important;
        flex-direction: column !important; /* Stack info vertically inside the slide */
        gap: 30px !important;
        width: 100vw !important;
        min-width: 100vw !important;
        position: relative !important;
        top: 0 !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 120px 40px !important;
        scroll-snap-align: center !important;
        background: #000 !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
    }

    .sidebar-title {
        display: block !important;
        font-size: clamp(32px, 8vw, 48px) !important;
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 40px !important;
        line-height: 1 !important;
    }

    .meta-group {
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
        align-items: flex-start !important;
        margin-bottom: 20px !important;
    }

    .meta-label {
        font-size: 10px !important;
        letter-spacing: 0.2em !important;
        color: rgba(255, 255, 255, 0.5) !important;
        text-transform: uppercase !important;
    }

    .meta-value {
        font-size: 14px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        color: #fff !important;
    }

    .media-item {
        flex: 0 0 auto !important;
        width: 100vw !important;
        height: 100% !important;
        scroll-snap-align: center !important;
        padding: 120px 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .media-item img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 60vh !important;
        object-fit: contain !important;
    }

    .description-box {
        flex: 0 0 auto !important;
        width: 100vw !important;
        padding: 120px 40px !important;
        scroll-snap-align: center !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
        font-size: 17px !important;
        line-height: 1.6 !important;
        color: #ccc !important;
        box-sizing: border-box !important;
    }

    .mini-map-container, .video-container {
        flex: 0 0 auto !important;
        width: 100vw !important;
        height: 100% !important;
        scroll-snap-align: center !important;
        padding: 120px 20px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
    }

    .mini-map-container iframe, .video-container iframe {
        width: 100% !important;
        height: 50vh !important;
    }

    .back-btn-wrapper {
        position: fixed !important;
        bottom: 30px !important;
        left: 30px !important;
        z-index: 100 !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(0,0,0,0.5) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 30px !important;
        padding: 10px 20px !important;
    }
}

@media (max-width: 768px) {
    .sidebar-title {
        font-size: 32px !important;
        text-align: left !important;
    }

    .project-sidebar {
        padding-left: 20px !important;
        padding-right: 20px !important;
        align-items: flex-start !important;
    }

    .meta-group {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .meta-label,
    .meta-value {
        text-align: left !important;
    }

    .media-item,
    .description-box,
    .mini-map-container,
    .video-container {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}