/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* ===== RESPONSIVE OVERLAY (TABLET/MOBILE BLOCKER) ===== */
.responsive-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.1) 49px, rgba(255,255,255,0.1) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.1) 49px, rgba(255,255,255,0.1) 50px);
    z-index: 99999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
.overlay-content {
    text-align: center;
    color: #fff;
    margin-bottom: 4rem;
}
.screen-icon {
    width: 80px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 4px;
    margin: 0 auto 2rem;
    position: relative;
}
.screen-icon::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #fff;
}
.overlay-message h2 {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.overlay-message p {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 1rem;
    opacity: 0.7;
}
.overlay-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    text-align: center;
}
.footer-content {
    color: #fff;
}
.footer-title {
    font-family: 'WorkSans-SemiBold', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.footer-links {
    margin-bottom: 1rem;
}
.footer-link {
    color: #fff;
    text-decoration: none;
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}
.footer-link:hover {
    opacity: 0.7;
}
.footer-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.social-link {
    color: #fff;
    text-decoration: none;
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}
.social-link:hover {
    opacity: 0.7;
}
.footer-copyright {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.75rem;
    opacity: 0.5;
}
/* Show overlay on tablet and mobile */
@media (max-width: 1024px) {
    .responsive-overlay {
        display: flex !important;
        pointer-events: all !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
/* ===== ROOT FONT SIZE SCALING - THE KEY TO RESPONSIVE DESIGN ===== */
/* This scales your entire site proportionally across all screen sizes */
/* Your design is optimized for 1440px, so that's our baseline (16px) */
html {
    overscroll-behavior-x: none;
    touch-action: pan-y;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 16px; /* Baseline for 1440px screens */
}
/* Large desktop (1600px - 1919px) */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
    html { font-size: 18px; }
}
/* Full HD monitors (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    html { font-size: 18px; }
}
/* 2K monitors (2560px - 3839px) - Proportional scale */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    html { font-size: 24px; }
}
/* 4K monitors (3840px+) */
@media screen and (min-width: 3840px) {
    html { font-size: 24px; }
}
/* Standard desktop - YOUR DESIGN BASELINE (1440px - 1599px) */
@media screen and (min-width: 1440px) and (max-width: 1599px) {
    html { font-size: 16px; }
    
    .nav-logo {
        margin-left: -48px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    body {
        padding-top: 70px;
    }
}
/* Smaller desktop (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    html { font-size: 15px; }
}
/* Laptop (1024px - 1090px) - Very constrained */
@media screen and (min-width: 1024px) and (max-width: 1090px) {
    html { font-size: 14px; }
    
    /* Fix About page middle section text size - very small */
    .content-middle-section .text-overlay h1 {
        font-size: 1.8rem !important;
    }
    
    .content-middle-section .text-overlay p {
        font-size: 0.68rem !important;
        max-width: 46% !important;
        line-height: 1.4 !important;
    }
}
/* Laptop (1091px - 1279px) */
@media screen and (min-width: 1091px) and (max-width: 1279px) {
    html { font-size: 14.5px; }
    
    /* Fix About page middle section text size */
    .content-middle-section .text-overlay h1 {
        font-size: clamp(1.4rem, 2.2vw, 2.8rem);
    }
    
    .content-middle-section .text-overlay p {
        font-size: clamp(0.72rem, 0.8vw, 0.9rem);
        max-width: 52%;
        line-height: 1.5;
    }
}
body {
    overscroll-behavior-x: none;
    overflow-x: hidden;
    overflow-y: auto;
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}
/* ===== BACKGROUND STYLES ===== */
/* Default background for all pages except home */
body {
    background-color: #000000;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: calc(100vw / 40) calc(100vw / 40);
    min-height: 100vh;
}
/* Home page - override grid background */
body.home-page {
    background: #000000;
    background-image: none;
}
/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===== GRAIN OVERLAY EFFECT ===== */
/* Film grain overlay using canvas for authentic texture */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.11;
    mix-blend-mode: screen;
}
.grain-overlay canvas {
    width: 100%;
    height: 100%;
}
/* ===== NAVIGATION BAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    z-index: 10000;
    padding: 0;
    border-bottom: 0.5pt solid #ffffff;
}
.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}
.nav-logo {
    display: flex;
    align-items: center;
    z-index: 10001;
    margin-left: -48px;
}
.nav-logo-img {
    height: 40px;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 32px;
}
.nav-left {
    display: flex;
    align-items: center;
    z-index: 10001;
    margin-left: auto;
}
.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15.2px;
    font-family: 'WorkSans-Regular', sans-serif;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}
.nav-link:hover,
.nav-link.active {
    opacity: 0.7;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000000;
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}
.nav-home {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-decoration: none;
}
.nav-home-img {
    height: 56px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li {
    margin: 0;
    border-bottom: 0.5pt solid #ffffff;
}
.dropdown-menu li:last-child {
    border-bottom: none;
}
.dropdown-link {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    display: block;
    font-size: 14.4px;
    font-family: 'WorkSans-Regular', sans-serif;
    transition: all 0.3s ease;
}
.dropdown-link .project-description {
    font-family: 'WorkSans-Light', sans-serif;
    font-weight: 300;
}
.dropdown-link:hover,
.dropdown-link.active {
    background-color: #ffffff;
    color: #000000;
}
/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10002;
}
.bar {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}
/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #000000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 0.5rem 0;
    }
    .nav-item:first-child {
        margin-top: 0.5rem;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        border-radius: 0;
    }
    .nav-home-text {
        font-size: 1.2rem;
    }
    .nav-logo-img {
        height: 1.5rem;
    }
}

/* ===== NAVBAR SCALING FOR LARGER SCREENS (1024px to 4K) ===== */
/* These media queries ensure the navbar scales UP as screen size increases */

/* Full HD monitors (1920px - 2559px) - Scale ~1.33x from 1440px */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .navbar {
        border-bottom: 0.56pt solid #ffffff;
    }
    .nav-container {
        height: 79px;
        padding: 0 72px;
    }
    .nav-logo {
        margin-left: -54px;
    }
    .nav-logo-img {
        height: 45px;
    }
    .nav-home-img {
        height: 63px;
    }
    .nav-menu {
        gap: 36px;
    }
    .nav-link {
        font-size: 17.1px;
    }
    .dropdown-menu {
        min-width: 281px;
    }
    .dropdown-link {
        font-size: 16.2px;
        padding: 13.5px 18px;
    }
    body {
        padding-top: 79px;
    }
}

/* 2K and Ultra-wide monitors (2560px - 3839px) - Scale ~1.33x from 1440px (matching 1920 range) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .navbar {
        border-bottom: 0.75pt solid #ffffff;
    }
    .nav-container {
        height: 105px;
        padding: 0 96px;
    }
    .nav-logo {
        margin-left: -72px;
    }
    .nav-logo-img {
        height: 60px;
    }
    .nav-home-img {
        height: 84px;
    }
    .nav-menu {
        gap: 48px;
    }
    .nav-link {
        font-size: 22.8px;
    }
    .dropdown-menu {
        min-width: 375px;
    }
    .dropdown-link {
        font-size: 21.6px;
        padding: 18px 24px;
    }
    body {
        padding-top: 105px;
    }
}

/* 4K monitors (3840px+) - Scale ~2.67x from 1440px */
@media screen and (min-width: 3840px) {
    .navbar {
        border-bottom: 0.75pt solid #ffffff;
    }
    .nav-container {
        height: 105px;
        padding: 0 96px;
    }
    .nav-logo {
        margin-left: -72px;
    }
    .nav-logo-img {
        height: 60px;
    }
    .nav-home-img {
        height: 84px;
    }
    .nav-menu {
        gap: 48px;
    }
    .nav-link {
        font-size: 22.8px;
    }
    .dropdown-menu {
        min-width: 375px;
    }
    .dropdown-link {
        font-size: 21.6px;
        padding: 18px 24px;
    }
    body {
        padding-top: 105px;
    }
    
    /* Scale all section headings at 4K */
    .levex-white-heading,
    .research-title,
    .aims-objectives-heading,
    .persona-title,
    .branding-section .main-heading,
    .panel-heading,
    .container-title {
        font-size: 6rem !important;
    }
    
    /* Scale persona images proportionally */
    .portrait-wrapper {
        max-width: 1333px; /* 500px * 2.667 */
    }
    
    /* Scale popup overlay images */
    .persona-image {
        transform: scale(0.95) !important;
        max-height: 75vh;
    }
    
    #journeyOverlay .persona-image {
        transform: scale(1.0) !important;
        max-height: 75vh;
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(1.0) !important;
        max-height: 75vh;
    }
}

/* ===== HAND ICON (Vertical Control) SCALING ===== */
/* Base styles (1440px) */
#vertical-control {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
}

#vertical-control img {
    width: 32px;
    height: 32px;
}

/* 1920px - subtle scaling */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    #vertical-control {
        top: 105px;
        right: 22px;
        width: 64px;
        height: 64px;
    }
    #vertical-control img {
        width: 34px;
        height: 34px;
    }
}

/* 2560px - subtle scaling */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    #vertical-control {
        top: 110px;
        right: 24px;
        width: 68px;
        height: 68px;
    }
    #vertical-control img {
        width: 36px;
        height: 36px;
    }
}

/* 3840px - subtle scaling */
@media screen and (min-width: 3840px) {
    #vertical-control {
        top: 115px;
        right: 26px;
        width: 72px;
        height: 72px;
    }
    #vertical-control img {
        width: 38px;
        height: 38px;
    }
}

/* Large desktop (1600px - 1919px) */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
    .nav-container {
        height: 68px;
        padding: 0 4.5rem;
    }
    .nav-logo {
        margin-left: -2.25rem;
    }
    .nav-logo-img {
        height: 2.8rem;
    }
    .nav-menu {
        gap: 2.5rem;
    }
    .nav-link {
        font-size: 1.05rem;
    }
    .dropdown-menu {
        min-width: 280px;
    }
    .dropdown-link {
        font-size: 1rem;
        padding: 0.85rem 1.15rem;
    }
    body {
        padding-top: 68px;
    }
}

