/* ==========================================================================
   1. CORE VARIABLES & SETUP
   ========================================================================== */
:root {
    --bg-color: #030303;     
    --text-primary: #FFFFFF; 
    --text-muted: #888888;   
    --accent: #D4AF37;       
    --border-light: rgba(255, 255, 255, 0.08); 
    
    --font-serif: 'Playfair Display', serif; 
    --font-sans: 'Montserrat', sans-serif;
    --smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

html { background-color: #030303 !important; }

html, body { 
    margin: 0; padding: 0; width: 100%; min-height: 100vh;
    background-color: var(--bg-color) !important; 
    color: var(--text-primary); 
    font-family: var(--font-serif); overflow-x: clip; 
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; 
    overscroll-behavior-y: none;
}

::-webkit-scrollbar { display: none; }
::selection { background: var(--text-primary); color: var(--bg-color); }
a, button { text-decoration: none; color: inherit; outline: none; cursor: pointer; }

/* ==========================================================================
   2. TYPOGRAPHY & ELEGANT CONTAINERS
   ========================================================================== */
.section-padding { padding: 5vw 5vw; } 
.page-header { padding: 12vw 5vw 4vw 5vw; text-align: center; border-bottom: 1px solid var(--border-light); }

.title-large { font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1.1; margin-bottom: 1.5rem; font-weight: 300; letter-spacing: -2px;}
.title-medium { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.5vw, 2.8rem); margin-bottom: 1.5rem; font-weight: 300; line-height: 1.2; letter-spacing: -1px;}

p { font-family: var(--font-sans); font-weight: 400; line-height: 1.8; letter-spacing: 0.5px; }
.text-body { font-family: var(--font-sans); font-size: clamp(0.85rem, 1vw, 0.95rem); line-height: 1.9; color: #EAEAEA; max-width: 500px; font-weight: 400; margin-bottom: 1.5rem; }
.text-large { font-family: var(--font-sans); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.8; color: #EAEAEA; max-width: 650px; font-weight: 400; margin-bottom: 2rem; opacity: 0.75; }

.gold-italic { color: var(--accent); font-style: normal; font-weight: 400; }

.statement-strip { text-align: center; padding: 8vw 5vw 6vw 5vw; display: flex; justify-content: center; }
.statement-text { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 2.2rem); font-weight: 300; letter-spacing: 1px; color: var(--text-primary); line-height: 1.6; max-width: 800px; font-style: italic; opacity: 0.9; }

.grey-text-box { background-color: #121212; padding: 3vw 3.5vw; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.04); box-shadow: 0 20px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; justify-content: center; }
.special-section-separator { border-top: 1px solid var(--border-light); width: 100%; max-width: none; padding-top: 6vw; text-align: center;}

/* ==========================================================================
   3. UNIVERSAL COMPONENTS
   ========================================================================== */
.btn-primary { display: inline-flex; align-items: center; margin-top: 1rem; padding: 0.5rem 0; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 4px; border-bottom: 1px solid rgba(255,255,255,0.2); transition: all 0.4s var(--smooth); color: var(--text-primary); position: relative; font-family: var(--font-sans); font-weight: 500; }
.btn-primary::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0%; height: 1px; background: var(--accent); transition: width 0.4s var(--smooth); }
.btn-primary:hover { padding-left: 10px; padding-right: 10px; color: var(--accent); border-bottom-color: transparent;}
.btn-primary:hover::after { width: 100%; }

.img-container, .about-img-wrap { width: 100%; height: 100%; position: relative; overflow: hidden; background: #080808; transform: translateZ(0); border-radius: 16px; }
.shape-pill { aspect-ratio: 3/4; border-radius: 6px; position: relative; overflow: hidden; background: #080808; transform: translateZ(0); }
.about-img-pill, .about-img-arch { border-radius: 16px; } 

.img-container img, .shape-pill img, .about-img-wrap img, .mosaic-item img { width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); transition: filter 0.8s ease, transform 0.8s var(--smooth); will-change: transform; }
.img-container:hover img, .shape-pill:hover img, .about-img-wrap:hover img, .mosaic-item:hover img { filter: brightness(1.1); transform: scale(1.03) translateZ(0); }

/* ==========================================================================
   4. NAVIGATION & LOGO
   ========================================================================== */
nav { 
    position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 5vw; 
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 1000; background-color: transparent; transition: padding 0.4s ease, background-color 0.4s ease; 
}
nav.scrolled { 
    padding: 0.8rem 5vw; 
    background-color: rgba(3, 3, 3, 0.98); backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light); 
}

.logo { display: flex; align-items: center; z-index: 1002; position: relative; transition: opacity 0.4s ease; }
.logo:hover { opacity: 0.7; }
.logo-svg { max-width: 110px; height: auto; display: block; margin-top: 0; }

.menu-toggle { display: none; color: var(--text-primary); font-size: 1.2rem; z-index: 1002; cursor: pointer;}
.nav-links { display: flex; gap: 3vw; list-style: none; }
.nav-links a { font-family: var(--font-sans); font-size: 0.6rem; text-transform: uppercase; font-weight: 500; letter-spacing: 3px; transition: color 0.4s ease, opacity 0.4s ease; opacity: 0.5; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0%; height: 1px; background: var(--text-primary); transition: width 0.4s var(--smooth); }
.nav-links a:hover::after, .nav-links a.active-link::after { width: 100%; }
.nav-links a:hover, .nav-links a.active-link { opacity: 1; color: var(--text-primary); }

/* ==========================================================================
   5. UNIVERSAL GRIDS & GALLERY LAYOUTS
   ========================================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; max-width: 1200px; margin: 0 auto; }
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: stretch; margin: 0 auto 4rem auto; max-width: 1200px; }
.match-grid.reverse { direction: rtl; } 
.match-grid.reverse > div { direction: ltr; } 

.collections-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2vw; max-width: 1200px; margin: 0 auto; }
.collection-card { text-align: center; display: block; transition: opacity 0.4s ease; }
.collection-card h3 { font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-primary); margin-top: 1.2rem; font-weight: 500; text-transform: uppercase; letter-spacing: 3px;}
.collection-card:hover { opacity: 0.6; }

/* Home Page Mosaic Gallery */
.mosaic-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1vw; grid-auto-flow: dense; max-width: 1200px; margin: 0 auto; }
.mosaic-item { position: relative; overflow: hidden; background: #080808; transform: translateZ(0); }
.mosaic-sq { grid-column: span 1; grid-row: span 1; aspect-ratio: 1/1; }
.mosaic-vert { grid-column: span 1; grid-row: span 2; aspect-ratio: 1/2; }
.mosaic-horiz { grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1; }
.mosaic-large { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }

/* Archives Page Masonry Grid */
.masonry { column-count: 3; column-gap: 2vw; padding-top: 1rem; max-width: 1200px; margin: 0 auto;}
.masonry-item { break-inside: avoid; margin-bottom: 2vw; overflow: hidden; transform: translateZ(0);}
.masonry-item img { width: 100%; display: block; transition: transform 0.8s ease; will-change: transform; border-radius: 12px;}
.masonry-item:hover img { transform: scale(1.03); }

.video-hero { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; aspect-ratio: 21/9; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 16px; transform: translateZ(0);}
.video-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); transition: filter 0.8s ease, transform 1s var(--smooth); }
.play-btn { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--text-primary); z-index: 2; transition: letter-spacing 0.4s ease; font-weight: 500;}
.video-hero:hover img { filter: brightness(0.8); transform: scale(1.02); }
.video-hero:hover .play-btn { letter-spacing: 8px; color: var(--accent); }

