/* ==========================================================================
   ALL OF THE HUMANS - COMPLETE STYLESHEET
   ========================================================================== */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Montserrat:wght@200;300;400;500&family=Inter:wght@300;400&display=swap');

/* --- CSS VARIABLES --- */
:root {
  /* Colors */
  --color-cream: #F9F7F1;
  --color-paper: #F8F5F2;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-charcoal: #1a1a1a;
  --color-dark-gray: #2b2b2b;
  --color-medium-gray: #555555;
  --color-light-gray: #999999;
  --color-border: #dcdcdc;
  --color-border-light: #e0e0e0;
  --color-overlay: rgba(0, 0, 0, 0.9);
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-serif-alt: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-sans-alt: 'Inter', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.65rem;
  --text-sm: 0.75rem;
  --text-base: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.2rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 4rem;
  --text-5xl: 6rem;
  --text-hero: 11vw;
  
  /* Spacing */
  --space-xs: 10px;
  --space-sm: 20px;
  --space-md: 40px;
  --space-lg: 60px;
  --space-xl: 80px;
  --space-2xl: 100px;
  --space-3xl: 120px;
  
  /* Layout */
  --container-padding: 60px;
  --border-width: 1px;
  --transition-speed: 0.3s;
  --transition-smooth: 0.5s;
  --transition-slow: 0.8s;
  
  /* Z-Index Layers */
  --z-nav: 1000;
  --z-overlay: 2000;
  --z-lightbox: 9999;
}

/* --- RESET & BASICS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-charcoal);
  overflow-x: hidden;
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.1;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }

p { line-height: 1.6; margin-bottom: 25px; }

.tight-italic-header {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.04em; 
    line-height: 1;
}

.serif { font-family: var(--font-serif); }
.serif-alt { font-family: var(--font-serif-alt); }
.sans { font-family: var(--font-sans); }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.label-text {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-medium-gray);
  display: block;
  margin-bottom: var(--space-sm);
}

/* Vertical Sidebar Label (Restored) */
.vertical-label {
    position: fixed;
    top: 50%;
    left: 0;
    transform: rotate(-90deg) translateY(-50%);
    transform-origin: left center;
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-light-gray);
    z-index: 100;
    margin-left: 20px;
    pointer-events: none;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(248, 245, 242, 0.98);
  padding: 25px var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-width) solid var(--color-border);
  z-index: var(--z-nav);
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  letter-spacing: 0.05em;
  color: var(--color-black);
  text-decoration: none;
  font-style: italic;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-link {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-black);
  text-decoration: none;
  transition: opacity var(--transition-speed);
}
.nav-link:hover { opacity: 0.6; }

/* Hamburger Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2000;
    user-select: none;
}

/* --- HOMEPAGE HERO ENGINE --- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 69vh 31vh;
    height: 100vh;
    width: 100%;
    overflow: hidden; 
}

.hero-link {
    position: relative;
    text-decoration: none;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    overflow: hidden;
    cursor: pointer;
}
/* 1. Stop the bunching in the center */
.hero-left {
    justify-content: flex-start !important; 
    padding-top: 200px; /* Pushes the whole block down from the nav */
}

/* 2. Add space between the H1 and the H2 */
.hero-left-content {
    margin-top: 60px; /* Adjust this to push the H2 further down from "family" */
}

/* 3. Add space below the H2 to separate it from the paragraphs */
.hero-left-content h2.sub-headline {
    margin-bottom: 50px; /* Adjust this to spread the gap */
}

/* 4. Add space between the paragraphs themselves */
.hero-left-content p {
    margin-bottom: 30px; /* Adjust this to spread out the body text */
}

.img-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-smooth), filter var(--transition-smooth), transform var(--transition-slow);
}
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 0.9;
    transition: opacity var(--transition-speed);
    padding: var(--space-sm);
}
.content h2 { color: var(--color-white); font-size: var(--text-5xl); }
.subtitle {
    font-size: var(--text-xs);
    margin-top: 5px;
    opacity: 0.8;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-white);
}

/* Home Section Grid Placement */
.romance-section { grid-column: 1 / 2; grid-row: 1 / 2; border-right: 1px solid rgba(255,255,255,0.1); }
.family-section { grid-column: 2 / 3; grid-row: 1 / 2; }
.product-section {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    border-top: 1px solid rgba(255,255,255,0.1);
   justify-content: center; /* This centers it vertically */
}
.product-section .img-wrapper img {
    height: 100%; width: 100%;
    object-fit: cover;
    object-position: center 20%; 
}

