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

:root {
    --navy: #0A2540;
    --navy-light: #1A3A52;
    --gold: #D4AF37;
    --gold-dark: #B8941F;
    --charcoal: #2C3E50;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --off-white: #FAFBFC;
    --light-gray: #E5E7EB;
    --border-color: #D1D5DB;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0A2540 0%, #1A3A52 40%, #0D2D4A 100%);
    --gradient-dark: linear-gradient(180deg, #0A2540 0%, #061A2E 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #B8941F 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 37, 64, 0.0) 0%, rgba(10, 37, 64, 0.85) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.16), 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.35), 0 2px 8px rgba(212, 175, 55, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-smooth: 300ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-elegant: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 128px;

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Container Widths */
    --container-max: 1400px;
    --container-narrow: 900px;
    --container-wide: 1600px;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure all images respect container boundaries */
img {
    max-width: 100%;
    height: auto;
}

/* Global link focus styling */
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip to content — accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--navy);
    color: var(--text-light);
    padding: 12px 20px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
}

/* ==========================================
   Navigation
   ========================================== */
nav.main-navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(209, 213, 219, 0.5);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    animation: slideDown 0.8s ease;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

nav.main-navigation.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(209, 213, 219, 0.8);
    padding-top: 12px;
    padding-bottom: 12px;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
}

.logo img,
.logo .custom-logo {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s;
}

.logo img:hover,
.logo .custom-logo:hover {
    opacity: 0.85;
}

.logo a,
.logo .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo a:focus-visible,
.logo-text-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 2px;
}

.logo-text-link {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 2px;
    transition: color 0.3s;
}

.logo-text-accent {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s;
}

/* Desktop nav links (inside drawer wrapper on mobile, visible on desktop) */
.nav-drawer {
    display: contents;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--gold);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 2px;
}

/* CTA Button */
.cta-button {
    background: var(--gold);
    color: var(--text-light);
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.cta-button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Hide mobile CTA on desktop, show desktop CTA */
.nav-drawer__cta {
    display: none;
}

.nav-cta-desktop {
    display: inline-block;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
    position: relative;
}

.menu-toggle__bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    transform-origin: center;
}

.menu-toggle.active .menu-toggle__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .menu-toggle__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile overlay backdrop */
.mobile-menu-overlay {
    display: none;
}

/* Body lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Main content overflow prevention */
main#main-content {
    overflow-x: hidden;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-content .accent-line--center {
    background: var(--gradient-gold);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease 0.25s backwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero h1 strong {
    font-weight: 700;
    color: var(--gold);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 300;
    color: var(--text-light);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.primary-cta {
    background: var(--gold);
    color: var(--text-light);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.primary-cta:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.secondary-cta {
    background: transparent;
    color: var(--text-light);
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 14px;
    border: 2px solid var(--text-light);
    transition: all 0.3s;
    display: inline-block;
}

.secondary-cta:hover {
    background: var(--text-light);
    color: var(--navy);
    transform: translateY(-3px);
}

.trust-indicators {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 80px;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease 0.7s backwards;
    max-width: 90vw;
    margin-bottom: 60px;
    flex-shrink: 0;
}

.indicator {
    text-align: center;
}

.indicator-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
}

.indicator-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    color: var(--text-light);
    opacity: 0.9;
}

/* ==========================================
   Hero Geometric Shapes
   ========================================== */
.hero-geometric {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-geometric--1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -80px;
    transform: rotate(45deg);
    animation: heroFloat1 18s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.1);
}

.hero-geometric--2 {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 5%;
    transform: rotate(30deg);
    animation: heroFloat2 22s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
}

.hero-geometric--3 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 12%;
    transform: rotate(60deg);
    animation: heroFloat3 15s ease-in-out infinite;
    border-color: rgba(255, 255, 255, 0.06);
}

@keyframes heroFloat1 {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    33% { transform: rotate(47deg) translate(15px, -20px); }
    66% { transform: rotate(43deg) translate(-10px, 10px); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: rotate(30deg) translate(0, 0); }
    50% { transform: rotate(35deg) translate(-20px, -15px); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: rotate(60deg) translate(0, 0); opacity: 0.6; }
    50% { transform: rotate(65deg) translate(10px, 20px); opacity: 1; }
}

/* ==========================================
   Hero Diagonal Pattern Overlay
   ========================================== */
.hero-diagonal-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(212, 175, 55, 0.02) 40px,
        rgba(212, 175, 55, 0.02) 41px
    );
    z-index: 1;
    pointer-events: none;
}

/* ==========================================
   Glassmorphism Trust Indicators
   ========================================== */
.trust-indicators--glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 36px 60px;
    gap: 0;
}

.trust-indicators--glass .indicator {
    padding: 0 40px;
}

.indicator-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    align-self: center;
    flex-shrink: 0;
    opacity: 0.5;
}

