/* ============================================
   TH NEST GROUP — Design System
   Version: 1.0
   ============================================ */

/* ============================================
   CSS VARIABLES — BRAND COLORS & TOKENS
   ============================================ */
:root {
    --deepblue: #2D3E4E;
    --gold: #C5A065;
    --beige: #E5DFD9;
    --light: #F5F5F0;
    --stone: #A8A29E;
    --black: #1a1a1a;
    --white: #FAFAF8;
    --warm-cream: #F0EBE3;
    --warm-cream: #F0EBE3;
    --taupe: #B8A99A;
    --cod-gray: #111111;
    --alabaster: #F9F9F9;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'DM Sans', 'Helvetica Neue', sans-serif;
    --font-script: 'Dancing Script', cursive;

    --section-pad: 120px;
    --side-pad: 48px;
    --max-width: 1400px;
    --nav-height: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: var(--font-sans);
    color: var(--deepblue);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h4 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

p {
    font-size: 1.15rem;
    line-height: 1.95;
    font-weight: 300;
}

em,
.gold-italic {
    font-style: italic;
    color: var(--gold);
}

.label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.script {
    font-family: var(--font-script);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes scrollIndicator {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(12px);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

.delay-5 {
    transition-delay: 0.75s;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px var(--side-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(45, 62, 78, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px var(--side-pad);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: height 0.3s ease;
}

.nav.scrolled .nav-logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--gold);
}

.nav-cta {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-left: 12px;
    padding-bottom: 10px;
    /* Match standard padding calc */
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--deepblue) !important;
}

.nav-links a.nav-cta::after {
    display: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 26, 26, 0.3) 0%,
            rgba(26, 26, 26, 0.1) 40%,
            rgba(26, 26, 26, 0.6) 70%,
            rgba(45, 62, 78, 0.9) 100%);
    z-index: 1;
}

.hero-center {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.hero-center .hero-content {
    padding-bottom: 140px;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 var(--side-pad) 80px;
    animation: fadeUp 1.2s ease forwards;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero-center .hero-title {
    max-width: 1000px;
    margin-left: 0;
    margin-right: 0;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--beige);
    max-width: 520px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-center .hero-subtitle {
    max-width: 640px;
    margin: 0;
}

.hero-meta {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(197, 160, 101, 0.3);
}

.hero-center .hero-meta {
    justify-content: flex-start;
}

.hero-meta-item {
    color: var(--white);
}

.hero-meta-item span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 500;
}

.hero-meta-item strong {
    font-weight: 400;
    font-size: 1.05rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-indicator .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollIndicator 2s ease-in-out infinite;
}

/* ============================================
   HERO — SPLIT LAYOUT (Main Pages)
   ============================================ */
.hero-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    min-height: 90vh;
    max-height: 1000px;
    overflow: hidden;
    position: relative;
}

.hero-split .hero-image {
    position: relative;
    overflow: hidden;
}

.hero-split .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 12s ease;
}

.hero-split .hero-image:hover img {
    transform: scale(1.04);
}

.hero-split .hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            transparent 60%,
            rgba(45, 62, 78, 0.4) 100%);
    pointer-events: none;
}

.hero-split .hero-text {
    background: var(--deepblue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
    position: relative;
}

.hero-split .hero-text::before {
    content: none;
}

.hero-split .hero-chapter {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.8;
}

.hero-split .hero-label {
    color: var(--gold);
    margin-bottom: 16px;
}

.hero-split .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-split .hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-split .hero-subtitle {
    font-size: 1.1rem;
    color: var(--beige);
    font-weight: 300;
    line-height: 1.85;
    max-width: 440px;
    margin-bottom: 40px;
}

.hero-split .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    padding: 16px 0;
    border-bottom: none;
    transition: all 0.3s ease;
}

.hero-split .hero-cta:hover {
    border-color: var(--gold);
    gap: 18px;
}

/* NEW: Hero Actions (Home Page) */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

/* NEW: Project CTA (Right Aligned) */
.project-cta-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    width: 100%;
}

.cta-button-gold {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent;
}

.cta-button-gold:hover {
    background: var(--gold);
    color: var(--deepblue);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .project-cta-container {
        justify-content: flex-start;
        /* Left align on mobile */
        margin-top: 24px;
    }
}