/* Home Hover Effects */
.hero-container:hover .hero-link .img-wrapper img { opacity: 0.3; filter: grayscale(100%); }
.hero-container .hero-link:hover .img-wrapper img { opacity: 1; filter: grayscale(0%); transform: scale(1.03); }
.hero-container .hero-link:hover { z-index: 5; }

/* Ghost Header */
.ghost-header {
    position: absolute;
    top: 40px; left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 50;
    pointer-events: none;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: var(--text-sm);
    opacity: 0.5;
    mix-blend-mode: overlay;
    color: var(--color-white);
}
.ghost-left { justify-self: end; margin-right: calc(40px - 0.3em); text-align: right; }
.ghost-right { justify-self: start; margin-left: 40px; text-align: left; }

/* --- INNER PAGE CONTAINERS --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--container-padding); }
.section { padding: var(--space-2xl) var(--container-padding); }

/* Buttons */
.btn-text {
  color: var(--color-black);
  font-size: var(--text-md);
  border-bottom: var(--border-width) solid var(--color-black);
  padding-bottom: 5px;
  text-decoration: none;
  transition: opacity var(--transition-speed);
}
.btn-text:hover { opacity: 0.6; }
.btn-text.large-link { font-size: var(--text-xl); border-width: 2px; }

.btn-studio {
  background: var(--color-white);
  color: var(--color-black);
  padding: 15px 40px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  transition: all var(--transition-speed);
  display: inline-block;
}
.btn-studio:hover { background: var(--color-black); color: var(--color-white); }

/* --- ROMANCE & JOURNAL ENGINE (LUXURY HERO) --- */
.luxury-hero {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    height: auto;                   
    min-height: 100vh;              
    width: 100%;
    overflow: visible;              
    align-items: stretch;           
}
.hero-col-left {
    display: flex;
    flex-direction: column;
    
}
.hero-statement {
    padding: 180px var(--container-padding) 200px; 
    background-color: var(--color-paper);
}
.hero-statement h1 { margin-bottom: 55px; }

/* Square Image Slot - Panoramic Crop */
.img-slot-square {
    width: 100%;
    height: 350px; 
    border-top: var(--border-width) solid var(--color-border);
    overflow: hidden;
    position: relative;
}
.img-slot-square .fit-img {
    width: 100%; height: 100%;
    object-fit: cover; 
    object-position: center bottom; 
}

/* RIGHT COLUMN */
.hero-col-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hero-img-vertical-wrapper { width: 100%; height: auto; }
.hero-filler-right {
    flex: 1; 
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-paper);
    border-top: var(--border-width) solid var(--color-border);
    min-height: 200px; 
}
/* SHARED IMAGE STYLES */
.fit-img { width: 100%; height: auto; display: block; object-fit: contain; }

/* --- SERVICE ROW STYLING --- */
.services-container { border-top: var(--border-width) solid var(--color-border); }
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    border-bottom: var(--border-width) solid var(--color-border);
}
.service-info {
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-info.left { border-right: var(--border-width) solid var(--color-border); }
.service-img-block { height: 100%; width: 100%; overflow: hidden; }
.service-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
    transition: transform var(--transition-slow);
}
.service-img:hover { transform: scale(1.02); }
.service-number {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    display: block;
    color: var(--color-light-gray);
}
.service-info h2 { margin-bottom: var(--space-md); }
.service-info p {
    margin-top: var(--space-sm);
    color: var(--color-medium-gray);
    font-size: var(--text-base);
}
.service-features {
    margin-top: var(--space-sm);
    list-style: none;
    font-size: var(--text-base);
    color: var(--color-medium-gray);
    line-height: 2;
}
.service-features li::before { content: "+ "; margin-right: 5px; }

/* --- PHILOSOPHY SECTION --- */
.philosophy-section {
    width: 100%;
    padding: 40px 0; 
    background-color: var(--color-paper);
    text-align: center;
    border-bottom: var(--border-width) solid var(--color-border);
}
.philosophy-section div { width: 90%; max-width: 1400px; margin: 0 auto; padding: 0; }
.philosophy-section h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 20px; margin-top: 0; }

/* --- JOURNAL & INSIGHT ENGINE --- */
.wide-banner-section {
    padding: var(--space-xl) var(--container-padding);
    width: 100%;
    display: flex;
    justify-content: center;
}
.rectangle-img {
    width: 100%; height: auto;
    object-fit: cover;
    display: block;
    filter: sepia(10%);
}
.insight-section {
    padding: var(--space-2xl) var(--container-padding);
    max-width: 1000px;
    margin: 0 auto;
}
.insight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
}
.styled-list {
    list-style: none;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    line-height: 2.2;
    color: var(--color-dark-gray);
}
.styled-list li::before { content: "— "; color: var(--color-light-gray); }

