/* style.css - Core Design System for FRAME99.STUDIO */

:root {
    --bg-color: #070707; /* True Obsidian Black */
    --card-bg: #111111;
    --text-primary: #f5f4f1;
    --text-secondary: #8a8782;
    --accent: #aba69f;
    --accent-blue: #708090;
    --border-color: rgba(245, 244, 241, 0.08);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-smooth: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-sans);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 300;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

/* Typography Helpers */
h1, h2, h3, .serif-font {
    font-family: var(--font-serif);
}

.text-uppercase {
    text-transform: uppercase;
}

.letter-spacing-lg {
    letter-spacing: 4px;
}

.letter-spacing-xl {
    letter-spacing: 8px;
}

/* Section Layouts */
section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
    section {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
}

/* LANDING HERO SECTION */
.hero {
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: none;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 7, 0.95); /* Dark initially during intro */
    z-index: 3;
    transition: background 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* After intro — remove overlay completely */
header.site-header.visible ~ .hero .hero-overlay {
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.5s;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-wordmark {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 14px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-wordmark span {
    font-weight: 600;
    color: var(--text-primary);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: 20px;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-footer-text {
    font-size: 9.5px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-top: 1px solid rgba(245, 244, 241, 0.1);
    padding-top: 15px;
    width: 200px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    cursor: pointer;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: heroFadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.8s, bounce 2s infinite 3s;
}

.scroll-text {
    font-size: 8px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.scroll-indicator:hover .scroll-text {
    color: var(--accent);
}

.scroll-indicator svg {
    fill: var(--text-secondary);
    width: 20px;
    height: 20px;
    transition: fill 0.3s;
}

.scroll-indicator:hover svg {
    fill: var(--accent);
}

/* HERO NAV ARROWS */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(245, 244, 241, 0.25);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s, transform 0.3s, opacity 1.5s ease;
    padding: 20px;
    user-select: none;
    opacity: 0;
    pointer-events: none;
}

.hero-nav-arrow.visible {
    opacity: 1;
    pointer-events: all;
}

.hero-nav-arrow:hover {
    color: var(--text-primary);
}

.hero-nav-arrow.prev {
    left: 40px;
}
.hero-nav-arrow.prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.hero-nav-arrow.next {
    right: 40px;
}
.hero-nav-arrow.next:hover {
    transform: translateY(-50%) translateX(4px);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* AMBIENT SPLINE CANVAS BACKGROUND */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: #070707;
}

#splineCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}


/* INTRO CINEMATIC LOADING ANIMATION OVERLAY */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #070707;
    z-index: 10001; /* ABOVE the header during intro */
    pointer-events: all;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.intro-overlay.exit {
    opacity: 0;
    pointer-events: none;
}

/* Intro animation elements (inside overlay) */
.intro-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform, opacity;
}

.intro-logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.intro-half {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

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

.intro-half.left {
    clip-path: inset(0 50% 0 0);
}

.intro-half.right {
    clip-path: inset(0 0 0 50%);
}

.intro-text {
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 8px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-top: 20px;
    white-space: nowrap;
    will-change: transform, opacity;
}

.intro-text span {
    font-weight: 600;
}

/* NAV HEADER & UNIFIED LOGO TRANSITION */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
    background-color: var(--bg-color);
}

.header-logo-container {
    position: fixed;
    top: 25px;
    left: 80px;
    transform: translate(0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    pointer-events: all;
    transition: top 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                left 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Centered state for intro animation */
.header-logo-container.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
}

.logo-animation-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                height 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-logo-container.centered .logo-animation-wrapper {
    width: 120px;
    height: 120px;
}

.split-logo-part {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(0); /* Default to combined */
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-logo-part img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.split-logo-part.left {
    clip-path: inset(0 50% 0 0);
}

.split-logo-part.right {
    clip-path: inset(0 0 0 50%);
}

/* Base split positions (static before animation starts) */
.header-logo-container.centered .split-logo-part.left {
    transform: translateX(-50vw);
}

.header-logo-container.centered .split-logo-part.right {
    transform: translateX(50vw);
}

/* Split logo animation is handled by JavaScript Web Animations API */

.header-brand {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 4px;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 12px;
    white-space: nowrap;
    opacity: 1;
    max-width: 300px;
    transform: translateX(0);
    transition: font-size 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                letter-spacing 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                margin-left 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1.5s cubic-bezier(0.25, 1, 0.5, 1),
                max-width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-brand span {
    font-weight: 600;
}

/* Centered wordmark state */
.header-logo-container.centered .header-brand {
    font-size: 18px;
    letter-spacing: 12px;
    margin-left: 25px;
    opacity: 0;
    transform: translateX(20px);
}

/* Brand text intro animation is handled by JavaScript */

.header-nav {
    display: flex;
    gap: 35px;
    margin-left: auto; /* Push nav to the right */
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s ease;
}

header.site-header.visible .header-nav {
    opacity: 1;
    pointer-events: all;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition-quick);
    position: relative;
    padding: 4px 0;
}

.header-nav a:hover {
    color: var(--text-primary);
}

.header-nav a.active {
    color: var(--text-primary);
}

/* Bracket indicators [ ] instead of underline */
.header-nav a::before,
.header-nav a::after {
    display: inline;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--accent);
    font-weight: 300;
    font-size: 12px;
}

.header-nav a::before {
    content: "[  ";
}

.header-nav a::after {
    content: "  ]";
}

.header-nav a.active {
    color: var(--text-primary);
    font-weight: 600;
}

.header-nav a.active::before,
.header-nav a.active::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    header.site-header {
        padding: 25px 40px;
    }
    .header-logo-container {
        top: 25px;
        left: 40px;
    }
}


/* VISION / PHILOSOPHY SECTION */
.vision {
    min-height: 25vh;
    padding: 50px 80px;
    background-color: var(--bg-color);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 80px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.vision-left {
    opacity: 0;
    transform: translateY(30px);
}

.vision-num {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 20px;
}

.vision-quote {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.35;
    font-style: normal;
    color: var(--text-primary);
}

.vision-quote em strong {
    font-style: italic;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.vision-right {
    border-left: 1px solid var(--border-color);
    padding-left: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.vision-body {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 2.1;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .vision-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 40px;
    }
    .vision-quote {
        font-size: 32px;
    }
}

/* PORTFOLIO SHOWCASE SECTION */
.portfolio {
    background-color: var(--bg-color);
}

.section-title-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 60px auto;
}

.section-num {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Asymmetric Editorial Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.project-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

/* Clean Aligned Grid */
.project-image-box {
    width: 100%;
    aspect-ratio: 3/2; /* Uniform 3:2 ratio */
    overflow: hidden;
    position: relative;
    background-color: #111111;
    margin-bottom: 20px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-label-block {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 4px;
}

.project-card-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition-quick);
}

.project-card:hover .project-card-title {
    color: var(--accent);
}

.project-card-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .portfolio-grid {
        gap: 30px;
    }
    .project-card {
        grid-column: span 12;
    }
}

/* LIGHTBOX DETAIL MODAL */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 11, 11, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-close-btn {
    position: fixed;
    top: 35px;
    right: 45px;
    font-size: 28px;
    font-weight: 200;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 1010;
    transition: var(--transition-quick);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 244, 241, 0.04);
}

.modal-close-btn:hover {
    color: var(--text-primary);
    background: rgba(245, 244, 241, 0.1);
    transform: rotate(90deg);
}

.modal-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 45px;
}