/* ==========================================================================
   6. LOCATIONS & DIRECTORY specific
   ========================================================================== */
.locations-wrapper { max-width: 1200px; margin: 0 auto; }
.premium-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 5rem; }
.destination-card { background: linear-gradient(145deg, #121212 0%, #0a0a0a 100%); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 3rem 2.5rem; display: flex; flex-direction: column; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; }
.destination-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent); opacity: 0; transition: opacity 0.5s ease; }
.destination-card:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, 0.15); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); }
.destination-card:hover::before { opacity: 1; }
.card-region-tag { font-family: var(--font-sans); font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 1.5rem; font-weight: 500; display: inline-block; }
.card-title { font-family: var(--font-serif); font-size: 2.2rem; color: var(--text-primary); margin-bottom: 1rem; font-weight: 300; letter-spacing: 1px; }
.card-text { font-family: var(--font-sans); font-size: 0.85rem; line-height: 1.8; color: var(--text-muted); margin: 0; font-weight: 400; }

.directory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--border-light); padding-top: 5rem; }
.directory-column h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--accent); margin-bottom: 2rem; font-weight: 300; letter-spacing: 1px; } 

.directory-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; list-style: none; padding: 0; margin: 0; }
.directory-list.single-col { grid-template-columns: 1fr; }
.directory-list li { font-family: var(--font-sans); font-size: 0.95rem; color: rgba(255, 255, 255, 0.95); font-weight: 400; letter-spacing: 0.5px; transition: color 0.3s ease; cursor: default; display: flex; align-items: center; } 
.directory-list li:hover { color: var(--accent); }