/* Standard desktop - YOUR DESIGN BASELINE (1440px - 1599px) */
/* This is already defined in the base styles, no changes needed */
@media screen and (min-width: 1440px) and (max-width: 1599px) {
    /* Base styles apply - this ensures 1440px stays as the baseline */
    .nav-container {
        height: 70px;
        padding: 0 4rem;
    }
    .nav-logo {
        margin-left: -3rem;
    }
    .nav-logo-img {
        height: 2.5rem;
    }
    .nav-menu {
        gap: 2rem;
    }
    .nav-link {
        font-size: 0.95rem;
    }
    .dropdown-menu {
        min-width: 250px;
    }
    .dropdown-link {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    body {
        padding-top: 60px;
    }
}

/* Smaller desktop (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .nav-container {
        height: 56px;
        padding: 0 3.5rem;
    }
    .nav-logo {
        margin-left: -1.75rem;
    }
    .nav-logo-img {
        height: 2.3rem;
    }
    .nav-menu {
        gap: 1.75rem;
    }
    .nav-link {
        font-size: 0.88rem;
    }
    .dropdown-menu {
        min-width: 230px;
    }
    .dropdown-link {
        font-size: 0.85rem;
        padding: 0.7rem 0.95rem;
    }
    body {
        padding-top: 56px;
    }
}

/* Laptop (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .nav-container {
        height: 52px;
        padding: 0 3rem;
    }
    .nav-logo {
        margin-left: -1.5rem;
    }
    .nav-logo-img {
        height: 2rem;
    }
    .nav-menu {
        gap: 1.5rem;
    }
    .nav-link {
        font-size: 0.8rem;
    }
    .dropdown-menu {
        min-width: 210px;
    }
    .dropdown-link {
        font-size: 0.78rem;
        padding: 0.65rem 0.85rem;
    }
    body {
        padding-top: 52px;
    }
}

/* Adjust body padding to account for fixed navbar */
body {
    padding-top: 60px;
}
/* ===== SHOWREEL SECTION ===== */
.showreel-container {
    width: 100vw;
    height: 52.5vw; /* 16:8 aspect ratio (2:1) */
    max-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.showreel-container::before {
    display: none;
}
.showreel-container::after {
    display: none;
}
.showreel-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
.showreel-content::before {
    display: none;
}
.showreel-content::after {
    display: none;
}
.showreel-image-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* Grid overlay and grain removed */
.showreel-image-container::before {
    display: none;
}
.showreel-image-container::after {
    display: none;
}
.showreel-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
}
/* Glitch effect for showreel placeholder */
.showreel-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/ShowreelPlaceholder.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}
.showreel-glitch-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 0, 0, 0.1);
    transform: translateX(-2%);
    animation: glitch-anim-1 4s infinite linear alternate;
    z-index: 3;
    opacity: 0.6;
    mix-blend-mode: screen;
}
.showreel-glitch-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 255, 0.08);
    transform: translateX(1.5%) translateY(1.5%);
    animation: glitch-anim-2 4.6s -1.2s infinite linear alternate;
    z-index: 3;
    opacity: 0.4;
    mix-blend-mode: screen;
}
.showreel-glitch-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 0, 0.06);
    transform: translateX(2%);
    animation: glitch-anim-flash 3s infinite linear;
    z-index: 3;
    opacity: 0.3;
    mix-blend-mode: screen;
}
/* Glitch animations */
@keyframes glitch-anim-1 {
    0% {
        clip-path: polygon(0 0%, 100% 0%, 100% 5%, 0 5%);
    }
    10% {
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
    }
    20% {
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
    }
    30% {
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
    }
    40% {
        clip-path: polygon(0 35%, 100% 35%, 100% 35%, 0 35%);
    }
    50% {
        clip-path: polygon(0 45%, 100% 45%, 100% 46%, 0 46%);
    }
    60% {
        clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%);
    }
    70% {
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }
    80% {
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }
    90% {
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }
    100% {
        clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
    }
}
@keyframes glitch-anim-2 {
    0% {
        clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%);
    }
    15% {
        clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
    }
    25% {
        clip-path: polygon(0 8%, 100% 8%, 100% 20%, 0 20%);
    }
    30% {
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    45% {
        clip-path: polygon(0 45%, 100% 45%, 100% 45%, 0 45%);
    }
    50% {
        clip-path: polygon(0 50%, 100% 50%, 100% 57%, 0 57%);
    }
    65% {
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    75% {
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }
    80% {
        clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
    }
    95% {
        clip-path: polygon(0 45%, 100% 45%, 100% 60%, 0 60%);
    }
    100% {
        clip-path: polygon(0 11%, 100% 11%, 100% 15%, 0 15%);
    }
}
@keyframes glitch-anim-flash {
    0%, 90% {
        opacity: 0;
    }
    95% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
    }
}
/* Right edge decorative details - HIDDEN */
.showreel-container .right-edge-xox {
    display: none;
}
.showreel-container .right-edge-binary {
    display: none;
}
/* Left edge decorative details - HIDDEN */
.showreel-container .left-edge-binary {
    display: none;
}
.showreel-container .left-edge-xox {
    display: none;
}
.showreel-container .bottom-right-xo {
    display: none;
}
.showreel-container .bottom-right-xo::after {
    display: none;
}
/* Top left decorative details */
.showreel-container .top-left-xo {
    display: none;
}
/* Showreel title text */
.showreel-container .showreel-title {
    position: absolute;
    left: 50%;
    top: 43%;
    transform: translate(-50%, -50%);
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(3rem, 6.444vw, 9rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    z-index: 12;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.showreel-container .play-button:hover {
    background-color: #ffffff;
    color: #000000;
    -webkit-text-stroke: 0.5pt #000000;
}
/* Title style when button is hovered (controlled by JavaScript) */
.showreel-container .showreel-title.button-hovered {
    color: #000000;
    -webkit-text-stroke: 0.5pt #ffffff;
}
/* Play showreel button */
.showreel-container .play-button {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    background-color: #000000;
    border: 0.5pt solid #ffffff;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    z-index: 12;
    cursor: pointer;
}
.showreel-container .play-button:hover {
    background-color: #ffffff;
    color: #000000;
    -webkit-text-stroke: 0.5pt #000000;
}
.showreel-container .play-button:hover .play-icon {
    border-left-color: #000000;
}
.showreel-container .play-button-text {
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.85rem, 1.111vw, 1.4rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}
.showreel-container .play-button:hover .play-button-text {
    color: #000000;
}
/* Play icon using CSS triangle */
.showreel-container .play-icon {
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: border-left-color 0.3s ease;
}
/* Line extending right from top left XO */
.showreel-container .top-left-xo::after {
    content: '';
    position: absolute;
    left: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: calc(100vw - 4.7rem);
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
/* ===== SCROLLING BANNER SECTION ===== */
.scrolling-banner {
    width: 100vw;
    height: 2rem;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 4;
}
/* Top and bottom lines */
.scrolling-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.scrolling-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.banner-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-banner 30s linear infinite;
    will-change: transform;
    height: 100%;
}
.banner-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-right: 0.6rem;
    height: 100%;
}
.banner-word {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(1rem, 1.444vw, 1.8rem);
    color: #ffffff;
    opacity: 0.6;
    letter-spacing: 0.2em;
}
.banner-symbols {
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.banner-symbols::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -100vh;
    bottom: -100vh;
    width: 1px;
    background-color: #ffffff;
    transform: translateX(-50%);
}
/* Scrolling animation */
@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}
/* ===== MORE ABOUT ME SECTION ===== */
.more-about-me {
    width: 100vw;
    height: calc(100vw * 7 / 16);
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    position: relative;
}
/* ===== SKILLS GRID SECTION ===== */
.skills-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.skills-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    background: #000;
    position: relative;
    overflow: visible;
}
.skills-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 0;
    background: #000;
}
.skill-tile {
    background: #000;
    position: relative;
    overflow: visible;
    cursor: pointer;
    border: 0.25px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.4s ease, background 0.4s ease, z-index 0s 0s;
    transform-origin: center;
}
.skill-tile:hover {
    transform: scale(1.15);
    z-index: 100;
    background: #fff;
    border: 0.25px solid rgba(255, 255, 255, 0.6);
}
.skill-overlay {
    display: none;
}
.skill-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 3;
    pointer-events: none;
}
.skill-category {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.6rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, color 0.4s ease;
    color: #fff;
    transform: translateY(5px);
}
.skill-tile:hover .skill-category {
    opacity: 0.6;
    transform: translateY(0);
    color: #000;
}
.skill-category::before {
    content: '[ ';
}
.skill-category::after {
    content: ' ]';
}
.skill-name {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.2s, color 0.4s ease;
    color: #fff;
}
.skill-tile:hover .skill-name {
    opacity: 1;
    transform: translateY(0);
    color: #000;
}
.corner-accent {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s, border-color 0.4s ease;
    z-index: 4;
}
.corner-accent.top-left {
    top: 0.75rem;
    left: 0.75rem;
    border-top: 0.25px solid #fff;
    border-left: 0.25px solid #fff;
}
.corner-accent.bottom-right {
    bottom: 0.75rem;
    right: 0.75rem;
    border-bottom: 0.25px solid #fff;
    border-right: 0.25px solid #fff;
}
.skill-tile:hover .corner-accent {
    opacity: 0.6;
}
.skill-tile:hover .corner-accent.top-left {
    border-top-color: #000;
    border-left-color: #000;
}
.skill-tile:hover .corner-accent.bottom-right {
    border-bottom-color: #000;
    border-right-color: #000;
}
.more-about-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0;
    margin-left: -22rem;
    position: relative;
}
.more-about-content h2 {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 4.778vw, 6.5rem);
    color: #000000;
    text-align: center;
    letter-spacing: 0.1em;
    margin: 0;
    transform: rotate(-90deg);
    transform-origin: center;
    line-height: 0.9;
    white-space: nowrap;
}
/* Right side text (rotated 90 degrees) */
.more-about-content::before {
    content: 'More About\A Me...';
    position: absolute;
    right: -22rem;
    top: 50%;
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 4.778vw, 6.5rem);
    color: #000000;
    letter-spacing: 0.1em;
    margin: 0;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    line-height: 0.9;
    white-space: pre;
    text-align: center;
    z-index: 6;
}
/* Black rectangle grid container */
.black-rectangle-grid {
    position: absolute;
    right: -1.1%;
    top: 50%;
    transform: translateY(-50%);
    width: 70rem;
    height: 87%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    z-index: 5;
}
/* Individual quarter styling */
.quarter {
    background-color: #000000;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: calc(100vw / 100) calc(100vw / 100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
/* Quarter positioning */
.quarter.top-left {
    grid-column: 1;
    grid-row: 1;
}
.quarter.top-right {
    grid-column: 2;
    grid-row: 1;
}
.quarter.bottom-left {
    grid-column: 1;
    grid-row: 2;
}
.quarter.bottom-right {
    grid-column: 2;
    grid-row: 2;
}
/* Quarter headings */
.quarter-heading {
    position: absolute;
    top: 1.5rem;
    left: clamp(3rem, 6vw, 7.5rem);
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(1rem, 1.333vw, 1.6rem);
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.1em;
    z-index: 10;
}
/* Quarter content styling */
.quarter-content {
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: calc(100% - 4rem);
    box-sizing: border-box;
}
/* Specific alignment for left column quarters */
.quarter.top-left .quarter-content,
.quarter.bottom-left .quarter-content {
    padding-left: 1.5rem;
    position: relative;
}
/* Force absolute positioning for left column content to ensure perfect alignment */
.quarter.top-left .content-row,
.quarter.bottom-left .content-row {
    position: relative;
    left: 0;
    transform: translateX(0);
}
.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}
/* Force exact alignment for left column content rows */
.quarter.top-left .content-row,
.quarter.bottom-left .content-row {
    margin-left: 0 !important;
    padding-left: 0 !important;
    position: relative;
    left: 0 !important;
}
/* Force exact positioning for left column content items */
.quarter.top-left .content-item:first-child,
.quarter.bottom-left .content-item:first-child {
    margin-left: 0 !important;
}
/* Nuclear option: Force exact pixel alignment for bottom-left quarter */
.quarter.bottom-left .content-row {
    transform: translateX(0.5rem) !important;
}
.content-item {
    background: white;
    color: black;
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.85rem, 1.111vw, 1.4rem);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0.5pt solid transparent;
    box-sizing: border-box;
}
/* Hover effect: invert colors and add white stroke */
.content-item:hover {
    background: black;
    color: white;
    border-color: white;
}
/* Image content items - direct image styling without container blocks */
.content-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem;
    flex-shrink: 0;
}
/* Specific tight spacing for image content rows only */
.quarter.top-right .content-row {
    gap: 0.74rem;
}
/* Image styling - larger size and direct spacing */
.content-item-image img {
    width: auto;
    height: 4rem;
    object-fit: contain;
    display: block;
}
/* Recognition card styling for bottom-right quarter */
.recognition-card {
    background-color: #1c1c1c;
    border: 0.5pt solid #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    width: calc(100% + 1.5rem);
    max-width: none;
    box-sizing: border-box;
    margin-left: -1.5rem;
}
.recognition-text {
    color: #ffffff;
    text-align: left;
    line-height: 1.4;
}
.recognition-title {
    font-family: 'WorkSans-SemiBold', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.recognition-project {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.recognition-category {
    font-family: 'WorkSans-Light', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
}
/* ===== LARGE SCROLLING BANNER SECTION ===== */
.large-scrolling-banner {
    width: 100vw;
    height: 6rem;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 4;
}
/* Top and bottom lines */
.large-scrolling-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.large-scrolling-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.large-banner-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-banner 50s linear infinite;
    height: 100%;
}
.large-banner-text {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    height: 100%;
}
.large-banner-word {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 4.333vw, 5.8rem);
    color: #ffffff;
    opacity: 0.6;
    letter-spacing: 0.2em;
}
.large-banner-symbols {
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(2rem, 3.667vw, 4.8rem);
    color: transparent;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.large-banner-symbols::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -100vh;
    bottom: -100vh;
    width: 1px;
    background-color: #ffffff;
    transform: translateX(-50%);
}
/* ===== HORIZONTAL LINE SECTION ===== */
.horizontal-line-section {
    width: 100vw;
    height: 2rem;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    position: relative;
    border-top: 0.5pt solid #ffffff;
    border-bottom: 0.5pt solid #ffffff;
}
.line-container {
    width: calc(100vw - 7rem);
    height: 100%;
    display: flex;
    align-items: center;
}
.horizontal-line {
    width: 100%;
    height: 0.5pt;
    background-color: #ffffff;
}
/* Transparent background for horizontal line in Levex page */
.progress-container + .horizontal-line-section {
    background-color: transparent;
}
/* ===== ABOUT CONTENT SECTION ===== */
.about-content {
    width: 100vw;
    background: transparent;
    position: relative;
    height: calc(10.69vw + 31.99vw + 10.69vw);
    overflow: visible;
}
/* Top section */
.content-top-section {
    width: 100%;
    height: 10.69vw;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
/* Middle section */
.content-middle-section {
    width: 100%;
    height: 31.99vw;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10.69vw;
    left: 0;
    z-index: 2;
}
/* Bottom section */
.content-bottom-section {
    width: 100%;
    height: 10.69vw;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10.69vw;
    left: 0;
    z-index: 3;
}
/* Ensure sections after about-content start at the bottom of the about-content container */
.about-content + .horizontal-line-section {
    margin-top: calc(-31.99vw);
    position: relative;
}
/* Hide horizontal line section between Case Study and Aims/Objectives */
.case-study-section + .horizontal-line-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
/* Hide horizontal line section between Persona and User Journey */
.persona-section + .horizontal-line-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
/* Centered images for all sections */
.section-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
/* Specific styling for top and bottom section images */
.content-top-section .section-image,
.content-bottom-section .section-image {
    width: 100.1%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: cover;
}
/* Specific styling for middle section image */
.content-middle-section .section-image {
    width: 80.4%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: cover;
    transform: translateX(-0.1%);
}
/* Overlay image positioning for middle section */
.content-middle-section .overlay-image {
    position: absolute;
    left: clamp(8rem, 16.889vw, 21rem);
    top: 50%;
    transform: translateY(-50%) !important;
    width: auto;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    transition: filter 0.3s ease;
    cursor: pointer;
    margin-top: 0;
}
.content-middle-section .overlay-image:hover {
    filter: invert(1);
}
/* Text content overlay for middle section */
.content-middle-section .text-overlay {
    position: absolute;
    right: 2.1%;
    top: 47%;
    transform: translateY(-50%);
    z-index: 4;
    text-align: left;
    color: #ffffff;
    max-width: 50%;
}
/* Vertical decorative text on left side of middle section */
.content-middle-section .left-vertical-text {
    position: absolute;
    left: clamp(2rem, 3.333vw, 4.2rem);
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(1rem, 1.333vw, 1.6rem);
    color: #000000;
    -webkit-text-stroke: 0.75pt #ffffff;
    letter-spacing: 0.2em;
    z-index: 5;
}
/* Vertical decorative text on right side of middle section */
.content-middle-section .right-vertical-text {
    position: absolute;
    right: clamp(2rem, 3.333vw, 4.2rem);
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(1rem, 1.333vw, 1.6rem);
    color: #000000;
    -webkit-text-stroke: 0.75pt #ffffff;
    letter-spacing: 0.2em;
    z-index: 5;
}
.content-middle-section .text-overlay h1 {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 4.778vw, 6.5rem);
    color: #ffffff;
    margin: 0 0 0.2rem 0;
    letter-spacing: 0.1em;
}
.content-middle-section .text-overlay p {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    line-height: 1.75;
    color: #ffffff;
    margin: 0;
    text-align: left;
    max-width: 70%;
}
/* ===== 16:9 SECTION (ABOUT PAGE) ===== */
.sixteen-nine-section {
    width: 100vw;
    aspect-ratio: 16 / 8;
    background:
        repeating-linear-gradient(90deg, #fff 0 2.5vw, #111 2.5vw 5vw),
        repeating-linear-gradient(180deg, #fff 0 2.5vw, #111 2.5vw 5vw);
    background-size: 5vw 5vw;
    background-position: center center;
    background-blend-mode: difference;
    position: relative;
    z-index: 3;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5pt solid #fff;
}
/* ===== VERTICAL PROJECT NAVIGATION (ABOUT PAGE) ===== */
.vertical-project-nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80%;
    height: 100%;
    max-width: none;
    gap: 0;
    z-index: 10;
}
.project-nav-item {
    width: clamp(12vw, 16vw, 20vw);
    height: 100%;
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
    background: #000;
    color: #fff;
    border: 0.5pt solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    min-height: 0;
    box-shadow: none;
    transform: none;
    overflow: hidden;
    transition: background 0.3s ease;
}
.project-nav-item a {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    transition: color 0.25s;
}
.project-title, .project-desc {
    display: block;
    transform: none;
}
.project-title {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2rem, 3.889vw, 5rem);
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
    color: inherit;
    transition: color 0.25s;
}
.project-desc {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.85rem, 1.111vw, 1.4rem);
    color: #bbb;
    transition: color 0.25s;
}
.project-nav-item:hover,
.project-nav-item:focus-within {
    background: #fff;
}
.project-nav-item:hover a,
.project-nav-item:focus-within a {
    color: #000;
}
.project-nav-item:hover .project-title,
.project-nav-item:focus-within .project-title {
    color: #000;
    animation: project-title-animate 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.project-nav-item:hover .project-desc,
.project-nav-item:focus-within .project-desc {
    color: #222;
}
/* Slide and fade-in animation for project title */
@keyframes project-title-animate {
  0% {
    opacity: 0.5;
    transform: translateY(20%) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-5%) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ===== CUSTOM FONTS ===== */
@font-face {
    font-family: 'WorkSans-Regular';
    src: url('../fonts/WorkSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OceanicDrift-BoldExpand';
    src: url('../fonts/oceanicdriftboldexpand.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Ancient-Medium';
    src: url('../fonts/Ancient Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* ===== FOOTER STYLES ===== */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  color: #f0f0f0;
  padding: 1.5rem 4rem;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.5px;
}
.footer-left {
  display: flex !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: 0 !important;
}
.footer-left p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
  color: #ffffff !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: Arial, sans-serif !important;
  position: relative !important;
  top: 0 !important;
  transform: none !important;
}
.footer-left strong {
  color: #ffffff !important;
  font-weight: bold !important;
}
.footer-center {
  display: flex;
  gap: 2rem;
}
.footer-center a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}
.footer-center a:hover {
  opacity: 0.7;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-right a {
  display: inline-block;
  line-height: 0;
}
.footer-social-icon {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    transform: none !important;
}
.footer-social-icon:hover {
    opacity: 0.7 !important;
    filter: brightness(0) invert(1) !important;
}
@media (max-width: 768px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-center {
    gap: 1rem;
  }
}
/* ===== LEVEX SECTION ===== */
.levex-container {
    width: 100vw;
    height: 52.5vw;
    max-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.levex-container::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.levex-container::after {
    content: '';
    position: absolute;
    bottom: 3.5rem;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.levex-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}
.levex-content::before {
    content: '';
    position: absolute;
    left: 3.5rem;
    top: 0;
    bottom: 0;
    width: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.levex-content::after {
    position: absolute;
    right: 3.5rem;
    top: 0;
    bottom: 0;
    width: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.levex-image-container {
    position: absolute;
    left: 3.5rem;
    top: 3.5rem;
    right: 3.5rem;
    bottom: 3.5rem;
    width: auto;
    height: auto;
    overflow: hidden;
}
.levex-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.5) 0.5pt, transparent 0.5pt),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0.5pt, transparent 0.5pt);
    background-size: 10% 10%;
    z-index: 4;
    pointer-events: none;
}
.levex-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.35) 0.8px, transparent 0.8px),
        radial-gradient(circle at 63% 78%, rgba(255, 255, 255, 0.25) 0.6px, transparent 0.6px),
        radial-gradient(circle at 41% 07%, rgba(255, 255, 255, 0.3) 0.9px, transparent 0.9px),
        radial-gradient(circle at 89% 34%, rgba(255, 255, 255, 0.28) 0.7px, transparent 0.7px),
        radial-gradient(circle at 12% 67%, rgba(255, 255, 255, 0.32) 0.5px, transparent 0.5px),
        radial-gradient(circle at 78% 91%, rgba(255, 255, 255, 0.27) 1.1px, transparent 1.1px),
        radial-gradient(circle at 34% 45%, rgba(255, 255, 255, 0.29) 0.4px, transparent 0.4px),
        radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.31) 0.8px, transparent 0.8px);
    background-size: 11px 13px, 7px 9px, 15px 11px, 9px 14px, 13px 8px, 6px 12px, 16px 7px, 8px 15px;
    background-position: 0 0, 2.3px 4.1px, 7.8px 1.2px, 1.7px 8.9px, 9.4px 3.5px, 4.2px 6.7px, 6.1px 9.3px, 3.8px 2.4px;
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.21;
    animation: grain-movement 1.2s infinite linear;
}
.levex-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}
.levex-placeholder:hover {
    opacity: 0.8;
}
.levex-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/LEVEXplaceholder.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}
.levex-glitch-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/LEVEXplaceholder.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(-2%);
    animation: glitch-anim-1 4s infinite linear alternate;
    z-index: 3;
    opacity: 0.6;
}
.levex-glitch-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/LEVEXplaceholder.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(1.5%) translateY(1.5%);
    animation: glitch-anim-2 4.6s -1.2s infinite linear alternate;
    z-index: 3;
    opacity: 0.4;
}
.levex-glitch-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/LEVEXplaceholder.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(2%);
    animation: glitch-anim-flash 3s infinite linear;
    z-index: 3;
    opacity: 0.3;
}
/* LEVEX decorative elements */
.levex-container .right-edge-xox {
    position: absolute;
    right: clamp(0.8rem, 1.333vw, 1.8rem);
    top: 10%;
    transform: rotate(270deg);
    transform-origin: center;
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    -webkit-text-stroke: 0.75pt #ffffff;
    letter-spacing: 0.2em;
    z-index: 11; 
}
.levex-container .right-edge-binary {
    position: absolute;
    right: clamp(1.5rem, 2.556vw, 3.2rem);
    top: 38%;
    display: flex;
    flex-direction: column;
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    -webkit-text-stroke: 0.75pt #ffffff;
    line-height: 1.2;
    z-index: 11;
}
.levex-container .left-edge-binary {
    position: absolute;
    left: clamp(1.5rem, 2.556vw, 3.2rem);
    top: 9%;
    display: flex;
    flex-direction: column;
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    -webkit-text-stroke: 0.75pt #ffffff;
    line-height: 1.2;
    z-index: 11;
}
.levex-container .left-edge-xox {
    position: absolute;
    left: clamp(0.8rem, 1.333vw, 1.8rem);
    top: 85.5%;
    transform: rotate(270deg);
    transform-origin: center;
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    -webkit-text-stroke: 0.75pt #ffffff;
    letter-spacing: 0.2em;
    z-index: 11;
}
.levex-container .bottom-right-xo {
    position: absolute;
    right: clamp(2.5rem, 4.444vw, 5.5rem);
    bottom: clamp(1rem, 1.778vw, 2.2rem);
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    -webkit-text-stroke: 0.75pt #ffffff;
    letter-spacing: 0.2em;
    z-index: 11;
}
.levex-container .bottom-right-xo::after {
    content: '';
    position: absolute;
    right: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: calc(100vw - 4.5rem);
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.levex-container .top-left-xo {
    position: absolute;
    left: clamp(2.5rem, 4.667vw, 5.8rem);
    top: clamp(1rem, 1.778vw, 2.2rem);
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(0.9rem, 1.222vw, 1.5rem);
    color: transparent;
    -webkit-text-stroke: 0.75pt #ffffff;
    letter-spacing: 0.2em;
    z-index: 11;
}
.levex-container .levex-title.button-hovered {
    color: #000000;
    -webkit-text-stroke: 0.5pt #ffffff;
}
.levex-container .levex-play-button {
    position: absolute;
    left: 50%;
    top: 54.2%;
    transform: translate(-50%, -50%);
    background-color: #000000;
    border: 0.5pt solid #ffffff;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    z-index: 12;
    cursor: pointer;
}
.levex-container .levex-play-button:hover {
    background-color: #ffffff;
    color: #000000;
    -webkit-text-stroke: 0.5pt #000000;
}
.levex-container .levex-play-button:hover .levex-play-icon {
    border-left-color: #000000;
}
.levex-container .levex-play-button-text {
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}
.levex-container .levex-play-button:hover .levex-play-button-text {
    color: #000000;
}
.levex-container .levex-play-icon {
    width: 0;
    height: 0;
    border-left: 8px solid #ffffff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transition: border-left-color 0.3s ease;
}
/* OceanicDrift font for decorative elements */
.left-edge-binary, .right-edge-binary, .left-edge-xox, .right-edge-xox, .bottom-right-xo, .top-left-xo,
.banner-symbols, .large-banner-symbols, .left-vertical-text, .right-vertical-text {
    font-family: 'OceanicDrift-BoldExpand', 'OceanicDrift-Regular', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
}
.more-about-me .quarter-heading {
    font-family: 'OceanicDrift-BoldExpand', 'OceanicDrift-Regular', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
}
/* ===== WHITE 16:4 SECTION ===== */
.levex-white-section {
    width: 100vw;
    max-width: none;
    margin: 0 auto;
    height: auto;
    min-height: 180px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-top: 0.5pt solid #ffffff;
    padding: 4rem 2rem;
    overflow: visible;
}
.levex-white-content {
    width: 100%;
    max-width: 88vw;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    box-sizing: border-box;
}
.levex-white-heading {
    font-family: 'OceanicDrift-BoldExpand', 'oceanicdriftboldexpand', sans-serif;
    font-size: clamp(2rem, 4.17vw, 6rem);
    color: white;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    -webkit-text-stroke: 0.75pt #ffffff;
}
.levex-white-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}
/* Dividing line between columns */
.levex-white-columns::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1pt solid rgb(255, 255, 255);
    transform: translateX(-50%);
}
.levex-white-description {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    color: white;
    margin: 0;
    padding: 0 3rem;
    line-height: 1.75;
    letter-spacing: 0.01em;
    font-weight: 300;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.levex-white-description:first-child {
    text-align: right;
    margin-left: auto;
}
.levex-white-description:last-child {
    text-align: left;
    margin-right: auto;
}
/* ===== CASE STUDIES BANNER SECTION ===== */
.case-studies-banner {
    width: 100vw;
    height: 6rem;
    background-color: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 4;
}
/* Top and bottom lines */
.case-studies-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.case-studies-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5pt;
    background-color: #ffffff;
    z-index: 10;
}
.case-studies-banner-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-banner 50s linear infinite;
}
.case-studies-banner-text {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.case-studies-banner-word {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 4.333vw, 5.8rem);
    color: #ffffff;
    opacity: 0.6;
    letter-spacing: 0.2em;
}
.case-studies-banner-symbols {
    font-family: 'OceanicDrift-Regular', sans-serif;
    font-size: clamp(2rem, 3.667vw, 4.8rem);
    color: #000000;
    -webkit-text-stroke: 2.25pt #ffffff;
    letter-spacing: 0.2em;
}
/* ===== CASE STUDY SECTION ===== */
.case-study-section {
    width: 100vw;
    height: auto;
    min-height: 350px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: transparent;
    padding: 2rem 0;
    border-bottom: 0.5pt solid rgb(255, 255, 255);
}
.case-study-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    width: calc(100vw - 13.4rem);
    margin: 0 6.7rem;
    align-items: stretch;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
    height: 100%;
    transition: grid-template-columns 0.3s ease;
}
/* Add grid pattern background to entire container */
.case-study-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0) 0.5pt, transparent 0.5pt),
        linear-gradient(90deg, rgba(255, 255, 255, 0) 0.5pt, transparent 0.5pt);
    background-size: 5% 5%;
    z-index: 0;
    pointer-events: none;
}
/* Vertical divider line between left and right */
.case-study-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
    z-index: 10;
    transform: translateX(calc(-50vw + 380px + 6.7rem));
    pointer-events: none;
    transition: transform 0.3s ease;
}
/* Left Column - Sidebar with Sticky Positioning */
.case-study-left {
    position: relative;
    padding: 2rem 2rem 2rem 0;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: padding 0.3s ease;
}
.case-study-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    transition: gap 0.3s ease;
}
.info-block {
    display: flex;
    flex-direction: column;
}
.info-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(1.5rem, 1.111vw, 2rem);
    font-weight: 700;
    margin-bottom: -0.5rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    transition: font-size 0.3s ease;
}
.info-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #ccc;
    margin-top: 0.5rem;
}
/* Right Column - Content Area */
.case-study-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0rem 1.2rem 4.5rem;
    min-height: 200px;
    z-index: 2;
}
/* Text Blocks Inside the 16:6 Container */
.case-study-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 1.2rem 0rem 1.2rem 2rem;
    z-index: 2;
}
.case-study-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.panel-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    -webkit-text-stroke: 0.75pt #ffffff;
}
.panel-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #fff;
    font-weight: 300;
    text-align: left;
}

