:root {
    --bg-main: #0A0A0A;
    --bg-card: #141414;
    --text-primary: #F5F5F0;
    --text-muted: #A1A1AA;
    --accent-gold: #D4AF37;
    --border-subtle: rgba(212, 175, 55, 0.25);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    color: var(--text-primary);
    background-color: var(--bg-main);
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1, h2, h3, .brand-title {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.08em;
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

li { list-style: none; }

nav {
    background-color: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(12px);
    width: 80%;
    max-width: 1100px;
    margin: 24px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    height: 70px;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    position: sticky;
    top: 20px;
    z-index: 100;
}

.title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo { 
    width: 28px; 
    height: 28px; 
}

.title h1 { 
    font-size: 1.4rem; 
    white-space: nowrap; 
}

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

.nav-items a {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-items a:hover { color: var(--accent-gold); }

.hero {
    width: 90%;
    max-width: 1300px;
    height: 80vh;
    margin-bottom: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.85) 100%),
                url('https://lh3.googleusercontent.com/d/14-R3jXXV_Lz8cNAyWeMkT-ppuCewIZHJ') center/cover no-repeat;
}

.hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    max-width: 700px;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
}

.showcase {
    width: 90%;
    max-width: 1300px;
    margin-bottom: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    margin-top: 8px;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 400px; /* Replaces grid-template-rows so new rows create automatically */
    grid-auto-flow: dense;  /* Fills empty spaces intelligently */
    gap: 20px;
}

/* Ensure large cards span 2 rows dynamically */
.large-card {
    grid-column: 1 / 2;
    grid-row: span 2;
}

.small-card {
    grid-column: 2 / 3;
    grid-row: span 1;
}

.editorial-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.editorial-card:hover .card-image { transform: scale(1.05); }

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(10,10,10,0.9));
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.house-about {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto 100px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content { padding-right: 20px; }

.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-showroom {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 100px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-container img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border: 1px solid var(--accent-gold);
}

.product-details { padding-top: 20px; }
.product-title { font-size: 2.8rem; margin: 10px 0 30px 0; }
.product-description { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.product-description ul { margin-top: 20px; padding-left: 20px; }
.product-description li { list-style: square; margin-bottom: 10px; }

.primary-cta {
    width: 100%;
    text-align: center;
    background: var(--bg-card);
    margin-bottom: 30px;
}

.fine-print {
    font-size: 0.7rem;
    color: #666;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.house-policy {
    width: 100%;
    background-color: var(--bg-card);
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.policy-container { width: 90%; max-width: 1000px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.policy-item h4 { font-size: 1.1rem; color: var(--accent-gold); margin-bottom: 12px; font-family: var(--font-heading); }
.policy-item p { font-size: 0.8rem; color: var(--text-muted); }
footer { width: 100%; text-align: center; padding: 40px; font-size: 0.75rem; color: #555; }

@media (max-width: 768px) {
    nav { width: 95%; padding: 0 20px; }
    .nav-links ul { gap: 16px; }
    .nav-items a { font-size: 0.65rem; }
    .title h1 { font-size: 1.1rem; }
    .hero-title { font-size: 2.2rem; }
    
    .editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .large-card, .small-card { grid-column: 1 / -1; height: 400px; }
    
    .house-about, .product-showroom, .policy-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-content { padding-right: 0; }
    .product-title { font-size: 2.2rem; }
}