/* ============================================
   ADILSPORTFOLIO — Minimalist Portfolio
   ============================================ */

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

:root {
    --black: #0d0d0d;
    --white: #fff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --gray-800: #262626;
    --font: 'DM Sans', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --nav-h: 64px;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-h);
    padding: 0 40px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: background 0.3s ease;
}

.nav-logo {
    font-family: var(--font);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.25s ease;
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--black);
    transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--black);
}

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

.nav-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 20px;
    border-left: 1px solid var(--gray-200);
}

.nav-social a {
    color: var(--gray-600);
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-social a:hover {
    color: var(--black);
    transform: scale(1.1);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--black);
    position: absolute;
    left: 0;
    transition: all 0.35s var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ========== HOME GRID (full-width image wall) ========== */
.home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding-top: var(--nav-h);
}

.home-grid-label {
    grid-column: 1 / -1;
    padding: 20px 24px;
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black);
    background: var(--white);
    text-align: center;
}

.home-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-100);
    aspect-ratio: 3/4;
}

.home-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s var(--ease-out);
}

.home-grid-item:hover img {
    transform: scale(1.03);
}

.home-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}

.home-grid-item:hover::after {
    background: rgba(0,0,0,0.04);
}

/* ========== RECENT PROJECTS ========== */
.recent-projects {
    padding: 80px 40px;
}

.section-title {
    font-family: var(--font);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
    color: var(--black);
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.recent-grid .gallery-item {
    border-radius: 10px;
    overflow: hidden;
}

.recent-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s var(--ease-out);
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--gray-200);
    color: var(--black);
}

.btn-ghost:hover {
    border-color: var(--black);
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* ========== GALLERY (fashion/concerts pages) ========== */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-100);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s var(--ease-out);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(0,0,0,0.04);
}

.gallery-item--portrait {
    aspect-ratio: 3/4;
}

.gallery-item--portrait img {
    object-fit: cover;
    object-position: top center;
}

.gallery-item--landscape {
    aspect-ratio: 16/10;
    grid-column: span 2;
}

.gallery-item--landscape img {
    object-fit: cover;
    object-position: center;
}

.gallery-item--square {
    aspect-ratio: 1;
}

.gallery-item--square img {
    object-fit: cover;
    object-position: center;
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 120px 40px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 0.88rem;
    color: var(--gray-600);
    font-weight: 400;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-image {
    position: sticky;
    top: 100px;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-services {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-services li {
    list-style: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-services li i {
    color: var(--gray-400);
    font-size: 0.82rem;
}

/* ========== CONTACT ========== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-info h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-details .item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.contact-details a.item:hover {
    color: var(--black);
}

.contact-details .item i {
    width: 16px;
    color: var(--gray-400);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 4px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font);
    font-size: 0.88rem;
    border: none;
    border-bottom: 1.5px solid var(--gray-200);
    background: transparent;
    color: var(--black);
    transition: border-color 0.3s ease;
    outline: none;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--black);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-400);
}

.alert {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ========== FOOTER ========== */
.footer {
    padding: 48px 40px 24px;
    border-top: 1px solid var(--gray-200);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-name {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.footer-right {
    display: flex;
    gap: 16px;
}

.footer-right a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: var(--black);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 0.7rem;
    color: var(--gray-400);
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(30px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.08);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--black);
}

.lightbox-close {
    top: 24px;
    right: 32px;
    font-size: 1.8rem;
}

.lightbox-prev {
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
}

.lightbox-next {
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 2px;
}

/* ========== EMPTY STATE ========== */
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-400);
}

.gallery-empty i {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.gallery-empty p {
    font-size: 0.85rem;
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.stagger > * {
    opacity: 0;
    transform: translateY(16px);
}

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.04s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.28s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.32s; }

/* ========== REELS ========== */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.reel-item {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-100);
    transform: scale(1);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.reel-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--black);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.reel-play-icon i {
    margin-left: 3px;
}

.reel-item.playing .reel-play-icon {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
}

.reel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.reel-item.playing::after {
    opacity: 0.4;
}

/* Progress bar */
.reel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.2);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reel-item.playing .reel-progress {
    opacity: 1;
}

.reel-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--white);
    transition: width 0.1s linear;
}