.panel-scroll-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Progress Indicators */
.progress-container {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.progress-container.visible {
    opacity: 1;
}
.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.progress-dot.active {
    background: #fff;
    transform: scale(1.4);
}
/* ===== RESEARCH SECTION ===== */
.research-section {
    width: 100vw;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 2rem 0.347vw 2rem;
    position: relative;
    min-height: 400px;
    border-bottom: 0.5pt solid rgb(255, 255, 255);
}
.research-container {
    width: 100%;
    margin: 0 auto;
    padding-top: 2.667vw;
}
.research-title {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.1em;
    margin-top: -2rem;
    margin-bottom: 1.05rem;
    font-weight: 700;
    -webkit-text-stroke: 0.75pt #ffffff;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
/* Dividing lines between columns */
.cards-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 2rem;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
    left: 33.333%;
}
.cards-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 2rem;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
    left: 66.666%;
}

/* Intercensus-specific 2-column layout */
.intercensus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
}

.intercensus-cards-grid::before {
    left: 50%;
}

.intercensus-cards-grid::after {
    display: none;
}
.card {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 2.083vw 5vw 2rem 5vw;
    align-items: flex-start;
    position: relative;
}
.card-header {
    padding: 0;
    border-bottom: none;
    text-align: left;
    width: 100%;
}
.card-header h3 {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}
.card-content {
    padding: 2rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.card-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    color: #fff;
    line-height: 1.75;
    margin-bottom: auto;
    text-align: left;
}
.card-footer {
    padding: 0;
    border-top: 0.5pt solid #fff;
    border-bottom: 0.5pt solid #fff;
    background: transparent;
    transition: all 0.3s ease;
    width: calc(100% + 10vw);
    position: relative;
    left: -5vw;
    margin-top: auto;
}
.card-footer:hover {
    background: #fff;
}
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-family: 'WorkSans-Light', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 5vw;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
.card-footer:hover .learn-more-btn {
    color: #000;
}
.learn-more-btn::after {
    content: '>';
    font-size: 1.2rem;
    font-weight: 400;
}

/* ===== AIMS AND OBJECTIVES SECTION ===== */
.aims-objectives-section {
    width: 100%;
    padding: 0;
    background-color: transparent;
    min-height: 200px;
}

.aims-objectives-container {
    width: 100%;
    margin: 0 auto;
}

.aims-objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-bottom: 0.5pt solid rgb(255, 255, 255);
}

/* Dividing line between columns */
.aims-objectives-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
}

.aims-objectives-column {
    padding: 2.667vw 7.444vw;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    align-items: center;
}

.aims-objectives-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin-top: -2rem;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    max-width: 38vw;
}

.aims-objectives-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    line-height: 1.75;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0;
    width: 100%;
    max-width: 38vw;
}

/* Concept Section Custom Styles */
.concept-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.concept-section {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 30px;
}

.concept-grid {
    grid-template-columns: repeat(2, 1fr);
    position: relative;
}

.concept-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
    top: 0;
    bottom: 2rem;
}

.concept-left {
    position: relative;
    padding: 2.083vw 5vw 2rem 5vw;
}

.concept-left strong {
    font-family: 'WorkSans-Black', sans-serif;
    font-weight: 900;
}

.concept-left .aims-objectives-text {
    max-width: 100%;
}

.concept-right {
    position: relative;
    padding: 2.083vw 5vw 2rem 5vw;
}

.concept-right strong {
    font-family: 'WorkSans-Black', sans-serif;
    font-weight: 900;
}

.concept-right .aims-objectives-text {
    max-width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.hero-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

/* ===== HERO SPRITES SECTION ===== */
.hero-sprites-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.hero-sprites-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.hero-sprites-container {
    margin: 2rem 107.2px 0 107.2px;
    width: calc(100% - 214.4px);
    display: flex;
    flex-direction: column;
}

.hero-sprite-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== HERO ANIMATIONS SECTION ===== */
.hero-animations-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.hero-animations-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.hero-animations-container {
    margin: 0 107.2px;
    width: calc(100% - 214.4px);
}

.hero-animations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
}

.animation-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-top: 0.5pt solid #ffffff;
}

.animation-cell:nth-child(1),
.animation-cell:nth-child(2),
.animation-cell:nth-child(3) {
    border-top: none;
}

.animation-cell:not(:nth-child(3)):not(:nth-child(6)) {
    border-right: 0.5pt solid #ffffff;
}

.animation-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 1rem;
}

.animation-label {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

/* ===== ENEMIES SECTION ===== */
.enemies-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.enemies-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.enemies-container {
    margin: 2rem 107.2px 0 107.2px;
    width: calc(100% - 214.4px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.enemies-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== ENVIRONMENT SCAMPS GRID (Zanoku) ===== */
.env-scamps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.70fr;
    grid-auto-rows: minmax(0, 1fr);
}

.env-scamps-grid .env-cell:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.env-scamps-grid .env-cell:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.env-scamps-grid .env-cell:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.env-scamps-grid .env-cell:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.env-scamps-grid .env-cell:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.env-scamps-grid .env-cell {
    border-top: 0.5pt solid #ffffff;
}

.env-scamps-grid .env-cell:nth-child(3) .env-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.env-scamps-grid .env-cell:nth-child(1),
.env-scamps-grid .env-cell:nth-child(2),
.env-scamps-grid .env-cell:nth-child(3) {
    border-top: none;
}

.env-scamps-grid .env-cell:nth-child(1),
.env-scamps-grid .env-cell:nth-child(2),
.env-scamps-grid .env-cell:nth-child(4),
.env-scamps-grid .env-cell:nth-child(5) {
    border-right: 0.5pt solid #ffffff;
}

.scamp-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scamp-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 2.2rem;
    height: 2.2rem;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 10;
}

/* ===== ELEMENTS SECTION ===== */
.elements-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.elements-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.elements-subheading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.elements-container {
    margin: 0 107.2px 0 107.2px;
    width: calc(100% - 214.4px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.elements-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== ZANOKU ENVIRONMENTS GRID ===== */
.zanoku-env-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
}

.zanoku-env-grid .env-cell:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.zanoku-env-grid .env-cell:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.zanoku-env-grid .env-cell:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.zanoku-env-grid .env-cell:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.zanoku-env-grid .env-cell:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
}

.zanoku-env-grid .env-cell:nth-child(6) {
    grid-column: 2;
    grid-row: 3 / 6;
}

.zanoku-env-grid .env-cell:nth-child(7) {
    grid-column: 1;
    grid-row: 4;
}

.zanoku-env-grid .env-cell:nth-child(8) {
    grid-column: 1;
    grid-row: 5;
}

.zanoku-env-grid .env-cell:nth-child(1),
.zanoku-env-grid .env-cell:nth-child(2) {
    border-top: none;
}

.zanoku-env-grid .env-cell:nth-child(1),
.zanoku-env-grid .env-cell:nth-child(3),
.zanoku-env-grid .env-cell:nth-child(5),
.zanoku-env-grid .env-cell:nth-child(7),
.zanoku-env-grid .env-cell:nth-child(8) {
    border-right: 0.5pt solid #ffffff;
}

/* ===== UI ELEMENTS SECTION ===== */
.ui-elements-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.ui-elements-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.ui-elements-container {
    margin: 2rem 107.2px 0 107.2px;
    width: calc(100% - 214.4px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-elements-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* Aims and Objectives Responsive Breakpoints */
@media (max-width: 768px) {
    .aims-objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .aims-objectives-grid::before {
        display: none;
    }
    
    .aims-objectives-column {
        padding: 3rem 7.444vw 5rem 7.444vw;
        border-bottom: 0.5pt solid rgb(255, 255, 255);
    }
    
    .aims-objectives-column:last-child {
        border-bottom: none;
    }
}

/* ========================================================
   VIDEO SECTION
   ======================================================== */

.video-section {
    width: 100%;
    padding: 0;
    background-color: transparent;
}

.video-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 0 0 0 0;
    text-align: center;
}

.video-container {
    width: 100%;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-bottom: 0.5pt solid rgb(255, 255, 255);
}

/* Dividing line between columns - REMOVED */
.video-grid::before {
    display: none;
}

.video-column {
    padding: 2.667vw 7.444vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.video-column:first-child {
    align-items: flex-start;
}

.video-column:last-child {
    padding-left: 0;
    padding-right: 0;
    align-items: flex-end;
}

.video-wrapper {
    width: 110%;
    max-width: 110%;
    height: 0;
    padding-bottom: 61.875%; /* 16:9 aspect ratio with 110% width */
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 1;
}

.video-text-content {
    width: 95%;
    max-width: 95%;
    padding-left: 3rem;
    padding-right: 7.444vw;
    border-left: 0.5pt solid #ffffff;
}

.video-subheading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
    -webkit-text-stroke: 0.5pt #ffffff;
    margin: 0 0 1.5rem 0;
}

.video-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    line-height: 1.75;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-grid::before {
        display: none;
    }
    
    .video-column {
        padding: 3rem 7.444vw;
        border-bottom: 0.5pt solid rgb(255, 255, 255);
    }
    
    .video-column:last-child {
        border-bottom: none;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
    
    .video-text-content {
        max-width: 100%;
        padding-left: 0;
        border-left: none;
        padding-top: 2rem;
    }
}

/* ========================================================
   DANTE'S INFERNO SECTION
   ======================================================== */

.inferno-section {
    width: 100%;
    padding: 36.8px 0;
    background-color: transparent;
}

.inferno-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 0;
    text-align: center;
}

.inferno-container {
    width: 100%;
    margin: 0 auto;
}

.inferno-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-bottom: 0.5pt solid rgb(255, 255, 255);
}

/* Dividing line between columns - REMOVED */
.inferno-grid::before {
    display: none;
}

.inferno-column {
    padding: 2.667vw 7.444vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inferno-text-content {
    width: 100%;
    max-width: 38vw;
    padding-left: 3rem;
    border-left: 0.5pt solid #ffffff;
}

.inferno-subheading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;
    -webkit-text-stroke: 0.5pt #ffffff;
    margin: 0 0 1.5rem 0;
}

.inferno-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    line-height: 1.75;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0;
    margin: 0 0 1rem 0;
}

.inferno-text strong {
    font-family: 'WorkSans-Black', sans-serif;
    font-weight: 900;
}

.inferno-image-wrapper {
    width: 100%;
    max-width: 180%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inferno-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .inferno-grid {
        grid-template-columns: 1fr;
    }
    
    .inferno-grid::before {
        display: none;
    }
    
    .inferno-column {
        padding: 3rem 7.444vw;
        border-bottom: 0.5pt solid rgb(255, 255, 255);
    }
    
    .inferno-column:last-child {
        border-bottom: none;
    }
    
    .inferno-text-content {
        max-width: 100%;
    }
    
    .inferno-image-wrapper {
        max-width: 100%;
    }
}

/* ========================================================
   UX/UI SECTION (BREAKDOWN)
   ======================================================== */

/* Only apply negative margins to Interscensus page */
.interscensus-uxui > div[style*="display: grid"] {
    margin-top: -60px;
    margin-bottom: -10px;
}

/* Section subheading margins for Homepage, Level sections, etc. */
.homepage-section h3,
.controlpage-section h3,
.healthpage-section h3,
.settingspage-section h3 {
    margin-bottom: 30px !important;
}

/* ========================================================
   MEETING VAN COKE SECTION
   ======================================================== */

.meeting-section {
    width: 100%;
    padding: 36.8px 0 30px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.meeting-container {
    margin: 0 107.2px;
    width: calc(100% - 214.4px);
}

.meeting-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: -2rem 0 2rem 0;
    text-align: center;
}

.meeting-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    width: 100%;
    padding-bottom: 30px;
    padding-left: 87px;
}

.meeting-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.meeting-image-wrapper {
    width: 70%;
    overflow: hidden;
}

.meeting-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.3s ease;
    cursor: pointer;
}

.meeting-image:hover {
    filter: invert(1) !important;
}

.meeting-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 85%;
    padding-left: 3rem;
    border-left: 0.5pt solid #ffffff;
}

.meeting-subheading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.meeting-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    line-height: 1.75;
    color: #fff;
    font-weight: 100;
    letter-spacing: 0;
    margin: 0;
}

.meeting-bold {
    font-family: 'WorkSans-Black', sans-serif;
    font-weight: 900;
}

.meeting-regular {
    font-family: 'WorkSans-Regular', sans-serif;
    font-weight: 300;
}

