/* Reset and Base Variables */
:root {
    --bg-color: #ffffff;
    --text-color: #212121;
    --nav-bg: #ffffff;
    --font-family: 'Syne', sans-serif;
    --nav-height: 80px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Navigation Layout */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--nav-bg);
    /* Solid white by default */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    /* Hidden at top */
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    /* Glassmorphism on scroll */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 4vw;
    right: 4vw;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    /* Aligned with logo and links */
    display: block;
}

.nav-left {
    display: flex;
    flex-direction: column;
}

.nav-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nav-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
    /* Balanced close spacing */
    opacity: 0.7;
    transition: var(--transition);
}

.social-icon:first-child {
    margin-left: 0;
}

.social-icon svg {
    width: 44px;
    /* Restored original large size */
    height: 44px;
    display: block;
}

/* Adjust Behance logo specifically for better visual alignment */
.social-icon[aria-label="Behance"] svg {
    width: 52px;
    /* Keep Behance slightly larger for visual balance */
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Main Container */
.container {
    padding: calc(var(--nav-height) + 4vw) 4vw 4vw;
    /* Restored original spacing for home page */
}

/* Home Grid Layout - 6 Column Grid Math */
.work-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

/* Work Item Grid Spans */
.work-item.grid-3 {
    grid-column: span 2;
    /* 3 items per row */
}

.work-item.grid-2 {
    grid-column: span 3;
    /* 2 items per row */
}

/* Work Item Base Styling */
.work-item {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #fff;
    border-radius: 4px;
    aspect-ratio: 4/5;
    /* Keep consistent vertical aspect ratio for portfolio */
}

.work-item.grid-2 {
    aspect-ratio: 1/1;
    /* Square ratio to reduce overall height while staying balanced */
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Effect details */
.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 33, 33, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2.5rem 20px 34px 20px;
    /* Aligned with line bottom (32px + 2px gap) */
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-info {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding-bottom: 8px;
    /* 2-3 clicks higher as requested */
    color: #ffffff;
    transform: translateY(15px);
    /* Smooth slide up */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-arrow {
    width: 22px;
    /* Even more minimal */
    height: 22px;
    flex-shrink: 0;
}

.work-overlay::after {
    content: '';
    position: absolute;
    bottom: 32px;
    /* Precision position for the line */
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover .work-info {
    transform: translateY(0);
    /* Ends exactly at the padding edge */
}

.work-item:hover .work-overlay::after {
    transform: scaleX(1);
}

.work-overlay h2 {
    color: #ffffff;
    font-size: 1rem;
    /* Slightly more minimal */
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Global Project Gallery Spacing (for project pages) */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: textFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

/* Shared Project and Contact Header Styles */
.project-header,
.contact-heading {
    margin-top: -3vw;
    /* Pulls content up towards navbar specifically for project pages */
    margin-bottom: 2vw;
    display: flex;
    flex-direction: column;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    width: fit-content;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    grid-row: 1;
    grid-column: 3;
    justify-self: end;
    align-self: center;
    margin-left: 0.6rem;
    /* Tight gap between meta and button */
}

.project-link-btn span {
    position: relative;
}

.project-link-btn span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-link-btn:hover span::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.project-link-btn:hover {
    background: #ffd1dc;
    /* Soft Pastel Pink */
    border-color: #ffd1dc;
    transform: translateY(-2px);
}

.project-link-btn svg {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 2;
}

/* Custom Underlines for Text */
.highlight-underlined {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.highlight-underlined::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Typing Effect for About Page */
.typing-wrapper {
    display: inline-block;
    overflow: hidden;
    white-space: normal;
    animation: typingReveal 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes typingReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    column-gap: 3rem;
    align-items: center;
    margin-top: 0vw; /* Brought closer back to navbar */
    margin-bottom: 2vw;
}

/* Specific adjustment for TikTok project */
.tiktok-header.project-header {
    column-gap: 3rem;
    /* Elegant gap for TikTok too */
    row-gap: 0.6rem;
}

/* TikTok specific: Meta under title on left */
.tiktok-header .project-title {
    grid-row: 1;
    grid-column: 1 / span 2;
    /* Take up space to push button to far right */
    justify-self: start;
    transform: translateY(-5px);
}

.tiktok-header .project-meta {
    grid-row: 2;
    grid-column: 1 / span 2;
    justify-self: start;
    /* Snap to left as requested earlier */
    transform: translateY(-5px);
    margin-top: 0.2rem;
}

.tiktok-header .project-link-btn {
    grid-row: 1 / span 2;
    /* Center vertically relative to title/meta block */
    grid-column: 3;
    justify-self: end;
}

.project-header-top,
.project-header-bottom {
    display: contents;
}

.project-header-divider {
    grid-column: 1 / span 3;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    margin: 1.2rem 0;
}

.project-description {
    grid-column: 1 / span 2;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    max-width: 600px;
    margin: 0;
}

.project-header-top {
    display: contents !important;
    /* Force grid behavior to work on children */
}

.contact-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.5rem 0 1rem;
    gap: 2rem;
    position: relative;
}

/* Bottom line now handled by .project-header-divider in the HTML */
.contact-heading::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    display: block;
    bottom: 0;
}

.project-title,
.contact-heading h1 {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    letter-spacing: -0.02em;
    margin: 0;
    margin-right: 1.5rem;
    /* Gap between title and next element */
    font-weight: 600;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    grid-column: 3;
    /* For other projects, snap to the far right */
    justify-self: end;
}

.project-meta span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

.project-meta .meta-divider {
    width: 0.5px;
    height: 12px;
    background: #ccc;
    display: inline-block;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    max-width: 520px;
    margin-top: 1.2rem;
}

.gallery-item {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background-color: transparent;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; /* Added for zoom icons */
}

.gallery-item img {
    width: 100%;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Clean Full-Width Stack for Dore Typeface Detail Page */
.typeface-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .typeface-grid {
        gap: 20px !important;
    }
}

.typeface-grid .gallery-item {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
}

.typeface-grid .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Ira Typeface Specific Grid */
.ira-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 4vw auto !important;
}

.ira-grid .gallery-item.full-width {
    grid-column: span 2 !important;
}

@media (max-width: 768px) {
    .ira-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Minimal Zoom Icon Effect */
.has-zoom .zoom-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    z-index: 2;
}

.gallery-item.has-zoom:hover .zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

.zoom-icon svg {
    width: 14px;
    height: 14px;
}

/* Responsive adjustments for header elements */
@media (max-width: 768px) {
    .project-header {
        grid-template-columns: 1fr auto;
        gap: 0.8rem 1rem;
        align-items: start;
        margin-top: 4vw; /* Balanced mobile spacing */
        margin-bottom: 12vw;
        width: 100%;
    }

    /* Standard spacing for all project headers on mobile */

    .project-header-top,
    .project-header-bottom {
        display: contents;
    }

    .project-title {
        grid-column: 1 / span 2;
        grid-row: 1;
        margin-bottom: 0.2rem;
        margin-right: 0;
        text-align: left;
    }

    .tiktok-header .project-link-btn,
    .project-link-btn {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
        justify-self: start !important;
        margin-left: 0 !important;
        margin-top: 1.5rem !important;
        margin-bottom: 0.5rem !important;
        transform: none !important;
        text-align: left;
    }

    .project-meta {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .project-header-divider {
        grid-column: 1 / span 2;
        grid-row: 4;
        margin: 1rem 0;
        width: 100%;
    }

    .project-description {
        grid-column: 1 / span 2;
        grid-row: 5;
        max-width: 100%;
    }

    /* TikTok and others: ensure top part is visible if requested */
    .pos-top {
        object-position: top !important;
    }

    /* TikTok and others: ensure top part is visible if requested */
}

/* Lightbox Styles (Shared) */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
    box-sizing: border-box;
}

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

.lightbox-close {
    position: fixed;
    top: 28px;
    right: 36px;
    width: 44px;
    height: 44px;
    background: rgba(33, 33, 33, 0.05);
    border: 1px solid rgba(33, 33, 33, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s, transform 0.2s;
    color: #212121;
    font-size: 1.1rem;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(33, 33, 33, 0.08);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .project-gallery {
        gap: 20px;
        /* Reduced gap on mobile */
    }
}


.work-item:hover .image-wrapper img {
    transform: scale(1.06);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-item.grid-3 {
        grid-column: span 1;
    }

    .work-item.grid-3:nth-child(3) {
        grid-column: span 2;
        /* Make the third item full width on tablet */
    }

    .work-item.grid-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-right {
        gap: 1rem;
    }

    .nav-socials {
        display: none;
        /* simple mobile fallback */
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-item.grid-3,
    .work-item.grid-2 {
        grid-column: span 1 !important;
        aspect-ratio: 4/3;
    }
}

/* Footer layout */
.footer {
    padding: 3vw 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
}

.footer-left {
    font-family: var(--font-family);
    font-size: calc(0.75rem - 1px);
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.footer-right {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.footer-email {
    display: inline-block;
    position: relative;
    color: #666;
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #C06C84;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-email:hover {
    color: #C06C84;
    transform: translateY(-2px);
}

.footer-email:hover::after {
    width: 100%;
}

/* Mobile-only footer sections — hidden on desktop */
.footer-top,
.footer-bottom,
.footer-social-mobile {
    display: none;
}

@media (max-width: 768px) {

    /* Hide nav socials on mobile */
    .nav-socials {
        display: none;
    }

    /* Footer becomes vertical and centered on mobile */
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0;
        padding: 10vw 4vw;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-bottom: 0;
    }

    .footer-social-mobile {
        display: flex;
        align-items: center;
        gap: -0.5rem;
        margin-top: 1rem;
    }

    .footer-bottom {
        display: block;
        border-top: none;
        padding-top: 2rem;
        /* 3-4 clicks space */
        width: 100%;
        font-family: var(--font-family);
        font-size: 0.65rem;
        /* Minimalce */
        color: #999;
        opacity: 0.8;
    }

    .footer-left {
        display: none;
        /* hidden — copyright moved into footer-bottom */
    }

    .footer-right {
        display: none;
        /* moved into footer-top */
    }
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(33, 33, 33, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Regular Hover State (Standard Links) */
.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(33, 33, 33, 0.05);
    border-color: transparent;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle & Overlay */
.mobile-menu-trigger {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    margin-right: -10px;
    /* Adjust to align visually if needed */
    z-index: 10001;
    /* Above cursor and everything else */
    transition: var(--transition);
    color: var(--text-color);
    /* Explicitly set color for visibility */
    cursor: pointer;
}

.mobile-menu-trigger svg {
    width: 28px;
    height: 28px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    /* Glassmorphism background */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    /* Left aligned content padding */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: var(--text-color);
    z-index: 10001;
    transition: transform 0.3s ease;
}

.mobile-overlay-close svg {
    width: 28px;
    height: 28px;
}

.mobile-overlay-close:hover {
    transform: rotate(90deg);
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left aligned as requested */
    width: 100%;
    max-width: 400px;
}

.mobile-nav-links a {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    /* Minimal line between links */
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

/* Arrow indicator for mobile links */
.mobile-nav-links a::after {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'%3E%3C/line%3E%3Cpolyline points='7 7 17 7 17 17'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    padding-left: 10px;
    /* Subtle slide interaction */
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::after {
    opacity: 1;
    transform: translateX(0);
}

/* Prevent scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 0 5vw;
    }

    .navbar::after {
        left: 5vw;
        right: 5vw;
    }

    .container {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .nav-right {
        gap: 0.75rem;
        /* Tighter gap on mobile to prevent overflow */
    }

    .nav-subtitle {
        font-size: 0.65rem;
        /* Smaller subtitle on mobile to save space */
    }
}