/* ==========================================================================
   7. REVIEWS MARQUEE
   ========================================================================== */
.reviews-marquee-container { width: 100%; overflow: hidden; padding: 2rem 0; display: flex; position: relative; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);}
.reviews-marquee-container::before, .reviews-marquee-container::after { content: ''; position: absolute; top: 0; bottom: 0; width: 15vw; z-index: 2; pointer-events: none; }
.reviews-marquee-container::before { left: 0; background: linear-gradient(to right, var(--bg-color), transparent); }
.reviews-marquee-container::after { right: 0; background: linear-gradient(to left, var(--bg-color), transparent); }
.reviews-marquee { display: flex; width: max-content; animation: scroll-reviews 80s linear infinite; will-change: transform; }
.reviews-marquee:hover { animation-play-state: paused; }
.clean-review { width: 450px; margin-right: 6vw; display: flex; flex-direction: column; justify-content: center; padding: 1rem 0;}
.clean-stars { color: var(--accent); font-size: 0.6rem; letter-spacing: 4px; margin-bottom: 1rem; opacity: 0.8;}
.clean-review-text { font-family: var(--font-sans); font-size: clamp(0.9rem, 1.2vw, 1rem); line-height: 1.8; color: var(--text-primary); margin-bottom: 1.5rem; font-weight: 400;}
.clean-reviewer { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--border-light); padding-top: 1rem;}
.clean-reviewer i.fa-google { font-size: 1rem; color: var(--text-muted);}
.clean-reviewer-info h4 { font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-primary); font-weight: 500; letter-spacing: 1px; text-transform: uppercase;}
.clean-reviewer-info p { font-family: var(--font-sans); font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-top: 0.2rem;}
@keyframes scroll-reviews { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   8. CONTACT FORM
   ========================================================================== */
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full-width { grid-column: span 2; }
.form-field label { font-family: var(--font-sans); font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 0.8rem 1rem; font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-primary); outline: none; transition: border-color 0.3s ease, background 0.3s ease; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255, 255, 255, 0.2); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.05); }
.form-field select { appearance: none; color: rgba(255, 255, 255, 0.5); }
.form-field select option { background: var(--bg-color); color: var(--text-primary); }
.form-field textarea { resize: vertical; }

.btn-submit { background-color: var(--accent); color: #000; border: none; border-radius: 8px; padding: 1rem; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; grid-column: span 2; margin-top: 0.5rem; }
.btn-submit:hover { background-color: #FFF; transform: translateY(-2px); }

/* ==========================================================================
   9. PREMIUM FOOTER
   ========================================================================== */
.premium-footer { padding: 4vw 0 0 0; width: 100%; border-top: 1px solid var(--border-light); }
.footer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; padding: 0 5vw 3vw 5vw; text-align: left; max-width: 1200px; margin: 0 auto;}
.footer-col h4 { font-family: var(--font-sans); color: var(--accent) !important; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 1.5rem; font-weight: 500;}
.footer-col p { font-family: var(--font-sans); color: rgba(255, 255, 255, 0.85); font-size: 0.8rem; line-height: 2; font-weight: 400;}
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { font-family: var(--font-sans); color: rgba(255, 255, 255, 0.85); font-size: 0.8rem; transition: color 0.3s ease; text-transform: uppercase; letter-spacing: 2px; font-weight: 400;}
.footer-links a:hover { color: var(--accent); }

.footer-divider-line { width: 100%; height: 1px; background-color: var(--border-light); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 1.5rem 5vw; }
.footer-bottom-left { flex: 1; display: flex; justify-content: flex-start; }
.footer-bottom-center { flex: 1; text-align: center; }
.footer-bottom-right { flex: 1; text-align: right; }
.footer-bottom p { font-family: var(--font-sans); color: rgba(255, 255, 255, 0.6); font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; font-weight: 500;}

/* ==========================================================================
   10. POETRY GALLERY (DENSE IMAGE GRID)
   ========================================================================== */
.gs-up { will-change: transform, opacity; transform: translateZ(0); backface-visibility: hidden; }

.poetry-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; /* Fixed equal spacing */
    max-width: 1100px;
    margin: 0 auto;
    grid-auto-flow: dense; 
}