/* Page load animation for reels */
.page-load .reel-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.page-load .reel-item:nth-child(1) { animation-delay: 0.1s; }
.page-load .reel-item:nth-child(2) { animation-delay: 0.2s; }
.page-load .reel-item:nth-child(3) { animation-delay: 0.3s; }
.page-load .reel-item:nth-child(4) { animation-delay: 0.4s; }
.page-load .reel-item:nth-child(5) { animation-delay: 0.5s; }
.page-load .reel-item:nth-child(6) { animation-delay: 0.6s; }
.page-load .reel-item:nth-child(7) { animation-delay: 0.7s; }
.page-load .reel-item:nth-child(8) { animation-delay: 0.8s; }
.page-load .reel-item:nth-child(9) { animation-delay: 0.9s; }

/* ========== RESPONSIVE — TABLET (769px–1024px) ========== */
@media (max-width: 1024px) {
    .nav { padding: 0 24px; }

    .nav-right { gap: 24px; }
    .nav-menu { gap: 24px; }
    .nav-social { padding-left: 16px; gap: 12px; }

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

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

    .gallery-item--landscape {
        grid-column: span 2;
    }

    .recent-projects { padding: 60px 24px; }
    .recent-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .about-image {
        position: static;
        max-width: 360px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 24px;
    }

    .section { padding: 64px 24px; }
    .page-header { padding: 110px 24px 40px; }
    .footer { padding: 40px 24px 20px; }
}