/* ========================================================
   RATFRANCOIS SECTION
   ======================================================== */

.ratfrancois-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.ratfrancois-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.ratfrancois-container {
    margin: 0 107.2px;
    width: calc(100% - 214.4px);
    display: flex;
    flex-direction: column;
}

.ratfrancois-row {
    display: grid;
    width: 100%;
}

.ratfrancois-row.top-row {
    grid-template-columns: 1fr 2fr;
    border-bottom: 0.5pt solid #ffffff;
}

.ratfrancois-row.bottom-row {
    grid-template-columns: 2fr 1fr;
}

.ratfrancois-cell {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
}

.ratfrancois-cell:not(:last-child) {
    border-right: 0.5pt solid #ffffff;
}

.ratfrancois-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ratfrancois-row.top-row .ratfrancois-cell.large img {
    width: 90%;
    height: 90%;
}

.ratfrancois-row.bottom-row .ratfrancois-cell.small img {
    width: 90%;
    height: 90%;
}

/* ========================================================
   THE BAND SECTION
   ======================================================== */

.band-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

.band-grid::before {
    left: 25% !important;
}

.band-grid::after {
    left: 50% !important;
}

.band-section .cards-grid::before,
.band-section .cards-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 2rem;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
}

.band-section .cards-grid {
    position: relative;
}

.band-section .cards-grid::before {
    left: 25%;
}

.band-section .cards-grid::after {
    left: 50%;
}

.band-card {
    position: relative;
}

.band-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 2rem;
    right: 0;
    width: 0;
    border-left: 0.5pt solid rgb(255, 255, 255);
}

.band-card:last-child::after {
    display: none;
}

.band-card .card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem 2rem 1rem;
}

.band-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.band-card .card-header {
    text-align: center;
    margin-top: 0;
}

.band-card .card-header h3 {
    font-size: 1.5rem;
}

/* ========================================================
   EXTRAS SECTION
   ======================================================== */

.extras-section {
    width: 100%;
    padding: 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.extras-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 0 0 2rem 0;
    text-align: center;
}

.extras-container {
    margin: 0 107.2px;
    width: calc(100% - 214.4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 36.8px;
}

.extras-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ========================================================
   ENVIRONMENTS SECTION
   ======================================================== */

.environments-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.environments-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 0 0 0 0;
    text-align: center;
}

.environments-container {
    margin: 0 107.2px;
    width: calc(100% - 214.4px);
}

.env-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.env-row.full-width {
    grid-template-columns: 1fr;
}

.env-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-top: 0.5pt solid #ffffff;
}

.env-row:first-child .env-cell {
    border-top: none;
}

.env-cell:not(:last-child) {
    border-right: 0.5pt solid #ffffff;
}

.env-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== COLOR GRADING SECTION ===== */
.color-grading-section {
    margin-top: 32px;
}

.color-grading-main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.color-grading-headers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 2rem 0 0 0;
}

.color-grading-subheading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: center;
    padding: 1rem;
}

.color-grading-subheading:first-child {
    border-right: none;
}

/* Remove the default border-top rule for color grading section */
.color-grading-section .env-cell {
    border-top: none !important;
}

/* Add borders back for all rows except the first env-row */
.color-grading-section .env-row ~ .env-row .env-cell {
    border-top: 0.5pt solid #ffffff !important;
}

/* Keep the vertical divider between columns - only for image cells */
.color-grading-section .env-row .env-cell:first-child {
    border-right: 0.5pt solid #ffffff;
}

/* ===== COLOR GRADING PROCESS SECTION ===== */
.color-grading-process-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.color-grading-process-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #ffffff;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
    margin: 10px 0 0 0;
    text-align: center;
}

.color-grading-process-container {
    margin: 20px 107.2px 0 107.2px;
    width: calc(100% - 214.4px);
}

.color-grading-process-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    position: relative;
}

.color-grading-process-grid::before {
    content: '';
    position: absolute;
    left: 33.333%;
    top: 2rem;
    bottom: 2rem;
    width: 0.5pt;
    background: #ffffff;
}

.color-grading-process-column {
    padding: 2rem;
}

.color-grading-process-section .section-label {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.color-grading-process-section .lookfeel-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.color-grading-process-section .color-bars {
    display: flex;
    gap: 0;
    margin-top: 1.5rem;
}

.color-grading-process-section .color-bar {
    flex: 1;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-grading-process-section .color-bar:hover {
    transform: translateY(-8px);
}

.color-grading-process-section .color-info {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-grading-process-section .color-bar:hover .color-info {
    opacity: 1;
}

.color-grading-process-section .color-hex {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* Media query for 2560px - Color Grading Process padding */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .color-grading-process-section .color-grading-process-column {
        padding: 2rem 70px;
    }
}

/* ===== TRIALS SECTION ===== */
.trials-section {
    width: 100%;
    padding: 0 0 36.8px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.trials-section .environments-container {
    margin-top: 32px;
}

.trials-subheading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 10px 0 2rem 0;
    text-align: center;
}

.trials-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.trials-row .env-cell {
    border-top: 0.5pt solid #ffffff;
}

.trials-row:first-child .env-cell {
    border-top: none;
}

.trials-row .env-cell:not(:last-child) {
    border-right: 0.5pt solid #ffffff;
}

@media (max-width: 480px) {
    .aims-objectives-column {
        padding: 3rem 7.444vw 5rem 7.444vw;
    }
}

/* ===== USER PERSONAS SECTION ===== */
.persona-section {
    width: 100vw;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    position: relative;
    margin-top: 0;
    min-height: 150px;
}

.persona-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 2.667vw;
}

.persona-title {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: #fff;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    -webkit-text-stroke: 0.75pt #ffffff;
}

.click-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fff;
    padding: 0;
    margin-bottom: 2.778vw;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
}

.click-indicator.hidden {
    display: none;
}

.click-icon-wrapper {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-pointer {
    width: 12px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 2px 2px 2px 8px;
    position: relative;
    animation: clickPointer 1.5s ease-in-out infinite;
    transform-origin: top left;
}

.click-dot {
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: clickDotPulse 1.5s ease-in-out infinite;
}

@keyframes clickPointer {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
}

@keyframes clickDotPulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Three-column grid with dividing lines */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Bottom border line that extends full width */
/* Bottom border line that matches grid width only */
.persona-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 0.5pt solid rgb(255, 255, 255);
    z-index: 1;
}
/* Dividing lines between columns */
.persona-column:nth-child(1)::after,
.persona-column:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -1rem;
    bottom: 0;
    right: 0;
    width: 0;
    border-right: 0.5pt solid rgb(255, 255, 255);
}

.persona-column {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    padding: 0 5vw 3.125vw 5vw;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.persona-column.dimmed {
    opacity: 0.3;
}

.persona-column.highlighted {
    opacity: 1;
}

.persona-image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portrait-wrapper {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.3s ease;
    display: block;
    transform: none;
    position: relative;
    z-index: 2;
}

.persona-column:hover .portrait {
    filter: invert(1);
    transform: none;
}

/* Glitch layers for persona images */
.portrait-glitch-layer-1,
.portrait-glitch-layer-2,
.portrait-glitch-layer-3 {
    display: none;
}

/* Backdrop */
.persona-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999;
    cursor: pointer;
}

.persona-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Overlay */
.persona-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 95vh;
    max-width: none;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    background-color: #000;
    overflow: auto;
}

.persona-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay-content {
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.persona-name {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    font-weight: 200;
    text-transform: uppercase;
}

.persona-type {
    font-size: 0.85rem;
    margin-bottom: 2rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
}

.persona-image-wrapper {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    overflow: visible;
    padding: 2rem 0;
}

.persona-image {
    width: auto;
    max-width: 95%;
    max-height: 70vh;
    height: auto;
    display: block;
    object-fit: contain;
    transform: scale(0.7) !important;
}

/* User Journey specific - larger */
#journeyOverlay .persona-image {
    transform: scale(0.85) !important;
    max-height: 70vh;
}

/* User Flow specific - needs special handling for tall image */
#journeyOverlay .persona-image[src*="UserFlow"] {
    transform: scale(0.8) !important;
    max-height: 70vh;
    width: auto !important;
    object-fit: contain !important;
    margin: auto !important;
}

.close-button {
    position: absolute;
    top: 4rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 200;
}

.close-button:hover {
    background-color: #fff;
    color: #000;
}

/* ===== BRANDING SECTION ===== */
.branding-section {
    position: relative;
    z-index: 1;
    padding: 0 0 32px 0;
    border-bottom: 0.5pt solid #ffffff;
}

.branding-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
    padding: 0 3rem;
    -webkit-text-stroke: 0.75pt #ffffff;
}

.branding-section .top-section {
    display: grid;
    grid-template-columns: 400px 1fr;
    padding: 0 0 0 5rem;
    gap: 3rem;
    align-items: center;
    border-bottom: 0.5pt solid #ffffff;
    min-height: 250px;
    margin: 0 7.444vw;
}

.branding-section .logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.branding-section .logo-box {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.branding-section .logo-box:hover {
    transform: scale(1.05);
}

.branding-section .logo-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.branding-section .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.branding-section .device-name {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
}

.branding-section .explanation-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    text-align: left;
}

.branding-section .bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 7.444vw;
}

.branding-section .top-grid {
    margin: 0 7.444vw;
}

/* Intercensus-specific 2-column top grid */
.intercensus-branding .top-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* News Broadcast-specific 2-column top grid */
.news-broadcast-section .top-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* News Broadcast - 5 color bars */
.news-broadcast-section .color-bars,
.news-broadcast-section .color-bars.character-colors,
.news-broadcast-section .color-bars.environment-colors {
    grid-template-columns: repeat(5, 1fr) !important;
}

/* News Broadcast - Video styling */
.news-broadcast-section .news-video {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: contain;
    display: block;
}

/* News Broadcast - Image styling */
.news-broadcast-section .news-process-image {
    width: 100%;
    height: auto;
    display: block;
}

/* News Broadcast - Text alignment */
.news-broadcast-section .lookfeel-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
}

/* News Broadcast - Reduce bottom grid cell height */
.news-broadcast-section .bottom-grid .grid-cell {
    min-height: 250px;
}

/* News Broadcast - Top grid bottom padding */
.news-broadcast-section .top-grid {
    padding-bottom: 30px;
}

.branding-section .grid-cell {
    padding: 2rem 3rem 32px 3rem;
    border-top: 0.5pt solid #ffffff;
    min-height: 400px;
}

/* News Broadcast - All grid cells get 70px left/right padding at 2560px */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .branding-section.news-broadcast-section .grid-cell {
        padding: 2rem 70px 32px 70px !important;
    }
}

.branding-section .top-grid .grid-cell {
    min-height: 200px;
    border-top: none;
}

.branding-section .bottom-grid .grid-cell {
    border-bottom: none;
}

/* Remove bottom padding from collage/drawing cell */
.branding-section .grid-cell:has(.collage-container) {
    padding-bottom: 0;
}

.branding-section .grid-cell:not(:last-child) {
    border-right: 0.5pt solid #ffffff;
}

/* Rotating Icon Container */
.rotating-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.rotating-icon {
    width: 150px;
    height: 150px;
    animation: rotateIcon 10s linear infinite;
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.branding-section .section-label {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
}

.branding-section .color-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1pt;
    height: 280px;
    margin: 0 auto;
    justify-content: center;
}

.branding-section .color-bars.character-colors,
.branding-section .color-bars.environment-colors {
    grid-template-columns: repeat(4, 1fr);
}

/* Interscensus specific - 5 color bars */
.intercensus-branding .color-bars,
.intercensus-branding .color-bars.character-colors,
.intercensus-branding .color-bars.environment-colors {
    grid-template-columns: repeat(5, 1fr) !important;
}

/* DSK specific - 5 color bars */
.dsk-branding .color-bars,
.dsk-branding .color-bars.character-colors,
.dsk-branding .color-bars.environment-colors {
    grid-template-columns: repeat(5, 1fr) !important;
}

.branding-section .color-bar {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.branding-section .color-bar:hover {
    transform: translateY(-8px);
}

.branding-section .color-bar:hover .color-info {
    opacity: 1;
}

.branding-section .color-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.branding-section .color-name {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.branding-section .color-hex {
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.branding-section .font-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1pt;
    height: 280px;
}

/* Single font bar centering */
.branding-section .font-bars:has(.font-bar:only-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

.branding-section .font-bars:has(.font-bar:only-child) .font-bar {
    max-width: 33.333%;
}

.branding-section .font-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 2rem 1rem;
}

.branding-section .font-bar:hover {
    transform: translateY(-8px);
}

.branding-section .font-preview {
    font-size: 2.5rem;
    font-family: 'Tektur', sans-serif;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.branding-section .font-preview.regular {
    font-weight: 400;
}

.branding-section .font-preview.medium {
    font-weight: 500;
}

.branding-section .font-preview.bold {
    font-weight: 700;
}

.branding-section .font-preview.ancient-regular {
    font-family: 'Ancient-Medium', serif;
    font-weight: normal;
}

.branding-section .font-weight-label {
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.branding-section .lookfeel-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
}

/* ========================================================
   CROSS-HATCHING AND LINE WORK ANIMATIONS
   ======================================================== */

.crosshatch-container {
    width: 100%;
    max-width: 200px;
    height: 150px;
    margin: 1.5rem auto;
    background: transparent;
    filter: contrast(1.2) brightness(1.1);
}

.crosshatch-svg {
    width: 100%;
    height: 100%;
}

.hatch-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawSketchyLine 3s ease-in-out infinite;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#roughen);
}

/* Stagger the animation for each line with varied timing */
.hatch-line.line1 { animation-delay: 0s; animation-duration: 2.8s; }
.hatch-line.line2 { animation-delay: 0.15s; animation-duration: 3.1s; }
.hatch-line.line3 { animation-delay: 0.3s; animation-duration: 2.9s; }
.hatch-line.line4 { animation-delay: 0.45s; animation-duration: 3s; }
.hatch-line.line5 { animation-delay: 0.6s; animation-duration: 3.2s; }
.hatch-line.line6 { animation-delay: 0.75s; animation-duration: 2.85s; }
.hatch-line.line7 { animation-delay: 0.9s; animation-duration: 3.15s; }
.hatch-line.line8 { animation-delay: 1.05s; animation-duration: 2.95s; }
.hatch-line.line9 { animation-delay: 1.2s; animation-duration: 3.05s; }
.hatch-line.line10 { animation-delay: 1.35s; animation-duration: 3.1s; }
.hatch-line.line11 { animation-delay: 1.5s; animation-duration: 2.9s; }
.hatch-line.line12 { animation-delay: 1.65s; animation-duration: 3.2s; }
.hatch-line.line13 { animation-delay: 1.8s; animation-duration: 2.8s; }
.hatch-line.line14 { animation-delay: 1.95s; animation-duration: 3s; }
.hatch-line.line15 { animation-delay: 2.1s; animation-duration: 3.1s; }
.hatch-line.line16 { animation-delay: 2.25s; animation-duration: 2.95s; }
.hatch-line.line17 { animation-delay: 2.4s; animation-duration: 3.15s; }
.hatch-line.line18 { animation-delay: 2.55s; animation-duration: 2.85s; }
.hatch-line.line19 { animation-delay: 2.7s; animation-duration: 3.05s; }
.hatch-line.line20 { animation-delay: 2.85s; animation-duration: 3.2s; }

@keyframes drawSketchyLine {
    0% {
        stroke-dashoffset: 300;
        opacity: 0;
    }
    5% {
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.9;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        stroke-dashoffset: -300;
        opacity: 0;
    }
}

.linework-container {
    width: 100%;
    max-width: 200px;
    margin: 1.5rem auto;
}

.linework-svg {
    width: 100%;
    height: auto;
}

.solid-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawSolidLine 3s ease-in-out infinite;
}

@keyframes drawSolidLine {
    0% {
        stroke-dashoffset: 200;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -200;
    }
}

/* ========================================================
   COLLAGE AND DRAWING ANIMATIONS
   ======================================================== */

.collage-container {
    width: 100%;
    max-width: 170px;
    height: 130px;
    margin: 1.5rem auto;
    background: transparent;
}

.collage-svg {
    width: 100%;
    height: 100%;
}

.collage-shape {
    opacity: 0;
    animation: fadeInCollage 4s ease-in-out infinite;
}

.collage-shape.shape1 { animation-delay: 0s; }
.collage-shape.shape2 { animation-delay: 0.3s; }
.collage-shape.shape3 { animation-delay: 0.6s; }
.collage-shape.shape4 { animation-delay: 0.9s; }
.collage-shape.shape5 { animation-delay: 1.2s; }
.collage-shape.shape6 { animation-delay: 1.5s; }
.collage-shape.shape7 { animation-delay: 1.8s; }
.collage-shape.shape8 { animation-delay: 2.1s; }

@keyframes fadeInCollage {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    20% {
        opacity: 0.8;
        transform: scale(1);
    }
    80% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.drawing-container {
    width: 100%;
    max-width: 170px;
    height: 130px;
    margin: 1.5rem auto;
    background: transparent;
}

.drawing-svg {
    width: 100%;
    height: 100%;
}

.sketch-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawSketchLine 3s ease-in-out infinite;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sketch-line.line1 { animation-delay: 0s; animation-duration: 3s; }
.sketch-line.line2 { animation-delay: 0.3s; animation-duration: 0.5s; }
.sketch-line.line3 { animation-delay: 0.35s; animation-duration: 0.5s; }
.sketch-line.line4 { animation-delay: 0.6s; animation-duration: 1s; }
.sketch-line.line5 { animation-delay: 0.9s; animation-duration: 1.2s; }
.sketch-line.line6 { animation-delay: 1.2s; animation-duration: 2s; }
.sketch-line.line7 { animation-delay: 1.5s; animation-duration: 1.5s; }
.sketch-line.line8 { animation-delay: 1.5s; animation-duration: 1.5s; }

@keyframes drawSketchLine {
    0% {
        stroke-dashoffset: 300;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        stroke-dashoffset: -300;
        opacity: 0;
    }
}

/* ===== CROSS-HATCHING AND LINE WORK MEDIA QUERIES ===== */
/* 4K and Ultra-wide monitors (2880px+) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .crosshatch-container {
        max-width: 300px;
        height: 225px;
    }
    
    .linework-container {
        max-width: 300px;
    }
    
    .collage-container {
        max-width: 255px;
        height: 195px;
    }
    
    .drawing-container {
        max-width: 255px;
        height: 195px;
    }
    
    .branding-section .grid-cell .section-label {
        font-size: 2.5rem;
    }
}

/* Large Desktop (1920px - 2880px) */
@media screen and (min-width: 1920px) and (max-width: 2879px) {
    .crosshatch-container {
        max-width: 300px;
        height: 225px;
    }
    
    .linework-container {
        max-width: 300px;
    }
    
    .collage-container {
        max-width: 255px;
        height: 195px;
    }
    
    .drawing-container {
        max-width: 255px;
        height: 195px;
    }
    
    .branding-section .grid-cell .section-label {
        font-size: 2.5rem;
    }
}

/* Desktop (1440px - 1919px) */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .crosshatch-container {
        max-width: 200px;
        height: 150px;
    }
    
    .linework-container {
        max-width: 200px;
    }
    
    .collage-container {
        max-width: 170px;
        height: 130px;
    }
    
    .drawing-container {
        max-width: 170px;
        height: 130px;
    }
    
    .branding-section .grid-cell .section-label {
        font-size: 1.5rem;
    }
}

/* ===== BRANDING SECTION RESPONSIVE MEDIA QUERIES ===== */
/* Full HD monitors (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .branding-section .top-section {
        min-height: 333px;
        grid-template-columns: 533px 1fr;
        padding: 0 0 0 6.65rem;
    }
    
    .branding-section .logo-box {
        width: 467px;
        height: 467px;
    }
    
    .branding-section .grid-cell {
        min-height: 533px;
        padding: 2.65rem 4rem 42px 4rem;
    }
    
    .branding-section .color-bars {
        height: 373px;
    }
    
    .branding-section .font-bars {
        height: 373px;
    }
}

/* 2560px - Proportional scale (1.778x from 1440 baseline) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .branding-section .top-section {
        min-height: 444px;
        grid-template-columns: 711px 1fr;
        padding: 0 0 0 8.87rem;
    }
    
    .branding-section .logo-box {
        width: 623px;
        height: 623px;
    }
    
    .branding-section .grid-cell {
        min-height: 711px;
        padding: 3.53rem 5.33rem 56px 5.33rem;
    }
    
    .branding-section .color-bars {
        height: 498px;
    }
    
    .branding-section .font-bars {
        height: 498px;
    }
}

/* ===== SKETCHES SECTION ===== */
.sketches-section {
    position: relative;
    z-index: 1;
    padding: 10px 0 0 0;
    border-bottom: 0.5pt solid #ffffff;
}

.sketches-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
    padding: 0 3rem;
    -webkit-text-stroke: 0.75pt #ffffff;
}