.pg-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px; 
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    transform: translateZ(0);
}

.pg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    will-change: transform;
    display: block;
}

.pg-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.15);
}

.pg-vert {
    grid-column: span 1;
    aspect-ratio: 4/5; 
}

.pg-horiz {
    grid-column: span 2;
    aspect-ratio: 16/9; 
}

/* ==========================================================================
   11. THE RESPONSIVE ENGINE
   ========================================================================== */
@media (max-width: 1024px) {
    .match-grid, .grid-2 { gap: 4vw; }
    .page-header { padding: 15vw 5vw 5vw 5vw; }
    .mosaic-gallery { grid-template-columns: repeat(3, 1fr); gap: 1.5vw; }
    .masonry { column-count: 2; }
}

@media (max-width: 768px) {
    nav { padding: 1.5rem 5vw !important; }
    .logo-svg { max-width: 90px; }
    
    .section-padding { padding: 12vw 6vw; }
    .page-header { padding: 25vw 6vw 8vw 6vw; }
    .hero h1 { font-size: 15vw !important; letter-spacing: 0px !important; }
    .hero h2 { font-size: 0.55rem !important; letter-spacing: 7px !important; margin: 5px -7px 15px 0 !important; }
    
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 80px; left: 5vw; width: 90vw; background-color: #121212; border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.8); padding: 2.5rem 0; flex-direction: column; justify-content: center; align-items: center; z-index: 999; gap: 2rem; opacity: 0; visibility: hidden; transform: translateY(-15px); transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease; }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links a { font-size: 1rem; letter-spacing: 4px; opacity: 1; }

    .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
    .match-grid { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; margin-bottom: 3.5rem;}
    .match-grid > div { direction: ltr !important; }
    .grey-text-box { padding: 2rem; }
    .img-container, .about-img-wrap { aspect-ratio: 4/5; height: auto; }
    .collections-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2rem; scrollbar-width: none; margin: 0 -6vw; padding: 0 6vw 2rem 6vw; }
    .collections-grid::-webkit-scrollbar { display: none; }
    .collection-card { flex: 0 0 65vw; scroll-snap-align: center; }
    .mosaic-gallery { grid-template-columns: repeat(2, 1fr); gap: 2vw; }
    .masonry { column-count: 1; column-gap: 0; }
    
    .contact-form-grid { grid-template-columns: 1fr; }
    .form-field.full-width, .btn-submit { grid-column: span 1; }
    .clean-review { width: 85vw; margin-right: 10vw;}
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    
    /* Perfect Center Footer Update */
    .footer-bottom { flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
    .footer-bottom-left { width: 100%; display: flex; justify-content: center; margin-bottom: 0.5rem; }
    .footer-bottom-left .logo { margin: 0 auto; display: inline-block; translate: 25px; }
    .footer-bottom-center, .footer-bottom-right { width: 100%; text-align: center !important; }

    /* Poetry Gallery Mobile Update */
    .poetry-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px; /* Fixed equal spacing for mobile */
    }
    .pg-horiz {
        grid-column: span 2;
    }

    /* =========================================================
       1. GALLERY FIX: Prevent the single left-out photo
       ========================================================= */
    /* Forces the last item in the grid to span both columns and changes 
       it to a horizontal format so it fills the empty space beautifully */
    .poetry-gallery .pg-item:last-child {
        grid-column: span 2;
        aspect-ratio: 16/9; 
    }

    /* =========================================================
       2. POETRY PAGE FIX: Mobile responsiveness for iframes
       ========================================================= */
    /* Stacks the Instagram Reels, Posts, and YouTube Shorts vertically */
    .reels-grid, .post-grid, .video-grid {
        grid-template-columns: 1fr;
        gap: 8vw;
    }

    /* Centers the section titles and social icons */
    .social-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    /* Ensures the video wrappers don't stretch too tall on wide phones */
    .yt-wrapper, .pure-ig-wrapper {
        max-width: 340px;
        width: 100%;
        margin: 0 auto;
    }