.modal-title-left {
    display: flex;
    align-items: baseline;
}

.modal-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 54px;
    color: var(--accent);
    margin-right: 20px;
    line-height: 1;
}

.modal-title {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.modal-meta-right {
    font-size: 8.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Lightbox Content List (Original Ratio Display) */
.modal-hero-box {
    width: 100%;
    margin-bottom: 45px;
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-hero-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.modal-supporting-section {
    width: 100%;
    margin-top: 45px;
}

.modal-supporting-title {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 25px;
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}

.supporting-list-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.supporting-img-wrapper {
    width: 100%;
    max-width: 1100px;
    background: #0d0d0d;
    border: 1px solid var(--border-color);
}

.supporting-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .modal-container {
        padding: 80px 20px;
    }
    .modal-num {
        font-size: 38px;
    }
    .modal-title {
        font-size: 18px;
    }
}

/* LEVEL 2 FULLSCREEN ZOOM MODAL */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 20000; /* Above all overlays */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal.active {
    opacity: 1;
    pointer-events: all;
}

.zoom-content-box {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(245, 244, 241, 0.05);
    user-select: none;
    transition: transform 0.4s ease;
}

.zoom-close-btn {
    position: fixed;
    top: 35px;
    right: 45px;
    font-size: 28px;
    font-weight: 200;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 20010;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(245, 244, 241, 0.04);
    transition: all 0.3s ease;
}

.zoom-close-btn:hover {
    color: var(--text-primary);
    background: rgba(245, 244, 241, 0.1);
    transform: rotate(90deg);
}

.zoom-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: rgba(245, 244, 241, 0.25);
    cursor: pointer;
    z-index: 20005;
    transition: color 0.3s, transform 0.3s, opacity 0.3s;
    padding: 30px;
    user-select: none;
    opacity: 0;
}

/* Show arrows on hover of the zoom modal */
.zoom-modal:hover .zoom-nav-arrow {
    opacity: 1;
}

.zoom-nav-arrow:hover {
    color: var(--text-primary);
}

.zoom-nav-arrow.prev {
    left: 40px;
}
.zoom-nav-arrow.prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.zoom-nav-arrow.next {
    right: 40px;
}
.zoom-nav-arrow.next:hover {
    transform: translateY(-50%) translateX(4px);
}

@media (max-width: 768px) {
    .zoom-close-btn {
        top: 20px;
        right: 20px;
    }
    .zoom-nav-arrow {
        opacity: 0.7; /* Always visible on mobile */
        padding: 15px;
    }
    .zoom-nav-arrow.prev {
        left: 10px;
    }
    .zoom-nav-arrow.next {
        right: 10px;
    }
}

/* CLOSEUPS QUOTE CAROUSEL */
.quotes {
    background-color: #070707;
    padding: 60px 0;
    overflow: hidden;
}

.quotes-carousel {
    position: relative;
    width: 60%;
    max-width: 60%;
    margin: 0 auto;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.quote-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.quote-slide.active {
    opacity: 1;
    pointer-events: all;
}

.quote-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px 40px 80px;
}

.quote-serif {
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.quote-author {
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.quote-image-side {
    width: 100%;
    height: auto;
    min-height: 560px;
    overflow: hidden;
    border: none;
    border-left: 1px solid var(--border-color);
}

.quote-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quotes-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(245, 244, 241, 0.2);
    cursor: pointer;
    z-index: 10;
    padding: 20px;
    transition: color 0.3s;
    user-select: none;
}

.quotes-nav-arrow:hover {
    color: var(--text-primary);
}

.quotes-nav-arrow.prev {
    left: 20px;
}

.quotes-nav-arrow.next {
    right: 20px;
}

.carousel-nav-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-quick);
}

