:root {
    --bg-ivory: #f7f5f0;
    --text-dark: #1a1a18;
    --accent-gold: #c8b89a;
    --border-color: #d8d4cc;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
    --smooth-bezier: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important; /* Absolut inga border-radius */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-ivory);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Utilities */
.label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

h1, h2, h3, .giant-heading {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 0.95;
}

.italic-gold {
    font-style: italic;
    color: var(--accent-gold);
}

.hidden {
    display: none !important;
}

/* Jour Banner */
.jour-banner {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    text-align: center;
    padding: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 0.5px solid var(--text-dark);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background-color: var(--bg-ivory);
    z-index: 100;
    border-bottom: 0.5px solid transparent;
    transition: border-color 0.3s ease;
}

.navbar.scrolled {
    border-bottom: 0.5px solid var(--border-color);
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.menu-icon {
    width: 30px;
    height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 300;
}

.menu-icon .line {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-dark);
    transition: transform 0.3s ease;
}

/* Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100vh;
    background-color: var(--bg-ivory);
    z-index: 400;
    display: flex;
    flex-direction: column;
    padding: 60px;
    transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    border-right: 0.5px solid var(--border-color);
}

.side-drawer.open {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.drawer-greeting {
    font-family: var(--font-body);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.close-menu {
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-links a {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 6vw; /* Huge responsive links */
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
}

.hover-line {
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    display: inline-block;
    transition: width 0.4s ease;
    margin-right: 0;
}

.drawer-links a:hover .hover-line {
    width: 60px;
    margin-right: 20px;
}

.admin-link {
    font-size: 2vw !important;
    margin-top: auto;
}

/* Hero Section (Split Layout logic applied) */
.hero {
    display: flex;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    top: 10%;
    left: -5%;
    font-family: var(--font-heading);
    font-size: 250px;
    color: var(--accent-gold);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.hero-left {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 2; /* Overlaps right image */
}

.hero-content h1 {
    font-size: 120px;
    margin-bottom: 40px;
    margin-left: -5px; /* Slight offset for tight visual alignment */
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-dark {
    background-color: var(--text-dark);
    color: var(--bg-ivory);
    text-decoration: none;
    padding: 15px 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
}

.btn-dark:hover {
    background-color: #333;
}

.link-underline {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 0.5px solid var(--text-dark);
    padding-bottom: 2px;
}

.hero-right {
    flex: 0 0 60%;
    position: relative;
    z-index: 1;
}

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

.zoom-img {
    transition: transform 0.8s ease;
}

.image-wrapper:hover .zoom-img {
    transform: scale(1.05);
}

/* Layering: Text overlaps image block slightly on smaller screens or intentional margins */
.badge {
    position: absolute;
    bottom: 40px;
    left: -40px; /* Overlaps into left section */
    background-color: var(--bg-ivory);
    padding: 10px 20px;
    font-size: 12px;
    border: 0.5px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.dot-icon {
    color: var(--accent-gold);
    font-size: 16px;
}

/* Ultra-slow Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    white-space: nowrap;
}

.cert-marquee {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border-top: none;
    border-bottom: none;
}

.marquee {
    display: inline-block;
    animation: marquee 60s linear infinite;
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Services Mosaic Grid */
.services {
    padding: 100px 5%;
}

.services-header {
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 80px;
}

.mosaic-section {
    position: relative;
    padding: 150px 5%;
    overflow: hidden;
}

.bg-text {
    position: absolute;
    top: 50px;
    left: 5%;
    font-family: var(--font-heading);
    font-size: 200px;
    color: var(--accent-gold);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: auto;
    gap: 0;
    position: relative;
    z-index: 1;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-ivory);
}

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

.floating-text {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 48px;
    color: var(--bg-ivory);
    z-index: 3;
}

.gold-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--accent-gold);
    mix-blend-mode: multiply;
    opacity: 0.8;
    z-index: 2;
}

.mosaic-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    color: var(--bg-ivory);
}

.item-text .mosaic-content {
    position: static;
    color: var(--text-dark);
    padding: 40px;
}

.mosaic-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 10px;
}

.mosaic-content p {
    font-size: 14px;
    max-width: 300px;
}

.discover-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background: rgba(26, 26, 24, 0.4);
    z-index: 4;
    transition: opacity 0.4s ease;
}

.item-text .discover-overlay {
    background: transparent;
    position: static;
    opacity: 1;
    margin-top: 20px;
    justify-content: flex-start;
}