/* Perfect Center Footer Update */
    .footer-bottom { flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
    .footer-bottom-left { width: 100%; display: flex; justify-content: center; margin-bottom: 0.5rem; }
    .footer-bottom-left .logo { margin: 0 auto; display: inline-block; translate: 25px; }
    .footer-bottom-center, .footer-bottom-right { width: 100%; text-align: center !important; }

    /* Poetry Gallery Mobile Update */
    .poetry-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px; /* Fixed equal spacing for mobile */
    }
    .pg-horiz {
        grid-column: span 2;
    }

    /* 👇 ADD THE NEW RULES HERE 👇 */
    /* Ensures mobile stays organized for Poetry/Cinema sections */
    .social-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
    .reels-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4vw; }
    .video-grid { grid-template-columns: 1fr; gap: 4vw; }
    .post-grid { grid-template-columns: 1fr; gap: 4vw; }
}

/* ==========================================================================
   8. POETRY & CINEMA PAGE GRIDS 
   ========================================================================== */
/* We added max-width: 1000px and margin: 0 auto to keep everything perfectly centered and elegantly sized */
.social-header { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 auto 3rem auto; max-width: 1000px; }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { font-size: 1.5rem; color: var(--text-primary); transition: color 0.3s ease; }
.social-links a:hover { color: var(--accent); }

.reels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; max-width: 900px; margin: 0 auto; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; max-width: 1000px; margin: 0 auto; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; justify-items: center; max-width: 1000px; margin: 0 auto; }

.embed-wrapper { position: relative; width: 100%; overflow: hidden; border-radius: 12px; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.05); }
.ratio-9-16 { aspect-ratio: 9 / 16; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.embed-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.reel-item { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 9 / 16; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.05); }
.social-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--smooth), filter 0.8s var(--smooth); }
.social-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; color: var(--text-primary); }
.social-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--accent); }
.social-text { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }

.reel-item:hover .social-thumb { transform: scale(1.05); filter: brightness(0.5); }
.reel-item:hover .social-overlay { opacity: 1; }

.ig-wrapper { width: 100%; display: flex; justify-content: center; }
/* Reduced max-width from 400px to 320px to make Instagram posts much sleeker */
.ig-wrapper iframe, .ig-wrapper .instagram-media { width: 100% !important; max-width: 320px; border-radius: 12px; margin: 0 !important; }

/* ===============================
   HERO MINIMAL TEXT
=============================== */
.hero-subtext {
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
}


/* ==========================================================================
   MOBILE OVERRIDE FOR POETRY / CINEMA GRIDS
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Force the heading to stay aligned to the left */
    .social-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        text-align: left !important;
        padding: 0 2vw; /* Gives a little breathing room on the edges */
    }
    
    .social-header div {
        text-align: left !important;
    }

    /* 2. Stack the grids and force a large gap between videos */
    .reels-grid, 
    .video-grid, 
    .post-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem !important; /* Creates clear vertical separation */
        padding: 0 2vw;
    }
    
    /* 3. Make the videos significantly larger on mobile */
    .yt-wrapper, 
    .pure-ig-wrapper {
        max-width: 90vw !important; /* Expands the video to take up 90% of the screen width */
        width: 100% !important;
    }
}

/* ==========================================================================
   MOBILE OVERRIDE FOR LOCATIONS DIRECTORY
   ========================================================================== */
@media (max-width: 768px) {
    /* Stack the main directory columns vertically */
    .directory-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem !important; /* Maintains consistent vertical spacing between sections */
    }
}