.sketches-section .hover-text {
    text-align: center;
    margin-bottom: 0;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.sketches-section .content-container {
    padding: 0 55px;
}

.sketches-section .image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 72px;
    aspect-ratio: 16 / 9;
    min-height: 500px;
    overflow: hidden;
    cursor: pointer;
}

.sketches-section .sketch-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    transition: opacity 0.6s ease;
}

.sketches-section .sketch-image.default {
    width: 95%;
    height: 95%;
    opacity: 1;
    z-index: 2;
}

.sketches-section .sketch-image.hover-reveal {
    width: 95%;
    height: 95%;
    opacity: 0;
    z-index: 1;
}

.sketches-section .image-wrapper:hover .sketch-image.default {
    opacity: 0;
}

.sketches-section .image-wrapper:hover .sketch-image.hover-reveal {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ===== STILL RENDERS CAROUSEL SECTION ===== */
.renders-carousel-section {
    width: 100vw;
    min-height: 35vh;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0 20px 0;
    overflow: hidden;
}

.renders-carousel-section .main-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-top: 3rem;
    margin-bottom: 0;
    padding-bottom: 10px;
    text-align: center;
}

.renders-carousel-section .hover-text {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 20px;
    font-size: clamp(0.6rem, 0.8vw, 1rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.carousel-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: grab;
    display: flex;
    align-items: flex-end;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: flex-end;
}

.carousel-slide {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    height: 400px;
    display: flex;
    align-items: center;
    transform-origin: center center;
    transition: opacity 0.3s ease;
    opacity: 1;
    will-change: transform, opacity;
}

.carousel-slide.center {
    opacity: 1;
    z-index: 10;
}

.carousel-slide.side {
    opacity: 1;
}

.carousel-image {
    display: block;
    width: 600px;
    height: 400px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    user-select: none;
}

.carousel-slide.center .carousel-image {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ===== RENDERS CAROUSEL SECTION RESPONSIVE MEDIA QUERIES ===== */
/* 2560-3840px - Proportional scaling (1.334x from 1920px) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .carousel-container {
        height: 711px;
    }
    
    .carousel-track {
        height: 711px;
    }
    
    .carousel-slide {
        height: 711px;
    }
    
    .carousel-image {
        width: 1067px;
        height: 711px;
    }
}

/* Full HD monitors (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .carousel-container {
        height: 533px;
    }
    
    .carousel-track {
        height: 533px;
    }
    
    .carousel-slide {
        height: 533px;
    }
    
    .carousel-image {
        width: 800px;
        height: 533px;
    }
}

/* ===== UX/UI, HOMEPAGE, CONTROL PAGE, HEALTH PAGE, AND SETTINGS PAGE SECTIONS RESPONSIVE MEDIA QUERIES ===== */
/* 2880px to 3839px (Ultra-wide) */
@media only screen and (min-width: 2560px) and (max-width: 3840px) {
    .uxui-section,
    .homepage-section,
    .controlpage-section,
    .healthpage-section,
    .settingspage-section {
        margin: 0 6.7rem !important;
    }
}

/* 2560px to 2879px (2K/QHD) */
/* 1920px to 2559px (Full HD) */
@media only screen and (min-width: 1920px) and (max-width: 2559px) {
    .uxui-section,
    .homepage-section,
    .controlpage-section,
    .healthpage-section,
    .settingspage-section {
        margin: 0 6.7rem !important;
    }
}

/* ===== DALÍ QUOTE SECTION ===== */
.dali-quote-section {
    background: transparent;
    padding: 4rem 0 0 0;
    margin: 0 107.2px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-container {
    max-width: 600px;
    margin: 0 auto 0 auto;
}

.dali-quote {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    text-align: left;
    margin: 0;
    font-weight: 300;
}

.dali-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(0.95rem, 1.111vw, 1.4rem);
    font-style: normal;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    text-align: left;
}

.dali-hover-text {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
    font-family: 'WorkSans-Regular', sans-serif;
}

.snail-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: -5rem;
    margin-top: 2rem;
}

.draggable-snail {
    position: absolute;
    width: 400px;
    height: auto;
    cursor: grab;
    user-select: none;
    left: 50%;
    top: 50%;
    z-index: 9999;
    will-change: transform;
    transition: none !important;
}

.draggable-snail:active {
    cursor: grabbing;
}

/* Dalí Quote Responsive */
@media screen and (min-width: 3840px) {
    .dali-quote-section {
        margin: 0 13.4rem;
    }
    
    .quote-container {
        max-width: 1600px;
    }
    
    .snail-container {
        height: 1066px;
        margin-bottom: -5rem;
    }
    
    .draggable-snail {
        width: 1066px;
    }
}

@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .dali-quote-section {
        margin: 0 8.93rem;
    }
    
    .quote-container {
        max-width: 1067px;
    }
    
    .snail-container {
        height: 711px;
        margin-bottom: -6.67rem;
    }
    
    .draggable-snail {
        width: 711px;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .dali-quote-section {
        margin: 0 6.7rem;
    }
    
    .quote-container {
        max-width: 800px;
    }
    
    .snail-container {
        height: 533px;
        margin-bottom: -5rem;
    }
    
    .draggable-snail {
        width: 533px;
    }
}

/* ===== SKETCHES SECTION RESPONSIVE MEDIA QUERIES ===== */
/* 2560-3840px - Proportional scaling (1.778x from 1440 baseline) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .sketches-section .image-wrapper {
        max-width: 2133px;
        margin: 0 auto;
        min-height: 889px;
    }
    
    .sketches-section .sketch-image {
        transform: translate(-50%, -50%) scale(1.33);
    }
    
    .sketches-section .sketch-image.default {
        width: 100%;
        height: 100%;
    }
    
    .sketches-section .content-container {
        padding: 0 97px;
    }
}

/* Full HD monitors (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .sketches-section .image-wrapper {
        max-width: 1600px;
        margin: 0 auto;
        min-height: 667px;
    }
    
    .sketches-section .sketch-image {
        transform: translate(-50%, -50%) scale(1.0);
    }
    
    .sketches-section .sketch-image.default {
        width: 95%;
        height: 95%;
    }
    
    .sketches-section .content-container {
        padding: 0 73px;
    }
}

/* Desktop (1440px - 1919px) */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .sketches-section .image-wrapper {
        max-width: 90%;
        margin: 0 auto;
        min-height: 450px;
    }
    
    .sketches-section .content-container {
        padding: 0 60px;
    }
}

/* ===== USER PERSONAS RESPONSIVE MEDIA QUERIES ===== */
/* Small screens - stack columns vertically */
@media (max-width: 768px) {
    .persona-section {
        padding: 2rem 1rem;
    }
    
    .persona-grid {
        grid-template-columns: 1fr;
    }
    
    .persona-grid::before,
    .persona-grid::after {
        display: none;
    }
    
    .persona-column {
        border-bottom: 0.5pt solid rgb(255, 255, 255);
        padding: 2rem 5vw;
    }
    
    .persona-column:last-child {
        border-bottom: none;
    }
}

/* Medium screens - keep three columns but adjust spacing */
@media (min-width: 769px) and (max-width: 1024px) {
    .persona-section {
        padding: 2rem 1.5rem;
    }
    
    .persona-column {
        padding: 0 3vw 2rem 3vw;
    }
}

/* ===== USER PERSONAS MEDIA QUERIES FOR LARGER SCREENS (1440px to 4K) ===== */
/* 2560-3840px - Proportional scaling (1.778x from 1440 baseline) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .persona-container {
        padding: 0 4.67rem 3.56vw 4.67rem;
    }
    
    .persona-title {
        font-size: 6.93rem;
        margin-bottom: 0;
        letter-spacing: 0.17em;
    }
    
    .click-indicator {
        font-size: 1.27rem;
        gap: 1.47rem;
        margin-bottom: 3.71vw;
    }
    
    .click-icon-wrapper {
        width: 37px;
        height: 37px;
    }
    
    .cursor-pointer {
        width: 23px;
        height: 31px;
        border-width: 3.3px;
    }
    
    .click-dot {
        width: 7.3px;
        height: 7.3px;
    }
    
    .grid-wrapper {
        max-width: 2067px;
    }
    
    .persona-grid {
        border-width: 1.07px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 1.07px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 1.07px;
    }
    
    .portrait-wrapper {
        padding: 1.73rem;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 1.73rem;
        left: 1.73rem;
        right: 1.73rem;
        bottom: 1.73rem;
    }
    
    .persona-overlay {
        padding: 6.0rem;
    }
    
    .persona-name {
        font-size: 5.33rem;
        margin-bottom: 1.73rem;
    }
    
    .persona-type {
        font-size: 1.67rem;
        margin-bottom: 4.67rem;
    }
    
    .persona-image-wrapper {
        max-width: none;
    }
    
    .persona-image {
        transform: scale(0.95) !important;
        max-height: 70vh;
    }
    
    #journeyOverlay .persona-image {
        transform: scale(1.0) !important;
        max-height: 70vh;
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(1.0) !important;
        max-height: 70vh;
    }
    
    .close-button {
        top: 3.33rem;
        right: 3.33rem;
        width: 87px;
        height: 87px;
        font-size: 4.27rem;
    }
}

/* Full HD monitors (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .persona-container {
        padding: 0 3.5rem 2.667vw 3.5rem;
    }
    
    .persona-title {
        font-size: 5.2rem;
        margin-bottom: 0;
        letter-spacing: 0.17em;
    }
    
    .click-indicator {
        font-size: 0.95rem;
        gap: 1.1rem;
        margin-bottom: 2.778vw;
    }
    
    .click-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .cursor-pointer {
        width: 17px;
        height: 23px;
        border-width: 2.5px;
    }
    
    .click-dot {
        width: 5.5px;
        height: 5.5px;
    }
    
    .grid-wrapper {
        max-width: 1550px;
    }
    
    .persona-grid {
        border-width: 0.8px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 0.8px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 0.8px;
    }
    
    .portrait-wrapper {
        padding: 1.3rem;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 1.3rem;
        left: 1.3rem;
        right: 1.3rem;
        bottom: 1.3rem;
    }
    
    .persona-overlay {
        padding: 4.5rem;
    }
    
    .persona-name {
        font-size: 4rem;
        margin-bottom: 1.3rem;
    }
    
    .persona-type {
        font-size: 1.25rem;
        margin-bottom: 3.5rem;
    }
    
    .persona-image-wrapper {
        max-width: none;
    }
    
    .persona-image {
        transform: scale(0.9);
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.55);
    }
    
    .close-button {
        top: 2.5rem;
        right: 2.5rem;
        width: 65px;
        height: 65px;
        font-size: 3.2rem;
    }
}

/* Large desktop (1600px - 1919px) */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
    .persona-container {
        padding: 4.5rem 3rem;
    }
    
    .persona-title {
        font-size: 4.8rem;
        margin-bottom: 2.2rem;
        letter-spacing: 0.16em;
    }
    
    .click-indicator {
        font-size: 0.85rem;
        gap: 1rem;
        margin-bottom: 3.2rem;
    }
    
    .click-icon-wrapper {
        width: 26px;
        height: 26px;
    }
    
    .cursor-pointer {
        width: 15px;
        height: 21px;
        border-width: 2.3px;
    }
    
    .click-dot {
        width: 5px;
        height: 5px;
    }
    
    .grid-wrapper {
        max-width: 1400px;
    }
    
    .persona-grid {
        border-width: 0.7px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 0.7px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 0.7px;
    }
    
    .portrait-wrapper {
        padding: 1.2rem;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 1.2rem;
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.2rem;
    }
    
    .persona-overlay {
        padding: 4.2rem;
    }
    
    .persona-name {
        font-size: 3.7rem;
        margin-bottom: 1.2rem;
    }
    
    .persona-type {
        font-size: 1.15rem;
        margin-bottom: 3.2rem;
    }
    
    .persona-image-wrapper {
        max-width: none;
    }
    
    .persona-image {
        transform: scale(0.87);
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.52);
    }
    
    .close-button {
        top: 2.3rem;
        right: 2.3rem;
        width: 60px;
        height: 60px;
        font-size: 3rem;
    }
}

/* Standard desktop - YOUR DESIGN BASELINE (1440px - 1599px) */
@media screen and (min-width: 1440px) and (max-width: 1599px) {
    .persona-container {
        padding: 0 2.5rem 2.667vw 2.5rem;
    }
    
    .persona-title {
        font-size: 4.4rem;
        margin-bottom: 0;
        letter-spacing: 0.16em;
    }
    
    .click-indicator {
        font-size: 0.78rem;
        gap: 0.9rem;
        margin-bottom: 2.778vw;
    }
    
    .click-icon-wrapper {
        width: 24px;
        height: 24px;
    }
    
    .cursor-pointer {
        width: 14px;
        height: 19px;
        border-width: 2.2px;
    }
    
    .click-dot {
        width: 4.8px;
        height: 4.8px;
    }
    
    .grid-wrapper {
        max-width: 1280px;
    }
    
    .persona-grid {
        border-width: 0.6px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 0.6px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 0.6px;
    }
    
    .portrait-wrapper {
        padding: 1.1rem;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 1.1rem;
        left: 1.1rem;
        right: 1.1rem;
        bottom: 1.1rem;
    }
    
    .persona-overlay {
        padding: 4rem;
    }
    
    .persona-name {
        font-size: 3.5rem;
        margin-bottom: 1.1rem;
    }
    
    .persona-type {
        font-size: 1.08rem;
        margin-bottom: 3rem;
    }
    
    .persona-image-wrapper {
        max-width: none;
    }
    
    .persona-image {
        transform: scale(0.85);
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.5);
    }
    
    .close-button {
        top: 2.2rem;
        right: 2.2rem;
        width: 58px;
        height: 58px;
        font-size: 2.8rem;
    }
}