/* ========== PAGE LOAD ANIMATION ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.page-load .nav {
    animation: fadeIn 0.6s ease forwards;
}

.page-load .page-header h1 {
    opacity: 0;
    animation: fadeInUp 0.7s ease 0.2s forwards;
}

.page-load .page-header p {
    opacity: 0;
    animation: fadeInUp 0.7s ease 0.35s forwards;
}

.page-load .home-grid-item {
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

.page-load .home-grid-item:nth-child(1) { animation-delay: 0.1s; }
.page-load .home-grid-item:nth-child(2) { animation-delay: 0.15s; }
.page-load .home-grid-item:nth-child(3) { animation-delay: 0.2s; }
.page-load .home-grid-item:nth-child(4) { animation-delay: 0.25s; }
.page-load .home-grid-item:nth-child(5) { animation-delay: 0.3s; }
.page-load .home-grid-item:nth-child(6) { animation-delay: 0.35s; }
.page-load .home-grid-item:nth-child(7) { animation-delay: 0.4s; }
.page-load .home-grid-item:nth-child(8) { animation-delay: 0.45s; }
.page-load .home-grid-item:nth-child(9) { animation-delay: 0.5s; }

.page-load .gallery-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.page-load .gallery-item:nth-child(1) { animation-delay: 0.1s; }
.page-load .gallery-item:nth-child(2) { animation-delay: 0.15s; }
.page-load .gallery-item:nth-child(3) { animation-delay: 0.2s; }
.page-load .gallery-item:nth-child(4) { animation-delay: 0.25s; }
.page-load .gallery-item:nth-child(5) { animation-delay: 0.3s; }
.page-load .gallery-item:nth-child(6) { animation-delay: 0.35s; }
.page-load .gallery-item:nth-child(7) { animation-delay: 0.4s; }
.page-load .gallery-item:nth-child(8) { animation-delay: 0.45s; }
.page-load .gallery-item:nth-child(9) { animation-delay: 0.5s; }
.page-load .gallery-item:nth-child(10) { animation-delay: 0.55s; }
.page-load .gallery-item:nth-child(11) { animation-delay: 0.6s; }
.page-load .gallery-item:nth-child(12) { animation-delay: 0.65s; }

.page-load .contact-info,
.page-load .contact-form {
    opacity: 0;
    animation: fadeInUp 0.7s ease 0.3s forwards;
}

.page-load .contact-form {
    animation-delay: 0.45s;
}

.page-load .footer {
    opacity: 0;
    animation: fadeIn 0.6s ease 0.5s forwards;
}

/* ========== RESPONSIVE — MOBILE (≤768px) ========== */
@media (max-width: 768px) {
    :root { --nav-h: 56px; }

    .nav {
        padding: 0 16px;
    }

    .nav-logo {
        font-size: 0.82rem;
        z-index: 1002;
        position: relative;
    }

    /* Full-screen mobile menu overlay */
    .nav-right {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 48px;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: opacity 0.45s ease, transform 0.45s var(--ease-out), visibility 0s 0.45s;
    }

    .nav-right.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.45s ease, transform 0.45s var(--ease-out), visibility 0s 0s;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-right.open .nav-menu li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-right.open .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
    .nav-right.open .nav-menu li:nth-child(2) { transition-delay: 0.18s; }
    .nav-right.open .nav-menu li:nth-child(3) { transition-delay: 0.26s; }
    .nav-right.open .nav-menu li:nth-child(4) { transition-delay: 0.34s; }

    .nav-menu a {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .nav-menu a::after { display: none; }

    .nav-social {
        border-left: none;
        padding-left: 0;
        gap: 32px;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.35s ease 0.3s, transform 0.35s ease 0.3s;
    }

    .nav-right.open .nav-social {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-social a {
        font-size: 1.4rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1002;
    }

    /* Home grid — 2 columns on mobile */
    .home-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }

    .home-grid-item {
        aspect-ratio: 3/4;
    }

    /* Gallery pages */
    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }

    .gallery-item--landscape {
        grid-column: span 2;
    }

    .gallery-item--portrait {
        aspect-ratio: 3/4;
    }

    .gallery-item--portrait img {
        object-fit: cover;
        object-position: top center;
    }

    .gallery-item--square {
        aspect-ratio: 1;
    }

    /* Reels — single column on mobile, scrollable */
    .reels-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
        max-width: 400px;
    }

    .reel-item {
        border-radius: 16px;
    }

    .reel-item:hover {
        transform: none;
        box-shadow: none;
    }

    .reel-play-icon {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }

    /* Recent Projects */
    .recent-projects { padding: 48px 16px; }
    .section-title { font-size: 1.2rem; margin-bottom: 20px; }
    .recent-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .recent-grid .gallery-item { border-radius: 8px; }

    /* Sections */
    .section { padding: 40px 16px; }
    .page-header { padding: 80px 16px 24px; }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .page-header p {
        font-size: 0.8rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }

    .about-image {
        position: static;
        max-width: 100%;
        aspect-ratio: 4/3;
    }

    .about-content h2 { font-size: 1.3rem; }
    .about-content p { font-size: 0.85rem; }

    .about-services {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 28px;
    }

    .about-services li {
        font-size: 0.8rem;
        padding: 12px 0;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 16px;
    }

    .contact-info h2 { font-size: 1.2rem; }

    .contact-info > p {
        font-size: 0.82rem;
        margin-bottom: 20px;
    }

    .contact-details { gap: 12px; }
    .contact-details .item { font-size: 0.82rem; }

    .contact-form { gap: 16px; }

    .contact-form label { font-size: 0.65rem; }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        padding: 10px 0;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.82rem;
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer { padding: 32px 16px 16px; }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .footer-name { font-size: 0.85rem; }
    .footer-tagline { font-size: 0.7rem; }
    .footer-bottom p { font-size: 0.65rem; }

    /* Lightbox */
    .lightbox-close { top: 16px; right: 16px; font-size: 1.5rem; }
    .lightbox-prev { left: 8px; font-size: 1.8rem; }
    .lightbox-next { right: 8px; font-size: 1.8rem; }
    .lightbox-counter { bottom: 16px; font-size: 0.7rem; }
    .lightbox-img { max-width: 96vw; max-height: 80vh; }
}

/* ========== RESPONSIVE — SMALL PHONES (≤480px) ========== */
@media (max-width: 480px) {
    .home-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .home-grid-item {
        aspect-ratio: 3/4;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .gallery-item--landscape {
        grid-column: span 1;
    }

    .nav-menu a {
        font-size: 2.2rem;
    }

    .nav-social a {
        font-size: 1.5rem;
    }

    .section-title { font-size: 1.2rem; }
    .page-header h1 { font-size: 1.2rem; }
}