/* --- GALLERY GRID SYSTEM --- */
.gallery-section { background-color: transparent; padding-top: 120px; }
.gallery-grid { column-count: 3; column-gap: var(--space-sm); }
.gallery-item { 
    break-inside: avoid; 
    margin-bottom: var(--space-sm); 
    position: relative; 
    overflow: hidden; 
    cursor: pointer; 
    display: inline-block; 
    width: 100%;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-smooth), opacity var(--transition-speed);
}
.gallery-item:hover img { transform: scale(1.02); }
@keyframes fadeIn { to { opacity: 1; } }

/* Manual Gallery Grid (Branding Page) */
.manual-gallery-grid { display: flex; gap: 20px; padding-top: 60px; }
.gallery-column { flex: 1; display: flex; flex-direction: column; gap: 20px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: var(--z-lightbox);
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-overlay);
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.lightbox img {
  max-width: 90%; max-height: 90vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: 1px solid var(--color-white);
}
.close-lightbox {
  position: absolute;
  top: 20px; right: 30px;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* --- FOOTER --- */
footer, .contact-footer {
    padding: 100;
    border-top: var(--border-width) solid var(--color-border-light);
    margin-top: 0;
}
.contact-footer { 
    display: grid; 
    grid-template-columns: 35% 65%; 
    min-height: 250px;
    width: 100%;
    overflow: hidden; 
}
.footer-col.social-only {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    border-right: var(--border-width) solid var(--color-border-light);
}
.footer-col.social-only img {
    width: 80px !important;  
    height: auto !important;
    display: block;
    margin-top: 15px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.footer-col.social-only img:hover { opacity: 1; }
.footer-col.wide-centered {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.footer-link { 
    color: var(--color-medium-gray); 
    text-decoration: none; 
    font-size: 0.9rem; 
    margin-top: 10px;
}

/* --- RESPONSIVE / MOBILE GLOBAL STYLES --- */
@media (max-width: 900px) {
    /* 1. Spacing Overrides (Fixing "Scroll of Death") */
    :root {
        --space-xl: 50px;
        --space-2xl: 60px;
        --space-3xl: 80px;
        --container-padding: 20px;
    }

    /* 2. Mobile Navigation */
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 100%;
        height: 100vh;
        background: var(--color-paper);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease;
        z-index: 1500;
    }
    .nav-links.mobile-open { right: 0; /* Slide in */ }
    .nav-link { font-size: 1.5rem; }

    /* 3. Hero & Layout Adjustments */
    .hero-container { display: flex; flex-direction: column; height: auto; }
    .romance-section, .family-section, .product-section { height: 50vh; width: 100%; border: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    
    .ghost-header { grid-template-columns: 1fr; grid-template-rows: auto auto; top: 20px; opacity: 0.8; gap: 5px; }
    .ghost-left, .ghost-right { justify-self: center; margin: 0; text-align: center; }
    
    .nav-links { gap: 15px; }
    .gallery-grid { column-count: 1; }
    .manual-gallery-grid { flex-direction: column; }
    
    /* Romance/Journal/Services Mobile Restores */
    .luxury-hero { grid-template-columns: 1fr; height: auto; }
    .hero-col-left { border-right: none; }
    .hero-statement { padding: 120px var(--container-padding) var(--space-lg); }
    
    .service-row { grid-template-columns: 1fr; }
    .service-info.left { border-right: none; }
    .service-info { padding: var(--space-lg) 30px; }
    .service-img-block { height: 300px; }
    .insight-grid { grid-template-columns: 1fr; gap: var(--space-lg); }

    .contact-footer { grid-template-columns: 1fr; }
    .footer-col.social-only { 
        border-right: none; 
        border-bottom: var(--border-width) solid var(--color-border);
        align-items: center; 
    }
    .footer-col.wide-centered { border-left: none; border-top: var(--border-width) solid var(--color-border); }
    .hero-link .content h2 { font-size: 10vw !important; }
    /* 4. CRM Embed Fixes */
    .crm-embed-wrapper { min-height: 800px; }
}

/* Force embedded forms to behave */
.crm-embed-wrapper iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
}
@media (max-width: 900px) {
    .branding-img-override {
        height: 45vh !important; 
        min-height: 350px !important; 
        object-fit: cover;
    }
}