.hero-split .hero-meta {
    border-top: 1px solid rgba(197, 160, 101, 0.15);
    margin-top: 48px;
    padding-top: 32px;
}

/* ============================================
   HERO — COMPACT (Inner Pages)
   ============================================ */
.hero-compact {
    position: relative;
    padding: 200px var(--side-pad) 80px;
    background: var(--deepblue);
    overflow: hidden;
}

.hero-compact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 101, 0.03), transparent);
    pointer-events: none;
}

.hero-compact .hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.hero-compact .hero-chapter {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-compact .hero-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-compact .hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0;
}

.hero-compact .hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-compact .hero-desc {
    font-size: 1.1rem;
    color: var(--beige);
    font-weight: 300;
    line-height: 1.85;
    max-width: 480px;
}

.hero-compact .hero-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 24px;
}

/* ============================================
   PROJECTS — EDITORIAL LAYOUT
   ============================================ */
.projects-editorial {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.project-editorial:nth-child(even) {
    direction: rtl;
}

.project-editorial:nth-child(even)>* {
    direction: ltr;
}

.project-editorial-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.project-editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-editorial:hover .project-editorial-image img {
    transform: scale(1.04);
}

.project-editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    position: relative;
}

.project-editorial:nth-child(odd) .project-editorial-content {
    background: var(--light);
}

.project-editorial:nth-child(even) .project-editorial-content {
    background: var(--white);
}

.project-editorial-number {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 400;
    color: rgba(197, 160, 101, 0.12);
    line-height: 1;
    margin-bottom: 16px;
    position: absolute;
    top: 48px;
    right: 48px;
}

.project-editorial:nth-child(even) .project-editorial-number {
    left: 48px;
    right: auto;
}

.project-editorial-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-editorial-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.project-editorial-tag+.project-editorial-tag::before {
    content: ' · ';
    color: var(--stone);
}

.project-editorial-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--deepblue);
    line-height: 1.2;
    margin-bottom: 16px;
}

.project-editorial-title em {
    font-style: italic;
    color: var(--gold);
}

.project-editorial-location {
    font-size: 1rem;
    color: var(--stone);
    font-weight: 300;
    margin-bottom: 32px;
}

.project-editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    transition: gap 0.3s ease;
}

.project-editorial:hover .project-editorial-link {
    gap: 16px;
}

/* Featured project — full width */
.project-editorial-featured {
    grid-template-columns: 1fr;
    min-height: 600px;
}

.project-editorial-featured .project-editorial-image {
    min-height: 600px;
}

.project-editorial-featured .project-editorial-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 62, 78, 0.95), rgba(45, 62, 78, 0.7) 60%, transparent);
    padding: 64px;
    justify-content: flex-end;
}

.project-editorial-featured .project-editorial-title {
    color: var(--white);
}

.project-editorial-featured .project-editorial-location {
    color: var(--beige);
}