/* Smaller desktop (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .persona-container {
        padding: 3.8rem 2.3rem;
    }
    
    .persona-title {
        font-size: 4rem;
        margin-bottom: 1.8rem;
    }
    
    .click-indicator {
        font-size: 0.74rem;
        margin-bottom: 2.8rem;
    }
    
    .grid-wrapper {
        max-width: 1180px;
    }
    
    .persona-grid {
        border-width: 0.55px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 0.55px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 0.55px;
    }
    
    .portrait-wrapper {
        padding: 1rem;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .persona-name {
        font-size: 3.2rem;
    }
    
    .persona-type {
        font-size: 1rem;
        margin-bottom: 2.8rem;
    }
    
    .persona-image-wrapper {
        max-width: none;
    }
    
    .persona-image {
        transform: scale(0.83);
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.48);
    }
    
    .close-button {
        width: 54px;
        height: 54px;
        font-size: 2.6rem;
    }
}

/* Laptop (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .persona-container {
        padding: 3.5rem 2rem;
    }
    
    .persona-title {
        font-size: 3.6rem;
        margin-bottom: 1.6rem;
    }
    
    .click-indicator {
        font-size: 0.7rem;
        margin-bottom: 2.6rem;
    }
    
    .grid-wrapper {
        max-width: 1050px;
    }
    
    .persona-grid {
        border-width: 0.5px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 0.5px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 0.5px;
    }
    
    .portrait-wrapper {
        padding: 0.9rem;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 0.9rem;
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.9rem;
    }
    
    .persona-overlay {
        padding: 3.5rem;
    }
    
    .persona-name {
        font-size: 2.9rem;
    }
    
    .persona-type {
        font-size: 0.95rem;
        margin-bottom: 2.6rem;
    }
    
    .persona-image-wrapper {
        max-width: none;
    }
    
    .persona-image {
        transform: scale(0.8);
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.45);
    }
    
    .close-button {
        width: 50px;
        height: 50px;
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .persona-container {
        padding: 3rem 1.5rem;
    }
    .persona-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .click-indicator {
        font-size: 0.65rem;
        margin-bottom: 2rem;
    }
    .grid-wrapper {
        max-width: 100%;
    }
    .persona-overlay {
        padding: 2rem;
    }
    .persona-name {
        font-size: 2rem;
    }
    .persona-type {
        font-size: 0.75rem;
    }
    .persona-image-wrapper {
        max-width: none;
    }
    .persona-image {
        transform: scale(0.75);
    }
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.4);
    }
}

@media (max-width: 480px) {
    .persona-container {
        padding: 2rem 1rem;
    }
    .persona-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .click-indicator {
        font-size: 0.6rem;
        margin-bottom: 1.5rem;
    }
    .persona-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .persona-cell:not(:nth-child(2n)) {
        border-right: 0.5px solid #fff;
    }
    .persona-cell:not(:nth-last-child(-n+2)) {
        border-bottom: 0.5px solid #fff;
    }
    .persona-overlay {
        padding: 1.5rem;
    }
    .persona-name {
        font-size: 1.5rem;
    }
    .persona-type {
        font-size: 0.7rem;
        margin-bottom: 2rem;
    }
    .persona-image-wrapper {
        max-width: none;
    }
    .persona-image {
        transform: scale(0.7);
    }
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.35);
    }
    .close-button {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}
/* ===== USER JOURNEY & USER FLOW SECTION ===== */
.user-journey-section {
    width: 100vw;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 32px;
}
.journey-container {
    width: 100%;
    background: transparent;
    border-top: 0.5pt solid #ffffff;
    padding: 0 2rem 0.694vw 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.journey-container:hover {
    background-color: #ffffff;
}

.journey-container:hover .journey-title {
    color: #000000;
    -webkit-text-stroke: 0.75pt #000000;
}

.journey-container:hover .journey-click-indicator {
    color: #000000;
}

.journey-container:hover .cursor-pointer {
    border-color: #000000;
}

.journey-container:hover .click-dot {
    background-color: #000000;
}

.journey-container:last-child {
    border-bottom: 0.5pt solid #ffffff;
}

.journey-title {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    text-align: center;
    -webkit-text-stroke: 0.75pt #ffffff;
    transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.journey-click-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #fff;
    padding: 0;
    margin-top: -1rem;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.journey-click-indicator .click-icon-wrapper {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== USER JOURNEY RESPONSIVE BREAKPOINTS ===== */
/* Large screens (2560px - 3839px) */
@media (min-width: 2560px) and (max-width: 3840px) {
    .journey-container {
        padding: 0 2rem 0.694vw 2rem;
    }
    .journey-image-wrapper {
        max-width: 1600px;
    }
}

/* Medium-large screens */
@media (min-width: 1920px) and (max-width: 2559px) {
    .journey-container {
        padding: 0 2rem 0.694vw 2rem;
    }
    .journey-image-wrapper {
        max-width: 1600px;
    }
}

/* Tablets and smaller */
@media (max-width: 768px) {
    .journey-container {
        padding: 3rem 1.5rem;
    }
    .journey-title {
        margin-bottom: 1.5rem;
    }
    .journey-image-wrapper {
        padding: 0 1rem;
    }
}
/* 2K/QHD Screens (2560px - 3839px) */
@media (min-width: 2560px) and (max-width: 3840px) {
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .image-wrapper {
        max-width: 1800px;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 2400px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 2000px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 800px;
    }
    .content-inner {
        padding: 4rem 0;
    }
}
/* Full HD Screens (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .image-wrapper {
        max-width: 1400px;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 1800px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 1500px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 650px;
    }
    .content-inner {
        padding: 3.5rem 0;
    }
}
/* Standard Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .image-wrapper {
        max-width: 1100px;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 1500px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 1300px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 550px;
    }
    .content-inner {
        padding: 3rem 0;
    }
}
/* Laptop/Small Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .image-wrapper {
        max-width: 900px;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 1200px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 1000px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 450px;
    }
    .content-inner {
        padding: 3rem 0;
    }
}
/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container-header {
        padding: 1rem 0;
    }
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .image-wrapper {
        max-width: 700px;
        padding: 0 1.5rem;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 900px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 350px;
    }
    .content-inner {
        padding: 2rem 0;
    }
}
/* Mobile Landscape (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container-header {
        padding: 0.9rem 0;
    }
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .image-wrapper {
        padding: 0 1rem;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 650px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 300px;
        font-size: 0.65rem;
    }
    .content-inner {
        padding: 1.5rem 0;
    }
}
/* Mobile Portrait (320px - 480px) */
@media (min-width: 320px) and (max-width: 480px) {
    .container-header {
        padding: 0.8rem 0;
    }
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
        letter-spacing: 0.08em;
    }
    .expand-container:hover .container-title {
        letter-spacing: 0.12em;
    }
    .image-wrapper {
        padding: 0 1rem;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 450px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 420px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 200px;
        font-size: 0.6rem;
    }
    .content-inner {
        padding: 1.5rem 0;
    }
}
/* Small Mobile (below 320px) */
@media (max-width: 319px) {
    .container-header {
        padding: 0.7rem 0;
    }
    .container-title {
        font-size: clamp(2.5rem, 5vw, 6rem);
        letter-spacing: 0.06em;
    }
    .image-wrapper {
        padding: 0 0.5rem;
    }
    .expand-container:first-child .image-wrapper {
        max-width: 280px;
    }
    .expand-container:last-child .image-wrapper {
        max-width: 260px;
        margin: 0 auto;
    }
    .image-placeholder {
        height: 150px;
        font-size: 0.55rem;
    }
    .content-inner {
        padding: 1rem 0;
    }
}

/* ===== LEVEX PAGE MEDIA QUERIES FOR LARGER SCREENS (1024px to 4K) ===== */
/* Ultra-wide monitors (2880px - 3839px) */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .levex-white-section {
        min-height: 225px !important;
        padding: 2.6rem 2.8rem !important;
    }
    
    .levex-white-content {
        max-width: 86vw !important;
        gap: 1.15rem !important;
    }
    
    .levex-white-description {
        padding: 0 3.5rem !important;
    }
}

/* 4K monitors (2560px - 2879px) */
/* Full HD monitors (1920px - 2559px) */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .levex-white-section {
        min-height: 225px;
        padding: 2.6rem 2.8rem;
    }
    
    .levex-white-content {
        max-width: 86vw;
        gap: 1.15rem;
    }
    
    .levex-white-heading {
        font-size: 5.33rem;
    }
    
    .levex-white-description {
        padding: 0 3.5rem;
    }
}

/* Large desktop (1600px - 1919px) */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
    .levex-white-section {
        min-height: 215px;
        padding: 2.5rem 2.6rem;
    }
    
    .levex-white-content {
        max-width: 87vw;
        gap: 1.1rem;
    }
    
    .levex-white-description {
        padding: 0 3.2rem;
    }
    
    .case-study-section {
        min-height: 420px;
        padding: 2.5rem 0;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 430px 1fr;
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 430px + ((100vw - min(100vw, 1480px)) / 2)));
    }
    
    .case-study-left {
        padding: 2.5rem 2.5rem 2.5rem 0;
    }
    
    .case-study-info {
        gap: 2.4rem;
    }
    
    .info-heading {
        font-size: clamp(1.5rem, 1.111vw, 2rem);
    }
    
    .info-text {
        font-size: 1.15rem;
        max-width: 88%;
    }
    
    .case-study-right {
        padding: 2rem 0 2rem 5.2rem;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 1.1rem;
        max-width: 75%;
        line-height: 1.78;
    }
    
    .case-study-panel {
        padding: 2rem 2.2rem;
    }
}

/* Standard desktop - YOUR DESIGN BASELINE (1440px - 1599px) */
@media screen and (min-width: 1440px) and (max-width: 1599px) {
    .levex-white-section {
        min-height: 210px;
        padding: 2.4rem 2.5rem;
    }
    
    .levex-white-content {
        max-width: 88vw;
        gap: 1.05rem;
    }
    
    .levex-white-description {
        padding: 0 3rem;
    }
    
    .case-study-section {
        min-height: 390px;
        padding: 2.3rem 0;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 400px 1fr;
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 400px + ((100vw - min(100vw, 1350px)) / 2)));
    }
    
    .case-study-left {
        padding: 2.3rem 2.3rem 2.3rem 0;
    }
    
    .case-study-info {
        gap: 2.2rem;
    }
    
    .info-heading {
        font-size: clamp(1.5rem, 1.111vw, 1.8rem);
    }
    
    .info-text {
        font-size: 1.08rem;
        max-width: 88%;
    }
    
    .case-study-right {
        padding: 1.8rem 0 1.8rem 5rem;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 1rem;
        max-width: 75%;
        line-height: 1.75;
    }
    
    .case-study-panel {
        padding: 1.8rem 2rem;
    }
}

/* Smaller desktop (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .levex-white-section {
        min-height: 195px;
        padding: 2rem 2.2rem;
    }
    
    .levex-white-content {
        max-width: 88vw;
        gap: 1.5rem;
    }
    
    .levex-white-description {
        padding: 0 2.8rem;
    }
    
    .case-study-section {
        min-height: 360px;
        padding: 2rem 0;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 370px 1fr;
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 370px + ((100vw - min(100vw, 1250px)) / 2)));
    }
    
    .case-study-left {
        padding: 2rem 2rem 2rem 0;
    }
    
    .case-study-info {
        gap: 2rem;
    }
    
    .info-heading {
        font-size: clamp(1.5rem, 1.111vw, 1.65rem);
    }
    
    .info-text {
        font-size: 0.98rem;
        max-width: 88%;
    }
    
    .case-study-right {
        padding: 1.6rem 0 1.6rem 4.5rem;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 0.95rem;
        max-width: 75%;
        line-height: 1.72;
    }
    
    .case-study-panel {
        padding: 1.6rem 1.8rem;
    }
}

/* Laptop - 1024px to 1279px */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .levex-white-section {
        min-height: 180px;
        padding: 1.8rem 2rem;
    }
    
    .levex-white-content {
        max-width: 88vw;
        gap: 1.4rem;
    }
    
    .levex-white-description {
        padding: 0 2.5rem;
    }
    
    .case-study-section {
        min-height: 340px;
        padding: 1.8rem 0;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 340px 1fr;
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 340px + ((100vw - min(100vw, 1150px)) / 2)));
    }
    
    .case-study-left {
        padding: 1.8rem 1.8rem 1.8rem 0;
    }
    
    .case-study-info {
        gap: 1.8rem;
    }
    
    .info-heading {
        font-size: clamp(1.3rem, 1.111vw, 1.5rem);
    }
    
    .info-text {
        font-size: 0.9rem;
        max-width: 86%;
    }
    
    .case-study-right {
        padding: 1.5rem 0 1.5rem 4rem;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 0.9rem;
        max-width: 75%;
        line-height: 1.7;
    }
    
    .case-study-panel {
        padding: 1.5rem 1.6rem;
    }
}

/* Responsive Design for Case Study Section - OLD STYLES */
/* Small desktop - 1024px to 1279px - LEGACY (REMOVE IF CONFLICTS) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .levex-white-section {
        aspect-ratio: 16 / 10.5;
        max-height: 250px;
        min-height: 180px;
        padding: 2rem 2rem;
        align-items: center;
    }
    
    .levex-white-content {
        max-width: 1200px;
        gap: 1.8rem;
    }
    
    .case-study-section {
        max-height: 340px;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 380px + ((100vw - min(100vw, 1150px)) / 2)));
    }
    
    .case-study-left {
        padding: 2rem 2rem 2rem 5vw;
    }
    
    .info-text {
        max-width: 88%;
    }
    
    .panel-text {
        max-width: 78%;
    }
    
    .user-journey-container {
        width: 86%;
    }
}
/* Medium desktop - 1280px to 1349px */
@media (min-width: 1280px) and (max-width: 1349px) {
    .case-study-section {
        max-height: 360px;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 380px + ((100vw - min(100vw, 1200px)) / 2)));
    }
    
    .user-journey-container {
        width: 87%;
    }
}
/* Large screens - 1350px to 1440px */
@media (min-width: 1350px) and (max-width: 1440px) {
    /* White section */
    .levex-white-section {
        max-height: 280px;
        min-height: 220px;
    }
    
    /* Case study section */
    .case-study-section {
        max-height: 420px;
    }
    
    .case-study-content {
        width: calc(100vw - 13.4rem);
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 380px + ((100vw - min(100vw, 1350px)) / 2)));
    }
    
    .case-study-left {
        padding: 2rem 3rem 2rem 5vw;
    }
    
    .info-text {
        max-width: 95%;
        line-height: 1.7;
    }
    
    .panel-text {
        max-width: 85%;
    }
}
/* ========================================================
   ULTRA-SIMPLE FIX: Case Study Section
   Uses clean percentage-based positioning
   ======================================================== */