.carousel-dot.active {
    background-color: var(--accent);
    width: 20px;
    border-radius: 3px;
}

/* CONTACT & FOOTER SECTION */
.contact {
    min-height: auto;
    padding: 40px 80px 25px 80px;
    background-color: var(--bg-color);
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Centered top section: logo + studio name + location */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.contact-logo {
    width: 55px;
    height: auto;
    margin-bottom: 18px;
    opacity: 0.9;
}

.footer-studio-name {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 6px;
    font-weight: 300;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-studio-name span {
    font-weight: 600;
}

.footer-location {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Bottom row: inquiries left, social right */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-right {
    align-items: flex-end;
    text-align: right;
}

.contact-label {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-email {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-quick);
    letter-spacing: 0.5px;
}

.contact-email:hover {
    color: var(--text-primary);
}

/* Social links */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-quick);
}

.social-links a:hover {
    color: var(--text-primary);
}

.social-links a svg {
    transition: var(--transition-quick);
}

.social-links a:hover svg {
    transform: translateY(-2px);
}

/* Copyright */
.footer-credits {
    width: 100%;
    text-align: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 7.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* SCROLL REVEAL EFFECT */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 110;
    position: relative;
    pointer-events: all;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    /* HAMBURGER */
    .hamburger {
        display: block;
    }

    /* HEADER - fixed height so logo & hamburger align perfectly */
    header.site-header {
        height: 60px;
        padding: 0 20px;
        justify-content: flex-end;
        align-items: center;
    }

    .header-logo-container {
        top: 20px; /* (60px - 20px logo) / 2 = 20px — vertically centered */
        left: 20px;
        z-index: 10000;
    }

    .header-logo-container .header-brand {
        opacity: 0;
        pointer-events: none;
        max-width: 0;
        margin-left: 0;
        overflow: hidden;
    }

    /* MOBILE NAV OVERLAY */
    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(7, 7, 7, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        z-index: 100;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                    opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .header-nav.mobile-open {
        transform: translateY(0);
        opacity: 1 !important;
        pointer-events: all !important;
    }

    .header-nav a {
        font-size: 13px;
        letter-spacing: 5px;
        padding: 10px 0;
    }

    /* SECTIONS - Fix min-height for mobile */
    section {
        min-height: auto;
        padding: 50px 20px;
    }

    /* HERO - scale to phone width, maintain 16:9 ratio, no crop */
    .hero {
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
        padding: 0;
        position: relative;
        margin-top: 60px; /* clear the fixed navbar */
    }

    .hero-slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero-slide {
        background-size: cover;
        background-position: center center;
    }

    .hero-nav-arrow {
        padding: 15px;
        font-size: 20px;
    }

    .hero-nav-arrow.prev { left: 10px; }
    .hero-nav-arrow.next { right: 10px; }

    .scroll-indicator { bottom: 25px; display: none; }

    /* INTRO ANIMATION MOBILE */
    .intro-logo-wrap {
        width: 80px;
        height: 80px;
    }

    .intro-text {
        font-size: 11px;
        letter-spacing: 6px;
        margin-top: 15px;
    }

    /* VISION / PROFILE */
    .vision {
        padding: 40px 20px;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .vision-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 25px;
    }

    .vision-quote { font-size: 26px; }
    .vision-body { font-size: 13px; line-height: 1.9; }

    /* PORTFOLIO */
    section.portfolio {
        padding: 50px 20px;
        min-height: auto;
    }

    .section-title-container {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .portfolio-grid {
        gap: 25px;
        max-width: 100%;
    }

    .project-card {
        grid-column: span 12 !important;
    }

    .project-image-box {
        aspect-ratio: 16/10;
    }

    .project-card-title { font-size: 10px; letter-spacing: 2px; }

    /* QUOTES CAROUSEL */
    .quotes {
        padding: 40px 0;
        min-height: auto;
    }

    .quotes-carousel {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        display: block;
    }

    .quote-slide {
        display: none;
        grid-template-columns: 1fr;
        height: auto;
        position: static;
    }

    .quote-slide.active {
        display: block;
        position: relative;
        opacity: 1;
    }

    .quote-text-side {
        padding: 25px 20px;
        text-align: center;
    }

    .quote-image-side {
        height: 250px;
        min-height: 250px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }

    .quote-serif { font-size: 18px; }
    .quotes-nav-arrow { display: none; }

    .carousel-nav-dots {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        display: flex;
        justify-content: center;
        padding: 20px 0 0 0;
    }

    /* CONTACT / FOOTER */
    .contact {
        padding: 30px 20px 20px 20px;
        min-height: auto;
    }

    .footer-center {
        margin-bottom: 30px;
    }

    .contact-logo { width: 45px; margin-bottom: 12px; }
    .footer-studio-name { font-size: 10px; letter-spacing: 5px; }
    .footer-location { font-size: 9px; }

    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        align-items: center;
        text-align: center;
    }

    .footer-credits { padding-top: 15px; margin-top: 25px; font-size: 7px; letter-spacing: 3px; }

    /* LIGHTBOX */
    .modal-container { padding: 70px 15px 40px; }
    .modal-header { flex-direction: column; gap: 10px; }
    .modal-num { font-size: 32px; margin-right: 12px; }
    .modal-title { font-size: 16px; }
    .modal-close-btn { top: 15px; right: 15px; }

    .modal-hero-box { margin-bottom: 30px; }

    .supporting-img-wrapper {
        margin-bottom: 20px;
    }

    /* ZOOM MODAL */
    .zoom-close-btn { top: 15px; right: 15px; }
    .zoom-nav-arrow { opacity: 0.7; padding: 15px; font-size: 22px; }
    .zoom-nav-arrow.prev { left: 5px; }
    .zoom-nav-arrow.next { right: 5px; }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .vision-quote { font-size: 22px; }

    .intro-logo-wrap {
        width: 60px;
        height: 60px;
    }

    .intro-text {
        font-size: 9px;
        letter-spacing: 5px;
        margin-top: 12px;
    }

    .quote-image-side { height: 200px; min-height: 200px; }
    .contact-title { font-size: 12px; letter-spacing: 4px; }

    .section-title { font-size: 18px; }

    .project-label-block { padding: 0 2px; }
    .project-card-title { font-size: 9px; letter-spacing: 1.5px; }
    .project-card-num { font-size: 15px; }
}