.project-editorial-featured .project-editorial-number {
    color: rgba(197, 160, 101, 0.25);
    top: auto;
    bottom: 64px;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section {
    padding: var(--section-pad) var(--side-pad);
}

.section-dark {
    background: var(--deepblue);
    color: var(--white);
}

.section-light {
    background: var(--light);
}

.section-beige {
    background: var(--beige);
}

.section-cream {
    background: var(--warm-cream);
}

.section-white {
    background: var(--white);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 24px 0;
}

.section-text {
    font-size: 1.15rem;
    line-height: 1.95;
    max-width: 680px;
    font-weight: 300;
    color: var(--stone);
}

.section-dark .section-text {
    color: var(--beige);
}

.section-dark .section-title {
    color: var(--white);
}

/* Section Alignment Overrides (Left Align Everything) */
.text-center {
    text-align: left !important;
}

.text-center .section-text {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.text-center .section-line {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* ============================================
   PREMIUM REFINEMENTS
   ============================================ */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s cubic-bezier(0.2, 1, 0.3, 1), transform 1.0s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-hero-image img {
    transition: transform 1.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-hero-image:hover img {
    transform: scale(1.03);
}

.hero-subtitle {
    letter-spacing: -0.01em;
    opacity: 0.9;
}

.project-editorial-image {
    overflow: hidden;
}

.project-editorial:hover .project-editorial-image img {
    transform: scale(1.03);
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* ============================================
   LIGHT HERO & NAV THEME
   ============================================ */
.nav-dark-text .nav-links a {
    color: var(--cod-gray);
    font-weight: 500;
}

.nav-dark-text .nav-logo img {
    filter: none;
    /* Keep original logo color (black) */
    opacity: 0.9;
}

.nav-dark-text .nav-toggle span {
    background: var(--cod-gray);
}

/* Revert to white on scroll (when background becomes dark) */
.nav-dark-text.scrolled .nav-links a {
    color: var(--white);
    font-weight: 400;
}

.nav-dark-text.scrolled .nav-logo img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.nav-dark-text.scrolled .nav-toggle span {
    background: var(--white);
}

.lang-switch {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 4px 8px;
    border: 1px solid rgba(197, 160, 101, 0.4);
    border-radius: 4px;
    margin-left: 16px;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: var(--gold);
    color: var(--deepblue) !important;
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }
}

/* Hero Light Theme Overrides */
.hero-split.hero-light .hero-text {
    background: var(--alabaster);
    /* Light background */
}

.hero-split.hero-light .hero-title {
    color: var(--cod-gray);
}

.hero-split.hero-light .hero-subtitle {
    color: var(--cod-gray);
    opacity: 0.8;
}

.hero-split.hero-light .hero-chapter,
.hero-split.hero-light .hero-label {
    color: var(--gold);
    /* Keep gold accent */
}

.hero-split.hero-light .hero-meta-item {
    color: var(--cod-gray);
}

.hero-split.hero-light .hero-text::before {
    background: var(--gold);
    /* Keep gold line */
}

.project-hero-simple {
    padding-top: var(--nav-height);
    width: 100%;
    margin-bottom: 80px;
}

.project-hero-image {
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px var(--side-pad) 0;
}

.project-hero-content .hero-label {
    margin-bottom: 16px;
    display: block;
}

.project-hero-content h1 {
    margin-bottom: 24px;
    max-width: 900px;
}

.project-hero-content .hero-subtitle {
    color: var(--deepblue);
    opacity: 0.8;
    max-width: 700px;
    margin-bottom: 40px;
}

.project-hero-meta {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(45, 62, 78, 0.1);
}

.project-hero-meta-item span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 500;
}

.project-hero-meta-item strong {
    font-family: var(--font-sans);
    color: var(--deepblue);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .project-hero-image {
        height: 60vh;
    }

    .project-hero-content {
        padding: 40px 24px 0;
    }

    .project-hero-meta {
        flex-wrap: wrap;
        gap: 24px;
    }
}

/* ============================================
   MANIFESTO / BLOCKQUOTE
   ============================================ */
.manifesto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.manifesto-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    color: var(--deepblue);
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--gold);
}

.section-dark .manifesto-quote {
    color: var(--white);
}

.manifesto-quote cite {
    display: block;
    font-family: var(--font-script);
    font-style: normal;
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 24px;
}

.blockquote-standalone {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--deepblue);
}

.section-dark .blockquote-standalone {
    color: var(--beige);
}

.blockquote-standalone cite {
    display: block;
    font-family: var(--font-script);
    font-style: normal;
    font-size: 1.1rem;
    color: var(--gold);
    margin-top: 32px;
}

/* ============================================
   SERVICES / CARDS GRID
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: var(--max-width);
    margin: 60px auto 0;
}

.card {
    background: var(--white);
    padding: 48px 32px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.card:hover::before {
    width: 60px;
}

.card:hover {
    background: var(--deepblue);
    color: var(--white);
}

.card-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 8px;
}

.card-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--stone);
    font-weight: 500;
}

.card:hover .card-label {
    color: var(--gold);
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.3;
}

.card-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--stone);
}

.card:hover .card-text {
    color: var(--beige);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 14px;
}

.card-link .arrow {
    transition: transform 0.3s ease;
}

.card-link:hover .arrow {
    transform: translateX(4px);
}

/* Service cards with image backgrounds */
.service-card {
    position: relative;
    padding: 60px 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-card-bg img {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 62, 78, 0.9), rgba(45, 62, 78, 0.2));
    z-index: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   PROJECT CARDS / PORTFOLIO GRID
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.project-card {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 62, 78, 0.85) 0%, rgba(45, 62, 78, 0.1) 60%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.project-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    background: rgba(197, 160, 101, 0.15);
    padding: 4px 12px;
    border: 1px solid rgba(197, 160, 101, 0.3);
}