@media (min-width: 1441px) and (max-width: 1919px) {
    /* White section */
    .levex-white-section {
        max-height: 450px;
    }
    
    /* Case study section */
    .case-study-section {
        max-height: clamp(420px, 30vw, 650px);
    }
    
    /* Clean container sizing */
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 30vw 1fr;
        margin: 0 auto;
    }
    
    /* SIMPLE divider positioning */
    .case-study-section::after {
        left: calc(5vw + 30vw); /* Left margin (5vw) + left column width (30vw) */
        transform: none;
    }
    
    /* Left sidebar - aligned with research cards */
    .case-study-left {
        padding: clamp(2rem, 2.5vw, 3rem) clamp(2rem, 3vw, 4rem) clamp(2rem, 2.5vw, 3rem) 0;
        display: flex;
        align-items: center;
    }
    
    .case-study-info {
        gap: clamp(2rem, 2.5vw, 3rem);
        width: 100%;
    }
    
    .info-heading {
        font-size: clamp(1.5rem, 1.111vw, 2rem);
        margin-bottom: -0.5rem;
    }
    
    .info-text {
        max-width: 85%;
        line-height: 1.7;
        font-size: clamp(0.95rem, 1.111vw, 1.3rem);
    }
    
    /* Right content area */
    .case-study-right {
        padding: 1.2rem 0 1.2rem clamp(3rem, 4vw, 5rem);
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
        margin-bottom: clamp(1.5rem, 2vw, 2.5rem);
    }
    
    .panel-text {
        max-width: 82%;
        font-size: clamp(0.95rem, 1.05vw, 1.3rem);
        line-height: 1.75;
    }
    
    /* Research section */
    .card {
        padding: 2.083vw 5vw 2rem 5vw;
    }
    
    .learn-more-btn {
        padding: 1.2rem 5vw;
        font-size: clamp(1rem, 1.2vw, 1.5rem);
    }
    
    /* Research section scaling */
    .research-container {
        max-width: 100%;
        width: 95vw;
    }
    
    .card {
        padding: 2.083vw 5vw 2rem 5vw;
    }
    
    .card-footer {
        width: calc(100% + 10vw);
        left: -5vw;
    }
    
    .learn-more-btn {
        padding: 1.2rem 5vw;
        font-size: clamp(1rem, 1.2vw, 1.5rem);
    }
    
    /* Accordion section scaling */
    .accordion-container {
        width: 88vw;
        max-width: none;
    }
    
    .panel-label {
        font-size: clamp(2.5rem, 3.2vw, 5rem);
    }
    
    /* User journey section */
    .user-journey-container {
        width: 84vw;
        max-width: 1600px;
    }
}
@media (max-width: 968px) {
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .case-study-right {
        padding: 2rem;
    }
    
    .case-study-right::after {
        display: none;
    }
    
    .case-study-panel {
        padding: 1.5rem 2rem;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 1.1rem;
    }
    
    .research-section {
        aspect-ratio: auto;
        min-height: auto;
        padding: 3rem 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
@media (max-width: 640px) {
    .case-study-content {
        width: calc(100vw - 13.4rem);
        padding: 1.5rem;
    }
    
    .case-study-left {
        padding: 0 0 2rem 0;
    }
    
    .case-study-right {
        padding: 2rem 0;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        min-height: auto;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
}
@media (max-width: 640px) {
    .case-study-content {
        width: calc(100vw - 13.4rem);
        padding: 1.5rem;
    }
    
    .case-study-left {
        padding: 0 0 1.5rem 0;
    }
    
    .case-study-right {
        padding: 1.5rem 0;
    }
    
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    
    .panel-text {
        font-size: 0.9rem;
    }
}
/* ===== TABLET & MOBILE RESPONSIVE (Keep your existing mobile queries) ===== */
@media screen and (max-width: 1024px) {
    .nav-logo-img {
        height: 1.8rem;
    }
    .nav-home-text {
        font-size: 1.4rem;
    }
    .nav-item {
        margin-left: 2.5rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .showreel-container .showreel-title {
        font-size: 4.5rem;
    }
    .showreel-container .play-button-text {
        font-size: 0.9rem;
    }
    .more-about-content h2 {
        font-size: 3.5rem;
    }
    .more-about-content::before {
        font-size: 3.5rem;
    }
    .black-rectangle-grid {
        width: 60rem;
    }
    .quarter-heading {
        font-size: 1.1rem;
        left: 4rem;
    }
    .content-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    .content-middle-section .text-overlay h1 {
        font-size: 3.5rem;
    }
    .content-middle-section .text-overlay p {
        font-size: 0.95rem;
    }
    .banner-word {
        font-size: 1.1rem;
    }
    .large-banner-word {
        font-size: 3.3rem;
    }
    .project-title {
        font-size: 3rem;
    }
    .project-desc {
        font-size: 0.9rem;
    }
}
@media screen and (max-width: 768px) {
    html { font-size: 11px !important; }
    
    .nav-left {
        position: fixed;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .showreel-container {
        height: 70vw;
    }
    .showreel-container::before,
    .showreel-container::after {
        top: 2rem;
        bottom: 2rem;
    }
    .showreel-content::before,
    .showreel-content::after {
        left: 2rem;
        right: 2rem;
    }
    .showreel-image-container {
        left: 2rem;
        top: 2rem;
        right: 2rem;
        bottom: 2rem;
    }
    .showreel-container .showreel-title {
        font-size: 3rem;
        top: 40%;
    }
    .showreel-container .play-button {
        top: 56%;
        padding: 0.6rem 1.2rem;
    }
    .showreel-container .play-button-text {
        font-size: 0.85rem;
    }
    .showreel-container .right-edge-xox,
    .showreel-container .right-edge-binary,
    .showreel-container .left-edge-binary,
    .showreel-container .left-edge-xox,
    .showreel-container .bottom-right-xo,
    .showreel-container .top-left-xo {
        display: none;
    }
    .more-about-me {
        height: auto;
        min-height: 50vh;
    }
    .more-about-content {
        flex-direction: column;
        margin-left: 0;
        padding: 2rem 0;
    }
    .more-about-content h2 {
        font-size: 2.5rem;
        transform: none;
        margin-bottom: 2rem;
    }
    .more-about-content::before {
        display: none;
    }
    .black-rectangle-grid {
        position: relative;
        right: 0;
        transform: none;
        width: 95%;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    .quarter {
        min-height: 250px;
    }
    .quarter-heading {
        left: 2rem;
        font-size: 1rem;
    }
    .content-item {
        font-size: 0.85rem;
    }
    .content-item-image img {
        height: 3rem;
    }
    .recognition-card {
        padding: 1rem;
        margin-left: -1rem;
    }
    .recognition-title {
        font-size: 0.9rem;
    }
    .recognition-project,
    .recognition-category {
        font-size: 0.85rem;
    }
    .scrolling-banner {
        height: 1.5rem;
    }
    .banner-word {
        font-size: 1rem;
    }
    .banner-symbols {
        font-size: 0.9rem;
    }
    .large-scrolling-banner {
        height: 4.5rem;
    }
    .large-banner-word {
        font-size: 2.5rem;
    }
    .large-banner-symbols {
        font-size: 2rem;
    }
    .content-top-section,
    .content-bottom-section {
        height: 15vw;
    }
    .content-middle-section {
        height: 45vw;
        top: 15vw;
    }
    .content-middle-section .overlay-image {
        left: 5rem;
        height: 80%;
        top: 45%;
    }
    .content-middle-section .text-overlay {
        right: 5%;
        max-width: 70%;
    }
    .content-middle-section .text-overlay h1 {
        font-size: 2.5rem;
    }
    .content-middle-section .text-overlay p {
        font-size: 0.9rem;
        max-width: 90%;
    }
    .content-middle-section .left-vertical-text,
    .content-middle-section .right-vertical-text {
        display: none;
    }
    .vertical-project-nav {
        width: 90%;
        flex-wrap: wrap;
    }
    .project-nav-item {
        width: 100%;
        height: 150px;
    }
    .project-nav-item a {
        writing-mode: horizontal-tb;
        transform: none;
        flex-direction: row;
        gap: 1rem;
    }
    .project-title {
        font-size: 2rem;
        margin-bottom: 0;
    }
    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    .footer-center {
        flex-direction: column;
        gap: 1rem;
    }
    .levex-container {
        height: 70vw;
    }
    .levex-container::before,
    .levex-container::after {
        top: 2rem;
        bottom: 2rem;
    }
    .levex-content::before,
    .levex-content::after {
        left: 2rem;
        right: 2rem;
    }
    .levex-image-container {
        left: 2rem;
        top: 2rem;
        right: 2rem;
        bottom: 2rem;
    }
    .levex-container .right-edge-xox,
    .levex-container .right-edge-binary,
    .levex-container .left-edge-binary,
    .levex-container .left-edge-xox,
    .levex-container .bottom-right-xo,
    .levex-container .top-left-xo {
        display: none;
    }
    .levex-white-heading {
        font-size: 3rem;
    }
    .levex-white-description {
        font-size: 0.9rem;
        max-width: 80%;
    }
    .case-study-content {
        width: calc(100vw - 13.4rem);
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
    .case-study-left {
        position: relative;
        top: 0;
        padding-left: 0;
    }
    .case-study-info {
        gap: 2rem;
    }
    .case-study-right {
        padding-right: 0;
    }
    .case-study-content::before {
        display: none;
    }
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
}
@media screen and (max-width: 600px) {
    html { font-size: 10px !important; }
    
    .nav-logo {
        left: 0.5rem;
    }
    .nav-logo-img {
        height: 1.5rem;
    }
    .nav-home-text {
        font-size: 1.2rem;
    }
    .showreel-container {
        height: 80vw;
    }
    .showreel-container::before,
    .showreel-container::after {
        top: 1.5rem;
        bottom: 1.5rem;
    }
    .showreel-content::before,
    .showreel-content::after {
        left: 1.5rem;
        right: 1.5rem;
    }
    .showreel-image-container {
        left: 1.5rem;
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }
    .showreel-container .showreel-title {
        font-size: 2rem;
        top: 38%;
    }
    .showreel-container .play-button {
        top: 58%;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    .showreel-container .play-button-text {
        font-size: 0.75rem;
    }
    .showreel-container .play-icon {
        border-left: 6px solid #ffffff;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
    }
    .more-about-content h2 {
        font-size: 2rem;
    }
    .black-rectangle-grid {
        width: 100%;
    }
    .quarter {
        min-height: 200px;
    }
    .quarter-heading {
        left: 1.5rem;
        font-size: 0.9rem;
        top: 1rem;
    }
    .quarter-content {
        padding: 2rem 1rem 1rem 1rem;
    }
    .content-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    .content-item-image img {
        height: 2.5rem;
    }
    .scrolling-banner {
        height: 1.2rem;
    }
    .banner-word {
        font-size: 0.8rem;
    }
    .banner-symbols {
        font-size: 0.7rem;
    }
    .large-scrolling-banner {
        height: 3.6rem;
    }
    .large-banner-word {
        font-size: 2rem;
    }
    .large-banner-symbols {
        font-size: 1.6rem;
    }
    .content-top-section,
    .content-bottom-section {
        height: 20vw;
    }
    .content-middle-section {
        height: 55vw;
        top: 20vw;
    }
    .content-middle-section .overlay-image {
        left: 2rem;
        height: 70%;
        top: 45%;
    }
    .content-middle-section .text-overlay {
        right: 2%;
        max-width: 85%;
    }
    .content-middle-section .text-overlay h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .content-middle-section .text-overlay p {
        font-size: 0.85rem;
        max-width: 100%;
        line-height: 1.6;
    }
    .project-nav-item {
        height: 120px;
    }
    .project-title {
        font-size: 1.5rem;
    }
    .project-desc {
        font-size: 0.8rem;
    }
    .site-footer {
        padding: 1.5rem 1rem;
    }
    .footer-left p {
        font-size: 0.75rem;
    }
    .footer-center a {
        font-size: 0.8rem;
    }
    .footer-right img {
        width: 20px;
        height: 20px;
    }
    .levex-container {
        height: 80vw;
    }
    .levex-container::before,
    .levex-container::after {
        top: 1.5rem;
        bottom: 1.5rem;
    }
    .levex-content::before,
    .levex-content::after {
        left: 1.5rem;
        right: 1.5rem;
    }
    .levex-image-container {
        left: 1.5rem;
        top: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }
    .levex-white-heading {
        font-size: 2rem;
    }
    .levex-white-description {
        font-size: 0.85rem;
        max-width: 90%;
    }
}
@media screen and (max-width: 480px) {
    .showreel-container .showreel-title {
        font-size: 1.5rem;
    }
    .more-about-content h2 {
        font-size: 1.5rem;
    }
    .content-middle-section .text-overlay h1 {
        font-size: 1.5rem;
    }
    .large-banner-word {
        font-size: 1.5rem;
    }
    .large-banner-symbols {
        font-size: 1.2rem;
    }
    .project-title {
        font-size: 1.2rem;
    }
    .levex-white-heading {
        font-size: 1.5rem;
    }
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem);
    }
    .info-heading {
        font-size: 1rem;
    }
}
@media screen and (max-height: 600px) and (orientation: landscape) {
    .showreel-container,
    .levex-container {
        height: 90vh;
        max-height: none;
    }
    .more-about-me {
        height: auto;
    }
    .black-rectangle-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}
@media print {
    .navbar,
    .grain-overlay,
    .hamburger,
    .footer-right {
        display: none;
    }
    body {
        background: white;
        background-image: none;
    }
    .showreel-container,
    .levex-container {
        page-break-inside: avoid;
    }
}
/* ========================================================
   TARGETED FIXES FOR PROBLEM AREAS - DESKTOP ONLY
   ======================================================== */
/* ===== MOBILE WARNING OVERLAY ===== */
.mobile-warning-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}
.mobile-warning-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}
.mobile-warning-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ffffff;
}
.mobile-warning-content p {
    font-family: 'WorkSans-Regular', Arial, sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
}
/* Show overlay on mobile/tablet */
@media screen and (max-width: 500px) {
    .mobile-warning-overlay {
        display: flex !important;
    }
    body {
        overflow: hidden !important;
    }
}
/* ===== LOADING SCREEN STYLES ===== */
/* Loading screen overlay */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    opacity: 1 !important;
    visibility: visible !important;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
/* Start button */
.start-button {
    padding: 0.8rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0);
    font-family: 'Arial', sans-serif;
}
.start-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.4s ease;
    z-index: -1;
}
.start-button:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
.start-button:hover::before {
    left: 0;
}
.start-button.hidden {
    opacity: 0;
    pointer-events: none;
}
/* Loading counter */
.loading-counter {
    font-size: 2.5rem;
    font-weight: 200;
    color: #fff;
    letter-spacing: 0.2em;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: 'Courier New', monospace;
}
.loading-counter.visible {
    opacity: 1;
}
.loading-counter::before {
    content: '[ ';
    opacity: 0.4;
}
.loading-counter::after {
    content: ' %]';
    opacity: 0.4;
}
/* Loading bar */
.loading-bar-container {
    width: 300px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 1.5rem;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.loading-bar-container.visible {
    opacity: 1;
}
.loading-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
/* Grid background */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}
/* Corner brackets */
.corner-brackets {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.3;
}
.corner-brackets.top-left {
    top: 2rem;
    left: 2rem;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}
.corner-brackets.top-right {
    top: 2rem;
    right: 2rem;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
.corner-brackets.bottom-left {
    bottom: 2rem;
    left: 2rem;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}
.corner-brackets.bottom-right {
    bottom: 2rem;
    right: 2rem;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
/* Loading text */
.loading-text {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #fff;
    opacity: 0;
    text-transform: uppercase;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}
.loading-text.visible {
    opacity: 0.5;
}

/* Large screen media queries for loading screen */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .loading-counter {
        font-size: 4.67rem;
    }
    .start-button {
        padding: 1.33rem 4rem;
        font-size: 1.33rem;
    }
    .loading-bar-container {
        width: 533px;
    }
    .corner-brackets {
        width: 333px;
        height: 333px;
    }
    .loading-text {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .loading-counter {
        font-size: 3.5rem;
    }
    .start-button {
        padding: 1rem 3rem;
        font-size: 0.95rem;
    }
    .loading-bar-container {
        width: 400px;
    }
    .corner-brackets {
        width: 250px;
        height: 250px;
    }
    .loading-text {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .loading-counter {
        font-size: 3rem;
    }
    .start-button {
        padding: 0.9rem 2.7rem;
        font-size: 0.85rem;
    }
    .loading-bar-container {
        width: 350px;
    }
    .corner-brackets {
        width: 220px;
        height: 220px;
    }
    .loading-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .start-button {
        padding: 0.7rem 2rem;
        font-size: 0.7rem;
    }
    .loading-counter {
        font-size: 2rem;
    }
    .loading-text {
        font-size: 0.6rem;
    }
    .loading-bar-container {
        width: 250px;
    }
    .corner-brackets {
        width: 120px;
        height: 120px;
    }
}
@media (max-width: 480px) {
    .start-button {
        padding: 0.6rem 1.8rem;
        font-size: 0.65rem;
    }
    .loading-counter {
        font-size: 1.8rem;
    }
    .loading-text {
        font-size: 0.55rem;
    }
    .loading-bar-container {
        width: 200px;
    }
    .corner-brackets {
        width: 80px;
        height: 80px;
    }
    .corner-brackets.top-left,
    .corner-brackets.top-right {
        top: 1rem;
    }
    .corner-brackets.bottom-left,
    .corner-brackets.bottom-right {
        bottom: 1rem;
    }
    .corner-brackets.top-left,
    .corner-brackets.bottom-left {
        left: 1rem;
    }
    .corner-brackets.top-right,
    .corner-brackets.bottom-right {
        right: 1rem;
    }
}

/* ===== LOADING SCREEN 1 - FIRST VISIT ===== */
/* This loading screen is shown on the first visit to the site */

#loadingScreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
}

/* Grid background for loading screen 1 */
.loading-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

/* Corner brackets for loading screen 1 */
.loading-corner-bracket {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.3;
}

/* Start button */
#startBtn {
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
}

/* ===== LOADING SCREEN 2 - PAGE TRANSITIONS ===== */
/* This loading screen is used for page-to-page navigation and transitions */

#loadingScreen2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 !important;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    transition: opacity 0.5s ease;
    opacity: 0;
}

#loadingScreen2.active {
    display: flex !important;
    opacity: 1 !important;
}

/* Grid background for loading screen 2 */
.loading2-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

/* Corner brackets for loading screen 2 */
.loading2-corner-bracket {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.3;
}

.loading2-corner-bracket.top-left {
    top: 2rem;
    left: 2rem;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}

.loading2-corner-bracket.top-right {
    top: 2rem;
    right: 2rem;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.loading2-corner-bracket.bottom-left {
    bottom: 2rem;
    left: 2rem;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}

.loading2-corner-bracket.bottom-right {
    bottom: 2rem;
    right: 2rem;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}

/* Content container for loading screen 2 */
.loading2-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Loading text for loading screen 2 */
#loading2Text {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 1;
}

/* Counter for loading screen 2 */
#loading2Counter {
    font-size: 2.5rem;
    font-weight: 200;
    color: #fff;
    letter-spacing: 0.2em;
    font-family: 'Courier New', monospace;
    margin-bottom: 1.5rem;
    min-width: 200px;
    text-align: center;
}

/* Loading bar for loading screen 2 */
#loading2Bar {
    width: 300px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
}

#loading2BarFill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Media queries for loading screen 2 */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    #loading2Counter {
        font-size: 4.67rem;
    }
    #loading2Bar {
        width: 533px;
    }
    .loading2-corner-bracket {
        width: 333px;
        height: 333px;
    }
    #loading2Text {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    #loading2Counter {
        font-size: 3.5rem;
    }
    #loading2Bar {
        width: 400px;
    }
    .loading2-corner-bracket {
        width: 250px;
        height: 250px;
    }
    #loading2Text {
        font-size: 0.85rem;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    #loading2Counter {
        font-size: 3rem;
    }
    #loading2Bar {
        width: 350px;
    }
    .loading2-corner-bracket {
        width: 220px;
        height: 220px;
    }
    #loading2Text {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    #loading2Counter {
        font-size: 2rem;
    }
    #loading2Text {
        font-size: 0.6rem;
    }
    #loading2Bar {
        width: 250px;
    }
    .loading2-corner-bracket {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    #loading2Counter {
        font-size: 1.8rem;
    }
    #loading2Text {
        font-size: 0.55rem;
    }
    #loading2Bar {
        width: 200px;
    }
    .loading2-corner-bracket {
        width: 80px;
        height: 80px;
    }
    .loading2-corner-bracket.top-left,
    .loading2-corner-bracket.top-right {
        top: 1rem;
    }
    .loading2-corner-bracket.bottom-left,
    .loading2-corner-bracket.bottom-right {
        bottom: 1rem;
    }
    .loading2-corner-bracket.top-left,
    .loading2-corner-bracket.bottom-left {
        left: 1rem;
    }
    .loading2-corner-bracket.top-right,
    .loading2-corner-bracket.bottom-right {
        right: 1rem;
    }
}
/* ===== EXPLAINER SCREEN STYLES ===== */
/* Explainer screen overlay - 60% opacity black */
.explainer-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.explainer-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
/* Enhanced grid background effect - matching loading screen */
.explainer-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}
/* Corner brackets decoration - matching loading screen */
.explainer-screen .corner-brackets {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.2;
    pointer-events: none;
}
.explainer-screen .corner-brackets.top-left {
    top: 2rem;
    left: 2rem;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}