/* ==========================================
   Section Shared Styles
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.section-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.section-medium {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: 120px 5%;
    background: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 50px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-smooth), transform var(--transition-smooth);
}

.service-icon svg {
    width: 64px;
    height: 64px;
}

.service-card:hover .service-icon {
    color: var(--gold-dark);
    transform: scale(1.08);
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--navy);
}

.service-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--charcoal);
}

/* ==========================================
   Projects Section (Homepage)
   ========================================== */
.projects {
    padding: 120px 5%;
    background: var(--navy);
    color: var(--text-light);
}

.projects .section-title {
    color: var(--text-light);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.project-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    background: var(--charcoal);
}

.project-item:nth-child(1) {
    grid-row: span 2;
}

.project-item:nth-child(4) {
    grid-column: span 2;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95), transparent);
    padding: 30px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-light);
    text-decoration: none;
}

.project-item:hover .project-overlay,
.project-overlay-visible {
    transform: translateY(0);
    opacity: 1;
}

.project-location {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.project-name {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-light);
    line-height: 1.2;
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.9;
}

/* Project item links */
.project-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project-item a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: -3px;
}

/* Project Overlay - Always Partially Visible (Peek) */
.project-overlay--peek {
    transform: translateY(0);
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.4) 50%, transparent 100%);
    padding-bottom: 24px;
}

.project-overlay__preview {
    transition: transform var(--transition-smooth);
}

.project-overlay__details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
    margin-top: 0;
}

.project-item:hover .project-overlay__details {
    max-height: 60px;
    opacity: 1;
    margin-top: 12px;
}

.project-item:hover .project-overlay--peek {
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.6) 60%, transparent 100%);
}

/* Projects Explore CTA */
.projects-explore-cta {
    text-align: center;
    margin-top: 60px;
}

.projects-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 18px 40px;
    border: 2px solid var(--gold);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.projects-explore-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.4s ease;
    z-index: -1;
}

.projects-explore-btn:hover {
    color: var(--text-light);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.projects-explore-btn:hover::before {
    left: 0;
}

.projects-explore-btn svg {
    transition: transform 0.3s ease;
}

.projects-explore-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
    padding: 120px 5%;
    background: white;
}

.testimonial-container {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
    position: relative;
}

.testimonial-container--accent {
    border-top: 3px solid var(--gold);
    padding-top: 60px;
}