.project-card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 4px;
}

.project-card-location {
    font-size: 0.9rem;
    color: var(--beige);
    font-weight: 300;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--stone);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    font-family: var(--font-sans);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--gold);
    border-color: var(--gold);
}

/* ============================================
   SHOWCASE — IMAGE + TEXT SPLIT
   ============================================ */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.showcase-reverse {
    direction: rtl;
}

.showcase-reverse>* {
    direction: ltr;
}

.showcase-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.showcase-image:hover img {
    transform: scale(1.05);
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
}

.showcase-content .section-line {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: 32px 0;
}

.showcase-content ul {
    list-style: none;
    margin-top: 24px;
}

.showcase-content li {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(197, 160, 101, 0.15);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-content li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ============================================
   IMAGE BREAK — FULL-WIDTH
   ============================================ */
.image-break {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-break-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 62, 78, 0.5);
}

.image-break-text {
    text-align: center;
    color: var(--white);
}

.image-break-text h3 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
}

.image-break-text p {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 8px;
}

/* ============================================
   IMAGE GRIDS — DUAL & TRIPLE
   ============================================ */
.dual-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.dual-image-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.dual-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dual-image-item:hover img {
    transform: scale(1.04);
}

.triple-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.triple-grid-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.triple-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.triple-grid-item:hover img {
    transform: scale(1.04);
}

.triple-grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px;
    background: linear-gradient(to top, rgba(45, 62, 78, 0.85), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.triple-grid-item:hover .overlay {
    opacity: 1;
}

.triple-grid-item .overlay h4 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
}

.triple-grid-item .overlay p {
    color: var(--gold);
    font-size: 0.9rem;
    font-family: var(--font-script);
    margin-top: 4px;
}

/* ============================================
   MARQUEE / SCROLLING TEXT
   ============================================ */
.marquee-section {
    padding: 32px 0;
    background: var(--deepblue);
    overflow: hidden;
}

.marquee-light {
    background: var(--light);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: rgba(197, 160, 101, 0.15);
    font-weight: 400;
    padding: 0 40px;
    font-style: italic;
}

.marquee-text .gold {
    color: rgba(197, 160, 101, 0.4);
}

.marquee-light .marquee-text {
    color: rgba(45, 62, 78, 0.08);
}

.marquee-light .marquee-text .gold {
    color: rgba(197, 160, 101, 0.25);
}

/* Brand logo marquee */
.brand-marquee {
    padding: 40px 0;
    overflow: hidden;
    background: var(--white);
}

.brand-marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.brand-marquee-item {
    flex-shrink: 0;
    padding: 0 48px;
    display: flex;
    align-items: center;
}

.brand-marquee-item img {
    height: 40px;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease;
}

.brand-marquee-item img:hover {
    filter: grayscale(0%) opacity(1);
}

.brand-marquee-item span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--stone);
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.brand-marquee-item span:hover {
    color: var(--gold);
}

/* ============================================
   FEATURES / STATS GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    max-width: var(--max-width);
    margin: 60px auto 0;
}

.feature-card {
    background: var(--white);
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.feature-card:hover::before {
    width: 60px;
}

.feature-card:hover {
    background: var(--deepblue);
    color: var(--white);
}

.feature-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 8px;
}

.feature-unit {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--stone);
}

.feature-card:hover .feature-unit {
    color: var(--beige);
}

.feature-desc {
    font-size: 0.95rem;
    font-weight: 300;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: var(--max-width);
    margin: 60px auto 0;
}

.process-step {
    position: relative;
    padding-top: 40px;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 1px;
    background: var(--gold);
}

.process-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 16px;
}

.process-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.process-text {
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 300;
    color: var(--stone);
}

.section-dark .process-text {
    color: var(--beige);
}

/* ============================================
   BRANDS GRID
   ============================================ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 60px auto 0;
}

.brand-card {
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(197, 160, 101, 0.15);
    transition: all 0.4s ease;
}

.brand-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 48px rgba(45, 62, 78, 0.1);
    transform: translateY(-4px);
}

.brand-card img {
    height: 48px;
    margin: 0 auto 24px;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
    object-fit: contain;
}

.brand-card:hover img {
    filter: grayscale(0%) opacity(1);
}

.brand-card-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.brand-card-desc {
    font-size: 0.9rem;
    color: var(--stone);
    font-weight: 300;
    line-height: 1.6;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--stone);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border: 1px solid rgba(197, 160, 101, 0.2);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--deepblue);
    font-weight: 300;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A8A29E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1rem;
    color: var(--stone);
    font-weight: 300;
    line-height: 1.8;
}

.contact-info-item a:hover {
    color: var(--gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 20px 60px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--deepblue);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(45, 62, 78, 0.3);
}

.section-dark .cta-btn:hover {
    background: var(--white);
    color: var(--deepblue);
}

.cta-btn-outline {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* ============================================
   GLOBAL PRESENCE
   ============================================ */