.discover-btn {
    color: var(--bg-ivory);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 0.5px solid var(--bg-ivory);
    padding-bottom: 2px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.mosaic-item:hover .discover-overlay {
    opacity: 1;
}

.mosaic-item:hover .discover-btn {
    transform: translateY(0);
}

.item-large {
    grid-column: 1 / 8;
    height: 70vh;
}

.item-text {
    grid-column: 9 / 13;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-medium {
    grid-column: 5 / 11;
    height: 50vh;
    margin-top: -10vh; /* Asymmetric overlap */
    z-index: 2;
}

/* About (Editorial) */
.about {
    display: flex;
    padding: 150px 0 150px 5%;
    align-items: center;
}

.about-left {
    flex: 0 0 50%;
}

.giant-heading {
    font-size: 180px;
    letter-spacing: -0.02em;
    margin-left: -10px;
    color: var(--text-dark);
}

.about-right {
    flex: 0 0 40%;
    padding-left: 5%;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--accent-gold);
    font-style: italic;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 400px;
}

/* Image Showcase */
.image-showcase {
    height: 80vh;
    padding: 0 5%;
    margin-bottom: 50px;
}

/* Editorial Gallery */
.editorial-gallery {
    padding: 0 5% 150px 5%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

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

.gallery-grid-zero {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 0;
}

.gallery-caption-zero {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.gallery-caption-zero .label {
    font-size: 24px;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.gallery-caption-zero .caption-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Zero Gutter Asymmetrical placements */
.z-item-1 {
    grid-column: 1 / 8;
    height: 60vh;
}

.z-item-2 {
    grid-column: 8 / 13;
    background: var(--bg-ivory);
}

.z-item-3 {
    grid-column: 1 / 6;
    height: 50vh;
}

.z-item-4 {
    grid-column: 6 / 13;
    height: 70vh;
}

/* Contact (High-End Form) */
.contact {
    background-color: var(--text-dark);
    color: var(--bg-ivory);
    padding: 150px 5%;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h2 {
    font-size: 80px;
}

.high-end-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    position: relative;
}

.high-end-form input,
.high-end-form select,
.high-end-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid rgba(247, 245, 240, 0.3);
    color: var(--bg-ivory);
    font-family: var(--font-body);
    font-size: 16px;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.high-end-form input:focus,
.high-end-form select:focus,
.high-end-form textarea:focus {
    border-bottom: 0.5px solid var(--accent-gold);
}

.high-end-form select option {
    background-color: var(--text-dark);
    color: var(--bg-ivory);
}

.submit-btn {
    background: transparent;
    border: none;
    color: var(--bg-ivory);
    font-family: var(--font-body);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    text-align: left;
    padding: 20px 0;
    border-bottom: 0.5px solid rgba(247, 245, 240, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.submit-btn:hover {
    color: var(--accent-gold);
    border-bottom: 0.5px solid var(--accent-gold);
}

.form-success {
    margin-top: 20px;
    color: var(--accent-gold);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 24px;
}

/* Footer */
.footer {
    padding: 60px 5%;
    background-color: var(--bg-ivory);
    border-top: 0.5px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-links-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-links-col, .footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col h4, .footer-contact-col h4 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.footer-links-col a, .footer-contact-col a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.footer-contact-col p {
    font-size: 14px;
    color: var(--text-dark);
}

.footer-links-col a:hover, .footer-contact-col a:hover {
    color: var(--accent-gold);
}

/* Animations (Intersection Observer targets) */
.smooth-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s var(--smooth-bezier), transform 1.2s var(--smooth-bezier);
}

.smooth-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero specific stagger */
.anim-hero {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 1.2s var(--smooth-bezier) forwards;
    animation-delay: var(--delay);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
    }
    .hero-left, .hero-right {
        flex: 0 0 100%;
    }
    .hero-right {
        height: 50vh;
    }
    .badge {
        left: 20px;
        bottom: 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card:nth-child(1), .service-card:nth-child(4) {
        grid-column: span 1;
    }
    .about {
        flex-direction: column;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .about-right {
        padding-left: 0;
        margin-top: 40px;
    }
    .giant-heading {
        font-size: 80px;
    }
    .hero-content h1 {
        font-size: 60px;
    }
    .nav-center {
        display: none;
    }
    .nav-mobile-btn {
        display: block;
    }
    
    .side-drawer {
        width: 100%;
        left: -100%;
    }
    
    .drawer-links a {
        font-size: 12vw;
    }

    .hero-bg-text {
        font-size: 100px;
        top: 20%;
    }

    .mosaic-grid {
        display: flex;
        flex-direction: column;
    }

    .item-large, .item-text, .item-medium {
        height: auto;
        min-height: 40vh;
        margin-top: 0;
    }

    .item-text .mosaic-content {
        padding: 20px;
    }

    .gallery-grid-zero {
        display: flex;
        flex-direction: column;
    }

    .z-item-1, .z-item-2, .z-item-3, .z-item-4 {
        height: auto;
        min-height: 40vh;
        width: 100%;
    }
}