.testimonial-quote-mark {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100px;
    color: var(--navy);
    opacity: 0.08;
    pointer-events: none;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    line-height: 1.6;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-role {
    font-size: 14px;
    color: var(--gold);
    margin-top: 8px;
    font-weight: 500;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 120px 5%;
    background: var(--navy);
    color: var(--text-light);
}

.contact .section-title {
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 300;
    color: var(--text-light);
}

.contact-info p {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--text-light);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item-label {
    font-weight: 600;
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-item a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    font-size: 16px;
    min-height: 48px;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.submit-btn {
    background: var(--gold);
    color: var(--text-light);
    padding: 18px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    min-height: 54px;
}

.submit-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn:focus-visible {
    outline: 2px solid var(--text-light);
    outline-offset: 3px;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    border-top: 3px solid var(--gold);
}

.footer-main {
    padding: 80px 5% 60px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: 50px;
}

/* Footer column headings */
.footer-col__heading {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

/* Column 1: Brand */
.footer-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 18px;
}

.footer-logo__text {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
    transition: color 0.3s;
}

.footer-logo__accent {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-logo:hover .footer-logo__text {
    color: var(--gold);
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

/* Column 2: Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.footer-contact-item a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.footer-newsletter-btn:focus-visible {
    outline: 2px solid var(--text-light);
    outline-offset: -2px;
}

.footer-legal a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Column 3: Contact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-icon {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--gold);
}

/* Column 4: Newsletter */
.footer-newsletter-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-newsletter-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s;
}

.footer-newsletter-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.footer-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    padding: 14px 16px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-btn {
    background: var(--gold);
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    color: var(--text-light);
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-newsletter-btn:hover {
    background: var(--gold-dark);
}

.footer-newsletter-btn:active {
    transform: scale(0.95);
}

/* Screen-reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 5%;
}

.footer-bottom__inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--gold);
}

/* ==========================================
   Success Alert
   ========================================== */
.alert-success {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: 15px 30px;
    z-index: 9999;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-width: 90%;
    text-align: center;
}

/* ==========================================
   Portfolio / Projects Archive Page
   ========================================== */
.projects-archive {
    padding-top: 0;
}

.portfolio-header {
    background: linear-gradient(135deg, #0A2540 0%, #122E48 25%, #0D2D4A 50%, #1A3A52 75%, #0A2540 100%);
    background-size: 300% 300%;
    animation: heroGradientShift 12s ease infinite;
    color: var(--text-light);
    padding: 180px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(212, 175, 55, 0.02) 40px,
        rgba(212, 175, 55, 0.02) 41px
    );
    pointer-events: none;
    z-index: 1;
}

.portfolio-header-content {
    position: relative;
    z-index: 2;
}

.portfolio-header-geometric {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.12);
    z-index: 1;
    pointer-events: none;
}

.portfolio-header-geometric--1 {
    width: 260px;
    height: 260px;
    top: 8%;
    left: -50px;
    transform: rotate(45deg);
    animation: heroFloat1 18s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.1);
}

.portfolio-header-geometric--2 {
    width: 150px;
    height: 150px;
    top: 55%;
    right: 5%;
    transform: rotate(30deg);
    animation: heroFloat2 22s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
}

.portfolio-header-geometric--3 {
    width: 100px;
    height: 100px;
    top: 12%;
    right: 14%;
    transform: rotate(60deg);
    animation: heroFloat3 15s ease-in-out infinite;
    border-color: rgba(255, 255, 255, 0.06);
}

.portfolio-header .section-subtitle {
    color: var(--gold);
}

.portfolio-header .section-title {
    color: var(--text-light);
    margin-bottom: 20px;
}

.portfolio-header .accent-line--center {
    background: var(--gradient-gold);
    margin-bottom: var(--space-md);
}

.portfolio-header-desc {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Filters */
.filter-section {
    background: white;
    padding: 40px 5%;
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 72px;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.portfolio-filters {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--charcoal);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: all var(--transition-smooth);
    border: 2px solid var(--light-gray);
    min-height: 48px;
    position: relative;
}

.filter-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--text-light);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* Projects Grid */
.projects-grid-section {
    padding: 80px 5%;
    background: var(--off-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.projects-grid .project-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

/* Project View Label (shows on hover) */
.project-view-label {
    display: inline-block;
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.project-item:hover .project-view-label {
    opacity: 1;
    transform: translateY(0);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    grid-column: 1 / -1;
}

.empty-state-icon {
    margin-bottom: 24px;
    color: var(--gold);
}

.empty-state-icon svg {
    opacity: 0.6;
}

.empty-state h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    color: var(--charcoal);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 12px 18px;
    background: white;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--light-gray);
    transition: all var(--transition-smooth);
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-numbers:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.12);
}

.pagination .page-numbers.current {
    background: var(--gold);
    color: var(--text-light);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.pagination .page-numbers--arrow {
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 12px 24px;
}

.pagination-wrap {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy), var(--charcoal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 24px;
    font-family: var(--font-display);
}

/* CTA Section Gold Gradient Variant */
.cta-section--gold-gradient {
    background: linear-gradient(135deg, #0A2540 0%, #0D2D4A 40%, #1A3A52 100%);
    position: relative;
    overflow: hidden;
}

.cta-section--gold-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section--gold-gradient .accent-line--center {
    background: var(--gradient-gold);
    margin-bottom: var(--space-lg);
}

.cta-section--gold-gradient h2 {
    color: var(--text-light);
}

.cta-section--gold-gradient p {
    color: var(--text-light);
    opacity: 0.9;
}

/* ==========================================
   Single Project Page
   ========================================== */
.project-single {
    padding-top: 0;
}

.project-hero {
    position: relative;
    min-height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.project-hero:hover .project-hero-bg img {
    transform: scale(1.03);
}

.project-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, rgba(10, 37, 64, 0.4) 0%, rgba(10, 37, 64, 0.2) 40%, rgba(10, 37, 64, 0.85) 100%),
        linear-gradient(to right, rgba(10, 37, 64, 0.3) 0%, transparent 50%);
}

.project-hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A2540 0%, #122E48 50%, #1A3A52 100%);
}

.project-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 5% 60px;
    color: var(--text-light);
    width: 100%;
}

.project-hero-content .section-subtitle {
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.project-hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.1;
    max-width: 800px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.breadcrumb a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.breadcrumb span {
    opacity: 0.7;
}

.breadcrumb svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.breadcrumb--dark a {
    color: var(--gold);
}

.breadcrumb--dark span {
    color: var(--text-light);
    opacity: 0.7;
}

.breadcrumb--dark svg {
    stroke: var(--text-light);
    opacity: 0.4;
}

/* Project Stats Bar */
.project-stats-bar {
    background: white;
    border-bottom: 3px solid var(--gold);
    padding: 48px 5%;
    position: relative;
}

.project-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.project-stat-item {
    position: relative;
    padding: 0 20px;
}

.project-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 48px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--light-gray), transparent);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--gold);
}

.stat-icon svg {
    stroke: var(--gold);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    color: var(--navy);
    font-weight: 600;
}

/* Project Content */
.project-content-section {
    background: var(--off-white);
    padding: 100px 5%;
}

.project-excerpt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    line-height: 1.6;
    margin-bottom: 48px;
    color: var(--navy);
    font-style: italic;
    position: relative;
    padding-left: 30px;
    border-left: 3px solid var(--gold);
}

.project-content {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-dark);
}

.project-content img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
}

.project-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--navy);
    margin: 48px 0 20px;
    position: relative;
    padding-bottom: 16px;
}

.project-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gradient-gold);
}

.project-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin: 36px 0 15px;
}

.project-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--charcoal);
    margin: 28px 0 12px;
}

.project-content p {
    margin-bottom: 20px;
}

.project-content ul,
.project-content ol {
    margin: 24px 0;
    padding-left: 30px;
}