.global-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.global-item {
    text-align: center;
}

.global-item span {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--deepblue);
}

.section-dark .global-item span {
    color: var(--white);
}

.global-item small {
    font-size: 0.75rem;
    color: var(--stone);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--deepblue);
    color: var(--beige);
    padding: 80px 48px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 48px;
}

.footer-logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-tagline {
    font-family: var(--font-script);
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(229, 223, 217, 0.5);
    max-width: 380px;
}

.footer h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(229, 223, 217, 0.6);
    transition: color 0.3s;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a,
.footer-contact p {
    font-size: 0.88rem;
    color: rgba(229, 223, 217, 0.6);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-showrooms {
    margin-top: 16px;
}

.footer-showrooms p {
    font-size: 0.82rem;
    color: var(--stone);
    line-height: 1.7;
}

.footer-showrooms a {
    color: var(--gold);
    transition: color 0.3s;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 32px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(229, 223, 217, 0.08);
    font-size: 0.78rem;
    color: var(--stone);
    line-height: 1.6;
}

.footer-bottom a {
    color: var(--stone);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ============================================
   RESPONSIVE — TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
        --side-pad: 32px;
    }

    html {
        font-size: 17px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(45, 62, 78, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
        pointer-events: all;
        /* Ensure clicks are registered */
    }

    /* FIX: Remove backdrop filter when menu is open to prevent containing block issue */
    .nav.nav-open {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: transparent !important;
        /* Let the full screen menu handle background */
    }

    /* Force links to be white and visible in mobile menu */
    .nav-links.open a {
        color: var(--white) !important;
        opacity: 1 !important;
    }

    .nav-links a {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        font-size: 1rem;
        padding: 12px 32px;
    }

    .nav-toggle {
        display: flex;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .manifesto {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase {
        grid-template-columns: 1fr;
    }

    .showcase-image {
        min-height: 400px;
    }

    .showcase-reverse {
        direction: ltr;
    }

    /* ============================================
       MODAL STYLES
       ============================================ */
    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(45, 62, 78, 0.6);
        backdrop-filter: blur(8px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .modal-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .modal-content {
        background: var(--white);
        padding: 48px 32px;
        width: 90%;
        max-width: 480px;
        text-align: center;
        position: relative;
        transform: translateY(20px);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid var(--gold);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    .modal-overlay.active .modal-content {
        transform: translateY(0);
    }

    .modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        font-size: 2rem;
        line-height: 1;
        color: var(--stone);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: color 0.3s;
    }

    .modal-close:hover {
        color: var(--deepblue);
    }

    .modal-icon {
        margin-bottom: 24px;
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.4s 0.2s;
    }

    .modal-overlay.active .modal-icon {
        opacity: 1;
        transform: scale(1);
    }

    .modal-content h3 {
        font-family: var(--font-serif);
        font-size: 1.8rem;
        color: var(--deepblue);
        margin-bottom: 16px;
    }

    .modal-content p {
        color: var(--stone);
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .modal-instruction {
        font-size: 0.95rem;
        color: var(--deepblue) !important;
        background: var(--light);
        padding: 16px;
        border-radius: 4px;
        margin: 24px 0 !important;
    }

    .modal-action {
        margin-top: 0;
        width: 100%;
    }

    .triple-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-meta {
        gap: 32px;
        flex-wrap: wrap;
    }

    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .hero-split .hero-image {
        min-height: 50vh;
    }

    .hero-split .hero-text {
        padding: 60px 32px;
    }

    .hero-compact .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-compact {
        padding: 160px var(--side-pad) 64px;
    }

    .project-editorial {
        grid-template-columns: 1fr;
    }

    .project-editorial:nth-child(even) {
        direction: ltr;
    }

    .project-editorial-image {
        min-height: 350px;
    }

    .project-editorial-content {
        padding: 48px 32px;
    }

    .project-editorial-number {
        font-size: 4rem;
        top: 32px;
        right: 32px;
    }

    .project-editorial:nth-child(even) .project-editorial-number {
        left: auto;
        right: 32px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
        --side-pad: 24px;
    }

    .hero-split .hero-image {
        min-height: 40vh;
    }

    .hero-split .hero-text {
        padding: 48px 24px;
    }

    .hero-compact {
        padding: 140px 24px 48px;
    }

    .project-editorial-image {
        min-height: 280px;
    }

    .project-editorial-content {
        padding: 40px 24px;
    }

    .project-editorial-featured .project-editorial-content {
        padding: 40px 24px;
    }

    .project-editorial-featured .project-editorial-image {
        min-height: 400px;
    }

    html {
        font-size: 16px;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding-bottom: 60px;
    }

    .hero-meta {
        gap: 24px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        aspect-ratio: 16/9;
    }

    .project-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(45, 62, 78, 0.85) 0%, transparent 80%);
    }

    .dual-image {
        grid-template-columns: 1fr;
    }

    .triple-grid {
        grid-template-columns: 1fr;
    }

    .triple-grid-item {
        aspect-ratio: 16/10;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-content {
        padding: 48px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .global-list {
        gap: 24px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --section-pad: 48px;
        --side-pad: 16px;
    }

    html {
        font-size: 15px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        gap: 4px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }
}

/* ============================================
   LARGE SCREENS (1600px+)
   ============================================ */
@media (min-width: 1600px) {
    :root {
        --side-pad: 80px;
    }

    html {
        font-size: 19px;
    }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) {
    .project-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(45, 62, 78, 0.7) 0%, transparent 70%);
    }

    .triple-grid-item .overlay {
        opacity: 1;
    }

    .showcase-image img {
        transition: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .marquee-track,
    .brand-marquee-track {
        animation: none;
    }

    .scroll-indicator .scroll-line {
        animation: none;
    }

    .hero-content {
        animation: none;
        opacity: 1;
    }
}

/* BRAND MARQUEE */
.marquee-section {
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    position: relative;
    background: var(--white);
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-text {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   HERO — PROJECT SIMPLE
   ============================================ */
.project-hero-simple {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.project-hero-simple .project-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.project-hero-simple .project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.project-hero-simple:hover .project-hero-image img {
    transform: scale(1.02);
}

/* Overlay for text and nav readability */
.project-hero-simple .project-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.4) 80%,
            rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.project-hero-simple .project-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 var(--side-pad) 80px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.project-hero-simple .project-hero-meta {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.project-hero-simple .project-hero-meta-item span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 500;
}

.project-hero-simple .project-hero-meta-item strong {
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--white);
}

@media (max-width: 768px) {
    .project-hero-simple .project-hero-meta {
        flex-direction: column;
        gap: 24px;
    }
}

/* ============================================
   HERO — PROJECT STACKED
   ============================================ */
.project-hero-stacked {
    position: relative;
    width: 100%;
}

.project-hero-stacked .project-hero-image {
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.project-hero-stacked .project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-stacked .project-hero-content {
    padding: 80px var(--side-pad);
    background: var(--white);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(197, 160, 101, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--white);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(197, 160, 101, 0.6);
}

.floating-modal {
    position: fixed;
    bottom: 100px;
    right: 32px;
    width: 340px;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.15);
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-modal.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-close {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.5;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.captcha-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--stone);
}

.captcha-box {
    background: #eee;
    padding: 6px 10px;
    letter-spacing: 3px;
    font-weight: bold;
    font-family: monospace;
    color: var(--deepblue);
    border-radius: 4px;
}