.explainer-screen .corner-brackets.top-right {
    top: 2rem;
    right: 2rem;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
.explainer-screen .corner-brackets.bottom-left {
    bottom: 2rem;
    left: 2rem;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}
.explainer-screen .corner-brackets.bottom-right {
    bottom: 2rem;
    right: 2rem;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
/* Content container */
.explainer-content {
    max-width: 900px;
    padding: 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}
/* Title text - matching loading screen style */
.explainer-title-text {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #fff;
    opacity: 0.5;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 0.5; transform: translateY(0); }
}
/* Title - large and minimal */
.explainer-title {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 3rem;
    color: #fff;
    letter-spacing: 0.1em;
    animation: fadeIn 0.8s ease 0.2s both;
}
/* Instructions container */
.instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.instruction-card {
    animation: fadeInUp 0.8s ease both;
}
.instruction-card:nth-child(1) { animation-delay: 0.4s; }
.instruction-card:nth-child(2) { animation-delay: 0.6s; }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Icon containers with animations */
.icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}
/* Orb animation */
.orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}
/* Orbit ring */
.orbit-ring {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: rotate 6s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* Cursor icon animation */
.cursor-icon {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.8;
    animation: moveCursor 3s ease-in-out infinite;
}
@keyframes moveCursor {
    0%, 100% { 
        top: 10px; 
        right: 10px;
    }
    25% { 
        top: 30px; 
        right: 30px;
    }
    50% { 
        top: 50px; 
        right: 10px;
    }
    75% { 
        top: 30px; 
        right: -10px;
    }
}
/* Scroll mouse */
.scroll-mouse {
    width: 25px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
    opacity: 0.8;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: 8px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}
/* Screen preview */
.screen-preview {
    width: 50px;
    height: 30px;
    background: #fff;
    border-radius: 3px;
    margin: 1.5rem auto 0;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}
/* Instruction title - matching loading screen style */
.instruction-title {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: 1.2rem;
    font-weight: 200;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
/* Instruction text */
.instruction-text {
    font-family: 'WorkSans-Regular', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
/* Continue button - matching loading screen button style */
.continue-button {
    padding: 0.8rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0);
    animation: fadeIn 0.8s ease 0.8s both;
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    z-index: 100001;
}
.continue-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.4s ease;
    z-index: -1;
}
.continue-button:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
.continue-button:hover::before {
    left: 0;
}

/* Large screen media queries for explainer */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .explainer-title {
        font-size: 4rem;
    }
    .explainer-title-text {
        font-size: 0.85rem;
    }
    .explainer-content {
        max-width: 1200px;
        padding: 4rem;
    }
    .instructions {
        gap: 4rem;
    }
    .icon-container {
        width: 150px;
        height: 150px;
    }
    .instruction-title {
        font-size: 1.6rem;
    }
    .instruction-text {
        font-size: 1.1rem;
    }
    .continue-button {
        padding: 1rem 3rem;
        font-size: 0.95rem;
    }
    .explainer-screen .corner-brackets {
        width: 250px;
        height: 250px;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .explainer-title {
        font-size: 4rem;
    }
    .explainer-title-text {
        font-size: 0.85rem;
    }
    .explainer-content {
        max-width: 1200px;
        padding: 4rem;
    }
    .instructions {
        gap: 4rem;
    }
    .icon-container {
        width: 150px;
        height: 150px;
    }
    .instruction-title {
        font-size: 1.6rem;
    }
    .instruction-text {
        font-size: 1.1rem;
    }
    .continue-button {
        padding: 1rem 3rem;
        font-size: 0.95rem;
    }
    .explainer-screen .corner-brackets {
        width: 250px;
        height: 250px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .explainer-title {
        font-size: 3.5rem;
    }
    .explainer-title-text {
        font-size: 0.75rem;
    }
    .explainer-content {
        max-width: 1000px;
        padding: 3.5rem;
    }
    .instructions {
        gap: 3.5rem;
    }
    .icon-container {
        width: 140px;
        height: 140px;
    }
    .instruction-title {
        font-size: 1.4rem;
    }
    .instruction-text {
        font-size: 1rem;
    }
    .continue-button {
        padding: 0.9rem 2.7rem;
        font-size: 0.85rem;
    }
    .explainer-screen .corner-brackets {
        width: 220px;
        height: 220px;
    }
}

/* Mobile responsiveness for explainer */
@media (max-width: 768px) {
    .instructions {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .explainer-title {
        font-size: 2rem;
    }
    .explainer-title-text {
        font-size: 0.6rem;
    }
    .explainer-content {
        padding: 2rem 1.5rem;
    }
    .explainer-screen .corner-brackets {
        width: 120px;
        height: 120px;
    }
    .continue-button {
        padding: 0.7rem 2rem;
        font-size: 0.7rem;
    }
}
@media (max-width: 480px) {
    .explainer-title {
        font-size: 1.5rem;
    }
    .explainer-title-text {
        font-size: 0.55rem;
    }
    .instruction-title {
        font-size: 1rem;
    }
    .instruction-text {
        font-size: 0.75rem;
    }
    .explainer-screen .corner-brackets {
        width: 80px;
        height: 80px;
    }
    .explainer-screen .corner-brackets.top-left,
    .explainer-screen .corner-brackets.top-right {
        top: 1rem;
    }
    .explainer-screen .corner-brackets.bottom-left,
    .explainer-screen .corner-brackets.bottom-right {
        bottom: 1rem;
    }
    .explainer-screen .corner-brackets.top-left,
    .explainer-screen .corner-brackets.bottom-left {
        left: 1rem;
    }
    .explainer-screen .corner-brackets.top-right,
    .explainer-screen .corner-brackets.bottom-right {
        right: 1rem;
    }
    .continue-button {
        padding: 0.6rem 1.8rem;
        font-size: 0.65rem;
    }
}

/* ========================================================
   CASE STUDY RESPONSIVE - CLEAN VERSION
   ======================================================== */

/* 2880px to 3839px (Ultra-wide) */
@media only screen and (min-width: 2560px) and (max-width: 3840px) {
    .case-study-section {
        padding: 2.5rem 0 !important;
    }
    .case-study-content {
        grid-template-columns: 533px 1fr !important;
        width: calc(100vw - 13.4rem) !important;
        margin: 0 6.7rem !important;
    }
    .case-study-section::after {
        transform: translateX(calc(-50vw + 533px + 6.7rem)) !important;
        left: 50% !important;
    }
    .case-study-left {
        padding: 1.5rem 2.5rem 1.5rem 0 !important;
    }
    .case-study-right {
        padding: 2.5rem 0 2.5rem 4rem !important;
    }
    .info-heading {
        font-size: clamp(1.5rem, 1.111vw, 2rem) !important;
    }
    .info-text {
        font-size: clamp(0.95rem, 1.111vw, 1.55rem) !important;
    }
    .case-study-right {
        padding: 2.5rem 4rem 2.5rem 5rem !important;
    }
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem) !important;
    }
    .panel-text {
        font-size: clamp(1.05rem, 1.111vw, 1.55rem) !important;
        line-height: 1.75 !important;
    }
}

/* 2560px to 2879px (2K/QHD) */
/* Additional responsive adjustments */
@media (min-width: 1350px) and (max-width: 1440px) {
    .case-study-left {
        padding: 2rem 3rem 2rem 0;
    }
    .case-study-section::after {
        transform: translateX(calc(-50vw + 380px + 6.7rem));
    }
}

@media screen and (min-width: 1440px) and (max-width: 1599px) {
    .case-study-right {
        padding: 1.8rem 0 1.8rem 5rem;
    }
}
/* 1920px to 2559px (Full HD) */
@media only screen and (min-width: 1920px) and (max-width: 2559px) {
    .case-study-section {
        padding: 2rem 0 !important;
    }
    .case-study-content {
        grid-template-columns: 460px 1fr !important;
        width: calc(100vw - 13.4rem) !important;
        margin: 0 6.7rem !important;
    }
    .case-study-section::after {
        transform: translateX(calc(-50vw + 460px + 6.7rem)) !important;
        left: 50% !important;
    }
    .case-study-left {
        padding: 2rem 2rem 2rem 0 !important;
    }
    .info-heading {
        font-size: clamp(1.5rem, 1.111vw, 2rem) !important;
    }
    .info-text {
        font-size: clamp(0.95rem, 1.111vw, 1.55rem) !important;
    }
    .case-study-right {
        padding: 2rem 0 2rem 4rem !important;
    }
    .panel-heading {
        font-size: clamp(2.5rem, 5vw, 6rem) !important;
    }
    .panel-text {
        font-size: clamp(0.95rem, 1.111vw, 1.4rem) !important;
        line-height: 1.75 !important;
    }
}

/* ========================================================
   SCROLL ANIMATION EFFECTS - Better approach
   ======================================================== */

/* Initial state - elements are hidden before animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When element is visible */
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image/video animation variant */
.scroll-animate-img {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: saturate(0) blur(3px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.scroll-animate-img.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1) blur(0);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-animate-img {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* ===== WATCH VIDEO SECTION ===== */
.watch-section {
    position: relative;
    z-index: 1;
    padding: 0 0 32px 0;
    background: transparent;
    border-bottom: 0.5pt solid #ffffff;
}

.watch-section::before {
    display: none;
}

.watch-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.watch-heading {
    font-family: 'OceanicDrift-BoldExpand', sans-serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 0;
    color: #fff;
    text-align: center;
    padding: 0 3rem;
    -webkit-text-stroke: 0.75pt #ffffff;
}

.watch-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.watch-video-container:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.watch-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.watch-link {
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #fff;
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.watch-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.4s ease;
    z-index: -1;
}

.watch-link:hover {
    color: #000;
}

.watch-link:hover::before {
    left: 0;
}

.watch-link::after {
    content: ' →';
    margin-left: 0.5em;
}

/* Responsive adjustments */
@media screen and (min-width: 2560px) and (max-width: 3840px) {
    .watch-content {
        max-width: 2400px;
    }
    
    .watch-video-container {
        max-width: 1733px;
    }
    
    .watch-link {
        padding: 1.33rem 4rem;
        font-size: 1.27rem;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .watch-content {
        max-width: 1800px;
    }
    
    .watch-video-container {
        max-width: 1300px;
    }
    
    .watch-link {
        padding: 1rem 3rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .watch-section {
        padding: 0 0 24px 0;
    }
    
    .watch-heading {
        font-size: 2rem;
        padding: 0 1.5rem;
    }
    
    .watch-video-container {
        margin: 1.5rem auto;
    }
    
    .watch-link {
        padding: 0.7rem 1.5rem;
        font-size: 0.7rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .watch-section {
        padding: 0 0 20px 0;
    }
    
    .watch-heading {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .watch-video-container {
        margin: 1rem auto;
    }
    
    .watch-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* ===== TRUE 4K MEDIA QUERIES (3840px+) ===== */
@media screen and (min-width: 3840px) {
    /* Branding Section */
    .branding-section .top-section {
        min-height: 888px;
        grid-template-columns: 1422px 1fr;
        padding: 0 0 0 17.75rem;
    }
    
    .branding-section .logo-box {
        width: 1245px;
        height: 1245px;
    }
    
    .branding-section .grid-cell {
        min-height: 1422px;
        padding: 7.07rem 10.67rem 112px 10.67rem;
    }
    
    .branding-section .color-bars {
        height: 995px;
    }
    
    .branding-section .font-bars {
        height: 995px;
    }
    
    .branding-section .grid-cell .section-label {
        font-size: 4rem;
    }
    
    /* Carousel Section */
    .carousel-container {
        height: 1422px;
    }
    
    .carousel-track {
        height: 1422px;
    }
    
    .carousel-slide {
        height: 1422px;
    }
    
    .carousel-image {
        width: 2133px;
        height: 1422px;
    }
    
    /* Sketches/Drawing Containers */
    .crosshatch-container {
        max-width: 533px;
        height: 400px;
    }
    
    .linework-container {
        max-width: 533px;
    }
    
    .collage-container {
        max-width: 453px;
        height: 347px;
    }
    
    .drawing-container {
        max-width: 453px;
        height: 347px;
    }
    
    /* Sketches Section */
    .sketches-section .image-wrapper {
        max-width: 4267px;
        margin: 0 256px;
    }
    
    .sketches-section .content-container {
        padding: 0 195px;
    }
    
    /* UX/UI Sections */
    .uxui-section,
    .homepage-section,
    .controlpage-section,
    .healthpage-section,
    .settingspage-section {
        margin: 0 17.8rem !important;
    }
    
    /* User Journey */
    .journey-container {
        padding: 0 5.33rem 1.85vw 5.33rem;
    }
    
    .journey-image-wrapper {
        max-width: 4267px;
    }
    
    /* User Personas */
    .persona-section {
        padding: 0 5.33rem;
    }
    
    .persona-container {
        padding-top: 0;
        padding-bottom: 7.11vw;
    }
    
    .persona-title {
        font-size: 10rem;
        letter-spacing: 0.18em;
    }
    
    .click-indicator {
        font-size: 1.87rem;
        gap: 2rem;
        margin-bottom: 7.4vw;
    }
    
    .click-icon-wrapper {
        width: 53px;
        height: 53px;
    }
    
    .cursor-pointer {
        width: 33px;
        height: 43px;
        border-width: 5px;
    }
    
    .click-dot {
        width: 10px;
        height: 10px;
    }
    
    .grid-wrapper {
        max-width: 4800px;
    }
    
    .persona-grid {
        border-width: 1.67px;
    }
    
    .persona-cell:not(:nth-child(6n)) {
        border-right-width: 1.67px;
    }
    
    .persona-cell:not(:nth-child(n+13)) {
        border-bottom-width: 1.67px;
    }
    
    .portrait-wrapper {
        padding: 2.5rem;
        max-width: 1333px;
    }
    
    .portrait {
        max-width: 1333px;
        max-height: 1333px;
    }
    
    .portrait-glitch-layer-1,
    .portrait-glitch-layer-2,
    .portrait-glitch-layer-3 {
        top: 2.5rem;
        left: 2.5rem;
        right: 2.5rem;
        bottom: 2.5rem;
    }
    
    .persona-overlay {
        padding: 8.35rem;
    }
    
    .persona-name {
        font-size: 7.5rem;
        margin-bottom: 2.5rem;
    }
    
    .persona-type {
        font-size: 2.33rem;
        margin-bottom: 6.67rem;
    }
    
    .persona-image {
        transform: scale(1.58);
    }
    
    #journeyOverlay .persona-image[src*="UserFlow"] {
        transform: scale(0.92);
    }
    
    /* Loading Screens */
    .loading-counter {
        font-size: 6rem;
    }
    
    .start-button {
        padding: 1.6rem 4.67rem;
        font-size: 1.47rem;
    }
    
    .loading-bar-container {
        width: 667px;
    }
    
    .corner-brackets {
        width: 400px;
        height: 400px;
    }
    
    .loading-text {
        font-size: 1.33rem;
    }
    
    #loading2Counter {
        font-size: 6rem;
    }
    
    #loading2Bar {
        width: 667px;
    }
    
    .loading2-corner-bracket {
        width: 400px;
        height: 400px;
    }
    
    #loading2Text {
        font-size: 1.33rem;
    }
    
    /* Explainer Screen */
    .explainer-title {
        font-size: 6.67rem;
    }
    
    .explainer-title-text {
        font-size: 1.33rem;
    }
    
    .explainer-content {
        max-width: 2133px;
        padding: 6.67rem;
    }
    
    .instructions {
        gap: 6.67rem;
    }
    
    .icon-container {
        width: 240px;
        height: 240px;
    }
    
    .instruction-title {
        font-size: 2.67rem;
    }
    
    .instruction-text {
        font-size: 1.73rem;
    }
    
    .continue-button {
        padding: 1.6rem 4.67rem;
        font-size: 1.47rem;
    }
    
    .explainer-screen .corner-brackets {
        width: 400px;
        height: 400px;
    }
    
    /* Case Study Section */
    .case-study-section {
        padding: 4.17rem 0 !important;
    }
    
    .case-study-content {
        grid-template-columns: 1067px 1fr !important;
        width: calc(100vw - 22.4rem) !important;
        margin: 0 11.2rem !important;
    }
    
    .case-study-section::after {
        transform: translateX(calc(-50vw + 1067px + 11.2rem)) !important;
        left: 50% !important;
    }
    
    .case-study-left {
        padding: 2.5rem 4.17rem 2.5rem 0 !important;
    }
    
    .case-study-right {
        padding: 4.17rem 0 4.17rem 6.67rem !important;
    }
    
    .info-heading {
        font-size: clamp(2.5rem, 1.85vw, 3.33rem) !important;
    }
    
    /* Watch Section */
    .watch-content {
        max-width: 3200px;
    }
    
    .watch-video-container {
        max-width: 2400px;
    }
    
    .watch-link {
        padding: 1.6rem 4.67rem;
        font-size: 1.47rem;
    }
    
    /* Color Grading Process */
    .color-grading-process-section .color-grading-process-column {
        padding: 3.33rem 117px;
    }
    
    /* News Broadcast */
    .branding-section.news-broadcast-section .grid-cell {
        padding: 3.33rem 117px 53px 117px !important;
    }
    
    /* Levex Section */
    .levex-white-section {
        min-height: 375px !important;
        padding: 4.33rem 4.67rem !important;
    }
    
    .levex-white-content {
        max-width: 86vw !important;
        gap: 1.92rem !important;
    }
    
    .levex-white-description {
        padding: 0 5.83rem !important;
    }
    
    /* Footer */
    .site-footer {
        padding: 2.5rem 6.67rem;
    }
    
    .footer-left p {
        font-size: 1.42rem !important;
    }
    
    .footer-center a {
        font-size: 1.5rem;
    }
    
    .footer-social-icon {
        width: 63px !important;
        height: 63px !important;
    }
    
    /* Branding Section Images/Videos */
    .branding-section .logo-box video,
    .branding-section .logo-box img {
        max-width: 1245px;
        max-height: 1245px;
    }
    
    /* News Broadcast */
    .news-broadcast-section .news-video {
        max-height: 1422px;
    }
    
    .news-broadcast-section .news-process-image {
        max-height: 1067px;
    }
    
    /* Carousel Images */
    .carousel-image {
        max-width: 2133px !important;
        max-height: 1422px !important;
    }
    
    /* Persona Overlay Images */
    .persona-image {
        max-width: 95vw;
        max-height: 75vh;
    }
}