.project-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.project-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 24px 32px;
    margin: 40px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--navy);
    background: rgba(212, 175, 55, 0.04);
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 5%;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-elegant);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-smooth);
}

.gallery-item-overlay svg {
    color: var(--text-light);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(10, 37, 64, 0.4);
}

.gallery-item:hover .gallery-item-overlay svg {
    opacity: 1;
    transform: scale(1);
}

/* Features Section */
.features-section {
    background: var(--navy);
    color: var(--text-light);
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
}

.feature-card p {
    opacity: 0.85;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 15px;
}

/* Related Projects */
.related-section {
    padding: 100px 5%;
    background: var(--off-white);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* CTA Section */
.cta-section {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 100px 5%;
    text-align: center;
    position: relative;
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 25px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section--gold-gradient .secondary-cta {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-section--gold-gradient .secondary-cta:hover {
    background: var(--text-light);
    color: var(--navy);
    border-color: var(--text-light);
}

/* Dark section helpers */
.section-header-dark .section-subtitle { color: var(--gold); }
.section-header-dark .section-title { color: var(--text-light); }
.section-header-dark p { color: var(--text-light); }

/* Form section description */
.form-section-description {
    font-size: 18px;
    margin-top: 20px;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Error & 404 Pages
   ========================================== */
.error-page {
    padding-top: 0;
}

.error-page-content {
    padding: 200px 5% 150px;
    text-align: center;
    background: var(--off-white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page-inner {
    max-width: 600px;
    margin: 0 auto;
}

.error-page-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: 160px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--gold) 0%, #F2D06B 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page-content .accent-line--center {
    margin-bottom: var(--space-lg);
}

.error-page-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 20px;
}

.error-page-content p {
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.error-page-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-cta--dark {
    color: var(--navy);
    border-color: var(--navy);
}

.secondary-cta--dark:hover {
    background: var(--navy);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ==========================================
   Partnership Page
   ========================================== */
.landowner-partnership {
    padding-top: 0;
}

/* ---------- Partnership Hero ---------- */
.partnership-hero {
    background: linear-gradient(135deg, #0A2540 0%, #122E48 25%, #0D2D4A 50%, #1A3A52 75%, #0A2540 100%);
    background-size: 300% 300%;
    animation: heroGradientShift 12s ease infinite;
    color: var(--text-light);
    padding: 180px 5% 100px;
    position: relative;
    overflow: hidden;
}

.partnership-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.partnership-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(212, 175, 55, 0.02) 40px,
        rgba(212, 175, 55, 0.02) 41px
    );
    pointer-events: none;
    z-index: 1;
}

.partnership-hero .hero-geometric {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.12);
    z-index: 1;
    pointer-events: none;
}

.partnership-hero .hero-geometric--1 {
    width: 280px;
    height: 280px;
    top: 8%;
    left: -60px;
    transform: rotate(45deg);
    animation: heroFloat1 18s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.1);
    border-radius: 0;
}

.partnership-hero .hero-geometric--2 {
    width: 160px;
    height: 160px;
    top: 55%;
    right: 5%;
    transform: rotate(30deg);
    animation: heroFloat2 22s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
}

.partnership-hero .hero-geometric--3 {
    width: 110px;
    height: 110px;
    top: 12%;
    right: 14%;
    transform: rotate(60deg);
    animation: heroFloat3 15s ease-in-out infinite;
    border-color: rgba(255, 255, 255, 0.06);
    border-radius: 0;
}

.partnership-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.partnership-hero .accent-line--center {
    background: var(--gradient-gold);
    margin-bottom: var(--space-md);
}

.partnership-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 300;
    margin: 20px 0 30px;
    line-height: 1.15;
}

.partnership-hero h1 strong {
    color: var(--gold);
    font-weight: 700;
}

.partnership-hero p {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Value Props ---------- */
.value-props {
    padding: 120px 5%;
    background: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 50px 35px 45px;
    background: white;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--gold);
    border: 2px solid var(--gold);
    transition: background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.value-card:hover .value-icon {
    background: var(--gradient-gold);
    color: var(--text-light);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.value-card:hover .value-icon svg {
    stroke: var(--text-light);
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--navy);
    font-weight: 600;
}

.value-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--charcoal);
}

/* ---------- Process Timeline ---------- */
.process-section {
    padding: 120px 5%;
    background: var(--off-white);
}

.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.process-timeline-line {
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.2));
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    padding: 0 0 50px 40px;
    background: none;
    border-left: none;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step-number {
    position: absolute;
    top: 0;
    left: -25px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-display);
    box-shadow: var(--shadow-gold);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-step-number {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
}

.process-step-content {
    background: white;
    padding: 30px 35px;
    border: 1px solid var(--light-gray);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-step:hover .process-step-content {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.25);
}

.process-step-content h3 {
    font-size: 22px;
    margin: 0 0 10px;
    color: var(--navy);
    font-weight: 600;
}

.process-step-content p {
    line-height: 1.7;
    color: var(--charcoal);
    margin: 0;
    font-size: 15px;
}

/* ---------- Success Stories ---------- */
.stories-section {
    padding: 120px 5%;
    background: var(--navy);
    color: var(--text-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.story-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 45px 40px 40px;
    border-left: 4px solid var(--gold);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, transform 0.4s ease;
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.story-quote-mark {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 60px;
    height: 45px;
    color: var(--text-light);
    opacity: 0.06;
    pointer-events: none;
}

.story-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-style: italic;
    margin-bottom: 28px;
    line-height: 1.6;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.story-author {
    font-weight: 600;
    color: var(--gold);
    font-size: 16px;
}

.story-role {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* ---------- Properties Section ---------- */
.properties-section {
    padding: 120px 5%;
    background: white;
}

.properties-box {
    background: var(--off-white);
    padding: 50px;
    border-radius: 0;
    border: 1px solid var(--light-gray);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.property-item {
    padding: 30px;
    background: white;
    border: 1px solid var(--light-gray);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.property-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.property-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--gold);
    border: 1.5px solid var(--gold);
    transition: background 0.3s ease, color 0.3s ease;
}

.property-item:hover .property-icon {
    background: var(--gradient-gold);
    color: var(--text-light);
}

.property-item:hover .property-icon svg {
    stroke: var(--text-light);
}

.property-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}

.property-item p {
    line-height: 1.7;
    color: var(--charcoal);
    font-size: 15px;
}

/* ---------- FAQ Accordion ---------- */
.faq-section {
    padding: 120px 5%;
    background: var(--off-white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-left: 4px solid transparent;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
    border-left-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 35px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
    font-family: inherit;
    transition: background 0.2s ease;
}

.faq-toggle:hover {
    background: rgba(212, 175, 55, 0.03);
}

.faq-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.faq-toggle h3 {
    font-size: 19px;
    margin: 0;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.4;
}

.faq-toggle-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease, border-color 0.35s ease;
}

.faq-item.is-open .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 35px;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
    padding: 0 35px 28px;
}

.faq-answer p {
    line-height: 1.8;
    color: var(--charcoal);
    font-size: 15px;
    margin: 0;
}

/* ---------- Partnership Contact Form ---------- */
.partnership-form-section {
    padding: 120px 5%;
    background: linear-gradient(180deg, #0A2540 0%, #061A2E 100%);
    color: var(--text-light);
}

.partnership-form-wrap {
    background: rgba(255, 255, 255, 0.04);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.partnership-form-wrap .submit-btn {
    width: 100%;
    padding: 20px;
    font-size: 15px;
    letter-spacing: 2.5px;
    margin-top: 10px;
}

/* ==========================================
   Generic Page
   ========================================== */
.generic-page {
    padding-top: 0;
}

.page-header {
    background: linear-gradient(135deg, #0A2540 0%, #122E48 40%, #1A3A52 100%);
    color: var(--text-light);
    padding: 180px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(212, 175, 55, 0.02) 40px,
        rgba(212, 175, 55, 0.02) 41px
    );
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .accent-line--center {
    background: var(--gradient-gold);
    margin-bottom: var(--space-lg);
}

.page-header .breadcrumb--dark {
    margin-bottom: 24px;
    justify-content: center;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.2;
}

/* Page Content - Prose Styling */
.page-content-section {
    padding: 80px 5%;
    background: var(--off-white);
}

.page-content-prose {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-dark);
}

.page-content-prose h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 300;
    color: var(--navy);
    margin: 48px 0 24px;
    line-height: 1.2;
}

.page-content-prose h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--navy);
    margin: 48px 0 20px;
    position: relative;
    padding-bottom: 16px;
}

.page-content-prose h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gradient-gold);
}

.page-content-prose h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin: 36px 0 16px;
}

.page-content-prose h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--charcoal);
    margin: 28px 0 12px;
}

.page-content-prose p {
    margin-bottom: 20px;
}

.page-content-prose a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.page-content-prose a:hover {
    color: var(--gold);
}

.page-content-prose img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
}

.page-content-prose ul,
.page-content-prose ol {
    margin: 24px 0;
    padding-left: 30px;
}

.page-content-prose li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.page-content-prose blockquote {
    border-left: 4px solid var(--gold);
    padding: 24px 32px;
    margin: 40px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--navy);
    background: rgba(212, 175, 55, 0.04);
    line-height: 1.7;
}

.page-content-prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 48px 0;
    opacity: 0.4;
}

.page-content-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.page-content-prose th,
.page-content-prose td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--light-gray);
    text-align: left;
}

.page-content-prose th {
    font-weight: 600;
    color: var(--navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold);
}

/* Legacy .page-content support (backwards compat) */
.page-content {
    padding: 80px 5%;
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.9;
}

/* ==========================================
   Scroll Animation System
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animate--left {
    transform: translateX(-40px);
}

.animate-on-scroll.animate--left.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.animate--right {
    transform: translateX(40px);
}

.animate-on-scroll.animate--right.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.animate--scale {
    transform: scale(0.9);
}

.animate-on-scroll.animate--scale.is-visible {
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ==========================================
   Enhanced Card Hover & Glass Cards
   ========================================== */

.card-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-smooth);
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

/* ==========================================
   Button Enhancements
   ========================================== */
.primary-cta {
    position: relative;
    overflow: hidden;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.primary-cta:hover::before {
    left: 100%;
}

.primary-cta:active,
.secondary-cta:active,
.cta-button:active,
.submit-btn:active,
.filter-btn:active {
    transform: scale(0.98);
}

.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.cta-button:focus-visible,
.submit-btn:focus-visible,
.filter-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ==========================================
   Decorative Elements
   ========================================== */
.divider-gold {
    height: 1px;
    border: none;
    background: var(--gradient-gold);
    opacity: 0.5;
    margin: var(--space-2xl) 0;
}

.section-separator {
    height: 1px;
    border: none;
    background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
    opacity: 0.25;
    max-width: 600px;
    margin: 0 auto;
}

.accent-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gradient-gold);
    margin-bottom: var(--space-md);
    border-radius: 2px;
}

.accent-line--center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Form Focus Enhancements
   ========================================== */
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 0 16px rgba(212, 175, 55, 0.1);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 0 20px rgba(212, 175, 55, 0.12);
}

/* ==========================================
   Responsive: Large Desktop (1440px+)
   ========================================== */
@media (min-width: 1440px) {
    .section-wrap {
        max-width: var(--container-wide);
    }

    .hero h1 {
        font-size: 84px;
    }

    .hero-description {
        font-size: 20px;
    }

    .section-title {
        font-size: 60px;
    }

    .services,
    .testimonials,
    .projects,
    .contact {
        padding: 140px 8%;
    }

    .service-grid {
        gap: 50px;
    }

    .service-card {
        padding: 60px 50px;
    }

    .testimonial-text {
        font-size: 36px;
    }

    .project-gallery {
        gap: 40px;
    }

    .contact-grid {
        gap: 100px;
    }

    .trust-indicators--glass {
        padding: 44px 80px;
    }

    .trust-indicators--glass .indicator {
        padding: 0 50px;
    }

    .hero-geometric--1 {
        width: 380px;
        height: 380px;
    }

    .hero-geometric--2 {
        width: 220px;
        height: 220px;
    }

    .hero-geometric--3 {
        width: 150px;
        height: 150px;
    }

    .partnership-hero {
        padding: 200px 5% 120px;
    }

    .partnership-hero h1 {
        font-size: 76px;
    }

    .cta-section h2 {
        font-size: 48px;
    }

    .value-grid {
        gap: 50px;
    }

    .value-card {
        padding: 60px 40px 55px;
    }

    .process-timeline {
        max-width: 800px;
    }

    .portfolio-header {
        padding: 200px 8% 120px;
    }

    .project-hero-content h1 {
        font-size: 68px;
    }

    .page-header {
        padding: 200px 8% 100px;
    }

    .page-header h1 {
        font-size: 60px;
    }

    .error-page-code {
        font-size: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================
   Responsive: Tablet (1024px)
   ========================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
    }

    .section-title {
        font-size: 42px;
    }

    .trust-indicators {
        gap: 50px;
    }

    .trust-indicators--glass {
        padding: 30px 40px;
    }

    .trust-indicators--glass .indicator {
        padding: 0 30px;
    }

    .hero-geometric--1 {
        width: 220px;
        height: 220px;
    }

    .hero-geometric--3 {
        width: 90px;
        height: 90px;
    }

    .contact-grid {
        gap: 60px;
    }

    .project-hero-content h1 {
        font-size: 44px;
    }

    .partnership-hero h1 {
        font-size: 48px;
    }

    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .projects-grid .project-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .stat-value {
        font-size: 26px;
    }

    .project-stat-item:not(:last-child)::after {
        display: none;
    }

    .page-header h1 {
        font-size: 42px;
    }

    .page-content-prose h2 {
        font-size: 30px;
    }

    .error-page-code {
        font-size: 130px;
    }

    .portfolio-header-geometric--1 {
        width: 200px;
        height: 200px;
    }

    .portfolio-header-geometric--3 {
        width: 80px;
        height: 80px;
    }

    /* Footer: 2 columns on tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   Responsive: Mobile (768px)
   ========================================== */
@media (max-width: 768px) {
    /* Mobile Navigation - Full overlay slide-in drawer */
    .menu-toggle {
        display: flex;
    }

    .nav-cta-desktop {
        display: none;
    }

    /* Overlay backdrop */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 37, 64, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Nav drawer - slides in from right */
    .nav-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: white;
        z-index: 999;
        padding: 100px 32px 40px;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-drawer.active {
        transform: translateX(0);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links li:first-child {
        border-top: 1px solid var(--light-gray);
    }

    .nav-links a {
        display: block;
        padding: 18px 0;
        font-size: 15px;
        color: var(--text-dark);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-drawer__cta {
        display: inline-block;
        margin-top: auto;
        padding: 16px 24px;
        text-align: center;
        font-size: 14px;
    }

    /* Footer responsive: 2 columns on tablet-ish, collapses at 768px to 1 col */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .primary-cta,
    .secondary-cta {
        padding: 16px 32px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 25px;
        margin-top: 0;
        margin-bottom: 40px;
    }

    .trust-indicators--glass {
        padding: 30px 24px;
        gap: 0;
    }

    .trust-indicators--glass .indicator {
        padding: 12px 0;
    }

    .indicator-divider {
        width: 48px;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        align-self: center;
    }

    .hero-geometric {
        display: none;
    }

    .hero-diagonal-pattern {
        opacity: 0.4;
    }

    .projects-explore-btn {
        padding: 16px 30px;
        font-size: 13px;
    }

    .projects-explore-cta {
        margin-top: 40px;
    }

    .testimonial-container--accent {
        padding-top: 40px;
    }

    .testimonial-quote-mark {
        width: 80px;
        height: 66px;
        top: 12px;
    }

    .indicator-value {
        font-size: 28px;
    }

    /* Sections */
    .section-title {
        font-size: 32px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .services,
    .testimonials {
        padding: 80px 5%;
    }

    .projects {
        padding: 80px 5%;
    }

    .contact {
        padding: 80px 5%;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 30px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-item {
        aspect-ratio: 3/4;
    }

    .project-item:nth-child(1),
    .project-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .project-overlay {
        transform: none;
        opacity: 1;
        background: linear-gradient(to top, rgba(10, 37, 64, 0.9), transparent 70%);
    }

    .project-overlay--peek .project-overlay__details {
        max-height: 60px;
        opacity: 0.9;
        margin-top: 10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 24px;
    }

    /* Projects Archive */
    .projects-archive {
        padding-top: 0;
    }

    .portfolio-header {
        padding: 130px 5% 60px;
    }

    .portfolio-header-geometric {
        display: none;
    }

    .portfolio-header-desc {
        font-size: 16px;
    }

    .filter-section {
        position: static;
        padding: 30px 5%;
    }

    .portfolio-filters {
        gap: 8px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .projects-grid .project-item.featured {
        grid-column: auto;
        grid-row: auto;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 11px;
        letter-spacing: 1px;
        min-height: 44px;
    }

    .pagination .page-numbers {
        min-width: 44px;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .project-view-label {
        display: none;
    }

    /* Single Project */
    .project-hero {
        min-height: 50vh;
    }

    .project-hero-content {
        padding: 60px 5% 40px;
    }

    .project-hero-content h1 {
        font-size: 34px;
    }

    .project-excerpt {
        font-size: 22px;
        padding-left: 20px;
    }

    .project-content-section {
        padding: 60px 5%;
    }

    .project-stats-bar {
        padding: 32px 5%;
    }

    .project-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .project-stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-section,
    .features-section,
    .gallery-section {
        padding: 60px 5%;
    }

    .cta-section {
        padding: 60px 5%;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Generic Page */
    .page-header {
        padding: 130px 5% 50px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .page-content-section {
        padding: 60px 5%;
    }

    .page-content-prose h2 {
        font-size: 28px;
    }

    .page-content-prose blockquote {
        padding: 18px 24px;
        font-size: 18px;
    }

    /* Error pages */
    .error-page-content {
        padding: 140px 5% 100px;
    }

    .error-page-code {
        font-size: 100px;
    }

    .error-page-content h1 {
        font-size: 32px;
    }

    .error-page-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Partnership */
    .partnership-hero {
        padding: 130px 5% 70px;
    }

    .partnership-hero .hero-geometric {
        display: none;
    }

    .partnership-hero h1 {
        font-size: 36px;
    }

    .partnership-hero p {
        font-size: 17px;
    }

    .value-props,
    .process-section,
    .stories-section,
    .properties-section,
    .faq-section,
    .partnership-form-section {
        padding: 70px 5%;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-card {
        padding: 35px 30px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .story-card {
        padding: 35px 30px;
    }

    .story-quote {
        font-size: 20px;
    }

    .process-timeline {
        padding-left: 40px;
    }

    .process-timeline-line {
        left: 20px;
    }

    .process-step-number {
        left: -20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .process-step-content {
        padding: 25px;
    }

    .process-step-content h3 {
        font-size: 19px;
    }

    .properties-box {
        padding: 25px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-item {
        padding: 25px;
    }

    .faq-toggle {
        padding: 22px 25px;
    }

    .faq-item.is-open .faq-answer {
        padding: 0 25px 22px;
    }

    .faq-answer {
        padding: 0 25px;
    }

    .partnership-form-wrap {
        padding: 30px;
    }
}

/* ==========================================
   Responsive: Small Mobile (480px)
   ========================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-info h3 {
        font-size: 28px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .project-hero-content h1 {
        font-size: 28px;
    }

    .partnership-hero h1 {
        font-size: 26px;
    }

    .partnership-hero {
        padding: 110px 5% 50px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .faq-toggle {
        padding: 18px 16px;
        gap: 12px;
    }

    .faq-toggle h3 {
        font-size: 16px;
    }

    .faq-toggle-icon {
        width: 28px;
        height: 28px;
    }

    .faq-toggle-icon svg {
        width: 16px;
        height: 16px;
    }

    .faq-item.is-open .faq-answer {
        padding: 0 16px 18px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .process-timeline {
        padding-left: 32px;
    }

    .process-timeline-line {
        left: 16px;
    }

    .process-step-number {
        left: -16px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .process-step-content {
        padding: 20px;
    }

    .process-step-content h3 {
        font-size: 17px;
    }

    .process-step {
        padding-bottom: 35px;
    }

    .value-card {
        padding: 28px 20px;
    }

    .property-item {
        padding: 20px;
    }

    .property-icon {
        width: 44px;
        height: 44px;
    }

    .property-icon svg {
        width: 22px;
        height: 22px;
    }

    .partnership-form-wrap {
        padding: 20px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .testimonial-text {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-excerpt {
        font-size: 18px;
    }

    .project-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-header {
        padding: 110px 5% 50px;
    }

    .portfolio-header .section-title {
        font-size: 28px;
    }

    .page-header {
        padding: 110px 5% 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-content-prose {
        font-size: 16px;
    }

    .page-content-prose h2 {
        font-size: 24px;
    }

    .page-content-prose h3 {
        font-size: 20px;
    }

    .error-page-code {
        font-size: 80px;
    }

    .error-page-content h1 {
        font-size: 28px;
    }

    .error-page-content p {
        font-size: 16px;
    }

    .project-content h2 {
        font-size: 28px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 10px;
        min-height: 40px;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    /* Enhanced 480px additions */
    .logo-text {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .logo-text-accent {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .primary-cta,
    .secondary-cta {
        padding: 14px 28px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .service-icon {
        font-size: 36px;
    }

    .service-title {
        font-size: 20px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .indicator-value {
        font-size: 24px;
    }

    .indicator-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .accent-line {
        width: 36px;
        height: 2px;
    }

    .divider-gold {
        margin: var(--space-lg) 0;
    }

    .animate-on-scroll {
        transform: translateY(20px);
    }

    .animate-on-scroll.animate--left {
        transform: translateX(-25px);
    }

    .animate-on-scroll.animate--right {
        transform: translateX(25px);
    }

    /* Footer: single column on small mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-main {
        padding: 50px 5% 40px;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col--brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-col__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-newsletter-group {
        flex-direction: column;
    }

    .footer-newsletter-btn {
        padding: 12px;
    }

    /* Nav drawer full-width on very small screens */
    .nav-drawer {
        width: 100%;
        max-width: 100vw;
    }
}

/* ==========================================
   Responsive: Extra Small Mobile (375px)
   ========================================== */
@media (max-width: 375px) {
    nav.main-navigation {
        padding: 14px 4%;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 10px;
    }

    .primary-cta,
    .secondary-cta {
        padding: 13px 24px;
        font-size: 12px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-title {
        font-size: 18px;
    }

    .service-description {
        font-size: 14px;
    }

    .contact-info h3 {
        font-size: 24px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .indicator-value {
        font-size: 22px;
    }

    .indicator-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .project-hero-content h1 {
        font-size: 24px;
    }

    .partnership-hero h1 {
        font-size: 24px;
    }

    .partnership-hero p {
        font-size: 15px;
    }

    .partnership-hero {
        padding: 100px 4% 45px;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .error-page-code {
        font-size: 64px;
    }

    .error-page-content h1 {
        font-size: 24px;
    }

    .error-page-content p {
        font-size: 15px;
    }

    .portfolio-header .section-title {
        font-size: 24px;
    }

    .portfolio-header {
        padding: 100px 4% 40px;
    }

    .portfolio-header-desc {
        font-size: 14px;
    }

    .page-header {
        padding: 100px 4% 35px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .footer-main {
        padding: 40px 4% 32px;
    }

    .footer-bottom {
        padding: 18px 4%;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-legal a {
        font-size: 12px;
    }

    .faq-toggle h3 {
        font-size: 15px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .story-quote {
        font-size: 18px;
    }

    .story-author {
        font-size: 14px;
    }

    .value-card h3 {
        font-size: 20px;
    }

    .value-card p {
        font-size: 14px;
    }

    .process-step-content h3 {
        font-size: 16px;
    }

    .process-step-content p {
        font-size: 14px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 13px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 13px;
    }

    .breadcrumb {
        font-size: 11px;
        gap: 4px;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    nav.main-navigation,
    .menu-toggle,
    .cta-button,
    .hero-ctas,
    .alert-success,
    .mobile-menu-overlay,
    .nav-drawer__cta,
    .footer-newsletter-form,
    .hero-geometric,
    .hero-diagonal-pattern,
    .testimonial-quote-mark,
    .portfolio-header-geometric {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ==========================================
   Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .animate-on-scroll.animate--left,
    .animate-on-scroll.animate--right,
    .animate-on-scroll.animate--scale {
        transform: none !important;
    }

    .stagger-1,
    .stagger-2,
    .stagger-3,
    .stagger-4,
    .stagger-5,
    .stagger-6 {
        transition-delay: 0s !important;
    }

    .hero-geometric,
    .portfolio-header-geometric {
        animation: none !important;
    }
}
